CN100418330C - Network file transmission method based on prediction searching - Google Patents

Network file transmission method based on prediction searching Download PDF

Info

Publication number
CN100418330C
CN100418330C CNB2006100121181A CN200610012118A CN100418330C CN 100418330 C CN100418330 C CN 100418330C CN B2006100121181 A CNB2006100121181 A CN B2006100121181A CN 200610012118 A CN200610012118 A CN 200610012118A CN 100418330 C CN100418330 C CN 100418330C
Authority
CN
China
Prior art keywords
search
network
prediction
network file
file
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.)
Expired - Fee Related
Application number
CNB2006100121181A
Other languages
Chinese (zh)
Other versions
CN1885823A (en
Inventor
李春华
管雷
杨列森
郭宗明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Beijing Founder Electronics 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 Peking University, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CNB2006100121181A priority Critical patent/CN100418330C/en
Publication of CN1885823A publication Critical patent/CN1885823A/en
Application granted granted Critical
Publication of CN100418330C publication Critical patent/CN100418330C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a network file transmission method based on prediction search, which belongs to the field of network transmission. In a point-to-point (P2P) system, a client terminal obtains a large file and a large software. The network position of a network file is firstly searched before a network video file is searched, that is to say, an address is downloaded. The existing search method generally has the disadvantage of time consumption, the client terminal obtains file operation after a return result is searched to make users to only wait, a video file can not be played in time, and the starting time of user experience is long. The method of the present invention is characterized in that the prediction analysis and the advanced search are carried out according to characteristic information of the time of the client terminal before the client terminal does not transmit a request. When users actually transmit a request, the video file can be obtained from the positioned network position by match of the predicted search result. The method of the present invention reduces the starting time of user network file downloading to a great extent and promotes the popularization and the development of the video network application.

Description

A kind of network file transmission method based on the prediction search
Technical field
The invention belongs to the Network Transmission field, be specifically related to a kind of network file transmission method based on the prediction search.
Background technology
Development along with the network bandwidth and network application, the network file particularly media file of big data quantity is more and more universal in network, for example many websites all provide a large amount of video request programs, live application, multimedia magazine and newspaper, flash animation, or even online game, various application such as software issue.Wherein, the Internet video application and development is the quickest, and Web TV such as IPTV build in a large number, and a kind of especially netizen widely of blog exchanges the network application of video file.
In the prior art, the user wishes the video file in the real-time smooth playing network, download network file fast, Client that traditional is is concentrated the website video file and is delivered by streaming media server, this pattern is subjected to the restriction of concurrent user number, and server also can quality of server descend owing to user's load increase.At present a large amount of occur based on point-to-point (P2P) system, solved the bottleneck defective that the Client system concentrates the delivery network video file, make user's playing video file smooth more and fast.The course of work formula of P2P system is such: client sends the search network file request, search in the P2P system according to searching request, according to the download address at Search Results fixer network file place, client is obtained file from this network download address then.Because this step of search network file is generally more consuming time, about 30 seconds to 1 minute, in addition more.Client must be searched for the address that could determine to obtain file behind the return results by the time, file in download again, during this period of time the user can only wait for, for the particularly this application that requires real-time to play of network video file, the user wishes especially and can reduce start-up time, influence experience and acceptance level that the user network video file is play the start-up time of existing P 2P system, and then hindered the Internet video application and development.
Summary of the invention
At existing the problems referred to above and defective in the prior art, the object of the present invention is to provide a kind of network file transmission method based on the prediction search, this method can reduce the stand-by period that the user clicks the network file link, promotes the experience of user network file transfer greatly.
For reaching above purpose, the technical solution used in the present invention is: a kind of video file transmission method based on the prediction search may further comprise the steps:
A) obtain all that exist in the current webpage of browsing of Point-to-Point system user and support the link of the network file that P-2-P technologies are downloaded;
B) the network file information in the extraction link;
C) forecast analysis forms the request of prediction search;
D) in Point-to-Point system, send the prediction searching request, the download address of the network file of search prediction;
E) preserve the prediction Search Results to client;
F) when the network file in user's webpage clicking links, externally send the actual request of a network file, intercept this actual request;
G) check whether the request that this actual request and prediction are searched for mates;
H) if coupling is then utilized the prediction Search Results, directly obtain the download address of network file, otherwise handle according to the search routine of original Point-to-Point system;
I) set up the communication of the client of requesting client and network file place download address, the download network file;
Above-mentioned network file comprises the file of video data file, files in stream media, stream medium data, audio file and other video/audios that can play and other network big data quantities.
For making the present invention have better effect, the webpage described in the step a) is the webpage that contains the network file link that can utilize the P-2-P technology download.
Further, step b) in conjunction with this webpage, is extracted in the webpage and is linked the extend information of relevant file mark as fileinfo with this when the fileinfo that extracts in linking.The file mark is meant in the content of pages and is connected to the word content of explaining with this document chain.
Further, in the step c), system also establishes user's network file and browses the preference daily record, does user behavior analysis according to browsing the preference daily record, carries out forecast analysis according to user preference.
Further, system also provides one option is set, and the user sets according to individual's preference and browses preference, carries out forecast analysis according to the preference daily record and in conjunction with the preference of browsing that the user sets.
Further, just form the request of prediction search in the step c) at part link in the webpage.
Further, the upper limit of a forecast analysis request of default number, if step a), b) in the link number that extracts be less than the upper limit of the forecast analysis request number of default, then the forecast analysis among the step c can be taked dogmatic mode is searched for all these links as prediction request.
Further, also be provided with prediction search stop condition in the step d), when satisfying prediction search stop condition, stop the prediction search.Described prediction search stop condition is search time or the searching times of setting, or the user is switched the operation of webpage.
Further, d) middle prediction search is preferentially searched in the same network segment, and the described same network segment is meant that the network address is same local area network (LAN) or consolidated network service provider.
Further, comprise also in the step e) Search Results is managed that record request search time consumes, stab effective time, utilizes these Search Results to optimize next time searching route.
Further, step I) in user's download file process, the subsequent file segment is predicted search in, when obtaining the network download address failure of file, be directly switch to next available network download address.
Effect of the present invention is: adopt method of the present invention, the user is just searched for when sending the request of actual play video file in advance, reduced the time that the user waits for, promote the user network media play and experience.
Description of drawings
Fig. 1 is a kind of flow chart based on the network file transmission method of predicting search.
Embodiment
Adopting the process of the network file on the method browse network of the present invention with a client user below is example, in conjunction with the accompanying drawings the present invention is done to describe further.In the present embodiment, the user is the P2P client user and client software has been installed.
Embodiment 1:
Suppose on the prediction search number of present embodiment system setting to be limited to 5, as shown in Figure 1, the user browses the webpage that comprises video file, checks interested video, and this moment, the computer system of client was done following prediction search work;
A) the html language content of analyzing web page, the link information that utilizes html language mark specificity analysis to comprise, present embodiment only obtains the link of all video data files that can play that exist in the webpage, and a link set L is formed in these links.
B) in link set L, extract the video file information in the link, obtain gathering F;
Described video file information comprises title, form, server address of video file etc.
C) in set F, the analysis that gives a forecast, the part link of choosing in the webpage forms the predictions request S set of search in advance;
In the present embodiment, the element number among the set F is greater than the element number in the S set, and promptly predictions request is just at part link in the webpage.Certainly, if the element number of set among the F less than 5, the all-links of then gathering F is all as predictions request.
Described prediction analysis method is to browse the preference daily record according to user's the network video file that custom establishes the user of browsing, and does user behavior analysis according to browsing the preference daily record, carries out forecast analysis according to user preference.Such as, the user often browses the video file of some sport category, show that then this user has hobby to this type of video, then when forecast analysis, the link of at first choosing the video file of sport category according to the information of video file collected among the step b forms the predictions request S set of search in advance.Certainly, if the user has set preference options, such as having set film, interview class video file, then also can carry out forecast analysis in conjunction with user preference setting, the link of selected movie, interview class video file forms the predictions request S set of search in advance.
D) in the P2P system, choose each searching request in the predictions request S set, send the network download address of the video file of search prediction;
Specifically, the prediction search is preferentially searched in the same network segment, and the described unified network segment is meant that the network address is same local area network (LAN) or consolidated network service provider.In addition, also set up prediction search stop condition, stop condition can be search time, and searching times and user are switched web page operation.When Search Results was managed, record request search time consumed, and stab effective time, utilized these Search Results to optimize next time searching route.
E) return search result set R, be saved in client;
The information that described Search Results comprises has: the filename of search, download address, file fragment that comprises and file fragment size thereof, the timestamp of search and elapsed time.
When the user clicks a video file link from current webpage,
F) video player in the system monitoring IE browser externally sends a video file request and prepares broadcast constantly, intercepts and captures this request q 1
G) in the predictions request S set, comparison prediction request Q one by one SWith actual request q 1,, if equate, then be coupling;
H) if coupling, then the network download address that utilizes Search Results in advance to obtain video file;
Otherwise, handle according to original search routine of original P2P system.
Specifically, mate in actual search under the situation of prediction search, the user need not carry out searching request again after the actual click link, but utilizes the Search Results of having predicted in advance directly to obtain the download address of video file.If the actual request and the request of prediction do not match, then prediction was lost efficacy, and obtained video file according to original P2P system flow.
I) utilize original P2P system communication function, set up the communication of client and this network site, obtain file and play.
In user's playing video file, also can continue the subsequent video segment is predicted search, when lost efficacy in the network site that obtains video file, be directly switch to next available network site.
Embodiment 2: other steps are identical with embodiment 1, and difference is to predict that the video file of search and transmission is an audio file.
Embodiment 3: other steps are identical with embodiment 1, and difference is to predict that the video file of search and transmission is a files in stream media.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other execution mode, belongs to technological innovation scope of the present invention equally.

