CN100395754C - Information extraction method and system - Google Patents
Information extraction method and system Download PDFInfo
- Publication number
- CN100395754C CN100395754C CNB2006100027283A CN200610002728A CN100395754C CN 100395754 C CN100395754 C CN 100395754C CN B2006100027283 A CNB2006100027283 A CN B2006100027283A CN 200610002728 A CN200610002728 A CN 200610002728A CN 100395754 C CN100395754 C CN 100395754C
- Authority
- CN
- China
- Prior art keywords
- database
- function command
- information data
- module
- computer software
- 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.)
- Expired - Fee Related
Links
- 238000000605 extraction Methods 0.000 title claims abstract description 30
- 238000001514 detection method Methods 0.000 claims abstract description 7
- 230000006870 function Effects 0.000 claims description 42
- 239000000284 extract Substances 0.000 claims description 10
- 238000000034 method Methods 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开一种信息提取方法及系统,应用在计算机软件程序中,本发明的信息提取系统包括储存模块、触发模块、识别模块、分析模块、提取模块、调用模块以及检测模块。本发明的信息提取方法及系统提供计算机软件程序在执行操作时,依据实际使用需求,提取相应功能指令执行所需的信息数据,不仅可大幅提升程序运行速度、提高工作效率,且可减少程序在运行过程中占用过多的储存空间。
The present invention discloses an information extraction method and system, which are applied in a computer software program. The information extraction system of the present invention comprises a storage module, a trigger module, an identification module, an analysis module, an extraction module, a call module and a detection module. The information extraction method and system of the present invention provide a computer software program to extract information data required for executing corresponding functional instructions according to actual use requirements when executing an operation, which can not only greatly improve the program running speed and work efficiency, but also reduce the excessive storage space occupied by the program during operation.
Description
技术领域 technical field
本发明是关于一种信息提取技术,特别是关于一种应用在计算机软件程序中的信息提取方法及系统。The present invention relates to an information extraction technology, in particular to an information extraction method and system applied in computer software programs.
背景技术 Background technique
随着信息技术发展的日趋成熟,计算机软件程序提供的服务功能也日益完善,因而使得各计算机软件程序附带的信息数据量急剧膨胀。此外,虽然计算机软件程序的功能日益强大,但对于普通使用者,在多数情况下往往只需使用到其中一小部分功能,可是现有计算机软件程序在执行启动过程中,会先将该程序附带的所有信息数据全部提取出来,此举对于一些包括大量信息数据的软件程序,例如翻译软件、绘图软件等,常常需要耗费大量时间执行启动作业,不仅浪费时间,且会增加占用内存的空间,显然不符合使用者的要求。With the development of information technology becoming more and more mature, the service functions provided by computer software programs are also becoming more and more perfect, thus causing the amount of information data attached to each computer software program to expand rapidly. In addition, although the functions of computer software programs are becoming more and more powerful, for ordinary users, in most cases, only a small part of the functions are needed. All the information and data of the system are extracted. For some software programs that contain a large amount of information and data, such as translation software, drawing software, etc., it often takes a lot of time to execute the startup operation, which not only wastes time, but also increases the space occupied by the memory. Obviously Does not meet user requirements.
承上所述,如何设计一种信息提取技术克服现有技术中存在的缺失,是目前亟待解决的课题。Based on the above, how to design an information extraction technology to overcome the deficiencies in the existing technologies is an urgent problem to be solved at present.
发明内容 Contents of the invention
为解决上述现有技术的缺点,本发明的主要目的在于提供一种信息提取方法及系统,可有效提升计算机软件程序的运行速度,提高工作效率。In order to solve the above-mentioned shortcomings of the prior art, the main purpose of the present invention is to provide an information extraction method and system, which can effectively increase the running speed of computer software programs and improve work efficiency.
本发明的另一目的在于提供一种信息提取方法及系统,可减少程序占用过多的储存空间。Another object of the present invention is to provide an information extraction method and system, which can reduce excessive storage space occupied by programs.
为达上述以及其它目的,本发明提供一种信息提取方法及系统。其中,该信息提取方法是应用在计算机软件程序中,该方法包括以下步骤:(1)在第一数据库中储存用于执行该计算机软件程序中所有功能指令所需的信息数据;(2)在第二数据库中记录该计算机软件程序初次运行所执行的各功能指令对应的信息数据;(3)在该计算机软件程序不是初次运行时,依据待执行的功能指令,查询该第二数据库中是否储存有用于执行该功能指令所需的信息数据,若否,则进到步骤(4),若是,则进到步骤(5);(4)从该第一数据库中提取执行该功能指令所需的信息数据,并储存在该第二数据库中;以及(5)输出执行该功能指令所需的信息数据,执行该功能指令。To achieve the above and other purposes, the present invention provides an information extraction method and system. Wherein, the information extraction method is applied in a computer software program, and the method includes the following steps: (1) storing in the first database information data required for executing all functional instructions in the computer software program; The second database records the information data corresponding to the functional instructions executed by the computer software program for the first time; (3) when the computer software program is not running for the first time, according to the functional instructions to be executed, it is inquired whether the second database stores There is the required information data for executing the functional instruction, if not, then proceed to step (4), if so, then proceed to step (5); (4) extract the required information for executing the functional instruction from the first database information data, and store in the second database; and (5) output the information data required for executing the functional instruction, and execute the functional instruction.
本发明的信息提取系统是应用在计算机软件程序中,该系统包括:储存模块,具有第一数据库及第二数据库,该第一数据库储存用于执行该软件程序中所有功能指令所需的信息数据;识别模块,识别该计算机软件程序中待执行的功能指令;分析模块,查询该第二数据库中是否储存有用于执行该功能指令所需的信息数据;提取模块,在该分析模块查询出该第二数据库没有储存执行该功能指令所需的信息数据时,从该第一数据库中提取执行该功能指令所需的信息数据;以及调用模块,依据该提取模块从该第一数据库提取的信息数据,执行该识别模块所识别的功能指令,并将该提取模块所提取的信息数据储存在该第二数据库中。The information extraction system of the present invention is applied in computer software programs, and the system includes: a storage module with a first database and a second database, and the first database stores information data required for executing all functional instructions in the software program The identification module identifies the functional instruction to be executed in the computer software program; the analysis module inquires whether the information data required for executing the functional instruction is stored in the second database; the extraction module inquires out the first When the second database does not store the information data required to execute the functional instruction, extract the information data required to execute the functional instruction from the first database; and call the module, according to the information data extracted by the extraction module from the first database, Execute the functional instruction identified by the identification module, and store the information data extracted by the extraction module in the second database.
与现有技术相比,本发明的信息提取方法及系统提供计算机软件程序在执行操作时,依据实际使用需求,提取相应功能指令执行所需的信息数据,不仅可大幅提升程序运行速度、提高工作效率,且可减少程序在运行过程中占用过多的储存空间。Compared with the prior art, the information extraction method and system of the present invention provide computer software programs to extract information and data required for the execution of corresponding functional instructions according to actual use requirements when the computer software program is performing operations, which can not only greatly increase the running speed of the program, but also improve work efficiency. Efficiency, and can reduce the excessive storage space occupied by the program during operation.
附图说明 Description of drawings
图1是本发明的信息提取系统的基本架构方块图示意情形;以及Fig. 1 is a schematic situation of the basic architecture block diagram of the information extraction system of the present invention; and
图2是本发明的信息提取方法的运作流程示意图。FIG. 2 is a schematic diagram of the operation flow of the information extraction method of the present invention.
具体实施方式 Detailed ways
实施例Example
图1是本发明的信息提取系统的基本架构示意图。如图所示,本发明的信息提取系统10应用在计算机软件程序中20,尤其是一些含有大量信息数据的软件程序,例如Dr.eye等翻译软件或Photoshop等绘图软件。此外,该计算机软件程序20也可以是例如Windows或Linux等的操作系统。FIG. 1 is a schematic diagram of the basic architecture of the information extraction system of the present invention. As shown in the figure, the
本发明的信息提取系统10包括储存模块100、触发模块110、识别模块120、分析模块130、提取模块140、调用模块150以及检测模块160。The
该储存模块100还包括第一数据库101及第二数据库102,其中,该第一数据库101储存该计算机软件程序20执行所有功能指令所需的信息数据。举例,Dr.eye翻译软件是具有“实时翻译”、“实时辞典”、“生字笔记”、“全文翻译”、“界面翻译”等功能的软件,该第一数据库101中储存有执行上述所有功能指令所需的信息数据。该第二数据库102则用于储存执行该计算机软件程序20各基本功能指令所需的信息数据,在本实施例中,是将该计算机软件程序20初次运行时执行的各功能指令对应的信息数据储存在该第二数据库102中。例如Dr.eye翻译软件是具有中、日、英三种语言的互译功能,当该软件程序在初次运行时,仅执行了中英互译功能,则该第二数据库102中只需储存英文词汇库及中文词汇库,不需要储存日文词汇库。The
该触发模块110是依据使用者需求,触发执行该计算机软件程序20中相应的功能指令。其中,使用者可利用例如鼠标的输入单元选择所需的功能指令图标(例如通过鼠标双击“文件总管”图标),触发执行该功能指令,也可通过特定的指令输入栏中(例如window xp操作系统的“运行”命令字段)输入相关指令语言,触发执行该功能指令。The
该识别模块120用于识别该触发模块110触发执行的功能指令。The identifying
该分析模块130依据该识别模块120的识别结果,查询该第二数据库102中是否储存有该功能指令执行所需的信息数据。The
该提取模块140在该第二数据库102中储存有执行该功能指令所需的信息数据时,即从该第二数据库102中提取该信息数据,供该计算机软件程序20执行该功能指令,反之,在该分析模块130查询出该第二数据库102没有储存执行该功能指令所需的信息数据时,从该第一数据库101中提取执行该功能指令所需的信息数据。The extracting
该调用模块150在该第二数据库102中不具有执行该功能指令所需的信息数据时,输出该提取模块140从该第一数据库101提取的信息数据,供该计算机软件程序20执行该功能指令,且同时将该信息储存在该第二数据库102中。When the
此外,该信息提取系统10还具有检测模块160,需说明的是,为确保该计算机软件程序20的运行速度,在本实施例中,是将该第二数据库102设定为具有固定储存容量的存储器,该检测模块160是实时检测该第二数据库102的剩余储存空间,并当该剩余储存空间不足时,依据预设规则释放该第二数据库中的部分信息数据。其中,该预设规则可根据各信息数据的使用次数进行设定,例如将使用次数最少的信息数据作为优先释放的数据;也可参考各信息数据的使用时间先后,例如将更新时间最久的信息数据作为优先释放的数据。此外,在该调用模块150将需要的相关信息数据存储在该第二数据库102时,该检测模块160预先判断该第二数据库102的剩余储存空间是否足够储存该信息数据,并当该第二数据库102中的剩余储存空间不足时,即依据上述预设规则自动释放相应的信息数据。In addition, the
图2是本发明的信息提取方法的运行流程示意图。如图所示,首先进行步骤S210,将用于执行该计算机软件程序20中所有功能指令所需的信息数据存储在第一数据库101中,接着进到步骤S220。Fig. 2 is a schematic diagram of the operation flow of the information extraction method of the present invention. As shown in the figure, first proceed to step S210, and store the information data required for executing all functional instructions in the computer software program 20 in the
在步骤S220中,将该计算机软件程序20在初次运行时执行的各功能指令对应的信息数据记录在第二数据库102中,在本实施例中,也可将执行该计算机软件程序20中各基本的功能指令所需的信息数据储存在该第二数据库102中,接着进到步骤S230。In step S220, the information data corresponding to the functional instructions executed by the computer software program 20 when it is run for the first time is recorded in the
在步骤S230中,在该计算机软件程序20不是初次运行时,依据使用者需求,触发执行相应的功能指令,其中使用者可利用例如鼠标的输入单元选择所需的功能指令图标(例如通过鼠标双击“文件总管”图标)以触发执行该功能指令,也可通过特定的指令输入栏中(例如window xp的操作系统的“运行”命令字段)输入相关指令语言以触发执行该功能指令,接着进到步骤S240。In step S230, when the computer software program 20 is not running for the first time, according to the needs of the user, the execution of the corresponding function command is triggered, wherein the user can use an input unit such as a mouse to select the desired function command icon (for example, double-click the mouse to "File Explorer" icon) to trigger the execution of the functional command, or enter the relevant command language through a specific command input field (such as the "run" command field of the operating system of window xp) to trigger the execution of the functional command, and then enter Step S240.
在步骤S240中,识别使用者触发执行的功能指令,接着进到步骤S250。In step S240, identify the function command triggered by the user, and then proceed to step S250.
在步骤S250中,查询该第二数据库102中是否储存有该功能指令执行所需的信息数据,若是,则跳到步骤S270,否则进行步骤S260。In step S250, check whether the
在步骤S260中,从该第一数据库101中提取执行该功能指令所需的信息数据,并将该信息数据储存在该第二数据库102中,需要说明的是,由于该第二数据库是具有固定储存容量的存储器,因此在执行该储存作业之前,会先检查该第二数据库102的剩余储存空间是否有足够空间存储该信息数据,若该检测结果是剩余储存空间不足时,即依据预设的规则释放储存在该第二数据库102中的部分信息数据,直至该第二数据库102中的剩余储存空间足够储存该信息数据,接着进到步骤S270。In step S260, extract the information data required to execute the function instruction from the
在步骤S270中,输出该信息数据,供该计算机软件程序执行该功能指令。In step S270, output the information data for the computer software program to execute the functional instruction.
综上所述,本发明的信息提取方法及系统可依据计算机软件程序20实际执行的各功能指令,提取相应的部分信息数据,大幅提高计算机软件程序20的运行速度,且可减少该计算机软件程序20在执行操作时占用过多的的储存空间。In summary, the information extraction method and system of the present invention can extract corresponding partial information data according to the functional instructions actually executed by the computer software program 20, greatly improve the running speed of the computer software program 20, and reduce the number of computer software programs. 20 Excessive storage space is taken up during operation.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100027283A CN100395754C (en) | 2006-01-25 | 2006-01-25 | Information extraction method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100027283A CN100395754C (en) | 2006-01-25 | 2006-01-25 | Information extraction method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101008949A CN101008949A (en) | 2007-08-01 |
| CN100395754C true CN100395754C (en) | 2008-06-18 |
Family
ID=38697382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2006100027283A Expired - Fee Related CN100395754C (en) | 2006-01-25 | 2006-01-25 | Information extraction method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100395754C (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102597952B (en) * | 2009-11-09 | 2015-08-05 | 三菱电机株式会社 | Software library rebuilds apparatus and method and utilizes the guider of these apparatus and method |
| CN109255127A (en) * | 2018-09-27 | 2019-01-22 | 华东师范大学 | A kind of appellative function point intelligent identifying system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6237144B1 (en) * | 1998-09-21 | 2001-05-22 | Microsoft Corporation | Use of relational databases for software installation |
| US6618857B1 (en) * | 2000-03-27 | 2003-09-09 | Microsoft Corporation | Method and system for installing software on a computer system |
| CN1506855A (en) * | 2002-12-06 | 2004-06-23 | 联想(北京)有限公司 | Industrial production process of main hard disc protection area |
| US20050010934A1 (en) * | 2001-10-24 | 2005-01-13 | Blaise Sanouillet | Native code isolation in a multi-tasking java virtual machine |
-
2006
- 2006-01-25 CN CNB2006100027283A patent/CN100395754C/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6237144B1 (en) * | 1998-09-21 | 2001-05-22 | Microsoft Corporation | Use of relational databases for software installation |
| US6618857B1 (en) * | 2000-03-27 | 2003-09-09 | Microsoft Corporation | Method and system for installing software on a computer system |
| US20050010934A1 (en) * | 2001-10-24 | 2005-01-13 | Blaise Sanouillet | Native code isolation in a multi-tasking java virtual machine |
| CN1506855A (en) * | 2002-12-06 | 2004-06-23 | 联想(北京)有限公司 | Industrial production process of main hard disc protection area |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101008949A (en) | 2007-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107491345B (en) | Method for writing picture data and distributed NewSQ L database system | |
| US9465726B2 (en) | Abstract layer for automatic user interface testing | |
| CN103869931B (en) | Method and device for controlling user interface through voice | |
| TW202020691A (en) | Method, device and server for determining characteristic words | |
| US20060026559A1 (en) | Automatic content completion of valid values for method argument variables | |
| CN109740041B (en) | Webpage crawling method and device, storage medium and computer equipment | |
| CN114546795A (en) | Memory leak detection method, electronic device, and computer-readable storage medium | |
| CN111124371A (en) | Game-based data processing method, device, equipment and storage medium | |
| US20080126920A1 (en) | Method for creating FMEA sheet and device for automatically creating FMEA sheet | |
| CN107609199A (en) | A kind of method, equipment and storage medium for handling and recovering the page | |
| CN109947635A (en) | A kind of data reporting method, device, storage medium and terminal device | |
| CN111240728A (en) | Application program updating method, device, equipment and storage medium | |
| CN110955598B (en) | Breakpoint processing method and device for kernel mode program | |
| CN100395754C (en) | Information extraction method and system | |
| CN113127105A (en) | Excel automatic voice tool calling method | |
| CN101776993B (en) | System and method automatically generating software interactive interface | |
| CN116431481A (en) | Code parameter verification method and device based on multi-code condition | |
| WO2023284877A1 (en) | Detection method and apparatus, and electronic device | |
| CN115221874A (en) | Inverted index construction method, list screening method, device, electronic device | |
| CN113867834A (en) | Debugging plug-in calling method and device and computer readable storage medium | |
| WO2025093052A1 (en) | Low-code conversion method and apparatus, readable storage medium, and device | |
| CN119003574A (en) | Automatic optimization method, device, equipment and medium for SQL execution performance | |
| CN118259962A (en) | Redundant data processing method, device, storage medium and equipment | |
| CN114489829B (en) | Remote sensing image sample labeling method based on ArcMap | |
| CN113094122B (en) | Data processing script execution method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080618 Termination date: 20120125 |
