CN1295613C - Method for general windows program to operate journal information record - Google Patents
Method for general windows program to operate journal information record Download PDFInfo
- Publication number
- CN1295613C CN1295613C CNB02146331XA CN02146331A CN1295613C CN 1295613 C CN1295613 C CN 1295613C CN B02146331X A CNB02146331X A CN B02146331XA CN 02146331 A CN02146331 A CN 02146331A CN 1295613 C CN1295613 C CN 1295613C
- Authority
- CN
- China
- Prior art keywords
- log information
- interface function
- memory
- memory block
- small memory
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及程序运行日志信息记录技术领域,特别是指一种通用Windows环境下程序运行日志信息记录方法。The invention relates to the technical field of program operation log information recording, in particular to a method for recording program operation log information in a general Windows environment.
背景技术Background technique
运行日志信息记录是程序调试和问题定位常用的方法。一般的日志信息记录方式都是通过直接将程序要记录的字符串信息以写文件的方式来实现。这种方式如果直接应用于商用软件产品中将存在很多弊病。Running log information recording is a common method for program debugging and problem location. The general log information recording method is realized by directly writing the string information to be recorded by the program to a file. If this method is directly applied to commercial software products, there will be many disadvantages.
首先,这种日志信息记录的方式没有将日志信息分级。在调试版本和发布版本时,如果不修改代码,则无法将调试程序时的日志信息记录清除,因此会占用很多内存空间,造成资源的浪费。First of all, this way of recording log information does not classify the log information. During the debug version and the release version, if the code is not modified, the log information records during the debug program cannot be cleared, so a lot of memory space will be occupied, resulting in a waste of resources.
其次,在有大量日志信息记录运行的情况下,程序的运行性能将受到严重影响,甚至会导致程序正常运行的阻塞。用户总是希望调用日志信息记录能够尽快完成,但通常日志信息的处理总是非常耗时。Secondly, when there are a large amount of log information to record the operation, the running performance of the program will be seriously affected, and even cause the normal operation of the program to be blocked. Users always hope that the call log information recording can be completed as soon as possible, but usually the processing of log information is always very time-consuming.
再次,记录日志信息需要对内存频繁地申请和释放,将产生大量的内存碎片,导致系统内存使用率降低,甚至出现无可用内存的情况。Thirdly, recording log information requires frequent application and release of memory, which will generate a large amount of memory fragmentation, resulting in a decrease in system memory usage, or even a situation where there is no available memory.
发明内容Contents of the invention
有鉴于此,本发明的目的在于提供一种通用Windows程序运行日志信息记录方法,实现通用、高效、灵活的运行日志信息记录。In view of this, the object of the present invention is to provide a general Windows program operation log information recording method to realize general, efficient and flexible operation log information recording.
为了达到上述目的,本发明提供了一种通用Windows程序运行日志信息记录方法,其特征在于包括以下步骤:In order to achieve the above object, the invention provides a kind of general Windows program running log information recording method, it is characterized in that comprising the following steps:
A、按照日志信息类型调用日志信息接口函数,由调用的日志信息接口函数将日志信息原始数据放入日志信息队列中,将日志信息数据处理通知发送至日志信息处理模块后直接返回;A. Call the log information interface function according to the type of log information. The called log information interface function puts the original data of the log information into the log information queue, sends the log information data processing notification to the log information processing module and returns directly;
B、日志信息数据处理模块收到日志信息数据处理通知后,对日志信息队列中的日志信息进行包括保存、显示、格式化的处理。B. After receiving the log information data processing notification, the log information data processing module performs processing including saving, displaying and formatting the log information in the log information queue.
步骤A进一步包括:Step A further includes:
a、调用内存管理函数,由调用的内存管理函数管理向系统申请一块可用内存空间,将这段内存空间分成一个以上的小内存块;对这些小内存块进行编号,并通过设置使用标志“空闲”或“被使用”表示小内存块的使用状态;a. Call the memory management function, and the called memory management function manages to apply for an available memory space from the system, and divide this memory space into more than one small memory block; number these small memory blocks, and set the use flag "free " or "Used" indicates the usage status of the small memory block;
b、记录最新分配的小内存块的编号,将日志信息原始数据存储其中,并将其使用标志由“空闲”置为“被使用”;b. Record the number of the newly allocated small memory block, store the original data of the log information in it, and set its use flag from "free" to "used";
c、分配内存时,向最新分配的小内存块编号增长的方向搜索,找到一块使用标志为“空闲”的小内存块存储日志信息原始数据,将其使用标志由“空闲”置为“被使用”;c. When allocating memory, search in the direction in which the number of the newly allocated small memory block increases, find a small memory block whose usage flag is "free" to store the original data of the log information, and set its usage flag from "free" to "used" ";
所述步骤B进一步包括:释放内存块中存储的日志信息原始数据时,调用内存管理函数,由调用的内存管理函数根据分配的小内存块编号找到需要释放日志信息原始数据的小内存块,释放日志信息原始数据后将其使用标志由“被使用”置为“空闲”。Said step B further comprises: when releasing the log information raw data stored in the memory block, calling the memory management function, the small memory block that needs to release the log information original data is found by the called memory management function according to the allocated small memory block number, and releasing After the original data of the log information, set its use flag from "used" to "idle".
根据日志信息原始数据的前后关系将存储日志信息原始数据的小内存块排列起来形成所述的日志信息队列。The log information queue is formed by arranging the small memory blocks storing the original log information data according to the context of the original log information data.
步骤A进一步包括:设置日志信息处理级别接口函数用来确定需要处理的日志信息级别,包括致命、错误、警告、提示;日志信息处理级别接口函数判断日志信息是否为需要处理的级别,需要处理时,将该日志信息原始数据放入日志信息队列中,不需要处理时,日志信息处理级别接口函数调用结束。Step A further includes: setting the log information processing level interface function to determine the log information level that needs to be processed, including fatal, error, warning, and prompt; the log information processing level interface function judges whether the log information is at the level that needs to be processed. , put the original log information data into the log information queue, and when no processing is required, the log information processing level interface function call ends.
较佳地,日志信息接口函数包括:携带可变参数字符串日志信息接口函数、内存块日志信息接口函数、自定义帧日志信息接口函数、定制格式日志信息接口函数、设置日志信息处理级别接口函数。Preferably, the log information interface function includes: a log information interface function carrying a variable parameter string, a memory block log information interface function, a custom frame log information interface function, a custom format log information interface function, and a log information processing level interface function .
系统通过回调定制格式日志信息接口函数构造日志信息格式。The system constructs the log information format by calling back the custom format log information interface function.
本发明通过将调用日志信息接口函数与日志信息数据处理分离进行,日志信息接口函数与日志信息数据处理模块间通过日志信息队列进行数据交换,保证了日志信息的处理不会阻塞程序的正常运行,同时保证在日志信息处理过程出现异常也不会影响正常流程的执行。多种类型的日志信息接口函数为用户提供了通用、高效、灵活的日志信息记录方法,用户可以通过定制格式日志信息接口函数构造对显示格式有特殊要求的日志信息。在将日志信息原始数据放入日志信息队列和日志信息数据处理过程中,没有使用系统的内存分配方法,而是应用内存管理函数对内存进行简单高效的管理。通过调用内存管理函数,减少了内存的分配次数,提高了空闲内存被选中的概率,避免了因内存的频繁分配而导致的大量内存碎片。The present invention separates the calling of the log information interface function from the log information data processing, and performs data exchange between the log information interface function and the log information data processing module through the log information queue, thereby ensuring that the processing of the log information will not block the normal operation of the program. At the same time, it is guaranteed that abnormalities in the process of log information processing will not affect the execution of normal processes. Various types of log information interface functions provide users with a general, efficient, and flexible log information recording method. Users can construct log information with special requirements for display formats through custom format log information interface functions. In the process of putting the original data of the log information into the log information queue and processing the log information data, the memory allocation method of the system is not used, but the memory management function is used to manage the memory simply and efficiently. By calling the memory management function, the number of memory allocations is reduced, the probability of free memory being selected is increased, and a large amount of memory fragmentation caused by frequent allocation of memory is avoided.
附图说明Description of drawings
图1示出了依据本发明的调用日志信息接口函数的流程图;Fig. 1 shows the flowchart of calling log information interface function according to the present invention;
图2示出了依据本发明的日志信息数据处理过程的流程图;Fig. 2 shows the flow chart of log information data processing process according to the present invention;
图3示出了依据本发明的内存管理函数管理内存的方法示意图。FIG. 3 shows a schematic diagram of a method for managing memory according to the memory management function of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
日志信息对安全来说非常重要,它记录了系统每天发生的各种各样的事件,用户可以通过它来检查错误发生的原因,或者受到攻击时攻击者留下的痕迹。而且每个大型应用程序在开发、测试及产品化周期中都需要使用日志信息实用程序。日志信息的主要功能为审计和监测。日志信息可以实时地监测系统状态,监测到入侵者的入侵并追踪入侵者等等。Log information is very important for security. It records various events that occur in the system every day. Users can use it to check the cause of errors or the traces left by attackers when they are attacked. And every large application needs a logging utility during the development, testing, and production cycles. The main function of log information is auditing and monitoring. The log information can monitor the system status in real time, detect the intruder's intrusion and track the intruder, etc.
日志信息的内容主要包括:记录日志信息的时间、级别、文件名、代码行号、日志信息主体等几部分。日志信息一般分为致命、错误、警告和提示四个级别。The content of log information mainly includes: the time, level, file name, code line number, log information body and other parts of recording log information. Log information is generally divided into four levels: fatal, error, warning and prompt.
本发明为用户提供多种方式进行日志信息记录、显示和处理。用户可以分别定义需要存储、显示哪些级别的日志信息。在使用过程中将日志信息按照类型封装成几个日志信息接口函数,每个日志信息接口函数处理一种类型的日志信息,例如:携带可变参数字符串日志信息接口函数,内存块日志信息接口函数(将内存中某段连续地址空间的内容存储下来)、自定义帧日志信息接口函数等。因此,在需要记录不同类型日志信息或希望以不同形式记录日志信息时,只需要简单调用相应类型的日志信息接口函数即可。对于用户需要存储的某些级别的日志信息,可以调用设置日志信息处理级别接口函数来确定需要存储的日志信息。用户对日志信息的显示格式有特殊要求时,可以采用定制格式日志信息接口函数进行自由定制。The invention provides users with multiple ways to record, display and process log information. Users can separately define which levels of log information need to be stored and displayed. During use, the log information is encapsulated into several log information interface functions according to the type, and each log information interface function processes a type of log information, for example: the log information interface function carrying variable parameter strings, and the memory block log information interface function (to store the contents of a certain continuous address space in the memory), custom frame log information interface functions, etc. Therefore, when you need to record different types of log information or want to record log information in different forms, you only need to simply call the corresponding type of log information interface function. For certain levels of log information that the user needs to store, the interface function of setting the log information processing level can be called to determine the log information that needs to be stored. When users have special requirements for the display format of log information, they can freely customize it using the custom format log information interface function.
本发明通过将调用日志信息接口函数和日志信息数据处理分离进行的方法,保证日志信息的处理不会阻塞程序的正常运行,同时保证日志信息处理过程中出现的异常也不会影响正常流程的执行。The present invention separates the calling of the log information interface function from the processing of the log information data to ensure that the processing of the log information will not block the normal operation of the program, and at the same time ensure that the abnormality in the log information processing process will not affect the execution of the normal process .
日志信息接口函数与日志信息数据处理模块间通过一个日志信息队列进行数据交换。用户在调用日志信息接口函数后,日志信息接口函数只是将日志信息的原始数据放入日志信息队列中,并将日志信息处理通知发送至日志信息数据处理模块,然后日志信息接口函数就停止运行。这样就可以保证日志信息的处理过程不会占用原有流程的时间,其中的异常也不会影响正常流程的执行。The log information interface function and the log information data processing module perform data exchange through a log information queue. After the user calls the log information interface function, the log information interface function just puts the original data of the log information into the log information queue, and sends the log information processing notification to the log information data processing module, and then the log information interface function stops running. In this way, it can be ensured that the processing of the log information will not occupy the time of the original process, and the abnormality will not affect the execution of the normal process.
日志信息数据处理模块在得到日志信息处理通知后,就从日志信息队列中取出日志信息原始数据进行处理,构造可读性强的日志信息。日志信息数据处理模块对日志信息原始数据的处理包括格式化、存储、显示等。调用设置日志信息处理级别接口函数来确定需要存储的日志信息,根据用户的设置将日志信息存储到日志信息文件中,或显示在指定的窗口中,或根据用户定制的方式进行处理。格式化是指将数据构造成需要的格式,如将十六进制的数据转换成十进制的数据。After the log information data processing module receives the log information processing notification, it takes out the original log information data from the log information queue for processing, and constructs highly readable log information. The log information data processing module processes the original data of the log information, including formatting, storing, displaying and so on. Call the interface function of setting the log information processing level to determine the log information to be stored, store the log information in the log information file according to the user's settings, or display it in the specified window, or process it according to the user-defined method. Formatting refers to constructing data into the required format, such as converting hexadecimal data to decimal data.
图1示出了依据本发明的调用日志信息接口函数的流程图,如图1所示:Fig. 1 shows the flowchart of calling log information interface function according to the present invention, as shown in Fig. 1:
步骤101~步骤102:用户依据日志信息类型调用相应类型的日志信息接口函数,日志信息接口函数接收日志信息原始数据。该类型的日志信息接口函数根据日志信息的级别和设置日志信息处理级别接口函数判断该日志信息原始数据是否需要处理,如果需要处理,执行步骤103;如果不需要处理,执行步骤106。Step 101-Step 102: The user calls the log information interface function of the corresponding type according to the log information type, and the log information interface function receives the original data of the log information. This type of log information interface function judges whether the original data of the log information needs to be processed according to the level of the log information and the set log information processing level interface function. If processing is required, perform step 103; if not, perform step 106.
步骤103~步骤105:日志信息接口函数调用内存管理函数,内存管理函数为日志信息原始数据分配内存存储空间。日志信息接口函数将日志信息原始数据放入日志信息队列中,并将日志信息处理通知发送至日志信息数据处理模块。Steps 103 to 105: the log information interface function calls the memory management function, and the memory management function allocates memory storage space for the original data of the log information. The log information interface function puts the original log information data into the log information queue, and sends the log information processing notification to the log information data processing module.
步骤106:日志信息接口函数调用结束。Step 106: The log information interface function call ends.
图2示出了依据本发明的日志信息数据处理过程的流程图,如图2所示:Fig. 2 shows the flow chart of log information data processing process according to the present invention, as shown in Fig. 2:
步骤201~步骤203:日志信息数据处理模块收到日志信息接口函数发送的日志信息处理通知后,对日志信息原始数据进行处理,构造可读性强的日志信息,然后存储、显示日志信息。
步骤204~步骤205:日志信息原始数据处理完毕,日志信息数据处理模块调用内存管理函数,内存管理函数释放存储日志信息原始数据的内存块。日志信息数据处理模块运行完毕。
步骤101~步骤106为调用日志信息接口函数的过程,步骤201~步骤205为日志信息数据处理的过程,两个过程是分离进行的,这样就可以保证日志信息的处理过程不会占用原有流程的时间,其中的异常也不会影响正常流程的执行。Steps 101 to 106 are the process of calling the log information interface function, and steps 201 to 205 are the process of processing the log information data. The two processes are performed separately, so that the processing of the log information will not occupy the original process. During the time, the exception will not affect the execution of the normal process.
在对调用日志信息接口函数和日志信息数据处理过程的描述中,提到了内存管理函数。本发明中没有采用系统分配内存的方法,而是采用内存管理函数进行自己的内存管理。In the description of calling the log information interface function and the process of log information data processing, the memory management function is mentioned. In the present invention, the method of allocating memory by the system is not adopted, but the memory management function is used to manage its own memory.
内存管理函数向系统申请一块可用内存,并将其分成若干小内存块,对每个小内存块进行编号,并设置“空闲”和“被使用”的使用标志。在需要使用内存时,则从这些小内存块中找到一块使用标志为“空闲”的小内存块存储日志信息原始数据,将其使用标志由“空闲”置为“被使用”。The memory management function applies for an available memory from the system, divides it into several small memory blocks, numbers each small memory block, and sets the usage flags of "free" and "used". When the memory needs to be used, find a small memory block marked as "free" from these small memory blocks to store the original data of the log information, and set its use flag from "free" to "used".
在整个内存管理过程中,将最新分配的小内存块的编号记录下来。分配内存时,从该位置编号向后搜索,找到一块使用标志为“空闲”的小内存块,将日志信息原始数据存储其中,并将其使用标志置为“被使用”。而释放内存时,则根据小内存块的编号,找到要释放的小内存块的编号,将其存储的内容释放,然后将其使用标志置为“空闲”。During the entire memory management process, record the number of the newly allocated small memory block. When allocating memory, search backward from the position number to find a small memory block whose usage flag is "free", store the original data of the log information in it, and set its usage flag to "used". And when releasing the memory, then according to the numbering of the small memory block, find the numbering of the small memory block to be released, release the content stored in it, and then set its use flag to "idle".
图3示出了依据本发明的内存管理函数管理内存的方法示意图,如图3所示:Fig. 3 shows a schematic diagram of a method for managing memory according to the memory management function of the present invention, as shown in Fig. 3:
内存管理函数向系统申请一块可用内存301,将内存301分成N个小内存块,对这N个小内存块进行编号,从第一个小内存块302编号0至第N个小内存块304编号N-1。在最初将每个小内存块的使用标志都置为“空闲”。在需要使用内存时,从内存301的小内存块中找到一块使用标志为“空闲”的小内存块存储内容,将其使用标志由“空闲”置为“被使用”。The memory management function applies for an available memory 301 from the system, divides the memory 301 into N small memory blocks, and numbers the N small memory blocks, from the number 0 of the first small memory block 302 to the number of the Nth small memory block 304 N-1. Initially set the use flag of each small memory block to "free". When the memory needs to be used, find a small memory block with a use flag of "free" to store content from the small memory blocks of the internal memory 301, and set its use flag from "free" to "used".
若小内存块303为最新分配的小内存块,内存管理函数记录小内存块303的编号,并将小内存块303的使用标志由“空闲”置为“被使用”。分配内存时,向最新分配的小内存块编号增长的方向搜索,即沿箭头306的方向进行搜索,找到一块使用标志为“空闲”的小内存块,将日志信息原始数据存储其中,并将其使用标志置为“被使用”。内存释放时,根据分配的小内存块编号找到需要释放日志信息原始数据的小内存块,释放完毕,将其使用标志由“被使用”置为“空闲”。If the small memory block 303 is the newly allocated small memory block, the memory management function records the number of the small memory block 303, and sets the use flag of the small memory block 303 from "free" to "used". When allocating memory, search in the direction in which the number of the newly allocated small memory block increases, that is, search along the direction of arrow 306, find a small memory block marked as "free", store the original data of the log information in it, and save it The use flag is set to "used". When the memory is released, find the small memory block that needs to release the original data of the log information according to the number of the allocated small memory block, and after the release is complete, set its use flag from "used" to "free".
这种内存管理方法对内存进行了简单高效的管理,可保证在需要分配内存时能够很快命中空闲内存块;而在释放内存时,也能很快找到需要释放内容的小内存块的位置。这样大大减少了内存的分配次数,同时保证了空闲内存被选中的概率。通过这种方式避免了因内存的频繁分配而导致的大量内存碎片。This memory management method manages the memory simply and efficiently, which can ensure that the free memory block can be hit quickly when the memory needs to be allocated; and when the memory is released, the location of the small memory block that needs to be released can also be quickly found. This greatly reduces the number of memory allocations, while ensuring the probability of free memory being selected. In this way, a large amount of memory fragmentation caused by frequent allocation of memory is avoided.
对于想定制日志信息格式的用户,本发明中也提供了灵活的定制格式日志信息接口函数,通过回调定制格式日志信息接口函数的形式来构造符合用户要求的特殊的信息。所谓回调函数就是用户自己编写符合要求的函数,系统调用这个函数后,构造出满足用户需求的格式。如:For users who want to customize the log information format, the present invention also provides a flexible custom format log information interface function, and constructs special information that meets user requirements by calling back the form of the custom format log information interface function. The so-called callback function is that the user writes a function that meets the requirements. After the system calls this function, it constructs a format that meets the user's needs. like:
W2L(BYTE byLevel,PVOID pData,MAKESTRPROC MakeStrProc)W2L(BYTE byLevel, PVOID pData, MAKESTRPROC MakeStrProc)
其中pData是需要处理的日志信息原始数据结构;Where pData is the original data structure of the log information to be processed;
MakeStrProc是构造日志信息自定义格式的函数的指针。MakeStrProc is a pointer to a function that constructs a custom format for log information.
如果用户调用上面的定制格式日志信息接口函数来记录日志信息,则在实际处理日志信息原始数据时,日志信息数据处理模块会将日志信息原始数据pData交给MakeStrProc处理,最后将处理结果存储并显示。If the user calls the above custom-format log information interface function to record log information, when actually processing the original log information data, the log information data processing module will hand over the original log information pData to MakeStrProc for processing, and finally store and display the processing result .
用户通过定制格式日志信息接口函数构造符合自己需求的日志信息,定制格式日志信息接口函数为用户提供了灵活的操作,保证日志信息接口函数具有高度的可扩展性。Users construct log information that meets their own needs through the custom format log information interface function. The custom format log information interface function provides users with flexible operations and ensures that the log information interface function has a high degree of scalability.
总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。In a word, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB02146331XA CN1295613C (en) | 2002-10-24 | 2002-10-24 | Method for general windows program to operate journal information record |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB02146331XA CN1295613C (en) | 2002-10-24 | 2002-10-24 | Method for general windows program to operate journal information record |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1492330A CN1492330A (en) | 2004-04-28 |
| CN1295613C true CN1295613C (en) | 2007-01-17 |
Family
ID=34232687
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB02146331XA Expired - Fee Related CN1295613C (en) | 2002-10-24 | 2002-10-24 | Method for general windows program to operate journal information record |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1295613C (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101216800B (en) * | 2008-01-02 | 2010-12-29 | 中兴通讯股份有限公司 | LINUX log controller and method |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006099442A (en) * | 2004-09-29 | 2006-04-13 | Canon Inc | Information processing apparatus, history file creation method, and program |
| CN1315041C (en) * | 2004-12-29 | 2007-05-09 | 华为技术有限公司 | A method and system for improving the comprehensibility of program operation information |
| US7664995B2 (en) * | 2006-07-31 | 2010-02-16 | International Business Machines Corporation | Transfer of application loggin status information across subsystem nodes |
| CN101369250B (en) * | 2008-10-08 | 2010-09-29 | 上海闻泰电子科技有限公司 | Execution method for tape log based on Shell |
| CN102681931A (en) * | 2012-05-15 | 2012-09-19 | 天津市天元新泰科技发展有限公司 | Realization method of log and abnormal probe |
| CN102981943B (en) * | 2012-10-29 | 2016-05-11 | 新浪技术(中国)有限公司 | The method and system of monitoring application daily record |
| CN103942150A (en) * | 2014-04-01 | 2014-07-23 | 上海网达软件股份有限公司 | Memory management method for real-time streaming media transmission system |
| CN105260315B (en) * | 2015-11-13 | 2018-04-06 | 上海斐讯数据通信技术有限公司 | A kind of method of the debugging log in embedded system process |
| CN106529679B (en) * | 2016-10-14 | 2020-01-14 | 腾讯科技(上海)有限公司 | Machine learning method and system |
| CN113656358A (en) * | 2020-05-12 | 2021-11-16 | 网联清算有限公司 | Method and system for processing database log files |
| CN114817185A (en) * | 2022-04-01 | 2022-07-29 | 中汽创智科技有限公司 | Asynchronous log processing method based on message driving |
| CN115048046B (en) * | 2022-05-26 | 2022-11-25 | 北京华昱卓程软件有限公司 | Log file system and data management method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1361489A (en) * | 2000-12-28 | 2002-07-31 | 深圳市中兴通讯股份有限公司 | Automatic circular daily record information storing method and system |
| WO2002073465A2 (en) * | 2001-03-09 | 2002-09-19 | Oracle Corporation | System and method for maintaining large-grained database concurrency with a log monitor incorporating dynamically redefinable business logic |
-
2002
- 2002-10-24 CN CNB02146331XA patent/CN1295613C/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1361489A (en) * | 2000-12-28 | 2002-07-31 | 深圳市中兴通讯股份有限公司 | Automatic circular daily record information storing method and system |
| WO2002073465A2 (en) * | 2001-03-09 | 2002-09-19 | Oracle Corporation | System and method for maintaining large-grained database concurrency with a log monitor incorporating dynamically redefinable business logic |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101216800B (en) * | 2008-01-02 | 2010-12-29 | 中兴通讯股份有限公司 | LINUX log controller and method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1492330A (en) | 2004-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1295613C (en) | Method for general windows program to operate journal information record | |
| CN100343826C (en) | Method for implementing memory management | |
| US8959490B2 (en) | Optimizing heap memory usage | |
| CN107688437B (en) | Solid state memory capacity management system and method | |
| US6804761B1 (en) | Memory allocation system and method | |
| US20250139014A1 (en) | Persistent storage device management | |
| CN1761212A (en) | Method to chain events in a system event log | |
| CN116069530B (en) | Simulation engine data sharing blackboard system based on memory pool | |
| CN105187241A (en) | Log recording method and system based on linux kernel | |
| HK1048686B (en) | Object integrated management system | |
| CN1162782C (en) | How to deal with flash memory files | |
| US20080010497A1 (en) | Selecting a Logging Method via Metadata | |
| CN1866204A (en) | Software assembly architecture | |
| CN1703679A (en) | Data processing system with delamination storage system structure and method for operating the same | |
| CN1567249A (en) | Internal memory managerial approach for computer system | |
| JPH1097448A (en) | Circular size limited file method for computer operating system | |
| CN1287290C (en) | Non-buffer memory dynamic allocation method in embedded real-time operating system | |
| US7299318B2 (en) | Method for reducing cache conflict misses | |
| WO2025021047A1 (en) | Command processing method, log processing method, and storage device | |
| CN118838547A (en) | Cache data compression method, device, processor, storage medium and program product | |
| CN106940681A (en) | A kind of method of utilization tracing function and analytical tool debugging storage software | |
| EP2323136B1 (en) | Method and apparatus for emulating a byte wise programming functionality into a sector wise erasable memory device | |
| CN119088638A (en) | A monitoring data processing method, device, electronic device and storage medium | |
| CN1570879A (en) | A method for storing abnormal information | |
| WO2008115728A2 (en) | Registering an event |
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: 20070117 Termination date: 20131024 |