CN114356858A - Document merging method, electronic device and storage medium - Google Patents
Document merging method, electronic device and storage medium Download PDFInfo
- Publication number
- CN114356858A CN114356858A CN202111619161.5A CN202111619161A CN114356858A CN 114356858 A CN114356858 A CN 114356858A CN 202111619161 A CN202111619161 A CN 202111619161A CN 114356858 A CN114356858 A CN 114356858A
- Authority
- CN
- China
- Prior art keywords
- document
- documents
- folder
- sorting
- feature 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000003860 storage Methods 0.000 title claims abstract description 25
- 230000002452 interceptive effect Effects 0.000 claims abstract description 35
- 230000004044 response Effects 0.000 claims abstract description 31
- 230000008676 import Effects 0.000 claims abstract description 17
- 238000004590 computer program Methods 0.000 claims description 13
- 230000001174 ascending effect Effects 0.000 claims description 4
- 238000004458 analytical method Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000003672 processing method Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 101150060629 def gene Proteins 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 101150082630 pdf-2 gene Proteins 0.000 description 2
- 101150096397 pdf1 gene Proteins 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007373 indentation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开涉及一种文档合并方法、电子设备及存储介质。其中,文档合并方法包括:响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹,一个文件夹包括属于同一电子文本的多个文档;响应于检测到对多个文件夹的文档合并操作,针对每一文件夹,执行:对文件夹内的多个文档进行排序;对排序后的多个文档进行合并,得到文件夹对应的目标文档。根据本公开实施例,能够提高文档合并效率。
The present disclosure relates to a document merging method, electronic device and storage medium. Wherein, the document merging method includes: in response to detecting an import operation to a plurality of folders, displaying a plurality of folders in the target interactive interface, and one folder includes a plurality of documents belonging to the same electronic text; The document merging operation of each folder is performed for each folder: sort the multiple documents in the folder; merge the sorted multiple documents to obtain the target document corresponding to the folder. According to the embodiments of the present disclosure, the document merging efficiency can be improved.
Description
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种文档合并方法、电子设备及存储介质。The present disclosure relates to the field of computer technologies, and in particular, to a document merging method, an electronic device, and a storage medium.
背景技术Background technique
一个电子文本可能会因各种原因被拆分为多个文档。比如,电子书提供方往往将一本电子书拆分为多个电子文档传输至电子书阅读平台。An electronic text may be split into multiple documents for various reasons. For example, an e-book provider often splits an e-book into multiple electronic documents and transmits them to an e-book reading platform.
现阶段,当需要将多个文档进行合并时,比如电子书阅读平台需要将属于同一电子书的多个文档合并成一本完整的电子书时,往往需要人工从大量的文档中找到同一电子书的多个文档,并人工进行合并,合并效率较低。At this stage, when multiple documents need to be merged, for example, when an e-book reading platform needs to merge multiple documents belonging to the same e-book into a complete e-book, it is often necessary to manually find the same e-book from a large number of documents. Multiple documents are merged manually, and the merging efficiency is low.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种文档合并方法、电子设备及存储介质。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a document merging method, an electronic device and a storage medium.
第一方面,本公开提供了一种文档合并方法,包括:In a first aspect, the present disclosure provides a method for merging documents, including:
响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹,一个文件夹包括属于同一电子文本的多个文档;In response to detecting an import operation to a plurality of folders, displaying a plurality of folders within the target interactive interface, a folder including a plurality of documents belonging to the same electronic text;
响应于检测到对多个文件夹的文档合并操作,针对每一文件夹,执行:In response to detecting a document merge operation for multiple folders, for each folder, perform:
对文件夹内的多个文档进行排序;Sort multiple documents within a folder;
对排序后的多个文档进行合并,得到文件夹对应的目标文档。Merge the sorted documents to obtain the target document corresponding to the folder.
第二方面,本公开提供了一种电子设备,包括处理器和存储器,存储器用于存储可执行指令,可执行指令使处理器执行以下操作:In a second aspect, the present disclosure provides an electronic device, including a processor and a memory, where the memory is used to store executable instructions, and the executable instructions cause the processor to perform the following operations:
响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹,一个文件夹包括属于同一电子文本的多个文档;In response to detecting an import operation to a plurality of folders, displaying a plurality of folders within the target interactive interface, a folder including a plurality of documents belonging to the same electronic text;
响应于检测到对多个文件夹的文档合并操作,针对每一文件夹,执行:In response to detecting a document merge operation for multiple folders, for each folder, perform:
对文件夹内的多个文档进行排序;Sort multiple documents within a folder;
对排序后的多个文档进行合并,得到文件夹对应的目标文档。Merge the sorted documents to obtain the target document corresponding to the folder.
第三方面,本公开提供了一种计算机可读存储介质,该存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器实现第一方面的文档合并方法。In a third aspect, the present disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the document merging method of the first aspect.
本公开实施例提供的技术方案与现有技术相比具有如下优点:Compared with the prior art, the technical solutions provided by the embodiments of the present disclosure have the following advantages:
本公开实施例的文档合并方法、电子设备及存储介质,在导入多个文件夹之后,通过目标交互界面对多个文件夹内的多个文件分别进行排序以及批量合并,得到多个文件夹各自的目标文档。由于每一文件夹内的多个文档属于同一电子文本,从而用户通过可以在目标交互界面执行文档合并操作之后,无需复杂合并操作,即可对批量化、快速合成各电子文本的文档,提高了文档合并效率。In the document merging method, electronic device, and storage medium of the embodiments of the present disclosure, after importing multiple folders, the multiple files in the multiple folders are sorted and batch merged through the target interactive interface, respectively, so as to obtain the respective files of the multiple folders. target document. Since multiple documents in each folder belong to the same electronic text, the user can batch and quickly synthesize the documents of each electronic text after performing the document merging operation on the target interactive interface without complicated merging operation, which improves the performance of the electronic text. Document merging efficiency.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent when taken in conjunction with the accompanying drawings and with reference to the following detailed description. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
图1示出了本公开实施例提供的一种文档合并方法的流程示意图;FIG. 1 shows a schematic flowchart of a document merging method provided by an embodiment of the present disclosure;
图2示出了本公开实施例提供的一种示例性的目标交互界面示意图;FIG. 2 shows a schematic diagram of an exemplary target interaction interface provided by an embodiment of the present disclosure;
图3示出了本公开实施例提供的另一种示例性的目标交互界面示意图;FIG. 3 shows another exemplary schematic diagram of a target interaction interface provided by an embodiment of the present disclosure;
图4示出了本公开实施例提供的另一种文档合并方法的流程示意图;FIG. 4 shows a schematic flowchart of another document merging method provided by an embodiment of the present disclosure;
图5示出了本公开实施例提供的又一种文档合并方法的流程示意图;FIG. 5 shows a schematic flowchart of still another document merging method provided by an embodiment of the present disclosure;
图6示出了本公开实施例提供的再一种文档合并方法的流程示意图;FIG. 6 shows a schematic flowchart of still another document merging method provided by an embodiment of the present disclosure;
图7示出了本公开实施例提供的再一种文档合并方法的流程示意图;FIG. 7 shows a schematic flowchart of still another document merging method provided by an embodiment of the present disclosure;
图8示出了本公开实施例提供的一种电子设备的结构示意图。FIG. 8 shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain 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 construed as limited to the embodiments set forth herein, but rather are provided for the purpose of A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "including" and variations thereof are open-ended inclusions, ie, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "a" and "a plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, they should be understood as "one or a plurality of". multiple".
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of these messages or information.
本公开实施例提供了一种能够以对应于不同电子文本的文件夹为单位、批量化合成各电子文本的目标文档的文档合并方法、电子设备及存储介质。Embodiments of the present disclosure provide a document merging method, an electronic device, and a storage medium capable of synthesizing target documents of each electronic text in batches using folders corresponding to different electronic texts as a unit.
下面首先结合图1-7对本公开实施例提供的文档合并方法进行说明。The document merging method provided by the embodiments of the present disclosure is first described below with reference to FIGS. 1-7 .
本公开实施例提供的文档合并方法,可以由能够提供文档合并功能的电子设备。其中,该电子设备可以包括但不限于诸如智能手机、笔记本电脑、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、车载终端(例如车载导航终端)、可穿戴设备等的移动终端,以及诸如数字TV、台式计算机、智能家居设备等的固定终端,对此不作限定。The document merging method provided by the embodiments of the present disclosure can be implemented by an electronic device capable of providing a document merging function. Wherein, the electronic device may include, but is not limited to, such as smart phones, notebook computers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), in-vehicle terminals (eg, in-vehicle navigation terminals), wearable devices etc., as well as fixed terminals such as digital TV, desktop computer, smart home equipment, etc., which are not limited.
图1示出了本公开实施例提供的一种文档合并方法的流程示意图。FIG. 1 shows a schematic flowchart of a document merging method provided by an embodiment of the present disclosure.
如图1所示,该文档合并方法可以包括如下步骤。As shown in FIG. 1 , the document merging method may include the following steps.
S110,响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹。S110, in response to detecting an import operation for multiple folders, display multiple folders in the target interactive interface.
在本公开实施例中,可以在用户想要对所导入的多个文件夹进行批量合并时,在目标交互界面内显示多个文件夹。In the embodiment of the present disclosure, when the user wants to merge the imported multiple folders in batches, the multiple folders may be displayed in the target interactive interface.
首先,对于电子文本。示例性地,电子文本可以是诸如电子小说、电子图书等的电子书,或者可以是诸如电子版论文等的电子版文章,又或者可以是一个完整的电子文件等以电子形式呈现的内容,对此不作限定。First, for electronic texts. Exemplarily, the electronic text may be an electronic book such as an electronic novel, an electronic book, etc., or may be an electronic version article such as an electronic version of a paper, or may be a complete electronic file, etc., which is presented in electronic form. This is not limited.
其次,对于文件夹,一个文件夹包括属于同一电子文本的多个文档。其中,不同的文件夹可以对应于不同电子文本或者相同电子文本,对此不作具体限定。Second, for folders, a folder includes multiple documents belonging to the same electronic text. Wherein, different folders may correspond to different electronic texts or the same electronic text, which is not specifically limited.
可选地,一个文件夹内的多个文档可以包括一个电子文本中的整个内容,或者部分内容,对此不作具体限定的。示例性地,一个文件夹内的多个文档可以对应于一本电子书。比如,一个文件夹内可以包括一本电子书的封面文档、目录文档、版权页文档、正文文档等。Optionally, a plurality of documents in a folder may include the entire content or part of the content in an electronic text, which is not specifically limited. Illustratively, multiple documents within one folder may correspond to one e-book. For example, a folder may include a cover document, a catalog document, a copyright page document, a text document, and the like of an e-book.
其中,电子文档可以包括一个电子文本中的部分连续内容。比如,一本小说的部分章节内容。在文档格式上,电子文档可以是诸如可携带文档格式(Portable DocumentFormat,PDF)、Word、支持语音合成标记语言(Speech Synthesis Markup Language,SSML)的文档格式等,对此不作具体限定。Wherein, the electronic document may include part of continuous content in an electronic text. For example, some chapters of a novel. Regarding the document format, the electronic document may be a document format such as Portable Document Format (PDF), Word, and a document format supporting Speech Synthesis Markup Language (SSML), which is not specifically limited.
再其次,对于导入操作,其可以包括用于导入多个文件夹的点击、双击、长按、滑动等手势控制操作、语音控制操作或者表情控制操作等,在此不作限制。Thirdly, for the import operation, it may include gesture control operations such as clicking, double-clicking, long-pressing, and sliding for importing multiple folders, voice control operations, or expression control operations, etc., which are not limited here.
在一些实施例中,导入操作可以是针对文件管理界面上的文件夹导入控件的触发操作。具体地,文件管理界面内可以显示有多个可选文件夹,用户可以在多个被管理文件夹中自由选择多个文件夹。在用户触发了文件夹导入控件之后,可以将处于选中状态的多个文件夹显示于目标交互界面。In some embodiments, the import operation may be a trigger operation for a folder import control on the file management interface. Specifically, multiple selectable folders may be displayed in the file management interface, and the user may freely select multiple folders among multiple managed folders. After the user triggers the folder import control, multiple folders in the selected state can be displayed on the target interactive interface.
在一个示例中,在检测针对文件管理界面上的文件夹导入控件的触发操作之前,文档合并方法还可以包括:响应于用户在电子设备主界面上针对目标应用的触发操作,打开该目标应用,显示目标应用的应用主界面。其中,该目标应用可以为文档编辑应用或者是诸如电子书管理应用、电子书阅读应用、电子书编辑应用等具有文档编辑功能的应用。响应于用户针对该应用主界面上文档编辑控件的触发操作,显示该文档管理界面。In an example, before detecting a trigger operation for the folder import control on the file management interface, the document merging method may further include: in response to a user's trigger operation for the target application on the main interface of the electronic device, opening the target application, Display the main application interface of the target application. The target application may be a document editing application or an application with a document editing function, such as an e-book management application, an e-book reading application, and an e-book editing application. The document management interface is displayed in response to the user's triggering operation on the document editing control on the main interface of the application.
再其次,对于目标交互界面。目标交互界面可以是为用户提供文档编辑功能的界面。Second, for the target interface. The target interactive interface may be an interface that provides a user with a document editing function.
在一个示例中,图2示出了本公开实施例提供的一种示例性的目标交互界面示意图。如图2所示,目标交互界面101上可以显示有对应于不同书籍的多个文件夹。In an example, FIG. 2 shows a schematic diagram of an exemplary target interaction interface provided by an embodiment of the present disclosure. As shown in FIG. 2 , a plurality of folders corresponding to different books may be displayed on the target
在另一个示例中,为了便于用户操作以及提高用户文档合并体验,目标交互界面上还可以显示文件夹内的多个文档。In another example, in order to facilitate the user's operation and improve the user's document merging experience, the target interactive interface may also display multiple documents in the folder.
图3示出了本公开实施例提供的另一种示例性的目标交互界面示意图。比如,当书籍列表标签处于选中状态时,可以在标签下方内的显示区域内展示如图2示出的多个文件夹。又比如,当在书籍列表中选择某一文件夹时,比如选中书籍3的文件夹时,可以在图3示出的书籍详情处于选中状态时,以列表形式显示书籍3的文件夹内的多个文档。FIG. 3 is a schematic diagram of another exemplary target interaction interface provided by an embodiment of the present disclosure. For example, when the book list tab is in a selected state, multiple folders as shown in FIG. 2 can be displayed in the display area below the tab. For another example, when a certain folder is selected in the book list, for example, when the folder of Book 3 is selected, when the book details shown in FIG. document.
S120,响应于检测到对多个文件夹的文档合并操作,针对每一文件夹,对文件夹内的多个文档进行排序。S120, in response to detecting the document merging operation on the multiple folders, for each folder, sort the multiple documents in the folder.
首先,对于文档合并操作,其可以是针对多个文件夹的点击、双击、长按、滑动等手势控制操作、语音控制操作或者表情控制操作等,在此不作限制。First of all, for the document merging operation, it may be a gesture control operation such as a click, double-click, long-press, slide, etc., a voice control operation, or an expression control operation for multiple folders, which is not limited here.
在一些实施例中,文档合并操作可以是针对目标交互界面上的文档合并控件的触发操作。在一个示例中,继续参见图2,当用户点击了目标交互界面101上的批量合并控件102时,即可检测到对多个文件夹的文档合并操作。In some embodiments, the document merging operation may be a triggering operation for a document merging control on the target interactive interface. In an example, continuing to refer to FIG. 2 , when the user clicks the
在一些实施例中,为了提高批量合并效率,文档合并操作可以用于对目标交互界面内所有文件夹内的文档进行合并。也就是说,在检测到文档合并操作之后,可以是对目标交互界面内的所有文件夹进行批量合并。In some embodiments, in order to improve batch merging efficiency, the document merging operation may be used to merge documents in all folders in the target interactive interface. That is, after the document merging operation is detected, all folders in the target interactive interface may be merged in batches.
在另一些实施例中,为了提高批量合并的灵活性,文档合并操作用于触发对具有选中标记的文件夹内的文档进行合并。也就是说,可以对目标交互界面内具有选中标记的多个文件夹进行批量合并。In other embodiments, in order to improve the flexibility of batch merging, a document merging operation is used to trigger merging of documents within a folder with a check mark. That is, multiple folders with checkmarks in the target interface can be merged in batches.
相应地,在检测到文档合并操作之前,文档合并方法还可以包括步骤A1。Correspondingly, before the document merging operation is detected, the document merging method may further include step A1.
步骤A1,响应于检测到对所述多个文件夹的选中操作,为选择操作对应的文件夹添加选中标记。其中,选中操作可以是针对多个文件夹的点击、双击、长按、滑动等手势控制操作、语音控制操作或者表情控制操作等,在此不作限制。Step A1, in response to detecting the selection operation on the plurality of folders, adding a check mark to the folder corresponding to the selection operation. Wherein, the selection operation may be a gesture control operation, voice control operation, or expression control operation, etc. for multiple folders, which is not limited herein.
其中,选中标记用于表示文件夹处于被选中状态。可选地,选中标记可以是对文件夹所在显示区域内添加背景色。比如,继续参见图2,在检测到针对书籍3-书籍7的文件夹的选中操作之后,可以对书籍3-书籍7的文件夹的显示区域显示背景色。Among them, the check mark is used to indicate that the folder is in the selected state. Optionally, the check mark may be to add a background color to the display area where the folder is located. For example, continuing to refer to FIG. 2 , after detecting the selection operation on the folder of Book 3 - Book 7 , a background color may be displayed on the display area of the folder of Book 3 - Book 7 .
再其次,对于同一文件夹内多个文档的排序,为了保证合并后的目标文档的可读性,其可以是按照各文档的内容在所属电子文本内的前后顺序进行依次排序。比如,对于某一电子书,分别包含其前封、内封、目录、正文、后封的多个文档依次排序。Thirdly, for the sorting of multiple documents in the same folder, in order to ensure the readability of the merged target document, it can be sorted according to the order of the content of each document in the electronic text to which it belongs. For example, for an e-book, multiple documents including its front cover, inner cover, table of contents, text, and back cover are sorted in sequence.
S130,针对每一文件夹,对排序后的多个文档进行合并,得到文件夹对应的目标文档。S130, for each folder, merge the sorted documents to obtain a target document corresponding to the folder.
示例性地,若某一文件夹内的排序后的多个文档依次为文档2、文档3、文档1,可以将文档2、文档3、文档1的内容顺序拼接后,得到包含顺序拼接内容的目标文档。Exemplarily, if the sorted documents in a certain folder are Document 2, Document 3, and Document 1 in sequence, the contents of Document 2, Document 3, and Document 1 can be sequentially spliced to obtain a document containing the sequentially spliced content. target document.
在本公开实施例中,在导入多个文件夹之后,通过目标交互界面对多个文件夹内的多个文件分别进行排序以及批量合并,得到多个文件夹各自的目标文档。由于每一文件夹内的多个文档属于同一电子文本,从而用户通过可以在目标交互界面执行文档合并操作之后,无需复杂合并操作,即可对批量化、快速合成各电子文本的文档,提高了文档合并效率。In the embodiment of the present disclosure, after importing multiple folders, the multiple files in the multiple folders are sorted and merged in batches respectively through the target interactive interface, so as to obtain the respective target documents of the multiple folders. Since multiple documents in each folder belong to the same electronic text, the user can batch and quickly synthesize the documents of each electronic text after performing the document merging operation on the target interactive interface without complicated merging operation, which improves the performance of the electronic text. Document merging efficiency.
另外,在检测到文档合并操作之后,无需依次打开各文件夹、以及依次打开文件夹内各文档,即可以文件夹为单元,对每一文件夹内的多个文档进行批量合并,提高了文档合并效率。In addition, after the document merging operation is detected, there is no need to open each folder in sequence and each document in the folder in sequence, that is, the folder can be used as a unit, and multiple documents in each folder can be merged in batches, which improves the document quality. Consolidation efficiency.
在一些实施例中,文档合并方法还包括步骤B1。In some embodiments, the document merging method further includes step B1.
步骤B1,在完成对任意文件夹的文档合并之后,响应于检测到对该文件夹的显示操作,显示该文件夹对应的排序后的多个文档。In step B1, after the document merging of any folder is completed, in response to detecting the display operation of the folder, the sorted documents corresponding to the folder are displayed.
在本实施例中,为了便于用户直观了解文档的排序,可以按照排序结果依次显示排序后的多个文档。In this embodiment, in order to facilitate the user to intuitively understand the sorting of documents, a plurality of sorted documents may be displayed in sequence according to the sorting results.
可选地,对于显示操作,其可以包括用于导入多个文件夹的点击、双击、长按、滑动等手势控制操作、语音控制操作或者表情控制操作等,在此不作限制。Optionally, for the display operation, it may include gesture control operations such as clicking, double-clicking, long-pressing, and sliding for importing multiple folders, voice control operations, or expression control operations, etc., which are not limited here.
可选地,可以在目标交互界面上显示排序后的多个文档。比如,可以在用户点了书籍详情标签之后,显示排序后的多个文档。或者,是跳转至新的界面显示排序后的多个文档,对此不作具体限定。Optionally, the sorted plurality of documents may be displayed on the target interactive interface. For example, after the user clicks the book details tab, the sorted documents can be displayed. Or, it is to jump to a new interface to display the sorted documents, which is not specifically limited.
可选地,为了提高文档合并的灵活性和准确性,用户可以对排序后的多个文档之间的排序进行调整,以及调整后重新合成目标文档。Optionally, in order to improve the flexibility and accuracy of document merging, the user may adjust the sorting among the sorted documents, and re-synthesize the target document after the adjustment.
在一些实施例中,在步骤S120之后,文档合并方法还包括步骤B21和步骤B22。In some embodiments, after step S120, the document merging method further includes step B21 and step B22.
步骤B21,针对每个文档,提取文档的内容关键词。Step B21, for each document, extract the content keywords of the document.
可选地,可以根据文档的具体内容或者内容结构,确定文档的内容关键词。比如,如果根据文档的内容,确定文档为版权页时,确定文档的内容关键词“版权页”。需要说明的是,可以根据该方法确定封面、内封、目录等,对此不作具体限定。Optionally, content keywords of the document may be determined according to the specific content or content structure of the document. For example, if it is determined that the document is a copyright page according to the content of the document, the content keyword "copyright page" of the document is determined. It should be noted that the front cover, inner cover, catalogue, etc. can be determined according to this method, which is not specifically limited.
又可选地,可以从文档中提取出章节标题等作为内容关键词。比如,可以通过章节标题的特征来从文档中识别得到章节标题。比如,章节标题的特征可以是诸如“第一章、第1节”等关键词,或者是章节标题区别于正文内容的格式,比如字体格式、字体大小、是否段前缩进等。对此不作具体限定。Still alternatively, chapter titles and the like may be extracted from the document as content keywords. For example, chapter headings can be identified from a document by the feature of chapter headings. For example, the characteristics of the chapter title may be keywords such as "Chapter 1, Section 1", or the format of the chapter title that is different from the body content, such as font format, font size, whether to indent before paragraphs, etc. This is not specifically limited.
步骤B22,基于内容关键词,生成文档的文档名称。Step B22, based on the content keywords, generate a document name of the document.
可选地,可以根据文档所属文件夹的名称、以及内容关键词,生成文档的文档名称。Optionally, the document name of the document may be generated according to the name of the folder to which the document belongs and the content keyword.
在一个示例中,文档的某一部分内容可以被拆分为多个文档,比如电子小说的正文部分,可能会拆分为多个文档。在得到内容关键词“正文”之后,可以按照正文部分的多个文档之间的先后次序,得到多个文档的命名“正文1”、“正文2”等。In one example, a certain part of the document may be split into multiple documents, such as the body part of an electronic novel, which may be split into multiple documents. After the content keyword "text" is obtained, the names of the multiple documents "text 1", "text 2", etc. may be obtained according to the sequence of the multiple documents in the text part.
通过本实施例,可以按照文档内容对文档进行重新命名,从而便于用户从命名上区分文档所属电子文本,以及文档的内容。With this embodiment, the document can be renamed according to the content of the document, thereby facilitating the user to distinguish the electronic text to which the document belongs and the content of the document from the naming.
在另一些实施例中,还可以直接对排序后的多个文档的顺序编号对其进行命名。比如“文档1”、“文档2”等,对此不作具体限定。In other embodiments, the sequence numbers of the sorted documents may also be directly named. For example, "document 1", "document 2", etc., are not specifically limited.
在一些实施例中,文档合并方法还包括步骤B31和步骤B32。In some embodiments, the document merging method further includes step B31 and step B32.
步骤B31,利用目标文档所属文件夹的文件夹名称以及文档合并标识,生成电子文本的文档名称。Step B31 , generating the document name of the electronic text by using the folder name of the folder to which the target document belongs and the document merging identifier.
对于文件夹名称,可以选取文件夹名称中的全部文字,或者部分文字,对此不作限定。For the folder name, you can select all or part of the text in the folder name, which is not limited.
对于文档合并标识,其用于与未合并文档作区分。具体地,文档合并标识可以包含数字、汉字、英文、符号中的至少一种。示例性地,文档名称可以为“xxxx-#mag”,其中,“xxxx”为文件夹名称,“-#mag”为文档合并标识。For document merge identifiers, it is used to distinguish from unmerged documents. Specifically, the document merging identifier may include at least one of numbers, Chinese characters, English, and symbols. Exemplarily, the document name may be "xxxx-#mag", where "xxxx" is the folder name, and "-#mag" is the document merge identifier.
步骤B32,显示以文档名称命名的目标文档。Step B32, displaying the target document named after the document name.
可选地,可以在目标交互界面上显示以文档名称命名的目标文档,或者是跳转至新的界面显示以文档名称命名的目标文档,对此不作具体限定。Optionally, the target document named after the document name may be displayed on the target interactive interface, or a new interface may be jumped to display the target document named after the document name, which is not specifically limited.
在本实施例中,通过为合并得到的目标文档命名的方式,由于目标文档的命名中包含文档合并标识,可以便于用户从文档名称可以直接区分该文档是否是合并后的文档。另外,目标文档的命名中添加有文件夹名称,可以便于用户根据名称确定目标文档所对应的电子文档。提高了用户文档合并体验。In this embodiment, by naming the merged target document, since the name of the target document includes the document merging identifier, it is convenient for the user to directly distinguish whether the document is a merged document from the document name. In addition, a folder name is added to the name of the target document, which can facilitate the user to determine the electronic document corresponding to the target document according to the name. Improved user document merge experience.
在一些实施例中,文档合并方法还包括步骤B4。In some embodiments, the document merging method further includes step B4.
步骤B4,为目标文档中的内容页添加页码,得到目标文档。Step B4, adding page numbers to the content pages in the target document to obtain the target document.
可选地,可以对目标文档的内容页依次添加页码。Optionally, page numbers may be sequentially added to the content pages of the target document.
又可选地,可以确定目标文档中的正文部分,并对正文部分的内容页依次添加页码。需要说明的是,还可以按照实际场景和具体需求对目标文档的部分内容或者全部内容添加页码,对此不作限定。Alternatively, the body part in the target document may be determined, and page numbers are sequentially added to the content pages of the body part. It should be noted that, page numbers may also be added to part or all of the content of the target document according to actual scenarios and specific requirements, which is not limited.
通过本实施例,可以对生成的目标文档添加页码的方式来完善目标文档,提高了目标文档的制作精度。Through this embodiment, the target document can be improved by adding page numbers to the generated target document, thereby improving the production precision of the target document.
图4示出了本公开实施例提供的另一种文档合并方法的流程示意图。其中,本公开实施例在上述实施例的基础上进行优化,本公开实施例可以与上述一个或者多个实施例中各个可选方案结合。FIG. 4 shows a schematic flowchart of another document merging method provided by an embodiment of the present disclosure. The embodiments of the present disclosure are optimized on the basis of the foregoing embodiments, and the embodiments of the present disclosure may be combined with various optional solutions in one or more of the foregoing embodiments.
如图4所示,该文档合并方法可以包括如下步骤。As shown in FIG. 4 , the document merging method may include the following steps.
S410,响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹。其中,一个文件夹包括属于同一电子文本的多个文档。S410, in response to detecting an import operation for multiple folders, display multiple folders in the target interactive interface. Among them, a folder includes a plurality of documents belonging to the same electronic text.
其中,S410与S110类似,可以参见S110的具体说明,在此不再赘述。Wherein, S410 is similar to S110, and reference may be made to the specific description of S110, which will not be repeated here.
S420,响应于检测到对多个文件夹的文档合并操作,针对每一文件夹,确定文件夹内的多个文档的位序特征数据。S420, in response to detecting the document merging operation on the multiple folders, for each folder, determine the position sequence feature data of the multiple documents in the folder.
首先,对于位序特征数据,其用于反映多个文档的内容在电子文本中的位序。也就是说,位序特征数据可以反映多个文档在同一电子文本中的先后顺序。比如目录文档位于正文文档之前。First, as for the position sequence feature data, it is used to reflect the position sequence of the content of multiple documents in the electronic text. That is to say, the sequence feature data can reflect the sequence of multiple documents in the same electronic text. For example, the table of contents document precedes the body document.
在一个示例中,位序特征数据可以包括多个文档的文档名称中的位序关键词。比如,文档在电子文本中所属的板块名称,和/或,文档对应的顺序编号。In one example, the rank feature data may include rank keywords in the document names of the plurality of documents. For example, the name of the section to which the document belongs in the electronic text, and/or the sequence number corresponding to the document.
其中,对于电子文本中所属的板块名称。以电子书为例,板块名称可以包括封面、内封、版权页、引言、目录、正文等。又以电子学术论文为例,板块名称可以包括摘要、正文、致谢页等。对此不作限定。Among them, for the section name in the electronic text. Taking an e-book as an example, the section name may include cover, inner cover, copyright page, introduction, table of contents, body, etc. Taking electronic academic papers as an example, the section name can include abstract, text, acknowledgement page, etc. This is not limited.
其中,对于顺序编号,可以是文档名称中的数字。比如“文档1”、“文档2”等,又比如“正文一”、“正文二”等。where, for sequential numbering, it can be a number in the document name. For example, "document 1", "document 2", etc., and for example, "text 1", "text 2", and so on.
在另一个示例中,位序特征数据包括电子文本的目录。由于目录用于记载电子文本中部分内容在文本中的位置,因此,基于目录可以确定该部分内容在文本中的位序。In another example, the rank feature data includes a table of contents of electronic text. Since the directory is used to record the position of a part of the content in the electronic text in the text, the position order of the part of the content in the text can be determined based on the directory.
在又一个示例中,位序特征数据包括每一文档对应的页码范围。比如,如果文档可以包括多个内容页,多个内容页的页码范围即为该文档对应的页码范围。In yet another example, the positional feature data includes a page number range corresponding to each document. For example, if a document may include multiple content pages, the page number range of the multiple content pages is the page number range corresponding to the document.
S430,针对每一文件夹,利用位序特征数据对文件夹内的多个文档进行排序。S430 , for each folder, use the sequence feature data to sort the multiple documents in the folder.
在本实施例中,可以按照位序特征数据所反映所述多个文档的内容在电子文本中的位序,对多个文档进行依次排序。In this embodiment, the plurality of documents may be sorted in sequence according to the position sequence of the contents of the plurality of documents reflected in the position sequence feature data in the electronic text.
在一些实施例中,可以按照多个文档的文档名称中的位序关键词对多个文档进行排序。In some embodiments, the plurality of documents may be sorted by order key in the document names of the plurality of documents.
比如,排序后的多个文档依次为:封面文档、目录文档、正文文档。For example, the sorted documents are sequentially: cover document, table of contents document, body document.
又比如,排序后的多个文档依次为:封面文档、目录文档、正文文档1、正文文档2。For another example, the sorted documents are sequentially: cover document, table of contents document, body document 1, body document 2.
再比如,排序后的多个文档依次为:文档一、文档二、文档三等;PDF1、PDF2等。For another example, the sorted documents are: document one, document two, document three, etc.; PDF1, PDF2, and so on.
在另一些实施例中,可以按照电子文本的目录对多个文档进行排序。In other embodiments, the plurality of documents may be sorted according to a catalog of electronic texts.
在又一些实施例中,可以按照文档对应的页码范围对多个文档进行排序。In still other embodiments, the plurality of documents may be sorted according to the range of page numbers corresponding to the documents.
比如,排序后的多个文档依次为:对应页码1~10的文档,对应页码11~33的文档,对应页码34~60的文档等。For example, the sorted documents are sequentially: documents corresponding to pages 1-10, documents corresponding to pages 11-33, documents corresponding to pages 34-60, and so on.
在再一些实施例中,可以按照多种位序特征数据的优先级,选择优先级较高的位序特征数据进行排序,在该优先级较高的位序特征数据无法进行排序时,选择优先级较低的位序特征数据进行排序。比如,可以先按照文档名称中的位序关键词进行排序,在无法提取文档名称中的位序关键词时,利用目录进行排序。如果无法获取目录,则利用页码范围进行排序。需要说明的是,还可以根据实际场景和具体需求设置其他的位序特征数据的优先级,对此不作具体限定。In still other embodiments, according to the priorities of various rank feature data, a higher priority rank feature data may be selected for sorting, and when the higher priority rank feature data cannot be sorted, the priority may be selected. The lower-level bit-order feature data is sorted. For example, it is possible to sort according to the order keywords in the document names first, and when the order keywords in the document names cannot be extracted, the directories can be used to sort. If the table of contents cannot be obtained, sort by page range. It should be noted that the priority of other bit sequence feature data may also be set according to actual scenarios and specific requirements, which is not specifically limited.
在再一些实施例中,还可以以多种位序特征数据组合的方式进行排序。比如,若部分文档与目录关联,则可以利用目录对该部分文档进行排序,然后利用其他位序特征数据对其他文档进行排序。又比如,若部分文档有页码,则可以利用页码范围对该部分文档进行排序,然后利用其他位序特征数据对其他无页码文档进行排序。In still other embodiments, the ordering may also be performed in a manner of combining multiple sequence feature data. For example, if some documents are associated with a directory, the directory can be used to sort the part of the documents, and then other documents can be sorted by using other rank feature data. For another example, if some documents have page numbers, the part of the documents can be sorted by using the page number range, and then other documents without page numbers can be sorted by using other bit sequence feature data.
S440,针对每一文件夹,对排序后的多个文档进行合并,得到文件夹对应的目标文档。S440, for each folder, merge the sorted documents to obtain a target document corresponding to the folder.
其中,S440与S130类似,可以参见S130的具体说明,在此不再赘述。Wherein, S440 is similar to S130, and reference may be made to the specific description of S130, which will not be repeated here.
在本公开实施例中,在导入多个文件夹之后,通过目标交互界面对多个文件夹内的多个文件分别进行排序以及批量合并,得到多个文件夹各自的目标文档。由于每一文件夹内的多个文档属于同一电子文本,从而用户通过可以在目标交互界面执行文档合并操作之后,无需复杂合并操作,即可对批量化、快速合成各电子文本的文档,提高了文档合并效率。In the embodiment of the present disclosure, after importing multiple folders, the multiple files in the multiple folders are sorted and merged in batches respectively through the target interactive interface, so as to obtain the respective target documents of the multiple folders. Since multiple documents in each folder belong to the same electronic text, the user can batch and quickly synthesize the documents of each electronic text after performing the document merging operation on the target interactive interface without complicated merging operation, which improves the performance of the electronic text. Document merging efficiency.
另外,按照本实施例,可以通过位序特征数据,准确确定多个文档的内容在电子文本中的位序,从而可以按照多个文档的内容对多个文档进行排序,提高了排序的准确性。In addition, according to this embodiment, the position sequence of the contents of the multiple documents in the electronic text can be accurately determined through the position sequence feature data, so that the multiple documents can be sorted according to the contents of the multiple documents, and the accuracy of sorting is improved. .
图5示出了本公开实施例提供的另一种文档合并方法的流程示意图。其中,本公开实施例在上述实施例的基础上进行优化,本公开实施例可以与上述一个或者多个实施例中各个可选方案结合。FIG. 5 shows a schematic flowchart of another document merging method provided by an embodiment of the present disclosure. The embodiments of the present disclosure are optimized on the basis of the foregoing embodiments, and the embodiments of the present disclosure may be combined with various optional solutions in one or more of the foregoing embodiments.
如图5所示,该文档合并方法可以包括如下步骤。As shown in FIG. 5 , the document merging method may include the following steps.
S510,响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹。其中,一个文件夹包括属于同一电子文本的多个文档。S510, in response to detecting an import operation for multiple folders, display multiple folders in the target interactive interface. Among them, a folder includes a plurality of documents belonging to the same electronic text.
其中,S510与S110类似,可以参见S110的具体说明,在此不再赘述。Wherein, S510 is similar to S110, and reference may be made to the specific description of S110, which will not be repeated here.
S520,响应于检测到针对多个文件夹的文档合并操作,检测文件夹内的多个文档的文档名称是否包括位序关键词。S520, in response to detecting the document merging operation for the multiple folders, detect whether the document names of the multiple documents in the folder include an order keyword.
在本实施例中,可以对每一文件夹中各文档的文档名称进行解析,来确定各文档的文档名称是否包括位序关键词。In this embodiment, the document name of each document in each folder may be parsed to determine whether the document name of each document includes a sequence keyword.
在一些实施例中,位序关键词可以包括文档在电子文本中所属的板块名称和/或文档对应的顺序编号。In some embodiments, the rank keyword may include the name of the section to which the document belongs in the electronic text and/or the sequence number corresponding to the document.
S530,在检测到文件夹的多个文档的文档名称包括位序关键词的情况下,将每一文件夹内的多个文档的位序关键词作为位序特征数据。S530 , in a case where it is detected that the document names of the multiple documents in the folder include the rank order keywords, use the rank order keywords of the multiple documents in each folder as the rank order feature data.
S540,针对每一文件夹,基于位序关键词对应的第一排序规则对文件夹内的多个文档进行排序。S540, for each folder, sort the plurality of documents in the folder based on the first sorting rule corresponding to the position sequence keyword.
在一些实施例中,若位序关键词包括文档在电子文本中所属的板块名称,则第一排序规则包括按照板块之间的位序进行排序。比如,第一排序规则规定了封面、内封、版权页、目录、正文之间的位序。In some embodiments, if the rank order keyword includes the name of the section to which the document belongs in the electronic text, the first sorting rule includes sorting according to the rank order between the sections. For example, the first ordering rule specifies the order among the front cover, the inner cover, the copyright page, the table of contents, and the text.
在另一些实施例中,若位序关键词包括文档对应的顺序编号,则第一排序规则包括按照顺序编号从小到大的顺序进行排序。比如,“PDF1、PDF2、PDF3”、“第一章、第二章”等。In some other embodiments, if the position order keyword includes a sequence number corresponding to the document, the first sorting rule includes sorting in ascending order of the sequence number. For example, "PDF1, PDF2, PDF3", "Chapter 1, Chapter 2", etc.
在一些实施例中,对于包含相同板块名称的多个文档,可以按照多个文档的顺序编号进行排序,得到该板块的排序结果。然后将该板块与其他板块进行排序,得到该电子文本对应的排序结果。In some embodiments, for multiple documents including the same section name, the sorting results of the section may be obtained by sorting according to the sequential numbers of the multiple documents. Then, the plate is sorted with other plates to obtain a sorting result corresponding to the electronic text.
比如,如果电子文档包括正文3文档、封面文档、正文1文档、目录文档、正文2文档,则可以先对正文3文档、正文1文档、正文2文档进行排序,得到正文的排序结果“正文1文档、正文2文档、正文3文档”,然后再对正文、封面、目录进行排序,得到最终排序结果,即封面文档、目录文档、正文1文档、正文2文档、正文3文档。For example, if an electronic document includes a body 3 document, a cover document, a body 1 document, a table of contents document, and a body 2 document, you can first sort the body 3 document, body 1 document, and body 2 document, and obtain the sorting result of body text "Text 1 Document, Body 2 Document, Body 3 Document", and then sort the body, cover, and table of contents to get the final sorting result, that is, the cover document, the table of contents document, the body 1 document, the body 2 document, and the body 3 document.
S550,针对每一文件夹,对排序后的多个文档进行合并,得到文件夹对应的目标文档。S550, for each folder, merge the sorted documents to obtain a target document corresponding to the folder.
其中,S550与S130类似,可以参见S130的具体说明,在此不再赘述。Wherein, S550 is similar to S130, and reference may be made to the specific description of S130, which will not be repeated here.
在本公开实施例中,在导入多个文件夹之后,通过目标交互界面对多个文件夹内的多个文件分别进行排序以及批量合并,得到多个文件夹各自的目标文档。由于每一文件夹内的多个文档属于同一电子文本,从而用户通过可以在目标交互界面执行文档合并操作之后,无需复杂合并操作,即可对批量化、快速合成各电子文本的文档,提高了文档合并效率。In the embodiment of the present disclosure, after importing multiple folders, the multiple files in the multiple folders are sorted and merged in batches respectively through the target interactive interface, so as to obtain the respective target documents of the multiple folders. Since multiple documents in each folder belong to the same electronic text, the user can batch and quickly synthesize the documents of each electronic text after performing the document merging operation on the target interactive interface without complicated merging operation, improving the efficiency of the process. Document merging efficiency.
图6示出了本公开实施例提供的再一种文档合并方法的流程示意图。其中,本公开实施例在上述实施例的基础上进行优化,本公开实施例可以与上述一个或者多个实施例中各个可选方案结合。FIG. 6 shows a schematic flowchart of still another document merging method provided by an embodiment of the present disclosure. The embodiments of the present disclosure are optimized on the basis of the foregoing embodiments, and the embodiments of the present disclosure may be combined with various optional solutions in one or more of the foregoing embodiments.
如图6所示,该文档合并方法可以包括如下步骤。As shown in FIG. 6 , the document merging method may include the following steps.
S610,响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹。其中,一个文件夹包括属于同一电子文本的多个文档。S610, in response to detecting an import operation for multiple folders, display multiple folders in the target interactive interface. Among them, a folder includes a plurality of documents belonging to the same electronic text.
其中,S610与S110类似,可以参见S110的具体说明,在此不再赘述。Wherein, S610 is similar to S110, and reference may be made to the specific description of S110, which will not be repeated here.
S620,响应于检测到针对多个文件夹的文档合并操作,检测文件夹内的多个文档的文档名称是否包括位序关键词。S620, in response to detecting a document merging operation for multiple folders, detect whether the document names of the multiple documents in the folder include an order keyword.
其中,S620与S520类似,可以参见S520的具体说明,在此不再赘述。Wherein, S620 is similar to S520, and reference may be made to the specific description of S520, which will not be repeated here.
S630,在检测到文件夹的多个文档的文档名称包括位序关键词的情况下,将每一文件夹内的多个文档的位序关键词作为位序特征数据。S630 , in the case where it is detected that the document names of the multiple documents in the folder include the rank order keywords, use the rank order keywords of the multiple documents in each folder as the rank order feature data.
其中,S630与S530类似,可以参见S530的具体说明,在此不再赘述。Wherein, S630 is similar to S530, and reference may be made to the specific description of S530, which will not be repeated here.
S640,针对每一文件夹,基于位序关键词对应的第一排序规则对文件夹内的多个文档进行排序。S640, for each folder, sort the plurality of documents in the folder based on the first sorting rule corresponding to the position sequence keyword.
其中,S640与S540类似,可以参见S540的具体说明,在此不再赘述。Wherein, S640 is similar to S540, and reference may be made to the specific description of S540, which will not be repeated here.
S650,在检测到文件夹内的多个文档的文档名称不包括位序关键词的情况下,针对每一文件夹,对文件夹内的多个文档进行解析得到目录。S650 , in the case where it is detected that the document names of the multiple documents in the folder do not include the position sequence keyword, for each folder, analyze the multiple documents in the folder to obtain a directory.
在一些实施例中,S650可以包括步骤C1。In some embodiments, S650 may include step C1.
步骤C1,对文件夹内的多个文档进行文件名解析,对文档名称包含目录关键词的文档进行内容解析得到目录。Step C1: Perform file name analysis on a plurality of documents in the folder, and perform content analysis on documents whose document names include a directory keyword to obtain a directory.
其中,目录关键字可以是与目录相关的字词。比如“目录”、“文档结构”等词,可以根据实际场景和具体需求预先设置目录关键词,对此不作具体限定。The catalog keywords may be words related to catalogs. For example, words such as "directory" and "document structure" can be preset according to actual scenarios and specific requirements, and there is no specific limitation on this.
在一个场景中,如果某一文件夹内的多个文档中存在包括“目录”二字的文档,则可以将该文档内容作为目录。或者,按照目录的结构特征,从该文档内容中提取出目录。In one scenario, if a document including the word "directory" exists among multiple documents in a certain folder, the content of the document can be used as a directory. Or, according to the structural features of the directory, the directory is extracted from the content of the document.
在另一些实施例中,S650可以包括步骤C2。In other embodiments, S650 may include step C2.
步骤C2,对文件夹内的多个文档进行内容解析,根据目录的内容特征在解析内容中得到目录。Step C2: Perform content analysis on a plurality of documents in the folder, and obtain the directory in the analyzed content according to the content feature of the directory.
可选地,可以根据目录的内容特征,从解析得到的多个文档的内容中查找得到目录。其中,目录的内容特征可以是文档内容中“目录”二字,或者是目录的结构特征,对此不作具体限定。Optionally, the directory can be obtained by searching the contents of the multiple documents obtained by parsing according to the content characteristics of the directory. The content feature of the directory may be the word "directory" in the content of the document, or the structure feature of the directory, which is not specifically limited.
在又一些实施例中,S650可以包括步骤C3。In still other embodiments, S650 may include step C3.
步骤C3,对文件夹内的多个文档进行内容解析,利用章节标题的标题特征在解析内容中得到多个章节标题,并利用章节标题生成目录。Step C3: Perform content analysis on a plurality of documents in the folder, obtain a plurality of chapter titles in the parsed content by using the title feature of the chapter titles, and generate a table of contents by using the chapter titles.
可选地,可以对多个文档进行内容解析,解析得到文档中的多个章节标题,然后对应生成目录。其中,章节标题的标题特征可以是章节的编号,比如“1.1xxxx”、“第一章”、“第1节”等关键词特征。或者是章节标题对应的加粗、段前无缩进等文本格式特征,对此不作具体限定。Optionally, content parsing can be performed on multiple documents, and multiple chapter titles in the documents can be obtained by parsing, and then a table of contents can be correspondingly generated. The title feature of the chapter title may be the number of the chapter, such as keyword features such as "1.1xxxx", "Chapter 1", and "Section 1". Or the text format features such as bolding corresponding to the chapter title and no indentation before paragraphs, which are not specifically limited.
S660,在解析得到目录的情况下,将目录作为位序特征数据。S660, in the case that the directory is obtained by analysis, the directory is used as the position sequence feature data.
S670,按照目录的各个文档关键词对应的排列顺序,对每个文档关键词对应的文档进行排序。S670: Sort the documents corresponding to each document keyword according to the arrangement order corresponding to each document keyword in the directory.
可选地,目录可以包括诸如章节标题、页码等文档关键词,则可以去各文档中查询各文档关键词,然后根据目录中各关键词的先后顺序,确定各关键词对应的文档的先后顺序。Optionally, the catalog may include document keywords such as chapter titles, page numbers, etc., then you can search for each document keyword in each document, and then determine the sequence of documents corresponding to each keyword according to the sequence of each keyword in the catalog. .
可选地,由于实际过程中目录不一定包含所有文档的文档关键词,比如,对于多个文档,可以将其划分为文档关键词存在于目录中的第一文档以及文档关键词不存在于目录中的第二文档。示例性地,第一文档可以是电子书的正文内容所在的文档,第二文档可以是封面、版权页等文档。Optionally, since the directory does not necessarily contain the document keywords of all documents in the actual process, for example, for multiple documents, it can be divided into the first document whose document keyword exists in the directory and the document keyword does not exist in the directory. in the second document. Exemplarily, the first document may be a document where the main content of the e-book is located, and the second document may be a document such as a cover page and a copyright page.
为了提高文档排序准确性,S670可以包括步骤D1。In order to improve the document sorting accuracy, S670 may include step D1.
步骤D1,按照目录的各个文档关键词对应的排列顺序,对每个文档关键词对应的第一文档进行排序。Step D1: Sort the first documents corresponding to each document keyword according to the arrangement order corresponding to each document keyword in the directory.
比如,目录包括文档关键词1“第一章XXXX”、文档关键词2“第二章XXXX”,若文档关键词1“第一章XXXX”对应于文档3,文档关键词2“第二章XXXX”对应于文档2,则排序结果可以是文档3、文档2。For example, the directory includes document keyword 1 "Chapter 1 XXXX", document keyword 2 "Chapter 2 XXXX", if document keyword 1 "Chapter 1 XXXX" corresponds to document 3, document keyword 2 "Chapter 2" XXXX" corresponds to document 2, then the sorting result can be document 3 and document 2.
可选地,在步骤D1之后,文档合并方法还可以包括步骤D2至步骤D4。Optionally, after step D1, the document merging method may further include steps D2 to D4.
步骤D2,确定多个第二文档的位序特征数据。其中,第二文档的位序特征数据用于反映多个第二文档的内容在电子文本中的位序。Step D2, determining the sequence feature data of the plurality of second documents. Wherein, the position sequence feature data of the second document is used to reflect the position sequence of the content of the plurality of second documents in the electronic text.
可选地,第二文档的位序特征数据可以是该文档在电子文本中所属板块。比如,封面、版权页、序言、封底等。Optionally, the sequence feature data of the second document may be the section to which the document belongs in the electronic text. For example, front cover, copyright page, preface, back cover, etc.
示例性地,可以根据第二文档中内容类型或者文本关键字来确定第二文档的位序特征数据。Exemplarily, the bit sequence feature data of the second document may be determined according to the content type or text keyword in the second document.
比如,对于位序特征数据可以是文档是否为图片,如果某一第二文档的位序特征数据为图片,则表示该文档为封面的文档。For example, the position sequence feature data may be whether the document is a picture. If the position sequence feature data of a second document is a picture, it means that the document is a cover document.
又比如,位序特征数据可以是版权页的关键词,如果某一第二文档的位序关键词包括版权号或者版权页的具体内容,则可以表征该第二文档为版权页。For another example, the bit sequence feature data may be a keyword of a copyright page. If the bit sequence keyword of a second document includes a copyright number or specific content of the copyright page, it can indicate that the second document is a copyright page.
步骤D3,按照多个第二文档的位序特征数据对应的第二排序规则,对多个第二文档进行排序。Step D3: Sort the plurality of second documents according to the second sorting rule corresponding to the position sequence feature data of the plurality of second documents.
可选地,第二排序规则可以是根据实际场景和具体需求预设的,对此不作具体限定。Optionally, the second sorting rule may be preset according to actual scenarios and specific requirements, which is not specifically limited.
步骤D4,对排序后的第一文档和排序后的第二文档进行排序。Step D4, sort the sorted first document and the sorted second document.
可选地,若第一文档对应于第一板块的排序结果,比如正文的排序结果,第一板块的排序结果可以包括正文1、正文2。则可以对第一板块与其他多个第二文档进行排序,得到板块间的排序结果。比如,对正文、封面、封底进行排序、得到排序结果封面、正文、封底。根据板块间的排序结构以及板块内的排序结果,生成最终排序结果。比如封面、正文1、正文2、封底。Optionally, if the first document corresponds to the sorting result of the first section, such as the sorting result of the text, the sorting result of the first section may include text 1 and text 2. Then, the first section and multiple other second documents can be sorted to obtain a sorting result among the sections. For example, sort the main text, front cover, and back cover, and get the sorting result of front cover, main text, and back cover. The final sorting result is generated according to the sorting structure between the plates and the sorting results within the plate. Such as front cover, body 1, body 2, back cover.
S680,针对每一文件夹,对排序后的多个文档进行合并,得到文件夹对应的目标文档。S680, for each folder, merge the sorted documents to obtain a target document corresponding to the folder.
其中,S680与S130类似,可以参见S130的具体说明,在此不再赘述。Wherein, S680 is similar to S130, and reference may be made to the specific description of S130, which will not be repeated here.
在本公开实施例中,在导入多个文件夹之后,通过目标交互界面对多个文件夹内的多个文件分别进行排序以及批量合并,得到多个文件夹各自的目标文档。由于每一文件夹内的多个文档属于同一电子文本,从而用户通过可以在目标交互界面执行文档合并操作之后,无需复杂合并操作,即可对批量化、快速合成各电子文本的文档,提高了文档合并效率。In the embodiment of the present disclosure, after importing multiple folders, the multiple files in the multiple folders are sorted and merged in batches respectively through the target interactive interface, so as to obtain the respective target documents of the multiple folders. Since multiple documents in each folder belong to the same electronic text, the user can batch and quickly synthesize the documents of each electronic text after performing the document merging operation on the target interactive interface without complicated merging operation, improving the efficiency of the process. Document merging efficiency.
图7示出了本公开实施例提供的再一种文档合并方法的流程示意图。其中,本公开实施例在上述实施例的基础上进行优化,本公开实施例可以与上述一个或者多个实施例中各个可选方案结合。FIG. 7 shows a schematic flowchart of still another document merging method provided by an embodiment of the present disclosure. The embodiments of the present disclosure are optimized on the basis of the foregoing embodiments, and the embodiments of the present disclosure may be combined with various optional solutions in one or more of the foregoing embodiments.
如图7所示,该文档合并方法可以包括如下步骤。As shown in FIG. 7 , the document merging method may include the following steps.
S701,响应于检测到对多个文件夹的导入操作,在目标交互界面内显示多个文件夹。其中,一个文件夹包括属于同一电子文本的多个文档。S701, in response to detecting an import operation for multiple folders, display multiple folders in a target interactive interface. Among them, a folder includes a plurality of documents belonging to the same electronic text.
其中,S701与S110类似,可以参见S110的具体说明,在此不再赘述。Wherein, S701 is similar to S110, and reference may be made to the specific description of S110, which will not be repeated here.
S702,响应于检测到针对多个文件夹的文档合并操作,检测文件夹内的多个文档的文档名称是否包括位序关键词。S702, in response to detecting a document merging operation for multiple folders, detect whether the document names of the multiple documents in the folder include an order keyword.
其中,S702与S520类似,可以参见S520的具体说明,在此不再赘述。Wherein, S702 is similar to S520, and reference may be made to the specific description of S520, which will not be repeated here.
S703,在检测到文件夹的多个文档的文档名称包括位序关键词的情况下,将每一文件夹内的多个文档的位序关键词作为位序特征数据。S703 , in the case where it is detected that the document names of the multiple documents in the folder include the rank order keywords, use the rank order keywords of the multiple documents in each folder as the rank order feature data.
其中,S703与S530类似,可以参见S530的具体说明,在此不再赘述。Wherein, S703 is similar to S530, and reference may be made to the specific description of S530, which will not be repeated here.
S704,针对每一文件夹,基于位序关键词对应的第一排序规则对文件夹内的多个文档进行排序。S704 , for each folder, sort the plurality of documents in the folder based on the first sorting rule corresponding to the position sequence keyword.
其中,S704与S540类似,可以参见S540的具体说明,在此不再赘述。Wherein, S704 is similar to S540, and reference may be made to the specific description of S540, which will not be repeated here.
S705,在检测到文件夹内的多个文档的文档名称不包括位序关键词的情况下,针对每一文件夹,对文件夹内的多个文档进行解析得到目录。S705 , in a case where it is detected that the document names of the multiple documents in the folder do not include the rank order keyword, for each folder, analyze the multiple documents in the folder to obtain a directory.
其中,S705与S650类似,可以参见S650的具体说明,在此不再赘述。Wherein, S705 is similar to S650, and reference may be made to the specific description of S650, which will not be repeated here.
S706,在解析得到目录的情况下,将目录作为位序特征数据。S706, in the case that the directory is obtained by analysis, the directory is used as the position sequence feature data.
其中,S706与S660类似,可以参见S660的具体说明,在此不再赘述。Wherein, S706 is similar to S660, and reference may be made to the specific description of S660, which will not be repeated here.
S707,按照目录的各个文档关键词对应的排列顺序,对每个文档关键词对应的文档进行排序。S707: Sort documents corresponding to each document keyword according to the arrangement order corresponding to each document keyword in the directory.
其中,S707与S670类似,可以参见S670的具体说明,在此不再赘述。Wherein, S707 is similar to S670, and reference may be made to the specific description of S670, which will not be repeated here.
S708,在未解析得到目录的情况下,获取文件夹内的多个文档的页码范围。S708 , if the directory is not obtained by parsing, obtain the page number range of the multiple documents in the folder.
可选地,可以提取各文档中的页码,以及将提取得到的页码的取值范围作为该文档的页码范围。Optionally, the page numbers in each document may be extracted, and the value range of the extracted page numbers may be used as the page number range of the document.
S709,将文件夹内的多个文档的页码范围作为位序特征数据。S709, the page number range of the multiple documents in the folder is used as the sequence feature data.
S710,利用页码范围对文件夹内的多个文档进行排序。S710, sort the multiple documents in the folder by using the page number range.
可选地,针对任意两个文档,若某一文档的页码范围的最大值小于另一文档的页码范围的最小值,则该某一文档的排序先于该另一文档的排序。Optionally, for any two documents, if the maximum value of the page number range of a certain document is less than the minimum value of the page number range of the other document, the sorting of the one document is prior to the sorting of the other document.
可选地,由于在实际过程中,可能部分文档不包含页码,相应地,多个文档可以划分为存在对应页码范围的第三文档,以及不存在对应页码范围的第四文档。Optionally, since some documents may not contain page numbers in the actual process, accordingly, the multiple documents may be divided into a third document with a corresponding page number range, and a fourth document without a corresponding page number range.
相应地,S710可以包括下述步骤E1。Correspondingly, S710 may include the following step E1.
步骤E1,按照页码范围对第三文档进行排序。Step E1, sorting the third document according to the page number range.
在一个示例中,步骤E1之后,文档合并方法还包括步骤E2至步骤E4。In one example, after step E1, the document merging method further includes steps E2 to E4.
步骤E2,确定多个第四文档的位序特征数据,位序特征数据用于反映多个第四文档的内容在电子文本中的位序。Step E2, determining the rank order feature data of the plurality of fourth documents, where the rank order feature data is used to reflect the rank order of the content of the plurality of fourth documents in the electronic text.
步骤E3,按照多个第四文档的位序特征数据对应的第三排序规则,对多个第四文档进行排序。Step E3: Sort the plurality of fourth documents according to the third sorting rule corresponding to the position sequence characteristic data of the plurality of fourth documents.
步骤E4,对排序后的第三文档和排序后的第四文档进行排序。Step E4, sort the sorted third document and the sorted fourth document.
其中,步骤E2至步骤E4的具体实施方式与上述步骤D2至步骤D4相似,在此不再赘述。The specific implementations of steps E2 to E4 are similar to the above-mentioned steps D2 to D4, and are not repeated here.
S711,针对每一文件夹,对排序后的多个文档进行合并,得到文件夹对应的目标文档。S711 , for each folder, merge the sorted documents to obtain a target document corresponding to the folder.
其中,S711与S130类似,可以参见S130的具体说明,在此不再赘述。Wherein, S711 is similar to S130, and reference may be made to the specific description of S130, which will not be repeated here.
在本公开实施例中,在导入多个文件夹之后,通过目标交互界面对多个文件夹内的多个文件分别进行排序以及批量合并,得到多个文件夹各自的目标文档。由于每一文件夹内的多个文档属于同一电子文本,从而用户通过可以在目标交互界面执行文档合并操作之后,无需复杂合并操作,即可对批量化、快速合成各电子文本的文档,提高了文档合并效率。In the embodiment of the present disclosure, after importing multiple folders, the multiple files in the multiple folders are sorted and merged in batches respectively through the target interactive interface, so as to obtain the respective target documents of the multiple folders. Since multiple documents in each folder belong to the same electronic text, the user can batch and quickly synthesize the documents of each electronic text after performing the document merging operation on the target interactive interface without complicated merging operation, improving the efficiency of the process. Document merging efficiency.
图8示出了本公开实施例提供的一种电子设备的结构示意图。FIG. 8 shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
本公开实施例提供的电子设备可以包括支持文档合并功能的电子设备。其中,该电子设备可以包括但不限于诸如智能手机、笔记本电脑、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、车载终端(例如车载导航终端)、可穿戴设备等的移动终端,以及诸如数字TV、台式计算机、智能家居设备等的固定终端,对此不作限定。The electronic device provided by the embodiment of the present disclosure may include an electronic device that supports a document merging function. Wherein, the electronic device may include, but is not limited to, such as smart phones, notebook computers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), in-vehicle terminals (eg, in-vehicle navigation terminals), wearable devices etc., as well as fixed terminals such as digital TV, desktop computer, smart home equipment, etc., which are not limited.
需要说明的是,图8示出的电子设备800仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。It should be noted that the
该电子设备800传统上包括处理器810和以存储器820形式的计算机程序产品或者计算机可读介质。存储器820可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器820具有用于执行上述笔记处理方法中的任何方法步骤的可执行指令(或程序代码)8211的存储空间821。例如,用于可执行指令的存储空间821可以包括分别用于实现上面的笔记处理方法中的各种步骤的各个可执行指令8211。这些可执行指令可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,光盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为便携式或者固定存储单元。该存储单元可以具有与图8的电子设备800中的存储器820类似布置的存储段或者存储空间等。可执行指令可以例如以适当形式进行压缩。通常,存储单元包括用于执行根据本公开的笔记处理方法步骤的可执行指令,即可以由例如诸如处理器810之类的处理器读取的代码,这些代码当由电子设备800运行时,导致该电子设备800执行上面所描述的笔记处理方法中的各个步骤。The
当然,为了简化,图8中仅示出了该电子设备800中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口、输入装置和输出装置等等的组件。除此之外,根据具体应用情况,电子设备800还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components in the
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行本公开各实施例所提供的笔记处理方法。The embodiments of the present disclosure also provide a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are executed by the processor, causes the processor to execute the note processing methods provided by the embodiments of the present disclosure.
该计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer-readable storage medium can employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses or devices, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
在本公开实施例中,可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。In embodiments of the present disclosure, program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages such as Java, or a combination thereof. , Smalltalk, C++, and also conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
本申请公开了:This application discloses:
A1、一种文档合并方法,其中,所述方法包括:A1. A document merging method, wherein the method comprises:
响应于检测到对多个文件夹的导入操作,在目标交互界面内显示所述多个文件夹,一个所述文件夹包括属于同一电子文本的多个文档;In response to detecting an import operation to a plurality of folders, displaying the plurality of folders within the target interactive interface, one of the folders including a plurality of documents belonging to the same electronic text;
响应于检测到对所述多个文件夹的文档合并操作,针对每一所述文件夹,执行:In response to detecting a document merge operation for the plurality of folders, for each of the folders, perform:
对所述文件夹内的多个文档进行排序;sorting the plurality of documents within the folder;
对排序后的所述多个文档进行合并,得到所述文件夹对应的目标文档。Merging the sorted documents to obtain a target document corresponding to the folder.
A2、根据A1所述的方法,其中,所述对所述文件夹内的多个文档进行排序,包括:A2. The method according to A1, wherein the sorting of the plurality of documents in the folder includes:
确定所述文件夹内的多个文档的位序特征数据,所述位序特征数据用于反映所述多个文档的内容在电子文本中的位序;determining sequence feature data of multiple documents in the folder, where the sequence feature data is used to reflect the sequence of contents of the multiple documents in the electronic text;
利用所述位序特征数据对所述文件夹内的多个文档进行排序。The plurality of documents in the folder are sorted using the sequence feature data.
A3、根据A2所述的方法,其中,A3. The method according to A2, wherein,
所述确定所述文件夹内的多个文档的位序特征数据,包括:The determining the sequence feature data of the multiple documents in the folder includes:
检测所述文件夹内的多个文档的文档名称是否包括位序关键词;Detecting whether the document names of the plurality of documents in the folder include positional keywords;
在检测到所述文件夹的多个文档的文档名称包括所述位序关键词的情况下,将所述文件夹内的多个文档的位序关键词作为位序特征数据;When it is detected that the document names of the plurality of documents in the folder include the rank order keyword, the rank order keyword of the plurality of documents in the folder is used as the rank order feature data;
所述利用所述位序特征数据对所述文件夹内的多个文档进行排序,包括:The sorting of the plurality of documents in the folder by using the position sequence feature data includes:
基于所述位序关键词对应的第一排序规则对所述文件夹内的多个文档进行排序。The plurality of documents in the folder are sorted based on the first sorting rule corresponding to the position order keyword.
A4、根据A3所述的方法,其中,所述位序关键词包括:A4. The method according to A3, wherein the rank keywords include:
文档在电子文本中所属的板块名称,所述第一排序规则包括按照板块之间的位序进行排序;和/或,The name of the section to which the document belongs in the electronic text, and the first sorting rule includes sorting according to the order between the sections; and/or,
文档对应的顺序编号,所述第一排序规则包括按照顺序编号从小到大的顺序进行排序。The sequence numbers corresponding to the documents, and the first sorting rule includes sorting in ascending order of the sequence numbers.
A5、根据A3所述的方法,其中,所述位序特征数据包括电子文本的目录;A5. The method according to A3, wherein the position sequence feature data includes a directory of electronic texts;
所述确定所述文件夹内的多个文档的位序特征数据,还包括:The determining the sequence feature data of the multiple documents in the folder further includes:
在检测到所述文件夹内的多个文档的文档名称不包括所述位序关键词的情况下,对所述文件夹内的多个文档进行解析得到所述目录;In the case where it is detected that the document names of the plurality of documents in the folder do not include the position sequence keyword, the directory is obtained by parsing the plurality of documents in the folder;
在解析得到目录的情况下,将所述目录作为所述位序特征数据;In the case that the directory is obtained by parsing, the directory is used as the sequence feature data;
所述利用所述位序特征数据对所述文件夹内的多个文档进行排序,还包括:The sorting of the plurality of documents in the folder by using the position sequence feature data further includes:
按照所述目录的各个文档关键词对应的排列顺序,对每个所述文档关键词对应的文档进行排序。The documents corresponding to each of the document keywords are sorted according to the arrangement order corresponding to the respective document keywords of the directory.
A6、根据A5所述的方法,其中,所述多个文档包含第一文档和第二文档,所述第一文档的文档关键词存在于所述目录中,所述第二文档的文档关键词不存在于所述目录中;A6. The method according to A5, wherein the plurality of documents include a first document and a second document, a document keyword of the first document exists in the directory, and a document keyword of the second document does not exist in said directory;
其中,所述按照所述目录的各个文档关键词对应的排列顺序,对每个所述文档关键词对应的文档进行排序,包括:Wherein, sorting the documents corresponding to each of the document keywords according to the arrangement order corresponding to the respective document keywords of the directory includes:
按照所述排列顺序,对每个文档关键词对应的第一文档进行排序。According to the sorting order, sort the first documents corresponding to each document keyword.
A7、根据A6所述的方法,其中,所述按照排列顺序,对每个文档关键词对应的第一文档进行排序之后,所述方法还包括:A7. The method according to A6, wherein after sorting the first document corresponding to each document keyword according to the sorting order, the method further includes:
确定多个第二文档的位序特征数据,所述位序特征数据用于反映所述多个第二文档的内容在电子文本中的位序;determining sequence feature data of a plurality of second documents, where the sequence feature data is used to reflect the sequence of contents of the plurality of second documents in the electronic text;
按照所述多个第二文档的位序特征数据对应的第二排序规则,对所述多个第二文档进行排序;Sorting the plurality of second documents according to the second sorting rules corresponding to the bit-order feature data of the plurality of second documents;
对排序后的第一文档和排序后的第二文档进行排序。Sort the sorted first document and the sorted second document.
A8、根据权利要求A5-A7任一项所述的方法,其中,所述对所述文件夹内的多个文档进行解析得到所述目录,包括:A8. The method according to any one of claims A5-A7, wherein the obtaining the directory by parsing a plurality of documents in the folder comprises:
对所述文件夹内的多个文档进行文件名解析,对文档名称包含目录关键词的文档进行内容解析得到所述目录;或者,Perform file name analysis on multiple documents in the folder, and perform content analysis on documents whose document names contain directory keywords to obtain the directory; or,
对所述文件夹内的多个文档进行内容解析,根据目录的内容特征在解析内容中得到所述目录;或者,Perform content analysis on multiple documents in the folder, and obtain the directory in the parsed content according to the content characteristics of the directory; or,
对所述文件夹内的多个文档进行内容解析,利用章节标题的标题特征在解析内容中得到多个章节标题,并利用章节标题生成所述目录。Perform content analysis on a plurality of documents in the folder, obtain a plurality of chapter titles in the parsed content by using the title feature of the chapter titles, and generate the table of contents by using the chapter titles.
A9、根据A5所述的方法,其中,所述位序特征数据包括每一文档对应的页码范围;A9. The method according to A5, wherein the position sequence feature data includes a page number range corresponding to each document;
所述确定所述文件夹内的多个文档的位序特征数据,还包括:The determining the sequence feature data of the multiple documents in the folder further includes:
在未解析得到目录的情况下,获取所述文件夹内的多个文档的页码范围;If the directory is not obtained by parsing, obtain the page number range of multiple documents in the folder;
将所述文件夹内的多个文档的页码范围作为所述位序特征数据;Using the page number range of the plurality of documents in the folder as the position sequence feature data;
其中,所述利用所述位序特征数据对所述文件夹内的多个文档进行排序,还包括:Wherein, the sorting of the plurality of documents in the folder by using the position sequence feature data further includes:
利用所述页码范围对所述文件夹内的多个文档进行排序。The plurality of documents within the folder are sorted using the page number range.
A10、根据A9所述的方法,其中,所述多个文档包括第三文档和第四文档,所述第三文档中存在对应的页码范围,所述第四文档不存在对应的页码范围,A10. The method according to A9, wherein the plurality of documents include a third document and a fourth document, the third document has a corresponding page number range, and the fourth document does not have a corresponding page number range,
所述利用所述页码范围对所述文件夹内的多个文档进行排序,包括:The sorting of the plurality of documents in the folder by using the page number range includes:
按照页码范围对所述第三文档进行排序。The third document is sorted by page number range.
A11、根据A10所述的方法,其中,所述按照页码范围对所述第三文档进行排序之后,所述方法还包括:A11. The method according to A10, wherein after the third document is sorted according to the page number range, the method further includes:
确定多个第四文档的位序特征数据,所述位序特征数据用于反映所述多个第四文档的内容在电子文本中的位序;determining the rank order feature data of the plurality of fourth documents, the rank order feature data being used to reflect the rank order of the content of the plurality of fourth documents in the electronic text;
按照所述多个第四文档的位序特征数据对应的第三排序规则,对所述多个第四文档进行排序;Sorting the plurality of fourth documents according to the third sorting rule corresponding to the bit-order feature data of the plurality of fourth documents;
对排序后的第三文档和排序后的第四文档进行排序。Sort the sorted third document and the sorted fourth document.
A12、根据A1所述的方法,其中,所述方法还包括:A12. The method according to A1, wherein the method further comprises:
在完成对任意文件夹的文档合并之后,响应于检测到对该文件夹的显示操作,显示该文件夹对应的排序后的多个文档。After the document merging for any folder is completed, in response to detecting the display operation of the folder, the sorted documents corresponding to the folder are displayed.
A13、根据A1所述的方法,其中,在所述对所述文件夹内的多个文档进行排序之后,所述方法还包括:A13. The method according to A1, wherein after the sorting of the plurality of documents in the folder, the method further comprises:
针对每个所述文档,提取所述文档的内容关键词;For each of the documents, extract the content keywords of the document;
基于所述内容关键词,生成所述文档的文档名称。Based on the content keywords, a document name of the document is generated.
A14、根据A1所述的方法,其中,在所述对排序后的所述多个文档进行合并,得到所述文件夹对应的目标文档之后,所述方法还包括:A14. The method according to A1, wherein after merging the sorted documents to obtain the target document corresponding to the folder, the method further includes:
利用所述目标文档所属文件夹的文件夹名称以及文档合并标识,生成所述电子文本的文档名称;Utilize the folder name of the folder to which the target document belongs and the document merge identifier to generate the document name of the electronic text;
显示以所述文档名称命名的所述目标文档。The target document named after the document name is displayed.
A15、根据A1所述的方法,其中,在所述对排序后的所述多个文档进行合并,得到所述文件夹对应的目标文档之后,所述方法还包括:A15. The method according to A1, wherein after merging the sorted documents to obtain the target document corresponding to the folder, the method further includes:
为所述目标文档中的内容页添加页码,得到目标文档。Add page numbers to the content pages in the target document to obtain the target document.
A16、根据A1所述的方法,其中,在检测到对所述多个文件夹的文档合并操作之前,所述方法还包括:A16. The method according to A1, wherein, before detecting a document merging operation on the multiple folders, the method further comprises:
响应于检测到对所述多个文件夹的选中操作,为选择操作对应的文件夹添加选中标记;In response to detecting the selection operation on the plurality of folders, adding a check mark to the folder corresponding to the selection operation;
其中,文档合并操作用于触发对具有选中标记的文件夹内的文档进行合并。The document merging operation is used to trigger merging of the documents in the folder with the check mark.
B17、一种电子设备,其中,包括处理器和存储器,所述存储器用于存储可执行指令,所述可执行指令使所述处理器执行以下操作:B17. An electronic device, comprising a processor and a memory, the memory being used for storing executable instructions, the executable instructions causing the processor to perform the following operations:
响应于检测到对多个文件夹的导入操作,在目标交互界面内显示所述多个文件夹,一个所述文件夹包括属于同一电子文本的多个文档;In response to detecting an import operation to a plurality of folders, displaying the plurality of folders within the target interactive interface, one of the folders including a plurality of documents belonging to the same electronic text;
响应于检测到对所述多个文件夹的文档合并操作,针对每一所述文件夹,执行:In response to detecting a document merge operation for the plurality of folders, for each of the folders, perform:
对所述文件夹内的多个文档进行排序;sorting the plurality of documents within the folder;
对排序后的所述多个文档进行合并,得到所述文件夹对应的目标文档。Merging the sorted documents to obtain a target document corresponding to the folder.
B18、根据B17所述的电子设备,其中,在所述处理器执行所述对所述文件夹内的多个文档进行排序时,所述可执行指令具体使所述处理器执行:B18. The electronic device according to B17, wherein, when the processor executes the sorting of the plurality of documents in the folder, the executable instruction specifically causes the processor to execute:
确定所述文件夹内的多个文档的位序特征数据,所述位序特征数据用于反映所述多个文档的内容在电子文本中的位序;determining sequence feature data of multiple documents in the folder, where the sequence feature data is used to reflect the sequence of contents of the multiple documents in the electronic text;
利用所述位序特征数据对所述文件夹内的多个文档进行排序。The plurality of documents in the folder are sorted using the sequence feature data.
B19、根据B18所述的电子设备,其中,B19. The electronic device according to B18, wherein,
在所述处理器执行所述确定所述文件夹内的多个文档的位序特征数据时,所述可执行指令具体使所述处理器执行:When the processor executes the determining of the position sequence feature data of the plurality of documents in the folder, the executable instruction specifically causes the processor to execute:
检测所述文件夹内的多个文档的文档名称是否包括位序关键词;Detecting whether the document names of the plurality of documents in the folder include positional keywords;
在检测到所述文件夹的多个文档的文档名称包括所述位序关键词的情况下,将所述文件夹内的多个文档的位序关键词作为位序特征数据;In the case where it is detected that the document names of the multiple documents in the folder include the rank order keyword, the rank order keyword of the multiple documents in the folder is used as the rank order feature data;
在所述处理器执行所述利用所述位序特征数据对所述文件夹内的多个文档进行排序时,所述可执行指令具体使所述处理器执行:When the processor executes the sorting of the plurality of documents in the folder by using the bit sequence feature data, the executable instruction specifically causes the processor to execute:
基于所述位序关键词对应的第一排序规则对所述文件夹内的多个文档进行排序。The plurality of documents in the folder are sorted based on the first sorting rule corresponding to the position order keyword.
B20、根据B19所述的电子设备,其中,所述位序关键词包括:B20. The electronic device according to B19, wherein the position sequence keywords include:
文档在电子文本中所属的板块名称,所述第一排序规则包括按照板块之间的位序进行排序;和/或,The name of the section to which the document belongs in the electronic text, and the first sorting rule includes sorting according to the order between the sections; and/or,
文档对应的顺序编号,所述第一排序规则包括按照顺序编号从小到大的顺序进行排序。The sequence numbers corresponding to the documents, and the first sorting rule includes sorting in ascending order of the sequence numbers.
B21、根据B19所述的电子设备,其中,所述位序特征数据包括电子文本的目录;B21. The electronic device according to B19, wherein the sequence feature data includes a directory of electronic texts;
在所述处理器执行所述确定所述文件夹内的多个文档的位序特征数据时,所述可执行指令还使所述处理器执行:The executable instructions further cause the processor to execute, when the processor executes the determining of the order characteristic data of the plurality of documents within the folder:
在检测到所述文件夹内的多个文档的文档名称不包括所述位序关键词的情况下,对所述文件夹内的多个文档进行解析得到所述目录;In the case where it is detected that the document names of the plurality of documents in the folder do not include the position sequence keyword, the directory is obtained by parsing the plurality of documents in the folder;
在解析得到目录的情况下,将所述目录作为所述位序特征数据;In the case that the directory is obtained by parsing, the directory is used as the sequence feature data;
在所述处理器执行所述利用所述位序特征数据对所述文件夹内的多个文档进行排序时,所述可执行指令还使所述处理器执行:When the processor executes the sorting of the plurality of documents in the folder using the bit-order feature data, the executable instructions further cause the processor to execute:
按照所述目录的各个文档关键词对应的排列顺序,对每个所述文档关键词对应的文档进行排序。The documents corresponding to each of the document keywords are sorted according to the arrangement order corresponding to the respective document keywords of the directory.
B22、根据B21所述的电子设备,其中,所述多个文档包含第一文档和第二文档,所述第一文档的文档关键词存在于所述目录中,所述第二文档的文档关键词不存在于所述目录中;B22. The electronic device according to B21, wherein the plurality of documents include a first document and a second document, a document key of the first document exists in the directory, and a document key of the second document word does not exist in said directory;
其中,在所述处理器执行所述按照所述目录的各个文档关键词对应的排列顺序,对每个所述文档关键词对应的文档进行排序时,所述可执行指令具体使所述处理器执行:Wherein, when the processor executes the sorting of the documents corresponding to each document keyword according to the sorting order corresponding to each document keyword in the directory, the executable instruction specifically causes the processor to implement:
按照所述排列顺序,对每个文档关键词对应的第一文档进行排序。According to the sorting order, sort the first documents corresponding to each document keyword.
B23、根据B22所述的电子设备,其中,在所述处理器执行所述按照排列顺序,对每个文档关键词对应的第一文档进行排序之后,所述可执行指令还使所述处理器执行:B23. The electronic device according to B22, wherein after the processor executes the sorting of the first documents corresponding to each document keyword according to the sorting order, the executable instruction further causes the processor to implement:
确定多个第二文档的位序特征数据,所述位序特征数据用于反映所述多个第二文档的内容在电子文本中的位序;determining sequence feature data of a plurality of second documents, where the sequence feature data is used to reflect the sequence of contents of the plurality of second documents in the electronic text;
按照所述多个第二文档的位序特征数据对应的第二排序规则,对所述多个第二文档进行排序;Sorting the plurality of second documents according to the second sorting rules corresponding to the bit-order feature data of the plurality of second documents;
对排序后的第一文档和排序后的第二文档进行排序。Sort the sorted first document and the sorted second document.
B24、根据B21-B23任一项所述的电子设备,其中,在所述处理器执行所述对所述文件夹内的多个文档进行解析得到所述目录时,所述可执行指令具体使所述处理器执行:B24. The electronic device according to any one of B21-B23, wherein when the processor executes the process of parsing a plurality of documents in the folder to obtain the directory, the executable instruction specifically causes The processor executes:
对所述文件夹内的多个文档进行文件名解析,对文档名称包含目录关键词的文档进行内容解析得到所述目录;或者,Perform file name analysis on multiple documents in the folder, and perform content analysis on documents whose document names contain directory keywords to obtain the directory; or,
对所述文件夹内的多个文档进行内容解析,根据目录的内容特征在解析内容中得到所述目录;或者,Perform content analysis on multiple documents in the folder, and obtain the directory in the parsed content according to the content characteristics of the directory; or,
对所述文件夹内的多个文档进行内容解析,利用章节标题的标题特征在解析内容中得到多个章节标题,并利用章节标题生成所述目录。Perform content analysis on a plurality of documents in the folder, obtain a plurality of chapter titles in the parsed content by using the title feature of the chapter titles, and generate the table of contents by using the chapter titles.
B25、根据B21所述的电子设备,其中,所述位序特征数据包括每一文档对应的页码范围;B25. The electronic device according to B21, wherein the position sequence feature data includes a page number range corresponding to each document;
在所述处理器执行所述确定所述文件夹内的多个文档的位序特征数据时,所述可执行指令还使所述处理器执行:The executable instructions further cause the processor to execute, when the processor executes the determining of the order characteristic data of the plurality of documents within the folder:
在未解析得到目录的情况下,获取所述文件夹内的多个文档的页码范围;If the directory is not obtained by parsing, obtain the page number range of multiple documents in the folder;
将所述文件夹内的多个文档的页码范围作为所述位序特征数据;Using the page number range of the plurality of documents in the folder as the position sequence feature data;
其中,在所述处理器执行所述利用所述位序特征数据对所述文件夹内的多个文档进行排序时,所述可执行指令还使所述处理器执行:Wherein, when the processor executes the sorting of the plurality of documents in the folder by using the position sequence feature data, the executable instruction further causes the processor to execute:
利用所述页码范围对所述文件夹内的多个文档进行排序。The plurality of documents within the folder are sorted using the page number range.
B26、根据B25所述的电子设备,其中,所述多个文档包括第三文档和第四文档,所述第三文档中存在对应的页码范围,所述第四文档不存在对应的页码范围,B26. The electronic device according to B25, wherein the plurality of documents include a third document and a fourth document, a corresponding page number range exists in the third document, and a corresponding page number range does not exist in the fourth document,
在所述处理器执行所述利用所述页码范围对所述文件夹内的多个文档进行排序时,所述可执行指令具体使所述处理器执行:When the processor executes the sorting of the plurality of documents in the folder by using the page number range, the executable instruction specifically causes the processor to execute:
按照页码范围对所述第三文档进行排序。The third document is sorted by page number range.
B27、根据B26所述的电子设备,其中,在所述处理器执行所述按照页码范围对所述第三文档进行排序之后,所述可执行指令还使所述处理器执行:B27. The electronic device according to B26, wherein, after the processor executes the sorting of the third document according to the page number range, the executable instructions further cause the processor to execute:
确定多个第四文档的位序特征数据,所述位序特征数据用于反映所述多个第四文档的内容在电子文本中的位序;determining the rank order feature data of the plurality of fourth documents, the rank order feature data being used to reflect the rank order of the content of the plurality of fourth documents in the electronic text;
按照所述多个第四文档的位序特征数据对应的第三排序规则,对所述多个第四文档进行排序;Sorting the plurality of fourth documents according to the third sorting rule corresponding to the bit-order feature data of the plurality of fourth documents;
对排序后的第三文档和排序后的第四文档进行排序。Sort the sorted third document and the sorted fourth document.
B28、根据B17所述的电子设备,其中,所述可执行指令还使所述处理器执行:B28. The electronic device of B17, wherein the executable instructions further cause the processor to execute:
在完成对任意文件夹的文档合并之后,响应于检测到对该文件夹的显示操作,显示该文件夹对应的排序后的多个文档。After the document merging for any folder is completed, in response to detecting the display operation of the folder, the sorted documents corresponding to the folder are displayed.
B29、根据B17所述的电子设备,其中,在所述处理器执行所述对所述文件夹内的多个文档进行排序之后,所述可执行指令还使所述处理器执行:B29. The electronic device according to B17, wherein, after the processor performs the sorting of the plurality of documents in the folder, the executable instructions further cause the processor to perform:
针对每个所述文档,提取所述文档的内容关键词;For each of the documents, extract the content keywords of the document;
基于所述内容关键词,生成所述文档的文档名称。Based on the content keywords, a document name of the document is generated.
B30、根据B17所述的电子设备,其中,在所述处理器执行所述对排序后的所述多个文档进行合并,得到所述文件夹对应的目标文档之后,所述可执行指令还使所述处理器执行:B30. The electronic device according to B17, wherein after the processor executes the merging of the sorted documents to obtain the target document corresponding to the folder, the executable instruction further causes the The processor executes:
利用所述目标文档所属文件夹的文件夹名称以及文档合并标识,生成所述电子文本的文档名称;Utilize the folder name of the folder to which the target document belongs and the document merge identifier to generate the document name of the electronic text;
显示以所述文档名称命名的所述目标文档。The target document named after the document name is displayed.
B31、根据B17所述的电子设备,其中,在所述处理器执行所述对排序后的所述多个文档进行合并,得到所述文件夹对应的目标文档之后,所述可执行指令还使所述处理器执行:B31. The electronic device according to B17, wherein after the processor performs the merging of the sorted documents to obtain the target document corresponding to the folder, the executable instruction further causes the The processor executes:
为所述目标文档中的内容页添加页码,得到目标文档。Add page numbers to the content pages in the target document to obtain the target document.
B32、根据B17所述的电子设备,其中,在所述处理器执行所述检测到对所述多个文件夹的文档合并操作之前,所述可执行指令还使所述处理器执行:B32. The electronic device according to B17, wherein, before the processor performs the detected document merging operation on the multiple folders, the executable instructions further cause the processor to perform:
响应于检测到对所述多个文件夹的选中操作,为选择操作对应的文件夹添加选中标记;In response to detecting the selection operation on the plurality of folders, adding a check mark to the folder corresponding to the selection operation;
其中,文档合并操作用于触发对具有选中标记的文件夹内的文档进行合并。The document merging operation is used to trigger merging of the documents in the folder with the check mark.
C33、一种计算机可读存储介质,其中,所述存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得处理器实现用上述A1-A16中任一项所述的文档合并方法。C33. A computer-readable storage medium, wherein the storage medium stores a computer program that, when the computer program is executed by a processor, causes the processor to implement the document merging described in any one of A1-A16 above method.
本公开的各个部件实施例可以全部或部分步骤以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本公开实施例的电子设备中的一些或者全部部件的一些或者全部功能。本公开还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本公开的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present disclosure may be implemented in hardware in whole or in part, 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 of the functions of some or all of the components in the electronic device according to the embodiments of the present disclosure. The present disclosure can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing some or all of the methods described herein. Such a program implementing the present disclosure may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned disclosed concept, the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Additionally, although operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although the above discussion contains several implementation-specific details, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or logical acts of method, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111619161.5A CN114356858A (en) | 2021-12-27 | 2021-12-27 | Document merging method, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111619161.5A CN114356858A (en) | 2021-12-27 | 2021-12-27 | Document merging method, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114356858A true CN114356858A (en) | 2022-04-15 |
Family
ID=81103455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111619161.5A Pending CN114356858A (en) | 2021-12-27 | 2021-12-27 | Document merging method, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114356858A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117113933A (en) * | 2023-09-07 | 2023-11-24 | 中国中金财富证券有限公司 | Asset configuration report generation method and related device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1952925A (en) * | 2005-10-17 | 2007-04-25 | 佳能株式会社 | Document processing apparatus and method |
CN110069181A (en) * | 2019-04-26 | 2019-07-30 | 腾讯科技(深圳)有限公司 | Document handling method, device, equipment and storage medium across file |
-
2021
- 2021-12-27 CN CN202111619161.5A patent/CN114356858A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1952925A (en) * | 2005-10-17 | 2007-04-25 | 佳能株式会社 | Document processing apparatus and method |
CN110069181A (en) * | 2019-04-26 | 2019-07-30 | 腾讯科技(深圳)有限公司 | Document handling method, device, equipment and storage medium across file |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117113933A (en) * | 2023-09-07 | 2023-11-24 | 中国中金财富证券有限公司 | Asset configuration report generation method and related device |
CN117113933B (en) * | 2023-09-07 | 2024-08-09 | 中国中金财富证券有限公司 | Asset configuration report generation method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
O’Leary et al. | Exploring and retrieving sequence and metadata for species across the tree of life with NCBI Datasets | |
US20230315736A1 (en) | Method and apparatus for displaying search result, and computer storage medium | |
US20240143904A1 (en) | Human-Computer Interaction Method And Apparatus Thereof | |
US9251130B1 (en) | Tagging annotations of electronic books | |
US11030259B2 (en) | Document searching visualized within a document | |
US10817613B2 (en) | Access and management of entity-augmented content | |
US9342233B1 (en) | Dynamic dictionary based on context | |
WO2018187063A1 (en) | Smarter copy/paste | |
CN102317932A (en) | Electronic book system and content server | |
CN111666383A (en) | Information processing method, information processing device, electronic equipment and computer readable storage medium | |
Sungur et al. | Writing references and using citation management software | |
US20220121668A1 (en) | Method for recommending document, electronic device and storage medium | |
TW201403445A (en) | Content-based navigation for electronic devices | |
US9607105B1 (en) | Content searching techniques | |
US20140164360A1 (en) | Context based look-up in e-readers | |
WO2023179329A1 (en) | Method and apparatus for generating typesetting style codes of electronic book, and device and storage medium | |
CN111897778B (en) | Computer file merging method, device and system | |
Trinoskey et al. | Zotero: A product review | |
CN114356858A (en) | Document merging method, electronic device and storage medium | |
CN114297143A (en) | A method for searching files, a method, device and mobile terminal for displaying files | |
US11836197B2 (en) | Search processing method and apparatus based on clipboard data | |
Tsai et al. | PubMed-EX: a web browser extension to enhance PubMed search with text mining features | |
Newcomer | The detail behind web-scale: Selecting and configuring web-scale discovery tools to meet music information retrieval needs | |
US11645472B2 (en) | Conversion of result processing to annotated text for non-rich text exchange | |
CN113608656A (en) | Note processing method, electronic device and storage medium |
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 |