CN103475948B - The resource intelligent matching system of P2P net cast - Google Patents
The resource intelligent matching system of P2P net cast Download PDFInfo
- Publication number
- CN103475948B CN103475948B CN201310439911.XA CN201310439911A CN103475948B CN 103475948 B CN103475948 B CN 103475948B CN 201310439911 A CN201310439911 A CN 201310439911A CN 103475948 B CN103475948 B CN 103475948B
- Authority
- CN
- China
- Prior art keywords
- video
- client
- service device
- viewing
- scout service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present invention relates to the resource intelligent matching system of a kind of P2P net cast, it includes video server, Scout service device, web server and client;Video server, gathers energy video essential information, and video essential information is registered to Scout service device, and the information of video essential information and Scout service device is published to web server;Scout service device, generates video information recording list to the video essential information of video server registration, and can be managed the viewing video registration request of client;Web server, receives video essential information and the information of Scout service device that video server provides, the video essential information needed for allowing client search, and can connect to and described video essential information corresponding Scout service device.The present invention can reduce the deployment pressure of video server, improves the Experience Degree of user, increases user's viscosity, and wide accommodation is safe and reliable.
Description
Technical field
The present invention relates to a kind of resource matched system, the resource intelligent matching system of a kind of P2P net cast, belong to the technical field that internet video is live.
Background technology
At present, having a lot of P2P video living transmission system, it is a kind of Internet video broadcast mode, and it utilizes the principle of P2P to set up broadcasting network, thus reaches to save server bandwidth consumption, alleviates the purpose of server process pressure.So-called P2P principle i.e. client not only may be coupled to server request video flowing, it is also possible to is directly connected to other clients request video streams rather than can only connect to server as before and go to browse or download.
Existing P2P video living transmission system assigns to one group according to consumer taste the user having common hobby, and with other nodes sharing contents with group;But, existing system the most only possesses the ability of the distribution to video content and assembling, and the configuration of or terminal unit the best in network condition is than in the case of relatively low, and client is just likely to enjoy good Video service, and finally directly affects viewing effect;It addition, for different types of client device, such as, due to the problem that mobile device is resource-constrained, same video flowing is play in PC and is play with on mobile phone or panel computer, and the Experience Degree causing client is the most different.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that the resource intelligent matching system of a kind of P2P net cast, it can reduce the deployment pressure of video server, improves the Experience Degree of user, increases user's viscosity, and wide accommodation is safe and reliable.
The technical scheme provided according to the present invention, the resource intelligent matching system of described P2P net cast, including video server, Scout service device, web server and client;Described client includes requesting client and client end of playing back;
Video server, it is connected with Scout service device, web server and client, video server collection is provided that the video essential information of video, and described video essential information is registered to Scout service device, and the information of described video essential information and Scout service device is published to web server, when there being request clients request video, associated video compression coding is become the resolution needed for requesting client and definition, and sends requesting client to by video server;
Scout service device, the video essential information of video server registration is generated video information recording list, and the viewing video registration request of requesting client can be managed, to allow requesting client connect corresponding video server or client end of playing back, the video resource needed for being watched by video server or client end of playing back;
Web server, receives video essential information and the information of Scout service device that video server provides, the video essential information needed for allowing requesting client search, and can connect to and described video essential information corresponding Scout service device.
Described video server includes video acquisition module and video processing module, video acquisition module is provided that the video essential information of video in gathering described video server, and described video essential information is delivered to video processing module in the form of streaming, video processing module carries out Video coding, compresses, issues, distributes, video essential information to be registered to Scout service device, and the information of video essential information and Scout service device is published to web server;The video that requesting client is asked can be sent in described requesting client by video server.
The video information recording list of described Scout service device includes video numbering, title, IP address, port numbers and the video definition of video server and resolution, and the video essential information registration request of video server can be added to the end of video information recording list by Scout service device.
Described Scout service device is connected with requesting client, and when receiving the viewing video registration request of requesting client, the record that video is numbered and title is consistent that whether there is the viewing video registration request with requesting client in video information recording list searched by Scout service device;When video information recording list does not exist the record consistent with the viewing video registration request of requesting client, Scout service device output registration request failure information;Otherwise, whether Scout service device exists the video resolution of the viewing video registration request with requesting client and the record that definition is consistent in searching video information recording list;
When Scout service device does not finds the viewing video resolution of video registration request with requesting client and the consistent record of definition, Scout service device generates request viewing videoconference client list, video resolution and the sharpness information of the viewing video registration request of requesting client are inserted in request viewing videoconference client list, and described request viewing videoconference client list is added to corresponding viewing videoconference client list, and the IP address and port numbers providing the video server watching video in described viewing videoconference client list is sent to client;Otherwise, the information of described requesting client is inserted in corresponding resolution and definition viewing videoconference client list by Scout service device, and sets the nodal information of the client end of playing back of quantity to client transmissions.
After the information of requesting client is inserted viewing videoconference client list by described Scout service device, to the nodal information of the client end of playing back of first 50 of the corresponding playlist of requesting client transmission;When the client end of playing back quantity in described viewing videoconference client list is less than 50, it will thus provide the video server information of described video is transferred to described requesting client.
When described Scout service device receives the flash request of client, Scout service device finds the viewing videoconference client list at described client place according to client-side information, and the nodal information of the client end of playing back of the viewing video of up-to-date first 30 is transferred to client;When the quantity of the client end of playing back of described viewing video is less than 30, the video server information providing corresponding video is transferred to client by Scout service device.
When Scout service device receives the de-registration request of client end of playing back, Scout service device finds the viewing videoconference client list at client end of playing back place, when described viewing videoconference client list only remains described client end of playing back self, described viewing videoconference client list deleted by Scout service device, otherwise, described client end of playing back information is deleted from viewing videoconference client list by Scout service device.
Scout service device receives when re-registering request of client end of playing back in viewing videoconference client list, described client end of playing back is deleted from viewing videoconference client list by Scout service device, and described client is added in corresponding viewing videoconference client list according to registration request.
Advantages of the present invention: video essential information is carried out issuing, registering by video server by web server, Scout service device, have only to dispose a road high-resolution, high-resolution video and just can meet the video playback requirement of different clients, avoid existing system repeatedly to be disposed according to resolution and the difference of definition, reduce the deployment pressure of video server;
Scout service device can adapt to adjust the video of coupling according to the request of client, to meet resolution and the definition requirement of client terminal playing, to ensure video playback fluency, to improve the Experience Degree of user, increases user's viscosity.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the present invention.
Detailed description of the invention
Below in conjunction with concrete drawings and Examples, the invention will be further described.
As shown in Figure 1: in order to reduce the deployment pressure of video server, improving user and watch the Experience Degree of video, the present invention includes video server, Scout service device, web server and client;Described client includes requesting client and client end of playing back;
Video server, it is connected with Scout service device, web server and client, video server collection is provided that the video essential information of video, and described video essential information is registered to Scout service device, and the information of described video essential information and Scout service device is published to web server, when there being request clients request video, associated video compression coding is become the resolution needed for requesting client and definition, and sends requesting client to by video server;
Scout service device, the video essential information of video server registration is generated video information recording list, and the viewing video registration request of requesting client can be managed, to allow requesting client connect corresponding video server or client end of playing back, the video resource needed for being watched by video server or client end of playing back;
Web server, receives video essential information and the information of Scout service device that video server provides, the video essential information needed for allowing requesting client search, and can connect to and described video essential information corresponding Scout service device.
Specifically, in the embodiment of the present invention, described video server includes video acquisition module and video processing module, video acquisition module is provided that the video essential information of video in gathering described video server, and described video essential information is delivered to video processing module in the form of streaming, video processing module carries out Video coding, compresses, issues, distributes, video essential information to be registered to Scout service device, and the information of video essential information and Scout service device is published to web server;The video that requesting client is asked can be sent in described requesting client by video server.When certain video to be rolled off the production line by video server, video server to send and nullifies and cancel the request issued to Scout service device, web server, thus to be rolled off the production line by associated video respectively.
In above-mentioned video module, video distribution refers to video essential information is registered to Scout service device, and the information of video essential information and Scout service device is published to web server, in order to search video information by web server and connect the information of Scout service device.The distribution of video refers to the video processing module request according to requesting client, is sent in corresponding requesting client by encoded and compression video, in order to played out by requesting client.Requesting client in the embodiment of the present invention includes the equipment such as smart mobile phone, panel computer, computer.
For in Scout service device, the video information recording list of described Scout service device includes video numbering, title, IP address, port numbers and the video definition of video server and resolution, and the video essential information registration request of video server can be added to the end of video information recording list by Scout service device.After the video essential information of video server is registered to the end of video information recording list by Scout service device, it is possible to carry out unified record and management, it is simple to follow-up lookup.
Described Scout service device is connected with requesting client, and when receiving the viewing video registration request of requesting client, the record that video is numbered and title is consistent that whether there is the viewing video registration request with requesting client in video information recording list searched by Scout service device;When video information recording list does not exist the record consistent with the viewing video registration request of requesting client, Scout service device output registration request failure information;Otherwise (i.e. Scout service device finds the video numbering consistent with the viewing video registration request of requesting client and the record of title in video information recording list), Scout service device searches in video information recording list the video resolution watching video registration request whether existed with requesting client and the consistent record of definition;
Further, when Scout service device does not finds the viewing video resolution of video registration request with requesting client and the consistent record of definition, Scout service device generates request viewing videoconference client list, video resolution and the sharpness information of the viewing video registration request of requesting client are inserted in described request viewing videoconference client list, meanwhile request viewing videoconference client list is inserted the end of the viewing videoconference client list of corresponding video, and the IP address and port numbers providing in described viewing videoconference client list the video server watching video is sent to requesting client (now can only the ip address of video server and port numbers);Otherwise (i.e. Scout service device finds the information consistent with the video resolution of client request and definition), the information of described requesting client is inserted in viewing videoconference client list by Scout service device, and sets the nodal information of the client end of playing back of quantity to requesting client transmission.
In the embodiment of the present invention, client end of playing back refers in the client carrying out video playback viewing, requesting client can provide the nodal information of client end of playing back or the IP address of video server, port information to be attached according to Scout service device, can carry out required P2P video-see after connection.After requesting client carries out required video playback, video request client becomes client end of playing back.
After the information of requesting client is inserted viewing videoconference client list by described Scout service device, transmit the nodal information of the client end of playing back of first 50 to requesting client;When the client end of playing back quantity in described viewing videoconference client list is less than 50, it will thus provide the video server information of described video is transferred to described requesting client.The information of described video server includes IP address and the port numbers of video server.
When described Scout service device receives the flash request of client, Scout service device finds the viewing videoconference client list at described client place according to client-side information, and the nodal information of the client end of playing back of the viewing video of up-to-date first 30 is transferred to client;When the quantity of the client end of playing back of described viewing video is less than 30, the video server information providing corresponding video is transferred to client by Scout service device.Described quantity can be configured as required.In the embodiment of the present invention, client herein includes client end of playing back and requesting client.
The flash request of above-mentioned client includes when user watches a certain road video, likely there will be such situation: current buffered data of downloading has been not sufficient to ensure that the smooth playing of video, so client may turn on emergency mode, flash request is sent to all of node (described node includes client end of playing back and video server) having oneself required video piecemeal, ask their the video piecemeal needed for oneself sends, after having obtained enough buffered datas, client may turn off emergency mode, and a series of flash requests sent before cancelling.In the embodiment of the present invention, foregoing description situation is only a kind of situation of emergency, and concrete condition will not enumerate herein.
When Scout service device receives the de-registration request of client end of playing back, Scout service device finds the viewing videoconference client list at client end of playing back place, when described viewing videoconference client list only remains described client end of playing back self, described viewing videoconference client list deleted by Scout service device, otherwise, described client end of playing back information is deleted from viewing videoconference client list by Scout service device.
Scout service device receives when re-registering request of client end of playing back in viewing videoconference client list, described client end of playing back is deleted from viewing videoconference client list by Scout service device, and described client is added in corresponding viewing videoconference client list according to registration request.
When client end of playing back is when video display effect is the most smooth, if the definition that now client end of playing back is play poor (the lowest clear), client end of playing back can send a request re-registered to Scout service device, then client end of playing back can obtain the nodal information of up-to-date front 30 client end of playing back watching videos (if the client terminal quantity of viewing video is inadequate, just server is added thereto), the most described client sends video request to these client end of playing back or video server and starts to watch video;Whereas if when client end of playing back video display effect is poor and the definition of current video is higher, client end of playing back also can repeat above request operation, it is thus possible to improve user's Experience Degree at viewing video.The aforesaid operations request of client end of playing back, needs to be carried out by above-mentioned Scout service device.When client end of playing back stops viewing video, client end of playing back will send de-registration request to Scout service device, and then client-side program exits.In the embodiment of the present invention, when client end of playing back makes requests on operation, regard client end of playing back as requesting client.
Video essential information is carried out issuing, registering by video server of the present invention by web server, Scout service device, have only to dispose a road high-resolution, high-resolution video and just can meet the video playback requirement that difference is cut-off, avoid existing system repeatedly to be disposed according to resolution and the difference of definition, reduce the deployment pressure of video server;
Scout service device can adapt to adjust the video of coupling according to the request of client, to meet resolution and the definition requirement of client terminal playing, to ensure video playback fluency, to improve the Experience Degree of user, increases user's viscosity.
Elaborate detail in the above description so that fully understanding the present invention.But the present invention can be different from alternate manner described here implement with multiple, those skilled in the art can do similar popularization in the case of intension of the present invention.Therefore the present invention is not limited by following public detailed description of the invention.
Claims (1)
1. a resource intelligent matching system for P2P net cast, including video server, Scout service device, web server and client;It is characterized in that: described client includes requesting client and client end of playing back;
Video server, it is connected with Scout service device, web server and client, video server collection is provided that the video essential information of video, and described video essential information is registered to Scout service device, and the information of described video essential information and Scout service device is published to web server, when there being request clients request video, associated video compression coding is become the resolution needed for requesting client and definition, and sends requesting client to by video server;
Scout service device, the video essential information of video server registration is generated video information recording list, and the viewing video registration request of requesting client can be managed, to allow requesting client connect corresponding video server or client end of playing back, the video resource needed for being watched by video server or client end of playing back;
Web server, receives video essential information and the information of Scout service device that video server provides, the video essential information needed for allowing requesting client search, and can connect to and described video essential information corresponding Scout service device;
The video information recording list of described Scout service device includes video numbering, title, IP address, port numbers and the video definition of video server and resolution, and the video essential information registration request of video server can be added to the end of video information recording list by Scout service device;
Described Scout service device is connected with requesting client, and when receiving the viewing video registration request of requesting client, the record that video is numbered and title is consistent that whether there is the viewing video registration request with requesting client in video information recording list searched by Scout service device;When video information recording list does not exist the record consistent with the viewing video registration request of requesting client, Scout service device output registration request failure information;Otherwise, whether Scout service device exists the video resolution of the viewing video registration request with requesting client and the record that definition is consistent in searching video information recording list;
When Scout service device does not finds the viewing video resolution of video registration request with requesting client and the consistent record of definition, Scout service device generates request viewing videoconference client list, video resolution and the sharpness information of the viewing video registration request of requesting client are inserted in request viewing videoconference client list, and described request viewing videoconference client list is added to corresponding viewing videoconference client list, and the IP address and port numbers providing the video server watching video in described viewing videoconference client list is sent to client;Otherwise, the information of described requesting client is inserted in corresponding resolution and definition viewing videoconference client list by Scout service device, and sets the nodal information of the client end of playing back of quantity to client transmissions;
When Scout service device receives the de-registration request of client end of playing back, Scout service device finds the viewing videoconference client list at client end of playing back place, when described viewing videoconference client list only remains described client end of playing back self, described viewing videoconference client list deleted by Scout service device, otherwise, described client end of playing back information is deleted from viewing videoconference client list by Scout service device;
When client end of playing back is when video display effect is the most smooth, if the definition that now client end of playing back is play is poor, client end of playing back can send a request re-registered to Scout service device, otherwise, if when client end of playing back video display effect is poor and the definition of current video is higher, client end of playing back also can repeat above request operation;Scout service device receives when re-registering request of client end of playing back in viewing videoconference client list, described client end of playing back is deleted from viewing videoconference client list by Scout service device, and described client is added in corresponding viewing videoconference client list according to registration request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310439911.XA CN103475948B (en) | 2013-09-24 | 2013-09-24 | The resource intelligent matching system of P2P net cast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310439911.XA CN103475948B (en) | 2013-09-24 | 2013-09-24 | The resource intelligent matching system of P2P net cast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103475948A CN103475948A (en) | 2013-12-25 |
CN103475948B true CN103475948B (en) | 2016-08-17 |
Family
ID=49800622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310439911.XA Active CN103475948B (en) | 2013-09-24 | 2013-09-24 | The resource intelligent matching system of P2P net cast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103475948B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107431844A (en) * | 2015-03-09 | 2017-12-01 | 瑞典爱立信有限公司 | For providing method, system and the equipment of live data stream to content presenting device |
CN105656986A (en) * | 2015-11-26 | 2016-06-08 | 乐视云计算有限公司 | Live video play method, device and system |
CN107454075A (en) * | 2017-07-31 | 2017-12-08 | 苏州蜗牛数字科技股份有限公司 | A kind of HD video program request interactive approach and system |
CN108174230B (en) * | 2017-12-29 | 2020-10-09 | 安徽国通亿创科技股份有限公司 | Audio and video live broadcast system based on elastic distributed streaming media |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101529420A (en) * | 2006-10-19 | 2009-09-09 | 摩托罗拉公司 | Method and apparatus for filtering peer-to-peer network searches for limited capability devices |
CN102404378A (en) * | 2010-09-07 | 2012-04-04 | 成都索贝数码科技股份有限公司 | Streaming media distribution and transmission network system |
CN102833293A (en) * | 2011-06-17 | 2012-12-19 | 腾讯科技(深圳)有限公司 | Method for downloading resources in peer to server and peer (P2SP) network, and client |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9299056B2 (en) * | 2010-09-12 | 2016-03-29 | Scayl, Inc. | Peer-to-peer email with video and advertising aspects |
-
2013
- 2013-09-24 CN CN201310439911.XA patent/CN103475948B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101529420A (en) * | 2006-10-19 | 2009-09-09 | 摩托罗拉公司 | Method and apparatus for filtering peer-to-peer network searches for limited capability devices |
CN102404378A (en) * | 2010-09-07 | 2012-04-04 | 成都索贝数码科技股份有限公司 | Streaming media distribution and transmission network system |
CN102833293A (en) * | 2011-06-17 | 2012-12-19 | 腾讯科技(深圳)有限公司 | Method for downloading resources in peer to server and peer (P2SP) network, and client |
Also Published As
Publication number | Publication date |
---|---|
CN103475948A (en) | 2013-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9615119B2 (en) | Method and apparatus for providing timeshift service in digital broadcasting system and system thereof | |
CN103024076B (en) | A kind of live dispatching patcher and method being applied to peer-to-peer network | |
CN102231860B (en) | Live time shift data storage method | |
DE112013004029B4 (en) | Apparatus and method for processing an interactive service | |
CN103475948B (en) | The resource intelligent matching system of P2P net cast | |
CN101394423B (en) | Media positioning, searching method and system | |
CN102739779B (en) | A kind of digital home's exchange method based on DLNA, system and relevant device | |
CN101232601A (en) | Numeral family network flow medium transmitting method based on blue tooth communication technology | |
CN103051624A (en) | Method and system for transmitting shared media resources to intelligent terminal by mobile equipment | |
CN104135672A (en) | HLS-based method for realizing seamless disaster recovery of video on demand | |
CN101267531A (en) | An interactive network TV system and its realization method | |
CN101938653A (en) | Method, device and system for acquiring television picture in real time and transmitting to mobile terminal | |
US20110126239A1 (en) | Method of processing EPG metadata in network device and network device for controlling the same | |
CN104427354A (en) | Broadcast media sharing method and node subsystem, and streaming media server | |
KR102532046B1 (en) | Receiving device, sending device and data processing method | |
KR101705898B1 (en) | Method and system for providing timeshift service in digital broadcasting system | |
CN102571409B (en) | Service request management system and method for realizing service across-terminal application | |
US10805028B2 (en) | Receiving device, transmitting device, and data processing method | |
CN106209824A (en) | The cloud edit methods of data, system and the client of cloud editor | |
CN102572604B (en) | Video on demand system and video on demand method based on P2P (peer-to-peer) network | |
KR20170136935A (en) | Apparatus and method for providing broadcasting service information in a broadcasting system | |
CN102970600A (en) | Cloud-computing-based high-definition video playing system and method | |
EP3048796A1 (en) | Information system, information delivery method and iptv system based on multi-screen interaction | |
CN101163230A (en) | Method of performing on-site living broadcast and client terminal node preparation through network camera | |
CN104602111A (en) | Method for playing digital television set top box audio by using mobile phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |