CN108958652A - A kind of method, apparatus and computer readable storage medium of record log information - Google Patents
A kind of method, apparatus and computer readable storage medium of record log information Download PDFInfo
- Publication number
- CN108958652A CN108958652A CN201810660915.3A CN201810660915A CN108958652A CN 108958652 A CN108958652 A CN 108958652A CN 201810660915 A CN201810660915 A CN 201810660915A CN 108958652 A CN108958652 A CN 108958652A
- Authority
- CN
- China
- Prior art keywords
- code
- log
- log information
- information
- target journaling
- 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
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- 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/3037—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0653—Monitoring storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses the method, apparatus and computer readable storage medium of a kind of record log information, obtain the target journaling information generated when firmware operation;Wherein, the target journaling information is the information of character style;According to the corresponding relationship of the log information and log code pre-established, target journaling code corresponding to the target journaling information is searched, and save the target journaling code;Wherein, the target journaling code is the digital code of preset byte.It is compared with the log information of character style, the occupied hard drive space of target journaling code is smaller.The target journaling information of generation is stored in the form of target journaling code, effectively save the occupied RAM resource of log information, allow the RAM in solid state hard disk there are more memory spaces to provide reading service to other types of data, improves the reading performance of the utilization rate of RAM resource and solid state hard disk in solid state hard disk.
Description
Technical field
The present invention relates to log information technical fields, more particularly to the method, apparatus and meter of a kind of record log information
Calculation machine readable storage medium storing program for executing.
Background technique
With the development of the technologies such as internet, cloud computing, Internet of Things, solid state hard disk (Solid State Drives, SSD)
It is widely used as new generation memory since it has many advantages, such as that read or write speed is fast, low in energy consumption.
For promoted SSD reading speed, can be arranged in SSD random access memory (random access memory,
RAM), newly-generated information can be saved in RAM first, be then transferred in SSD in batches again.Firmware (Firmware) conduct
The key component of SSD can generate the log information of recording firmware operating status in its operation, these log informations can be with character
Form be first stored in RAM.
RAM is that a kind of very valuable resource can be occupied since the data volume of log information is larger for SSD
More RAM resource, to influence the reading performance of SSD.
It is those skilled in the art's urgent problem to be solved as it can be seen that how to save log information to the occupancy of RAM resource.
Summary of the invention
The purpose of the embodiment of the present invention is that providing the method, apparatus and computer-readable storage medium of a kind of record log information
Matter can save log information to the occupancy of RAM resource.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of method of record log information, comprising:
Obtain the target journaling information generated when firmware operation;Wherein, the target journaling information is the letter of character style
Breath;
According to the corresponding relationship of the log information and log code pre-established, search corresponding to the target journaling information
Target journaling code, and save the target journaling code;Wherein, the target journaling code is the number of preset byte
Code.
Optionally, the establishment process of the corresponding relationship of the log information and log code includes:
Obtain history log information;It wherein, include the different log information of a plurality of content in the history log information;
Corresponding log code is configured to log information described in every;
According to the log information and its corresponding log code, the corresponding relationship column of log information and log code are established
Table.
Optionally, after the corresponding relationship list for establishing log information and log code further include:
Obtain more new command;
According to the log information and its corresponding log code carried in the more new command, to the corresponding relationship list
It is updated.
Optionally, after the corresponding relationship list for establishing log information and log code further include:
It obtains and deletes instruction;
According to the log information to be deleted deleted and carried in instruction, searching whether there is in the corresponding relationship list
The log information to match with the log information to be deleted;
If so, the log information to match and its corresponding log code are deleted from the corresponding relationship list.
Optionally, after the preservation target journaling code further include:
Record the target journaling information and corresponding target journaling code, and by the target journaling information and institute
Target journaling code is stated to save into preset configuration file.
The embodiment of the invention also provides a kind of devices of record log information, including acquiring unit and searching unit;
The acquiring unit, for obtaining the target journaling information generated when firmware operation;Wherein, the target journaling letter
Breath is the information of character style;
The searching unit, for according to the corresponding relationship of log information and log code pre-established, described in lookup
Target journaling code corresponding to target journaling information, and save the target journaling code;Wherein, the target journaling code
For the digital code of preset byte.
It optionally, further include configuration unit and establishing unit;
The acquiring unit is also used to obtain history log information;It wherein, include a plurality of in the history log information
The different log information of content;
The configuration unit, for configuring corresponding log code to log information described in every;
It is described to establish unit, for establishing log information and day according to the log information and its corresponding log code
The corresponding relationship list of will code.
It optionally, further include updating unit;
The acquiring unit is also used to obtain more new command;
The updating unit, log information and its corresponding log code for being carried in the more new command according to described in,
The corresponding relationship list is updated.
It optionally, further include judging unit and deletion unit;
The acquiring unit is also used to obtain deletion instruction;
The judging unit searches the correspondence for deleting the log information to be deleted carried in instruction according to described
With the presence or absence of the log information to match with the log information to be deleted in relation list;If so, the triggering deletion is single
Member;
The deletion unit, for arranging the log information to match and its corresponding log code from the corresponding relationship
It is deleted in table.
It optionally, further include recording unit;
The recording unit, for recording the target journaling information and corresponding target journaling code, and by institute
It states target journaling information and the target journaling code is saved into preset configuration file.
The embodiment of the invention also provides a kind of devices of record log information, comprising:
Memory, for storing computer program;
Processor, the step of for executing the computer program to realize the method such as above-mentioned record log information.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium
Computer program is contained, the step of the method such as above-mentioned record log information is realized when the computer program is executed by processor
Suddenly.
The target journaling information generated when firmware operation is obtained it can be seen from above-mentioned technical proposal;Wherein, the target
Log information is the information of character style;According to the corresponding relationship of log information and log code pre-established, described in lookup
Target journaling code corresponding to target journaling information, and save the target journaling code;Wherein, the target journaling code
For the digital code of preset byte.It is compared with the log information of character style, the occupied hard drive space of target journaling code is smaller.
The target journaling information of generation is stored in the form of target journaling code, effectively saves the occupied RAM of log information
Resource allows the RAM in solid state hard disk to have more memory spaces to provide reading service to other types of data, improves
The utilization rate of RAM resource and the reading performance of solid state hard disk in solid state hard disk.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below
It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the method for record log information provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the device of record log information provided in an embodiment of the present invention;
Fig. 3 is a kind of hardware structural diagram of the device of record log information provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other
Embodiment belongs to the scope of the present invention.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Next, a kind of method of record log information provided by the embodiment of the present invention is discussed in detail.Fig. 1 is the present invention
A kind of flow chart of the method for record log information that embodiment provides, this method comprises:
S101: the target journaling information generated when firmware operation is obtained.
When the firmware operation of SSD, the log information for recording the firmware operating status can be generated.These target journaling information are
The information of character style.
In the prior art, the log information of generation can be first stored in RAM.Since the log information of character style can account for
With more RAM resource, therefore, in embodiments of the present invention, before storing log information, at these log informations
Reason is introduced for convenience, these log informations to be processed can be referred to as target journaling information.
Wherein, log information to be processed can have a plurality of, and the treatment process of every log information is similar, next will be with
It is unfolded to introduce for one target log information.
S102: according to the corresponding relationship of the log information and log code pre-established, it is right to search target journaling information institute
The target journaling code answered, and save target journaling code;Wherein, target journaling code is the digital code of preset byte.
Since the log information of character style can occupy more RAM resource, in order to save log information to RAM resource
It occupies, in embodiments of the present invention, the log information of character style can be saved in the form of digital code.
Wherein, the byte number of digital code can be set according to the content of log information, as long as according to the byte number institute
The digital code of formation can cover all types of log contents, and it is unique that it can be also configured for different log informations
A corresponding digital code.For example, each digital code can be uniformly set as 4 bytes.
For the ease of introducing, the digital code corresponding to log information can be referred to as log code.Correspondingly, can be by mesh
Digital code corresponding to mark log information is referred to as target journaling code.
In the concrete realization, the corresponding relationship that log information and log code can be pre-established, in the corresponding relationship
Record has log code corresponding to every log information.
Wherein, which can use ASCII character.In the concrete realization, binary system code table can be used in ASCII character
Show.
For example, log information " Temperature Too High ", corresponding log code is " 111 ".
Recording in the corresponding relationship of log information and log code has corresponding to the log information of different log contents
Log code can find target corresponding to target journaling information according to the corresponding relationship of log information and log code
Log code.
After finding target journaling code, which can be stored in RAM.Believe with target journaling
Manner of breathing ratio, the occupied disk space of target journaling code is smaller, saves log information to the occupancy of RAM resource, thus
RAM is allowed there are more residual memory spaces to provide read-write service for other types of data.
The log information generated in the prior art is first stored in RAM, then imported into SSD according still further to cycle time batch
Middle solidification saves.It is similar with the storage mode of log information in the prior art, in embodiments of the present invention, replaced with log code
Log information is stored in RAM, can save log information to the occupancy of RAM resource.Correspondingly, by the log code in RAM
Batch stores log information with the prior art when importeding into solidification preservation in SSD in SSD and compares, and in the embodiment of the present invention, protects
Depositing into SSD is log code, saves the memory space that log information occupies in SSD, improves the competitiveness of SSD.
The target journaling information generated when firmware operation is obtained it can be seen from above-mentioned technical proposal;Wherein, the target
Log information is the information of character style;According to the corresponding relationship of log information and log code pre-established, described in lookup
Target journaling code corresponding to target journaling information, and save the target journaling code;Wherein, the target journaling code
For the digital code of preset byte.It is compared with the log information of character style, the occupied hard drive space of target journaling code is smaller.
The target journaling information of generation is stored in the form of target journaling code, effectively saves the occupied RAM of log information
Resource allows the RAM in solid state hard disk to have more memory spaces to provide reading service to other types of data, improves
The utilization rate of RAM resource and the reading performance of solid state hard disk in solid state hard disk.
In embodiments of the present invention, pre-establishing for the corresponding relationship of log information and log code is to believe target journaling
Breath is converted to the important evidence of target journaling code, next will be unfolded to introduce to the establishment process of the corresponding relationship.
In embodiments of the present invention, by being analyzed and processed to the history log information of acquisition, establish log information and
The corresponding relationship of log code.
History log information can be generated log when firmware is run in past a period of time internal solid hard disk
Information.
The length of this time can be set according to actual demand, for example, on the basis of current time, it can be by mistake
Go the log information generated in one month as history log information.
It include the different log information of a plurality of content in the history log information.These log informations can be carried out
Classification summarizes, i.e., merges the identical log information of content, to get the log information comprising different log contents.
In practical applications, administrator can also rule of thumb supplement history log information, to guarantee in history log information
All types of log informations can be covered.
After getting the log information comprising different log contents, a log can be configured to each log information
Code.There is corresponding relationship between log information and log code.
In the concrete realization, log information and its corresponding log code can be deposited in the form of corresponding relationship list
Storage, to complete the foundation of the corresponding relationship of log information and log code.
In practical applications, administrative staff can be according to the variation of log information, in the corresponding relationship list of foundation
Content is adjusted correspondingly, to guarantee the validity of corresponding relationship list.
The variation of log information may include update and deletion of log information etc..
It, can be according to the log carried in more new command after getting more new command by taking the update of log information as an example
Information and its corresponding log code, are updated corresponding relationship list.
More new command may include that new log information and its corresponding log code are added in corresponding relationship list,
Some in corresponding relationship list or certain log informations and its corresponding log code can be replaced.
When there is log information identical with the log information carried in more new command in corresponding relationship list, then illustrate
The more new command is for being replaced log code corresponding to the log information, correspondingly, can will take in more new command
Log code corresponding to the log information in the log code replacement corresponding relationship list of band.
When there is log code identical with the log code carried in more new command in corresponding relationship list, then illustrate
The more new command is for being replaced log information corresponding to the log code, correspondingly, can will take in more new command
Log information corresponding to the log code in the log information replacement corresponding relationship list of band.
When in corresponding relationship list be not present log information identical with the log information carried in more new command, and
There is no log codes identical with the log code carried in more new command constantly, then illustrates the more new command in correspondence
New log information and its corresponding log code are added in relation list, correspondingly, the day that can will be carried in more new command
Will information and its corresponding log code are added in corresponding relationship list.
By taking the deletion of log information as an example, when get delete instruction after, can according to delete instruction in carry wait delete
Except log information, search in corresponding relationship list with the presence or absence of the log information to match with log information to be deleted;If so,
The log information to match and its corresponding log code are deleted from corresponding relationship list.
By the operation such as the log information and log code that record in corresponding relationship list being updated and being deleted, guarantee
The validity of corresponding relationship list.Corresponding relationship list is adjusted according to demand, improves corresponding relationship list use
Flexibility.
Administrator needs the log information according to character style, is analyzed problem and is tracked.Therefore, work as administrative staff
It, can be according to the log information and log code pre-established when needing to obtain log information corresponding to target journaling code
Corresponding relationship searches log information corresponding to the target journaling code.
In order to promote the efficiency for obtaining log information, in embodiments of the present invention, after saving target journaling code, also
It can recorde target journaling information and corresponding target journaling code, and target journaling information and target journaling code protected
It deposits into preset configuration file.
In the concrete realization, target journaling information and target journaling code can be stored in computer system in a text form
In the configuration file of system.When needing to obtain the corresponding log information of log code, searching the configuration file can directly be obtained
Get required log information.
For example, the log information that firmware generates when running has 100, correspondingly, the log code being stored in SSD has
100.It, can be from configuration file when log information corresponding to administrative staff need to obtain this 100 log codes
It is directly obtained 100 log informations corresponding to this 100 log codes.
It, can be in order to pipe by saving target journaling information and target journaling code into configuration file in the form of text
Reason personnel are directly obtained log information corresponding to target journaling code, no longer need to through inquiry log information and log code
Corresponding relationship mode, obtain log code corresponding to log information, improve obtain log information efficiency.
Fig. 2 is a kind of structural schematic diagram of the device of record log information provided in an embodiment of the present invention, described device packet
Include acquiring unit 21 and searching unit 22;
Acquiring unit 21, for obtaining the target journaling information generated when firmware operation;Wherein, target journaling information is word
The information of symbol form;
Searching unit 22 searches target day for the corresponding relationship according to the log information and log code pre-established
Target journaling code corresponding to will information, and save target journaling code;Wherein, target journaling code is the number of preset byte
Character code.
It optionally, further include configuration unit and establishing unit;
Acquiring unit is also used to obtain history log information;It wherein, include that a plurality of content is different in history log information
Log information;
Configuration unit, for configuring corresponding log code to every log information;
Unit is established, for according to log information and its corresponding log code, establishing log information and log code
Corresponding relationship list.
It optionally, further include updating unit;
Acquiring unit is also used to obtain more new command;
Updating unit, for being closed to corresponding according to the log information and its corresponding log code carried in more new command
Series of tables is updated.
It optionally, further include judging unit and deletion unit;
Acquiring unit is also used to obtain deletion instruction;
Judging unit, for according to the log information to be deleted carried in instruction is deleted, searching in corresponding relationship list to be
It is no to there is the log information to match with log information to be deleted;If so, unit is deleted in triggering;
Unit is deleted, for deleting the log information to match and its corresponding log code from corresponding relationship list
It removes.
It optionally, further include recording unit;
Recording unit for recording target journaling information and corresponding target journaling code, and target journaling is believed
Breath and target journaling code are saved into preset configuration file.
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
It repeats one by one.
The target journaling information generated when firmware operation is obtained it can be seen from above-mentioned technical proposal;Wherein, the target
Log information is the information of character style;According to the corresponding relationship of log information and log code pre-established, described in lookup
Target journaling code corresponding to target journaling information, and save the target journaling code;Wherein, the target journaling code
For the digital code of preset byte.It is compared with the log information of character style, the occupied hard drive space of target journaling code is smaller.
The target journaling information of generation is stored in the form of target journaling code, effectively saves the occupied RAM of log information
Resource allows the RAM in solid state hard disk to have more memory spaces to provide reading service to other types of data, improves
The utilization rate of RAM resource and the reading performance of solid state hard disk in solid state hard disk.
Fig. 3 is a kind of hardware structural diagram of the device 30 of record log information provided in an embodiment of the present invention, described
Device 30 includes memory 31, for storing computer program;
Processor 32, the step of for executing the computer program to realize the method such as above-mentioned record log information.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium
Computer program is contained, the step of the method such as above-mentioned record log information is realized when the computer program is executed by processor
Suddenly.
It is provided for the embodiments of the invention the method, apparatus and computer-readable storage of a kind of record log information above
Medium is described in detail.Each embodiment is described in a progressive manner in specification, what each embodiment stressed
It is the difference from other embodiments, the same or similar parts in each embodiment may refer to each other.For embodiment
For disclosed device, since it is corresponded to the methods disclosed in the examples, so be described relatively simple, related place referring to
Method part illustration.It should be pointed out that for those skilled in the art, not departing from the principle of the invention
Under the premise of, it can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the claims in the present invention
Protection scope in.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), 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 (10)
1. a kind of method of record log information characterized by comprising
Obtain the target journaling information generated when firmware operation;Wherein, the target journaling information is the information of character style;
According to the corresponding relationship of the log information and log code pre-established, mesh corresponding to the target journaling information is searched
Log code is marked, and saves the target journaling code;Wherein, the target journaling code is the digital code of preset byte.
2. the method according to claim 1, wherein the corresponding relationship of the log information and log code is built
Vertical process includes:
Obtain history log information;It wherein, include the different log information of a plurality of content in the history log information;
Corresponding log code is configured to log information described in every;
According to the log information and its corresponding log code, the corresponding relationship list of log information and log code is established.
3. according to the method described in claim 2, it is characterized in that, in the corresponding pass for establishing log information and log code
After series of tables further include:
Obtain more new command;
According to the log information and its corresponding log code carried in the more new command, the corresponding relationship list is carried out
It updates.
4. according to the method described in claim 2, it is characterized in that, in the corresponding pass for establishing log information and log code
After series of tables further include:
It obtains and deletes instruction;
According to the log information to be deleted deleted and carried in instruction, searching in the corresponding relationship list whether there is and institute
State the log information that log information to be deleted matches;
If so, the log information to match and its corresponding log code are deleted from the corresponding relationship list.
5. method according to any of claims 1-4, which is characterized in that save the target journaling code described
Later further include:
Record the target journaling information and corresponding target journaling code, and by the target journaling information and the mesh
Mark log code is saved into preset configuration file.
6. a kind of device of record log information, which is characterized in that including acquiring unit and searching unit;
The acquiring unit, for obtaining the target journaling information generated when firmware operation;Wherein, the target journaling information is
The information of character style;
The searching unit searches the target for the corresponding relationship according to the log information and log code pre-established
Target journaling code corresponding to log information, and save the target journaling code;Wherein, the target journaling code is pre-
If the digital code of byte.
7. device according to claim 6, which is characterized in that further include configuration unit and establishing unit;
The acquiring unit is also used to obtain history log information;It wherein, include a plurality of content in the history log information
Different log informations;
The configuration unit, for configuring corresponding log code to log information described in every;
It is described to establish unit, for establishing log information and log generation according to the log information and its corresponding log code
The corresponding relationship list of code.
8. device according to claim 6 or 7, which is characterized in that further include recording unit;
The recording unit, for recording the target journaling information and corresponding target journaling code, and by the mesh
Mark log information and the target journaling code are saved into preset configuration file.
9. a kind of device of record log information characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program to realize the record log information as described in claim 1 to 5 any one
Method the step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the side of the record log information as described in any one of claim 1 to 5 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810660915.3A CN108958652A (en) | 2018-06-25 | 2018-06-25 | A kind of method, apparatus and computer readable storage medium of record log information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810660915.3A CN108958652A (en) | 2018-06-25 | 2018-06-25 | A kind of method, apparatus and computer readable storage medium of record log information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108958652A true CN108958652A (en) | 2018-12-07 |
Family
ID=64486363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810660915.3A Pending CN108958652A (en) | 2018-06-25 | 2018-06-25 | A kind of method, apparatus and computer readable storage medium of record log information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958652A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083509A (en) * | 2019-04-30 | 2019-08-02 | 新华三信息安全技术有限公司 | A kind of regular method and device of daily record data |
CN111176928A (en) * | 2019-11-26 | 2020-05-19 | 浙江华云信息科技有限公司 | Log processing method of embedded edge computing system |
CN111881012A (en) * | 2020-08-10 | 2020-11-03 | 深圳大势智能科技有限公司 | Log recording method, device, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859686A (en) * | 2005-07-07 | 2006-11-08 | 上海华为技术有限公司 | Method for realizing recording cell journal |
CN101753984A (en) * | 2008-11-27 | 2010-06-23 | 北京中星微电子有限公司 | Processing method of video monitoring system journals, system and server |
CN103577443A (en) * | 2012-07-30 | 2014-02-12 | 中国银联股份有限公司 | Log processing system |
CN103617167A (en) * | 2013-10-22 | 2014-03-05 | 芜湖大学科技园发展有限公司 | Universal metadata/ relation mapping frame |
CN106547470A (en) * | 2015-09-16 | 2017-03-29 | 伊姆西公司 | Daily record storage optimization method and equipment |
CN106648467A (en) * | 2016-12-28 | 2017-05-10 | 税友软件集团股份有限公司 | Log generation method and system |
CN107133151A (en) * | 2017-05-24 | 2017-09-05 | 努比亚技术有限公司 | A kind of daily record data processing method, equipment and computer-readable recording medium |
CN107341212A (en) * | 2017-06-26 | 2017-11-10 | 努比亚技术有限公司 | A kind of buffering updating method and equipment |
CN107544894A (en) * | 2016-06-23 | 2018-01-05 | 中兴通讯股份有限公司 | The method, apparatus and server of a kind of log processing |
-
2018
- 2018-06-25 CN CN201810660915.3A patent/CN108958652A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859686A (en) * | 2005-07-07 | 2006-11-08 | 上海华为技术有限公司 | Method for realizing recording cell journal |
CN101753984A (en) * | 2008-11-27 | 2010-06-23 | 北京中星微电子有限公司 | Processing method of video monitoring system journals, system and server |
CN103577443A (en) * | 2012-07-30 | 2014-02-12 | 中国银联股份有限公司 | Log processing system |
CN103617167A (en) * | 2013-10-22 | 2014-03-05 | 芜湖大学科技园发展有限公司 | Universal metadata/ relation mapping frame |
CN106547470A (en) * | 2015-09-16 | 2017-03-29 | 伊姆西公司 | Daily record storage optimization method and equipment |
CN107544894A (en) * | 2016-06-23 | 2018-01-05 | 中兴通讯股份有限公司 | The method, apparatus and server of a kind of log processing |
CN106648467A (en) * | 2016-12-28 | 2017-05-10 | 税友软件集团股份有限公司 | Log generation method and system |
CN107133151A (en) * | 2017-05-24 | 2017-09-05 | 努比亚技术有限公司 | A kind of daily record data processing method, equipment and computer-readable recording medium |
CN107341212A (en) * | 2017-06-26 | 2017-11-10 | 努比亚技术有限公司 | A kind of buffering updating method and equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083509A (en) * | 2019-04-30 | 2019-08-02 | 新华三信息安全技术有限公司 | A kind of regular method and device of daily record data |
CN110083509B (en) * | 2019-04-30 | 2022-09-20 | 新华三信息安全技术有限公司 | Method and device for arranging log data |
CN111176928A (en) * | 2019-11-26 | 2020-05-19 | 浙江华云信息科技有限公司 | Log processing method of embedded edge computing system |
CN111881012A (en) * | 2020-08-10 | 2020-11-03 | 深圳大势智能科技有限公司 | Log recording method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107918612B (en) | The implementation method and device of key assignments memory system data structure | |
CN104298680B (en) | Data statistical approach and data statistics device | |
CN105989129B (en) | Real time data statistical method and device | |
Chikhi et al. | On the representation of de Bruijn graphs | |
CN104794177B (en) | A kind of date storage method and device | |
CN108958652A (en) | A kind of method, apparatus and computer readable storage medium of record log information | |
CN107016027A (en) | The method and apparatus for realizing business information fast search | |
CN104252452A (en) | Data management method and device | |
CN101556593A (en) | Method and system for multiple-person cooperative work document management | |
CN105677904B (en) | Small documents storage method and device based on distributed file system | |
US11210312B2 (en) | Storing data items and identifying stored data items | |
CN109710185A (en) | Data processing method and device | |
CN108536745A (en) | Tables of data extracting method, terminal, equipment and storage medium based on Shell | |
CN108198083A (en) | Declaration form multi dimensional analysis implementation method, device, terminal device and storage medium | |
CN112148217B (en) | Method, device and medium for caching deduplication metadata of full flash memory system | |
CN104537012B (en) | Data processing method and device | |
CN102073690B (en) | Method for constructing memory database supporting historical Key information | |
CN109086462A (en) | The management method of metadata in a kind of distributed file system | |
US8600990B2 (en) | Interacting methods of data extraction | |
CN107704585A (en) | One kind inquiry HDFS data methods and system | |
US20200311029A1 (en) | Key value store using generation markers | |
CN105068941A (en) | Cache page replacing method and cache page replacing device | |
CN110020272A (en) | Caching method, device and computer storage medium | |
CN111008183A (en) | Storage method and system for business wind control log data | |
CN108108392B (en) | Commodity data management method, commodity data management device, computer equipment and storage medium |
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: 20181207 |