[go: up one dir, main page]

CN103268319A - A web-based cloud browser - Google Patents

A web-based cloud browser Download PDF

Info

Publication number
CN103268319A
CN103268319A CN201310134243XA CN201310134243A CN103268319A CN 103268319 A CN103268319 A CN 103268319A CN 201310134243X A CN201310134243X A CN 201310134243XA CN 201310134243 A CN201310134243 A CN 201310134243A CN 103268319 A CN103268319 A CN 103268319A
Authority
CN
China
Prior art keywords
plug
user
web
server
client
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
CN201310134243XA
Other languages
Chinese (zh)
Inventor
王安然
陈大伟
闫昭
纪一鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201310134243XA priority Critical patent/CN103268319A/en
Publication of CN103268319A publication Critical patent/CN103268319A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及一种基于网页的云浏览器,属于计算机与Internet信息化领域,它包括服务器端和客户端,服务器包括数据库、插件管理器、各个插件、用户验证模块、网页代理模块和用户配置模块;本发明在普通浏览器上以网页的形式呈现出浏览器的功能与样式,使浏览器网页化,使之拥有跨平台、数据同步、方便快捷的特点。

The invention relates to a webpage-based cloud browser, which belongs to the field of computer and Internet informatization. It includes a server and a client. The server includes a database, a plug-in manager, various plug-ins, a user verification module, a web page proxy module and a user configuration module. ; The present invention presents the functions and styles of the browser in the form of web pages on ordinary browsers, making the browser web pages, and making it have the characteristics of cross-platform, data synchronization, and convenience.

Description

一种基于网页的云浏览器A web-based cloud browser

技术领域 technical field

本发明涉及一种基于网页的浏览器,称为云浏览器,属于计算机与Internet信息化领域。  The invention relates to a webpage-based browser, called a cloud browser, and belongs to the field of computer and Internet informatization. the

背景技术 Background technique

网页浏览器(Browser),是个显示网站服务器或文件系统内的文件,并让用户与此些文件交互的一种应用软件。它用来显示在万维网或局域网等内的文字、图像及其他信息。这些文字或图像,可以是连接其他网址的超链接,用户可迅速及轻易地浏览各种信息。大部分网页为HTML格式,有些网页需特定浏览器才能正确显示。  A web browser (Browser) is an application software that displays files in a web server or file system and allows users to interact with these files. It is used to display text, images, and other information on the World Wide Web or a local area network, etc. These texts or images can be hyperlinks to other websites, and users can quickly and easily browse various information. Most web pages are in HTML format, and some web pages require specific browsers to display correctly. the

个人电脑上常见的网页浏览器按照2010年1月的市场占有率依次是微软的Internet Explorer、Mozilla的Firefox、Google的Chrome、苹果公司的Safari和Opera软件公司的Opera。浏览器是最常用的客户端程序。万维网是全球最大的链接文件网络文库。  The common web browsers on personal computers are Internet Explorer of Microsoft, Firefox of Mozilla, Chrome of Google, Safari of Apple and Opera of Opera Software according to their market share in January 2010. A browser is the most commonly used client program. The World Wide Web is the world's largest online library of linked documents. the

