+

CN108491535B - Information classified storage method and device - Google Patents

Information classified storage method and device Download PDF

Info

Publication number
CN108491535B
CN108491535B CN201810273328.9A CN201810273328A CN108491535B CN 108491535 B CN108491535 B CN 108491535B CN 201810273328 A CN201810273328 A CN 201810273328A CN 108491535 B CN108491535 B CN 108491535B
Authority
CN
China
Prior art keywords
information
target
keyword
folder
target keyword
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
CN201810273328.9A
Other languages
Chinese (zh)
Other versions
CN108491535A (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810273328.9A priority Critical patent/CN108491535B/en
Publication of CN108491535A publication Critical patent/CN108491535A/en
Application granted granted Critical
Publication of CN108491535B publication Critical patent/CN108491535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本公开提供了一种信息的分类存储方法及装置,属于终端技术领域。方法包括,当接收到信息时,获取分类存储指示信息,分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;根据目标关键字对信息进行检测;当信息中包括目标关键字时,将信息存储至目标文件夹中。在终端中预先设置分类存储指示信息,当终端接收到信息时,根据分类存储指示信息中携带的目标关键字对信息进行检测,并将包含目标关键字的信息存储至目标文件夹中,通过自动检测并分类存储的方式,使终端在接收到信息时能够自动根据信息中的内容将其存储至不同的文件夹中,无需人为选中信息,是一种更加智能、方便和快捷的信息分类存储方法。

Figure 201810273328

The disclosure provides a method and device for classifying and storing information, which belong to the technical field of terminals. The method includes, when the information is received, obtaining classified storage indication information, the classified storage indication information is used to indicate that the information containing the target keyword is stored in the target folder; the information is detected according to the target keyword; when the information includes the target key When a word is entered, the information is stored in the target folder. The classification storage instruction information is preset in the terminal. When the terminal receives the information, it detects the information according to the target keywords carried in the classification storage instruction information, and stores the information containing the target keywords into the target folder. The method of detection and classified storage enables the terminal to automatically store the information in different folders according to the content of the information when it receives the information, without the need to manually select the information, which is a more intelligent, convenient and fast method of classified and stored information .

Figure 201810273328

Description

信息的分类存储方法及装置Information classification storage method and device

技术领域technical field

本公开涉及终端技术领域,尤其涉及一种信息的分类存储方法及装置。The present disclosure relates to the technical field of terminals, and in particular to a method and device for classifying and storing information.

背景技术Background technique

随着终端设备的普及以及通讯技术的迅速发展,人们的交流越来越多的通过终端以收/发信息的方式进行,导致终端上会存储有大量的信息。而随着存储信息数量的增多,查找所需的时间越来越长。With the popularization of terminal equipment and the rapid development of communication technology, more and more people communicate through the terminal in the form of receiving/sending information, resulting in a large amount of information stored on the terminal. As the amount of stored information increases, the time required for searching becomes longer and longer.

为了便于查找,用户通常会对信息进行分类存储,该分类存储主要是通过手动来完成,当人们想要对已存储的信息进行分类时,需要先建立一个文件夹,再逐条手动选中想要放入同一文件夹的信息,再将选中的信息拖入该文件夹中。In order to facilitate searching, users usually classify and store information, which is mainly done manually. When people want to classify the stored information, they need to create a folder first, and then manually select the information they want to store one by one import the information in the same folder, and then drag the selected information into the folder.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供了一种信息的分类存储方法及装置。In order to overcome the problems existing in related technologies, the present disclosure provides a method and device for classifying and storing information.

根据本公开实施例的第一方面,提供一种信息的分类存储方法,包括:According to the first aspect of the embodiments of the present disclosure, a method for classifying and storing information is provided, including:

当接收到信息时,获取分类存储指示信息,所述分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;When the information is received, the classified storage instruction information is obtained, and the classified storage instruction information is used to indicate that the information containing the target keyword is stored in the target folder;

根据所述目标关键字对所述信息进行检测;Detecting the information according to the target keyword;

当所述信息中包括所述目标关键字时,将所述信息存储至所述目标文件夹中。When the information includes the target keyword, store the information in the target folder.

在一种可能实现方式中,所述当接收到信息时,获取分类存储指示信息之前,所述方法还包括:In a possible implementation manner, when the information is received, before acquiring classified storage indication information, the method further includes:

接收搜索指令,所述搜索指令携带所述目标关键字;receiving a search instruction, the search instruction carrying the target keyword;

根据所述目标关键字,从已存储的信息中搜索第一目标信息,所述第一目标信息为包含所述目标关键字的信息;Searching for first target information from stored information according to the target keyword, where the first target information is information containing the target keyword;

当接收到第一分类存储指令时,将所述第一目标信息存储至目标文件夹,所述第一分类存储指令用于指示将搜索到的第一目标信息存储至所述目标文件夹;When a first classified storage instruction is received, storing the first target information in a target folder, the first classified storage instruction is used to instruct to store the searched first target information in the target folder;

根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder.

在一种可能实现方式中,所述根据所述目标关键字,从已存储的信息中搜索第一目标信息之后,所述方法还包括:In a possible implementation manner, after searching for the first target information from stored information according to the target keyword, the method further includes:

当接收到全部添加标签指令时,为所述第一目标信息添加标签;或,When all labeling instructions are received, label the first target information; or,

当接收到全部删除指令时,将所述第一目标信息删除。When all deletion instructions are received, the first target information is deleted.

在一种可能实现方式中,所述当接收到信息时,获取分类存储指示信息之前,所述方法还包括:In a possible implementation manner, when the information is received, before acquiring classified storage indication information, the method further includes:

从已存储的信息中确定第二目标信息;determining second target information from stored information;

从所述第二目标信息中提取所述目标关键字;extracting the target keyword from the second target information;

当接收到第二分类存储指令时,将所述第二目标信息存储至目标文件夹,所述第二分类存储指令用于指示将搜索到的第二目标信息存储至所述目标文件夹;When receiving a second classification storage instruction, storing the second target information in a target folder, the second classification storage instruction is used to instruct to store the searched second target information in the target folder;

根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder.

在一种可能实现方式中,所述从所述第二目标信息中提取所述目标关键字包括:In a possible implementation manner, the extracting the target keyword from the second target information includes:

提取所述第二目标信息的来源号码,将所述来源号码作为所述目标关键字;或,Extracting the source number of the second target information, using the source number as the target keyword; or,

当检测到所述第二目标信息中包括指定类型的关键字时,将所述指定类型的关键字提取为所述目标关键字。When it is detected that the second target information includes a keyword of a specified type, the keyword of the specified type is extracted as the target keyword.

在一种可能实现方式中,所述当接收到信息时,获取分类存储指示信息之前,所述方法还包括:In a possible implementation manner, when the information is received, before acquiring classified storage indication information, the method further includes:

接收第三分类存储指令,所述第三分类存储指令用于指示将已存储的信息中包含所述目标关键字的信息存储至目标文件夹;receiving a third classified storage instruction, where the third classified storage instruction is used to instruct to store information containing the target keyword in the stored information into a target folder;

根据所述目标关键字,从已存储的信息中,确定第三目标信息;determining third target information from stored information according to the target keyword;

将所述第三目标信息存储至所述目标文件夹;storing the third target information in the target folder;

根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder.

在一种可能实现方式中,所述方法还包括:In a possible implementation manner, the method further includes:

当接收到对所述分类存储指示信息的删除指令时,删除所述分类存储指示信息。When receiving a delete instruction for the classified storage indication information, delete the classified storage indication information.

根据本公开实施例的第二方面,提供一种信息的分类存储装置,包括:According to the second aspect of the embodiments of the present disclosure, there is provided an information classification storage device, including:

获取模块,被配置为当接收到信息时,获取分类存储指示信息,所述分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;The obtaining module is configured to obtain classified storage instruction information when receiving information, and the classified storage instruction information is used to indicate that the information containing the target keyword is stored in the target folder;

检测模块,被配置为根据所述目标关键字对所述信息进行检测;a detection module configured to detect the information according to the target keyword;

存储模块,被配置为当所述信息中包括所述目标关键字时,将所述信息存储至所述目标文件夹中。A storage module configured to store the information in the target folder when the information includes the target keyword.

在一种可能实现方式中,所述装置还包括第一生成模块,被配置为:In a possible implementation manner, the device further includes a first generation module configured to:

接收搜索指令,所述搜索指令携带所述目标关键字;receiving a search instruction, the search instruction carrying the target keyword;

根据所述目标关键字,从已存储的信息中搜索第一目标信息,所述第一目标信息为包含所述目标关键字的信息;Searching for first target information from stored information according to the target keyword, where the first target information is information containing the target keyword;

当接收到第一分类存储指令时,将所述第一目标信息存储至目标文件夹,所述第一分类存储指令用于指示将搜索到的第一目标信息存储至所述目标文件夹;When a first classified storage instruction is received, storing the first target information in a target folder, the first classified storage instruction is used to instruct to store the searched first target information in the target folder;

根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder.

在一种可能实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:

标签添加模块,被配置为添加标签子模块,被配置当接收到全部添加标签指令时,为所述第一目标信息添加标签;或,The tag adding module, configured as a tag adding submodule, is configured to add a tag to the first target information when all tag adding instructions are received; or,

信息删除模块,被配置为删除子模块,被配置当接收到全部删除指令时,将所述第一目标信息删除。The information deletion module, configured as a deletion sub-module, is configured to delete the first target information when receiving all deletion instructions.

在一种可能实现方式中,所述装置还包括第二生成模块,所述第二生成模块包括:In a possible implementation manner, the device further includes a second generation module, and the second generation module includes:

确定子模块,被配置为从已存储的信息中确定第二目标信息;a determining submodule configured to determine second target information from stored information;

提取子模块,被配置为从所述第二目标信息中提取所述目标关键字;an extracting submodule configured to extract the target keyword from the second target information;

存储子模块,被配置为当接收到第二分类存储指令时,将所述第二目标信息存储至目标文件夹,所述第二分类存储指令用于指示将搜索到的第二目标信息存储至所述目标文件夹;The storage submodule is configured to store the second target information in a target folder when receiving a second category storage instruction, the second category storage instruction is used to instruct to store the searched second target information in the target folder;

生成子模块,被配置为根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The generation submodule is configured to generate the classified storage indication information according to the target keyword and the target folder.

在一种可能实现方式中,所述提取子模块被配置为:In a possible implementation manner, the extracting submodule is configured as:

提取所述第二目标信息的来源号码,将所述来源号码作为所述目标关键字;或,Extracting the source number of the second target information, using the source number as the target keyword; or,

当检测到所述第二目标信息中包括指定类型的关键字时,将所述指定类型的关键字提取为所述目标关键字。When it is detected that the second target information includes a keyword of a specified type, the keyword of the specified type is extracted as the target keyword.

在一种可能实现方式中,所述装置还包括第三生成模块,被配置为:In a possible implementation manner, the device further includes a third generation module configured to:

接收第三分类存储指令,所述第三分类存储指令用于指示将已存储的信息中包含所述目标关键字的信息存储至目标文件夹;receiving a third classified storage instruction, where the third classified storage instruction is used to instruct to store information containing the target keyword in the stored information into a target folder;

根据所述目标关键字,从已存储的信息中,确定第三目标信息;determining third target information from stored information according to the target keyword;

将所述第三目标信息存储至所述目标文件夹;storing the third target information in the target folder;

根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder.

在一种可能实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:

删除模块,被配置为当接收到对所述分类存储指示信息的删除指令时,删除所述分类存储指示信息。The deletion module is configured to delete the classified storage indication information when receiving a deletion instruction for the classified storage indication information.

根据本公开实施例的第三方面,提供一种信息的分类存储装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an information classification storage device, including:

处理器;processor;

用于存储处理器可执行的指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

当接收到信息时,获取分类存储指示信息,所述分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;When the information is received, the classified storage instruction information is obtained, and the classified storage instruction information is used to indicate that the information containing the target keyword is stored in the target folder;

根据所述目标关键字对所述信息进行检测;Detecting the information according to the target keyword;

当所述信息中包括所述目标关键字时,将所述信息存储至所述目标文件夹中。When the information includes the target keyword, store the information in the target folder.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的方法步骤。According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in the first aspect are implemented.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

本公开实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present disclosure are:

在终端中预先设置分类存储指示信息,当终端接收到信息时,根据分类存储指示信息中携带的目标关键字对信息进行检测,并将包含目标关键字的信息存储至目标文件夹中,通过自动检测并分类存储的方式,使终端在接收到信息时能够自动根据信息中的内容将其存储至不同的文件夹中,无需人为选中信息,是一种更加智能、方便和快捷的信息分类存储方法。The classification storage instruction information is preset in the terminal. When the terminal receives the information, it detects the information according to the target keywords carried in the classification storage instruction information, and stores the information containing the target keywords into the target folder. The method of detecting and classifying storage enables the terminal to automatically store the information in different folders according to the content of the information when it receives the information, without manually selecting the information, which is a more intelligent, convenient and fast information classification storage method .

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种信息的分类存储方法的流程图;Fig. 1 is a flow chart of a method for classifying and storing information according to an exemplary embodiment;

图2是根据一示例性实施例示出的一种信息的分类存储方法的流程图;Fig. 2 is a flow chart of a method for classifying and storing information according to an exemplary embodiment;

图3是根据一示例性实施例示出的一种信息的分类存储装置的框图;Fig. 3 is a block diagram of an information classification storage device according to an exemplary embodiment;

图4是根据一示例性实施例示出的一种信息的分类存储装置400的框图。Fig. 4 is a block diagram of an information classification storage device 400 according to an exemplary embodiment.

具体实施方式Detailed ways

为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

图1是根据一示例性实施例示出的一种信息的分类存储方法的流程图,如图1所示,信息的分类存储方法用于终端中,包括以下步骤。Fig. 1 is a flowchart of a method for classifying and storing information according to an exemplary embodiment. As shown in Fig. 1 , the method for classifying and storing information is used in a terminal and includes the following steps.

在步骤101中,当接收到信息时,获取分类存储指示信息,该分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹。In step 101, when information is received, classified storage instruction information is acquired, and the classified storage instruction information is used to instruct to store the information containing the target keyword in a target folder.

在步骤102中,根据该目标关键字对该信息进行检测。In step 102, the information is detected according to the target keyword.

在步骤103中,当该信息中包括该目标关键字时,将该信息存储至该目标文件夹中。In step 103, when the information includes the target keyword, store the information in the target folder.

本公开实施例提供的信息的分类存储方法,在终端中预先设置分类存储指示信息,当终端接收到信息时,根据分类存储指示信息中携带的目标关键字对信息进行检测,并将包含目标关键字的信息存储至目标文件夹中,通过自动检测并分类存储的方式,使终端在接收到信息时能够自动根据信息中的内容将其存储至不同的文件夹中,无需人为选中信息,是一种更加智能、方便和快捷的信息分类存储方法。The information classification storage method provided by the embodiments of the present disclosure pre-sets the classification storage instruction information in the terminal, and when the terminal receives the information, it detects the information according to the target keywords carried in the classification storage instruction information, and will Word information is stored in the target folder, and through automatic detection and classified storage, the terminal can automatically store the information in different folders according to the content of the information when it receives the information, without manually selecting the information. A more intelligent, convenient and fast information classification storage method.

在一种可能实现方式中,当接收到信息时,获取分类存储指示信息之前,该方法还包括:In a possible implementation manner, when the information is received, before obtaining the classified storage instruction information, the method further includes:

接收搜索指令,该搜索指令携带该目标关键字;receiving a search instruction, the search instruction carrying the target keyword;

根据该目标关键字,从已存储的信息中搜索第一目标信息,该第一目标信息为包含该目标关键字的信息;Searching for first target information from stored information according to the target keyword, where the first target information is information containing the target keyword;

当接收到第一分类存储指令时,将该第一目标信息存储至目标文件夹,该第一分类存储指令用于指示将搜索到的第一目标信息存储至该目标文件夹;When a first classification storage instruction is received, storing the first target information in a target folder, the first classification storage instruction is used to instruct to store the searched first target information in the target folder;

根据该目标关键字和该目标文件夹,生成该分类存储指示信息。According to the target keyword and the target folder, the classified storage instruction information is generated.

在一种可能实现方式中,根据该目标关键字,从已存储的信息中搜索第一目标信息之后,该方法还包括:In a possible implementation manner, after searching for the first target information from stored information according to the target keyword, the method further includes:

当接收到全部添加标签指令时,为该第一目标信息添加标签;或,When all labeling instructions are received, add a label to the first target information; or,

当接收到全部删除指令时,将该第一目标信息删除。When all deletion instructions are received, the first target information is deleted.

在一种可能实现方式中,当接收到信息时,获取分类存储指示信息之前,该方法还包括:In a possible implementation manner, when the information is received, before obtaining the classified storage instruction information, the method further includes:

从已存储的信息中确定第二目标信息;determining second target information from stored information;

从该第二目标信息中提取该目标关键字;extracting the target keyword from the second target information;

当接收到第二分类存储指令时,将该第二目标信息存储至目标文件夹,该第二分类存储指令用于指示将搜索到的第二目标信息存储至该目标文件夹;When receiving a second classification storage instruction, storing the second target information in the target folder, the second classification storage instruction is used to instruct to store the searched second target information in the target folder;

根据该目标关键字和该目标文件夹,生成该分类存储指示信息。According to the target keyword and the target folder, the classified storage instruction information is generated.

在一种可能实现方式中,从该第二目标信息中提取该目标关键字包括:In a possible implementation manner, extracting the target keyword from the second target information includes:

提取该第二目标信息的来源号码,将该来源号码作为该目标关键字;或,extracting the source number of the second target information, and using the source number as the target keyword; or,

当检测到该第二目标信息中包括指定类型的关键字时,将该指定类型的关键字提取为该目标关键字。When it is detected that the second target information includes a keyword of a specified type, the keyword of the specified type is extracted as the target keyword.

在一种可能实现方式中,当接收到信息时,获取分类存储指示信息之前,该方法还包括:In a possible implementation manner, when the information is received, before obtaining the classified storage instruction information, the method further includes:

接收第三分类存储指令,该第三分类存储指令用于指示将已存储的信息中包含该目标关键字的信息存储至目标文件夹;receiving a third classification storage instruction, where the third classification storage instruction is used to instruct to store information containing the target keyword in the stored information into a target folder;

根据该目标关键字,从已存储的信息中,确定第三目标信息;Determine the third target information from the stored information according to the target keyword;

将该第三目标信息存储至该目标文件夹,storing the third target information into the target folder,

根据该目标关键字和该目标文件夹,生成该分类存储指示信息。According to the target keyword and the target folder, the classified storage instruction information is generated.

在一种可能实现方式中,该方法还包括:In a possible implementation manner, the method further includes:

当接收到对该分类存储指示信息的删除指令时,删除该分类存储指示信息。When a delete instruction for the classified storage instruction information is received, the classified storage instruction information is deleted.

上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be repeated here.

图2是根据一示例性实施例示出的一种信息的分类存储方法的流程图,如图2所示,包括以下步骤。Fig. 2 is a flowchart of a method for classifying and storing information according to an exemplary embodiment. As shown in Fig. 2 , the method includes the following steps.

在步骤201中,终端接收搜索指令,该搜索指令携带该目标关键字。In step 201, the terminal receives a search instruction, and the search instruction carries the target keyword.

其中,目标关键字一般为具有一定类别特征的一串数字、一个词或多个词,如目标关键字可以是“10086”、“快递”、“外卖”或“银行消费”等,本公开实施例对此不进行具体限定。Among them, the target keyword is generally a string of numbers, one word or multiple words with certain category characteristics. For example, the target keyword can be "10086", "express delivery", "takeaway" or "bank consumption". The example does not specifically limit this.

该搜索指令可以由下述过程触发:当终端检测到指定操作时,终端显示搜索框,当终端通过该搜索框获取到用户输入的关键字时,将该关键字作为目标关键字,并触发搜索指令。其中,指定操作可以是指切换至搜索页面的操作等。需要说明的是,该搜索指令可以是在检测到用户输入了任一字符时触发,也可以是在检测到终端提供的搜索选项被选中时触发。The search instruction can be triggered by the following process: when the terminal detects a specified operation, the terminal displays a search box, and when the terminal obtains the keyword input by the user through the search box, it uses the keyword as the target keyword and triggers the search instruction. Wherein, the designated operation may refer to an operation of switching to a search page and the like. It should be noted that the search instruction may be triggered when it is detected that any character is input by the user, or it may be triggered when it is detected that the search option provided by the terminal is selected.

在步骤202中,终端根据该目标关键字,从已存储的信息中搜索第一目标信息,该第一目标信息为包含该目标关键字的信息。In step 202, the terminal searches for first target information from stored information according to the target keyword, where the first target information is information including the target keyword.

其中,已存储的信息为终端中由多个应用程序获取并存储的信息,如短信箱中的短消息、邮箱中的邮件以及各种聊天软件中的聊天信息等,还可以是由某一个应用程序获取并存储的信息,本公开实施例对此不进行具体限定,Among them, the stored information is the information obtained and stored by multiple applications in the terminal, such as short messages in the SMS box, emails in the mailbox, and chat messages in various chat software, etc. The information acquired and stored by the program is not specifically limited in the embodiments of the present disclosure.

当终端触发搜索指令时,在已存储的信息中搜索是否有包含目标关键字的信息,每读取一条已存储的信息,将该信息分词,获取到多个词语,并将目标关键字与该多个词语逐一进行匹配,当匹配到信息中包含与目标关键字相同的词语时,确定搜索到包含目标关键字的信息,并确定该信息为第一目标信息,通过显示界面显示第一目标信息,该第一目标信息可以为一个或多个。进一步的,第一目标信息中的目标关键字可以进行特殊显示,如,可以将目标关键字显示为红色等。When the terminal triggers a search command, it searches the stored information for information containing the target keyword, and each time it reads a piece of stored information, it divides the information into words to obtain multiple words, and combines the target keyword with the Multiple words are matched one by one. When the matched information contains the same words as the target keyword, it is determined that the information containing the target keyword has been searched, and the information is determined to be the first target information, and the first target information is displayed through the display interface. , the first target information can be one or more. Further, the target keyword in the first target information may be specially displayed, for example, the target keyword may be displayed in red, and the like.

在步骤203中,当终端接收到第一分类存储指令时,将该第一目标信息存储至目标文件夹,该第一分类存储指令用于指示将搜索到的第一目标信息存储至该目标文件夹。In step 203, when the terminal receives the first category storage instruction, store the first target information in the target folder, the first category storage instruction is used to instruct to store the searched first target information in the target file folder.

其中,目标文件夹用于指示存储包含目标关键字的信息的文件夹,该目标文件夹可以为需要存储信息时新创建的文件夹,也可以为终端中已创建的文件夹,本公开实施例对此不进行具体限定。由于包含相同目标关键字的信息间具有某些相同的类别特征,所以将包含相同目标关键字的信息存储至同一目标文件夹中,能够有效的对信息进行分类存储。Wherein, the target folder is used to indicate a folder for storing information containing the target keyword, and the target folder may be a newly created folder when information needs to be stored, or may be a folder already created in the terminal. In the embodiment of the present disclosure, This is not specifically limited. Since the information containing the same target keyword has some of the same category features, storing the information containing the same target keyword in the same target folder can effectively classify and store the information.

终端搜索到第一目标信息后,当检测到对第一目标信息的全部选中时,终端会显示第一分类存储选项,该第一分类存储选项用于获取将第一目标信息移动到的文件夹,当终端通过该第一分类存储选项获取到文件夹时,将该文件夹作为目标文件夹,并触发第一分类存储指令,将第一目标信息移动至目标文件夹中。需要说明的是,只有当全部选中目标信息才能说明用户在对信息按照目标关键字进行分类并存储,而若只选中第一目标信息中的部分信息,则可能是用户在根据关键字对某一信息进行搜索,而不是在搜索所有包含该关键字的一类信息,所以不能触发第一分类存储指令,因此,终端仅在检测到的第一目标信息被全部选中时才能触发第一分类存储指令。After the terminal searches for the first target information, when it detects that all the first target information is selected, the terminal will display the first classified storage option, and the first classified storage option is used to obtain the folder to which the first target information is moved. , when the terminal acquires a folder through the first classified storage option, the folder is used as a target folder, and a first classified storage instruction is triggered to move the first target information to the target folder. It should be noted that only when all the target information is selected can it indicate that the user is classifying and storing the information according to the target keywords, and if only part of the information in the first target information is selected, it may be that the user is classifying the information according to the keywords. information, rather than searching for all types of information that contain the keyword, so the first classification storage instruction cannot be triggered. Therefore, the terminal can trigger the first classification storage instruction only when all detected first target information is selected. .

进一步的,终端检测第一目标信息被全部选中的一种方式为,当终端获取到第一目标信息后,显示每个第一目标信息相应的选中框,当检测到用户对所有选中框的触发操作时,确定检测到第一目标信息被全部选中,还有一种检测方式为,当终端获取到第一目标信息后,显示全部选中选项,当检测到用户对全部选中选项的触发,确定检测到第一目标信息被全部选中,本公开实施例对此不进行具体限定。Further, one way for the terminal to detect that all the first target information is selected is that after the terminal obtains the first target information, it displays the check box corresponding to each first target information, and when it detects that the user triggers all the check boxes During operation, it is determined that the first target information is all selected. Another detection method is that after the terminal obtains the first target information, it displays all selected options. The first target information is all selected, which is not specifically limited in this embodiment of the present disclosure.

更进一步的,终端除了可以根据第一分类存储指令,将第一目标信息存储至目标文件夹中,还可以根据其他指令对第一目标信息进行分类以外的处理。如,当检测到第一目标信息被全部选中时,终端在显示第一分类存储选项的同时还可以显示添加标签选项或全部删除选项等。Furthermore, in addition to storing the first object information in the object folder according to the first classified storage instruction, the terminal may also perform processing other than classifying the first object information according to other instructions. For example, when it is detected that all the first target information is selected, the terminal may also display the option of adding a label or the option of deleting all while displaying the first category storage option.

当终端通过添加标签选项获取到需要添加的标签时,触发全部添加标签指令,并为搜索到的第一目标信息添加标签,其中需要添加的标签可以为星型标签或旗型标签等,在第一目标信息中添加标签可以达到提示的效果,以提醒用户对此类信息的进行特别注意。When the terminal acquires the tags that need to be added through the option of adding tags, it will trigger all the tag adding commands, and add tags to the searched first target information, where the tags to be added can be star tags or flag tags, etc., in the Adding labels to target information can achieve the effect of prompting, so as to remind users to pay special attention to such information.

当终端检测到对全部删除选项的触发时,生成全部删除指令,并将第一目标信息全部删除。根据目标关键字确定目标信息,并由全部删除指令将第一目标信息全部删除,极大的简化了人为筛选并逐一删除信息的过程,缩短了删除信息的时间。When the terminal detects that the all delete option is triggered, it generates an all delete instruction, and deletes all the first target information. The target information is determined according to the target keyword, and all the first target information is deleted by the all delete command, which greatly simplifies the process of artificially screening and deleting information one by one, and shortens the time for deleting information.

在步骤204中,终端根据该目标关键字和该目标文件夹,生成该分类存储指示信息。In step 204, the terminal generates the classified storage instruction information according to the target keyword and the target folder.

上述步骤201-203为对已存储的信息进行分类存储,为了达到对新接收到的信息进行自动分类存储的目的,终端还可以根据该目标关键字和该目标文件夹,生成分类存储指示信息,该分类存储指示信息中至少包含目标关键字、目标文件以及其两者间的对应关系。The above steps 201-203 are to classify and store the stored information. In order to achieve the purpose of automatically classifying and storing newly received information, the terminal can also generate classified storage instruction information according to the target keyword and the target folder, The classified storage instruction information at least includes target keywords, target files and the corresponding relationship between them.

进一步的,终端除了可以通过上述步骤201-204生成分类存储指示信息,还可以通过以下两种方式来生成分类存储指示信息。Further, in addition to generating classified storage indication information through the above steps 201-204, the terminal may also generate classified storage indication information in the following two ways.

一种实现方式,包括下述步骤A1至步骤A4:An implementation, including the following steps A1 to A4:

A1、从已存储的信息中确定第二目标信息。A1. Determine the second target information from the stored information.

当终端检测到用户选中已存储的信息中任意一个或多个信息时,将该任意一个或多个信息确定为第二目标信息。终端可以通过检测用户对信息的触发时长来检测用户是否选中信息,例如,当终端检测到用户对某一信息的触发持续三秒以上时,确定检测到用户选中该信息,终端还可以通过针对每一条已存储的信息显示相应的选择框,当终端检测到用户对信息相应的选择框的触发操作时,确定检测到用户已选中该信息。When the terminal detects that the user selects any one or more pieces of information in the stored information, the terminal determines the one or more pieces of information as the second target information. The terminal can detect whether the user selects the information by detecting the duration of the user's triggering of the information. For example, when the terminal detects that the user's triggering of a certain information lasts for more than three seconds, it determines that the user has selected the information. A piece of stored information displays a corresponding selection box, and when the terminal detects that the user triggers an operation on the corresponding selection box of the information, it determines that the information has been selected by the user.

A2、从该第二目标信息中提取该目标关键字。A2. Extract the target keyword from the second target information.

当终端确定第二目标信息后,显示提取关键字选项,当检测到对提取关键字选项的触发操作时,生成提取关键字指令,将第二目标信息分词,得到多个词语,提取多个词语中具有一定类别特征的一个或多个词语为关键词,并确定该一个或多个关键字中的任意一个或多个为目标关键字。After the terminal determines the second target information, it displays the option of extracting keywords, and when a trigger operation on the option of extracting keywords is detected, it generates an instruction of extracting keywords, divides the second target information into words, obtains multiple words, and extracts multiple words One or more words with certain category characteristics are keywords, and any one or more of the one or more keywords are determined as target keywords.

需要说明的是,确定目标关键字的方法可以为:当终端提取出关键字时,针对每一个关键字显示相应的确认选项和取消选项,该确认选项用于指示将该关键字确认为目标关键字,该取消选项用于指示取消该关键字,不将其确定为目标关键字。当终端检测到某一关键字相应的确认选项被用户触发时,确定该关键字为目标关键字,当终端检测到某一关键字相应的取消选项被用户触发时,取消该关键字,不将其确定为目标关键字。确定目标关键字的方法还可以为:当终端提取出关键字时,将所有关键字进行显示,当检测到用户对任意一个或多个关键字的触发时,确定该任意一个或多个关键字为目标关键字。It should be noted that the method for determining the target keyword may be as follows: when the terminal extracts the keyword, a corresponding confirmation option and a cancel option are displayed for each keyword, and the confirmation option is used to indicate that the keyword is confirmed as the target keyword word, the cancel option is used to indicate that the keyword is canceled and not determined as a target keyword. When the terminal detects that the confirmation option corresponding to a keyword is triggered by the user, it determines that the keyword is the target keyword; when the terminal detects that the cancel option corresponding to a keyword is triggered by the user, it cancels the keyword and does not It is determined as the target keyword. The method for determining the target keyword may also be: when the terminal extracts the keyword, display all the keywords, and when the trigger of any one or more keywords is detected by the user, determine the arbitrary one or more keywords for the target keyword.

进一步的,终端在提取关键词时,若第二目标信息为一个,则提取这一个第二目标信息中的一个或多个词为关键字,若第二目标信息为多个,则提取多个第二目标信息中相同的词为关键字。需要说明的是,终端提取的关键字可以为一个或多个,确定的目标关键字可以是多个关键字中的一个或多个。Further, when the terminal extracts keywords, if there is one second target information, it extracts one or more words in the second target information as keywords; if there are multiple second target information, it extracts multiple words The same words in the second target information are keywords. It should be noted that the terminal may extract one or more keywords, and the determined target keyword may be one or more keywords.

更进一步的,终端可以从第二目标信息中提取多种形式的目标关键字,如,终端可以提取第二目标信息的来源号码,将该来源号码作为目标关键字,例如,电信运营商的号码,银行的号码等,本公开实施例对此不进行具体限定。终端还可以提取第二目标信息中包括指定类型的关键字,将该指定类型的关键字提取为目标关键字,其中,指定类型的关键字可以为:外卖类型的关键字、快递类型的关键字或广告类型的关键字等,本公开实施例同样对此不进行具体限定。Furthermore, the terminal can extract multiple forms of target keywords from the second target information, for example, the terminal can extract the source number of the second target information, and use the source number as the target keyword, for example, the number of a telecom operator , the bank number, etc., which are not specifically limited in this embodiment of the present disclosure. The terminal can also extract keywords of a specified type included in the second target information, and extract the keywords of the specified type as target keywords, wherein the keywords of the specified type can be: keywords of takeaway type, keywords of express delivery type or the keyword of the advertisement type, etc., which are not specifically limited in this embodiment of the present disclosure.

A3、当接收到第二分类存储指令时,将该第二目标信息存储至目标文件夹,该第二分类存储指令用于指示将搜索到的第二目标信息存储至该目标文件夹。A3. When receiving a second classification storage instruction, store the second target information in the target folder, where the second classification storage instruction is used to instruct to store the searched second target information in the target folder.

终端将该第二目标信息存储至目标文件夹中的过程与A3中将第一目标信息存储至目标文件夹中的过程类似,在此不再赘述。The process of the terminal storing the second target information in the target folder is similar to the process of storing the first target information in the target folder in A3, which will not be repeated here.

A4、根据该目标关键字和该目标文件夹,生成该分类存储指示信息。A4. Generate the classified storage indication information according to the target keyword and the target folder.

上述步骤A1-A3同样为对已存储的信息进行分类存储,为了达到对新接收到的信息进行自动分类存储的目的,终端同样可以根据该目标关键字和该目标文件夹,生成分类存储指示信息。The above steps A1-A3 are also for classifying and storing the stored information. In order to achieve the purpose of automatically classifying and storing newly received information, the terminal can also generate classified storage instruction information according to the target keyword and the target folder .

一种实现方式,包括下述步骤B1至步骤B4:An implementation, including the following steps B1 to B4:

B1、接收第三分类存储指令,该第三分类存储指令用于指示将已存储的信息中包含目标关键字的信息存储至目标文件夹。B1. Receive a third classified storage instruction, where the third classified storage instruction is used to instruct to store the stored information including the target keyword in the target folder.

终端中可以设置有第三分类存储选项,该第三分类存储选项用于获取用户输入的关键字及文件夹,当终端通过第三分类存储选项获取到关键字和文件夹后,将其确定为目标关键字及目标文件夹,并生成第三分类存储指令,该第三分类存储指令中至少包含目标关键字、目标文件夹及两者间的对应关系。A third category storage option may be set in the terminal, and the third category storage option is used to obtain keywords and folders input by the user. After the terminal obtains keywords and folders through the third category storage option, it is determined as the target keyword and the target folder, and generate a third classification storage instruction, the third classification storage instruction at least includes the target keyword, the target folder and the corresponding relationship between them.

进一步的该第三分类存储选项可以设置于终端中的短信箱、邮箱或聊天软件中,本发明实施例对此不进行具体限定。Further, the third classified storage option may be set in the short message box, mailbox or chat software in the terminal, which is not specifically limited in this embodiment of the present invention.

B2、根据该目标关键字,从已存储的信息中,确定第三目标信息。B2. Determine the third target information from the stored information according to the target keyword.

终端生成第三分类存储指令后,根据第三分类存储指令中携带的目标关键字自动搜索已存储的信息中是否有包含该目标关键字的信息,当检测到包含目标关键字的信息后,确定该信息为第三目标信息。After the terminal generates the third classification storage instruction, it automatically searches whether there is information containing the target keyword in the stored information according to the target keyword carried in the third classification storage instruction, and when the information containing the target keyword is detected, determine This information is the third target information.

B3、将该第三目标信息存储至该目标文件夹。B3. Store the third target information in the target folder.

由于第三分类存储指令中携带有目标关键字与目标文件夹间的对应关系,当终端根据目标关键字确定第三目标信息后,自动将第三目标信息存储至目标文件夹中。Since the third classification storage instruction carries the corresponding relationship between the target keyword and the target folder, after the terminal determines the third target information according to the target keyword, it automatically stores the third target information in the target folder.

B4、根据该目标关键字和该目标文件夹,生成该分类存储指示信息。B4. Generate the classified storage instruction information according to the target keyword and the target folder.

上述步骤B1-B3同样为对已存储的信息进行分类存储,为了达到对新接收到的信息进行自动分类存储的目的,终端同样可以根据该第三分类存储指令中的目标关键字与目标文件夹,生成分类存储指示信息The above steps B1-B3 are also for classifying and storing the stored information. In order to achieve the purpose of automatically classifying and storing the newly received information, the terminal can also store the target keywords and target folders according to the third class storing instruction , generate classified storage instructions

进一步的,终端通过上述三种方式生成分类存储指示信息的过程为:当终端通过上述任意一种或多种方式获取到目标关键字与目标文件夹后,会显示分类存储指示信息的生成指令,当检测到对该生成指令的触发时,终端会自动存储目标关键字、目标文件夹及两者间的对应关系,从而生成分类存储指示信息,以此来对新接收到的信息进行分类存储。Further, the process for the terminal to generate classified storage instruction information through the above three methods is: after the terminal obtains the target keyword and target folder through any one or more of the above methods, it will display the generation instruction of classified storage instruction information, When the trigger of the generation instruction is detected, the terminal will automatically store the target keyword, the target folder and the corresponding relationship between them, thereby generating classified storage instruction information, so as to classify and store newly received information.

更进一步的,当终端没有检测到对该生成指令的触发时,则说明不需要将包含目标关键字的新接收到的信息存储至目标文件夹中时,所以终端不会生成分类存储指示信息。Furthermore, when the terminal does not detect the trigger of the generating instruction, it means that it is not necessary to store the newly received information containing the target keyword in the target folder, so the terminal will not generate classified storage indication information.

在步骤205中,当终端接收到信息时,获取分类存储指示信息,该分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹。In step 205, when the terminal receives the information, it acquires classified storage instruction information, where the classified storage instruction information is used to instruct to store the information containing the target keyword in the target folder.

当终端通过上述三种方式中的一种或多种方式,生成分类存储指示信息后,将该分类存储指示信息存储于终端中,当终端接收到新信息时,自动获取该分类存储指示信息,并根据该分类存储指示信息对新接收到的信息进行分类存储。After the terminal generates classified storage instruction information through one or more of the above three methods, it stores the classified storage instruction information in the terminal, and when the terminal receives new information, it automatically acquires the classified storage instruction information, And classify and store the newly received information according to the classification storage indication information.

在步骤206中,终端根据目标关键字对信息进行检测。In step 206, the terminal detects the information according to the target keyword.

终端根据该分类存储指示信息对新接收到的信息进行分类存储时,需要先检测新接收到的信息中是否包含目标关键字,终端在对新接收到的信息进行检测时,需要将新接收到的信息进行分词,得到多个词语,并将目标关键字与这多个词语逐一进行匹配。When the terminal classifies and stores the newly received information according to the classification storage instruction information, it needs to first detect whether the newly received information contains the target keyword. When the terminal detects the newly received information, it needs to store the newly received information The information is segmented into words to obtain multiple words, and the target keyword is matched with these multiple words one by one.

进一步的,当目标关键字为多个词时,需要将目标关键字中的每个词都逐一对信息中的词语进行匹配,只有当检测到新接收到的信息中的词语与目标关键字中的每个词都匹配时,才能确定新接收到的信息中包含该目标关键字。例如,当目标关键字为“银行消费”时,新接收到的信息中的词语需与“银行”和“消费”两个词都匹配时,才能确定该信息包含目标关键字,若,新接收到的信息中的词语只能与“银行”匹配时,则确定该信息中不包含目标关键字。Further, when the target keyword is multiple words, it is necessary to match each word in the target keyword to the words in the information one by one, only when it is detected that the words in the newly received information match the words in the target keyword Only when every word of the target keyword is matched can it be determined that the target keyword is included in the newly received information. For example, when the target keyword is "bank consumption", the words in the newly received information must match both the words "bank" and "consumption" before it can be determined that the information contains the target keyword. If, the newly received When the words in the received information can only match "bank", it is determined that the information does not contain the target keyword.

在步骤207中,当终端检测到信息中包括目标关键字时,将信息存储至目标文件夹中。In step 207, when the terminal detects that the information includes the target keyword, it stores the information in the target folder.

当终端检测到信息中包括目标关键字时,根据分类存储指示信息中目标关键字与目标文件夹之间的对应关系,确定目标文件夹,然后再将该信息存储至该目标文件夹中。如,当终端中包含:“外卖-存储至文件夹A”的分类存储指示信息时,当检测到信息中包含有“外卖”这一目标关键字时,自动将该信息存储至文件夹A中。When the terminal detects that the information includes the target keyword, it determines the target folder according to the correspondence between the target keyword and the target folder in the classified storage instruction information, and then stores the information in the target folder. For example, when the terminal contains: "Takeaway - store in folder A" classification storage instruction information, when the target keyword "Takeaway" is detected in the information, the information will be automatically stored in folder A .

进一步的,当终端通过搜索框获取到的关键词为分类存储指示信息中的目标关键词时,终端会显示这一分类存储指示信息,同时还可以显示删除这一分类存储指示信息的删除选项,当检测到对该删除选项的触发操作时,接收删除指令,删除该分类存储指示信息。通过对该分类存储指示信息的删除,可以保证当用户不再需要将包含目标关键字的新接收到的信息存储至目标文件夹时,能够停止对其进行分类存储,更加符合用户需求。Further, when the keyword obtained by the terminal through the search box is the target keyword in the classified storage instruction information, the terminal will display the classified storage instruction information, and can also display a delete option to delete the classified storage instruction information, When a trigger operation on the delete option is detected, a delete instruction is received, and the classified storage indication information is deleted. By deleting the classified storage indication information, it can be ensured that when the user no longer needs to store the newly received information containing the target keyword in the target folder, the classified storage can be stopped, which better meets the needs of the user.

本公开实施例提供的信息的分类存储方法,在终端中预先设置分类存储指示信息,当终端接收到信息时,根据分类存储指示信息中携带的目标关键字对信息进行检测,并将包含目标关键字的信息存储至目标文件夹中,通过自动检测并分类存储的方式,使终端在接收到信息时能够自动根据信息中的内容将其存储至不同的文件夹中,无需人为选中信息,是一种更加智能、方便和快捷的信息分类存储方法。The information classification storage method provided by the embodiments of the present disclosure pre-sets the classification storage instruction information in the terminal, and when the terminal receives the information, it detects the information according to the target keywords carried in the classification storage instruction information, and will Word information is stored in the target folder, and through automatic detection and classified storage, the terminal can automatically store the information in different folders according to the content of the information when it receives the information, without manually selecting the information. A more intelligent, convenient and fast information classification storage method.

进一步地,可以通过三种方式来生成分类存储指示信息,其中一种方式为根据目标关键搜索并全部选中第一目标信息,将其存储至目标文件夹中,然后根据该目标关键字和该目标文件夹生成分类存储指示信息,这种通过获取目标关键字对已存储的信息进行分类存储的方法,无需人为对信息进行筛选,使得信息的分类存储更加高效。同时还可以对由目标关键字搜索到的第一目标信息进行添加标签或删除等处理,使得对信息的处理方法更全面。还有一种方式为先获取第二目标信息,再提取其中的目标关键字,根据该目标关键字生成分类存储指示消息,无需人为输入目标关键字,使得信息的分类存储更便捷。还有一种方式为有用户指定目标关键字和目标文件夹,由此既可以对已存储的信息进行分类存储,还可以生成分类存储指示信息对新接收到的信息进行分类存储,简化了分类存储信息的步骤。由上述三种方式对已存储的信息进行分类存储,并生成分类存储指示信息对新接收到的信息进行分类存储,保证用户可以在多种情况下都能获取到最便捷的方法来对信息进行分类,使得该分类存储方法的适用情况更广泛。Further, there are three ways to generate classified storage instruction information, one of which is to search and select all the first target information according to the target key, store it in the target folder, and then according to the target key and the target Folders generate classified storage instruction information. This method of classifying and storing stored information by obtaining target keywords does not require manual screening of information, making the classified storage of information more efficient. At the same time, the first target information searched by the target keyword can be tagged or deleted, so that the information processing method is more comprehensive. Another way is to obtain the second target information first, and then extract the target keywords in it, and generate a classified storage instruction message according to the target keywords, without manually inputting the target keywords, so that the classified storage of information is more convenient. Another way is for the user to specify the target keyword and target folder, so that the stored information can be classified and stored, and the classified storage instruction information can be generated to classify and store the newly received information, which simplifies the classified storage information steps. The stored information is classified and stored by the above three methods, and the classification storage instruction information is generated to classify and store the newly received information, so that users can obtain the most convenient method to store the information in various situations. Classification makes the classification storage method more widely applicable.

图3是根据一示例性实施例示出的一种信息的分类存储装置的框图。参照图3,该装置包括获取模块301、检测模块302和存储模块303。Fig. 3 is a block diagram of an information classification storage device according to an exemplary embodiment. Referring to FIG. 3 , the device includes an acquisition module 301 , a detection module 302 and a storage module 303 .

该获取模块301被配置为当接收到信息时,获取分类存储指示信息,该分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹。The acquiring module 301 is configured to, when receiving the information, acquire classified storage instruction information, where the classified storage instruction information is used to instruct to store the information containing the target keyword in the target folder.

该检测模块302被配置为根据该目标关键字对该信息进行检测。The detection module 302 is configured to detect the information according to the target keyword.

该存储模块303被配置为当该信息中包括该目标关键字时,将该信息存储至该目标文件夹中。The storage module 303 is configured to store the information in the target folder when the information includes the target keyword.

本公开实施例提供的信息的分类存储装置,在终端中预先设置分类存储指示信息,当终端接收到信息时,根据分类存储指示信息中携带的目标关键字对信息进行检测,并将包含目标关键字的信息存储至目标文件夹中,通过自动检测并分类存储的方式,使终端在接收到信息时能够自动根据信息中的内容将其存储至不同的文件夹中,无需人为选中信息,是一种更加智能、方便和快捷的信息分类存储方法。The classification storage device for information provided by the embodiments of the present disclosure pre-sets classification storage indication information in the terminal, and when the terminal receives information, it detects the information according to the target keywords carried in the classification storage indication information, and will include the target key Word information is stored in the target folder, and through automatic detection and classified storage, the terminal can automatically store the information in different folders according to the content of the information when it receives the information, without manually selecting the information. A more intelligent, convenient and fast information classification storage method.

在一种可能实现方式中,该装置还包括第一生成模块304,被配置为:In a possible implementation manner, the device further includes a first generating module 304 configured to:

接收搜索指令,该搜索指令携带该目标关键字;receiving a search instruction, the search instruction carrying the target keyword;

根据该目标关键字,从已存储的信息中搜索第一目标信息,该第一目标信息为包含该目标关键字的信息;Searching for first target information from stored information according to the target keyword, where the first target information is information containing the target keyword;

当接收到第一分类存储指令时,将该第一目标信息存储至目标文件夹,该第一分类存储指令用于指示将搜索到的第一目标信息存储至该目标文件夹;When a first classification storage instruction is received, storing the first target information in a target folder, the first classification storage instruction is used to instruct to store the searched first target information in the target folder;

根据该目标关键字和该目标文件夹,生成该分类存储指示信息。According to the target keyword and the target folder, the classified storage instruction information is generated.

在一种可能实现方式中,该装置还包括:标签添加模块305和信息删除模块306。In a possible implementation manner, the device further includes: a tag adding module 305 and an information deleting module 306 .

该标签添加模块305,被配置为当接收到全部添加标签指令时,为该第一目标信息添加标签;或,The tag adding module 305 is configured to add a tag to the first target information when all tag adding instructions are received; or,

该信息删除模块306,被配置为当接收到全部删除指令时,将该第一目标信息删除。The information deletion module 306 is configured to delete the first target information when receiving all deletion instructions.

在一种可能实现方式中,该装置还包括第二生成模块307,该第二生成模块307包括:确定子模块308、提取子模块309、存储子模块310和生成子模块311。In a possible implementation manner, the apparatus further includes a second generation module 307 , and the second generation module 307 includes: a determination submodule 308 , an extraction submodule 309 , a storage submodule 310 and a generation submodule 311 .

该确定子模块308,被配置从已存储的信息中确定第二目标信息;The determination submodule 308 is configured to determine the second target information from the stored information;

该提取子模块309,被配置为从该第二目标信息中提取该目标关键字;The extracting submodule 309 is configured to extract the target keyword from the second target information;

该存储子模块310,被配置为当接收到第二分类存储指令时,将该第二目标信息存储至目标文件夹,该第二分类存储指令用于指示将搜索到的第二目标信息存储至该目标文件夹;The storage sub-module 310 is configured to store the second target information in the target folder when receiving a second classification storage instruction, the second classification storage instruction is used to instruct to store the searched second target information in the the target folder;

该生成子模块311,被配置为根据该目标关键字和该目标文件夹,生成该分类存储指示信息。The generation sub-module 311 is configured to generate the classified storage instruction information according to the target keyword and the target folder.

在一种可能实现方式中,该提取子模块309被配置为:In a possible implementation manner, the extracting submodule 309 is configured to:

提取该第二目标信息的来源号码,将该来源号码作为该目标关键字;或,extracting the source number of the second target information, and using the source number as the target keyword; or,

当检测到该第二目标信息中包括指定类型的关键字时,将该指定类型的关键字提取为该目标关键字。When it is detected that the second target information includes a keyword of a specified type, the keyword of the specified type is extracted as the target keyword.

在一种可能实现方式中,该装置还包括第三生成模块311,被配置为:In a possible implementation manner, the device further includes a third generating module 311 configured to:

接收第三分类存储指令,该第三分类存储指令用于指示将已存储的信息中包含该目标关键字的信息存储至目标文件夹;receiving a third classification storage instruction, where the third classification storage instruction is used to instruct to store information containing the target keyword in the stored information into a target folder;

根据该目标关键字,从已存储的信息中,确定第三目标信息;Determine the third target information from the stored information according to the target keyword;

将该第三目标信息存储至该目标文件夹;storing the third target information in the target folder;

根据该目标关键字和该目标文件夹,生成该分类存储指示信息。According to the target keyword and the target folder, the classified storage instruction information is generated.

在一种可能实现方式中,该装置还包括:删除模块312。In a possible implementation manner, the device further includes: a deletion module 312 .

该删除模块312被配置为当接收到对该分类存储指示信息的删除指令时,删除该分类存储指示信息。The deletion module 312 is configured to delete the classified storage indication information when receiving a deletion instruction for the classified storage indication information.

图4是根据一示例性实施例示出的一种信息的分类存储装置400的框图。例如,装置400可以是移动电话,计算机,数字广播终端,信息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 4 is a block diagram of an information classification storage device 400 according to an exemplary embodiment. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, an information sending and receiving device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图4,装置400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件408,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。4, device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414, and communication component 416 .

处理组件402通常控制装置400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。例如,处理组件402可以包括多媒体模块,以方便多媒体组件408和处理组件402之间的交互。The processing component 402 generally controls the overall operations of the device 400, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 402 may include one or more modules that facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402 .

存储器404被配置为存储各种类型的数据以支持在装置400的操作。这些数据的示例包括用于在装置400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,信息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 404 is configured to store various types of data to support operations at the device 400 . Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件406为装置400的各种组件提供电力。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为装置400生成、管理和分配电力相关联的组件。The power supply component 406 provides power to various components of the device 400 . Power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 400 .

多媒体组件408包括在该装置400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。该触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与该触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。当装置400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. When the device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当装置400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a microphone (MIC), which is configured to receive external audio signals when the device 400 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 404 or sent via communication component 416 . In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件414包括一个或多个传感器,用于为装置400提供各个方面的状态评估。例如,传感器组件414可以检测到设备400的打开/关闭状态,组件的相对定位,例如该组件为装置400的显示器和小键盘,传感器组件414还可以检测装置400或装置400一个组件的位置改变,用户与装置400接触的存在或不存在,装置400方位或加速/减速和装置400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 414 includes one or more sensors for providing status assessments of various aspects of device 400 . For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, the sensor component 414 can also detect a change in the position of the device 400 or a component of the device 400, Presence or absence of user contact with device 400 , device 400 orientation or acceleration/deceleration and temperature change of device 400 . The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件416被配置为便于装置400和其他设备之间有线或无线方式的通信。装置400可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,该通信部件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The device 400 can access wireless networks based on communication standards, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 400 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由装置400的处理器420执行以完成上述方法。例如,该非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 404 including instructions, which can be executed by the processor 420 of the device 400 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种计算机可读存储介质,例如包括至少一条指令,上述至少一条指令可由处理器加载并执行以完成上述实施例中的信息的分类存储方法。例如,计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random-Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium, for example, including at least one instruction that can be loaded and executed by a processor to implement the method for classifying and storing information in the above-mentioned embodiments. For example, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random-access memory (Random-Access Memory, RAM), a compact disc (Compact Disc Read-Only Memory, CD-ROM), Magnetic tapes, floppy disks, and optical data storage devices, etc.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1.一种信息的分类存储方法,其特征在于,所述方法包括:1. A method for classified storage of information, characterized in that said method comprises: 在获取到目标关键字和目标文件夹后,显示分类存储指示信息的生成指令;After obtaining the target keyword and the target folder, display the generation instruction of classified storage instruction information; 当检测到所述生成指令被触发时,基于所述目标关键字、所述目标文件夹以及两者间的对应关系,生成所述分类存储指示信息,所述分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;When it is detected that the generation instruction is triggered, based on the target keyword, the target folder, and the corresponding relationship between the two, the classification storage indication information is generated, and the classification storage indication information is used to indicate that it will contain The information of the target keyword is stored in the target folder; 当接收到信息时,获取所述分类存储指示信息;When receiving the information, acquire the classified storage indication information; 根据所述目标关键字对所述信息进行检测,其中当所述目标关键字为多个词时,将所述目标关键字中的每个词逐一与所述信息中的词语匹配,只有当检测到所述信息中的词语与所述目标关键字中的每个词都匹配时,确定所述信息中包括所述目标关键字;The information is detected according to the target keyword, wherein when the target keyword is a plurality of words, each word in the target keyword is matched with the words in the information one by one, only when the detected When the words in the information match each word in the target keyword, it is determined that the information includes the target keyword; 当所述信息中包括所述目标关键字时,将所述信息存储至所述目标文件夹中;When the information includes the target keyword, storing the information in the target folder; 其中,所述基于所述目标关键字、所述目标文件夹以及两者间的对应关系,生成所述分类存储指示信息,包括:Wherein, the generating the classified storage indication information based on the target keyword, the target folder and the correspondence between the two includes: 接收携带所述目标关键字的搜索指令;receiving a search instruction carrying the target keyword; 根据所述目标关键字,从已存储的信息中搜索包含所述目标关键字的第一目标信息,所述已存储的信息为由至少一个应用程序获取并存储的信息;Searching for first target information containing the target keyword from stored information according to the target keyword, where the stored information is information acquired and stored by at least one application program; 当检测到搜索到的第一目标信息被全部选中时,触发第一分类存储指令,将所述第一目标信息存储至目标文件夹,所述第一分类存储指令用于指示将所述搜索到的第一目标信息存储至所述目标文件夹;When it is detected that all the searched first target information is selected, a first classification storage instruction is triggered to store the first target information in the target folder, and the first classification storage instruction is used to indicate that the searched The first target information is stored in the target folder; 根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息;generating the classified storage indication information according to the target keyword and the target folder; 或者,or, 从已存储的信息中确定第二目标信息,所述第二目标信息为所述已存储的信息中被选中的信息;determining second target information from stored information, where the second target information is selected information from the stored information; 从所述第二目标信息中提取所述目标关键字,所述目标关键字经过对所述第二目标信息分词后所得到的多个关键字中被用户选中的关键字;extracting the target keyword from the second target information, where the target keyword is a keyword selected by the user among a plurality of keywords obtained after word segmentation of the second target information; 当接收到第二分类存储指令时,将所述第二目标信息存储至目标文件夹,所述第二分类存储指令用于指示将搜索到的第二目标信息存储至所述目标文件夹;When receiving a second classification storage instruction, storing the second target information in a target folder, the second classification storage instruction is used to instruct to store the searched second target information in the target folder; 根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder. 2.根据权利要求1所述的方法,其特征在于,所述根据所述目标关键字,从已存储的信息中搜索第一目标信息之后,所述方法还包括:2. The method according to claim 1, characterized in that, after searching for the first target information from stored information according to the target keyword, the method further comprises: 当接收到全部添加标签指令时,为所述第一目标信息添加标签;或,When all labeling instructions are received, label the first target information; or, 当接收到全部删除指令时,将所述第一目标信息删除。When all deletion instructions are received, the first target information is deleted. 3.根据权利要求1所述的方法,其特征在于,所述从所述第二目标信息中提取所述目标关键字包括:3. The method according to claim 1, wherein said extracting said target keyword from said second target information comprises: 提取所述第二目标信息的来源号码,将所述来源号码作为所述目标关键字;或,Extracting the source number of the second target information, using the source number as the target keyword; or, 当检测到所述第二目标信息中包括指定类型的关键字时,将所述指定类型的关键字提取为所述目标关键字。When it is detected that the second target information includes a keyword of a specified type, the keyword of the specified type is extracted as the target keyword. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 当接收到对所述分类存储指示信息的删除指令时,删除所述分类存储指示信息。When receiving a delete instruction for the classified storage indication information, delete the classified storage indication information. 5.一种信息的分类存储装置,其特征在于,所述装置包括:5. A classified storage device for information, characterized in that the device comprises: 显示模块,被配置为在获取到目标关键字和目标文件夹后,显示分类存储指示信息的生成指令;The display module is configured to display a generation instruction for classifying and storing instruction information after obtaining the target keyword and the target folder; 生成模块,被配置为当检测到所述生成指令被触发时,基于所述目标关键字、所述目标文件夹以及两者间的对应关系,生成所述分类存储指示信息,所述分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;The generation module is configured to generate the classified storage indication information based on the target keyword, the target folder and the correspondence between the two when it is detected that the generation instruction is triggered, and the classified storage indication The information is used to indicate that the information containing the target keyword is stored in the target folder; 获取模块,被配置为当接收到信息时,获取所述分类存储指示信息;The obtaining module is configured to obtain the classified storage indication information when receiving the information; 检测模块,被配置为根据所述目标关键字对所述信息进行检测,其中当所述目标关键字为多个词时,将所述目标关键字中的每个词逐一与所述信息中的词语匹配,只有当检测到所述信息中的词语与所述目标关键字中的每个词都匹配时,确定所述信息中包括所述目标关键字;The detection module is configured to detect the information according to the target keyword, wherein when the target keyword is a plurality of words, each word in the target keyword is compared with the information in the information one by one Word matching, only when it is detected that the words in the information match each word in the target keyword, it is determined that the information includes the target keyword; 存储模块,被配置为当所述信息中包括所述目标关键字时,将所述信息存储至所述目标文件夹中;a storage module configured to store the information in the target folder when the information includes the target keyword; 其中,所述装置还包括第一生成模块和第二生成模块中的任意一个;Wherein, the device further includes any one of the first generating module and the second generating module; 所述第一生成模块,被配置为:接收携带所述目标关键字的搜索指令;根据所述目标关键字,从已存储的信息中搜索包含所述目标关键字的第一目标信息,所述已存储的信息为由至少一个应用程序获取并存储的信息;当检测到搜索到的第一目标信息被全部选中时,触发第一分类存储指令,将所述第一目标信息存储至目标文件夹,所述第一分类存储指令用于指示将所述搜索到的第一目标信息存储至所述目标文件夹;根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息;The first generation module is configured to: receive a search instruction carrying the target keyword; search for first target information containing the target keyword from stored information according to the target keyword, the The stored information is information acquired and stored by at least one application program; when it is detected that all the searched first target information is selected, a first classified storage instruction is triggered, and the first target information is stored in the target folder , the first classified storage instruction is used to instruct to store the searched first target information in the target folder; generate the classified storage instruction information according to the target keyword and the target folder; 所述第二生成模块,被配置为:从已存储的信息中确定第二目标信息,所述第二目标信息为所述已存储的信息中被选中的信息;从所述第二目标信息中提取所述目标关键字;当接收到第二分类存储指令时,将所述第二目标信息存储至目标文件夹,所述第二分类存储指令用于指示将搜索到的第二目标信息存储至所述目标文件夹;根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The second generation module is configured to: determine second target information from stored information, where the second target information is selected information from the stored information; extracting the target keywords; when receiving a second category storage instruction, storing the second target information in the target folder, the second category storage instruction is used to indicate that the searched second target information is stored in The target folder; generating the classified storage indication information according to the target keyword and the target folder. 6.根据权利要求5所述的装置,其特征在于,所述装置还包括:6. The device according to claim 5, further comprising: 标签添加模块,被配置为当接收到全部添加标签指令时,为所述第一目标信息添加标签;或,A labeling module configured to add a label to the first target information when all labeling instructions are received; or, 信息删除模块,被配置为当接收到全部删除指令时,将所述第一目标信息删除。The information deletion module is configured to delete the first target information when receiving all deletion instructions. 7.根据权利要求5所述的装置,其特征在于,所述第二生成模块的提取子模块被配置为:7. The device according to claim 5, wherein the extraction submodule of the second generation module is configured to: 提取所述第二目标信息的来源号码,将所述来源号码作为所述目标关键字;或,Extracting the source number of the second target information, using the source number as the target keyword; or, 当检测到所述第二目标信息中包括指定类型的关键字时,将所述指定类型的关键字提取为所述目标关键字。When it is detected that the second target information includes a keyword of a specified type, the keyword of the specified type is extracted as the target keyword. 8.根据权利要求5所述的装置,其特征在于,所述装置还包括:8. The device according to claim 5, further comprising: 删除模块,被配置为当接收到对所述分类存储指示信息的删除指令时,删除所述分类存储指示信息。The deletion module is configured to delete the classified storage indication information when receiving a deletion instruction for the classified storage indication information. 9.一种信息的分类存储装置,其特征在于,包括:9. A classified storage device for information, comprising: 处理器;processor; 用于存储处理器可执行的指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 在获取到目标关键字和目标文件夹后,显示分类存储指示信息的生成指令;After obtaining the target keyword and the target folder, display the generation instruction of classified storage instruction information; 当检测到所述生成指令被触发时,基于所述目标关键字、所述目标文件夹以及两者间的对应关系,生成所述分类存储指示信息,所述分类存储指示信息用于指示将包含目标关键字的信息存储至目标文件夹;When it is detected that the generation instruction is triggered, based on the target keyword, the target folder, and the corresponding relationship between the two, the classification storage indication information is generated, and the classification storage indication information is used to indicate that it will contain The information of the target keyword is stored in the target folder; 当接收到信息时,获取所述分类存储指示信息;When receiving the information, acquire the classified storage indication information; 根据所述目标关键字对所述信息进行检测,其中当所述目标关键字为多个词时,将所述目标关键字中的每个词逐一与所述信息中的词语匹配,只有当检测到所述信息中的词语与所述目标关键字中的每个词都匹配时,确定所述信息中包括所述目标关键字;The information is detected according to the target keyword, wherein when the target keyword is a plurality of words, each word in the target keyword is matched with the words in the information one by one, only when the detected When the words in the information match each word in the target keyword, it is determined that the information includes the target keyword; 当所述信息中包括所述目标关键字时,将所述信息存储至所述目标文件夹中;When the information includes the target keyword, storing the information in the target folder; 其中,所述基于所述目标关键字、所述目标文件夹以及两者间的对应关系,生成所述分类存储指示信息,包括:Wherein, the generating the classified storage indication information based on the target keyword, the target folder and the correspondence between the two includes: 接收携带所述目标关键字的搜索指令;receiving a search instruction carrying the target keyword; 根据所述目标关键字,从已存储的信息中搜索包含所述目标关键字的第一目标信息,所述已存储的信息为由至少一个应用程序获取并存储的信息;Searching for first target information containing the target keyword from stored information according to the target keyword, where the stored information is information acquired and stored by at least one application program; 当检测到搜索到的第一目标信息被全部选中时,触发第一分类存储指令,将所述第一目标信息存储至目标文件夹,所述第一分类存储指令用于指示将所述搜索到的第一目标信息存储至所述目标文件夹;When it is detected that all the searched first target information is selected, a first classification storage instruction is triggered to store the first target information in the target folder, and the first classification storage instruction is used to indicate that the searched The first target information is stored in the target folder; 根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息;generating the classified storage indication information according to the target keyword and the target folder; 或者,or, 从已存储的信息中确定第二目标信息,所述第二目标信息为所述已存储的信息中被选中的信息;determining second target information from stored information, where the second target information is selected information from the stored information; 从所述第二目标信息中提取所述目标关键字;extracting the target keyword from the second target information; 当接收到第二分类存储指令时,将所述第二目标信息存储至目标文件夹,所述第二分类存储指令用于指示将搜索到的第二目标信息存储至所述目标文件夹;When receiving a second classification storage instruction, storing the second target information in a target folder, the second classification storage instruction is used to instruct to store the searched second target information in the target folder; 根据所述目标关键字和所述目标文件夹,生成所述分类存储指示信息。The classified storage instruction information is generated according to the target keyword and the target folder. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-4任一项所述的方法步骤。10. A computer-readable storage medium, characterized in that, a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in any one of claims 1-4 are implemented .
CN201810273328.9A 2018-03-29 2018-03-29 Information classified storage method and device Active CN108491535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810273328.9A CN108491535B (en) 2018-03-29 2018-03-29 Information classified storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810273328.9A CN108491535B (en) 2018-03-29 2018-03-29 Information classified storage method and device

Publications (2)

Publication Number Publication Date
CN108491535A CN108491535A (en) 2018-09-04
CN108491535B true CN108491535B (en) 2023-04-07

Family

ID=63317448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810273328.9A Active CN108491535B (en) 2018-03-29 2018-03-29 Information classified storage method and device

Country Status (1)

Country Link
CN (1) CN108491535B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543449A (en) * 2019-09-03 2019-12-06 上海擎测机电工程技术有限公司 chat record searching method based on AR equipment
CN112347129B (en) * 2020-12-01 2023-03-28 歌尔科技有限公司 Notification message processing method and device and intelligent wearable device
CN112925756B (en) * 2021-03-19 2025-08-26 深圳市艾酷通信软件有限公司 File storage method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003246174A (en) * 2002-02-27 2003-09-02 Toru Kodama Folder for classifying and keeping documents
WO2007049282A2 (en) * 2005-10-26 2007-05-03 Cortica Ltd. A computing device, a system and a method for parallel processing of data streams
CN102891965A (en) * 2007-08-10 2013-01-23 佳能株式会社 Image processing device and control method thereof, and image processing method
CN104111927A (en) * 2013-04-17 2014-10-22 腾讯科技(深圳)有限公司 Method, equipment and system for information classification
CN104778184A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Feedback keyword determining method and device
CN105893606A (en) * 2016-04-25 2016-08-24 深圳市永兴元科技有限公司 Text classifying method and device
CN105956031A (en) * 2016-04-25 2016-09-21 深圳市永兴元科技有限公司 Text classification method and apparatus
CN106021534A (en) * 2016-05-25 2016-10-12 郑良平 Intelligent search method and device for automotive types and parts
CN106569860A (en) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 Application management method and terminal
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN106776812A (en) * 2016-11-24 2017-05-31 北京小米移动软件有限公司 The method and device of trasaction key
CN106933989A (en) * 2017-02-22 2017-07-07 深圳云视融通科技有限公司 A kind of method of Web realease information system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018251A (en) * 2007-01-18 2007-08-15 上海柯斯软件有限公司 SMS classified access method based on the SIM card
CN101645852B (en) * 2009-06-09 2011-06-15 中国科学技术大学 Equipment and method for classifying network packet
JP2012027723A (en) * 2010-07-23 2012-02-09 Sony Corp Information processor, information processing method and information processing program
JP2012027724A (en) * 2010-07-23 2012-02-09 Sony Corp Information processing unit, information processing method and information processing program
US8903436B2 (en) * 2010-12-21 2014-12-02 Tekelec, Inc. Methods, systems, and computer readable media for short message service/multimedia message service policy control
CN107770738B (en) * 2016-08-23 2021-06-04 中国电信股份有限公司 Method and user terminal for realizing automatic short message classification
CN107819936B (en) * 2017-10-20 2020-05-05 维沃移动通信有限公司 Short message classification method, mobile terminal and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003246174A (en) * 2002-02-27 2003-09-02 Toru Kodama Folder for classifying and keeping documents
WO2007049282A2 (en) * 2005-10-26 2007-05-03 Cortica Ltd. A computing device, a system and a method for parallel processing of data streams
CN102891965A (en) * 2007-08-10 2013-01-23 佳能株式会社 Image processing device and control method thereof, and image processing method
CN104111927A (en) * 2013-04-17 2014-10-22 腾讯科技(深圳)有限公司 Method, equipment and system for information classification
CN104778184A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Feedback keyword determining method and device
CN105893606A (en) * 2016-04-25 2016-08-24 深圳市永兴元科技有限公司 Text classifying method and device
CN105956031A (en) * 2016-04-25 2016-09-21 深圳市永兴元科技有限公司 Text classification method and apparatus
CN106021534A (en) * 2016-05-25 2016-10-12 郑良平 Intelligent search method and device for automotive types and parts
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN106569860A (en) * 2016-11-04 2017-04-19 广东欧珀移动通信有限公司 Application management method and terminal
CN106776812A (en) * 2016-11-24 2017-05-31 北京小米移动软件有限公司 The method and device of trasaction key
CN106933989A (en) * 2017-02-22 2017-07-07 深圳云视融通科技有限公司 A kind of method of Web realease information system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于云数据加密中多关键字的分类查询;廖亮等;《信息技术》;第2017卷(第04期);13-16 *

Also Published As

Publication number Publication date
CN108491535A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN104615769B (en) Picture classification method and device
CN105094760B (en) A kind of picture indicia method and device
CN106776890A (en) The method of adjustment and device of video playback progress
CN106489129A (en) The method and device that a kind of content is shared
CN108664663A (en) Recommendation information display methods, device and storage medium
CN104270498B (en) To the method and apparatus of communication interface input communication number
CN107133352A (en) Photo display methods and device
CN106227848A (en) The display packing of notification message, device and terminal
CN106354504B (en) Message display method and device
CN108334623B (en) Song display method, device and system
CN108491535B (en) Information classified storage method and device
CN107203505A (en) Text message edit methods and device
CN107423386A (en) Generate the method and device of electronic card
CN106331328B (en) Information prompting method and device
CN110688181A (en) Content display method and device in notification bar and storage medium
CN111666015A (en) Suspension short message display method and device
CN105872230B (en) Telephone number translation method and device
CN106294596A (en) The method and device of information search
CN107908522B (en) Information display method, device and computer-readable storage medium
CN106921958A (en) The method and apparatus for quitting the subscription of business
CN105095296A (en) File management method and device
CN106960026A (en) Searching method, search engine and electronic equipment
CN105978797A (en) Message replying method and device
CN112486604B (en) Toolbar setting method and device for setting toolbar
CN110502484B (en) Method, device and medium for displaying file information on mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载