1 / 14

Peer to peer search engine

Peer to peer search engine. By: Anthony Bieber. Brief explanation. What is P2P? What is a Web Bot / Spider? What are the advantages / disadvantages as opposed to a normal search engine?. Vs. 1. Web Hosting / application download. Project Modules.

ranee
Download Presentation

Peer to peer search engine

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Peer to peer search engine By: Anthony Bieber

  2. Brief explanation • What is P2P? What is a Web Bot / Spider? • What are the advantages / disadvantages as opposed to a normal search engine? Vs.

  3. 1. Web Hosting / application download Project Modules • Used service provider to supply domain name as well as web hosting($70.00 for 1 year web hosting, 2 years domain name). • Biebsapps.ca was created as a place to store application files and application updates. HTML and CSS were used to design the page. • Site will also be used to store future applications as well as demonstration videos in the future. Web hosting / application download Local Search Engine Networking Aspect

  4. 1. Web Hosting / application download Project Modules Web hosting / application download Local Search Engine Networking Aspect XAMPP server software must be downloaded on PC first. Application files must be added to apache server directory (C:/xampp/searcheng) to load local search engine application.

  5. 2.Local Search Engine Scripts Created: Proj_tables.sql Searcheng.htmlproj_searchresult.php Spider.html Spider.php Style.css Reset.php**Critical for testing Ipaddress.php**Discussed further with networking Project Modules Web hosting / application download Local Search Engine Networking Aspect

  6. 2.Local Search Engine Proj_tables.sql Project Modules Web hosting / application download Local Search Engine Networking Aspect

  7. 2.Local Search Engine Spider.html Spider.php Project Modules Web hosting / application download Local Search Engine Networking Aspect

  8. 2.Local Search Engine Spider.php 1. $url=$_GET[‘url’]; Project Modules 2. Download www.mohawkcollege.ca using fopen, add the url to table ‘page’ associated with page_id ‘6’. Web hosting / application download Local Search Engine Networking Aspect 3. Parse page contents by word and add each word into table ‘word’ with word_id 4. Word ‘college’ is associated with Word_id ‘2548’. Occurrence table shows “word college appears on Mohawkcollege.ca 12 times”

  9. 2.Local Search Engine Searcheng.htmlproj_searchresult.php Project Modules 5-25 results returned on page depending on user input. Currently algorithm only supports search for single page Web hosting / application download Local Search Engine Networking Aspect

  10. Have I lost you yet? • So far we can: • Install the server environment and application files • Locally add pages into our own database, and search words

  11. 3.Networking Aspect How do I get Pc’s on the same network to update each others database? Project Modules 1. Create a script to add a neighbours ip address to your local database 2. Create a script (proj_returnupdatestoclient.php)that takes all information from a users database and displays it on a page. 3. Create a script(proj_getupdatesfromserver.php) using an HTTP GET that looks for ipaddresses in local database, downloads proj_returnupdatestoclient.php, parses it contents and stores updates and new additions to local database. Web hosting / application download Local Search Engine Networking Aspect

  12. 3.Networking Aspect • Stipulations: • Must know ip address of neighbor on network and add it statically on ipaddress.php • Updates are done whenever the user wants instead of automatically. • If a users ip is dynamically allocated its new ip address must be added each time they want to communicate. Project Modules Web hosting / application download Local Search Engine Networking Aspect

  13. Future Considerations • Use AJAX to make html pages dynamic to create cleaner application. • Ensure Outside IP addresses can use the application as well, not just within a private network. • Create multiple display algorithms to give users an option of how search content is displayed. • Better search functionality: More than just one word. • Maintain permanent connection to network no matter what ip address is by using sessions. • Automate install process completely.

  14. Thank you for listening

More Related