普通浏览器为在计算机或其他设备中使用的应用软件,需要安装在计算机或者其他设备中(http://zh.wikipedia.org/wiki/%E6%B5%8F%E8%A7%88%E5%99%A8),如Internet Explorer,Safari,Firefox等。Opera曾经做过适合于移动设备使用的Opera mini(http://zh.wikipedia.org/wiki/Opera_Mini),使用其浏览时先由Opera公司的服务器对所访问的网页进行压缩和优化,缩小文件大小,以便于传递,使之适合于手机浏览,再于手机上显示,由此可以通过中转来节省流量、优化显示效果,但是它也需要一个客户端去编码与解码,并通过一种特殊的技术进行渲染,可用性不高。基于Google Chrome浏览器的Chrome OS(http://zh.wikipedia.org/wiki/Chrome_os)已经上市,其将浏览器上升到了操作系统的范畴内,但其实质依然是一个在操作系统之上的浏览器软件。  Ordinary browsers are application software used on computers or other devices, and need to be installed on computers or other devices ( http://zh.wikipedia.org/wiki/%E6%B5%8F%E8%A7%88%E5 %99%A8 ), such as Internet Explorer, Safari, Firefox, etc. Opera once made Opera mini ( http://zh.wikipedia.org/wi ki/Opera_Mini ) suitable for mobile devices. When using it to browse, the server of Opera company first compresses and optimizes the visited web pages. Reduce the size of the file for easy transmission, making it suitable for mobile phone browsing, and then displaying it on the mobile phone, so that traffic can be saved and the display effect can be optimized through transfer, but it also requires a client to encode and decode, and through a Special technology for rendering, usability is not high. Chrome OS ( http://zh.wikipedia.org/wiki/Chrome_os ) based on the Google Chrome browser has been launched, which raises the browser to the scope of the operating system, but its essence is still a browser software.

云计算(http://zh.wikipedia.org/wiki/%E4%BA%91%E8%AE%A1%E7%AE%97)是基于互联网的相关服务的增加、使用和交付模式,是一种基于互联网的计算方式,通过这种方式,共享的软硬件资源和信息可以按需提供给计算机和其他设备。云计算和大数据让许多事情变得简单。在云计算时代,人们最为经常使用的浏览器依然依赖于操作系统、客户端浏览器等,其使用和生成数据无法享受到云计算带来的便利。  Cloud computing ( http://zh.wikipedia.org/wiki/%E4%BA%91%E8%AE%A1%E7%AE%97 ) is an increase, usage and delivery model of Internet-based related services, and is a An Internet-based computing method whereby shared hardware and software resources and information are made available to computers and other devices on demand. Cloud computing and big data make many things easier. In the era of cloud computing, the most frequently used browser still depends on the operating system, client browser, etc., and its use and generation of data cannot enjoy the convenience brought by cloud computing.

云计算中的一大类是软件即服务(SaaS)(http://zh.wikipedia.org/wiki/SaaS),软件及其相关的数据被在云端集中式地托管(hosted),用户通常使用瘦客户端(thin client),通过一个万维网浏览器(web browser)来访问软件即服务。但是在本技术之前,浏览器本身依 然是传统的软件。  A large category of cloud computing is software as a service (SaaS) ( http://zh.wikipedia.org/wiki/SaaS ), software and related data are centrally hosted (hosted) in the cloud, and users usually use Thin client (thin client), through a World Wide Web browser (web browser) to access software as a service. But before this technology, the browser itself was still traditional software.

HTML5技术正在变得普及,目前,包括Chrome、Opera、Safari等浏览器均支持几乎全部HTML5规范。HTML5规范中包含WebSocket(http://zh.wikipedia.org/wiki/WebSocket),这项技术允许网页在浏览器中可以与受信任的服务器之间进行Socket通信;而HTML4中所包含的AJAX技术(http://zh.wikipedia.org/wiki/AJAX)也可以让网页异步的与服务器交换数据。  HTML5 technology is becoming popular. Currently, browsers including Chrome, Opera, and Safari support almost all HTML5 specifications. The HTML5 specification includes WebSocket ( http://zh.wikipedia.org/wiki/WebSocket ), which allows web pages to communicate with trusted servers through sockets in the browser; and the AJAX technology included in HTML4 ( http://zh.wikipedia.org/wiki/AJAX ) It also allows web pages to exchange data with the server asynchronously.

因此,现有浏览器重要依赖于操作系统、无法轻易的同步用户数据,具有程序与插件安装麻烦的问题。  Therefore, existing browsers mainly depend on the operating system, cannot easily synchronize user data, and have troublesome problems in installing programs and plug-ins. the

发明内容 Contents of the invention

本发明的技术解决问题是:克服现有技术的不足,提供一种基于网页的云浏览器,为服务器端提供的一系列服务,在普通浏览器上以网页的形式呈现出浏览器的功能与样式,使浏览器网页化,使之拥有跨平台、数据同步、方便快捷的特点。  The technical problem of the present invention is: to overcome the deficiencies of the prior art, to provide a cloud browser based on the webpage, to provide a series of services for the server side, and to present the functions and functions of the browser in the form of webpages on the common browser. The style makes the browser a webpage, making it have the characteristics of cross-platform, data synchronization, and convenience. the

本发明技术解决方案:一种基于网页的云浏览器,包括服务器端和客户端,其特征在于:所述服务器包括数据库、插件管理器、各个插件、用户验证模块、网页代理模块和用户配置模块;  Technical solution of the present invention: a webpage-based cloud browser, including a server and a client, characterized in that: the server includes a database, a plug-in manager, various plug-ins, a user authentication module, a web page proxy module and a user configuration module ;

所述数据库采用了Mysql数据库,其中储存了三个表:Users表,储存了用户相关的信息;Plugins表,储存了各个插件所在的物理位置、启动参数信息;Log表,储存了各个系统状态的历史变化情况,供调试时使用;另外还存储有各个插件所使用的表,由各个插件创建与管理;  Described database has adopted Mysql database, wherein has stored three tables: Users table, has stored user-related information; Plugins table, has stored the physical position of each plug-in place, startup parameter information; Log table, has stored each system state information. Historical changes are used for debugging; in addition, tables used by each plug-in are stored, which are created and managed by each plug-in;

插件管理器,从数据库的Plugins表里读取各个插件的信息,启动各个插件,并接收网页代理模块发出的插件请求,调用相应插件,返回给网页代理模块处理后的信息;  The plug-in manager reads the information of each plug-in from the Plugins table of the database, starts each plug-in, receives the plug-in request sent by the web proxy module, calls the corresponding plug-in, and returns the processed information to the web proxy module;

各个插件,分为两种:包含作为自带的网页插件,及采用Javascript源代码根据用户需求加载的其它插件;网页插件的动态链接库dll文件被插件管理器加载,主要包含一个接收网页请求信息,返回处理后的网页请求信息的f函数,与一个接收网页数据,返回处理后的网页数据的g函数;所述网页插件包括:Cookies同步插件、历史记录插件、网页历史保存插件和NoImage插件;  Each plug-in is divided into two types: it includes the web plug-in that comes with it, and other plug-ins that use Javascript source code to load according to user needs; the dynamic link library dll file of the web plug-in is loaded by the plug-in manager, and mainly includes a request information for receiving web pages , an f function that returns the processed web page request information, and a g function that receives web page data and returns the processed web page data; the web page plug-in includes: Cookies synchronization plug-in, historical record plug-in, web page history preservation plug-in and NoImage plug-in;

其中Cookies同步插件将用户对各个网站保存的Cookies信息通过服务器进行同步,具体实现为:f函数将首先通过主服务器检查用户是否登录,若未登录则不进行处理;否则,处理请求数据,在数据库中查询该用户在该网站上的Cookies并添加到请求数据中返回;g函数的参数中若包含有Cookies数据,则将其Cookies数据添加或更新到服务器端的数据库中;网页历史记录插件将对用户对网页的请求历史进行保存,具体实现为:f函数将保存请 求数据中的URL和网页标题、网页图标信息到数据库中;g函数将保存参数,即获取到的网页的内容及其渲染后的截图到数据库中;网页历史保存插件将保存网页在请求时刻的内容,以供今后查询,具体实现为:若f函数发现请求的数据中包含网页历史保存请求,则在g函数中,将参数即获取到的网页保存到数据库中;NoImage插件的作用为屏蔽在客户端中的网页中出现的图片,具体实现为:遍历网页中的所有元素,删除所有Img元素和所有元素的background-image样式,以节省数据流量;上述浏览器自带插件在用户登录时自动在客户端中载入;其他插件,开发者开发符合规定的插件并放到服务器上,同时更新Plugins表以进行注册;  Among them, the Cookies synchronization plug-in synchronizes the Cookies information saved by the user on each website through the server. The specific implementation is: the f function will first check whether the user is logged in through the main server, and if not logged in, it will not be processed; otherwise, the request data will be processed and stored in the database. Query the user's Cookies on the website and add them to the request data to return; if the parameters of the g function contain Cookies data, the Cookies data will be added or updated to the server-side database; the web page history plug-in will Save the request history of the webpage, the specific implementation is: the f function will save the URL, webpage title, and webpage icon information in the request data to the database; the g function will save the parameters, that is, the content of the obtained webpage and its rendered The screenshot of the web page is stored in the database; the web page history saving plug-in will save the content of the web page at the time of the request for future query. That is, the obtained webpage is saved in the database; the function of the NoImage plug-in is to block the images that appear in the webpage in the client, and the specific implementation is: traverse all elements in the webpage, delete all Img elements and the background-image style of all elements , to save data traffic; the above-mentioned browsers’ built-in plug-ins are automatically loaded in the client when the user logs in; for other plug-ins, the developer develops a plug-in that meets the requirements and puts it on the server, and updates the Plugins table for registration at the same time;

用户验证模块,是暴露给用户的Web Service服务,接收用户通过客户端中的登录/注销模块发来的用户验证信息,包括用户名和密码,在数据库中验证,并返回验证结果;若验证成功,则在服务器中生成一个存放在服务器内存中的Session和发送回客户端的Cookie,以代表该用户的标识;  The user authentication module is a Web Service service exposed to the user. It receives the user authentication information sent by the user through the login/logout module in the client, including the user name and password, verifies it in the database, and returns the verification result; if the verification is successful, Then a Session stored in the server memory and a Cookie sent back to the client are generated in the server to represent the user's identity;

网页代理模块,是Web Service服务,接收用户通过在客户端请求网页模块请求的数据,交给插件管理器进行加工,随后远程调用目标网站获取网页内容,替换各个链接,包括所有<a>节点、<img>节点、<link>节点、字符串中的URL,随后再交给插件管理器进行加工后返回给用户;  The web page proxy module is a Web Service service. It receives the data requested by the user through the client requesting the web page module, and sends it to the plug-in manager for processing, and then remotely calls the target website to obtain the web page content, and replaces each link, including all <a> nodes, URLs in <img> nodes, <link> nodes, and strings are handed over to the plug-in manager for processing and then returned to the user; 

用户配置模块,是Web Service服务,已登录的用户能够获取当前的用户配置或修改用户配置;该模块接收两种请求,一是获取用户配置请求,用于客户端的加载;二是设置用户配置请求,用于在客户端中的用户配置呈现模块进行设置;两种请求均包括用户宿主浏览器中保存的Cookies,用于验证用户是否登录;设置用户配置请求还包括插件启用信息、是否修改密码、新密码信息;  The user configuration module is a Web Service service. The logged-in user can obtain the current user configuration or modify the user configuration; this module receives two kinds of requests, one is to obtain the user configuration request, which is used for loading the client; the other is to set the user configuration request , which is used to set the user configuration presentation module in the client; both requests include cookies saved in the user’s host browser to verify whether the user is logged in; the request to set the user configuration also includes plug-in enablement information, whether to change the password, new password information;

所述客户端包括网页呈现模块、登录/注销模块、请求网页模块和客户端用户配置呈现模块;  The client includes a webpage presentation module, a login/logout module, a request webpage module and a client user configuration presentation module;

网页呈现模块包括整个客户端的UI呈现;它接收服务器端的网页代理模块传回的网页内容,对其进行渲染后呈现给用户;  The webpage presentation module includes the UI presentation of the entire client; it receives the webpage content returned by the webpage proxy module on the server side, renders it and presents it to the user;

登录/注销部分为一个登录/注销层(Div块);它接收用户输入的用户名和密码信息,把其异步请求给服务器的用户验证模块,经过验证后把验证的结果通过用户验证模块传回给登录/注销层;  The login/logout part is a login/logout layer (Div block); it receives the user name and password information entered by the user, sends its asynchronous request to the user authentication module of the server, and passes the authentication result back to the server through the user authentication module. login/logout layer;

请求网页模块,为Javascript代码,用于异步的与服务器的网页代理模块交换数据,客户端可自适应浏览器的支持情况以选择以AJAX方式传输还是以Web Socket方式传输:若 该浏览器不支持HTML5,则使用AJAX方式传输;否则使用Web Socket方式传输;  The request webpage module is Javascript code, which is used to exchange data with the server's webpage proxy module asynchronously. The client can adapt to the support of the browser to choose AJAX transmission or Web Socket transmission: if the browser does not support HTML5, use AJAX; otherwise, use Web Socket;

客户端用户配置呈现模块,为一个拥有很多选项的层,若用户已登录,则用户通过浏览器部分中的菜单进入该部分,该部分会显示用户信息,进行修改;除了选项以外还有确定按钮,用于调用SetSettings函数与服务器端的用户配置模块进行通信以更新用户配置。  The client user configuration presentation module is a layer with many options. If the user has logged in, the user enters this part through the menu in the browser part, and this part will display user information for modification; besides the options, there is an OK button , used to call the SetSettings function to communicate with the user configuration module on the server side to update the user configuration. the

2、一种基于网页的云浏览器实现方法,其特征在于:  2, a webpage-based cloud browser implementation method, characterized in that:

(1)用户在网页客户端中进行登录或注销,经过服务器的用户验证,返回给用户验证结果;服务器端收到验证请求后,对数据库进行查询,返回给用户查询结果;若查询成功,还要生成服务器端的Session和对应的客户端Cookie。  (1) The user logs in or logs out in the web client, and after the user verification by the server, the verification result is returned to the user; after the server receives the verification request, it queries the database and returns the query result to the user; if the query is successful, it returns To generate the server-side Session and the corresponding client-side Cookie. the

(2)网页客户端包括一些菜单项和一个用于显示网页内容的层,用户在网页客户端中对目标网站发出请求,请求被异步的发送到服务器,方法可以是适用于支持HTML5的浏览器的WebSocket,也可以是适用于不支持HTML5浏览器的AJAX;服务器通过远程代理访问目标网站与插件的加工,替换网页内容中的链接为继续进行代理访问的请求网址,将最后的网页数据传送回客户端中呈现给用户;插件内部包含一个负责处理请求数据的函数和一个负责处理网页数据的函数;云浏览器自带有一些插件,有Cookies同步插件、历史记录插件、网页历史保存插件、NoImage插件;同时开发者也能够为其开发第三方插件;插件与数据库中的数据进行通信;  (2) The web client includes some menu items and a layer for displaying web content. The user sends a request to the target website in the web client, and the request is sent to the server asynchronously. The method can be a browser that supports HTML5 WebSocket, or AJAX for browsers that do not support HTML5; the server accesses the target website through a remote proxy and processes the plug-in, replaces the link in the web page content with the request URL for continuing proxy access, and sends the final web page data back Presented to the user in the client; the plug-in contains a function responsible for processing request data and a function responsible for processing web page data; the cloud browser comes with some plug-ins, including Cookies synchronization plug-in, history plug-in, web page history saving plug-in, NoImage Plug-ins; at the same time, developers can also develop third-party plug-ins; plug-ins communicate with data in the database;

(3)用户可以在网页客户端中查看或修改用户配置,修改配置的结果将传送回服务器端,经过服务器端处理后存放在数据库中。  (3) Users can view or modify user configurations in the web client, and the configuration modification results will be sent back to the server and stored in the database after being processed by the server. the

本发明与现有技术相比的优点在于:  The advantage of the present invention compared with prior art is:

(1)本发明在网页中呈现,无需安装,可跨平台;  (1) The present invention is presented on a web page, without installation, and can be cross-platform;

(2)本发明通过网页呈现浏览器,可以更好的支持浏览数据的同步,包括Cookies、历史记录等,也可以更加轻松的进行浏览器的升级、备份;  (2) The present invention presents the browser through the webpage, which can better support the synchronization of browsing data, including Cookies, historical records, etc., and can also upgrade and backup the browser more easily;

(3)本发明插件安装在服务器端,无需客户端安装、配置即可使用,更加便捷,也更加安全;  (3) The plug-in of the present invention is installed on the server side and can be used without client installation and configuration, which is more convenient and safer;

(4)本发明通过服务器中转技术(即网页代理)为浏览器增加了更多可用性,如压缩以节约流量、去广告等;  (4) The present invention adds more usability to browsers through server transfer technology (i.e. web proxy), such as compression to save traffic, remove advertisements, etc.;

(5)本发明服务器中储存了大量的数据,使个性推荐、数据挖掘成为可能。  (5) A large amount of data is stored in the server of the present invention, making personalized recommendation and data mining possible. the

附图说明 Description of drawings

图1为本发明服务器端和客户端的实现流程图,箭头表示数据或信息的流向;  Fig. 1 is the realization flow chart of server end and client end of the present invention, and arrow represents the flow direction of data or information;

图2为服务器端处理各种请求的流程图;  Figure 2 is a flow chart of processing various requests at the server side;

图3为服务器端的插件管理器的运行流程图。  FIG. 3 is a flow chart of the operation of the plug-in manager on the server side. the

具体实施方式 Detailed ways

如图1所示,本发明的一种基于网页的云浏览器,特点在于:为B/S(Browser/Server)架构,包括服务器端和客户端,服务器端包括一个提供网页代理服务的进程和多个其他服务进程,如用户验证、用户配置等;客户端为HTML网页;  As shown in Figure 1, a kind of webpage-based cloud browser of the present invention is characterized in that: it is a B/S (Browser/Server) architecture, including a server end and a client end, and the server end includes a process that provides web page proxy services and Multiple other service processes, such as user authentication, user configuration, etc.; the client is an HTML web page;

所述服务器端对发送或接受的信息进行加工、储存、检索操作,以提供如下功能:  The server side processes, stores, and retrieves the sent or received information to provide the following functions:

i.Cookies同步:在多个设备,即多个浏览器中同步各个网站的Cookies内容;  i. Cookies synchronization: Synchronize the Cookies content of each website in multiple devices, that is, multiple browsers;

ii.历史记录保存:在服务器端储存用户的浏览历史,并支持删查;  ii. History record preservation: store the user's browsing history on the server side, and support deletion;

iii.外部插件:插件在服务器端储存并执行,对云浏览器本身和用户的请求与网页内容进行加工;  iii. External plug-in: the plug-in is stored and executed on the server side, and processes the cloud browser itself and the user's request and web page content;

iv.网页历史保存:在服务器端储存用户某次浏览的网页的快照,以在将来该网页发生变化的时候依然可以查看当时的内容;  iv. Web page history preservation: store a snapshot of the web page browsed by the user on the server side, so that the content at that time can still be viewed when the web page changes in the future;

v.网站推荐:根据用户的使用习惯,对用户的行为进行分析,并推荐用户可能感兴趣的网站;  v. Website recommendation: According to the user's usage habits, analyze the user's behavior and recommend websites that the user may be interested in;

vi.统计:统计大量用户的使用历史,进而形成一个拥有大量用户使用习惯的大型数据库;  vi. Statistics: Count the usage history of a large number of users, and then form a large database with a large number of users' usage habits;

在实现上,服务器端接收请求的网址信息或用户数据,以进行网页代理和用户验证、获取用户信息、设置用户信息功能,并通过动态调用库,或以动态执行代码的方法提供插件服务;包括Cookies同步、网页历史记录、网页历史保存、NoImage等功能;用户在客户端中进行设置,启用或禁用插件;  In terms of implementation, the server side receives the requested URL information or user data to perform web page proxy and user verification, obtain user information, set user information functions, and provide plug-in services by dynamically calling the library or dynamically executing code; including Cookies synchronization, web page history, web page history preservation, NoImage and other functions; users can set in the client to enable or disable plug-ins;

所述网页代理的工作过程为:所述网页代理是一个网络服务,在80端口以HTTP协议监听TCP请求,接收客户端对某个网址的请求;对该请求进行加工即加入Cookies数据等附加信息后,然后根据请求对指定网页进行访问,获取网页内容,对网页内容进行加工即对超链接、图片的网址进行替换,随后发送回客户端;  The working process of the webpage proxy is: the webpage proxy is a network service, monitors the TCP request with the HTTP protocol at port 80, and receives the client's request to a certain website; processing the request adds additional information such as Cookies data Then, according to the request, visit the specified webpage, obtain the content of the webpage, process the content of the webpage, that is, replace the URL of the hyperlink and picture, and then send it back to the client; 

所述插件的原理为:插件分为浏览器插件和网页插件;浏览器插件为一段JavaScript代码,需要经过安全审核才使用,在云浏览器在宿主浏览器中加载完毕时被调用;网页插件可抽象化为两个函数,其中一个函数f的参数为客户端对某个网址的请求数据,结果为处理后的结果;另外一个函数g的参数为获取到的网页内容,结果为处理后的结果;  The principle of the plug-in is: the plug-in is divided into a browser plug-in and a web page plug-in; the browser plug-in is a section of JavaScript code, which needs to be used after a security audit, and is called when the cloud browser is loaded in the host browser; the web page plug-in can be It is abstracted into two functions. The parameter of one function f is the client’s request data for a certain URL, and the result is the processed result; the parameter of the other function g is the obtained web page content, and the result is the processed result ;

云浏览器的客户端通过HTML4、HTML5、JavaScript进行渲染和开发,采用AJAX的方式在不支持HTML5的浏览器中进行网络通信,也能够通过HTML5的Web Socket功能, Web Socket能够提供更好的性能和更少的带宽占用;  The client side of the cloud browser renders and develops through HTML4, HTML5, and JavaScript. It uses AJAX to communicate in the browser that does not support HTML5. It can also use the Web Socket function of HTML5. Web Socket can provide better performance. and less bandwidth usage;

所述客户端包括四部分:网页呈现部分,登录/注销部分,请求网页部分和用户配置呈现部分;客户端的功能是与服务器端通信,获取、修改用户信息并呈现网页内容。  The client includes four parts: a webpage presentation section, a login/logout section, a webpage request section and a user configuration presentation section; the function of the client terminal is to communicate with the server, acquire and modify user information and present webpage content. the

下面结合附图及实施例对本发明进行详细说明,如图1所示,本发明包括服务器端和客户端两大部分。  The present invention will be described in detail below with reference to the accompanying drawings and embodiments. As shown in FIG. 1 , the present invention includes two parts: a server end and a client end. the

服务器端包括数据库、插件管理器、各个插件、用户验证、网页代理、用户配置部分。具体处理过程如图2所示。  The server side includes database, plug-in manager, various plug-ins, user authentication, web page proxy, and user configuration. The specific process is shown in Figure 2. the

1.数据库采用了Mysql数据库,因为其免费开源易于使用。其中储存了三个表:  1. The database adopts Mysql database, because it is free and open source and easy to use. Three tables are stored in it:

(11)Users表,储存了用户相关的信息,如用户名、密码、插件是否启用等信息。  (11) Users table, which stores user-related information, such as user name, password, and whether the plug-in is enabled or not. the

(12)Plugins表,储存了各个插件所在的物理位置、启动参数等信息。  (12) The Plugins table stores information such as the physical location and startup parameters of each plug-in. the

(13)Log表,储存了各个系统状态的历史变化情况,供调试时使用。  (13) Log table, which stores the historical changes of each system state for use during debugging. the

另外还有各个插件所使用的表,由各个插件创建与管理。  In addition, there are tables used by each plug-in, which are created and managed by each plug-in. the

2.插件管理器从Plugins表里读取各个插件的信息,启动各个插件,并接收插件请求,调用相应插件,返回处理后的信息。如图3所示。  2. The plug-in manager reads the information of each plug-in from the Plugins table, starts each plug-in, receives the plug-in request, calls the corresponding plug-in, and returns the processed information. As shown in Figure 3. the

3.插件采用两种:包含网页插件的动态链接库dll文件被插件管理器加载,和Javascript源代码作为浏览器插件根据用户需求加载到云浏览器中;网页插件如之前的描述,主要包括两个函数。云浏览器自带的浏览器插件包括:  3. There are two types of plug-ins: the dynamic link library dll file containing the web plug-in is loaded by the plug-in manager, and the Javascript source code is loaded into the cloud browser as a browser plug-in according to user needs; the web plug-in, as described before, mainly includes two function. The browser plug-ins that come with Cloud Browser include:

(31)Cookies同步插件:f函数将首先通过主服务器检查用户是否登录,若未登录则不进行处理,下同。否则,处理请求数据,在数据库中查询该用户在该网站上的Cookies并添加到请求数据中返回;g函数的参数中若包含有Cookies数据,则将其Cookies数据添加或更新到服务器端的数据库中。  (31) Cookies synchronization plug-in: The f function will first check whether the user is logged in through the main server, if not logged in, it will not be processed, the same below. Otherwise, process the request data, query the user’s Cookies on the website in the database and add them to the request data and return; if the parameters of the g function contain Cookies data, add or update the Cookies data to the server-side database . the

(32)历史记录插件:f函数将保存请求数据中的URL和网页标题、网页图标等信息到数据库中;g函数将保存参数(获取到的网页)的内容渲染后的截图到数据库中。  (32) History plug-in: the f function will save information such as the URL in the request data, the webpage title, the webpage icon, etc. into the database; the g function will save the rendered screenshot of the parameter (obtained webpage) into the database. the

(33)网页历史保存插件:若f函数发现请求的数据中包含网页历史保存请求,则在g函数中,将参数(获取到的网页)保存到数据库中。  (33) Web page history saving plug-in: if the f function finds that the requested data includes a web page history saving request, then in the g function, save the parameters (obtained web pages) into the database. the

浏览器插件在用户登录时自动在客户端中载入。云浏览器自带的浏览器插件有:  The browser plug-in is automatically loaded in the client when the user logs in. The browser plug-ins that come with Cloud Browser include:

(34)NoImage插件:遍历网页中的所有元素,删除所有Img元素和所有元素的background-image样式,以节省数据流量。  (34) NoImage plug-in: traverse all elements in the webpage, delete all Img elements and background-image styles of all elements, to save data traffic. the

除了这些插件以外,开发者可以开发符合规定的插件并放到服务器上,同时更新Plugins表以进行注册。  In addition to these plug-ins, developers can develop plug-ins that meet the requirements and put them on the server, while updating the Plugins table for registration. the

4.以下三个模块采用Asp.net中的Web Service技术,公开一些服务给客户端进行AJAX或WebSocket异步调用。  4. The following three modules use the Web Service technology in Asp.net to expose some services to the client for AJAX or WebSocket asynchronous calls. the

(41)用户验证模块是一个暴露给用户的Web Service服务,接收用户发来的用户验证信息,如用户名、密码等,在数据库中验证,并返回验证结果。若验证成功,则在服务器中生成一个存放在服务器中的Session和发送回客户端的Cookie,以代表该用户的标识。  (41) The user verification module is a Web Service exposed to the user, which receives the user verification information sent by the user, such as user name, password, etc., verifies it in the database, and returns the verification result. If the verification is successful, a Session stored in the server and a Cookie sent back to the client are generated in the server to represent the identity of the user. the

(42)网页代理模块也是一个Web Service服务,接收用户的基本信息和请求数据,交给插件管理器进行加工,随后远程调用目标网站获取网页内容,替换各个链接(所有<a>节点、<img>节点、<link>节点、字符串中的URL等),随后再交给插件管理器进行加工后返回给用户。  (42) The web page proxy module is also a Web Service service, which receives the user's basic information and request data, passes them to the plug-in manager for processing, and then remotely calls the target website to obtain the web page content, and replaces each link (all <a> nodes, <img > node, <link> node, URL in the string, etc.), and then handed over to the plug-in manager for processing and returning to the user. the

用户的请求信息包括以下内容:  The user's request information includes the following:

a.用户宿主浏览器中保存的Cookies,用于验证用户是否登录;  a. Cookies saved in the user's host browser are used to verify whether the user is logged in;

b.目标网站的URL;  b. The URL of the target website;

c.引用网页的URL;  c. The URL of the referring web page;

d.HTTP动作,如GET或POST;  d.HTTP action, such as GET or POST;

e.若HTTP动作为POST,则还要包括请求中附加的数据内容。  e. If the HTTP action is POST, the additional data content in the request should also be included. the

对网页中的链接进行替换的方法为:采用正则表达式,对HTML节点中的URL进行匹配,将匹配到的字符串替换为一个Javascript函数,匹配到的字符串作为该函数的参数,以进行下一次对网页代理模块的异步调用。  The method for replacing the link in the web page is: use regular expressions to match the URL in the HTML node, replace the matched character string with a Javascript function, and use the matched character string as a parameter of the function to perform The next asynchronous call to the web proxy module. the

(43)用户配置模块也是一个Web Service服务。已登录的用户可以获取当前的用户配置或修改用户配置。  (43) The user configuration module is also a Web Service service. A logged-in user can obtain the current user configuration or modify the user configuration. the

该模块接收两种请求。其一是获取用户配置请求,用于客户端的加载;其二是设置用户配置请求,用于在客户端中的用户配置呈现模块进行设置。两种请求都包括用户宿主浏览器中保存的Cookies,用于验证用户是否登录。设置用户配置请求还包括插件启用信息、是否修改密码、新密码等信息。  The module receives two kinds of requests. The first is to obtain a user configuration request, which is used for loading the client; the second is to set the user configuration request, which is used for setting by the user configuration presentation module in the client. Both requests include cookies stored in the user's host browser to verify that the user is logged in. The setting user configuration request also includes plug-in enablement information, whether to modify the password, new password and other information. the

异步调用采用TCP协议,在客户端将要传输的数据结构进行XML序列化或Json序列化后进行传输。在服务器端,对其进行反序列化后得到原数据结构。  The asynchronous call adopts the TCP protocol, and the data structure to be transmitted is transmitted after the client performs XML serialization or Json serialization. On the server side, deserialize it to get the original data structure. the

客户端包括网页呈现、登录/注销、请求网页、用户配置部分。  Client includes web page rendering, login/logout, request web page, user configuration part. the

A.网页呈现包括整个客户端的UI呈现,大多使用Div+CSS设计完成,包括菜单和一个IFrame框架作为所浏览网页的容器。  A. Web page rendering includes the UI rendering of the entire client, which is mostly designed using Div+CSS, including menus and an IFrame frame as the container of the browsed web page. the

菜单一般在网页的最上方,菜单中包含后退、前进、收藏等按钮。除此之外,一些浏览 器插件也可以在菜单中添加按钮。  The menu is generally at the top of the webpage, and the menu includes buttons such as back, forward, and favorites. In addition, some browser plug-ins can also add buttons to the menu. the

IFrame框架用于进行网页的浏览。它的内容被一段属于请求网页部分的接收服务器返回内容的代码所控制。  The IFrame frame is used to browse web pages. Its content is controlled by a piece of code that is part of the requested web page and receives content returned by the server. the

B.登录/注销部分为一个登录/注销层(Div块),其中含有文本框用于填写用户名、密码等信息,一个按钮用于登录或注册,一个按钮用于返回。用户点击登录或注册将以AJAX的方式与服务器端的用户验证模块进行通信,返回的消息交给一段代码进行处理。若验证成功,则添加Cookies到宿主浏览器中;否则显示出错信息。  B. The login/logout part is a login/logout layer (Div block), which contains text boxes for filling in user name, password and other information, a button for login or registration, and a button for return. When the user clicks on login or register, it will communicate with the user authentication module on the server side in the form of AJAX, and the returned message will be handed over to a piece of code for processing. If the verification is successful, cookies are added to the host browser; otherwise, an error message is displayed. the

可以在菜单中找到登录/注销与注册按钮,点击可以调出此登录/注销层。  The Login/Logout and Register buttons can be found in the menu, click to bring up this login/logout layer. the

C.请求网页部分主要为Javascript代码,用于异步的与服务器的网页代理模块交换数据。客户端可自适应浏览器的支持情况以选择以AJAX方式传输还是以Web Socket方式传输:若该浏览器不支持HTML5(如IE8及之前),则使用AJAX方式传输;否则使用Web Socket方式传输。  C. The part of the requested webpage is mainly Javascript code, which is used to exchange data with the webpage agent module of the server asynchronously. The client can adapt to the support of the browser to choose AJAX or Web Socket: if the browser does not support HTML5 (such as IE8 and before), AJAX will be used; otherwise, Web Socket will be used. the

代码主要包括如下几个函数:  The code mainly includes the following functions:

a.Present函数,参数为一段HTML代码,对其应用浏览器插件并显示在Iframe中。  a.Present function, the parameter is a piece of HTML code, the browser plug-in is applied to it and displayed in the Iframe. the

b.Request函数,用于将需要访问的网址进行包装,随后发送给服务器端的网页代理模块,等待服务器返回的结果并传送给Present函数进行显示。  b. The Request function is used to package the URL that needs to be accessed, and then send it to the web proxy module on the server side, wait for the result returned by the server and send it to the Present function for display. the

c.Login函数,参数为用户名与密码,与服务器通信进行验证,若成功则更新Cookies并返回成功的信息,否则返回失败信息。  c.Login function, the parameters are user name and password, communicate with the server for verification, if successful, update Cookies and return successful information, otherwise return failure information. the

d.Register函数,参数为用户名与密码,与服务器通信进行注册,若成功则返回成功的信息,否则返回失败信息。  d.Register function, the parameters are user name and password, communicate with the server to register, if successful, return a successful message, otherwise return a failure message. the

e.GetSettings函数,用于与服务器通信并获取用户信息。在登录完成时调用。  e.GetSettings function, used to communicate with the server and obtain user information. Called when login is complete. the

f.SetSettings函数,参数为所有设置,与服务器通信并设置用户信息。  f.SetSettings function, the parameters are all settings, communicate with the server and set user information. the

D.用户配置部分为一个拥有很多选项的层。若用户已登录,则用户可以通过浏览器部分中的菜单进入该部分,该部分会显示用户信息,可以进行修改。除了选项以外还有确定按钮,用于调用SetSettings函数与服务器端的用户配置模块进行通信以更新用户配置。  D. The user configuration section is a layer with many options. If the user is logged in, the user can enter this section through the menu in the browser section, which will display the user information and can be modified. In addition to the options, there is an OK button, which is used to call the SetSettings function to communicate with the user configuration module on the server side to update the user configuration. the

如图2所示,为云浏览器服务器端的工作流程。  As shown in Figure 2, it is the workflow of the cloud browser server. the

(1)云浏览器服务器端将在80端口监听用户请求,一旦接受到用户请求,则判断用户请求的类型;  (1) The cloud browser server will listen to user requests on port 80, and once a user request is received, it will determine the type of user request;

(2)若为代理请求,则交给网页代理模块进行处理。网页代理模块依照图中的流程依次进行,将结果返回给用户;  (2) If it is a proxy request, it will be handed over to the webpage proxy module for processing. The web proxy module proceeds in sequence according to the flow in the figure, and returns the results to the user;

(3)若为用户配置请求,则交给用户配置模块。用户配置模块依照图中的流程依次进行,将配置信息或配置结果返回给用户;  (3) If it is a user configuration request, send it to the user configuration module. The user configuration module proceeds sequentially according to the flow in the figure, and returns configuration information or configuration results to the user;

(4)若为用户验证请求,则交给用户验证模块。用户验证模块依照图中的流程依次进行,将验证结果返回给用户;  (4) If it is a user authentication request, it is handed over to the user authentication module. The user verification module proceeds sequentially according to the flow in the figure, and returns the verification result to the user;

(5)否则,为未识别请求,返回错误信息。  (5) Otherwise, it is an unrecognized request and returns an error message. the

如图3所示,为插件管理器的工作流程。  As shown in Figure 3, it is the workflow of the plug-in manager. the

(1)首先在插件管理器刚刚启动时,先依次载入所有插件的库并做相应处理。随后便进入监听状态;  (1) First, when the plug-in manager is just started, it first loads all plug-in libraries in sequence and performs corresponding processing. Then enter the monitoring state;

(2)一旦监听到有来自网页代理模块的请求,则依次访问所有插件的两个函数对其进行处理,随后返回给网页代理模块处理结果;  (2) Once a request from the web proxy module is monitored, it will be accessed in turn by the two functions of all plug-ins to process it, and then returned to the web proxy module for processing results;

(3)若监听到shutdown请求,则停止工作。  (3) If a shutdown request is detected, stop working. the

Claims (2)

1.一种基于网页的云浏览器,包括服务器端和客户端,其特征在于:所述服务器包括数据库、插件管理器、各个插件、用户验证模块、网页代理模块和用户配置模块;1. A webpage-based cloud browser, comprising a server end and a client terminal, is characterized in that: said server comprises a database, a plug-in manager, each plug-in, a user authentication module, a webpage agent module and a user configuration module; 所述数据库采用了Mysql数据库,其中储存了三个表:Users表,储存了用户相关的信息;Plugins表,储存了各个插件所在的物理位置、启动参数信息;Log表,储存了各个系统状态的历史变化情况,供调试时使用;另外还存储有各个插件所使用的表,由各个插件创建与管理;Described database has adopted Mysql database, wherein has stored three tables: Users table, has stored user-related information; Plugins table, has stored the physical position of each plug-in place, startup parameter information; Log table, has stored each system state information. Historical changes are used for debugging; in addition, tables used by each plug-in are stored, which are created and managed by each plug-in; 插件管理器,从数据库的Plugins表里读取各个插件的信息,启动各个插件,并接收网页代理模块发出的插件请求,调用相应插件,返回给网页代理模块处理后的信息;The plug-in manager reads the information of each plug-in from the Plugins table of the database, starts each plug-in, and receives the plug-in request sent by the web proxy module, calls the corresponding plug-in, and returns the processed information to the web proxy module; 各个插件,分为两种:包含作为自带的网页插件,及采用Javascript源代码根据用户需求加载的其它插件;网页插件的动态链接库dll文件被插件管理器加载,主要包含一个接收网页请求信息,返回处理后的网页请求信息的f函数,与一个接收网页数据,返回处理后的网页数据的g函数;所述网页插件包括:Cookies同步插件、历史记录插件、网页历史保存插件和NoImage插件;Each plug-in is divided into two types: it includes the web plug-in that comes with it, and other plug-ins that use Javascript source code to load according to user needs; the dynamic link library dll file of the web plug-in is loaded by the plug-in manager, and mainly includes a request information for receiving web pages , an f function that returns the processed web page request information, and a g function that receives web page data and returns the processed web page data; the web page plug-in includes: Cookies synchronization plug-in, historical record plug-in, web page history preservation plug-in and NoImage plug-in; 其中Cookies同步插件将用户对各个网站保存的Cookies信息通过服务器进行同步,具体实现为:f函数将首先通过主服务器检查用户是否登录,若未登录则不进行处理;否则,处理请求数据,在数据库中查询该用户在该网站上的Cookies并添加到请求数据中返回;g函数的参数中若包含有Cookies数据,则将其Cookies数据添加或更新到服务器端的数据库中;网页历史记录插件将对用户对网页的请求历史进行保存,具体实现为:f函数将保存请求数据中的URL和网页标题、网页图标信息到数据库中;g函数将保存参数,即获取到的网页的内容及其渲染后的截图到数据库中;网页历史保存插件将保存网页在请求时刻的内容,以供今后查询,具体实现为:若f函数发现请求的数据中包含网页历史保存请求,则在g函数中,将参数即获取到的网页保存到数据库中;NoImage插件的作用为屏蔽在客户端中的网页中出现的图片,具体实现为:遍历网页中的所有元素,删除所有Img元素和所有元素的background-image样式,以节省数据流量;上述浏览器自带插件在用户登录时自动在客户端中载入;其他插件,开发者开发符合规定的插件并放到服务器上,同时更新Plugins表以进行注册;Among them, the Cookies synchronization plug-in synchronizes the Cookies information saved by the user on each website through the server. The specific implementation is: the f function will first check whether the user is logged in through the main server, and if not logged in, it will not be processed; otherwise, the request data will be processed and stored in the database. Query the user's Cookies on the website and add them to the request data to return; if the parameters of the g function contain Cookies data, the Cookies data will be added or updated to the server-side database; the web page history plug-in will Save the request history of the web page. The specific implementation is: the f function will save the URL, web page title, and web page icon information in the request data to the database; the g function will save the parameters, that is, the content of the obtained web page and its rendered Screenshot to the database; the web page history saving plug-in will save the content of the web page at the time of the request for future query. The acquired web pages are saved in the database; the function of the NoImage plug-in is to block the images that appear in the web pages in the client, and the specific implementation is: traverse all elements in the web page, delete all Img elements and the background-image style of all elements, In order to save data traffic; the plug-ins of the above browsers are automatically loaded in the client when the user logs in; for other plug-ins, the developer develops a plug-in that meets the requirements and puts it on the server, and updates the Plugins table for registration at the same time; 用户验证模块,是暴露给用户的Web Service服务,接收用户通过客户端中的登录/注销模块发来的用户验证信息,包括用户名和密码,在数据库中验证,并返回验证结果;若验证成功,则在服务器中生成一个存放在服务器内存中的Session和发送回客户端的Cookie,以代表该用户的标识;The user authentication module is a Web Service service exposed to the user. It receives the user authentication information sent by the user through the login/logout module in the client, including the user name and password, verifies it in the database, and returns the verification result; if the verification is successful, Then a Session stored in the server memory and a Cookie sent back to the client are generated in the server to represent the identity of the user; 网页代理模块,是Web Service服务,接收用户通过在客户端请求网页模块请求的数据,交给插件管理器进行加工,随后远程调用目标网站获取网页内容,替换各个链接,包括所有<a>节点、<img>节点、<link>节点、字符串中的URL,随后再交给插件管理器进行加工后返回给用户;The web page proxy module is a Web Service service. It receives the data requested by the user through the client requesting the web page module, and sends it to the plug-in manager for processing, and then remotely calls the target website to obtain the web page content, and replaces each link, including all <a> nodes, The <img> node, <link> node, and the URL in the string are then handed over to the plug-in manager for processing and returned to the user; 用户配置模块,是Web Service服务,已登录的用户能够获取当前的用户配置或修改用户配置;该模块接收两种请求,一是获取用户配置请求,用于客户端的加载;二是设置用户配置请求,用于在客户端中的用户配置呈现模块进行设置;两种请求均包括用户宿主浏览器中保存的Cookies,用于验证用户是否登录;设置用户配置请求还包括插件启用信息、是否修改密码、新密码信息;The user configuration module is a Web Service service. The logged-in user can obtain the current user configuration or modify the user configuration; this module receives two kinds of requests, one is to obtain the user configuration request, which is used for loading the client; the other is to set the user configuration request , which is used to set the user configuration presentation module in the client; both requests include cookies saved in the user’s host browser to verify whether the user is logged in; the request to set the user configuration also includes plug-in enablement information, whether to change the password, new password information; 所述客户端包括网页呈现模块、登录/注销模块、请求网页模块和客户端用户配置呈现模块;The client includes a webpage presentation module, a login/logout module, a request webpage module and a client user configuration presentation module; 网页呈现模块包括整个客户端的UI呈现;它接收服务器端的网页代理模块传回的网页内容,对其进行渲染后呈现给用户;The webpage presentation module includes the UI presentation of the entire client; it receives the webpage content returned by the webpage proxy module on the server side, renders it and presents it to the user; 登录/注销部分为一个登录/注销层(Div块);它接收用户输入的用户名和密码信息,把其异步请求给服务器的用户验证模块,经过验证后把验证的结果通过用户验证模块传回给登录/注销层;The login/logout part is a login/logout layer (Div block); it receives the user name and password information entered by the user, sends its asynchronous request to the user authentication module of the server, and passes the authentication result back to the server through the user authentication module. login/logout layer; 请求网页模块,为Javascript代码,用于异步的与服务器的网页代理模块交换数据,客户端能够自适应浏览器的支持情况以选择以AJAX方式传输还是以Web Socket方式传输:若该浏览器不支持HTML5,则使用AJAX方式传输;否则使用Web Socket方式传输;The request web page module is Javascript code, which is used to exchange data with the web proxy module of the server asynchronously. The client can adapt to the support of the browser to choose AJAX transmission or Web Socket transmission: if the browser does not support For HTML5, use AJAX; otherwise, use Web Socket; 客户端用户配置呈现模块,为一个拥有很多选项的层,若用户已登录,则用户通过浏览器部分中的菜单进入该部分,该部分会显示用户信息,进行修改;除了选项以外还有确定按钮,用于调用SetSettings函数与服务器端的用户配置模块进行通信以更新用户配置。The client user configuration presentation module is a layer with many options. If the user has logged in, the user enters this part through the menu in the browser part, and this part will display user information for modification; besides the options, there is an OK button , used to call the SetSettings function to communicate with the user configuration module on the server side to update the user configuration. 2.一种基于网页的云浏览器实现方法,其特征在于:2. A webpage-based cloud browser implementation method, characterized in that: (1)用户在网页客户端中进行登录或注销,经过服务器的用户验证,返回给用户验证结果;服务器端收到验证请求后,对数据库进行查询,返回给用户查询结果;若查询成功,还要生成服务器端的Session和对应的客户端Cookie;(1) The user logs in or logs out in the web client, and after the user verification by the server, the verification result is returned to the user; after the server receives the verification request, it queries the database and returns the query result to the user; if the query is successful, it returns To generate the server-side Session and the corresponding client-side Cookie; (2)网页客户端包括一些菜单项和一个用于显示网页内容的层,用户在网页客户端中对目标网站发出请求,请求被异步的发送到服务器,方法可以是适用于支持HTML5的浏览器的WebSocket,也可以是适用于不支持HTML5浏览器的AJAX;服务器通过远程代理访问目标网站与插件的加工,替换网页内容中的链接为继续进行代理访问的请求网址,将最后的网页数据传送回客户端中呈现给用户;插件内部包含一个负责处理请求数据的函数和一个负责处理网页数据的函数;云浏览器自带有一些插件,有Cookies同步插件、历史记录插件、网页历史保存插件、NoImage插件;同时开发者也能够为其开发第三方插件;插件与数据库中的数据进行通信;(2) The web client includes some menu items and a layer for displaying web content. The user sends a request to the target website in the web client, and the request is sent to the server asynchronously. The method can be a browser that supports HTML5 WebSocket, or AJAX for browsers that do not support HTML5; the server accesses the target website through a remote proxy and processes the plug-in, replaces the link in the web page content with the request URL for continuing proxy access, and sends the final web page data back Presented to the user in the client; the plug-in contains a function responsible for processing request data and a function responsible for processing web page data; the cloud browser comes with some plug-ins, including Cookies synchronization plug-in, history plug-in, web page history saving plug-in, NoImage Plug-ins; at the same time, developers can also develop third-party plug-ins; plug-ins communicate with data in the database; (3)用户可以在网页客户端中查看或修改用户配置,修改配置的结果将传送回服务器端,经过服务器端处理后存放在数据库中。(3) Users can view or modify user configurations in the web client, and the configuration modification results will be sent back to the server and stored in the database after being processed by the server.
CN201310134243XA 2013-04-17 2013-04-17 A web-based cloud browser Pending CN103268319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310134243XA CN103268319A (en) 2013-04-17 2013-04-17 A web-based cloud browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310134243XA CN103268319A (en) 2013-04-17 2013-04-17 A web-based cloud browser

Publications (1)

Publication Number Publication Date
CN103268319A true CN103268319A (en) 2013-08-28

Family

ID=49011948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310134243XA Pending CN103268319A (en) 2013-04-17 2013-04-17 A web-based cloud browser

Country Status (1)

Country Link
CN (1) CN103268319A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514278A (en) * 2013-09-26 2014-01-15 北京奇虎科技有限公司 Method and device for verifying open type summary information of webpage
CN104021003A (en) * 2014-06-24 2014-09-03 歌尔声学股份有限公司 Method and device for modifying home page of information management system
CN104038536A (en) * 2014-05-23 2014-09-10 小米科技有限责任公司 Plug-in communication method and device
WO2015055073A1 (en) * 2013-10-18 2015-04-23 北京奇虎科技有限公司 Method, apparatus and system for reminding message
CN104615596A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Method for clearing history information and browser
CN105119948A (en) * 2015-06-24 2015-12-02 安一恒通(北京)科技有限公司 Method and device for updating browser icon
CN105450944A (en) * 2015-11-13 2016-03-30 北京自由坊科技有限责任公司 Method and device for synchronously recording and reproducing slides and live presentation speech
CN105487910A (en) * 2016-01-22 2016-04-13 北京世纪龙脉科技有限公司 Browser plugin implementation method, HTTP application server and browser
CN105812406A (en) * 2014-12-29 2016-07-27 北京神州泰岳软件股份有限公司 Information transmission method and device based on WEB simulation terminal system
CN106202455A (en) * 2016-07-14 2016-12-07 星云纵横(北京)大数据信息技术有限公司 A kind of data query system realizing the inquiry of conglomerate data exchange and method
CN107508873A (en) * 2017-08-15 2017-12-22 合肥爱吾宠科技有限公司 The website background system quickly handled
CN108259456A (en) * 2017-09-13 2018-07-06 平安科技(深圳)有限公司 Realize that user exempts from the method, apparatus, equipment, computer storage media logged in
CN109285046A (en) * 2018-08-10 2019-01-29 浙江工业大学 An e-commerce big data collection system based on business plug-in
CN109614158A (en) * 2017-09-30 2019-04-12 北京国双科技有限公司 A kind of call method of plug-in unit, system, storage medium and processor
CN110674436A (en) * 2018-06-15 2020-01-10 视联动力信息技术股份有限公司 Data processing method and device based on browser
CN112486587A (en) * 2020-11-20 2021-03-12 湖南麒麟信安科技股份有限公司 Web browser plug-in based on WebSocket and data interaction method
CN114090398A (en) * 2021-10-29 2022-02-25 珠海大横琴科技发展有限公司 A system alarm method and device
CN114329298A (en) * 2021-12-31 2022-04-12 北京海泰方圆科技股份有限公司 Page presentation method and device, electronic equipment and storage medium
US20230103087A1 (en) * 2021-09-24 2023-03-30 Sap Se Cloud plugin for legacy on-premise application
US11922163B2 (en) 2021-09-24 2024-03-05 Sap Se Cloud version management for legacy on-premise application
US12026496B2 (en) 2021-09-24 2024-07-02 Sap Se Cloud upgrade for legacy on-premise application
US12254020B2 (en) 2021-09-24 2025-03-18 Sap Se Container plugin for legacy on-premise application

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078243A1 (en) * 2009-09-30 2011-03-31 Boopsie, Inc. Leveraging Collaborative Cloud Services to Build and Share Apps
CN102609507A (en) * 2012-02-03 2012-07-25 浙江工业大学 Data visualization system based on Web

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078243A1 (en) * 2009-09-30 2011-03-31 Boopsie, Inc. Leveraging Collaborative Cloud Services to Build and Share Apps
CN102609507A (en) * 2012-02-03 2012-07-25 浙江工业大学 Data visualization system based on Web

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
熊磊: ""基于云存储的Web OS"浏览器的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 2, 15 February 2013 (2013-02-15) *

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514278A (en) * 2013-09-26 2014-01-15 北京奇虎科技有限公司 Method and device for verifying open type summary information of webpage
WO2015055073A1 (en) * 2013-10-18 2015-04-23 北京奇虎科技有限公司 Method, apparatus and system for reminding message
CN104615596A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Method for clearing history information and browser
CN104615596B (en) * 2013-11-04 2019-08-13 腾讯科技(深圳)有限公司 The sweep-out method and browser of history information
CN104038536B (en) * 2014-05-23 2018-07-27 小米科技有限责任公司 Plug-in unit communication means and device
CN104038536A (en) * 2014-05-23 2014-09-10 小米科技有限责任公司 Plug-in communication method and device
CN104021003A (en) * 2014-06-24 2014-09-03 歌尔声学股份有限公司 Method and device for modifying home page of information management system
CN105812406A (en) * 2014-12-29 2016-07-27 北京神州泰岳软件股份有限公司 Information transmission method and device based on WEB simulation terminal system
CN105812406B (en) * 2014-12-29 2019-05-03 北京神州泰岳软件股份有限公司 Information transferring method and device based on WEB emulation terminal system
CN105119948A (en) * 2015-06-24 2015-12-02 安一恒通(北京)科技有限公司 Method and device for updating browser icon
CN105450944A (en) * 2015-11-13 2016-03-30 北京自由坊科技有限责任公司 Method and device for synchronously recording and reproducing slides and live presentation speech
CN105487910A (en) * 2016-01-22 2016-04-13 北京世纪龙脉科技有限公司 Browser plugin implementation method, HTTP application server and browser
CN106202455A (en) * 2016-07-14 2016-12-07 星云纵横(北京)大数据信息技术有限公司 A kind of data query system realizing the inquiry of conglomerate data exchange and method
CN107508873A (en) * 2017-08-15 2017-12-22 合肥爱吾宠科技有限公司 The website background system quickly handled
CN108259456A (en) * 2017-09-13 2018-07-06 平安科技(深圳)有限公司 Realize that user exempts from the method, apparatus, equipment, computer storage media logged in
CN108259456B (en) * 2017-09-13 2020-11-17 平安科技(深圳)有限公司 Method, device, equipment and computer storage medium for realizing user login-free
CN109614158A (en) * 2017-09-30 2019-04-12 北京国双科技有限公司 A kind of call method of plug-in unit, system, storage medium and processor
CN110674436A (en) * 2018-06-15 2020-01-10 视联动力信息技术股份有限公司 Data processing method and device based on browser
CN109285046A (en) * 2018-08-10 2019-01-29 浙江工业大学 An e-commerce big data collection system based on business plug-in
CN112486587A (en) * 2020-11-20 2021-03-12 湖南麒麟信安科技股份有限公司 Web browser plug-in based on WebSocket and data interaction method
US20230103087A1 (en) * 2021-09-24 2023-03-30 Sap Se Cloud plugin for legacy on-premise application
US11841731B2 (en) * 2021-09-24 2023-12-12 Sap Se Cloud plugin for legacy on-premise application
US11922163B2 (en) 2021-09-24 2024-03-05 Sap Se Cloud version management for legacy on-premise application
US12026496B2 (en) 2021-09-24 2024-07-02 Sap Se Cloud upgrade for legacy on-premise application
US12254020B2 (en) 2021-09-24 2025-03-18 Sap Se Container plugin for legacy on-premise application
CN114090398A (en) * 2021-10-29 2022-02-25 珠海大横琴科技发展有限公司 A system alarm method and device
CN114090398B (en) * 2021-10-29 2025-05-06 珠海大横琴科技发展有限公司 A system alarm method and device
CN114329298A (en) * 2021-12-31 2022-04-12 北京海泰方圆科技股份有限公司 Page presentation method and device, electronic equipment and storage medium
CN114329298B (en) * 2021-12-31 2022-11-18 北京海泰方圆科技股份有限公司 Page presentation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103268319A (en) A web-based cloud browser
US20200137196A1 (en) Capturing and replaying application sessions using resource files
US10015226B2 (en) Methods for making AJAX web applications bookmarkable and crawlable and devices thereof
US8868637B2 (en) Page rendering for dynamic web pages
US8793347B2 (en) System and method for providing virtual web access
EP2847686B1 (en) Enhanced document and event mirroring for accessing content
US9875314B2 (en) Content request with HTTP request-header rendering template that is independent of content storage location
TW201723897A (en) Method, device, and system for displaying information associated with a web page
TWI670611B (en) Web file sending method, webpage rendering method and device, webpage rendering system
KR20180090180A (en) Website access method, apparatus, and website system
CN110647699A (en) Web page rendering method, apparatus, computer equipment and storage medium
JP2016146206A (en) Remote browsing session management
US11436066B2 (en) System for offline object based storage and mocking of rest responses
US9350738B2 (en) Template representation of security resources
US20130253904A1 (en) Client Specific Interactions with Enterprise Software Systems
AU2015413329A1 (en) Time-dependent machine-generated hinting
CN112764746B (en) Data processing method, device, electronic equipment and storage medium
WO2015058614A1 (en) Bookmark storage method and device, and method and device for determining bookmark to be browsed
US11770437B1 (en) Techniques for integrating server-side and client-side rendered content
CN115795199A (en) Page loading method and device, nonvolatile storage medium and electronic equipment
Chen et al. Design of Rich Client Web Architecture Based on HTML5
CN113934953B (en) Web page first screen rendering method and device
Ünlü Energy Efficient Mobile Web via Scripts&Stylesheets Based Transcoding
Ahmed Transcoding Web Pages For Energy Saving On the Client-Side
US10909209B2 (en) Dynamic insertion of content into webpages

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20170503