Claims (14)

1. network file transmission method based on prediction search may further comprise the steps:
A) obtain all that exist in the current webpage of browsing of Point-to-Point system user and support the link of the network file that P-2-P technologies are downloaded;
B) the network file information in the extraction link;
C) forecast analysis forms the request of prediction search;
D) in Point-to-Point system, send the prediction searching request, the download address of the network file of search prediction;
E) preserve the prediction Search Results to client;
F) when the network file in user's webpage clicking links, externally send the actual request of a network file, intercept this actual request;
G) check whether the request that this actual request and prediction are searched for mates;
H) if coupling is then utilized the prediction Search Results, directly obtain the download address of network file, otherwise handle according to the search routine of original Point-to-Point system;
I) set up the communication of the client of requesting client and network file place download address, the download network file.
2. a kind of network file transmission method based on the prediction search as claimed in claim 1 is characterized in that: the webpage described in the step a) is the webpage that contains the network file link that can utilize the P-2-P technology download.
3. a kind of network file transmission method as claimed in claim 1 based on the prediction search, it is characterized in that: in the step c), system establishes the daily record of user's download network file preference, and user behavior analysis is done in daily record according to preference, carries out forecast analysis according to user preference.
4. a kind of network file transmission method as claimed in claim 3 based on the prediction search, it is characterized in that: in the step c), system also provides one option is set, the user sets according to individual's preference and browses preference, carries out forecast analysis according to the preference daily record and in conjunction with the preference of browsing that the user sets.
5. as claim 1,2 or 3 described a kind of network file transmission methods based on the prediction search, it is characterized in that: the prediction search is preferentially searched in the same network segment in the step c), and the described same network segment is meant that the network address is same local area network (LAN) or consolidated network service provider.
6. as claim 1,2 or 3 described a kind of network file transmission methods, it is characterized in that: just form the request of prediction search in the step c) at part link in the webpage based on the prediction search.
7. as claim 1,2 or 3 described a kind of network file transmission methods based on the prediction search, it is characterized in that: in the step c), the upper limit of a forecast analysis request of default number, if step a), b) in the link number that extracts be less than the upper limit of the forecast analysis request number of default, the then request that all these links are searched for as prediction.
8. as claim 1,2 or 3 described a kind of network file transmission methods, it is characterized in that: also be provided with prediction search stop condition in the step d), when satisfying prediction search stop condition, stop the prediction search based on the prediction search.
9. a kind of network file transmission method based on the prediction search as claimed in claim 8 is characterized in that: described prediction search stop condition is search time or the searching times of setting, or the user is switched the operation of webpage.
10. as claim 1,2 or 3 described a kind of network file transmission methods based on the prediction search, it is characterized in that: also comprise in the step e) Search Results is managed, record request search time consumes, and stab effective time, utilizes these Search Results to optimize next time searching route.
11. a kind of network file transmission method as claimed in claim 10 based on the prediction search, it is characterized in that: the information that described Search Results comprises comprises: the filename of search, download address, file fragment that comprises and file fragment size thereof, the timestamp of search and elapsed time.
12. as claim 1,2 or 3 described a kind of network file transmission methods based on the prediction search, it is characterized in that: in user's download network file process, the subsequent file segment is predicted search step I), when lost efficacy in the network address of downloading network file, be directly switch to next available network download position.
13. as claim 1,2 or 3 described a kind of network file transmission methods based on the prediction search, it is characterized in that: also be provided with prediction search stop condition in the step d), when satisfying prediction search stop condition, stop the prediction search, described prediction search stop condition is search time or the searching times of setting, or the user is switched the operation of webpage;
Comprise also in the step e) Search Results is managed that record request search time consumes, stab effective time, utilizes these Search Results to optimize next time searching route;
Step I) in user's download file process, the subsequent file segment is predicted search in, when obtaining the network download address failure of file, be directly switch to next available network download address.
14. as claim 1,2 or 3 described a kind of network file transmission methods based on the prediction search, it is characterized in that: described network file is video data file, files in stream media, stream medium data, audio file, video/audio.
CNB2006100121181A 2006-06-06 2006-06-06 Network file transmission method based on prediction searching Expired - Fee Related CN100418330C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100121181A CN100418330C (en) 2006-06-06 2006-06-06 Network file transmission method based on prediction searching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100121181A CN100418330C (en) 2006-06-06 2006-06-06 Network file transmission method based on prediction searching

Publications (2)

Publication Number Publication Date
CN1885823A CN1885823A (en) 2006-12-27
CN100418330C true CN100418330C (en) 2008-09-10

Family

ID=37583807

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100121181A Expired - Fee Related CN100418330C (en) 2006-06-06 2006-06-06 Network file transmission method based on prediction searching

Country Status (1)

Country Link
CN (1) CN100418330C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123277B (en) * 2007-05-08 2012-11-14 孟智平 Method for transmitting and displaying image information of designated area based on stream video format
US8175617B2 (en) * 2009-10-28 2012-05-08 Digimarc Corporation Sensor-based mobile search, related methods and systems
CN102033911A (en) * 2010-11-25 2011-04-27 北京搜狗科技发展有限公司 Search preprocessing method and search preprocessor
CN102156702B (en) * 2010-12-17 2012-12-12 南方报业传媒集团 Fast positioning method for video events from rough state to fine state
US8886752B2 (en) * 2011-11-21 2014-11-11 Sony Computer Entertainment America System and method for optimizing transfers of downloadable content
CN103246646B (en) * 2012-02-01 2019-07-16 腾讯科技(深圳)有限公司 A kind of Network Data Capture method and apparatus
CN103870470B (en) * 2012-12-11 2016-05-11 腾讯科技(深圳)有限公司 A kind of method of resource file of loading application programs and charger
CN103617253B (en) * 2013-11-29 2018-01-30 百度在线网络技术(北京)有限公司 searching method, client and server
CN104767777A (en) * 2014-01-07 2015-07-08 中国移动通信集团贵州有限公司 System and method of opening remote file
CN104836821B (en) 2014-02-10 2019-03-19 腾讯科技(深圳)有限公司 A kind of network accelerating method based on router device, device and equipment
CN104834675B (en) * 2015-04-02 2018-02-23 浪潮集团有限公司 Query performance optimization method based on user behavior analysis
US9648098B2 (en) 2015-05-28 2017-05-09 Microsoft Technology Licensing, Llc Predictive peer determination for peer-to-peer digital content download
CN107295114A (en) * 2016-04-05 2017-10-24 北京京东尚科信息技术有限公司 Distributed Services addressing method and system
CN106686428A (en) * 2016-12-30 2017-05-17 广东欧珀移动通信有限公司 Video playing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1517900A (en) * 2003-01-24 2004-08-04 ������������ʽ���� Method and device for reciprocal access
WO2004086247A1 (en) * 2003-03-28 2004-10-07 Freechal Inc. P2p service method
CN1710857A (en) * 2004-06-18 2005-12-21 千橡寰宇科技发展(北京)有限公司 Method and method for realizing document accelerated download

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1517900A (en) * 2003-01-24 2004-08-04 ������������ʽ���� Method and device for reciprocal access
WO2004086247A1 (en) * 2003-03-28 2004-10-07 Freechal Inc. P2p service method
CN1710857A (en) * 2004-06-18 2005-12-21 千橡寰宇科技发展(北京)有限公司 Method and method for realizing document accelerated download

Also Published As

Publication number Publication date
CN1885823A (en) 2006-12-27

Similar Documents

Publication Publication Date Title
CN100418330C (en) Network file transmission method based on prediction searching
US8918330B1 (en) Display of videos based on referrers
TW466423B (en) Method and apparatus for providing reduced cost online service and adaptive targeting of advertisements
US8661010B2 (en) Method and apparatus for providing supplemental video content for third party websites
CN1294512C (en) Method and apparatus for pre high speed buffer store data on service device
CN102497452B (en) Online streaming media service method based on embedded terminal
US9183214B2 (en) Method and apparatus for data storage and downloading
Schneider et al. The new web: Characterizing ajax traffic
US20140040026A1 (en) Systems and methods for including advertisements in streaming content
CN101247402B (en) Multimedia files downloading and broadcasting system and method
CN105095480A (en) Providing link to portion of media object in real time in social networking update
CN103400283B (en) A kind of advertisement push system based on home gateway and method
CN101420452A (en) Video file publishing method and device
CN102439579A (en) Variable rate media delivery system
CN103974084B (en) Streaming media data block caching method, file recommendation method and streaming media server
CA2701928A1 (en) Systems, methods and apparatus for content distribution
AU2010202740B1 (en) Dynamic indexing for ad insertion in media streaming
CN101291304A (en) Transplantable network information sharing method
CN101237561A (en) Network video acceleration system and control method
CN102769818A (en) Method and device for pushing information in mobile internet
CN112468839A (en) Playback method, system, device and readable storage medium of live content
CN102792295B (en) Operation information generation device
CN106557584A (en) A kind of web site collection method and device
CN101699860A (en) Implement method for mixing network TV stream media server of peer-to-peer computing network
CN103458065A (en) Method for extracting video address based on Webkit kernel under HTML5 standard

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080910

Termination date: 20190606

CF01 Termination of patent right due to non-payment of annual fee