Movatterモバイル変換


[0]ホーム

URL:


CN103699624B - Browser data processing method and device - Google Patents

Browser data processing method and device
Download PDF

Info

Publication number
CN103699624B
CN103699624BCN201310706575.0ACN201310706575ACN103699624BCN 103699624 BCN103699624 BCN 103699624BCN 201310706575 ACN201310706575 ACN 201310706575ACN 103699624 BCN103699624 BCN 103699624B
Authority
CN
China
Prior art keywords
browser
deleted
data
information
browser data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310706575.0A
Other languages
Chinese (zh)
Other versions
CN103699624A (en
Inventor
张毅
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co LtdfiledCriticalBeijing Qihoo Technology Co Ltd
Priority to CN201310706575.0ApriorityCriticalpatent/CN103699624B/en
Publication of CN103699624ApublicationCriticalpatent/CN103699624A/en
Application grantedgrantedCritical
Publication of CN103699624BpublicationCriticalpatent/CN103699624B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention provides a browser data processing method and device and relates to the technical field of computers. The method includes adding a deleted identifier on browser data subjected to deletion operation and on the browser side; storing the browser data with the deleted identifier into a temporary storage unit on the browser side; deleting or restoring the browser data with the deleted identifier from the temporary storage unit according to an operation command triggered by the browser side. By means of the method and device, a recycle bin mechanism for the browser data is provided, various browser data can be managed through a browser recycle bin to enable users to conveniently manage the browser data such as downloaded files, bookmark information, cookie information, historical recording information, searching keyword information and pull-down list information, user operation is facilitated, and user experience can be improved.

Description

Translated fromChinese
浏览器数据的处理方法和装置Method and device for processing browser data

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种浏览器数据的处理方法和装置。The invention relates to the field of computer technology, in particular to a method and device for processing browser data.

背景技术Background technique

目前,在个人电脑中的操作系统中,都会存在回收站。回收站可以方便于用户管理操作系统中的文件。用户可选择将文件临时删除,被临时删除的文件会暂时保存在回收站中。Currently, there are recycle bins in the operating systems of personal computers. The recycle bin can facilitate users to manage files in the operating system. The user can choose to temporarily delete the file, and the temporarily deleted file will be temporarily saved in the recycle bin.

对于回收站中的文件,用户可以选择进行恢复或彻底删除,给用户提供了较大的便利,既可以存放不用的文件,方便于管理,又能够给用户提供了一种反悔的机会。For the files in the recycle bin, the user can choose to restore or completely delete, which provides greater convenience to the user. It can not only store unused files, which is convenient for management, but also provides users with a chance to go back on their word.

而在目前的浏览器中,依据用户的使用习惯,会存在历史访问记录、安装的插件、书签、保存的cookie、搜索关键字、通过浏览器下载的文件等多种数据,用户在选择删除后,即会彻底删除再也找不到。In the current browser, according to the user's usage habits, there will be various data such as historical access records, installed plug-ins, bookmarks, saved cookies, search keywords, files downloaded through the browser, etc. After the user chooses to delete , which will be completely deleted and never found again.

由于浏览器中存在多种不同的数据,而不简单的是文件那么简单,因此,目前没有有效的对于浏览器数据进行临时删除、恢复等管理的有效方式。Since there are many kinds of different data in the browser, the file is not as simple as a simple one, so at present, there is no effective way to manage browser data such as temporary deletion and restoration.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的适于浏览器数据的处理方法和相应地装置。In view of the above problems, the present invention is proposed to provide a browser data processing method and a corresponding device that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供一种浏览器数据的处理方法,包括:According to one aspect of the present invention, a method for processing browser data is provided, including:

为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;Add a deleted mark to the browser data that has been deleted on the browser side;

将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;Store browser data with a deleted flag in a temporary storage unit on the browser side;

依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复带已删除标识的浏览器数据。According to the operation instruction triggered by the browser side, delete or restore the browser data with the deleted mark from the temporary storage unit.

可选地,浏览器数据包括:Optionally, browser data includes:

已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息。Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information.

可选地,浏览器数据为浏览器插件;Optionally, the browser data is a browser plug-in;

相应地,为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:Correspondingly, add a deleted mark to the browser data that has been deleted on the browser side, including:

在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;In the installation list of browser plug-ins, add a deleted mark for the browser plug-ins that have been uninstalled on the browser side;

将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,包括:Store browser data with a deleted flag in a temporary storage unit on the browser side, including:

将带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;Record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted logo in the temporary storage unit;

依据浏览器侧触发的操作指令,从临时存储单元中恢复带已删除标识的浏览器数据,包括:According to the operation instruction triggered by the browser side, restore the browser data with the deleted logo from the temporary storage unit, including:

接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;

接收服务器发送的与浏览器插件对应的最新版本的插件和推荐信息,并安装最新版本的插件。Receive the latest version of the plug-in and recommendation information corresponding to the browser plug-in sent by the server, and install the latest version of the plug-in.

可选地,当浏览器数据为已下载文件时,为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:Optionally, when the browser data is a downloaded file, add a deleted mark to the browser data that has been deleted on the browser side, including:

将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为已下载文件加上一已删除标识;Save the downloaded file that has been deleted on the browser side to a specified location, and add a deleted mark to the downloaded file through the download process of the browser;

依据浏览器侧触发的操作指令,从临时存储单元中删除带已删除标识的浏览器数据,包括:According to the operation instruction triggered by the browser side, delete the browser data with the deleted logo from the temporary storage unit, including:

依据浏览器侧触发的删除指令,从临时存储单元中删除带已删除标识的已下载文件,并将已下载文件从指定位置删除。According to the deletion command triggered by the browser side, the downloaded file with the deleted flag is deleted from the temporary storage unit, and the downloaded file is deleted from the specified location.

可选地,当浏览器数据为历史记录信息时,为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:Optionally, when the browser data is historical record information, add a deleted mark to the browser data that has been deleted on the browser side, including:

通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;Through the main process of the browser, add a deleted mark to the data of the historical record that has been deleted;

其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.

可选地,当浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:Optionally, when the browser data is search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information, add a deleted mark to the browser data that has been deleted on the browser side ,include:

通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;Add a deleted mark to the search keyword information, search drop-down list information, most frequently accessed information, bookmark information or cookie information that have been deleted through the main process of the browser;

其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.

可选地,临时存储单元对浏览器数据的存储方式包括:Optionally, the way the temporary storage unit stores browser data includes:

建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;Establish a content type table, and record in the content type table the database table where each type of browser data is saved, and the database statement corresponding to the executable operation instruction;

其中,在数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, the database table stores at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion.

可选地,在将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,还包括:Optionally, after storing the browser data with the deleted identifier in the temporary storage unit on the browser side, further include:

接收用户发出的查看已删除的浏览器数据的请求,显示带有已删除标识的浏览器数据。Receive a request from a user to view deleted browser data, and display browser data with a deleted flag.

可选地,显示带有已删除标识的浏览器数据,包括:Optionally, display browser data with removed flags, including:

根据内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, the database table corresponding to each browser data is searched;

将数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.

可选地,依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复带已删除标识的浏览器数据,包括:Optionally, delete or restore browser data with a deleted flag from the temporary storage unit according to an operation instruction triggered by the browser side, including:

当操作指令为删除指令时,将删除指令对应的浏览器数据在数据库表中彻底删除;When the operation instruction is a delete instruction, the browser data corresponding to the delete instruction is completely deleted in the database table;

当操作指令为恢复指令时,将恢复指令对应的浏览器数据在数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, the identifier recorded in the database table of the browser data corresponding to the restoration instruction is changed to an undeleted identifier.

可选地,该方法还包括:Optionally, the method also includes:

根据浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与浏览器数据的类型对应的管理进程,在内容类型表中对浏览器数据进行管理。According to the type of browser data, the deleted identifier, the time of deletion, and the information of the user performing the deletion, the browser data is managed in the content type table through the management process corresponding to the type of browser data.

依据本发明的一个方面,还提供了一种浏览器数据的处理装置,包括:According to one aspect of the present invention, a browser data processing device is also provided, including:

标识添加模块,配置成为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;The identification adding module is configured to add a deleted identification to the browser data that has been deleted on the browser side;

数据存储模块,配置成将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;A data storage module configured to store browser data with a deleted flag in a temporary storage unit on the browser side;

指令执行模块,配置成依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复带已删除标识的浏览器数据。The instruction execution module is configured to delete or restore the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side.

可选地,浏览器数据包括:Optionally, browser data includes:

已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息。Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information.

可选地,浏览器数据为浏览器插件;Optionally, the browser data is a browser plug-in;

相应地,标识添加模块还配置成在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;Correspondingly, the identification adding module is also configured to add a deleted identification for the browser plug-in that has been uninstalled on the browser side in the installation list of the browser installation plug-in;

数据存储模块还配置成将带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;The data storage module is also configured to record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted flag in the temporary storage unit;

指令执行模块还配置成:The instruction execution module is also configured to:

接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;

接收服务器发送的与浏览器插件对应的最新版本的插件和推荐信息,并安装最新版本的插件。Receive the latest version of the plug-in and recommendation information corresponding to the browser plug-in sent by the server, and install the latest version of the plug-in.

可选地,当浏览器数据为已下载文件时,标识添加模块还配置成将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为已下载文件加上一已删除标识;Optionally, when the browser data is a downloaded file, the identification adding module is also configured to save the downloaded file that has been deleted on the browser side to a specified location, and add - the flag has been deleted;

指令执行模块还配置成依据浏览器侧触发的删除指令,从临时存储单元中删除带已删除标识的已下载文件,并将已下载文件从指定位置删除。The instruction execution module is further configured to delete the downloaded file with the deleted flag from the temporary storage unit according to the deletion instruction triggered by the browser side, and delete the downloaded file from the specified location.

可选地,当浏览器数据为历史记录信息时,标识添加模块还配置成通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;Optionally, when the browser data is historical record information, the identification adding module is also configured to add a deleted identification to the data of the historical records that have been deleted through the main process of the browser;

其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.

可选地,当浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,标识添加模块还配置成通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;Optionally, when the browser data is search keyword information, search drop-down list information, most frequently accessed information, bookmark information or cookie information, the identification adding module is also configured to perform the deletion operation through the main process of the browser. Search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information plus a deleted mark;

其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.

可选地,数据存储模块配置成建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;Optionally, the data storage module is configured to establish a content type table, and record in the content type table the database tables saved by each type of browser data, and the database statements corresponding to the executable operation instructions;

其中,在数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, the database table stores at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion.

可选地,该装置还包括:Optionally, the device also includes:

显示模块,配置成在将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,接收用户发出的查看已删除的浏览器数据的请求,显示带有已删除标识的浏览器数据。The display module is configured to, after storing the browser data with the deleted logo in the temporary storage unit on the browser side, receive a request from the user to view the deleted browser data, and display the browser data with the deleted logo. device data.

可选地,显示模块配置成按照如下方式显示带有已删除标识的浏览器数据:Optionally, the display module is configured to display browser data with a deleted flag as follows:

根据内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, the database table corresponding to each browser data is searched;

将数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.

可选地,指令执行模块配置成:Optionally, the instruction execution module is configured to:

当操作指令为删除指令时,将删除指令对应的浏览器数据在数据库表中彻底删除;When the operation instruction is a delete instruction, the browser data corresponding to the delete instruction is completely deleted in the database table;

当操作指令为恢复指令时,将恢复指令对应的浏览器数据在数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, the identifier recorded in the database table of the browser data corresponding to the restoration instruction is changed to an undeleted identifier.

可选地,该装置还包括:Optionally, the device also includes:

数据管理模块,配置成根据浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与浏览器数据的类型对应的管理进程,在内容类型表中对浏览器数据进行管理。The data management module is configured to manage browser data in the content type table through a management process corresponding to the type of browser data according to the type of browser data, the deleted identifier, the time of deletion, and the information of the user performing deletion.

本发明实施例提供了一种浏览器数据的处理方法和装置,通过为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,并可依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复所述带已删除标识的浏览器数据,提供了一种对于浏览器数据的回收站机制,可通过浏览器回收站管理多种浏览器数据,使得用户方便管理(例如删除和恢复)已下载文件、书签信息、cookie信息、历史记录信息、搜索关键字信息、下拉列表信息等浏览器数据,便于用户操作,能够提升用户体验。The embodiment of the present invention provides a method and device for processing browser data. By adding a deleted mark to the browser data that has been deleted on the browser side, the browser data with the deleted mark is stored in the browser data. In the temporary storage unit on the browser side, and according to the operation instruction triggered by the browser side, delete or restore the browser data with the deleted mark from the temporary storage unit, providing a recycle bin mechanism for browser data , can manage a variety of browser data through the browser recycle bin, making it easy for users to manage (such as delete and restore) browser data such as downloaded files, bookmark information, cookie information, history information, search keyword information, drop-down list information, etc. , which is convenient for the user to operate and can improve the user experience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。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 is a flow chart of a method for processing browser data according to an embodiment of the present invention;

图2是根据本发明一个实施例的一种浏览器数据的具体处理方法流程图;Fig. 2 is a flow chart of a specific processing method of browser data according to an embodiment of the present invention;

图3是根据本发明一个实施例的对于内容类型表中的字段的定义方式示意图;Fig. 3 is a schematic diagram of a definition method for fields in a content type table according to an embodiment of the present invention;

图4是根据本发明一个实施例的内容类型列表的示意图;FIG. 4 is a schematic diagram of a content type list according to an embodiment of the present invention;

图5是根据本发明一个实施例的浏览器回收站的显示示意图;Fig. 5 is a schematic view showing a browser recycle bin according to an embodiment of the present invention;

图6是根据本发明一个实施例的一种浏览器数据的处理装置结构框图。Fig. 6 is a structural block diagram of a device for processing browser data according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应该被这里阐述的实施例所限制。相反,提供这些实施例是为了能够透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。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 to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure can be thoroughly understood, and will fully convey the scope of this disclosure to those skilled in the art.

实施例一Embodiment one

本发明实施例提供了一种浏览器数据的处理方法。该方法对浏览器数据的处理装置进行了改进。例如,本实施例中浏览器数据的处理装置可以为安装在能够浏览网页的客户端上的工具,其中,客户端可以为PC(Personal Computer,个人计算机),手机,手持电脑等用户终端。An embodiment of the present invention provides a browser data processing method. The method improves the browser data processing device. For example, the device for processing browser data in this embodiment may be a tool installed on a client capable of browsing webpages, where the client may be a user terminal such as a PC (Personal Computer, personal computer), a mobile phone, or a handheld computer.

图1是根据本发明一个实施例的一种浏览器数据的处理方法流程图,该方法包括步骤S102至S106。Fig. 1 is a flowchart of a method for processing browser data according to an embodiment of the present invention, the method includes steps S102 to S106.

S102,为浏览器侧进行了删除操作的浏览器数据加上一已删除标识。S102. Add a deleted mark to the browser data that has been deleted on the browser side.

S104,将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中。S104. Store the browser data with the deleted flag in a temporary storage unit on the browser side.

S106,依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复带已删除标识的浏览器数据。S106. Delete or restore the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side.

本发明实施例提供了一种浏览器数据的处理方法,通过为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,并可依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复所述带已删除标识的浏览器数据,提供了一种对于浏览器数据的回收站机制,可通过浏览器回收站管理多种浏览器数据,使得用户方便管理(例如删除和恢复)已下载文件、书签信息、cookie信息、历史记录信息、搜索关键字信息、下拉列表信息等浏览器数据,便于用户操作,能够提升用户体验。The embodiment of the present invention provides a browser data processing method, by adding a deleted mark to the browser data that has been deleted on the browser side, and storing the browser data with the deleted mark on the browser side In the temporary storage unit, and according to the operation instruction triggered by the browser side, the browser data with the deleted mark can be deleted or restored from the temporary storage unit, and a recycle bin mechanism for browser data can be provided. Manage a variety of browser data through the browser recycle bin, making it easy for users to manage (such as delete and restore) browser data such as downloaded files, bookmark information, cookie information, history information, search keyword information, drop-down list information, etc. User operations can improve user experience.

实施例二Embodiment two

本实施例为上述实施例一的一种具体应用场景,通过本实施例,能够更加清楚、具体地阐述本发明所提供的方法。This embodiment is a specific application scenario of the first embodiment above. Through this embodiment, the method provided by the present invention can be described more clearly and specifically.

本实施例二所提供的方法可以实现在浏览器中,例如可以通过浏览器插件或集成到浏览器的功能项中进行实现,将用户已删除的文件通过网页页面的形式展示给用户进行管理。The method provided in Embodiment 2 can be implemented in a browser, for example, through a browser plug-in or a function item integrated into the browser, and the deleted files of the user can be displayed to the user in the form of a web page for management.

图2是根据本发明一个实施例的一种浏览器数据的具体处理方法流程图,该方法包括步骤S201至S205。Fig. 2 is a flowchart of a specific method for processing browser data according to an embodiment of the present invention, the method includes steps S201 to S205.

首先,执行步骤S201,接收用户对浏览器数据的删除指令。First, step S201 is executed to receive a browser data deletion instruction from a user.

可选地,在本实施例中,浏览器数据可以包括:Optionally, in this embodiment, browser data may include:

已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息、浏览器插件等。Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information, browser plug-ins, etc.

在接收用户对浏览器数据的删除指令之后,通过步骤S202为进行了删除操作的浏览器数据加上一已删除标识。After receiving the user's deletion instruction on the browser data, a deleted mark is added to the deleted browser data through step S202.

需要说明的是,在浏览器中,对于不同类型的浏览器数据均有不同的保存机制,例如:It should be noted that in browsers, there are different storage mechanisms for different types of browser data, for example:

已下载文件,保存在浏览器指定的下载目录中;The downloaded file is saved in the download directory specified by the browser;

历史记录信息,保存在浏览器默认的数据库表中;History information, saved in the default database table of the browser;

浏览器插件可安装或卸载,在安装时即保存在浏览器的指定路径下,若被卸载,则将浏览器插件在指定路径下删减即可。The browser plug-in can be installed or uninstalled, and it is stored in the specified path of the browser when installed. If it is uninstalled, the browser plug-in can be deleted under the specified path.

因此,对于不同类型的浏览器数据在进行删除后,添加已删除标识的方式不同,例如:Therefore, after deletion of different types of browser data, the method of adding the deleted identifier is different, for example:

当浏览器数据为浏览器插件时,在浏览器安装插件的安装列表中,将浏览器侧进行了卸载操作的浏览器插件增加一删除标识,并将浏览器插件在其指定路径中删除,保存到预先创建的临时文件夹中。When the browser data is a browser plug-in, add a deletion mark to the browser plug-in that has been uninstalled on the browser side in the installation list of browser plug-ins, delete the browser plug-in in its specified path, and save to the pre-created temporary folder.

当浏览器数据为进行了删除操作的已下载文件时,将该已下载文件保存到指定位置(该指定位置用于保存临时删除了的已下载文件),并通过浏览器的下载进程为该已下载文件加上已删除标识。When the browser data is a downloaded file that has been deleted, save the downloaded file to a designated location (the designated location is used to save the downloaded file that has been temporarily deleted), and save the downloaded file through the download process of the browser. The downloaded file is marked as deleted.

当浏览器数据为历史记录信息时,通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识,其中,带有已删除标识的历史记录不显示在浏览器的历史记录显示窗口中。When the browser data is historical record information, the main process of the browser will add a deleted mark to the data of the deleted historical record, wherein, the historical record with the deleted mark will not be displayed in the history of the browser The record is displayed in the window.

当浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识。When the browser data is search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information, the main process of the browser will delete the search keyword information, search drop-down list information , most frequently visited information, bookmark information or cookie information plus a deleted mark.

其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.

S203,将带有已删除标识的浏览器数据保存在浏览器侧的临时存储单元中。S203. Save the browser data with the deleted flag in a temporary storage unit on the browser side.

其中,该临时存储单元可以为浏览器回收站。Wherein, the temporary storage unit may be a browser recycle bin.

本实施例中,带有已删除标识的浏览器数据也即被用户临时删除、置入回收站中的数据。对于浏览器数据的保存方式包括:In this embodiment, the browser data with the deleted flag is the data temporarily deleted by the user and put into the recycle bin. The storage methods of browser data include:

建立内容类型表,并在浏览器数据的类型对应的数据库表中修改该浏览器数据的标识。A content type table is established, and the identifier of the browser data is modified in the database table corresponding to the type of browser data.

其中,在浏览器中,对于每种类型的浏览器数据的保存方式不同,因此,需要建立统一的接口对于不同的浏览器数据进行管理。Wherein, in the browser, each type of browser data is stored in a different manner, therefore, a unified interface needs to be established to manage different browser data.

同时,对于每一种类型的浏览器数据,都需要一种机制将对删除的数据暂时存储。由于这些浏览器数据存储在用户数据文件夹下的不同数据库文件中,并不是存储在同一个数据库表中。为了统一浏览器回收站的数据入口,需要有一张回收站内容类型的表,它的并非是用来存储浏览器数据,而是将各种类型的浏览器数据关联起来,这样可以保证不打破现有的浏览器数据的存储方式。At the same time, for each type of browser data, a mechanism is needed to temporarily store the deleted data. Since these browser data are stored in different database files under the user data folder, they are not stored in the same database table. In order to unify the data entry of the browser recycle bin, it is necessary to have a table of the content type of the recycle bin. It is not used to store browser data, but to associate various types of browser data, so as to ensure that the current situation will not be broken. Some browser data storage methods.

在内容类型表中,记录有浏览器数据的类型、用于保存该种类型的浏览器数据的数据库表单或保存位置,以及可执行的操作指令对应的数据库语句。In the content type table, the type of browser data, the database form or storage location for saving this type of browser data, and the database statement corresponding to the executable operation instruction are recorded.

本实施还提供了图3,展示了对于内容类型表中的字段的定义方式。在图3中,Name中定义了内容类型表中所包括的字段,分别为Type、location、View_satament、del_satement和detail_satement。This implementation also provides Figure 3, which shows how to define the fields in the content type table. In Fig. 3, the fields included in the content type table are defined in Name, which are Type, location, View_satament, del_satement, and detail_satement.

其中,Type表示浏览器数据类型的类型名称;Among them, Type represents the type name of the browser data type;

Location表示该种类型的浏览器数据的保存的数据库表单或保存位置;Location indicates the saved database form or storage location of this type of browser data;

View_satament表示用于查看浏览器数据的数据库语句;View_satament represents the database statement used to view browser data;

del_satement表示用于删除浏览器数据的数据库语句;del_satement represents the database statement used to delete browser data;

detail_satement表示用于恢复浏览器数据的数据库语句。detail_satement represents the database statement used to restore browser data.

本实施还提供了图4,为内容类型列表的示意图。其中,download表示已下载文件,其保存位置为history/download,对于已下载文件可执行的操作对应的数据库语句分别为“select from****”、“delete from****”和“select from****”This implementation also provides FIG. 4 , which is a schematic diagram of a content type list. Among them, download means the downloaded file, and its storage location is history/download, and the database statements corresponding to the operations that can be performed on the downloaded file are "select from****", "delete from****" and "select from****”

Keyword表示搜索关键字信息,其保存位置为history/keyword_search,对于已下载文件可执行的操作对应的数据库语句分别为“select from****”、“delete from****”和“select from****”。Keyword indicates search keyword information, and its storage location is history/keyword_search. The database statements corresponding to the operations that can be performed on downloaded files are "select from****", "delete from****" and "select from ****".

History表示历史记录信息,其保存位置为“history/visit”,对于已下载文件可执行的操作对应的数据库语句分别为“select from****”、“delete from****”和“selectfrom****”。History represents historical record information, and its storage location is "history/visit". The database statements corresponding to the operations that can be performed on downloaded files are "select from****", "delete from****" and "selectfrom ****".

Bookmarks表示书签信息,其保存位置为“bookmarks/bookmark”,对于已下载文件可执行的操作对应的数据库语句分别为“select from****”、“delete from****”和“select from****”。Bookmarks represents bookmark information, and its storage location is "bookmarks/bookmark". The database statements corresponding to the operations that can be performed on downloaded files are "select from****", "delete from****" and "select from ****".

具体地,上述数据库语句可以为spl语句,对每一个类型的浏览器数据的操作sql语句,包括查询、删除、恢复,每次对浏览器回收站中数据进行操作时,会调用响应的sql命令,并将选中的记录作为参数传入,最终执行响应的数据库操作语句,对各自类型的数据库数据进行更改。Specifically, the above-mentioned database statement can be an spl statement, and the operation sql statement for each type of browser data, including query, deletion, and recovery, will call the corresponding sql command every time the data in the browser recycle bin is operated , and pass in the selected record as a parameter, and finally execute the corresponding database operation statement to change the respective types of database data.

对于执行了删除操作的浏览器数据,需要通过对应的数据库表中修改其标识。For browser data that has been deleted, its identifier needs to be modified in the corresponding database table.

进一步地,为了不影响现有的浏览器数据的保存方式,本发明采用对现有的数据库表进行扩展的方式对于执行了删除操作的浏览器数据增加删除标识,具体方式可以为:Further, in order not to affect the existing browser data storage method, the present invention adopts the method of extending the existing database table to add a deletion mark to the browser data that has been deleted. The specific method can be:

在现有的数据库表中增加一个字段,该字段用于标识对应的浏览器数据是否被临时删除。A field is added to the existing database table, and the field is used to identify whether the corresponding browser data is temporarily deleted.

例如,可以增加字段“recycle”,当该字段为0时,表示对应的浏览器数据为正常状态,当该字段为1时,表示对应的浏览器数据为临时删除状态。For example, a field "recycle" may be added. When the field is 0, it indicates that the corresponding browser data is in a normal state; when the field is 1, it indicates that the corresponding browser data is in a temporary deletion state.

以浏览器数据为已下载文件为例,当浏览器显示用户已下载的文件时,浏览器下载进程会首先读取用于记录已下载文件信息的数据库表,当字段“recycle”为0时,则正常显示,而对于“recycle”为1时,则不显示。Take the browser data as downloaded files as an example. When the browser displays the files downloaded by the user, the browser download process will first read the database table used to record the downloaded file information. When the field "recycle" is 0, It is displayed normally, but when "recycle" is 1, it is not displayed.

同时,对于特殊类型的浏览器数据,例如浏览器插件,本实施例还包括将浏览器数据的安装包文件的路径、卸载时间、卸载版本记录记录在对应的数据库表中。At the same time, for special types of browser data, such as browser plug-ins, this embodiment also includes recording the path of the browser data installation package file, uninstallation time, and uninstallation version records in the corresponding database table.

接着,执行步骤S204,接收用户发出的查看已删除的浏览器数据的请求,显示带有已删除标识的浏览器数据。Next, step S204 is executed, receiving a request from the user to view deleted browser data, and displaying the browser data with a deleted mark.

其中,对于查看已删除的浏览器数据,可通过内容类型表进行实现,调用内容类型表中的所有查看浏览器数据的数据库语句,即可查询得到所有已删除的浏览器数据。Among them, viewing deleted browser data can be realized through the content type table, and all deleted browser data can be queried by calling all database statements for viewing browser data in the content type table.

可选地,步骤S204在显示带有已删除标识的浏览器数据时,可以通过如下方式进行:Optionally, step S204 may be performed in the following manner when displaying the browser data with the deleted identifier:

首先,根据内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;First, according to the storage location of the browser data recorded in the content type table, the database table corresponding to each browser data is searched;

之后,将数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。Afterwards, the browser data marked as deleted in the database table is extracted and displayed on the browser side.

例如,对于已下载文件,即通过数据库语句查询“history/download”下所有的字段“recycle”被标记为“1”的已下载文件的信息,并显示在浏览器回收站的页面中。For example, for downloaded files, query the information of all downloaded files whose field "recycle" under "history/download" is marked as "1" through database statements, and display them on the page of the browser's recycle bin.

本实施还提供了图5,展示了浏览器回收站的显示示意图。其中,用户通过该页面可以查看到所有被删除的浏览器数据的信息,并可执行查看、删除、恢复和情况的操作。This implementation also provides Figure 5, which shows a schematic diagram of displaying the browser's recycle bin. Among them, users can view all deleted browser data information through this page, and can perform operations of viewing, deleting, restoring and status.

最后,执行步骤S205,依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复带已删除标识的浏览器数据。Finally, step S205 is executed to delete or restore the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side.

可选地,在步骤S205中,当触发的指令不同时,其后续的操作也会不同,具体可以包括:Optionally, in step S205, when the triggered instruction is different, its subsequent operations will also be different, which may specifically include:

当操作指令为删除指令时,将删除指令对应的浏览器数据在数据库表中彻底删除;When the operation instruction is a delete instruction, the browser data corresponding to the delete instruction is completely deleted in the database table;

当操作指令为恢复指令时,将恢复指令对应的浏览器数据在数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, the identifier recorded in the database table of the browser data corresponding to the restoration instruction is changed to an undeleted identifier.

需要说明的是,当用户选择恢复浏览器插件时,步骤S205还可以通过如下方式进行:It should be noted that when the user chooses to restore the browser plug-in, step S205 can also be performed in the following manner:

根据浏览器插件的版本信息,在服务器上获取最新版本的浏览器插件和相关推荐信息,并重新安装最新版本的浏览器插件。Obtain the latest version of the browser plug-in and related recommendation information on the server according to the version information of the browser plug-in, and reinstall the latest version of the browser plug-in.

需要说明的是,在本发明实施例中,对于不同的类型的浏览器数据,可以通过不同的浏览器进行管理,以内容类型表作为统一的管理接口,具体为:It should be noted that, in the embodiment of the present invention, different types of browser data can be managed through different browsers, and the content type table is used as a unified management interface, specifically:

根据浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与浏览器数据的类型对应的管理进程,在内容类型表中对浏览器数据进行管理。According to the type of browser data, the deleted identifier, the time of deletion, and the information of the user performing the deletion, the browser data is managed in the content type table through the management process corresponding to the type of browser data.

例如:对于已下载文件,通过浏览器的下载进程进行管理;对于历史记录信息,通过浏览器主进程进行管理;对于浏览器插件,通过浏览器的插件进程进行管理等。For example: for downloaded files, it is managed through the download process of the browser; for historical record information, it is managed through the main process of the browser; for browser plug-ins, it is managed through the plug-in process of the browser, etc.

本发明实施例提供了一种浏览器数据的处理方法,通过为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,并可依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复所述带已删除标识的浏览器数据,提供了一种对于浏览器数据的回收站机制,可通过浏览器回收站管理多种浏览器数据,使得用户方便管理(例如删除和恢复)已下载文件、书签信息、cookie信息、历史记录信息、搜索关键字信息、下拉列表信息等浏览器数据,便于用户操作,能够提升用户体验。The embodiment of the present invention provides a browser data processing method, by adding a deleted mark to the browser data that has been deleted on the browser side, and storing the browser data with the deleted mark on the browser side In the temporary storage unit, and according to the operation instruction triggered by the browser side, the browser data with the deleted mark can be deleted or restored from the temporary storage unit, and a recycle bin mechanism for browser data can be provided. Manage a variety of browser data through the browser recycle bin, making it easy for users to manage (such as delete and restore) browser data such as downloaded files, bookmark information, cookie information, history information, search keyword information, drop-down list information, etc. User operations can improve user experience.

实施例三Embodiment three

图6是本发明一个实施例提供的一种浏览器数据的处理装置结构框图,该装置600包括:FIG. 6 is a structural block diagram of a device for processing browser data provided by an embodiment of the present invention. The device 600 includes:

标识添加模块601,配置成为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;The identification adding module 601 is configured to add a deleted identification to the browser data that has been deleted on the browser side;

数据存储模块602,配置成将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;The data storage module 602 is configured to store the browser data with the deleted flag in a temporary storage unit on the browser side;

指令执行模块603,配置成依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复带已删除标识的浏览器数据。The instruction execution module 603 is configured to delete or restore the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side.

可选地,浏览器数据包括:Optionally, browser data includes:

已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息。Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information.

可选地,浏览器数据为浏览器插件;Optionally, the browser data is a browser plug-in;

相应地,标识添加模块601还配置成在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;Correspondingly, the identification adding module 601 is also configured to add a deleted identification for the browser plug-in that has been uninstalled on the browser side in the installation list of the browser plug-in installation;

数据存储模块602还配置成将带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;The data storage module 602 is also configured to record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted flag in the temporary storage unit;

指令执行模块603还配置成:The instruction execution module 603 is also configured to:

接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;

接收服务器发送的与浏览器插件对应的最新版本的插件和推荐信息,并安装最新版本的插件。Receive the latest version of the plug-in and recommendation information corresponding to the browser plug-in sent by the server, and install the latest version of the plug-in.

可选地,当浏览器数据为已下载文件时,标识添加模块601还配置成将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为已下载文件加上一已删除标识;Optionally, when the browser data is a downloaded file, the identification adding module 601 is also configured to save the downloaded file that has been deleted on the browser side to a specified location, and add the downloaded file to the downloaded file through the download process of the browser. last deleted flag;

指令执行模块603还配置成依据浏览器侧触发的删除指令,从临时存储单元中删除带已删除标识的已下载文件,并将已下载文件从指定位置删除。The instruction execution module 603 is further configured to delete the downloaded file with the deleted flag from the temporary storage unit according to the deletion instruction triggered by the browser, and delete the downloaded file from the specified location.

可选地,当浏览器数据为历史记录信息时,标识添加模块601还配置成通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;Optionally, when the browser data is historical record information, the identification adding module 601 is also configured to add a deleted identification to the data of the historical records that have been deleted through the main process of the browser;

其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.

可选地,当浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,标识添加模块601还配置成通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;Optionally, when the browser data is search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information, the identification adding module 601 is also configured to delete the Search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information plus a deleted mark;

其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.

可选地,数据存储模块602配置成建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;Optionally, the data storage module 602 is configured to establish a content type table, and record in the content type table the database tables saved by each type of browser data, and the database statements corresponding to the executable operation instructions;

其中,在数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, the database table stores at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion.

可选地,该装置600还包括:Optionally, the device 600 also includes:

显示模块604,配置成在将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,接收用户发出的查看已删除的浏览器数据的请求,显示带有已删除标识的浏览器数据。The display module 604 is configured to, after storing the browser data with the deleted logo in the temporary storage unit on the browser side, receive a request from the user to view the deleted browser data, and display the browser data with the deleted logo. browser data.

可选地,显示模块604配置成按照如下方式显示带有已删除标识的浏览器数据:Optionally, the display module 604 is configured to display the browser data with the deleted flag in the following manner:

根据内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, the database table corresponding to each browser data is searched;

将数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.

可选地,指令执行模块603配置成:Optionally, the instruction execution module 603 is configured to:

当操作指令为删除指令时,将删除指令对应的浏览器数据在数据库表中彻底删除;When the operation instruction is a delete instruction, the browser data corresponding to the delete instruction is completely deleted in the database table;

当操作指令为恢复指令时,将恢复指令对应的浏览器数据在数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, the identifier recorded in the database table of the browser data corresponding to the restoration instruction is changed to an undeleted identifier.

可选地,该装置600还包括:Optionally, the device 600 also includes:

数据管理模块605,配置成根据浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与浏览器数据的类型对应的管理进程,在内容类型表中对浏览器数据进行管理。The data management module 605 is configured to manage the browser data in the content type table through a management process corresponding to the type of the browser data according to the type of the browser data, the deleted identifier, the deletion time, and the information of the user performing the deletion .

本发明实施例提供了一种浏览器数据的处理装置,通过为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,将带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,并可依据浏览器侧触发的操作指令,从临时存储单元中删除或恢复所述带已删除标识的浏览器数据,提供了一种对于浏览器数据的回收站机制,可通过浏览器回收站管理多种浏览器数据,使得用户方便管理(例如删除和恢复)已下载文件、书签信息、cookie信息、历史记录信息、搜索关键字信息、下拉列表信息等浏览器数据,便于用户操作,能够提升用户体验。The embodiment of the present invention provides a browser data processing device, by adding a deleted mark to the browser data that has been deleted on the browser side, and storing the browser data with the deleted mark on the browser side In the temporary storage unit, and according to the operation instruction triggered by the browser side, the browser data with the deleted mark can be deleted or restored from the temporary storage unit, and a recycle bin mechanism for browser data can be provided. Manage a variety of browser data through the browser recycle bin, making it easy for users to manage (such as delete and restore) browser data such as downloaded files, bookmark information, cookie information, history information, search keyword information, drop-down list information, etc. User operations can improve user experience.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。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), as well as 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 claims, any one of the claimed embodiments can 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) may be used in practice to implement some or all functions of some or all components in the device for processing browser data according to the embodiment of the present invention. 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.

至此,本领域技术人员应认识到,虽然本文已详尽示出和描述了本发明的多个示例性实施例,但是,在不脱离本发明精神和范围的情况下,仍可根据本发明公开的内容直接确定或推导出符合本发明原理的许多其他变型或修改。因此,本发明的范围应被理解和认定为覆盖了所有这些其他变型或修改。So far, those skilled in the art should appreciate that, although a number of exemplary embodiments of the present invention have been shown and described in detail herein, without departing from the spirit and scope of the present invention, the disclosed embodiments of the present invention can still be used. Many other variations or modifications consistent with the principles of the invention are directly identified or derived from the content. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

本发明实施例揭示了A1.一种浏览器数据的处理方法,包括:The embodiment of the present invention discloses A1. A processing method of browser data, comprising:

为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;Add a deleted mark to the browser data that has been deleted on the browser side;

将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;storing the browser data with the deleted flag in a temporary storage unit on the browser side;

依据浏览器侧触发的操作指令,从所述临时存储单元中删除或恢复所述带已删除标识的浏览器数据。The browser data with the deleted flag is deleted or restored from the temporary storage unit according to the operation instruction triggered by the browser side.

A2.根据A1所述的方法,其中,所述浏览器数据包括:A2. The method according to A1, wherein the browser data includes:

已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息。Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information.

A3.根据A1或A2所述的方法,其中,所述浏览器数据为浏览器插件;A3. The method according to A1 or A2, wherein the browser data is a browser plug-in;

相应地,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:Correspondingly, adding a deleted mark to the browser data that has been deleted on the browser side includes:

在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;In the installation list of browser plug-ins, add a deleted mark for the browser plug-ins that have been uninstalled on the browser side;

将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,包括:Storing the browser data with the deleted identifier in a temporary storage unit on the browser side, including:

将所述带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;Record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted logo in the temporary storage unit;

依据浏览器侧触发的操作指令,从所述临时存储单元中恢复所述带已删除标识的浏览器数据,包括:Recovering the browser data with the deleted logo from the temporary storage unit according to the operation instruction triggered by the browser side, including:

接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;

接收服务器发送的与所述浏览器插件对应的最新版本的插件和推荐信息,并安装所述最新版本的插件。receiving the latest version of the plug-in corresponding to the browser plug-in and recommendation information sent by the server, and installing the latest version of the plug-in.

A4.根据A2所述的方法,其中,当所述浏览器数据为已下载文件时,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:A4. The method according to A2, wherein, when the browser data is a downloaded file, adding a deleted mark to the browser data that has been deleted on the browser side includes:

将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为所述已下载文件加上一已删除标识;Save the downloaded file that has been deleted on the browser side to a designated location, and add a deleted mark to the downloaded file through the download process of the browser;

依据浏览器侧触发的操作指令,从所述临时存储单元中删除所述带已删除标识的浏览器数据,包括:According to the operation instruction triggered by the browser side, delete the browser data with the deleted mark from the temporary storage unit, including:

依据浏览器侧触发的删除指令,从所述临时存储单元中删除所述带已删除标识的已下载文件,并将所述已下载文件从所述指定位置删除。The downloaded file with the deleted flag is deleted from the temporary storage unit according to the deletion command triggered by the browser, and the downloaded file is deleted from the specified location.

A5.根据A2所述的方法,其中,当所述浏览器数据为历史记录信息时,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:A5. The method according to A2, wherein, when the browser data is historical record information, adding a deleted mark to the browser data that has been deleted on the browser side includes:

通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;Through the main process of the browser, add a deleted mark to the data of the historical record that has been deleted;

其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.

A6.根据A2所述的方法,其中,当所述浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:A6. The method according to A2, wherein, when the browser data is search keyword information, searched drop-down list information, most frequently accessed information, bookmark information or cookie information, the browser side has been deleted Manipulated browser data plus a deleted flag, including:

通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;Add a deleted mark to the search keyword information, search drop-down list information, most frequently accessed information, bookmark information or cookie information that have been deleted through the main process of the browser;

其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.

