CN104572413B - A kind of electronic equipment preserves the method and electronic equipment of system journal - Google Patents
A kind of electronic equipment preserves the method and electronic equipment of system journal Download PDFInfo
- Publication number
- CN104572413B CN104572413B CN201310524581.4A CN201310524581A CN104572413B CN 104572413 B CN104572413 B CN 104572413B CN 201310524581 A CN201310524581 A CN 201310524581A CN 104572413 B CN104572413 B CN 104572413B
- Authority
- CN
- China
- Prior art keywords
- storage value
- module
- memory module
- value
- electronic equipment
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides the method for the method and electronic equipment that a kind of electronic equipment preserves system journal, wherein electronic equipment preservation system journal, step are as follows:Open system daily record preserves;Detect the remaining storage value of memory module;Judge whether remaining storage value is more than default one storage threshold value;When remaining storage value, which is more than, stores threshold value, Request System sends current caused system journal to memory module, and the system journal of system feedback is preserved to the remaining storage value step that simultaneously perform detection memory module is returned to memory module;When the remaining storage value of memory module is less than storage threshold value, the system journal preserved at first in memory module is deleted, returns to the remaining storage value step of simultaneously perform detection memory module.Solve the problems, such as that the memory module of electronic equipment can not automatically update by above step and preserve system journal, the system problem occurred when realizing and finding from the angle of user and be close to the users and use, be easy to the test and exploitation of electronic equipment.
Description
Technical field
The present invention relates to communication technical field, more particularly to the method and electronics of a kind of electronic equipment preservation system journal
Equipment.
Background technology
System journal is the important component of electronic equipment exploitation and test process, is analysis and solves electronic equipment system
System Bug important evidence is improvement and optimizes the important supplementary means of electronic equipment performance.Debugging is researched and developed in electronic equipment and is surveyed
Elementary step those skilled in the art of examination can connect computer come output system daily record by USB data line, whole when entering
During machine test phase again by USB line connect computer output system daily record just seem operation and in-convenience in use.And system test
The actual use scene being close to the users as far as possible is needed, connects computer only by USB data line, being can not be from the angle of user
It was found that the system problem occurred when using of being close to the users.
If the system problem occurred when need to find from the angle of user and be close to the users and use, can pass through electronic equipment
The memory space of interior itself or extension goes to preserve system journal, when there is bug in user's use, then can be adjusted out of memory space
Go out from the point of view of system journal, operation is very convenient.
But the memory space amount of storage in electronic equipment is limited compared to computer, due to the storage mould of electronic equipment
Block is can not to automatically update preservation system journal, perhaps when user using when there is bug when, perhaps depositing in electronic equipment
It is full already to store up space, the system journal that bug be present is not saved in, so needing user regularly to delete in memory space
System journal just can guarantee that new system journal is continually saved.
The memory module of electronic equipment is automatically updated preservation system journal, realize from the angle of user and find patch
The system problem occurred during nearly user's use, is easy to the test and exploitation of electronic equipment, into it is current to be resolved the problem of.
The content of the invention
The present invention solves the problems, such as it is that the memory module for how making electronic equipment automatically updates preservation system journal, realizes station
The system problem occurred when the angle of user finds and is close to the users and uses, it is easy to the test and exploitation of electronic equipment, ensures new
System journal be continually saved.
To solve the above problems, the method that a kind of electronic equipment preserves system journal, for the system of electronic equipment to be produced
Raw system journal is preserved into the memory module of the electronic equipment, and methods described step is as follows:
Open system daily record preserves;
Detect the remaining storage value of the memory module;
Judge whether the remaining storage value is more than default one storage threshold value;
When the remaining storage value is more than the storage threshold value, the system is asked to send current caused system day
Will is to the memory module;The system journal of the system feedback is preserved to the memory module;Return and perform inspection
Survey the remaining storage value step of the memory module;
When the remaining storage value is less than or equal to the storage threshold value, deletes and preserved at first in the memory module
The system journal;Return to the remaining storage value step of simultaneously memory module described in perform detection.
Further, described preserve the system journal of the system feedback to the memory module step includes:
See if fall out the default continuation requests time;
When without departing from the continuation requests time, system described in continuation requests sends the current caused system journal
To the memory module;
When beyond the continuation requests time, the step of the simultaneously remaining storage value of memory module described in perform detection is returned
Suddenly.
Further, methods described also includes:
The system journal is preserved into the memory module in default syslog file folder.
Another method of the method for system journal is preserved the invention provides a kind of electronic equipment, for by electronic equipment
System caused by system journal preserve into the memory module of the electronic equipment, methods described step is as follows:
Open system daily record preserves;
Detect the remaining storage value of the memory module;
Syslog file folder storage value is detected, wherein, the syslog file folder preserves for the system journal
Glue file folder into the memory module;
Judge whether the remaining storage value of the memory module is more than default one storage threshold value;
When the remaining storage value of the memory module is more than the default storage threshold value, the system journal text is judged
Whether the storage value of part folder is less than default maximum storage value;If the storage value of the syslog file folder is small
In the maximum storage value, ask the system to send the current caused system journal to the syslog file and press from both sides;
The system journal of the system feedback is preserved to the syslog file and pressed from both sides;Return and store mould described in simultaneously perform detection
The remaining storage value step of block;
When the remaining storage value of the memory module is less than or equal to the default storage threshold value, the system is judged
Whether the storage value of log folder is more than default maximum storage value;If the described of syslog file folder is deposited
Stored Value is more than the maximum storage value, deletes the system journal preserved at first in syslog file folder;Return and hold
Row detects the remaining storage value step of the memory module;
Further, it is described to preserve the system journal of the system feedback to the step of syslog file folder
Suddenly include:
See if fall out the default continuation requests time;
When without departing from the continuation requests time, system described in continuation requests sends the current caused system journal
Pressed from both sides to the syslog file;
When beyond the continuation requests time, the step of the simultaneously remaining storage value of memory module described in perform detection is returned
Suddenly.
Further, methods described also includes:
If the remaining storage value of the memory module is more than the default storage threshold value, and the syslog file presss from both sides
Storage value when being more than or equal to the maximum storage value, delete the institute preserved at first in syslog file folder
State system journal.
Present invention also offers a kind of electronic equipment, the electronic equipment includes a system, a memory module, the electronics
Equipment also includes:
One starting module, instruction is preserved for sending open system daily record;
One detection module, for after the system journal preservation instruction that the starting module is sent is received, detecting
The remaining storage value of the memory module;
Whether one judge module, the remaining storage value for judging the memory module are more than default one storage thresholding
Value;
One request module, for when the remaining storage value of the memory module is more than the storage threshold value, asking institute
State system and send current caused system journal to the memory module;
One preserving module, for the system journal of the system feedback to be preserved to the memory module, work as completion
After preserving operation, send detection instruction and continue to deposit the residue of the memory module to trigger the detection module to detection module
Stored Value is detected;
One removing module, for when the memory module remaining storage value be less than or equal to it is described storage threshold value when,
The system journal preserved at first in the memory module is deleted, after deletion action is completed, sends detection instruction to detection
Module is detected with triggering the detection module to the remaining storage value of the memory module.
Further, the preserving module also includes:
One time control module, for seeing if fall out the default continuation requests time, when in the continuation requests
In time, send continuation requests and instruct to the request module, system described in continuation requests sends the current caused system
When beyond the continuation requests time, it is described to trigger to detection module to send detection instruction to the memory module for daily record
Detection module detects to the remaining storage value of the memory module.
Further, pressed from both sides in the memory module comprising a syslog file, for preserving the system journal.
Further, the detection module also includes a file detection module, for detecting the syslog file
The storage value of folder;
The judge module also includes one first judge module, is more than institute for the remaining storage value when the memory module
When stating default storage threshold value, judge whether the storage value of the syslog file folder is less than default maximum storage value;
If the storage value of the syslog file folder is less than default maximum storage value, the first judge module hair
Send continuation requests to instruct to the request module, ask the system to send the current caused system journal to the system
Log folder;
If the storage value of the syslog file folder is more than or equal to the maximum storage value, first judge module
Trigger the removing module and the system journal preserved at first is deleted in syslog file folder.
Further, the judge module also includes:
One second judge module, when the remaining storage value of the memory module is less than or equal to the default storage thresholding
During value, judge whether the storage value of the syslog file folder is more than default maximum storage value;
If the storage value of the syslog file folder is more than the maximum storage value, the syslog file folder is deleted
In the system journal that preserves at first.
As described above, the electronic equipment preserves the method and electronic equipment of system journal, there is following beneficial effect:
By when the remaining storage value for detecting electronic equipment memory module is less than a default storage threshold value, being automatically deleted at first
The system journal of preservation, so that new system journal preserves the memory module into electronic equipment, make the storage of electronic equipment
Module automatically updates preservation system journal.
The file of storage system daily record is fixed by establishing in a storage module, user is more held in memory space
The easy convenience for finding system journal, adding user.
By setting the time of detection memory module residue storage value, avoid because the operation for preserving system journal influences
The normal operation of electronic equipment.
Because the memory space in electronic equipment is relatively limited, by setting fixed storage system log folder
Storage is reached the standard grade i.e. maximum storage value, and by the storage size of detecting system log folder, big when syslog file folder
It is small when exceeding the maximum storage value set, the system journal preserved at first is automatically deleted, it is empty to solve storage in electronic equipment
Between because system journal is too many can not store alternative document or application the problem of.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the method first embodiment that a kind of electronic equipment of the present invention preserves system journal;
Fig. 2 is the schematic flow sheet for the method second embodiment that a kind of electronic equipment of the present invention preserves system journal;
Fig. 3 is the structural representation for the electronic equipment first embodiment that a kind of electronic equipment of the present invention preserves system journal;
Fig. 4 is the structural representation for the electronic equipment second embodiment that a kind of electronic equipment of the present invention preserves system journal;
1 system
2 memory modules
3 starting modules
4 detection modules
5 judge modules
51 first judge modules
52 second judge modules
6 request modules
7 preserving modules
8 removing modules
Embodiment
In order that relevant technical staff in the field more fully understands technical scheme, below in conjunction with of the invention real
The accompanying drawing of mode is applied, the technical scheme in embodiment of the present invention is clearly and completely described, it is clear that described reality
Apply mode only a part of embodiment of the present invention, rather than whole embodiments.
The invention provides the method that a kind of electronic equipment preserves system journal, for caused by the system by electronic equipment
System journal is preserved into the memory module of the electronic equipment, and Fig. 1 is that a kind of electronic equipment of the present invention preserves system journal
The schematic flow sheet of method first embodiment, with reference to Fig. 1, methods described step is as follows:
Step S1:Open system daily record preserves.
The method that open system daily record preserves can be realized by being provided with corresponding button on an electronic device, can be with
Realize that open system daily record preserves by inputting one group of specific private mark, such as the private mark that open system daily record preserves is:***###
When, then as user input * * * ###, then into system journal save routine.
It should be noted that the electronic equipment disclosed in the present invention can be the electronic equipments such as mobile phone or palm PC, this
System journal described in invention can be that operating system daily record can also be baseband system daily record, can also be operating system day
Subsystem daily record in will, or the subsystem daily record in baseband system daily record, before open system daily record preservation, user can be with
The system journal species preserved required for setting, preserve in system specified daily record to memory module.
Step S2:Detect the remaining storage value of memory module.
It should be strongly noted that the memory module in electronic equipment is not limited only to the internal memory in electronic equipment, also may be used
Think the extension storages such as the SD card in electronic equipment.
Before open system daily record preservation, user, which can specify, is stored in system journal in which storage device.
Step S3:Judge whether remaining storage value is more than default one storage threshold value.
Memory space in electronic equipment is relatively limited, so the problem of easily generation can not continue storage.This hair
The minimum memory value of one remaining storage value of bright setting, that is, threshold value is stored, and according to this storage threshold value as the base judged
It is accurate.
When the remaining storage value is more than the storage threshold value, step S41 is performed:Request System sends and currently produced
Raw system journal is to memory module.
Step S5:The system journal of the system feedback is preserved to memory module.
It is then returned to and performs step S2.
In the case that electronic equipment memory space is larger, i.e., when remaining storage value is more than the storage threshold value, storage
The system journal of the lasting preservation system feedback of module.
When the remaining storage value of the memory module is less than or equal to the storage threshold value, step S42 is performed:Delete
The system journal preserved at first in a storage module.
Then, return and perform step S2.
Because the memory space of itself is not very big in electronic equipment, when there is bug in system, perhaps electronic equipment
In memory space it is full already, there will be bug system journal to preserve.Storage mould is deleted by step S42
The system journal preserved at first in block, ensure that the system journal in memory module is newest system journal.
Of particular note is that terminate after processing can be after return to step S2 continues cycling through execution by step S5 and step S42
Continuous step, can so preserve system journal in real time.
Fig. 2 is the schematic flow sheet for the method second embodiment that electronic equipment of the present invention preserves system journal, and second implements
The difference of example and first embodiment is, establishes the file of a preservation system file specified in a storage module, and gives
The upper limit of this one storage value of file, so just will not be because of the excessive of system journal preservation, when user needs to preserve other
When file or application, there is situation about can not be preserved by no memory space.With reference to Fig. 2, the second embodiment of methods described
The step of it is as follows:
Step S1:Open system daily record preserves.
Step S2:Detect the remaining storage value of memory module.
Step S21:The storage value of detecting system log folder.
A syslog file folder is established in a storage module, for storage system daily record, makes user in memory space
In the easier convenience for finding system journal, adding user.
Step S3:Judge whether the remaining storage value of memory module is more than default one storage threshold value.
When the remaining storage value of the memory module is less than or equal to default one storage threshold value, step S32 is performed:
Judge whether the storage value of syslog file folder is more than default maximum storage value.
When the storage value of syslog file folder is more than default maximum storage value, step S42 ' is performed:Delete
The system journal preserved at first in syslog file folder.
Return to step S2.
The situation that the remaining storage value of memory module is less than or equal to default one storage threshold value has two kinds, a kind of situation
It is that alternative document in memory module is excessive and result in memory module residue storage value and be less than or equal to storage threshold value, then
The system journal preserved at first in deletion system log folder, the system journal in syslog file folder can only be caused to deposit
Storage space diminishes, and easily leads to not preserve system journal, therefore in the present invention, it is less than or equal in system folder storage value
When maximum storage value, the system journal preserved at first that will not be in deletion system log folder, to protect system journal
Storage.In this case, by way of reminding and deleting alternative document user can be promoted voluntarily to delete memory space
Interior alternative document, to ensure the preservation of system journal.
Another kind is because the storage value of syslog file folder is excessive, and causes the remaining storage value of memory module to be less than
Or equal to storage threshold value.Then only need to delete the system journal preserved at first at this moment, and continue executing with step S2 judgements, directly
It is more than storage threshold value to remaining storage value.Step S32~S42 ' is effectively solved in method provided by the invention
State problem.
With continued reference to Fig. 2, when the remaining storage value of the memory module is more than default one storage threshold value, step is performed
Rapid S31:Judge whether the storage value of syslog file folder is less than default maximum storage value.
When being more than or equal to default maximum storage value when judging the storage value of syslog file folder, step is performed
S42’.Even if when remaining storage value is more than default storage threshold value in memory module, the storage value of system folder
Also it is possible to more than or equal to default maximum storage value, in order to not influence memory module depositing for alternative document etc.
Storage, sets this scheme, effectively reduces syslog file and is clipped in the space taken in memory space.
When being less than default maximum storage value when judging the storage value of syslog file folder, step S41 ' is performed:
Request System sends current caused system journal to syslog file and pressed from both sides.
Step S5:The system journal of the system feedback is preserved to syslog file and pressed from both sides.
Step S51:Judge whether more than between a default continuation requests.
If returned more than the continuation requests time and perform step S2.
If not less than the continuation requests time, return and perform step S41 ', it is current produced to continue Request System transmission
System journal to syslog file presss from both sides.
Complete to perform the inspection to memory module residue storage value after system journal is preserved to syslog file folder every time
Survey, the relative speed of service that can relatively influence electronic equipment.The method that the present invention detects memory module residue storage value using timing,
Reduce the influence that detection contrast step is run to electronic equipment.
Present invention also offers the electronic equipment that a kind of electronic equipment preserves system journal, Fig. 3 is a kind of electronics of the present invention
Equipment preserves the structural representation of the electronic equipment first embodiment of system journal, and with reference to Fig. 3, the electronic equipment includes:System
System 1, memory module 2, starting module 3(Target is switch module in Fig. 3), detection module 4, judge module 5, request module 6, protect
Storing module 7, removing module 8.
Wherein, starting module 3, instruction is preserved for sending open system daily record.
Detection module 4, starting module 3 and memory module 2 are electrically connected with, are sent for the starting module 3 ought to be received
The system journal preserve instruction after, detect the remaining storage value of the memory module 2;
Judge module 5, detection module 4 is electrically connected with, for judging whether the remaining storage value of the memory module 2 is more than
Default storage threshold value;
Request module 6, be electrically connected with judge module 5 and system 1, for when the remaining storage value of the memory module 2 it is big
When the storage threshold value, the system 1 is asked to send current caused system journal to the memory module 2;
Preserving module 7, system 1, request module 6, memory module 2 and detection module 4 are electrically connected with, for by the system
The system journal of 1 feedback is preserved to the memory module 2, after completing to preserve operation, sends detection instruction to detection mould
Block 4, the step of continuing executing with the remaining storage value for detecting the memory module 2;
Removing module 8, judge module 5, memory module 2 and detection module 4 are electrically connected with, for when the memory module 2
Remaining storage value be less than or equal to it is described storage threshold value when, delete the system preserved at first in the memory module 2
Daily record, after deletion action is completed, detection instruction is sent to detection module 4, continues executing with the residue for detecting the memory module
The step of storage value.
Fig. 4 is the structural representation of the second embodiment for the electronic equipment that a kind of electronic equipment of the present invention preserves system journal
Figure, with reference to Fig. 4, the difference that the electronic equipment preserves the second embodiment and first embodiment of the electronic equipment of system journal exists
In:
Include syslog file folder in memory module 2(It is not drawn into figure), the syslog file, which presss from both sides, to be used for
Preserve the system journal.
The preserving module 7 also includes:Time control module(It is not drawn into figure), for seeing if fall out default one
The continuation requests time;
When within the continuation requests time, send continuation requests and instruct to the request module 6, be described in continuation requests
System 1 sends the current caused system journal into the syslog file folder of the memory module 2;
When beyond the continuation requests time, detection instruction is sent to detection module 4, carries out the memory module again
The detection of 2 remaining storage value.
Further, the detection module 4 also includes a file detection module(It is not drawn into figure), it is described for detecting
The storage value of syslog file folder;
The judge module 5 also includes one first judge module 51, for when the remaining storage value of the memory module 2 it is big
When the default storage threshold value, judge whether the storage value of the syslog file folder is less than default one most
Big storage value;
If the storage value of syslog file folder is less than default maximum storage value, transmission continuation requests instruct to
The request module 6, ask the system 1 to send the current caused system journal to the syslog file and press from both sides;
If the storage value of the syslog file folder is more than or equal to the maximum storage value, in system journal text
The system journal preserved at first is deleted in part folder.
Further, the judge module 5 also includes:
One second judge module 52, when the remaining storage value of the memory module 2 is less than or equal to the default storage door
During limit value, if the storage value of syslog file folder is more than the maximum storage value, the syslog file folder is deleted
In the system journal that preserves at first.
The invention provides the method and electronic equipment that a kind of electronic equipment preserves system journal, by detecting that electronics is set
When whether the remaining storage value of standby memory module is less than a default storage threshold value, it is automatically deleted in memory module and preserves at first
System journal method, solve the problems, such as electronic equipment memory module can not automatically update preserve system journal, realize
System produced problem when finding to be close to the users use from the angle of user, is easy to the test and exploitation of electronic equipment.
The file of storage system daily record is fixed by establishing in a storage module, user is more held in memory space
The easy convenience for finding system journal, adding user.
By setting the time of detection memory module residue storage value, avoid because the operation for preserving system journal influences
The normal operation of electronic equipment.
Reached the standard grade by the storage for setting fixed storage system log folder, and by detecting its storage size, when secondary text
When the size of part folder exceedes the maximum storage value set, the system journal that preserves at first in automatic deleting system log folder,
Solve the problems, such as that the memory space in electronic equipment can not store alternative document or application because system journal is too many.
Although present disclosure is as above, the present invention is not limited to this.Any those skilled in the art, this is not being departed from
In the spirit and scope of invention, it can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
The scope of restriction is defined.
Claims (7)
1. a kind of electronic equipment preserve system journal method, for system journal caused by the system by electronic equipment preserve to
In the memory module of the electronic equipment, it is characterised in that methods described step is as follows:
Open system daily record preserves;
Detect the remaining storage value of the memory module;
Syslog file folder storage value is detected, wherein, the syslog file is pressed from both sides for preserving the system journal;
Judge whether the remaining storage value of the memory module is more than default one storage threshold value;
When the remaining storage value of the memory module is more than the default storage threshold value, the syslog file folder is judged
The storage value whether be less than default maximum storage value;If the storage value of the syslog file folder is less than institute
Maximum storage value is stated, asks the system to send the current caused system journal to the syslog file and presss from both sides;By institute
The system journal for stating system feedback is preserved to syslog file folder;Return to simultaneously memory module described in perform detection
Remaining storage value step;
When the remaining storage value of the memory module is less than or equal to the default storage threshold value, the system journal is judged
Whether the storage value of file is more than default maximum storage value;If the storage value of the syslog file folder
More than the maximum storage value, the system journal preserved at first in syslog file folder is deleted;Return and perform inspection
Survey the remaining storage value step of the memory module.
2. the method according to claim 1, it is characterised in that the system journal by the system feedback is protected
Depositing to the syslog file the step of pressing from both sides includes:
See if fall out the default continuation requests time;
When without departing from the continuation requests time, system described in continuation requests sends the current caused system journal to institute
State syslog file folder;
When beyond the continuation requests time, return and described in perform detection the step of the remaining storage value of memory module.
3. the method according to claim 1 or 2, it is characterised in that methods described also includes:
If the remaining storage value of the memory module is more than the default storage threshold value, and the institute of syslog file folder
When stating storage value and being more than or equal to the maximum storage value, the system preserved at first in syslog file folder is deleted
System daily record.
4. a kind of electronic equipment, the electronic equipment includes a system, a memory module, it is characterised in that the electronic equipment
Also include:
One starting module, instruction is preserved for sending open system daily record;
One detection module, for after receiving the system journal that the starting module sends and preserving instruction, described in detection
The remaining storage value of memory module;
Whether one judge module, the remaining storage value for judging the memory module are more than default one storage threshold value;
One request module, for when the remaining storage value of the memory module is more than the storage threshold value, asking the system
System sends current caused system journal to the memory module;
One preserving module, for the system journal of the system feedback to be preserved to the memory module, when completion preserves
After operation, send detection instruction and continue remaining storage value to the memory module to detection module to trigger the detection module
Detected;
One removing module, for when the remaining storage value of the memory module is less than or equal to the storage threshold value, deleting
The system journal preserved at first in the memory module, after deletion action is completed, detection instruction is sent to detection module
The remaining storage value of the memory module is detected with triggering the detection module;
The detection module also includes a file detection module, for detecting the storage value of the syslog file folder;
The judge module also includes one first judge module, for when the remaining storage value of the memory module is more than described pre-
If store threshold value, judge whether the storage value of the syslog file folder is less than default maximum storage value;
If the storage value of the syslog file folder is less than default maximum storage value, first judge module sends and held
Continuous request instruction asks the system to send the current caused system journal to the system journal to the request module
File;
If the storage value of the syslog file folder is more than or equal to the maximum storage value, the first judge module triggering
The removing module deletes the system journal preserved at first in syslog file folder.
5. the electronic equipment according to claim 4, it is characterised in that the preserving module also includes:
One time control module, for seeing if fall out the default continuation requests time, when in the continuation requests time
It is interior, send continuation requests and instruct to the request module, system described in continuation requests sends the current caused system journal
To the memory module, when beyond the continuation requests time, detection instruction is sent to detection module to trigger the detection
Module detects to the remaining storage value of the memory module.
6. the electronic equipment according to claim 4 or 5 a, it is characterised in that system journal is included in the memory module
File, for preserving the system journal.
7. electronic equipment according to claim 6, it is characterised in that the judge module also includes:
One second judge module, when the remaining storage value of the memory module is less than or equal to the default storage threshold value
When, judge whether the storage value of the syslog file folder is more than default maximum storage value;
If the storage value of the syslog file folder is more than the maximum storage value, delete in the syslog file folder most
The system journal first preserved.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310524581.4A CN104572413B (en) | 2013-10-29 | 2013-10-29 | A kind of electronic equipment preserves the method and electronic equipment of system journal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310524581.4A CN104572413B (en) | 2013-10-29 | 2013-10-29 | A kind of electronic equipment preserves the method and electronic equipment of system journal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104572413A CN104572413A (en) | 2015-04-29 |
CN104572413B true CN104572413B (en) | 2017-11-24 |
Family
ID=53088547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310524581.4A Active CN104572413B (en) | 2013-10-29 | 2013-10-29 | A kind of electronic equipment preserves the method and electronic equipment of system journal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572413B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107590162A (en) * | 2016-07-08 | 2018-01-16 | 中兴通讯股份有限公司 | The storage method and device of journal file |
CN107402835B (en) * | 2017-07-25 | 2021-04-06 | Oppo广东移动通信有限公司 | Application program exception handling method and device, storage medium and mobile terminal |
CN110609818B (en) * | 2018-05-29 | 2022-11-25 | 视联动力信息技术股份有限公司 | Log processing method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614688A (en) * | 2004-07-05 | 2005-05-11 | 上海交通大学 | Monitoring data file processing method and hard disk inspecting method based on hard disk |
CN1980357A (en) * | 2005-12-08 | 2007-06-13 | 南京Lg新港显示有限公司 | Control method of data storage apparatus |
CN101334781A (en) * | 2007-06-28 | 2008-12-31 | 鸿富锦精密工业(深圳)有限公司 | Capacity integration equipment and its data storage method and data reading method |
CN101908021A (en) * | 2009-06-03 | 2010-12-08 | 康佳集团股份有限公司 | Flash memory erasing-writing method and flash memory |
CN102567184A (en) * | 2011-12-27 | 2012-07-11 | 青岛海信宽带多媒体技术有限公司 | Journal storage method based on Flash |
CN102981944A (en) * | 2012-12-12 | 2013-03-20 | 青岛海信宽带多媒体技术有限公司 | Log storage method based on file system |
CN103167134A (en) * | 2012-08-23 | 2013-06-19 | 深圳市金立通信设备有限公司 | Infinite storage system and method of mobile phone |
CN103365977A (en) * | 2013-06-28 | 2013-10-23 | 北京奇艺世纪科技有限公司 | Storage processing method and device for data on nonvolatile storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7363540B2 (en) * | 2002-10-22 | 2008-04-22 | Microsoft Corporation | Transaction-safe FAT file system improvements |
-
2013
- 2013-10-29 CN CN201310524581.4A patent/CN104572413B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614688A (en) * | 2004-07-05 | 2005-05-11 | 上海交通大学 | Monitoring data file processing method and hard disk inspecting method based on hard disk |
CN1980357A (en) * | 2005-12-08 | 2007-06-13 | 南京Lg新港显示有限公司 | Control method of data storage apparatus |
CN101334781A (en) * | 2007-06-28 | 2008-12-31 | 鸿富锦精密工业(深圳)有限公司 | Capacity integration equipment and its data storage method and data reading method |
CN101908021A (en) * | 2009-06-03 | 2010-12-08 | 康佳集团股份有限公司 | Flash memory erasing-writing method and flash memory |
CN102567184A (en) * | 2011-12-27 | 2012-07-11 | 青岛海信宽带多媒体技术有限公司 | Journal storage method based on Flash |
CN103167134A (en) * | 2012-08-23 | 2013-06-19 | 深圳市金立通信设备有限公司 | Infinite storage system and method of mobile phone |
CN102981944A (en) * | 2012-12-12 | 2013-03-20 | 青岛海信宽带多媒体技术有限公司 | Log storage method based on file system |
CN103365977A (en) * | 2013-06-28 | 2013-10-23 | 北京奇艺世纪科技有限公司 | Storage processing method and device for data on nonvolatile storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104572413A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3531290B1 (en) | Data backup method, apparatus, electronic device, storage medium, and system | |
US20160241589A1 (en) | Method and apparatus for identifying malicious website | |
CN110716850B (en) | Page testing method, device and system and storage medium | |
US10095666B2 (en) | Method and terminal for adding quick link | |
US10956653B2 (en) | Method and apparatus for displaying page and a computer storage medium | |
WO2014206046A1 (en) | A method, equipment and system of incremental update | |
CN103258163B (en) | A kind of script virus recognition methods, Apparatus and system | |
CN104572413B (en) | A kind of electronic equipment preserves the method and electronic equipment of system journal | |
CN111078523B (en) | Log acquisition method and device, storage medium and electronic equipment | |
CN111858112A (en) | Method for detecting memory leak, client and server | |
CN107463657A (en) | File operation method and terminal | |
CN109002547B (en) | Log file storage method, mobile terminal and computer readable storage medium | |
CN108763396B (en) | Access request processing method, device, computer equipment and storage medium | |
CN111625383A (en) | Process abnormal event processing method and device, electronic equipment and storage medium | |
CN110321321B (en) | Snapshot read-write method, device and equipment for network block equipment and storage medium | |
CN115952096A (en) | Fault detection method, device, equipment and medium of data center software system | |
CN106970859B (en) | Method and device for backing up and recovering offline mail | |
US10824597B2 (en) | Cache folder identification method and device | |
CN116302807A (en) | System, method, electronic device and storage medium for monitoring device memory | |
CN105227644A (en) | Item file generation method and device | |
CN103096037B (en) | The network optimization system of video monitoring platform | |
CN110928547A (en) | Public file extraction method, device, terminal and storage medium | |
CN113065083B (en) | Page processing method and device, electronic equipment and storage medium | |
CN103532988A (en) | Web page access control method, related devices and system | |
CN107623710A (en) | A kind of file uploading method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201125 Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province Patentee after: Song Yixiao Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90 Patentee before: Phicomm (Shanghai) Co.,Ltd. |