CN104615700A - Method for collecting webpage objects in browser, browser client side and system - Google Patents
Method for collecting webpage objects in browser, browser client side and system Download PDFInfo
- Publication number
- CN104615700A CN104615700A CN201510041145.0A CN201510041145A CN104615700A CN 104615700 A CN104615700 A CN 104615700A CN 201510041145 A CN201510041145 A CN 201510041145A CN 104615700 A CN104615700 A CN 104615700A
- Authority
- CN
- China
- Prior art keywords
- video
- url
- webpage
- cloud disk
- user
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9562—Bookmark management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种浏览器中收藏网页对象的方法、浏览器客户端和带有浏览器客户端的系统,涉及互联网技术领域。所述方法包括:触发对当前网页的云盘服务器收藏指令;解析所述网页的网页内容,获得网页内容中的各指定对象;将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。由此解决了用户对浏览器的网页中的内容存储至云盘服务器的操作过程繁琐的问题,取得了减少用户对浏览器的网页中的内容存储至云盘服务器的操作过程、并且避免了上传过程占用客户端网络带宽的有益效果。
The invention discloses a method for storing webpage objects in a browser, a browser client and a system with the browser client, and relates to the technical field of the Internet. The method includes: triggering a cloud disk server collection instruction for the current webpage; parsing the webpage content of the webpage to obtain each designated object in the webpage content; sending each designated object to the cloud disk server, and setting account information is stored. This solves the cumbersome problem of the user's operation process of storing the content in the browser's webpage to the cloud disk server, reduces the user's operation process of storing the content in the browser's webpage to the cloud disk server, and avoids uploading The process has the beneficial effect of consuming the client's network bandwidth.
Description
技术领域technical field
本发明涉及互联网技术领域,具体涉及一种浏览器中收藏网页对象的方法、一种浏览器客户端和一种带有浏览器客户端的系统。The invention relates to the technical field of the Internet, in particular to a method for collecting web page objects in a browser, a browser client and a system with the browser client.
背景技术Background technique
浏览器是指可以显示网页服务器或者文件系统的HTML(超文本标记语言,HyperText Mark-up Language))文件内容,并让用户与这些文件交互的一种软件。网页浏览器主要通过HTTP协议与网页服务器交互并获取网页,这些网页由URL(统一资源定位符,Uniform Resource Locator)指定,文件格式通常为HTML。一个网页中可以包括多个文档,每个文档都是分别从服务器获取的。HTTP内容类型和URL协议规范允许网页设计者在网页中嵌入图片、视频等。A browser refers to a software that can display the content of HTML (HyperText Mark-up Language, HyperText Mark-up Language)) files on a web server or file system, and allows users to interact with these files. The web browser mainly interacts with the web server through the HTTP protocol to obtain web pages. These web pages are specified by a URL (Uniform Resource Locator, Uniform Resource Locator), and the file format is usually HTML. A web page may include multiple documents, and each document is obtained from the server separately. The HTTP content type and URL protocol specifications allow web page designers to embed pictures, videos, etc. in web pages.
而在互联网中还有很多应用功能,比如云盘服务器,即用户可以在云盘服务器注册一个账户,然后可以将本地的文件发送至云盘服务器,以该账户进行存储。但是目前的云盘服务器的存储功能都需要用户将文件存储到客户端本地,然后再进入该账户的云盘文件夹界面,在云盘文件夹中点击上传按钮,然后选择需要存储文件的路径,点击确定进行上传过程。但是上述过程中,用户的操作步骤繁琐,特别是对于用户在通过浏览器访问网页的过程中,如果需要将网页中的内容上传至云盘中时,需要先将其下载至本地,然后再进行上传,其操作过程更加繁琐。And there are many application functions in the Internet, such as cloud disk server, that is, users can register an account on the cloud disk server, and then can send local files to the cloud disk server, and store them with this account. However, the storage function of the current cloud disk server requires the user to store the file locally on the client, and then enter the cloud disk folder interface of the account, click the upload button in the cloud disk folder, and then select the path where the file needs to be stored. Click OK to proceed with the upload process. However, in the above process, the user's operation steps are cumbersome, especially for the user in the process of accessing the webpage through the browser, if the content in the webpage needs to be uploaded to the cloud disk, it needs to be downloaded to the local first, and then Uploading, the operation process is more cumbersome.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的浏览器客户端和相应的浏览器中收藏网页对象的方法。In view of the above problems, the present invention is proposed to provide a browser client and a corresponding method for storing webpage objects in the browser, which overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种浏览器中收藏网页对象的方法,包括:According to one aspect of the present invention, a method for collecting webpage objects in a browser is provided, including:
触发对当前网页的云盘服务器收藏指令;Trigger the cloud disk server collection command for the current web page;
解析所述网页的网页内容,获得网页内容中的各指定对象;Analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Send the specified objects to the cloud disk server, and store them with the account information set by the user.
优选地,所述解析所述网页的网页内容,获得网页内容中的各指定对象之后,还包括:Preferably, after parsing the webpage content of the webpage and obtaining each specified object in the webpage content, it further includes:
针对所述各指定对象生成提示列表;generating a prompt list for each specified object;
在所述提示列表中,接收用户对需要存储的指定对象的选择操作;In the prompt list, receiving the user's selection operation on the specified object to be stored;
根据所述选择操作,确定需要发送至云盘服务器的各指定对象。According to the selection operation, each specified object that needs to be sent to the cloud disk server is determined.
优选地,所述解析所述网页的网页内容,获得网页内容中的各指定对象包括:Preferably, said parsing the webpage content of said webpage to obtain each specified object in the webpage content includes:
解析所述网页的超文本标记语言文档获得的文件对象模型树;A document object model tree obtained by parsing the hypertext markup language document of the webpage;
从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。The image elements, and/or video elements, and/or audio elements in the webpage content are obtained from the document object model tree.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。For the picture element, the second URL corresponding to the picture element is obtained and sent to the cloud disk server, and stored with the account information set by the user.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
对于视频元素,将当前网页的第一网址传送至云盘服务器;所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。For the video element, the first URL of the current web page is sent to the cloud disk server; the cloud disk server parses the third URL of the video element through the first URL, so as to obtain the video through the third URL for storage.
优选地,所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储包括:Preferably, the cloud disk server parses the third URL of the video element through the first URL, and obtaining the video through the third URL for storage includes:
模拟移动终端访问所述第一网址,获取超文本标记语言文档;simulating a mobile terminal to access the first website to obtain a hypertext markup language document;
解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。Parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
优选地,所述模拟移动终端访问所述第一网址,获取超文本标记语言文档,包括:Preferably, the simulated mobile terminal accesses the first website to obtain HTML documents, including:
针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;Generate a hypertext transfer protocol request for the first website, and modify the user type field in the hypertext transfer protocol request to be a mobile terminal;
将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Send the hypertext transfer protocol request with the modified user type field to the server corresponding to the first URL to obtain the hypertext markup language document.
优选地,所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储包括:Preferably, the cloud disk server parses the third URL of the video element through the first URL, and obtaining the video through the third URL for storage includes:
调用视频地址解析API通过所述第一网址解析视频的真实的第三网址。Calling the video address resolution API to resolve the real third URL of the video through the first URL.
优选地,所述调用视频地址解析API通过所述第一网址解析视频的真实的第三网址,包括:Preferably, said calling the video address resolution API through said first URL to resolve the real third URL of the video, including:
向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;Requesting the playlist information of the video to the first server; the first server returns a JSON object according to the request;
根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;Obtain the key field value, sid field value, and fileId field value of the third URL according to each field value in the JSON object;
根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。A third URL is obtained according to the combination of the key field value, sid field value, and fileId field value.
依据本发明的另外一个方面,本发明还公开了一种浏览器客户端,包括:According to another aspect of the present invention, the present invention also discloses a browser client, including:
收藏触发组件,适于触发对当前网页的云盘服务器收藏指令;The collection trigger component is suitable for triggering the collection command of the cloud disk server for the current web page;
对象解析组件,适于解析所述网页的网页内容,获得网页内容中的各指定对象;an object parsing component, adapted to parse the webpage content of the webpage, and obtain each specified object in the webpage content;
对象存储组件,适于将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。The object storage component is adapted to send the specified objects to the cloud disk server, and store them with the account information set by the user.
优选地,所述对象解析组件之后,还包括:Preferably, after the object parsing component, it also includes:
列表生成组件,适于针对所述各指定对象生成提示列表;A list generation component, adapted to generate a prompt list for each specified object;
选择接收组件,适于在所述提示列表中,接收用户对需要存储的指定对象的选择操作;The selection receiving component is adapted to receive the user's selection operation on the specified object to be stored in the prompt list;
对象确定组件,适于根据所述选择操作,确定需要发送至云盘服务器的各指定对象。The object determining component is adapted to determine each specified object that needs to be sent to the cloud disk server according to the selection operation.
优选地,所述对象解析组件包括:Preferably, the object parsing component includes:
文件对象模型树解析模组,适于解析所述网页的超文本标记语言文档获得的文件对象模型树;A document object model tree parsing module, adapted to analyze the document object model tree obtained from the hypertext markup language document of the webpage;
元素获取模组,适于从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。The element obtaining module is adapted to obtain image elements, and/or video elements, and/or audio elements in the webpage content from the file object model tree.
优选地,所述对象存储组件包括:Preferably, the object storage component includes:
图片存储模组,适于对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。The picture storage module is adapted to acquire the second URL corresponding to the picture element and send it to the cloud disk server for the picture element, and store it with the account information set by the user.
优选地,所述对象存储组件包括:Preferably, the object storage component includes:
视频存储模组,适于对于视频元素,将当前网页的第一网址传送至云盘服务器;其中,所述云盘服务器包括:第三网址转换解析模组,适于通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。The video storage module is adapted to transmit the first website address of the current web page to the cloud disk server for the video element; wherein, the cloud disk server includes: a third website address conversion analysis module, which is suitable for analyzing through the first website address The third URL of the video element, so as to obtain and store the video through the third URL.
优选地,所述第三网址转换解析模组包括:Preferably, the third URL conversion analysis module includes:
模拟访问模组,适于模拟移动终端访问所述第一网址,获取超文本标记语言文档;The simulated access module is suitable for simulating the mobile terminal to access the first website to obtain the hypertext markup language document;
标签解析模组,适于解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。The tag parsing module is suitable for parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
优选地,所述模拟访问模组包括:Preferably, the simulated access module includes:
请求更改模组,适于针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;A request modification module, adapted to generate a hypertext transfer protocol request for the first URL, and modify the user type field in the hypertext transfer protocol request to be a mobile terminal;
将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Send the hypertext transfer protocol request with the modified user type field to the server corresponding to the first URL to obtain the hypertext markup language document.
优选地,所述第三网址转换解析模组包括:Preferably, the third URL conversion analysis module includes:
函数调用模组,适于调用视频地址解析API函数通过所述第一网址解析视频的真实的第三网址。The function calling module is suitable for calling the video address resolution API function to resolve the real third URL of the video through the first URL.
优选地,所述函数调用模组包括:Preferably, the function call module includes:
JSON对象获取模组,适于向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;The JSON object acquisition module is adapted to request the playlist information of the video from the first server; the first server returns the JSON object according to the request;
字段获取模块,适于根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;A field obtaining module, adapted to obtain the key field value, sid field value, and fileId field value of the third URL according to each field value in the JSON object;
第三网址生成模组,适于根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。The third website generating module is adapted to obtain a third website according to the combination of the key field value, sid field value, and fileId field value.
依据本发明的另外一个方面,本发明还公开了一种带有浏览器客户端的系统,包括:According to another aspect of the present invention, the present invention also discloses a system with a browser client, comprising:
处理器,以及加载有多条可执行指令的存储器,所述多条指令包括执行以下步骤的方法:A processor, and a memory loaded with a plurality of executable instructions including means for performing the steps of:
触发对当前网页的云盘服务器收藏指令;Trigger the cloud disk server collection command for the current web page;
解析所述网页的网页内容,获得网页内容中的各指定对象;Analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Send the specified objects to the cloud disk server, and store them with the account information set by the user.
根据本发明的浏览器中收藏网页对象的方法可以在用户使用浏览器访问网页的过程中,如果用户需要将网页中的内容上传至云盘服务器中时,可以主动触发对当前网页的云盘服务器收藏指令,然后浏览器自动解析所述网页的网页内容,获得网页内容中的各指定对象,将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储,由此解决了用户对浏览器的网页中的内容存储至云盘服务器的操作过程繁琐的问题,取得了减少用户对浏览器的网页中的内容存储至云盘服务器的操作过程、并且避免了上传过程占用客户端网络带宽的有益效果。According to the method for storing webpage objects in the browser of the present invention, when the user needs to upload the content in the webpage to the cloud disk server during the process of the user accessing the webpage with the browser, the cloud disk server for the current webpage can be actively triggered bookmark command, then the browser automatically parses the webpage content of the webpage, obtains each specified object in the webpage content, sends the specified objects to the cloud disk server, and stores them with the account information set by the user, thereby solving the problem of It solves the cumbersome operation process for users to store the content in the browser's webpage to the cloud disk server, reduces the user's operation process for storing the content in the browser's webpage to the cloud disk server, and avoids the upload process occupying the client The beneficial effect of end network bandwidth.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了根据本发明一个实施例的一种浏览器中收藏网页对象的方法的流程示意图;FIG. 1 shows a schematic flow diagram of a method for collecting webpage objects in a browser according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的一种浏览器中收藏网页对象的方法的流程示意图;FIG. 2 shows a schematic flowchart of a method for collecting webpage objects in a browser according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的一种浏览器客户端的结构示意图;Fig. 3 shows a schematic structural diagram of a browser client according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的一种浏览器客户端的结构示意图;Fig. 4 shows a schematic structural diagram of a browser client according to an embodiment of the present invention;
图5示出了根据本发明一个实施例的浏览器中收藏网页对象的系统的结构示意图;FIG. 5 shows a schematic structural diagram of a system for collecting web page objects in a browser according to an embodiment of the present invention;
图6示出了根据本发明一个实施例的一种带有浏览器客户端的系统的结构示意图。Fig. 6 shows a schematic structural diagram of a system with a browser client according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
实施例一Embodiment one
参照图1,其示出了本发明一种浏览器中收藏网页对象的方法的流程示意图,包括:Referring to Fig. 1, it shows a schematic flow chart of a method for collecting web page objects in a browser of the present invention, including:
步骤110,触发对当前网页的云盘服务器收藏指令;Step 110, triggering the cloud disk server collection instruction for the current web page;
在本发明实施例中,用户可以通过浏览器访问网页,当需要对某个网页中的指定对象,比如图片、视频等存储到其指定的云盘服务器账户中时,可以点击浏览器工具栏中的收藏到云盘的按钮,触发对当前网页的云盘服务器收藏指令,即本发明可以预先在浏览器工具栏中添加收藏到云盘的按钮,以接收用户对当前网页的云盘服务器收藏指令。当然,也可以通过点击鼠标右键菜单的中的收藏到云盘的按钮形式,触发对当前网页的云盘服务器收藏指令,即本发明实施例可以预先向鼠标右键菜单添加收藏到云盘的按钮,以接收用户对当前网页的云盘服务器收藏指令。In the embodiment of the present invention, the user can access the webpage through a browser. When it is necessary to store a specified object in a certain webpage, such as a picture, video, etc., in its designated cloud disk server account, the user can click the The button of collecting to the cloud disk triggers the cloud disk server collection instruction for the current webpage, that is, the present invention can add the button of collecting to the cloud disk in the browser toolbar in advance to receive the user's collection instruction for the cloud disk server of the current webpage . Of course, it is also possible to trigger the collection command of the cloud disk server for the current web page by clicking the button form of the button of the right mouse button menu, that is, the embodiment of the present invention can add the button of adding the button of the cloud disk to the right mouse button menu in advance, To receive the user's instruction to save the current web page on the cloud disk server.
在本发明实施例中,在本发明用于触发对当前网页的云盘服务器收藏指令的按钮以及后续的执行逻辑可以以扩展或者插件的形式添加到浏览器中。In the embodiment of the present invention, the button used in the present invention to trigger the cloud disk server collection instruction for the current web page and the subsequent execution logic can be added to the browser in the form of extension or plug-in.
当然,在本发明实施例中,用户使用浏览器时可以通过浏览器账户信息进行登录,而本发明实施例的云盘服务器的账户信息与浏览器服务器的浏览器账户信息相同。当触发对当前网页的云盘服务器收藏指令后,本发明实施例会判断用户是否登录浏览器账户信息,如果用户未登录其浏览器账户信息,则提示用户进行登录,如果用户已登录浏览器账户信息,则直接进行后续过程。Of course, in the embodiment of the present invention, the user can log in through the browser account information when using the browser, and the account information of the cloud disk server in the embodiment of the present invention is the same as the browser account information of the browser server. When the cloud disk server collection command for the current webpage is triggered, the embodiment of the present invention will judge whether the user has logged in the browser account information, if the user has not logged in the browser account information, the user will be prompted to log in, if the user has logged in the browser account information , proceed directly to the subsequent process.
另外,云盘服务器的账户信息也可以与浏览器账户信息不同,当用户在浏览器中触发对当前网页的云盘服务器收藏指令后,浏览器可判断当前是否记录了用户的云盘服务器的账户信息,如果没有记录,则提示用户输入云盘服务器的账户信息,当用户输入了云盘服务器的账户信息后,直接进入后续步骤;如果记录了用户的云盘服务器的账户信息,直接进入后续步骤。In addition, the account information of the cloud disk server can also be different from the account information of the browser. When the user triggers the cloud disk server collection command for the current web page in the browser, the browser can determine whether the account of the user's cloud disk server is currently recorded. Information, if there is no record, prompt the user to enter the account information of the cloud disk server. After the user enters the account information of the cloud disk server, directly enter the next step; if the account information of the user's cloud disk server is recorded, directly enter the next step .
步骤120,解析所述网页的网页内容,获得网页内容中的各指定对象;Step 120, analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
在接收到对当前网页的云盘服务器收藏指令之后,浏览器即可解析所述网页的网页内容,获取网页内容的各指定对象,比如所述网页本身的网址,比如网页中展示的图片,网页中播放的视频,网页中正文部分的文档等。After receiving the cloud disk server collection instruction for the current webpage, the browser can parse the webpage content of the webpage and obtain each specified object of the webpage content, such as the URL of the webpage itself, such as the pictures displayed in the webpage, the webpage Videos played in , documents in the body part of web pages, etc.
在本发明实施例中,对于指定对象,比如图片,可能存在广告的图片,导航的图片等用户基本上不关注的图片,本发明实施例可以对广告信息、导航信息等用户关注度低的信息进行过滤,只解析正文部分中的指定对象。In the embodiment of the present invention, for the specified object, such as pictures, there may be pictures of advertisements, pictures of navigation and other pictures that the user basically does not pay attention to, the embodiment of the present invention can focus on the information that the user pays little attention to, such as advertisement information and navigation information. Filter to only parse specified objects in the body section.
步骤130,将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Step 130, sending the specified objects to the cloud disk server, and storing them with the account information set by the user.
在得到前述指定对象之后,即可将所述指定对象发送至云盘服务器中,可以用户在云盘服务器中设定的账户信息进行存储。After obtaining the aforementioned specified object, the specified object can be sent to the cloud disk server, and can be stored with the account information set by the user in the cloud disk server.
如前所述,本发明实施例中,用户设定的账户信息可以为浏览器账户信息,而云盘服务器的账户系统与浏览器的账户系统是打通的,用户可以直接以浏览器账户信息登录云盘服务器进行存储。比如浏览器账户信息的“用户名xxx,密码123”,当用户以该浏览器账户信息登录浏览器的服务器后,浏览器即可获取当前“用户名xxx,密码123”,那么本步骤在将所述各指定对象发送至云盘服务器时,可以同时将浏览器账户信息,如前述“用户名xxx,密码123”,发送至云盘服务器,云盘服务器根据所述浏览器账户信息,将所述指定对象存储在所述浏览器账户信息的相关路径下。As mentioned above, in the embodiment of the present invention, the account information set by the user can be the browser account information, and the account system of the cloud disk server is connected with the account system of the browser, and the user can directly log in with the browser account information Cloud disk server for storage. For example, "username xxx, password 123" of the browser account information, when the user logs in to the server of the browser with the browser account information, the browser can obtain the current "username xxx, password 123", then this step will When the specified objects are sent to the cloud disk server, the browser account information, such as the aforementioned "username xxx, password 123", can be sent to the cloud disk server at the same time, and the cloud disk server will send the browser account information according to the browser account information. The specified object is stored under the relevant path of the browser account information.
当然对于浏览器账户信息与云盘服务器的账户信息不同的情况,则将前述记录的云盘服务器的账户信息与指定对象一起发送至云盘服务器,云盘服务器根据所述云盘服务器的账户信息,将所述指定对象存储在所述浏览器账户信息的相关路径下。Of course, if the account information of the browser is different from the account information of the cloud disk server, the account information of the cloud disk server recorded above will be sent to the cloud disk server together with the designated object, and the cloud disk server will , storing the specified object under the relevant path of the browser account information.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
子步骤131,对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。Sub-step 131, for the picture element, obtain the second URL corresponding to the picture element and send it to the cloud disk server, and store it with the account information set by the user.
在本发明实施例中,对于图片元素,其本是以网址的形式从相应的服务器中获取具体的图片下载到客户端进行展示。而本发明实施例,在将图片存储至云盘服务器时,浏览器客户端不用从本地在上传真实的图片到云盘服务器,而是从DOM树的图片元素中获取图片的URL(Uniform ResourceLocator,统一资源定位符),然后将该URL上传至云盘服务器。由于URL只是一段文本类型的数据,其数据量极小,对于客户端来说,其占用的客户端的带宽也很小,一般只有几k大小,同时对于客户端来说,其将URL上传至云盘服务器即可认为上传成功,由于传输的数据量小,上传速度快,对于用户来说基本上感觉不到等待上传成功的延迟时间。In the embodiment of the present invention, for the picture element, the specific picture is originally obtained from the corresponding server in the form of a URL and downloaded to the client for display. However, in the embodiment of the present invention, when the picture is stored in the cloud disk server, the browser client does not need to upload the real picture to the cloud disk server locally, but obtains the URL (Uniform ResourceLocator, Uniform ResourceLocator, etc.) of the picture from the picture element of the DOM tree Uniform Resource Locator), and then upload the URL to the cloud disk server. Since the URL is just a piece of text data, the amount of data is extremely small. For the client, the bandwidth occupied by the client is also very small, generally only a few kilobytes in size. At the same time, for the client, it uploads the URL to the cloud. The disk server can consider the upload to be successful. Due to the small amount of transmitted data and the fast upload speed, the user basically does not feel the delay in waiting for the upload to succeed.
云盘服务器根据所述URL,则可以只存储所述URL,也可以根据所述URL从服务器获取相应的图片进行存储。According to the URL, the cloud disk server may only store the URL, or obtain a corresponding picture from the server according to the URL for storage.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
子步骤132,对于视频元素,将当前网页的第一网址传送至云盘服务器;所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。Sub-step 132, for the video element, the first URL of the current web page is sent to the cloud disk server; the cloud disk server parses the third URL of the video element through the first URL, so as to obtain the URL through the third URL The video is stored.
在本发明实施例中,对于视频元素,其本也是以网址的形式从相应的服务器中获取具体的视频内容在客户端进行展示。In the embodiment of the present invention, for the video element, the specific video content is acquired from the corresponding server in the form of a URL and displayed on the client.
而在实际中,视频的实际网址比较难以获取,如果在浏览器客户端中获取实际网址则计算量相当大,那么本发明则在判断用户将视频元素上传至云盘服务器后,则将当前网页的第一网址,即当前展示的网页的URL上传到云盘服务器,由云盘服务器根据第一网址,获取视频元素的第三网址,所述第三网址为视频元素的真实网址,然后云盘服务器则可通过所述真实网址获取视频进行存储。However, in practice, it is difficult to obtain the actual URL of the video. If the actual URL is obtained in the browser client, the amount of calculation will be quite large. Then the present invention will upload the current webpage to the cloud disk server after judging that the user has uploaded the video element The first URL of the webpage, that is, the URL of the currently displayed webpage is uploaded to the cloud disk server, and the cloud disk server obtains the third URL of the video element according to the first URL, and the third URL is the real URL of the video element, and then the cloud disk The server can obtain and store the video through the real URL.
上述过程中,由于当前URL只是一段文本类型的数据,其数据量极小,对于客户端来说,其占用的客户端的带宽也很小,一般只有几k大小,同时对于客户端来说,其将URL上传至云盘服务器即可认为上传成功,由于传输的数据量小,尤其是相对于视频基本上是几十M甚至几个G大小的视频,其上传速度更快,对于用户来说基本上感觉不到等待视频上传成功的延迟时间。In the above process, since the current URL is only a piece of text data, its data volume is extremely small. For the client, the bandwidth occupied by the client is also very small, generally only a few kilobytes in size. At the same time, for the client, other Uploading the URL to the cloud disk server can be considered as a successful upload. Due to the small amount of data transmitted, especially compared to videos that are basically tens of M or even several G in size, the upload speed is faster, which is basically for users. There is no perceivable delay in waiting for the video to upload successfully.
另外,对于音频元素,其与视频元素类似,也可以将当前网页的第一网址上传至云盘服务器,云盘服务器根据所述第一网址解析音频元素的第四网址,即解析音频元素的真实网址,然后根据该真实网址获取音频进行存储。In addition, for the audio element, similar to the video element, the first URL of the current web page can also be uploaded to the cloud disk server, and the cloud disk server can analyze the fourth URL of the audio element according to the first URL, that is, analyze the real URL of the audio element. URL, and then obtain the audio according to the real URL for storage.
另外,云盘服务器在根据视频元素或者音频元素的真实网址获取具体的视频或者音频时,可预先判断云盘服务器本地是否存储有相同的视频或者音频,如果有,则将相应的存储路径记录在用户账户下,如果没有,才会获取具体的视频或者音频进行存储。如此,对于同一个指定对象,可以在云盘服务器只存储一份,各个用户共享该存储,节省了云盘服务器的存储空间,并且提高了存储效率。In addition, when the cloud disk server obtains a specific video or audio according to the real URL of the video element or audio element, it can pre-judge whether the same video or audio is stored locally on the cloud disk server, and if so, record the corresponding storage path in Under the user account, if not, the specific video or audio will be obtained for storage. In this way, for the same specified object, only one copy can be stored in the cloud disk server, and each user can share the storage, which saves the storage space of the cloud disk server and improves storage efficiency.
本发明实施例可以在用户使用浏览器访问网页的过程中,如果用户需要将网页中的内容上传至云盘服务器中时,可以主动触发对当前网页的云盘服务器收藏指令,然后浏览器自动解析所述网页的网页内容,获得网页内容中的各指定对象,将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储,由此解决了用户对浏览器的网页中的内容存储至云盘服务器的操作过程繁琐的问题,取得了减少用户对浏览器的网页中的内容存储至云盘服务器的操作过程。In the embodiment of the present invention, when the user needs to upload the content of the webpage to the cloud disk server during the process of the user accessing the webpage with the browser, the cloud disk server collection instruction for the current webpage can be actively triggered, and then the browser automatically parses the content. The webpage content of the webpage obtains each specified object in the webpage content, sends the specified objects to the cloud disk server, and stores them with the account information set by the user. The problem of the cumbersome operation process of storing the content in the cloud disk server has been solved, and the operation process of saving the content in the web page of the browser to the cloud disk server for the user has been reduced.
实施例二Embodiment two
参照图2,其示出了本发明一种浏览器中收藏网页对象的方法的流程示意图,包括:Referring to Fig. 2, it shows a schematic flow chart of a method for storing webpage objects in a browser of the present invention, including:
步骤210,触发对当前网页的云盘服务器收藏指令;Step 210, triggering the cloud disk server collection instruction for the current web page;
步骤220,解析所述网页的网页内容,获得网页内容中的各指定对象;Step 220, analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
优选地,所述解析所述网页的网页内容,获得网页内容中的各指定对象包括:Preferably, said parsing the webpage content of said webpage to obtain each specified object in the webpage content includes:
子步骤221,解析所述网页的超文本标记语言文档获得的文件对象模型树;Sub-step 221, parsing the document object model tree obtained from the hypertext markup language document of the webpage;
在互联网中,浏览器一般是通过HTTP协议访问web服务器,从web服务器获取HTML(Hypertext Markup Language,超文本标记语言)文档,以进行解析和渲染。On the Internet, a browser generally accesses a web server through the HTTP protocol, and obtains an HTML (Hypertext Markup Language, Hypertext Markup Language) document from the web server for parsing and rendering.
那么本发明则对网页的HTML文档进行解析,得到DOM(DocumentObject Model,文件对象模型)树,在网页中具体显示的各种内容都在DOM树中的某个DOM节点中。Then the present invention parses the HTML document of the webpage to obtain a DOM (DocumentObject Model, Document Object Model) tree, and various contents specifically displayed in the webpage are all in a certain DOM node in the DOM tree.
子步骤222,从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。In sub-step 222, image elements, and/or video elements, and/or audio elements in the webpage content are obtained from the document object model tree.
然后本发明则可以从DOM树中解析其DOM节点,比如图片元素节点、视频元素节点等。本发明可以通过解析DOM树中的HTML标签去获取指定对象,比如当判断到<img>标签,则可在该DOM节点中获取图片元素,当判断到<video>标签,则可在该DOM节点获取视频元素,还比如通过<embed>、<object>标签以及各自标签中的视频词汇比如video判断视频元素,从而可获取视频元素。当然,也可通过判断<audio>标签,获取对应DOM节点下的音频元素,还比如通过<embed>、<object>标签以及各自标签中的音频词汇比如audio判断视频元素,从而可获取音频元素。Then the present invention can parse its DOM nodes from the DOM tree, such as picture element nodes, video element nodes, and the like. The present invention can obtain the specified object by parsing the HTML tags in the DOM tree. For example, when the <img> tag is judged, the picture element can be obtained in the DOM node, and when the <video> tag is judged, the image element can be obtained in the DOM node Obtain video elements, such as judging video elements through <embed>, <object> tags and video vocabulary in their respective tags, such as video, so as to obtain video elements. Of course, the audio element under the corresponding DOM node can also be obtained by judging the <audio> tag. For example, the audio element can be obtained by judging the video element through the <embed>, <object> tags and the audio words such as audio in the respective tags.
步骤230,针对所述各指定对象生成提示列表;Step 230, generating a reminder list for each designated object;
在获取到各种指定元素后,可基于各种指定元素生成提示列表。比如对于图片元素,可以提取各图片元素的缩略图,放入提示列表中;又比如对于视频元素,提取视频元素的主题名称以及格式放入提示列表,比如甄嬛传第三十一集.rmvb;比如音频,提取音频元素的主题名称放入提示列表,比如歌曲“匆匆那年.mp3”。After obtaining various specified elements, a prompt list may be generated based on various specified elements. For example, for image elements, you can extract the thumbnails of each image element and put them in the reminder list; for video elements, you can extract the subject name and format of the video elements and put them in the reminder list, such as Zhen Huan's 31st episode.rmvb; Such as audio, extract the subject name of the audio element and put it into the prompt list, such as the song "The Year in a Hurry.mp3".
步骤240,在所述提示列表中,接收用户对需要存储的指定对象的选择操作;Step 240, in the prompt list, receive the user's selection operation on the specified object to be stored;
步骤250,根据所述选择操作,确定需要发送至云盘服务器的各指定对象;Step 250, according to the selection operation, determine each specified object that needs to be sent to the cloud disk server;
在上述提示列表针对每个指定对象都设置一个勾选项,当用户勾选需要存储的指定对象,然后点击确定按钮之后,即将用户所选择的指定对象进入步骤260的处理过程。A tick option is set for each specified object in the above prompt list. When the user checks the specified object to be stored and then clicks the OK button, the specified object selected by the user will enter the process of step 260 .
步骤260,将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Step 260, sending the specified objects to the cloud disk server, and storing them with the account information set by the user.
在得到前述指定对象之后,即可将所述指定对象发送至云盘服务器中,可以用户在云盘服务器中设定的账户信息进行存储。After obtaining the aforementioned specified object, the specified object can be sent to the cloud disk server, and can be stored with the account information set by the user in the cloud disk server.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
子步骤261,对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。Sub-step 261, for the picture element, obtain the second URL corresponding to the picture element and send it to the cloud disk server, and store it with the account information set by the user.
在本发明实施例中,对于图片元素,其本是以网址的形式从相应的服务器中获取具体的图片下载到客户端进行展示。而本发明实施例,在将图片存储至云盘服务器时,浏览器客户端不用从本地在上传真实的图片到云盘服务器,而是从DOM树的图片元素中获取图片的URL(Uniform ResourceLocator,统一资源定位符),然后将该URL上传至云盘服务器。由于URL只是一段文本类型的数据,其数据量极小,对于客户端来说,其占用的客户端的带宽也很小,一般只有几k大小,同时对于客户端来说,其将URL上传至云盘服务器即可认为上传成功,由于传输的数据量小,上传速度快,对于用户来说基本上感觉不到等待上传成功的延迟时间。In the embodiment of the present invention, for the picture element, the specific picture is originally obtained from the corresponding server in the form of a URL and downloaded to the client for display. However, in the embodiment of the present invention, when the picture is stored in the cloud disk server, the browser client does not need to upload the real picture to the cloud disk server locally, but obtains the URL (Uniform ResourceLocator, Uniform ResourceLocator, etc.) of the picture from the picture element of the DOM tree Uniform Resource Locator), and then upload the URL to the cloud disk server. Since the URL is just a piece of text data, the amount of data is extremely small. For the client, the bandwidth occupied by the client is also very small, generally only a few kilobytes in size. At the same time, for the client, it uploads the URL to the cloud. The disk server can consider the upload to be successful. Due to the small amount of transmitted data and the fast upload speed, the user basically does not feel the delay in waiting for the upload to succeed.
云盘服务器根据所述URL,则可以只存储所述URL,也可以根据所述URL从服务器获取相应的图片进行存储。According to the URL, the cloud disk server may only store the URL, or obtain a corresponding picture from the server according to the URL for storage.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
子步骤262,对于视频元素,将当前网页的第一网址传送至云盘服务器;所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。Sub-step 262, for the video element, the first URL of the current web page is sent to the cloud disk server; the cloud disk server parses the third URL of the video element through the first URL to obtain the The video is stored.
在本发明实施例中,对于视频元素,其本也是以网址的形式从相应的服务器中获取具体的视频内容在客户端进行展示。In the embodiment of the present invention, for the video element, the specific video content is acquired from the corresponding server in the form of a URL and displayed on the client.
而在实际中,视频的实际网址比较难以获取,如果在浏览器客户端中获取实际网址则计算量相当大,那么本发明则在判断用户将视频元素上传至云盘服务器后,则将当前网页的第一网址,即当前展示的网页的URL上传到云盘服务器,由云盘服务器根据第一网址,获取视频元素的第三网址,所述第三网址为视频元素的真实网址,然后云盘服务器则可通过所述真实网址获取视频进行存储。However, in practice, it is difficult to obtain the actual URL of the video. If the actual URL is obtained in the browser client, the amount of calculation will be quite large. Then the present invention will upload the current webpage to the cloud disk server after judging that the user has uploaded the video element The first URL of the webpage, that is, the URL of the currently displayed webpage is uploaded to the cloud disk server, and the cloud disk server obtains the third URL of the video element according to the first URL, and the third URL is the real URL of the video element, and then the cloud disk The server can obtain and store the video through the real URL.
上述过程中,由于当前URL只是一段文本类型的数据,其数据量极小,对于客户端来说,其占用的客户端的带宽也很小,一般只有几k大小,同时对于客户端来说,其将URL上传至云盘服务器即可认为上传成功,由于传输的数据量小,尤其是相对于视频基本上是几十M甚至几个G大小的视频,其上传速度更快,对于用户来说基本上感觉不到等待视频上传成功的延迟时间。In the above process, since the current URL is only a piece of text data, its data volume is extremely small. For the client, the bandwidth occupied by the client is also very small, generally only a few kilobytes in size. At the same time, for the client, other Uploading the URL to the cloud disk server can be considered as a successful upload. Due to the small amount of data transmitted, especially compared to videos that are basically tens of M or even several G in size, the upload speed is faster, which is basically for users. There is no perceivable delay in waiting for the video to upload successfully.
另外,对于音频元素,其与视频元素类似,也可以将当前网页的第一网址上传至云盘服务器,云盘服务器根据所述第一网址解析音频元素的第四网址,即解析音频元素的真实网址,然后根据该真实网址获取音频进行存储。In addition, for the audio element, similar to the video element, the first URL of the current web page can also be uploaded to the cloud disk server, and the cloud disk server can analyze the fourth URL of the audio element according to the first URL, that is, analyze the real URL of the audio element. URL, and then obtain the audio according to the real URL for storage.
另外,云盘服务器在根据视频元素或者音频元素的真实网址获取具体的视频或者音频时,可预先判断云盘服务器本地是否存储有相同的视频或者音频,如果有,则将相应的存储路径记录在用户账户下,如果没有,才会获取具体的视频或者音频进行存储。如此,对于同一个指定对象,可以在云盘服务器只存储一份,各个用户共享该存储,节省了云盘服务器的存储空间,并且提高了存储效率。In addition, when the cloud disk server obtains a specific video or audio according to the real URL of the video element or audio element, it can pre-judge whether the same video or audio is stored locally on the cloud disk server, and if so, record the corresponding storage path in Under the user account, if not, the specific video or audio will be obtained for storage. In this way, for the same specified object, only one copy can be stored in the cloud disk server, and each user can share the storage, which saves the storage space of the cloud disk server and improves storage efficiency.
优选地,所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储包括:Preferably, the cloud disk server parses the third URL of the video element through the first URL, and obtaining the video through the third URL for storage includes:
子步骤A2621,模拟移动终端访问所述第一网址,获取超文本标记语言文档;Sub-step A2621, simulating the mobile terminal to access the first website to obtain the HTML document;
子步骤A2622,解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。Sub-step A2622, parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
在目前各大视频网站对视频的处理过程中,各大视频网站都有视频加密处理,所以云盘服务器如果要根据所述第一网址解析视频元素的真实的第三网址,需要利用一些解析规则。In the current video processing process of major video websites, all major video websites have video encryption processing, so if the cloud disk server wants to analyze the real third URL of the video element according to the first URL, it needs to use some parsing rules .
经过分析,目前各大网站都使用flash播放器进行加密视频播放,通过该种方式不能直接通过视频标签获取到视频元素的真实网址以下载具体的视频,但是由于iphone等类型的移动终端不支持flash播放器,而为了使这类移动终端访问其网站时可以顺利播放视频,所以各大视频网站对于手机等移动终端访问的视频网页,都在网页中利用html5的<video>标签播放视频。而<video>标签中,视频元素的真实地址可以很容易的获得。比如下面是一个<video>标签示例:After analysis, all major websites currently use flash players to play encrypted videos. In this way, the real URL of the video element cannot be obtained directly through the video tag to download the specific video. However, mobile terminals such as iPhones do not support flash Players, and in order to enable such mobile terminals to play videos smoothly when accessing their websites, all major video websites use the <video> tag of html5 to play videos in the webpages for video pages accessed by mobile terminals such as mobile phones. In the <video> tag, the real address of the video element can be easily obtained. For example, the following is an example of a <video> tag:
<video id="my_video_1"class="video-js vjs-default-skin"controlspreload="auto"width="280"height="210"poster="http://www.feiliu.com/zt/img/20120417/preview.jpg"data-setup="{}"><video id="my_video_1" class="video-js vjs-default-skin" controlspreload="auto" width="280" height="210"poster="http://www.feiliu.com/zt/img /20120417/preview.jpg "data-setup="{}">
<source src="http://www.feiliu.com/zt/video/mv01.mp4"type='video/mp4'/><source src="http://www.feiliu.com/zt/video/mv01.mp4"type='video/mp4'/>
</video></video>
可以通过该标签中的sourcesrc="http://www.feiliu.com/zt/video/mv01.mp4"直接获取到视频的真实网址。You can directly get the real URL of the video through sourcesrc="http://www.feiliu.com/zt/video/mv01.mp4" in this tag.
本发明则利用上述规律,将用户上传的当前网页的url,由云盘服务器模拟iPhone等类型的移动终端访问所述url,从而获得的以<video>标签构建视频元素的HTML文档,进而可以根据所述<video>标签获取视频元素的真实的第三网址。The present invention utilizes the above rules to access the url of the current webpage uploaded by the user by a cloud disk server simulating mobile terminals such as an iPhone to access the url, thereby obtaining an HTML document that constructs a video element with the <video> tag, and then can according to The <video> tag gets the real third url of the video element.
优选地,所述模拟移动终端访问所述第一网址,获取超文本标记语言文档,包括:Preferably, the simulated mobile terminal accesses the first website to obtain HTML documents, including:
子步骤A2623,针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;Sub-step A2623, generating a hypertext transfer protocol request for the first website, and modifying the user type field in the hypertext transfer protocol request to mobile terminal;
子步骤A2624,将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Sub-step A2624, sending the HTTP request with the modified user type field to the server corresponding to the first URL to obtain the HTML document.
由云盘服务器模拟iPhone等类型的移动终端访问所述url时,需要构建HTTP(Hypertext transfer protocol,超文本传送协议)请求访问所述url,但是在构建所述HTTP请求时,需要将所述HTTP请求中的用户类型字段修改为移动终端,即将HTTP请求中的userAgent的值修改为移动终端访问URL,得到视频网站的针对手机版的HTML文档,从所述HTML文档的<video>标签中获取视频的真实URL,然后即可利用http服务下载转存到云盘服务器。When the cloud disk server simulates mobile terminals such as iPhone to access the url, it is necessary to construct an HTTP (Hypertext transfer protocol, hypertext transfer protocol) request to access the url, but when constructing the HTTP request, the HTTP Change the user type field in the request to mobile terminal, that is, change the value of userAgent in the HTTP request to the mobile terminal access URL, get the HTML document for the mobile version of the video website, and get the video from the <video> tag of the HTML document The real URL, and then use the http service to download and transfer to the cloud disk server.
当然,也存在没有前述手机版HTML文档的视频网站,因此,本发明也可以不利用子步骤A2621到子步骤A2622的原理,直接通过当前网页的url获取视频的真实url。即:Of course, there are also video websites without the above-mentioned mobile version HTML document. Therefore, the present invention may not use the principles of substeps A2621 to A2622, and directly obtain the real url of the video through the url of the current webpage. Right now:
优选地,所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储包括:Preferably, the cloud disk server parses the third URL of the video element through the first URL, and obtaining the video through the third URL for storage includes:
子步骤B2621,调用视频地址解析API通过所述第一网址解析视频的真实的第三网址。Sub-step B2621, calling the video address resolution API to resolve the real third URL of the video through the first URL.
为了通过视频网页的第一地址获取网页中播放的视频的真实地址,本发明实施例利用了视频地址解析API(application Program Interface,应用程序编程接口)去通过所述第一网址解析视频的真实的第三网址。比如flv视频地址解析API,即通过flv播放器以及相应的子接口函数获取所述第三网址。In order to obtain the real address of the video played in the webpage through the first address of the video webpage, the embodiment of the present invention utilizes a video address resolution API (application Program Interface, application program interface) to resolve the real address of the video through the first URL third URL. For example, the flv video address resolution API, that is, obtain the third URL through the flv player and corresponding sub-interface functions.
优选地,所述调用视频地址解析API通过所述第一网址解析视频的真实的第三网址,包括:Preferably, said calling the video address resolution API through said first URL to resolve the real third URL of the video, including:
子步骤B2622,向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;Sub-step B2622, requesting the playlist information of the video from the first server; the first server returns a JSON object according to the request;
在调用调用视频地址解析API后,首先调用flv播放器加载所述视频,加载完成之后,flv播放器会向视频所在的真实的第一服务器请求所述视频的播放列表信息。比如flv播放器的请求地址如下:http://v.youku.com/player/getPlayList/VideoIDS/4579646,其中将videoid进行修改可获得任意video的播放列表。After calling the video address resolution API, first call the flv player to load the video, and after the loading is complete, the flv player will request the playlist information of the video from the real first server where the video is located. For example, the request address of the flv player is as follows: http://v.youku.com/player/getPlayList/VideoIDS/4579646, where the playlist of any video can be obtained by modifying the videoid.
然后第一服务器会针对上述请求返回一个JSON对象,该JSON对象保存了视频播放列表,以及视频地址解密参数。其中,JSON对象中关于视频地址解密的参数示例如下:Then the first server will return a JSON object according to the above request, and the JSON object stores the video playlist and the decryption parameters of the video address. Among them, the parameters about video address decryption in the JSON object are as follows:
"seed":6064,"seed": 6064,
"fileid":"34*56*56*31*34*32*67*7*34*34*6*31*4*67*46*32*0*29*56*4*32*10*34*34*29*67*3*10*29*29*31*10*29*4*34*56*7*62*18*5*31*34*6*18*56*62*4*32*18*5*55*32*0*18*46*31*55*67*46*3*4*62*34*10*62*56*""fileid":"34*56*56*31*34*32*67*7*34*34*6*31*4*67*46*32*0*29*56*4*32*10*34 *34*29*67*3*10*29*29*31*10*29*4*34*56*7*62*18*5*31*34*6*18*56*62*4*32 *18*5*55*32*0*18*46*31*55*67*46*3*4*62*34*10*62*56*"
"key1":"bd7e2210","key1": "bd7e2210",
"key2":"a4b19712badcd042"。"key2": "a4b19712badcd042".
子步骤B2623,根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;Sub-step B2623, obtaining the key field value, sid field value, and fileId field value of the third URL according to the field values in the JSON object;
即根据JSON对象的视频播放列表获取第三网址sid字段值,根据JSON对象的key1、key2获取第三网址的key字段值,根据前述fileid和seed获取第三网址的fileId字段值。That is, the sid field value of the third URL is obtained according to the video playlist of the JSON object, the key field value of the third URL is obtained according to the key1 and key2 of the JSON object, and the fileId field value of the third URL is obtained according to the aforementioned fileid and seed.
以视频的真实的第三网址示例为例,http://f.youku.com/player/getFlvPath/sid/123122029188218825571_00/st/flv/fileid/02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA?K=206c9dcb7e2eb9a614fa7e0。其中sid字段的值为“123122029188218825571“Take the real third URL example of the video as an example, http://f.youku.com/player/getFlvPath/sid/123122029188218825571_00/st/flv/fileid/02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA? K=206c9dcb7e2eb9a614fa7e0. The value of the sid field is "123122029188218825571"
其中,“123122029188218825571_00“中最后两位,以及02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA的第9、10两位,表示视频文件的序号(16进制),如果一个视频文件被分为11部分,那只要把蓝色部分改为从00到0A。Among them, the last two digits in "123122029188218825571_00" and the ninth and tenth digits of 02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA represent the serial number (hexadecimal) of the video file. If a video file is divided into 11 parts, then Just change the blue part from 00 to 0A.
其中sid字段的值为123122029188218825571,fileid字段的值为/02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA,key字段的值为206c9dcb7e2eb9a614fa7e0。The value of the sid field is 123122029188218825571, the value of the fileid field is /02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA, and the value of the key field is 206c9dcb7e2eb9a614fa7e0.
由于前述JSON对象中提供了上述三个字段的解密参数,那么即可根据这三个字段的解密参数获取三个字段对应在真实的第三网址中的值。Since the decryption parameters of the above three fields are provided in the aforementioned JSON object, the values corresponding to the three fields in the real third URL can be obtained according to the decryption parameters of the three fields.
在本发明实施例中可通过获取sidA函数getSid()获取视频真实网址的sid值,getSid()的逻辑大致是根据请求的时间计算一个数值,getSid()获得的是“sid/123122029188218825571_00“中“/”和“_”之间的值,再加上视频文件的序号,即为完整的sid值。In the embodiment of the present invention, the sid value of the real URL of the video can be obtained by obtaining the sidA function getSid(). The logic of getSid() is roughly to calculate a value according to the requested time. What getSid() obtains is "sid/123122029188218825571_00" The value between /" and "_", plus the serial number of the video file, is the complete sid value.
在本发明实施例中,可以通过获取fileid函数getFileId()获取真实网址的fileid值,其是通过前述JSON对象中的"seed"和"fileid"获取fileid值,对于前述JSON对象,其逻辑大致是将seed为基础计算一个第一解密参数,然后fileid中的每个数值以所述第一解密参数进行再次计算,最终得到的值即为fileid值,getFileId()得到的长度类似前述真实网址中“02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA”的字段,然后将其中第9、10位修改为前述sid后面的视频文件的序号即可。In the embodiment of the present invention, the fileid value of the real website can be obtained by obtaining the fileid function getFileId(), which is to obtain the fileid value through the "seed" and "fileid" in the aforementioned JSON object. For the aforementioned JSON object, its logic is roughly A first decryption parameter is calculated based on the seed, and then each value in the fileid is calculated again with the first decryption parameter, and the final value obtained is the fileid value, and the length obtained by getFileId() is similar to the " 02006401004962DC0F6102007FC5984715CE4E-D1FC-1363-8681-ABDC115158DA", and then modify the 9th and 10th digits to the serial number of the video file behind the aforementioned sid.
在本发明实施例中,可以通过获取Key函数getKey()获取真实网址的Key值,其是通过前述JSON对象中的"Key1"和"Key2"获取Key值。getKey()函数其逻辑大致是根据key1和key2以固定算法计算key,即前述真实的第三网址中“?K”后面的数值。In the embodiment of the present invention, the Key value of the real website can be obtained by obtaining the Key function getKey(), which is to obtain the Key value through "Key1" and "Key2" in the aforementioned JSON object. The logic of the getKey() function is roughly to calculate the key with a fixed algorithm based on key1 and key2, that is, the value after "? K" in the aforementioned real third URL.
子步骤B2624,根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。Sub-step B2624, according to the combination of the key field value, sid field value, and fileId field value, the third URL is obtained.
得到上述三个真实的第三网址的的值后,即可通过其组合得到真实的视频网址,如前述的真实网址示例。After the values of the above three real third URLs are obtained, a real video URL can be obtained through their combination, as in the aforementioned real URL example.
当然每个网站的key、sid、fileId的算法都不同,因此获取上述三个字段值的函数也相应不同。因此本发明可以预先对各个视频网站的key、sid、fileId的算法进行分析,相应构建对应字段的获取函数。那么步骤B2622至B2624在调用时,则可根据网站与函数的对应关系去调用相应的获取函数相应得到key、sid、fileId的值。Of course, the algorithms of key, sid, and fileId are different for each website, so the functions for obtaining the values of the above three fields are also different accordingly. Therefore, the present invention can analyze the algorithm of the key, sid, and fileId of each video website in advance, and correspondingly construct the acquisition function of the corresponding field. Then, when steps B2622 to B2624 are called, the corresponding acquisition function can be called according to the corresponding relationship between the website and the function to obtain the values of key, sid, and fileId.
本发明实施例可以在用户使用浏览器访问网页的过程中,如果用户需要将网页中的内容上传至云盘服务器中时,可以主动触发对当前网页的云盘服务器收藏指令,然后浏览器自动解析所述网页的网页内容,获得网页内容中的各指定对象提供给用户选择,在用户选择了某个或者某些个指定对象之后,将所述选择的指定对象发送至云盘服务器中,以用户设定的账户信息进行存储,由此解决了用户对浏览器的网页中的内容存储至云盘服务器的操作过程繁琐的问题,减少用户对浏览器的网页中的内容存储至云盘服务器的操作过程,并且可灵活的适应用户的需求,不用将用户不需要的指定对象存储至云盘服务器中,节省用户的云盘存储空间。In the embodiment of the present invention, when the user needs to upload the content of the webpage to the cloud disk server during the process of the user accessing the webpage with the browser, the cloud disk server collection instruction for the current webpage can be actively triggered, and then the browser automatically parses the content. The webpage content of the webpage obtains each designated object in the webpage content and provides it to the user to select, and after the user selects one or some designated objects, the selected designated object is sent to the cloud disk server for user The set account information is stored, thus solving the cumbersome operation process for users to store the content in the webpage of the browser to the cloud disk server, and reducing the user's operation of storing the content in the webpage of the browser to the cloud disk server process, and can flexibly adapt to the needs of users, without storing specified objects that users do not need in the cloud disk server, saving users' cloud disk storage space.
实施例三Embodiment three
参照图3,其示出了本发明一种浏览器客户端的结构示意图,包括:Referring to Fig. 3, it shows a schematic structural diagram of a browser client of the present invention, including:
收藏触发组件310,适于触发对当前网页的云盘服务器收藏指令;The collection trigger component 310 is adapted to trigger the collection instruction of the cloud disk server for the current webpage;
对象解析组件320,适于解析所述网页的网页内容,获得网页内容中的各指定对象;The object parsing component 320 is adapted to parse the webpage content of the webpage, and obtain each specified object in the webpage content;
对象存储组件330,适于将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。The object storage component 330 is adapted to send the specified objects to the cloud disk server, and store them with the account information set by the user.
实施例四Embodiment four
参照图4,其示出了本发明一种浏览器客户端的结构示意图,包括:Referring to Fig. 4, it shows a schematic structural diagram of a browser client of the present invention, including:
收藏触发组件410,适于触发对当前网页的云盘服务器收藏指令;Collection triggering component 410, suitable for triggering the collection instruction of the cloud disk server for the current webpage;
对象解析组件420,适于解析所述网页的网页内容,获得网页内容中的各指定对象;The object parsing component 420 is adapted to parse the webpage content of the webpage, and obtain each specified object in the webpage content;
列表生成组件430,适于针对所述各指定对象生成提示列表;A list generation component 430, adapted to generate a prompt list for each specified object;
选择接收组件440,适于在所述提示列表中,接收用户对需要存储的指定对象的选择操作;The selection receiving component 440 is adapted to receive the user's selection operation on the specified object to be stored in the prompt list;
对象确定组件450,适于根据所述选择操作,确定需要发送至云盘服务器的各指定对象The object determination component 450 is adapted to determine each specified object that needs to be sent to the cloud disk server according to the selection operation
对象存储组件460,适于将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。The object storage component 460 is adapted to send the designated objects to the cloud disk server, and store them with the account information set by the user.
优选地,所述对象解析组件包括:Preferably, the object parsing component includes:
文件对象模型树解析模组,适于解析所述网页的超文本标记语言文档获得的文件对象模型树;A document object model tree parsing module, adapted to analyze the document object model tree obtained from the hypertext markup language document of the webpage;
元素获取模组,适于从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。The element obtaining module is adapted to obtain image elements, and/or video elements, and/or audio elements in the webpage content from the file object model tree.
优选地,所述对象存储组件包括:Preferably, the object storage component includes:
图片存储模组,适于对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。The picture storage module is adapted to acquire the second URL corresponding to the picture element and send it to the cloud disk server for the picture element, and store it with the account information set by the user.
优选地,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:Preferably, the sending the specified objects to the cloud disk server and storing them with the account information set by the user includes:
视频存储模组,适于对于视频元素,将当前网页的第一网址传送至云盘服务器;其中,所述云盘服务器包括:第三网址转换解析模组,适于通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。The video storage module is adapted to transmit the first website address of the current web page to the cloud disk server for the video element; wherein, the cloud disk server includes: a third website address conversion analysis module, which is suitable for analyzing through the first website address The third URL of the video element, so as to obtain and store the video through the third URL.
优选地,所述第三网址转换解析模组包括:Preferably, the third URL conversion analysis module includes:
模拟访问模组,适于模拟移动终端访问所述第一网址,获取超文本标记语言文档;The simulated access module is suitable for simulating the mobile terminal to access the first website to obtain the hypertext markup language document;
标签解析模组,适于解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。The tag parsing module is suitable for parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
优选地,所述模拟访问模组包括:Preferably, the simulated access module includes:
请求更改模组,适于针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;A request modification module, adapted to generate a hypertext transfer protocol request for the first URL, and modify the user type field in the hypertext transfer protocol request to be a mobile terminal;
将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Send the hypertext transfer protocol request with the modified user type field to the server corresponding to the first URL to obtain the hypertext markup language document.
优选地,所述第三网址转换解析模组包括:Preferably, the third URL conversion analysis module includes:
函数调用模组,适于调用视频地址解析API函数通过所述第一网址解析视频的真实的第三网址。The function calling module is suitable for calling the video address resolution API function to resolve the real third URL of the video through the first URL.
优选地,所述函数调用模组包括:Preferably, the function call module includes:
JSON对象获取模组,适于向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;The JSON object acquisition module is adapted to request the playlist information of the video from the first server; the first server returns the JSON object according to the request;
字段获取模块,适于根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;A field obtaining module, adapted to obtain the key field value, sid field value, and fileId field value of the third URL according to each field value in the JSON object;
第三网址生成模组,适于根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。The third website generating module is adapted to obtain a third website according to the combination of the key field value, sid field value, and fileId field value.
实施例五Embodiment five
参照图5,其示出了本发明一种浏览器中收藏网页对象的系统的结构示意图,包括:Referring to Fig. 5, it shows a schematic structural diagram of a system for collecting web page objects in a browser according to the present invention, including:
浏览器客户端510,和云盘服务器520;Browser client 510, and cloud disk server 520;
所述浏览器客户端510包括:The browser client 510 includes:
收藏触发组件511,适于触发对当前网页的云盘服务器收藏指令;The collection trigger component 511 is adapted to trigger the collection instruction of the cloud disk server for the current webpage;
对象解析组件512,适于解析所述网页的网页内容,获得网页内容中的各指定对象;The object parsing component 512 is adapted to parse the webpage content of the webpage, and obtain each specified object in the webpage content;
列表生成组件513,适于针对所述各指定对象生成提示列表;A list generation component 513, adapted to generate a prompt list for each specified object;
选择接收组件514,适于在所述提示列表中,接收用户对需要存储的指定对象的选择操作;The selection receiving component 514 is adapted to receive the user's selection operation on the specified object to be stored in the prompt list;
对象确定组件515,适于根据所述选择操作,确定需要发送至云盘服务器的各指定对象;The object determination component 515 is adapted to determine each specified object that needs to be sent to the cloud disk server according to the selection operation;
对象存储组件516,适于将所述各指定对象的网址发送至云盘服务器中。The object storage component 516 is adapted to send the URLs of the specified objects to the cloud disk server.
所述云盘服务器520,适于根据所述网址获取相应的指定对象进行存储。The cloud disk server 520 is adapted to obtain and store corresponding specified objects according to the URL.
优选地,所述对象解析组件包括:Preferably, the object parsing component includes:
文件对象模型树解析模组,适于解析所述网页的超文本标记语言文档获得的文件对象模型树;A document object model tree parsing module, adapted to analyze the document object model tree obtained from the hypertext markup language document of the webpage;
元素获取模组,适于从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。The element obtaining module is adapted to obtain image elements, and/or video elements, and/or audio elements in the webpage content from the file object model tree.
优选地,所述对象存储组件包括:Preferably, the object storage component includes:
图片存储模组,适于对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器;The image storage module is suitable for obtaining the second URL corresponding to the image element and sending it to the cloud disk server for the image element;
进一步的,所述云盘服务器根据所述第二网址以用户设定的账户信息进行存储。Further, the cloud disk server stores the account information set by the user according to the second URL.
优选地,所述对象存储组件包括:Preferably, the object storage component includes:
视频存储模组,适于对于视频元素,将当前网页的第一网址传送至云盘服务器;The video storage module is suitable for transmitting the first URL of the current web page to the cloud disk server for the video element;
进一步的,所述云盘服务器包括:第三网址转换解析模组,适于通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。Further, the cloud disk server includes: a third URL conversion and analysis module, adapted to parse the third URL of the video element through the first URL, so as to obtain and store the video through the third URL.
优选地,所述第三网址转换解析模组包括:Preferably, the third URL conversion analysis module includes:
模拟访问模组,适于模拟移动终端访问所述第一网址,获取超文本标记语言文档;The simulated access module is suitable for simulating the mobile terminal to access the first website to obtain the hypertext markup language document;
标签解析模组,适于解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。The tag parsing module is suitable for parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
优选地,所述模拟访问模组包括:Preferably, the simulated access module includes:
请求更改模组,适于针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;A request modification module, adapted to generate a hypertext transfer protocol request for the first URL, and modify the user type field in the hypertext transfer protocol request to be a mobile terminal;
将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Send the hypertext transfer protocol request with the modified user type field to the server corresponding to the first URL to obtain the hypertext markup language document.
优选地,所述第三网址转换解析模组包括:Preferably, the third URL conversion analysis module includes:
函数调用模组,适于调用视频地址解析API函数通过所述第一网址解析视频的真实的第三网址。The function calling module is suitable for calling the video address resolution API function to resolve the real third URL of the video through the first URL.
优选地,所述函数调用模组包括:Preferably, the function call module includes:
JSON对象获取模组,适于向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;The JSON object acquisition module is adapted to request the playlist information of the video from the first server; the first server returns the JSON object according to the request;
字段获取模块,适于根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;A field obtaining module, adapted to obtain the key field value, sid field value, and fileId field value of the third URL according to each field value in the JSON object;
第三网址生成模组,适于根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。The third website generating module is adapted to obtain a third website according to the combination of the key field value, sid field value, and fileId field value.
实施例六Embodiment six
参照图6,其示出了本发明一种带有浏览器客户端的系统的结构示意图,所述系统600包括:Referring to FIG. 6, it shows a schematic structural diagram of a system with a browser client in the present invention, the system 600 includes:
处理器610,以及加载有多条可执行指令的存储器620,所述多条指令包括执行以下步骤的方法:A processor 610, and a memory 620 loaded with a plurality of executable instructions, the plurality of instructions include a method for performing the following steps:
触发对当前网页的云盘服务器收藏指令;Trigger the cloud disk server collection command for the current web page;
解析所述网页的网页内容,获得网页内容中的各指定对象;Analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Send the specified objects to the cloud disk server, and store them with the account information set by the user.
当然,所述多条指令还包括执行前述各种步骤的方法。Of course, the multiple instructions also include methods for performing the above-mentioned various steps.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的浏览器中收藏网页对象的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of some or all of the components in the device for storing web page objects in a browser according to an embodiment of the present invention. Function. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本发明公开了A1、一种浏览器中收藏网页对象的方法,包括:The invention discloses A1. A method for storing web page objects in a browser, comprising:
触发对当前网页的云盘服务器收藏指令;Trigger the cloud disk server collection command for the current web page;
解析所述网页的网页内容,获得网页内容中的各指定对象;Analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Send the specified objects to the cloud disk server, and store them with the account information set by the user.
A2、如A1所述的方法,所述解析所述网页的网页内容,获得网页内容中的各指定对象之后,还包括:A2, the method as described in A1, after said parsing the webpage content of said webpage, after obtaining each designated object in the webpage content, also include:
针对所述各指定对象生成提示列表;generating a prompt list for each specified object;
在所述提示列表中,接收用户对需要存储的指定对象的选择操作;In the prompt list, receiving the user's selection operation on the specified object to be stored;
根据所述选择操作,确定需要发送至云盘服务器的各指定对象。According to the selection operation, each specified object that needs to be sent to the cloud disk server is determined.
A3、如A2所述的方法,所述解析所述网页的网页内容,获得网页内容中的各指定对象包括:A3, the method as described in A2, described parsing the webpage content of described webpage, obtaining each specified object in the webpage content comprises:
解析所述网页的超文本标记语言文档获得的文件对象模型树;A document object model tree obtained by parsing the hypertext markup language document of the webpage;
从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。The image elements, and/or video elements, and/or audio elements in the webpage content are obtained from the document object model tree.
A4、如A3的方法,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:A4. As in the method of A3, the sending of the specified objects to the cloud disk server and storing them with the account information set by the user includes:
对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。For the picture element, the second URL corresponding to the picture element is obtained and sent to the cloud disk server, and stored with the account information set by the user.
A5、如A3的方法,所述将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储包括:A5. As in the method of A3, the sending of the specified objects to the cloud disk server and storing them with the account information set by the user includes:
对于视频元素,将当前网页的第一网址传送至云盘服务器;所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。For the video element, the first URL of the current web page is sent to the cloud disk server; the cloud disk server parses the third URL of the video element through the first URL, so as to obtain the video through the third URL for storage.
A6、如A5的方法,所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储包括:A6. As in A5, the cloud disk server resolves the third website address of the video element through the first website address, so as to obtain the video through the third website address for storage including:
模拟移动终端访问所述第一网址,获取超文本标记语言文档;simulating a mobile terminal to access the first website to obtain a hypertext markup language document;
解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。Parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
A7、如A6的方法,所述模拟移动终端访问所述第一网址,获取超文本标记语言文档,包括:A7. As in the method of A6, the simulated mobile terminal accesses the first website to obtain a hypertext markup language document, including:
针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;Generate a hypertext transfer protocol request for the first website, and modify the user type field in the hypertext transfer protocol request to be a mobile terminal;
将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Send the hypertext transfer protocol request with the modified user type field to the server corresponding to the first URL to obtain the hypertext markup language document.
A8、如A5的方法,所述云盘服务器通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储包括:A8. As in A5, the cloud disk server resolves the third website address of the video element through the first website address, so as to obtain the video through the third website address for storage including:
调用视频地址解析API通过所述第一网址解析视频的真实的第三网址。Calling the video address resolution API to resolve the real third URL of the video through the first URL.
A9、如A8的方法,所述调用视频地址解析API通过所述第一网址解析视频的真实的第三网址,包括:A9, as in the method of A8, the calling of the video address resolution API to resolve the real third URL of the video through the first URL, including:
向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;Requesting the playlist information of the video to the first server; the first server returns a JSON object according to the request;
根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;Obtain the key field value, sid field value, and fileId field value of the third URL according to each field value in the JSON object;
根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。A third URL is obtained according to the combination of the key field value, sid field value, and fileId field value.
本发明还公开了B10、一种浏览器客户端,包括:The present invention also discloses B10, a browser client, comprising:
收藏触发组件,适于触发对当前网页的云盘服务器收藏指令;The collection trigger component is suitable for triggering the collection command of the cloud disk server for the current web page;
对象解析组件,适于解析所述网页的网页内容,获得网页内容中的各指定对象;an object parsing component, adapted to parse the webpage content of the webpage, and obtain each specified object in the webpage content;
对象存储组件,适于将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。The object storage component is adapted to send the specified objects to the cloud disk server, and store them with the account information set by the user.
B11、如B10所述的浏览器客户端,所述对象解析组件之后,还包括:B11, the browser client as described in B10, after the object parsing component, also include:
列表生成组件,适于针对所述各指定对象生成提示列表;A list generation component, adapted to generate a prompt list for each specified object;
选择接收组件,适于在所述提示列表中,接收用户对需要存储的指定对象的选择操作;The selection receiving component is adapted to receive the user's selection operation on the specified object to be stored in the prompt list;
对象确定组件,适于根据所述选择操作,确定需要发送至云盘服务器的各指定对象。The object determining component is adapted to determine each specified object that needs to be sent to the cloud disk server according to the selection operation.
B12、如B11所述的浏览器客户端,所述对象解析组件包括:B12, the browser client as described in B11, described object parsing component comprises:
文件对象模型树解析模组,适于解析所述网页的超文本标记语言文档获得的文件对象模型树;A document object model tree parsing module, adapted to analyze the document object model tree obtained from the hypertext markup language document of the webpage;
元素获取模组,适于从所述文件对象模型树中获得网页内容中的图片元素、和/或视频元素、和/或音频元素。The element obtaining module is adapted to obtain image elements, and/or video elements, and/or audio elements in the webpage content from the file object model tree.
B13、如B12的浏览器客户端,所述对象存储组件包括:B13, as the browser client of B12, the object storage component includes:
图片存储模组,适于对于图片元素,获取所述图片元素对应的第二网址传送至云盘服务器,以用户设定的账户信息进行存储。The picture storage module is adapted to acquire the second URL corresponding to the picture element and send it to the cloud disk server for the picture element, and store it with the account information set by the user.
B14、如B12的浏览器客户端,所述对象存储组件包括:B14, the browser client as B12, described object storage component comprises:
视频存储模组,适于对于视频元素,将当前网页的第一网址传送至云盘服务器;其中,所述云盘服务器包括:第三网址转换解析模组,适于通过所述第一网址解析所述视频元素的第三网址,以通过所述第三网址获取视频进行存储。The video storage module is adapted to transmit the first website address of the current web page to the cloud disk server for the video element; wherein, the cloud disk server includes: a third website address conversion analysis module, which is suitable for analyzing through the first website address The third URL of the video element, so as to obtain and store the video through the third URL.
B15、如B14的浏览器客户端,所述第三网址转换解析模组包括:B15, as the browser client of B14, described the 3rd URL transformation analysis module comprises:
模拟访问模组,适于模拟移动终端访问所述第一网址,获取超文本标记语言文档;The simulated access module is suitable for simulating the mobile terminal to access the first website to obtain the hypertext markup language document;
标签解析模组,适于解析所述超文本标记语言文档中的video标签,以通过所述video标签获取视频进行存储。The tag parsing module is suitable for parsing the video tag in the hypertext markup language document, so as to obtain the video through the video tag for storage.
B16、如B15的浏览器客户端,所述模拟访问模组包括:B16, as the browser client of B15, described simulation visit module comprises:
请求更改模组,适于针对所述第一网址生成超文本传送协议请求,并将所述超文本传送协议请求中的用户类型字段修改为移动终端;A request modification module, adapted to generate a hypertext transfer protocol request for the first URL, and modify the user type field in the hypertext transfer protocol request to be a mobile terminal;
将所述修改了用户类型字段的超文本传送协议请求发送至第一网址对应的服务器,获取超文本标记语言文档。Send the hypertext transfer protocol request with the modified user type field to the server corresponding to the first URL to obtain the hypertext markup language document.
B17、如B14的浏览器客户端,所述第三网址转换解析模组包括:B17, as the browser client of B14, described the 3rd URL transformation analysis module comprises:
函数调用模组,适于调用视频地址解析API函数通过所述第一网址解析视频的真实的第三网址。The function calling module is suitable for calling the video address resolution API function to resolve the real third URL of the video through the first URL.
B18、如B17的浏览器客户端,所述函数调用模组包括:B18, as the browser client of B17, described function calling module comprises:
JSON对象获取模组,适于向第一服务器请求所述视频的播放列表信息;所述第一服务器根据所述请求返回JSON对象;The JSON object acquisition module is adapted to request the playlist information of the video from the first server; the first server returns the JSON object according to the request;
字段获取模块,适于根据所述JSON对象中的各字段值获取第三网址的key字段值、sid字段值、fileId字段值;A field obtaining module, adapted to obtain the key field value, sid field value, and fileId field value of the third URL according to each field value in the JSON object;
第三网址生成模组,适于根据所述key字段值、sid字段值、fileId字段值组合得到第三网址。The third website generating module is adapted to obtain a third website according to the combination of the key field value, sid field value, and fileId field value.
本发明还公开了C19、一种带有浏览器客户端的系统,包括:The present invention also discloses C19, a system with a browser client, including:
处理器,以及加载有多条可执行指令的存储器,所述多条指令包括执行以下步骤的方法:A processor, and a memory loaded with a plurality of executable instructions including means for performing the steps of:
触发对当前网页的云盘服务器收藏指令;Trigger the cloud disk server collection command for the current web page;
解析所述网页的网页内容,获得网页内容中的各指定对象;Analyzing the webpage content of the webpage to obtain each specified object in the webpage content;
将所述各指定对象发送至云盘服务器中,以用户设定的账户信息进行存储。Send the specified objects to the cloud disk server, and store them with the account information set by the user.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510041145.0A CN104615700A (en) | 2015-01-27 | 2015-01-27 | Method for collecting webpage objects in browser, browser client side and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510041145.0A CN104615700A (en) | 2015-01-27 | 2015-01-27 | Method for collecting webpage objects in browser, browser client side and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104615700A true CN104615700A (en) | 2015-05-13 |
Family
ID=53150142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510041145.0A Pending CN104615700A (en) | 2015-01-27 | 2015-01-27 | Method for collecting webpage objects in browser, browser client side and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104615700A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260433A (en) * | 2015-09-30 | 2016-01-20 | 北京奇虎科技有限公司 | Webpage content collecting method and electronic device |
CN105320751A (en) * | 2015-09-30 | 2016-02-10 | 北京奇虎科技有限公司 | Method for making mark on webpage and electronic device |
CN106792119A (en) * | 2016-12-20 | 2017-05-31 | 北京医视时代科技发展有限公司 | A kind of general video broadcasting method and system |
CN107147945A (en) * | 2016-03-01 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Multimedia resource play system, method and device |
CN107229683A (en) * | 2017-05-10 | 2017-10-03 | 努比亚技术有限公司 | Information processing method, mobile terminal and storage medium |
CN108959446A (en) * | 2018-06-13 | 2018-12-07 | 佛山市车品匠汽车用品有限公司 | A kind of Web browser method and system of mobile terminal |
CN110995690A (en) * | 2019-11-28 | 2020-04-10 | 深圳供电局有限公司 | Secure storage method and device based on cloud storage |
CN112202876A (en) * | 2020-09-28 | 2021-01-08 | 北京金山云网络技术有限公司 | Request processing method and device and electronic equipment |
CN112231599A (en) * | 2020-09-28 | 2021-01-15 | 深圳市世强元件网络有限公司 | Component model collection method in component electronic commerce platform |
CN114461119A (en) * | 2022-02-11 | 2022-05-10 | 北京百度网讯科技有限公司 | Method and device for processing application page information, electronic equipment and storage medium |
CN114780164A (en) * | 2022-02-28 | 2022-07-22 | 深圳开源互联网安全技术有限公司 | Method and system for screening webpage information based on browser plug-in |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100325089A1 (en) * | 2002-06-13 | 2010-12-23 | Hopkins Christopher D | Method, system, and computer program product for synchronizing data |
CN102436459A (en) * | 2011-03-11 | 2012-05-02 | 奇智软件(北京)有限公司 | Method and equipment for starting management module in browser |
CN102624910A (en) * | 2012-03-15 | 2012-08-01 | 华为技术有限公司 | Method, device and system for processing web page content selected by users |
CN102737121A (en) * | 2012-06-01 | 2012-10-17 | 北京奇乐客科技有限公司 | Webpage collection method, client side and server of cloud platform |
CN103179164A (en) * | 2011-12-23 | 2013-06-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and communication terminal of storing page information |
-
2015
- 2015-01-27 CN CN201510041145.0A patent/CN104615700A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100325089A1 (en) * | 2002-06-13 | 2010-12-23 | Hopkins Christopher D | Method, system, and computer program product for synchronizing data |
CN102436459A (en) * | 2011-03-11 | 2012-05-02 | 奇智软件(北京)有限公司 | Method and equipment for starting management module in browser |
CN103179164A (en) * | 2011-12-23 | 2013-06-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and communication terminal of storing page information |
CN102624910A (en) * | 2012-03-15 | 2012-08-01 | 华为技术有限公司 | Method, device and system for processing web page content selected by users |
CN102737121A (en) * | 2012-06-01 | 2012-10-17 | 北京奇乐客科技有限公司 | Webpage collection method, client side and server of cloud platform |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260433A (en) * | 2015-09-30 | 2016-01-20 | 北京奇虎科技有限公司 | Webpage content collecting method and electronic device |
CN105320751A (en) * | 2015-09-30 | 2016-02-10 | 北京奇虎科技有限公司 | Method for making mark on webpage and electronic device |
US11108727B2 (en) | 2016-03-01 | 2021-08-31 | Tencent Technology (Shenzhen) Company Limited | System, method, and server for playing multimedia resource |
CN107147945A (en) * | 2016-03-01 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Multimedia resource play system, method and device |
CN106792119A (en) * | 2016-12-20 | 2017-05-31 | 北京医视时代科技发展有限公司 | A kind of general video broadcasting method and system |
CN107229683A (en) * | 2017-05-10 | 2017-10-03 | 努比亚技术有限公司 | Information processing method, mobile terminal and storage medium |
CN108959446A (en) * | 2018-06-13 | 2018-12-07 | 佛山市车品匠汽车用品有限公司 | A kind of Web browser method and system of mobile terminal |
CN110995690A (en) * | 2019-11-28 | 2020-04-10 | 深圳供电局有限公司 | Secure storage method and device based on cloud storage |
CN112202876A (en) * | 2020-09-28 | 2021-01-08 | 北京金山云网络技术有限公司 | Request processing method and device and electronic equipment |
CN112231599A (en) * | 2020-09-28 | 2021-01-15 | 深圳市世强元件网络有限公司 | Component model collection method in component electronic commerce platform |
CN112231599B (en) * | 2020-09-28 | 2024-03-08 | 深圳市世强元件网络有限公司 | A method for collecting component models in a component e-commerce platform |
CN114461119A (en) * | 2022-02-11 | 2022-05-10 | 北京百度网讯科技有限公司 | Method and device for processing application page information, electronic equipment and storage medium |
CN114780164A (en) * | 2022-02-28 | 2022-07-22 | 深圳开源互联网安全技术有限公司 | Method and system for screening webpage information based on browser plug-in |
CN114780164B (en) * | 2022-02-28 | 2023-04-25 | 深圳开源互联网安全技术有限公司 | Method and system for screening webpage information based on browser plug-in |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615700A (en) | Method for collecting webpage objects in browser, browser client side and system | |
JP6748071B2 (en) | Web content generation method and system | |
CN104063460B (en) | A kind of method and apparatus loading webpage in a browser | |
CN104572092B (en) | Webpage making method and apparatus | |
CN104348919B (en) | Carry out the method, apparatus and browser of file download | |
US10454859B1 (en) | In-message applications in a messaging platform | |
WO2012109568A1 (en) | System and method for using an application on a mobile device to transfer internet media content | |
CN103631905A (en) | Webpage loading method and browser | |
CN104361004B (en) | The processing method and browser of browser collection folder data | |
CN103618936A (en) | Smart television, as well as method and device for pre-downloading link pages in browser of smart television | |
CN112015485A (en) | Page display method and device, electronic equipment and storage medium | |
CN103677730B (en) | The method and apparatus of the display file in browser | |
CN104536993A (en) | Collected webpage processing method, collected webpage processing device and client-side | |
CN104199865B (en) | Searching method, client and the system of the customization result of content providers are provided | |
CN104346460B (en) | Carry out the method, apparatus and browser client of file download | |
CN104361007B (en) | The processing method of browser and its collection | |
WO2015143854A1 (en) | Data acquisition and interaction method, set top box, server and multimedia system | |
CN104080016B (en) | The method and apparatus that audio/video information is shown are carried out in a kind of browser | |
CN103491452B (en) | Method and device for playing video in webpage | |
JP6262742B2 (en) | Progressive image processing using data URI enhancement | |
CN106886583B (en) | Method and apparatus for managing multimedia file broadcasting in the electronic device | |
CN105183887A (en) | Data processing method based on browser and browser device | |
CN108108381B (en) | Page monitoring method and device | |
CN103593423A (en) | Method and device for loading video file information in browser | |
CN103067481B (en) | Data transmission method, equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150513 |
|
RJ01 | Rejection of invention patent application after publication |