A7.根据A1至A6任一项所述的方法,其中,所述临时存储单元对浏览器数据的存储方式包括:A7. The method according to any one of A1 to A6, wherein the storage method of the browser data by the temporary storage unit includes:

建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;Establish a content type table, and record in the content type table the database table where each type of browser data is saved, and the database statement corresponding to the executable operation instruction;

其中,在所述数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion are stored in the database table.

A8.根据A7所述的方法,其中,在将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,还包括:A8. The method according to A7, wherein, after storing the browser data with the deleted identifier in the temporary storage unit on the browser side, further comprising:

接收用户发出的查看已删除的浏览器数据的请求,显示所述带有已删除标识的浏览器数据。Receive a request from the user to view deleted browser data, and display the browser data with a deleted identifier.

A9.根据A8所述的方法,其中,显示所述带有已删除标识的浏览器数据,包括:A9. The method according to A8, wherein displaying the browser data with the deleted logo includes:

根据所述内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, search for the corresponding database table of each browser data;

将所述数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.

A10.根据A7所述的方法,其中,所述依据浏览器侧触发的操作指令,从所述临时存储单元中删除或恢复所述带已删除标识的浏览器数据,包括:A10. The method according to A7, wherein, according to the operation instruction triggered by the browser side, deleting or restoring the browser data with the deleted logo from the temporary storage unit includes:

当所述操作指令为删除指令时,将所述删除指令对应的浏览器数据在所述数据库表中彻底删除;When the operation instruction is a deletion instruction, completely delete the browser data corresponding to the deletion instruction in the database table;

当所述操作指令为恢复指令时,将所述恢复指令对应的浏览器数据在所述数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, modify the identifier recorded in the database table of the browser data corresponding to the restoration instruction to an undeleted identifier.

A11.根据A7所述的方法,其中,还包括:A11. The method according to A7, further comprising:

根据所述浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与所述浏览器数据的类型对应的管理进程,在所述内容类型表中对所述浏览器数据进行管理。According to the type of the browser data, the deleted identifier, the time of deletion, and the information of the user performing the deletion, through the management process corresponding to the type of the browser data, the browser data is stored in the content type table. manage.

本发明实施例揭示了B12.一种浏览器数据的处理装置,包括:The embodiment of the present invention discloses B12. A processing device for browser data, comprising:

标识添加模块,配置成为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;The identification adding module is configured to add a deleted identification to the browser data that has been deleted on the browser side;

数据存储模块,配置成将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;A data storage module configured to store the browser data with the deleted flag in a temporary storage unit on the browser side;

指令执行模块,配置成依据浏览器侧触发的操作指令,从所述临时存储单元中删除或恢复所述带已删除标识的浏览器数据。The instruction execution module is configured to delete or restore the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side.

B13.根据B12所述的装置,其中,所述浏览器数据包括:B13. The device according to B12, wherein the browser data includes:

已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息。Downloaded files, historical record information, search keyword information, drop-down list information, historical visit information, bookmark information, cookie information.

B14.根据B12或B13所述的装置,其中,所述浏览器数据为浏览器插件;B14. The device according to B12 or B13, wherein the browser data is a browser plug-in;

相应地,所述标识添加模块还配置成在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;Correspondingly, the identification adding module is also configured to add a deleted identification for the browser plug-in that has been uninstalled on the browser side in the installation list of the browser installed plug-in;

数据存储模块还配置成将所述带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;The data storage module is also configured to record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted logo in the temporary storage unit;

所述指令执行模块还配置成:The instruction execution module is also configured to:

接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;

接收服务器发送的与所述浏览器插件对应的最新版本的插件和推荐信息,并安装所述最新版本的插件。receiving the latest version of the plug-in corresponding to the browser plug-in and recommendation information sent by the server, and installing the latest version of the plug-in.

B15.根据B13所述的装置,其中,当所述浏览器数据为已下载文件时,所述标识添加模块还配置成将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为所述已下载文件加上一已删除标识;B15. The device according to B13, wherein, when the browser data is a downloaded file, the identification adding module is also configured to save the downloaded file that has been deleted on the browser side to a specified location, and pass The download process of the browser adds a deleted mark to the downloaded file;

所述指令执行模块还配置成依据浏览器侧触发的删除指令,从所述临时存储单元中删除所述带已删除标识的已下载文件,并将所述已下载文件从所述指定位置删除。The instruction execution module is further configured to delete the downloaded file with the deleted flag from the temporary storage unit according to the deletion instruction triggered by the browser, and delete the downloaded file from the specified location.

B16.根据B13所述的装置,其中,当所述浏览器数据为历史记录信息时,所述标识添加模块还配置成通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;B16. The device according to B13, wherein, when the browser data is historical record information, the identification addition module is also configured to add a value to the data of the historical record that has been deleted through the main process of the browser The logo has been removed;

其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.

B17.根据B13所述的装置,其中,当所述浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,所述标识添加模块还配置成通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;B17. The device according to B13, wherein, when the browser data is search keyword information, searched drop-down list information, most frequently visited information, bookmark information or cookie information, the identification adding module is also configured to pass The main process of the browser adds a deleted mark to the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information that have been deleted;

其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.

B18.根据B12至B17任一项所述的装置,其中,所述数据存储模块配置成建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;B18. The device according to any one of B12 to B17, wherein the data storage module is configured to establish a content type table, and record in the content type table the database table saved by each type of browser data, and can The database statement corresponding to the executed operation instruction;

其中,在所述数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion are stored in the database table.

B19.根据B18所述的装置,其中,所述装置还包括:B19. The device according to B18, wherein the device further comprises:

显示模块,配置成在将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,接收用户发出的查看已删除的浏览器数据的请求,显示所述带有已删除标识的浏览器数据。The display module is configured to, after storing the browser data with the deleted flag in the temporary storage unit on the browser side, receive a request from the user to view the deleted browser data, and display the browser data with the deleted flag. Delete identified browser data.

B20.根据B19所述的装置,其中,所述显示模块配置成按照如下方式显示所述带有已删除标识的浏览器数据:B20. The device according to B19, wherein the display module is configured to display the browser data with the deleted mark as follows:

根据所述内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, search for the corresponding database table of each browser data;

将所述数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.

B21.根据B18所述的装置,其中,所述指令执行模块配置成:B21. The device according to B18, wherein the instruction execution module is configured to:

当所述操作指令为删除指令时,将所述删除指令对应的浏览器数据在所述数据库表中彻底删除;When the operation instruction is a deletion instruction, completely delete the browser data corresponding to the deletion instruction in the database table;

当所述操作指令为恢复指令时,将所述恢复指令对应的浏览器数据在所述数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, modify the identifier recorded in the database table of the browser data corresponding to the restoration instruction to an undeleted identifier.

B22.根据B18所述的装置,其中,所述装置还包括:B22. The device according to B18, wherein the device further comprises:

数据管理模块,配置成根据所述浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与所述浏览器数据的类型对应的管理进程,在所述内容类型表中对所述浏览器数据进行管理。The data management module is configured to, according to the type of the browser data, the deleted identifier, the deletion time, and the information of the user performing the deletion, through a management process corresponding to the type of the browser data, in the content type table The browser data is managed.

