CN106682162A - Log management method and device - Google Patents
Log management method and device Download PDFInfo
- Publication number
- CN106682162A CN106682162A CN201611218562.9A CN201611218562A CN106682162A CN 106682162 A CN106682162 A CN 106682162A CN 201611218562 A CN201611218562 A CN 201611218562A CN 106682162 A CN106682162 A CN 106682162A
- Authority
- CN
- China
- Prior art keywords
- log information
- embedded system
- file system
- embedded
- write
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/174—Redundancy elimination performed by the file system
- G06F16/1744—Redundancy elimination performed by the file system using compression, e.g. sparse files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
Abstract
The invention provides a log management method and device. The method is applied to a terminal with an embedded system. A memory file system and a Flash file system are mounted in the embedded system. The method comprises the steps that log information of the embedded system is obtained; the working state of the embedded system is obtained; if the working state shows that the embedded system works normally, the log information is written to the memory file system; if the working state shows that the an exception occurs in the embedded system, the log information is written to the Flash file system. By means of the method, the log information which contains exception information occurring in the running process of an embedded device can be effectively stored and recorded, so that a user can position a fault, analyze causes of the exception and the like according to the log information, and meanwhile, the service life of the Flash file system is avoided from being affected.
Description
Technical field
The application is related to field of embedded technology, more particularly to a kind of blog management method and device.
Background technology
With the development of computer technology, embedded system has become an important component part of computer realm.It is right
For embedded system, the log information recorded in running has very important work for user's positioning failure
With.
In the prior art, embedded device can first by the log information produced in running write memory file system
System, afterwards, then the log information in memory file system is compressed, in write Flash File System, to avoid being set because embedded
Standby power-off causes the log information recorded in memory file system to be lost.
However, in the prior art, if the log information in memory file system is being compressed, write Flash file system
Before system, embedded device power-off, then the log information in memory file system still can lose;Meanwhile, if the daily record letter for producing
Breath is more, then embedded device remains a need for repeatedly writing log information to Flash File System, so as to reduce Flash file system
The service life of system.
The content of the invention
In view of this, the application provides a kind of blog management method and device, to realize that effectively keeping records has embedded
The log information of the abnormal information occurred in formula equipment running process, in order to user according to log information positioning failure, analysis
Abnormal cause etc., while avoiding impacting the service life of Flash File System.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the embodiment of the present application, there is provided a kind of blog management method, methods described is applied with embedding
In the terminal of embedded system, the embedded system is mounted with memory file system and Flash File System, methods described bag
Include:
Obtain the log information of the embedded system;
Obtain the working condition of the embedded system;
If the working condition represents that the embedded system is normally run, the log information is write into the internal memory
File system;It is if the working condition is represented occur in the embedded system abnormal, log information write is described
Flash File System.
Optionally, methods described also includes:
Determine the event that the log information is identified;
If the event belongs to default critical eventss, the log information is write into the Flash File System.
Optionally, there is abnormal including in the embedded system:The kernel of the embedded system occurs abnormal, described
Business process in embedded system occurs abnormal.
Optionally, it is described by the day when the working condition represents the kernel generation exception of the embedded system
Will information writes the Flash File System to be included:
Based on default Pstore mechanism, the log information is write in default memory headroom;
After the embedded system is restarted, the log information in the memory headroom is compressed;
The log information after by compression writes the Flash File System.
Optionally, it is described to incite somebody to action when the business process that the working condition is represented in the embedded system occurs abnormal
The log information writes the Flash File System to be included:
The log information in memory file system is compressed;
The log information after by compression writes the Flash File System.
According to the second aspect of the embodiment of the present application, there is provided a kind of log management apparatus, described device is applied with embedding
In the terminal of embedded system, the embedded system is mounted with memory file system and Flash File System, described device bag
Include:
Data obtaining module, for obtaining the log information of the embedded system;
State acquisition module, for obtaining the working condition of the embedded system;
Storage processing module, if representing that the embedded system is normally run for the working condition, by the day
Will information writes the memory file system;If the working condition is represented occur in the embedded system abnormal, by institute
State log information and write the Flash File System.
Optionally, described device also includes:
Event determination module, for determining the event that the log information is identified;
The storage processing module is additionally operable to:If the event belongs to default critical eventss, by the log information
Write the Flash File System.
Optionally, there is abnormal including in the embedded system:The kernel of the embedded system occurs abnormal, described
Business process in embedded system occurs abnormal.
Optionally, when the working condition represents the kernel generation exception of the embedded system, the storage is processed
Module includes:
First sub-module stored, for based on default Pstore mechanism, the log information being write into default internal memory
In space;
First compression submodule, after restarting in the embedded system, by the day in the memory headroom
Will Information Compression;
Second sub-module stored, for the log information after by compression the Flash File System is write.
Optionally, it is described to deposit when the business process that the working condition is represented in the embedded system occurs abnormal
Storage processing module includes:
Second compression submodule, for the log information in memory file system to be compressed;
3rd sub-module stored, for the log information after by compression the Flash File System is write.
As seen from the above-described embodiment, due in embedded system normal work, by the log information for getting write
File system is deposited, when embedded system occurs abnormal, the log information for getting Flash File System is write into, so as to big
The number of times that log information is write Flash File System is reduced greatly, it is to avoid due to continually to Flash File System write day
Will information and reduce the service life of Flash File System;And it is possible to effectively keeping records has built-in equipment operation mistake
The log information of the abnormal information occurred in journey, in order to user according to log information positioning failure, analysis abnormal cause etc..
Description of the drawings
Fig. 1 is one embodiment flow chart of the application blog management method;
Fig. 2 is a kind of hardware structure diagram of the application log management apparatus place terminal;
Fig. 3 is one embodiment block diagram of the application log management apparatus.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is, only merely for the purpose of description specific embodiment, and to be not intended to be limiting the application in term used in this application.
" one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and wrapped
Containing one or more associated any or all possible combinations for listing project.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for that same type of information is distinguished from each other out.For example, without departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
In the running of embedded system, system kernel and many business process can produce various error messages, police
Announcement information or other informations, these information understand the running status of embedded system, and positioning event for user
Barrier have very important effect, therefore, on embedded device, can by embedded system produce in running it is upper
State information and generate log information, and record these log informations.
In embedded device, if the log information write Flash that embedded system is got in running is literary
Part system, then will be due to continually by log information writing Flash File System, so as to reduce the use of Flash File System
Life-span;If the log information write memory file system that embedded system is got in running, sets embedded
After standby power-off restarting, the log information in memory file system will be lost, so as to user cannot carry out event according to log information
The work such as barrier positioning, Analysis on Abnormal.
Based on foregoing description, in order to effectively preserve the log information that embedded device gets in running, especially
It is to record the log information of the abnormal information for having embedded device to occur in running, and is avoided to Flash file
The service life of system is impacted, and the application provides a kind of blog management method and device.
It is as follows, enumerate the blog management method that following embodiments describe the application offer.
Fig. 1 is referred to, is one embodiment flow chart of the application blog management method, the method can be applied to be had
In the terminal of embedded system, the embedded system is mounted with memory file system, such as tmpfs file system and Flash
File system, such as JFFS2 file system, the method may comprise steps of:
Step S101:Obtain the log information of embedded system.
In the running of embedded system, items in event, system operation situation and the system that can occur
The information such as business process operation conditions are recorded, and according to these information for being recorded the daily record letter of embedded system can be obtained
Breath.
According to the difference of recorded information, log information can have various ranks, for example, emerg (emergency),
Error (common fault message), warning (warning message), info (versatility information), debug (Debugging message), etc. grade
Not.User can be with the rank of the self-defined log information for needing and preserving.
Step S102:The working condition of embedded system is obtained, if working condition represents that embedded system is normally run,
Execution step S103;If working condition is represented occur in embedded system abnormal, execution step S104.
In this application, should have in the terminal of embedded system can have monitoring process, and the monitoring process is used to supervise
The working condition of embedded system in the terminal is controlled, can specifically include the working condition of embedded system kernel, and it is embedded
The working condition of business process in formula system.
As follows, it is the working condition for how monitoring business process in embedded system to illustrate monitoring process:
In this application, terminal can obtain business process in embedded system and be suspended based on default house dog mechanism
Duration, if the duration being suspended reaches default duration threshold value, such as 1 minute, then can determine that the business process occurs
It is abnormal.
Specifically, in this application, should have the terminal of embedded system can have house dog mechanism, the i.e. terminal
A timer circuit can be included on hardware, the timer circuit has an input and an outfan, and presets
There is a time-out time, such as 2 minutes.Based on house dog mechanism, if in 2 minutes, the input of timing circuit never has
Input, then the outfan of timer circuit can export a reset signal so that terminal CPU power-off restarting.
After business process starts, can be at interval of the set time, the input to timer circuit is input within such as 5 seconds
Signal (commonly referred to dog feeding operation), and a signal is often input into, temporary file can be created in memory file system, with
Mark dog feeding operation.
Monitoring process then can be checked in memory file system and feeds Canis familiaris L. with the presence or absence of for mark at interval of the set time
The temporary file of operation, if there is the temporary file in memory file system, monitoring process can be by the temporary file from interior
Deposit in file system and delete;If there is no the temporary file, default enumerator can be added 1 by monitoring process, and this is default
Counter initial value is 0.
Subsequently, if the value for passing through the enumerator, determine that business process has continued default duration threshold value not to intervalometer electricity
The input input signal on road, for example, when it is determined that the value of the enumerator reaches 12, it is believed that the business process has continued default
Duration threshold value, such as 1 minute (12*5 second=1 minute) not to the input input signal of timer circuit, at this point it is possible to think
The business process occurs abnormal.
It should be noted that above-mentioned described default duration threshold value is less than the overtime duration in house dog mechanism.
In this application, if monitoring embedded system normal work, execution step S103;If monitoring embedded system
There is exception in system, including the business process that the kernel of embedded system occurs in abnormal and embedded system occurs exception, then hold
Row step S104.
Step S103:Log information is write into memory file system, terminates flow process.
In memory file system, in order to avoid log information is on the increase, memory file system capacity is caused to overflow, can
To safeguard two journal files, such as respectively journal file 1 and journal file 2 in memory file system.Set when embedded
During the standby write log information to memory file system, it is first determined whether the size of journal file 1 exceedes default file size threshold
Value, however, it is determined that the size of journal file 1, then can be by the log information write daily record text also not less than default file size threshold value
Part 1;If the size of journal file 1 has reached default file size threshold value, can be by the current RNTO day of journal file 1
Will file 2, and a newly-built journal file, by the journal file journal file 1 is named as, by the log information write daily record text
Part 1.
Step S104:Log information is write into Flash File System.
It is as follows, there is abnormal situation to the kernel of embedded system first and illustrate:
In this application, Pstore (persistent storage, persistently storage) can be preset in embedded device
Mechanism, the Pstore mechanism can provide a set of general interface to store abnormal information.Preset in embedded device
During Pstore mechanism, the structure variable of a Pstore_info type is initialized first, then call int
Pstore_register (struct Pstore_info*) is registered, and afterwards, registers a name as ramoops's
Platform_device structures, in the structure shown here, it is ramoops_platform_ that platform_data points to a type
The address of variable of data, for indicating to preserve the memory address and size of abnormal information.
When the working condition that monitoring process gets represents the kernel generation exception of embedded system, embedded device can
So that the log information for getting is write in Pstore mechanism in pointed memory headroom, afterwards, embedded system due to
Kernel occurs after abnormal restarting, then the log information in memory headroom is compressed, and the log information after compression is write
Flash File System.
Secondly, there is abnormal situation to the business process in embedded system to illustrate:
It is embedded when the business process that the working condition that monitoring process gets is represented in embedded system occurs abnormal
Equipment can compress the log information in memory file system, by the log information write Flash File System after compression.
Seen from the above description, during the business process that monitoring process is obtained in embedded system occurs exception,
Used duration threshold value is less than the overtime duration in house dog mechanism, such that it is able to realize before CPU power-off restartings, will be interior
Deposit in file system log information write Flash File System, to avoid memory file system in log information due to CPU
Power-off restarting and lose.
Additionally, in this application, if the event that log information is identified belongs to default critical eventss, can be by the day
Will information writes Flash File System, to persist the log information, critical eventss mentioned here generally can include be
System is restarted, suspension etc. has a strong impact on the event of business.
As seen from the above-described embodiment, due in embedded system normal work, by the log information for getting write
File system is deposited, when embedded system occurs abnormal, the log information for getting Flash File System is write into, so as to big
The number of times that log information is write Flash File System is reduced greatly, it is to avoid due to continually to Flash File System write day
Will information and reduce the service life of Flash File System;And it is possible to effectively keeping records has built-in equipment operation mistake
The log information of the abnormal information occurred in journey, in order to user according to log information positioning failure, analysis abnormal cause etc..
It is corresponding with the embodiment of aforementioned blog management method, present invention also provides the embodiment of log management apparatus.
The embodiment of the application log management apparatus can be applied in the terminal with embedded system.Device embodiment
Can be realized by software, it is also possible to realized by way of hardware or software and hardware combining.As a example by implemented in software, as one
Device on individual logical meaning, is by corresponding computer program in nonvolatile memory by the processor of its place terminal
Instruction reads what operation in internal memory was formed.From for hardware view, as shown in Fig. 2 being located for the application log management apparatus
A kind of hardware structure diagram of terminal, except the processor 21 shown in Fig. 2, internal memory 22, network interface 23 and non-volatile memories
Outside device 24, the terminal that device is located in embodiment can also include other hardware generally according to the actual functional capability of the terminal, right
This is repeated no more.
Fig. 3 is refer to, is one embodiment block diagram of the application log management apparatus, the device can be applied with embedding
In the terminal of embedded system, the embedded system is mounted with memory file system, and such as tmpfs file system and Flash are literary
Part system, such as JFFS2 file system, the device can include:At data obtaining module 31, state acquisition module 32, storage
Reason module 33.
Wherein, the data obtaining module 31, can be used for obtaining the log information of the embedded system;
The state acquisition module 32, can be used for obtaining the working condition of the embedded system;
The storage processing module 33, if can be used for the working condition represents that the embedded system is normally run,
The log information is write into the memory file system;If the working condition represent occur in the embedded system it is different
Often, then by the log information write Flash File System.
In one embodiment, described device can also include (not showing that in Fig. 3):
Event determination module, is determined for the event that the log information is identified;
The storage processing module can be also used for:If the event belongs to default critical eventss, by the daily record
Information writes the Flash File System.
In one embodiment, exception occurs in the embedded system can include:The kernel of the embedded system is sent out
Business process in the raw abnormal, embedded system occurs abnormal.
In one embodiment, it is described to deposit when the working condition represents the kernel generation exception of the embedded system
Storage processing module can include (not showing that in Fig. 3):
First sub-module stored, can be used for based on default Pstore mechanism, the log information be write default
In memory headroom;
First compression submodule, can be used for after the embedded system is restarted, by the institute in the memory headroom
State log information compression;
Second sub-module stored, the log information after can be used for compression writes the Flash File System.
In one embodiment, when the business process that the working condition is represented in the embedded system occurs abnormal,
The storage processing module 33 can include (not showing that in Fig. 3):
Second compression submodule, can be used for compressing the log information in memory file system;
3rd sub-module stored, the log information after can be used for compression writes the Flash File System.
The function of unit and effect realizes that process specifically refers in said method correspondence step in said apparatus
Process is realized, be will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematic, wherein described as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit shows or can also
It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality
Need the purpose for selecting some or all of module therein to realize application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application
Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (10)
1. a kind of blog management method, it is characterised in that methods described is applied in the terminal with embedded system, described embedding
Embedded system is mounted with memory file system and Flash File System, and methods described includes:
Obtain the log information of the embedded system;
Obtain the working condition of the embedded system;
If the working condition represents that the embedded system is normally run, the log information is write into the memory file
System;If the working condition is represented occur in the embedded system abnormal, the log information is write into the Flash
File system.
2. method according to claim 1, it is characterised in that methods described also includes:
Determine the event that the log information is identified;
If the event belongs to default critical eventss, the log information is write into the Flash File System.
3. method according to claim 1, it is characterised in that abnormal including occurs in the embedded system:It is described embedding
There is exception in the business process that the kernel of embedded system occurs in the abnormal, embedded system.
4. method according to claim 3, it is characterised in that when the working condition is represented in the embedded system
It is described to include the log information write Flash File System when core occurs abnormal:
Based on default lasting storage Pstore mechanism, the log information is write in default memory headroom;
After the embedded system is restarted, the log information in the memory headroom is compressed;
The log information after by compression writes the Flash File System.
5. method according to claim 3, it is characterised in that in the working condition represents the embedded system
It is described to include the log information write Flash File System when business process occurs abnormal:
The log information in memory file system is compressed;
The log information after by compression writes the Flash File System.
6. a kind of log management apparatus, it is characterised in that described device is applied in the terminal with embedded system, described embedding
Embedded system is mounted with memory file system and Flash File System, and described device includes:
Data obtaining module, for obtaining the log information of the embedded system;
State acquisition module, for obtaining the working condition of the embedded system;
Storage processing module, if representing that the embedded system is normally run for the working condition, by daily record letter
The breath write memory file system;If the working condition is represented occur in the embedded system abnormal, by the day
Will information writes the Flash File System.
7. device according to claim 6, it is characterised in that described device also includes:
Event determination module, for determining the event that the log information is identified;
The storage processing module is additionally operable to:If the event belongs to default critical eventss, by log information write
The Flash File System.
8. device according to claim 6, it is characterised in that abnormal including occurs in the embedded system:It is described embedding
There is exception in the business process that the kernel of embedded system occurs in the abnormal, embedded system.
9. device according to claim 8, it is characterised in that when the working condition is represented in the embedded system
When core occurs abnormal, the storage processing module includes:
First sub-module stored, for based on default Pstore mechanism, the log information being write into default memory headroom
In;
First compression submodule, after restarting in the embedded system, the daily record in the memory headroom is believed
Breath compression;
Second sub-module stored, for the log information after by compression the Flash File System is write.
10. device according to claim 8, it is characterised in that in the working condition represents the embedded system
Business process when occurring abnormal, the storage processing module includes:
Second compression submodule, for the log information in memory file system to be compressed;
3rd sub-module stored, for the log information after by compression the Flash File System is write.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611218562.9A CN106682162B (en) | 2016-12-26 | 2016-12-26 | Log management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611218562.9A CN106682162B (en) | 2016-12-26 | 2016-12-26 | Log management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106682162A true CN106682162A (en) | 2017-05-17 |
CN106682162B CN106682162B (en) | 2021-03-09 |
Family
ID=58870648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611218562.9A Active CN106682162B (en) | 2016-12-26 | 2016-12-26 | Log management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106682162B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107396389A (en) * | 2017-06-01 | 2017-11-24 | 上海斐讯数据通信技术有限公司 | A kind of radio reception device abnormal restarting time diagnostic method and system |
CN108563582A (en) * | 2018-04-28 | 2018-09-21 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on power management |
CN108762965A (en) * | 2018-05-22 | 2018-11-06 | 东旭集团有限公司 | Daily record lookup method, system and production equipment |
CN109614042A (en) * | 2018-11-30 | 2019-04-12 | 维沃移动通信有限公司 | A kind of method and terminal device storing log information |
CN110716845A (en) * | 2019-09-29 | 2020-01-21 | 上海龙旗科技股份有限公司 | Method for reading log information of Android system |
CN110750375A (en) * | 2019-07-16 | 2020-02-04 | 许昌许继软件技术有限公司 | Embedded equipment and abnormal information processing method thereof |
CN111881012A (en) * | 2020-08-10 | 2020-11-03 | 深圳大势智能科技有限公司 | Log recording method, device, equipment and storage medium |
CN114679397A (en) * | 2022-05-06 | 2022-06-28 | 苏州德姆斯信息技术有限公司 | Fault analysis system and method of embedded equipment |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070015704A (en) * | 2005-08-01 | 2007-02-06 | 양재우 | Method for upgrading software mcu |
CN101320348A (en) * | 2008-06-25 | 2008-12-10 | 中兴通讯股份有限公司 | Log function implementing method of embedded system |
CN101706822A (en) * | 2009-12-18 | 2010-05-12 | 杭州迪普科技有限公司 | Method and device for improving speed of mounting journal file system |
US7885122B2 (en) * | 2006-08-10 | 2011-02-08 | Actel Corporation | Flash-based FPGA with secure reprogramming |
CN102290866A (en) * | 2011-08-26 | 2011-12-21 | Tcl集团股份有限公司 | Control method and control system of intelligent releaser |
CN102508621A (en) * | 2011-10-20 | 2012-06-20 | 珠海全志科技股份有限公司 | Debugging printing method and device independent of serial port on embedded system |
CN102662785A (en) * | 2012-04-12 | 2012-09-12 | 青岛海信移动通信技术股份有限公司 | Method and device for acquiring kernel error messages of Android system |
CN102779047A (en) * | 2012-07-09 | 2012-11-14 | 哈尔滨工程大学 | Embedded software support platform |
CN103186461A (en) * | 2011-12-30 | 2013-07-03 | 重庆重邮信科通信技术有限公司 | Storage method and recover method for field data, and related devices |
CN103514260A (en) * | 2013-08-13 | 2014-01-15 | 中国科学技术大学苏州研究院 | Internal storage log file system and achieving method thereof |
CN104699589A (en) * | 2013-12-09 | 2015-06-10 | 鸿富锦精密工业(深圳)有限公司 | Fan error detection system and method |
CN104951395A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | Debugging information processing method and device for embedded system |
CN105183576A (en) * | 2015-09-21 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Method and system for collecting abnormal information after embedded OLT collapses |
US20150370626A1 (en) * | 2014-06-18 | 2015-12-24 | Fujitsu Limited | Recording medium storing a data management program, data management apparatus and data management method |
CN105426293A (en) * | 2015-10-29 | 2016-03-23 | 汉柏科技有限公司 | Method and system for recording kernel exception stack and vmcore file |
US9329994B2 (en) * | 2014-02-20 | 2016-05-03 | Kabushiki Kaisha Toshiba | Memory system |
-
2016
- 2016-12-26 CN CN201611218562.9A patent/CN106682162B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070015704A (en) * | 2005-08-01 | 2007-02-06 | 양재우 | Method for upgrading software mcu |
US7885122B2 (en) * | 2006-08-10 | 2011-02-08 | Actel Corporation | Flash-based FPGA with secure reprogramming |
CN101320348A (en) * | 2008-06-25 | 2008-12-10 | 中兴通讯股份有限公司 | Log function implementing method of embedded system |
CN101706822A (en) * | 2009-12-18 | 2010-05-12 | 杭州迪普科技有限公司 | Method and device for improving speed of mounting journal file system |
CN102290866A (en) * | 2011-08-26 | 2011-12-21 | Tcl集团股份有限公司 | Control method and control system of intelligent releaser |
CN102508621A (en) * | 2011-10-20 | 2012-06-20 | 珠海全志科技股份有限公司 | Debugging printing method and device independent of serial port on embedded system |
CN103186461A (en) * | 2011-12-30 | 2013-07-03 | 重庆重邮信科通信技术有限公司 | Storage method and recover method for field data, and related devices |
CN102662785A (en) * | 2012-04-12 | 2012-09-12 | 青岛海信移动通信技术股份有限公司 | Method and device for acquiring kernel error messages of Android system |
CN102779047A (en) * | 2012-07-09 | 2012-11-14 | 哈尔滨工程大学 | Embedded software support platform |
CN103514260A (en) * | 2013-08-13 | 2014-01-15 | 中国科学技术大学苏州研究院 | Internal storage log file system and achieving method thereof |
CN104699589A (en) * | 2013-12-09 | 2015-06-10 | 鸿富锦精密工业(深圳)有限公司 | Fan error detection system and method |
US9329994B2 (en) * | 2014-02-20 | 2016-05-03 | Kabushiki Kaisha Toshiba | Memory system |
CN104951395A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | Debugging information processing method and device for embedded system |
US20150370626A1 (en) * | 2014-06-18 | 2015-12-24 | Fujitsu Limited | Recording medium storing a data management program, data management apparatus and data management method |
CN105183576A (en) * | 2015-09-21 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Method and system for collecting abnormal information after embedded OLT collapses |
CN105426293A (en) * | 2015-10-29 | 2016-03-23 | 汉柏科技有限公司 | Method and system for recording kernel exception stack and vmcore file |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107396389A (en) * | 2017-06-01 | 2017-11-24 | 上海斐讯数据通信技术有限公司 | A kind of radio reception device abnormal restarting time diagnostic method and system |
CN107396389B (en) * | 2017-06-01 | 2020-12-15 | 台州市吉吉知识产权运营有限公司 | Method and system for diagnosing abnormal restart time of wireless access equipment |
CN108563582A (en) * | 2018-04-28 | 2018-09-21 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on power management |
CN108563582B (en) * | 2018-04-28 | 2022-11-29 | 深圳市卓鸿威科技有限公司 | Restart positioning method based on power management, mobile terminal and readable storage medium |
CN108762965A (en) * | 2018-05-22 | 2018-11-06 | 东旭集团有限公司 | Daily record lookup method, system and production equipment |
CN109614042A (en) * | 2018-11-30 | 2019-04-12 | 维沃移动通信有限公司 | A kind of method and terminal device storing log information |
CN110750375A (en) * | 2019-07-16 | 2020-02-04 | 许昌许继软件技术有限公司 | Embedded equipment and abnormal information processing method thereof |
CN110716845A (en) * | 2019-09-29 | 2020-01-21 | 上海龙旗科技股份有限公司 | Method for reading log information of Android system |
CN110716845B (en) * | 2019-09-29 | 2024-03-12 | 上海龙旗科技股份有限公司 | Log information reading method of Android system |
CN111881012A (en) * | 2020-08-10 | 2020-11-03 | 深圳大势智能科技有限公司 | Log recording method, device, equipment and storage medium |
CN114679397A (en) * | 2022-05-06 | 2022-06-28 | 苏州德姆斯信息技术有限公司 | Fault analysis system and method of embedded equipment |
CN114679397B (en) * | 2022-05-06 | 2023-12-12 | 苏州德姆斯信息技术有限公司 | Fault analysis system and method for embedded equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106682162B (en) | 2021-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106682162A (en) | Log management method and device | |
US7617074B2 (en) | Suppressing repeated events and storing diagnostic information | |
CN108874624B (en) | Server, method for monitoring Java process and storage medium | |
US9690642B2 (en) | Salvaging event trace information in power loss interruption scenarios | |
CN109947596A (en) | PCIE device failure system delay machine processing method, device and associated component | |
CN109508148B (en) | Metadata reconstruction method and device and computer readable storage medium | |
US20170277603A1 (en) | Data saving method, device and terminal | |
US8538925B2 (en) | System and method for backing up test data | |
CN108089971B (en) | Log service method and system based on embedded real-time system | |
CN101430658A (en) | Exceptional reset information saving method and device | |
CN109753378A (en) | A kind of partition method of memory failure, device, system and readable storage medium storing program for executing | |
CN102271054A (en) | Bookmarks and performance history for network software deployment evaluation | |
CN103176920A (en) | Nor flash power down protection method and Nor flash power down protection device | |
CN110543398A (en) | method and system for recording fault information | |
CN107274933A (en) | A kind of method and device for testing solid state hard disc | |
CN101320389A (en) | File management method and apparatus | |
JP2008104251A (en) | Power supply failure detection method | |
CN114328548B (en) | Dual-storage-pool data elimination speed control method, system, terminal and storage medium | |
JP2007241540A (en) | Log information management system | |
US9880926B1 (en) | Log structured reserved zone for a data storage device | |
CN110597674B (en) | Memory detection method, device, video recording system and storage medium | |
CN109426589B (en) | File repair method and device | |
EP3557422A1 (en) | Method for accessing code sram, and electronic device | |
JP2010256944A (en) | Device, program and method for maintaining nand type flash memory | |
CN100561953C (en) | A kind of method of recording and diagnosing data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221110 Address after: 250101 4th floor, building 5, zone A2, Hanyu Jingu, Shunhua South Road, high tech Zone, Jinan City, Shandong Province Patentee after: Jinan Yushi Intelligent Technology Co.,Ltd. Address before: 310051 Zhejiang Jiangling Hangzhou Road, Binjiang District, Jiangling, 88, No. 10 South Block 1-11. Patentee before: ZHEJIANG UNIVIEW TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |