CN107526674A - A kind of method and apparatus of embedded system log recording - Google Patents
A kind of method and apparatus of embedded system log recording Download PDFInfo
- Publication number
- CN107526674A CN107526674A CN201710771625.1A CN201710771625A CN107526674A CN 107526674 A CN107526674 A CN 107526674A CN 201710771625 A CN201710771625 A CN 201710771625A CN 107526674 A CN107526674 A CN 107526674A
- Authority
- CN
- China
- Prior art keywords
- file
- unit
- file destination
- log information
- journal
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3013—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of method and apparatus of embedded system log recording, receives the total number of files value of user's setting and the higher limit of file size;By the storage of caused log information into file destination, if the file destination is not present, the file destination is first established;When the memory size of file destination exceedes higher limit, then by the file destination renaming, then a file destination named with old file name is re-established, for recording new caused log information.When the number of all journal files of foundation exceedes total value, then delete a journal file for not meeting preparatory condition, according to the naming rule pre-set, by remaining each journal file and the file destination renaming, and file destination is re-created.The log by way of rolling, i.e., when the size of log recording reaches higher limit, the daily record of new record can cover oldest daily record, so as to reach raising memory usage, extend the purpose of log recording time.
Description
Technical field
The present invention relates to embedded system technology field, more particularly to a kind of method of embedded system log recording with
Device.
Background technology
In today's society, embedded system is more and more extensive to be applied in industry-by-industry, arrives space flight and aviation equipment greatly, small to micro-
Ripple stove intelligent watch, has embedded program operation inside.Because the particularity of operation for embedded system environment, throws into question
Positioning and the difficulty of debugging.This when, the positioning and debugging of the record of daily record (log) to problem are just particularly important.
But the limitation of embedded system hardware resource is constrained to, random access memory (the random access for storage
Memory, RAM) or flash memory (Flash EEPROM Memory, Flash) it is most valuable, these internal memories not only need be used for it is embedding
The running memory of embedded system, to be also used to deposit some important configuration files, so the internal memory available for log is just very
It is few.
It is those skilled in the art's urgent problem to be solved it can be seen that how to improve the utilization rate of daily record internal memory.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and apparatus of embedded system log recording, can improve day
The utilization rate of will internal memory.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of method of embedded system log recording, including:
S10:Receive the total number of files value of user's setting and the higher limit of file size;
S11:When needing log information, file destination is judged whether;If so, then perform S12;If it is not, then
Perform S16;
S12:Judge whether the size of the file destination exceedes the higher limit;If so, then perform S13;If it is not, then hold
Row S17;
S13:The number of all journal files for log information created is counted, judges whether the number is big
In equal to the total value;If so, then perform S14;If it is not, then perform S15;
S14:A journal file for not meeting preparatory condition is deleted, will be remaining according to the naming rule pre-set
Each journal file and the file destination renaming, and perform S16;
S15:According to the naming rule that pre-sets, by each journal file and the file destination renaming,
And perform S16;
S16:Create file destination;
S17:The log information is write to the file destination, and returns to the S12.
Optionally, include in the S14:
According to the time length of log information in journal file, ascending order arrangement is carried out to the journal file, will be risen
Last journal file after sequence arrangement is deleted;
Accordingly, using numeral be used as during the suffix of filename, by file name suffix increase 1 in the way of, for it is remaining respectively
The individual journal file and the file destination carry out renaming.
Optionally, in addition to:
After the extraction instruction of user's input is received, in the way of file name suffix descending, by all daily records
The log information of file and file destination record is merged into a file, so as to form complete log information;And
The complete log information is uploaded to the storage location specified.
The embodiment of the present invention additionally provides a kind of device of embedded system log recording, including receiving unit, first sentences
Disconnected unit, the second judging unit, statistic unit, the 3rd judging unit, deletion unit, renaming unit, creating unit and write-in
Unit,
The receiving unit, for receiving the total number of files value of user's setting and the higher limit of file size;
When needing log information, then first judging unit, first judging unit, for judging are triggered
With the presence or absence of file destination;If so, then trigger second judging unit;If it is not, then trigger the creating unit;
Second judging unit, for judging whether the size of the file destination exceedes the higher limit;If so, then
Trigger the statistic unit;If it is not, then trigger said write unit;
The statistic unit, for counting the number of all journal files for log information created, and touch
Send out the 3rd judging unit described, the 3rd judging unit, for judging whether the number is more than or equal to the total value;If
It is then to trigger the deletion unit;If it is not, then trigger the renaming unit;
The deletion unit, a journal file of preparatory condition is not met for deleting, according to the name pre-set
Rule, by remaining each journal file and the file destination renaming, and trigger the creating unit;
Renaming unit, the naming rule pre-set for foundation, by each journal file and the target
File renaming, and trigger the creating unit;
The creating unit, for creating file destination;
Said write unit, for writing the log information to the file destination, and trigger described second and judge list
Member.
Optionally, the time length deleted unit and be specifically used for log information in foundation journal file, to institute
State journal file and carry out ascending order arrangement, last journal file after ascending order is arranged is deleted;
Accordingly, using numeral as during the suffix of filename, the deletion unit is specifically used for increasing 1 according to file name suffix
Mode, carry out renaming for remaining each journal file and the file destination.
Optionally, in addition to combining unit, the combining unit, for after the extraction instruction of user's input is received,
In the way of file name suffix descending, the log information that all journal files and the file destination record is merged
Into a file, so as to form complete log information;And the complete log information is uploaded to the storage position specified
Put.
The total number of files value of user's setting and the higher limit of file size are received it can be seen from above-mentioned technical proposal;Will
Caused log information storage, if the file destination is not present, needs first to establish the file destination into file destination;Its
In, the file destination has its corresponding filename, when the memory size of file destination exceedes higher limit, then by the file destination
Renaming, a file destination named with file name is then re-established, it is new that newly-built file destination can be used for record
Caused log information.Until the number of all journal files (including the file destination of foundation) of foundation exceedes total value
When, then a journal file for not meeting preparatory condition is deleted, will be remaining each described according to the naming rule pre-set
Journal file and the file destination renaming, and re-create file destination.The log by way of rolling, that is, work as
When log recording is reached for the internal memory higher limit of daily record distribution, the daily record of new record can cover oldest daily record, be carried so as to reach
High memory usage, extend the purpose of log recording time.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment will be done simply below
Introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill people
For member, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for embedded system log recording provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of the device of embedded system log recording provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, for those of ordinary skill in the art under the premise of creative work is not made, what is obtained is every other
Embodiment, belong to the scope of the present invention.
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Next, a kind of method for embedded system log recording that the embodiment of the present invention is provided is discussed in detail.Fig. 1 is
A kind of flow chart of the method for embedded system log recording provided in an embodiment of the present invention, this method include:
S10:Receive the total number of files value of user's setting and the higher limit of file size;
In embodiments of the present invention, can determine to need to draw internal memory according to the memory size for distributing to daily record (log)
It is divided into how many individual files and carrys out log.
Firstly the need of the size (being assumed to be S) for the internal memory for confirming to distribute to log, according to the size of storage allocation come the determination date
Will rolls the strategy of record, and after log memory size is distributed in confirmation, by internal memory N deciles, N is the total value set.N
Specific value value can be considered according to the internal memory for distributing to log.
In embodiments of the present invention, the storage location of log information can be pre-set, for example, can pre-set
, then can be by log information recording to this document when there is new log information generation for storing the filename of log information
In file corresponding to name.Introduced conveniently to be follow-up, can will be referred to as target text for storing the journal file of current log information
Part.
Higher limit can be the maximum of file destination memory size.Using the size of log internal memory as S, by internal memory N deciles
Exemplified by, according to principle of equipartition, accordingly, each file size for being used to store log information is S/N.To avoid the occurrence of target text
The remaining memory space of part can not store log information to be stored completely, therefore, can be by the upper limit when setting higher limit
The slightly smaller than S/N that value is set.
S11:When needing log information, file destination is judged whether.
When system needs the log information into log, if first record log information, then perform
S16 creates file destination (log files), due to being to create file destination for the first time, so the text in the absence of log information
Part number, which transfinites, exceedes total value, or current file destination size transfinites the problem of exceeding higher limit, therefore
After creating file destination, log information can be write into the file destination to perform S17;If not first record daily record
Information, then file destination existed, therefore, to file destination write log information before, it is necessary to first to current target
The problem of whether file size transfinites is judged to perform S12.
S12:Judge whether the size of the file destination exceedes the higher limit.
When the memory size of file destination is more than the higher limit, then memory headroom workable for illustrating the file destination is
Through very little, be not suitable for storing new log information again, can now perform S13;When file destination memory size not less than
During the higher limit, then illustrate that the file destination can still continue to store new log information and perform S17.
S13:The number of all journal files for log information created is counted, judges whether the number is big
In equal to the total value.
When the size of file destination exceedes higher limit, continue the new caused log information of storage for the ease of follow-up,
In the embodiment of the present invention, the file destination renaming that will can transfinite, a mesh named with old file name is then re-established
File is marked, for storing log information.
For example, the file destination created is log files, the entitled runtime.log of its file, when the size of the file destination
When reaching higher limit, by log file RNTO * .1, the i.e. runtime.log.1, then using original name
Runtime.log re-creates log files, to the file destination newly created in continue to write to log information.
But because the memory size for distributing to log information is limited, accordingly, the number of the journal file of foundation
A total value corresponding to having, after the number of all journal files of establishment reaches total value, because memory size is limited, then
File destination can not newly be created.Therefore, when the size of file destination exceedes higher limit, then need first to judge all days created
Whether the number of will file exceedes the total value of setting.
When the number of journal file is more than or equal to the total value of setting, the journal file for illustrating to create has reached
Limit value, file destination can not be newly created again, can now perform S14;When the number of journal file is less than the total value of setting,
Illustrate can also continue to newly to create file destination, then perform S15.
S14:A journal file for not meeting preparatory condition is deleted, will be remaining according to the naming rule pre-set
Each journal file and the file destination renaming, and perform S16.
In embodiments of the present invention, a minimum journal file of reference value can be deleted.Specifically, can foundation
The time length of log information in journal file, ascending order arrangement is carried out to the journal file, after ascending order is arranged most
The latter journal file is deleted;Also will the journal file deletion of time at most.
In embodiments of the present invention, can using numeral as filename suffix, specifically, can be according to file name suffix
Increase 1 mode, renaming is carried out for remaining each journal file and the file destination.
So that total value is N as an example, when log files (runtime.log) size of establishment reaches higher limit, and bear the same name
When journal file has * .N-1 (runtime.log.N-1), * .N-1 (runtime.log.N-1) journal file is deleted,
Then by * .N-2 (runtime.log.N-2) file RNTO * .N-1 (runtime.log.N-1) of renaming before, according to
It is secondary to analogize, by * .1 (runtime.log.1) file RNTO * .2 (runtime.log.2) of renaming before, will before
Log files (runtime.log) the RNTO * .1 (runtime.log.1) newly created, it is newly-built log texts then to perform S16
Part (runtime.log) continues to write log information inside.
S15:According to the naming rule that pre-sets, by each journal file and the file destination renaming,
And perform S16.
The mode of file renaming is similar with the mode of file renaming in S14 in S15, will not be repeated here.
S16:Create file destination.
S17:The log information is write to the file destination, and returns to the S12.
Judged to return, it is necessary to whether transfinite to the size of file destination after log information writes file destination
S12.Aforesaid operations step is performed by circulating, log information can be recorded in a rolling manner.
The total number of files value of user's setting and the higher limit of file size are received it can be seen from above-mentioned technical proposal;Will
Caused log information storage, if the file destination is not present, needs first to establish the file destination into file destination;Its
In, the file destination has its corresponding filename, when the memory size of file destination exceedes higher limit, then by the file destination
Renaming, a file destination named with file name is then re-established, it is new that newly-built file destination can be used for record
Caused log information.Until the number of all journal files (including the file destination of foundation) of foundation exceedes total value
When, then a journal file for not meeting preparatory condition is deleted, will be remaining each described according to the naming rule pre-set
Journal file and the file destination renaming, and re-create file destination.The log by way of rolling, that is, work as
When log recording is reached for the internal memory higher limit of daily record distribution, the daily record of new record can cover oldest daily record, be carried so as to reach
High memory usage, extend the purpose of log recording time.
With reference to it is above-mentioned using numeral as the suffix of filename exemplified by, when system receive user input extraction instruct after,
The daily record that all journal files and the file destination record can then be believed in the way of file name suffix descending
Breath is merged into a file, so as to form complete log information;And the complete log information is uploaded to what is specified
Storage location.
Exemplified by using runtime.log as the filename of file destination, when needing to extract log, it is only necessary to according to
Order (the runtime.log.N-1 of Rename file suffix descending<<runtime.log.N-2…<<Runtime.log) will
Then log Piece file mergences upload to the storage location that user specifies into a file.
Fig. 2 is a kind of structural representation of the device of embedded system log recording provided in an embodiment of the present invention, including
Receiving unit 21, the first judging unit 22, the second judging unit 23, statistic unit 24, the 3rd judging unit 25, deletion unit
26th, renaming unit 27, creating unit 28 and writing unit 29,
The receiving unit 21, for receiving the total number of files value of user's setting and the higher limit of file size;
When needing log information, then first judging unit 22 is triggered, first judging unit 22, is used for
Judge whether file destination;If so, then trigger second judging unit 23;If it is not, then trigger the creating unit 28;
Second judging unit 23, for judging whether the size of the file destination exceedes the higher limit;If so,
Then trigger the statistic unit 24;If it is not, then trigger said write unit 29;
The statistic unit 24, for counting the number of all journal files for log information created, and
Trigger the 3rd judging unit 25, the 3rd judging unit 25, for judging it is described total whether the number is more than or equal to
Numerical value;If so, then trigger the deletion unit 26;If it is not, then trigger the renaming unit 27;
The deletion unit 26, a journal file of preparatory condition is not met for deleting, according to the life pre-set
Name rule, by remaining each journal file and the file destination renaming, and triggers the creating unit 28;
Renaming unit 27, the naming rule pre-set for foundation, by each journal file and the mesh
File renaming is marked, and triggers the creating unit 28;
The creating unit 28, for creating file destination;
Said write unit 29, for writing the log information to the file destination, and trigger described second and judge
Unit 23.
Optionally, the time length deleted unit and be specifically used for log information in foundation journal file, to institute
State journal file and carry out ascending order arrangement, last journal file after ascending order is arranged is deleted;
Accordingly, using numeral as during the suffix of filename, the deletion unit is specifically used for increasing 1 according to file name suffix
Mode, carry out renaming for remaining each journal file and the file destination.
Optionally, in addition to combining unit, the combining unit, for after the extraction instruction of user's input is received,
In the way of file name suffix descending, the log information that all journal files and the file destination record is merged
Into a file, so as to form complete log information;And the complete log information is uploaded to the storage position specified
Put.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1 in embodiment corresponding to Fig. 2, here no longer
Repeat one by one.
The total number of files value of user's setting and the higher limit of file size are received it can be seen from above-mentioned technical proposal;Will
Caused log information storage, if the file destination is not present, needs first to establish the file destination into file destination;Its
In, the file destination has its corresponding filename, when the memory size of file destination exceedes higher limit, then by the file destination
Renaming, a file destination named with file name is then re-established, it is new that newly-built file destination can be used for record
Caused log information.Until the number of all journal files (including the file destination of foundation) of foundation exceedes total value
When, then a journal file for not meeting preparatory condition is deleted, will be remaining each described according to the naming rule pre-set
Journal file and the file destination renaming, and re-create file destination.The log by way of rolling, that is, work as
When log recording is reached for the internal memory higher limit of daily record distribution, the daily record of new record can cover oldest daily record, be carried so as to reach
High memory usage, extend the purpose of log recording time.
A kind of method and apparatus of the embedded system log recording provided above the embodiment of the present invention has been carried out in detail
It is thin to introduce.Each embodiment is described by the way of progressive in specification, and what each embodiment stressed is and other realities
Apply the difference of example, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration
.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, also
Some improvement and modification can be carried out to the present invention, these are improved and modification also falls into the protection domain of the claims in the present invention
It is interior.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Claims (6)
- A kind of 1. method of embedded system log recording, it is characterised in that including:S10:Receive the total number of files value of user's setting and the higher limit of file size;S11:When needing log information, file destination is judged whether;If so, then perform S12;If it is not, then perform S16;S12:Judge whether the size of the file destination exceedes the higher limit;If so, then perform S13;If it is not, then perform S17;S13:The number of all journal files for log information created is counted, judges whether the number is more than In the total value;If so, then perform S14;If it is not, then perform S15;S14:A journal file for not meeting preparatory condition is deleted, will be remaining each according to the naming rule pre-set The journal file and the file destination renaming, and perform S16;S15:According to the naming rule pre-set, by each journal file and the file destination renaming, and hold Row S16;S16:Create file destination;S17:The log information is write to the file destination, and returns to the S12.
- 2. according to the method for claim 1, it is characterised in that include in the S14:According to the time length of log information in journal file, ascending order arrangement is carried out to the journal file, ascending order is arranged Last journal file after row is deleted;Accordingly, using numeral be used as during the suffix of filename, by file name suffix increasing 1 in the way of, for remaining each institute State journal file and the file destination carries out renaming.
- 3. according to the method for claim 2, it is characterised in that also include:After the extraction instruction of user's input is received, in the way of file name suffix descending, by all journal files And the log information of the file destination record is merged into a file, so as to form complete log information;And by institute State complete log information and be uploaded to the storage location specified.
- 4. a kind of device of embedded system log recording, it is characterised in that including receiving unit, the first judging unit, second Judging unit, statistic unit, the 3rd judging unit, deletion unit, renaming unit, creating unit and writing unit,The receiving unit, for receiving the total number of files value of user's setting and the higher limit of file size;When needing log information, then first judging unit, first judging unit, for judging whether are triggered File destination be present;If so, then trigger second judging unit;If it is not, then trigger the creating unit;Second judging unit, for judging whether the size of the file destination exceedes the higher limit;If so, then trigger The statistic unit;If it is not, then trigger said write unit;The statistic unit, for counting the number of all journal files for log information created, and trigger institute State the 3rd judging unit, the 3rd judging unit, for judging whether the number is more than or equal to the total value;If so, Then trigger the deletion unit;If it is not, then trigger the renaming unit;The deletion unit, a journal file of preparatory condition is not met for deleting, according to the naming rule pre-set, By remaining each journal file and the file destination renaming, and trigger the creating unit;Renaming unit, the naming rule pre-set for foundation, by each journal file and the file destination Renaming, and trigger the creating unit;The creating unit, for creating file destination;Said write unit, for writing the log information to the file destination, and trigger second judging unit.
- 5. device according to claim 4, it is characterised in that the deletion unit is specifically used for remembering in foundation journal file The time length of log information is recorded, ascending order arrangement is carried out to the journal file, last daily record text after ascending order is arranged Part is deleted;Accordingly, using numeral as during the suffix of filename, the unit of deleting is specifically for the side according to file name suffix increasing 1 Formula, renaming is carried out for remaining each journal file and the file destination.
- 6. device according to claim 5, it is characterised in that also including combining unit, the combining unit, connect for working as After the extraction instruction for receiving user's input, in the way of file name suffix descending, by all journal files and described The log information of file destination record is merged into a file, so as to form complete log information;And will be described complete Log information is uploaded to the storage location specified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710771625.1A CN107526674A (en) | 2017-08-31 | 2017-08-31 | A kind of method and apparatus of embedded system log recording |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710771625.1A CN107526674A (en) | 2017-08-31 | 2017-08-31 | A kind of method and apparatus of embedded system log recording |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107526674A true CN107526674A (en) | 2017-12-29 |
Family
ID=60683101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710771625.1A Pending CN107526674A (en) | 2017-08-31 | 2017-08-31 | A kind of method and apparatus of embedded system log recording |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107526674A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109299052A (en) * | 2018-09-03 | 2019-02-01 | 平安普惠企业管理有限公司 | Log cutting method, device, computer equipment and storage medium |
CN109309579A (en) * | 2018-01-30 | 2019-02-05 | 深圳壹账通智能科技有限公司 | Log recording processing method, device, computer equipment and storage medium |
CN109885539A (en) * | 2019-01-28 | 2019-06-14 | 南京邮电大学 | A kind of log file management method |
CN110096479A (en) * | 2019-03-15 | 2019-08-06 | 平安科技(深圳)有限公司 | Batch renaming method, apparatus, computer equipment and the storage medium of voice messaging |
CN110502486A (en) * | 2019-08-21 | 2019-11-26 | 中国工商银行股份有限公司 | Log processing method, device, electronic equipment and computer readable storage medium |
WO2020019436A1 (en) * | 2018-07-25 | 2020-01-30 | 平安科技(深圳)有限公司 | Log merging method, apparatus, electronic device, and medium |
CN110781146A (en) * | 2019-10-28 | 2020-02-11 | 宁波三星智能电气有限公司 | Event storage method, power terminal and computer-readable storage medium |
CN110851415A (en) * | 2019-11-13 | 2020-02-28 | 广州小鹏汽车科技有限公司 | Log data processing method and device of vehicle-mounted system |
CN110875951A (en) * | 2018-09-04 | 2020-03-10 | 北京奇虎科技有限公司 | Call message concurrency quantity statistical method and device |
CN111145460A (en) * | 2019-12-25 | 2020-05-12 | 航天信息股份有限公司 | Method for analyzing tax control equipment, electronic equipment and storage medium |
CN111966637A (en) * | 2020-08-21 | 2020-11-20 | 苏州浪潮智能科技有限公司 | Method, device and equipment for opening file and readable medium |
CN112417218A (en) * | 2020-11-10 | 2021-02-26 | 上海商米科技集团股份有限公司 | Variable format log recording method for embedded equipment |
CN112445431A (en) * | 2020-11-16 | 2021-03-05 | 深圳市元征科技股份有限公司 | Data storage method, device, equipment and medium |
CN112905106A (en) * | 2019-12-04 | 2021-06-04 | 贵州白山云科技股份有限公司 | Data processing method, device, system, equipment and storage medium |
CN114143162A (en) * | 2020-08-13 | 2022-03-04 | 中盈优创资讯科技有限公司 | Rule matching method of network equipment syslog information based on cache |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645031A (en) * | 2009-06-30 | 2010-02-10 | 卡斯柯信号有限公司 | Method for dynamically outputting log file according to time |
CN102467516A (en) * | 2010-11-04 | 2012-05-23 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Method, device and system for recording logs in equipment control process |
CN102970158A (en) * | 2012-11-05 | 2013-03-13 | 广东睿江科技有限公司 | Log storage and processing method and log server |
CN103577121A (en) * | 2013-11-05 | 2014-02-12 | 中船重工(武汉)凌久电子有限责任公司 | High-reliability linear file access method based on nand flash |
CN103984622A (en) * | 2014-04-18 | 2014-08-13 | 烽火通信科技股份有限公司 | Method and device for managing logs for Linux-based GPON ONU (Gigabit Passive Optical Network Optical Unit) equipment |
CN104731921A (en) * | 2015-03-26 | 2015-06-24 | 江苏物联网研究发展中心 | Method for storing and processing small log type files in Hadoop distributed file system |
CN106817253A (en) * | 2017-01-04 | 2017-06-09 | 郑州云海信息技术有限公司 | The monitor in real time of journal file and the method and system of alarm |
CN107092552A (en) * | 2017-03-10 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | A kind of blog management method and device |
-
2017
- 2017-08-31 CN CN201710771625.1A patent/CN107526674A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645031A (en) * | 2009-06-30 | 2010-02-10 | 卡斯柯信号有限公司 | Method for dynamically outputting log file according to time |
CN102467516A (en) * | 2010-11-04 | 2012-05-23 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Method, device and system for recording logs in equipment control process |
CN102970158A (en) * | 2012-11-05 | 2013-03-13 | 广东睿江科技有限公司 | Log storage and processing method and log server |
CN103577121A (en) * | 2013-11-05 | 2014-02-12 | 中船重工(武汉)凌久电子有限责任公司 | High-reliability linear file access method based on nand flash |
CN103984622A (en) * | 2014-04-18 | 2014-08-13 | 烽火通信科技股份有限公司 | Method and device for managing logs for Linux-based GPON ONU (Gigabit Passive Optical Network Optical Unit) equipment |
CN104731921A (en) * | 2015-03-26 | 2015-06-24 | 江苏物联网研究发展中心 | Method for storing and processing small log type files in Hadoop distributed file system |
CN106817253A (en) * | 2017-01-04 | 2017-06-09 | 郑州云海信息技术有限公司 | The monitor in real time of journal file and the method and system of alarm |
CN107092552A (en) * | 2017-03-10 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | A kind of blog management method and device |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309579B (en) * | 2018-01-30 | 2021-09-14 | 深圳壹账通智能科技有限公司 | Log record processing method and device, computer equipment and storage medium |
CN109309579A (en) * | 2018-01-30 | 2019-02-05 | 深圳壹账通智能科技有限公司 | Log recording processing method, device, computer equipment and storage medium |
WO2020019436A1 (en) * | 2018-07-25 | 2020-01-30 | 平安科技(深圳)有限公司 | Log merging method, apparatus, electronic device, and medium |
CN109299052B (en) * | 2018-09-03 | 2024-03-15 | 珠海泰合科技有限公司 | Log cutting method, device, computer equipment and storage medium |
CN109299052A (en) * | 2018-09-03 | 2019-02-01 | 平安普惠企业管理有限公司 | Log cutting method, device, computer equipment and storage medium |
CN110875951B (en) * | 2018-09-04 | 2022-07-01 | 北京奇虎科技有限公司 | Statistical method and device for concurrency of call messages |
CN110875951A (en) * | 2018-09-04 | 2020-03-10 | 北京奇虎科技有限公司 | Call message concurrency quantity statistical method and device |
CN109885539A (en) * | 2019-01-28 | 2019-06-14 | 南京邮电大学 | A kind of log file management method |
CN110096479A (en) * | 2019-03-15 | 2019-08-06 | 平安科技(深圳)有限公司 | Batch renaming method, apparatus, computer equipment and the storage medium of voice messaging |
CN110096479B (en) * | 2019-03-15 | 2023-07-25 | 平安科技(深圳)有限公司 | Batch renaming method and device for voice information, computer equipment and storage medium |
CN110502486B (en) * | 2019-08-21 | 2022-01-11 | 中国工商银行股份有限公司 | Log processing method and device, electronic equipment and computer readable storage medium |
CN110502486A (en) * | 2019-08-21 | 2019-11-26 | 中国工商银行股份有限公司 | Log processing method, device, electronic equipment and computer readable storage medium |
CN110781146A (en) * | 2019-10-28 | 2020-02-11 | 宁波三星智能电气有限公司 | Event storage method, power terminal and computer-readable storage medium |
CN110851415A (en) * | 2019-11-13 | 2020-02-28 | 广州小鹏汽车科技有限公司 | Log data processing method and device of vehicle-mounted system |
CN112905106A (en) * | 2019-12-04 | 2021-06-04 | 贵州白山云科技股份有限公司 | Data processing method, device, system, equipment and storage medium |
CN112905106B (en) * | 2019-12-04 | 2023-04-18 | 贵州白山云科技股份有限公司 | Data processing method, device, system, equipment and storage medium |
CN111145460A (en) * | 2019-12-25 | 2020-05-12 | 航天信息股份有限公司 | Method for analyzing tax control equipment, electronic equipment and storage medium |
CN114143162A (en) * | 2020-08-13 | 2022-03-04 | 中盈优创资讯科技有限公司 | Rule matching method of network equipment syslog information based on cache |
CN111966637A (en) * | 2020-08-21 | 2020-11-20 | 苏州浪潮智能科技有限公司 | Method, device and equipment for opening file and readable medium |
CN111966637B (en) * | 2020-08-21 | 2023-01-06 | 苏州浪潮智能科技有限公司 | Method, device and equipment for opening file and readable medium |
CN112417218A (en) * | 2020-11-10 | 2021-02-26 | 上海商米科技集团股份有限公司 | Variable format log recording method for embedded equipment |
CN112445431A (en) * | 2020-11-16 | 2021-03-05 | 深圳市元征科技股份有限公司 | Data storage method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107526674A (en) | A kind of method and apparatus of embedded system log recording | |
CN101983376B (en) | Access device, information recording device, information recording system, file management method, and program | |
CN102750317B (en) | Method and device for data persistence processing and data base system | |
DE60319229D1 (en) | METHOD AND SYSTEM FOR EXTENDING THE API OF A FILE SYSTEM | |
CN104346194B (en) | A kind of startup file loading method, device and electronic equipment | |
CN109739933A (en) | Memory space method for releasing, device, terminal and computer readable storage medium | |
US11068450B2 (en) | Infinite versioning by automatic coalescing | |
US10642530B2 (en) | Global occupancy aggregator for global garbage collection scheduling | |
CN106330788B (en) | Message fragment transmission method and device | |
CN109471843A (en) | A kind of metadata cache method, system and relevant apparatus | |
CN107766163A (en) | A kind of stand-by information stickup method, apparatus, equipment and storage medium | |
CN104834749A (en) | File synchronization method and synchronization system for mobile terminal and PC terminal | |
CN101644992B (en) | Method and system for recreating data of file system | |
CN109933461A (en) | A kind of method and apparatus of data processing | |
CN107506466A (en) | A kind of small documents storage method and system | |
CN104361133A (en) | Data extraction device and method | |
US10430400B1 (en) | User controlled file synchronization limits | |
US20060036802A1 (en) | Flash file system management | |
CN105389216A (en) | Clipboard data caching method and apparatus and electronic device | |
CN106503182A (en) | Recording method, recording equipment and electronic equipment | |
CN110704051B (en) | Unity interface data binding method | |
CN107491363A (en) | A kind of Snapshot Method and device of the storage volume based on linux kernel | |
CN103379461A (en) | Data service traffic statistical method and terminal | |
JP3792232B2 (en) | Information processing apparatus, storage location management method, and program | |
CN105898037A (en) | Application pushing method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171229 |