Claims (18)

Translated fromChinese
1.一种浏览器数据的处理方法,包括:1. A method for processing browser data, comprising:为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;Add a deleted mark to the browser data that has been deleted on the browser side;将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;storing the browser data with the deleted flag in a temporary storage unit on the browser side;依据浏览器侧触发的操作指令,从所述临时存储单元中删除或恢复所述带已删除标识的浏览器数据;Deleting or restoring the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side;其中,所述浏览器数据包括以下至少之一:Wherein, the browser data includes at least one of the following:已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息、浏览器插件;Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information, browser plug-ins;其中,所述临时存储单元对浏览器数据的存储方式包括:建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;Wherein, the storage method of the browser data by the temporary storage unit includes: establishing a content type table, and recording in the content type table the database table saved by each type of browser data, and the database table corresponding to the executable operation instruction statement;其中,在所述数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion are stored in the database table.2.根据权利要求1所述的方法,其中,所述浏览器数据为浏览器插件;2. The method according to claim 1, wherein the browser data is a browser plug-in;相应地,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:Correspondingly, adding a deleted mark to the browser data that has been deleted on the browser side includes:在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;In the installation list of browser plug-ins, add a deleted mark for the browser plug-ins that have been uninstalled on the browser side;将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中,包括:Storing the browser data with the deleted identifier in a temporary storage unit on the browser side, including:将所述带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;Record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted logo in the temporary storage unit;依据浏览器侧触发的操作指令,从所述临时存储单元中恢复所述带已删除标识的浏览器数据,包括:Recovering the browser data with the deleted logo from the temporary storage unit according to the operation instruction triggered by the browser side, including:接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;接收服务器发送的与所述浏览器插件对应的最新版本的插件和推荐信息,并安装所述最新版本的插件。receiving the latest version of the plug-in corresponding to the browser plug-in and recommendation information sent by the server, and installing the latest version of the plug-in.3.根据权利要求1所述的方法,其中,当所述浏览器数据为已下载文件时,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:3. The method according to claim 1, wherein, when the browser data is a downloaded file, adding a deleted mark to the browser data that has been deleted on the browser side includes:将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为所述已下载文件加上一已删除标识;Save the downloaded file that has been deleted on the browser side to a designated location, and add a deleted mark to the downloaded file through the download process of the browser;依据浏览器侧触发的操作指令,从所述临时存储单元中删除所述带已删除标识的浏览器数据,包括:According to the operation instruction triggered by the browser side, delete the browser data with the deleted mark from the temporary storage unit, including:依据浏览器侧触发的删除指令,从所述临时存储单元中删除所述带已删除标识的已下载文件,并将所述已下载文件从所述指定位置删除。The downloaded file with the deleted flag is deleted from the temporary storage unit according to the deletion command triggered by the browser, and the downloaded file is deleted from the specified location.4.根据权利要求1所述的方法,其中,当所述浏览器数据为历史记录信息时,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:4. The method according to claim 1, wherein, when the browser data is historical record information, adding a deleted mark to the browser data that has been deleted on the browser side includes:通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;Through the main process of the browser, add a deleted mark to the data of the historical record that has been deleted;其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.5.根据权利要求1所述的方法,其中,当所述浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,所述为浏览器侧进行了删除操作的浏览器数据加上一已删除标识,包括:5. The method according to claim 1, wherein, when the browser data is search keyword information, searched drop-down list information, most frequently accessed information, bookmark information or cookie information, the browser side The browser data that has been deleted is marked with a deleted mark, including:通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;Add a deleted mark to the search keyword information, search drop-down list information, most frequently accessed information, bookmark information or cookie information that have been deleted through the main process of the browser;其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.6.根据权利要求1所述的方法,其中,在将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,还包括:6. The method according to claim 1, wherein, after storing the browser data with the deleted identifier in the temporary storage unit on the browser side, further comprising:接收用户发出的查看已删除的浏览器数据的请求,显示所述带有已删除标识的浏览器数据。Receive a request from the user to view deleted browser data, and display the browser data with a deleted identifier.7.根据权利要求6所述的方法,其中,显示所述带有已删除标识的浏览器数据,包括:7. The method according to claim 6, wherein displaying the browser data with the deleted flag comprises:根据所述内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, search for the corresponding database table of each browser data;将所述数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.8.根据权利要求7所述的方法,其中,所述依据浏览器侧触发的操作指令,从所述临时存储单元中删除或恢复所述带已删除标识的浏览器数据,包括:8. The method according to claim 7, wherein the deleting or restoring the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side comprises:当所述操作指令为删除指令时,将所述删除指令对应的浏览器数据在所述数据库表中彻底删除;When the operation instruction is a deletion instruction, completely delete the browser data corresponding to the deletion instruction in the database table;当所述操作指令为恢复指令时,将所述恢复指令对应的浏览器数据在所述数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, modify the identifier recorded in the database table of the browser data corresponding to the restoration instruction to an undeleted identifier.9.根据权利要求1所述的方法,其中,还包括:9. The method of claim 1, further comprising:根据所述浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与所述浏览器数据的类型对应的管理进程,在所述内容类型表中对所述浏览器数据进行管理。According to the type of the browser data, the deleted identifier, the time of deletion, and the information of the user performing the deletion, through the management process corresponding to the type of the browser data, the browser data is stored in the content type table. manage.10.一种浏览器数据的处理装置,包括:10. A browser data processing device, comprising:标识添加模块,配置成为浏览器侧进行了删除操作的浏览器数据加上一已删除标识;The identification adding module is configured to add a deleted identification to the browser data that has been deleted on the browser side;数据存储模块,配置成将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中;A data storage module configured to store the browser data with the deleted flag in a temporary storage unit on the browser side;指令执行模块,配置成依据浏览器侧触发的操作指令,从所述临时存储单元中删除或恢复所述带已删除标识的浏览器数据;The instruction execution module is configured to delete or restore the browser data with the deleted flag from the temporary storage unit according to the operation instruction triggered by the browser side;其中,所述浏览器数据包括以下至少之一:Wherein, the browser data includes at least one of the following:已下载文件、历史记录信息、搜索关键字信息、下拉列表信息、历史访问信息、书签信息、cookie信息、浏览器插件;Downloaded files, historical record information, search keyword information, drop-down list information, historical access information, bookmark information, cookie information, browser plug-ins;所述数据存储模块还配置成建立内容类型表,并在内容类型表中记录每个类型的浏览器数据所保存的数据库表,以及可执行的操作指令对应的数据库语句;The data storage module is also configured to establish a content type table, and record in the content type table the database table saved by each type of browser data, and the database statement corresponding to the executable operation instruction;其中,在所述数据库表中至少存储带有已删除标识的浏览器数据的标识、删除时间、执行删除的用户信息。Wherein, at least the identifier of the browser data with the deleted identifier, the deletion time, and the information of the user who executes the deletion are stored in the database table.11.根据权利要求10所述的装置,其中,所述浏览器数据为浏览器插件;11. The device according to claim 10, wherein the browser data is a browser plug-in;相应地,所述标识添加模块还配置成在浏览器安装插件的安装列表中,为浏览器侧进行了卸载操作的浏览器插件增加一已删除标识;Correspondingly, the identification adding module is also configured to add a deleted identification for the browser plug-in that has been uninstalled on the browser side in the installation list of the browser installed plug-in;数据存储模块还配置成将所述带有已删除标识的浏览器插件安装包文件的路径、卸载时间、卸载版本记录并展示在临时存储单元中;The data storage module is also configured to record and display the path, uninstall time, and uninstall version of the browser plug-in installation package file with the deleted logo in the temporary storage unit;所述指令执行模块还配置成:The instruction execution module is also configured to:接收浏览器侧触发的恢复指令;Receive the recovery command triggered by the browser side;接收服务器发送的与所述浏览器插件对应的最新版本的插件和推荐信息,并安装所述最新版本的插件。receiving the latest version of the plug-in corresponding to the browser plug-in and recommendation information sent by the server, and installing the latest version of the plug-in.12.根据权利要求10所述的装置,其中,当所述浏览器数据为已下载文件时,所述标识添加模块还配置成将浏览器侧进行了删除操作的已下载文件保存到指定位置,并通过浏览器的下载进程为所述已下载文件加上一已删除标识;12. The device according to claim 10, wherein, when the browser data is a downloaded file, the identification adding module is further configured to save the downloaded file that has been deleted on the browser side to a specified location, And add a deleted mark to the downloaded file through the download process of the browser;所述指令执行模块还配置成依据浏览器侧触发的删除指令,从所述临时存储单元中删除所述带已删除标识的已下载文件,并将所述已下载文件从所述指定位置删除。The instruction execution module is further configured to delete the downloaded file with the deleted flag from the temporary storage unit according to the deletion instruction triggered by the browser, and delete the downloaded file from the specified location.13.根据权利要求10所述的装置,其中,当所述浏览器数据为历史记录信息时,所述标识添加模块还配置成通过浏览器的主进程将进行了删除操作的历史记录的数据加上一已删除标识;13. The device according to claim 10, wherein, when the browser data is historical record information, the identification adding module is further configured to add the data of the historical record that has been deleted through the main process of the browser. last deleted flag;其中,对于带有删除标识的历史记录的数据不显示在浏览器的历史记录显示窗口。Among them, the data of the historical record with the deletion mark is not displayed in the browser's historical record display window.14.根据权利要求10所述的装置,其中,当所述浏览器数据为搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息时,所述标识添加模块还配置成通过浏览器的主进程将进行了删除操作的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息加上一已删除标识;14. The device according to claim 10, wherein, when the browser data is search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information, the identification adding module is further configured Add a deleted mark to the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information through the main process of the browser;其中,对于带有删除标识的搜索关键字信息、搜索的下拉列表信息、最常访问信息、书签信息或cookie信息不再显示在浏览器侧的个人数据中。Among them, the search keyword information, search drop-down list information, most frequently visited information, bookmark information or cookie information with the deletion mark will no longer be displayed in the personal data on the browser side.15.根据权利要求10所述的装置,其中,所述装置还包括:15. The apparatus of claim 10, wherein the apparatus further comprises:显示模块,配置成在将所述带有已删除标识的浏览器数据存储在浏览器侧的临时存储单元中之后,接收用户发出的查看已删除的浏览器数据的请求,显示所述带有已删除标识的浏览器数据。The display module is configured to, after storing the browser data with the deleted flag in the temporary storage unit on the browser side, receive a request from the user to view the deleted browser data, and display the browser data with the deleted flag. Delete identified browser data.16.根据权利要求15所述的装置,其中,所述显示模块配置成按照如下方式显示所述带有已删除标识的浏览器数据:16. The apparatus according to claim 15, wherein the display module is configured to display the browser data with the deleted flag in the following manner:根据所述内容类型表记录的浏览器数据的存储位置,查找各浏览器数据所对应的数据库表;According to the storage location of the browser data recorded in the content type table, search for the corresponding database table of each browser data;将所述数据库表中标识为已删除标识的浏览器数据提取并显示在浏览器侧。The browser data marked as deleted in the database table is extracted and displayed on the browser side.17.根据权利要求10所述的装置,其中,所述指令执行模块配置成:17. The apparatus of claim 10, wherein the instruction execution module is configured to:当所述操作指令为删除指令时,将所述删除指令对应的浏览器数据在所述数据库表中彻底删除;When the operation instruction is a deletion instruction, completely delete the browser data corresponding to the deletion instruction in the database table;当所述操作指令为恢复指令时,将所述恢复指令对应的浏览器数据在所述数据库表中记录的标识修改为未删除标识。When the operation instruction is a restoration instruction, modify the identifier recorded in the database table of the browser data corresponding to the restoration instruction to an undeleted identifier.18.根据权利要求10所述的装置,其中,所述装置还包括:18. The apparatus of claim 10, wherein the apparatus further comprises:数据管理模块,配置成根据所述浏览器数据的类型、已删除标识、删除时间、执行删除的用户信息,通过与所述浏览器数据的类型对应的管理进程,在所述内容类型表中对所述浏览器数据进行管理。The data management module is configured to, according to the type of the browser data, the deleted identifier, the deletion time, and the information of the user performing the deletion, through a management process corresponding to the type of the browser data, in the content type table The browser data is managed.
CN201310706575.0A2013-12-192013-12-19Browser data processing method and deviceActiveCN103699624B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310706575.0ACN103699624B (en)2013-12-192013-12-19Browser data processing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310706575.0ACN103699624B (en)2013-12-192013-12-19Browser data processing method and device

Publications (2)

Publication NumberPublication Date
CN103699624A CN103699624A (en)2014-04-02
CN103699624Btrue CN103699624B (en)2017-05-10

Family

ID=50361152

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310706575.0AActiveCN103699624B (en)2013-12-192013-12-19Browser data processing method and device

Country Status (1)

CountryLink
CN (1)CN103699624B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20160026244A (en)*2014-08-292016-03-09엘지전자 주식회사Mobile terminal and deleted information managing method thereof
CN104268198B (en)*2014-09-222018-04-17北京金山安全软件有限公司Browser plug-in control method and device and terminal
CN104967645B (en)*2014-10-162017-08-01广州酷狗计算机科技有限公司A kind of song list restoration methods, apparatus and system
CN104461713A (en)*2014-12-192015-03-25北京奇虎科技有限公司Method and device for cleaning extension programs of application programs
CN104809234B (en)*2015-05-112018-02-23中国联合网络通信集团有限公司The processing method and terminal of browser bookmark
CN105426468A (en)*2015-11-162016-03-23四川效率源信息安全技术股份有限公司Method for recovering and extracting 360 browser historical record data
CN107943804A (en)*2016-10-122018-04-20中标软件有限公司The system and method for data is periodically deleted on mobile terminal
CN106791121A (en)*2016-12-272017-05-31努比亚技术有限公司A kind of mobile terminal and file recovery method
CN111813296B (en)*2019-04-102022-01-14腾讯科技(深圳)有限公司View component display method and device and terminal
CN114185952B (en)*2020-09-152025-07-11腾讯科技(深圳)有限公司 Data retrieval method, device, electronic device and storage medium

Also Published As

Publication numberPublication date
CN103699624A (en)2014-04-02

Similar Documents

PublicationPublication DateTitle
CN103699624B (en)Browser data processing method and device
US10191856B2 (en)Method of managing web browser cache size using logical relationships and clustering
US9218381B2 (en)Method and apparatus for portable index on a removable storage medium
US9678978B2 (en)Systems and methods for automatic synchronization of recently modified data
CN103559227B (en)Webpage displaying method and browser
US20130191414A1 (en)Method and apparatus for performing a data search on multiple user devices
CN103617196B (en)Recommend method, browser, server and the system of network address
CN109491962B (en) A file directory tree management method and related device
CN103473367A (en)Method for using local application program in browser and web browser
CN111651296A (en) Intercept backup method, device, device and storage medium for data deletion operation
WO2019041441A1 (en)Updating device and method for list view and computer-readable storage medium
WO2019071898A1 (en)Electronic device, database query script generation method and storage medium
CN105930537A (en)Page storing method and electronic equipment
CN103617055B (en)A kind of method, apparatus and browser for starting application program in a browser
US9734171B2 (en)Intelligent redistribution of data in a database
CN104486374B (en)A kind of method, apparatus and browser client for carrying out web page access data processing
US20140109077A1 (en)Methods and systems for package management
CN106227769A (en)Date storage method and device
CN102999591B (en)File management method and device
KR101512296B1 (en)File associated with application processing terminal and processing method of file associated with application
CN103530163B (en)The method and browser of loading browser instrument
CN108062352B (en)Webpage page caching processing method, mobile terminal equipment and medium product
CN107908436B (en)Method and system for simplifying user operation
CN106201595A (en)The cleaning control method of a kind of application program and device
US8595224B2 (en)Smart path finding for file operations

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20220725

Address after:Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after:BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before:100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before:BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before:Qizhi software (Beijing) Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp