CN109739738A - Event log management method, system and relevant apparatus based on HTML5 - Google Patents
Event log management method, system and relevant apparatus based on HTML5 Download PDFInfo
- Publication number
- CN109739738A CN109739738A CN201811603215.7A CN201811603215A CN109739738A CN 109739738 A CN109739738 A CN 109739738A CN 201811603215 A CN201811603215 A CN 201811603215A CN 109739738 A CN109739738 A CN 109739738A
- Authority
- CN
- China
- Prior art keywords
- event log
- written
- memory
- memory space
- target
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 42
- 238000003860 storage Methods 0.000 claims abstract description 64
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000004519 manufacturing process Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 15
- 238000012545 processing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Abstract
This application discloses a kind of event log management method, system and a kind of electronic equipment and computer readable storage medium based on HTML5, this method comprises: applying for the memory space of event log in memory, and presently written position is determined in the memory space;When generating event log, the event log is written in write queue;Since the presently written position, the event log in write queue is written in the memory space, and determine the storage address of the event log.It can be seen that event log management method provided by the present application, is stored in memory for event log by HTML5 technology, memory can meet the storage demand of a large amount of event logs, reduce on the influence of the performance of browser.
Description
Technical field
This application involves field of computer technology, more specifically to a kind of event log management side based on HTML5
Method, system and a kind of electronic equipment and a kind of computer readable storage medium.
Background technique
For JS (full name in English: JavaScript belongs to the scripting language of network), since it is born weak
Language has no idea to operate hard disk, although this ensure that safety, gives SDK (Chinese name: Software Development Kit, English
Literary full name: Software Development) developer also brings certain difficulty, browser can only be passed through for event log
Console output, several M datas may only be deposited since browser carries log panel, for the SDK for exporting a large amount of logs
It is far from being enough.
Therefore, how to store a large amount of event logs is those skilled in the art's technical issues that need to address.
Summary of the invention
A kind of a kind of be designed to provide the event log management method based on HTML5, system and the electronics of the application is set
Standby and a kind of computer readable storage medium, improves the supervisory efficiency of tourist image design.
To achieve the above object, the event log management method based on HTML5 that this application provides a kind of, comprising:
Apply for the memory space of event log in memory, and determines presently written position in the memory space;
When generating event log, the event log is written in write queue;
Since the presently written position, the memory space is written into the event log in write queue
In, and determine the storage address of the event log.
Wherein, it since the presently written position, will be deposited described in the event log write-in in write queue
Before storing up in space, further includes:
Locking operation is carried out to the file where the presently written position;
Correspondingly, after all the file is written in the event log, further includes:
Operation is unlocked to the file.
Wherein, further includes:
After all the file is written in the event log, the presently written position is moved to the end of the file
Tail.
Wherein, further includes:
The method in console is rewritten, so that the team to be written is written in the event log when generating event log
In column.
Wherein, further includes:
The download command of target journaling is received, and determines that the target of target journaling described in the download command stores ground
Location;
It is inquired in memory according to the target storage address and returns to the target journaling.
Wherein it is determined that the target storage address of target journaling described in the download command, comprising:
Value in the download command in massageurl attribute is determined as to the target storage of the target journaling
Address.
To achieve the above object, this application provides a kind of electronic equipment, the electronic equipment includes memory and processing
Device is stored with the event log management program that can be run on the processor, the event log management on the memory
Program is realized when being executed by the processor: applying for the memory space of event log in memory, and in the memory space
Determine presently written position;When generating event log, the event log is written in write queue;From described presently written
Position starts, and the event log in write queue is written in the memory space, and determine the event log
Storage address.
Wherein, it is also realized when the event log management program is executed by the processor: receiving the downloading of target journaling
Order, and determine the target storage address of target journaling described in the download command;Including the target storage address
It deposits middle inquiry and returns to the target journaling.
To achieve the above object, this application provides a kind of event log management systems based on HTML5, comprising:
Apply for module, determination is worked as applying for the memory space of event log in memory, and in the memory space
Preceding writing position;
Writing module, for when generating event log, the event log to be written in write queue;
Memory module, for since the presently written position, the event log in write queue to be write
Enter in the memory space, and determines the storage address of the event log.
To achieve the above object, this application provides a kind of computer readable storage medium, the computer-readable storages
It is stored with event log management program on medium, such as above-mentioned event is realized when the event log management program is executed by processor
The step of blog management method.
To achieve the above object, this application provides a kind of computer program products, including computer instruction, when it is being counted
When running on calculation machine, computer is allowed to execute event log management method described in any of the above-described.
By above scheme it is found that a kind of event log management method based on HTML5 provided by the present application, comprising:
Apply for the memory space of event log in memory, and determines presently written position in the memory space;When generation event day
When will, the event log is written in write queue;Since the presently written position, by the institute in write queue
It states event log to be written in the memory space, and determines the storage address of the event log.
Event log management method provided by the present application is event log application storage by HTML5 technology in memory
Memory is written when generating event log in space.Since write operation is asynchronous, it is impossible to vertical while event log generates
It inscribes into therefore establishing the event log that a queue maintenance to be written is written not in time.It can be seen that thing provided by the present application
Event log is stored in memory by HTML5 technology by part blog management method, and memory can meet the storage need of a large amount of event logs
It asks, reduces on the influence of the performance of browser.Disclosed herein as well is a kind of event log management system and a kind of electronic equipment
With a kind of computer readable storage medium, it is equally able to achieve above-mentioned technical effect.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of event log management method disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of another kind event log management method disclosed in the embodiment of the present application;
Fig. 3 is the flow chart of another event log management method disclosed in the embodiment of the present application;
Fig. 4 is a kind of structure chart of event log management system disclosed in the embodiment of the present application;
Fig. 5 is the structure chart of a kind of electronic equipment disclosed in the embodiment of the present application;
Fig. 6 is the structure chart of another kind electronic equipment disclosed in the embodiment of the present application.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment
Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims
Protection scope within.
Conventionally, as browser, which carries log panel, may only deposit several M datas, a large amount of events can not be supported
The storage of log.Therefore, pass through HTML5 technology in this application is event log application memory space in memory, works as generation
Memory is written when event log, memory can meet the storage demand of a large amount of event logs.
The embodiment of the present application discloses a kind of event log management method based on HTML5, improves the prison of tourist image design
Tube efficiency.
Referring to Fig. 1, a kind of flow chart of event log management method disclosed in the embodiment of the present application, as shown in Fig. 1, packet
It includes:
S101: applying for the memory space of event log in memory, and presently written position is determined in the memory space
It sets;
The executing subject of the embodiment of the present application is SDK, which is write using HTML5.Log object is created first,
In memory it is event log application memory space, carries out file designation operation, when any using HTML5SDK broadcasting one
When file, whether browser supports requestFileStream, and the presently written position of event log is determined if supporting,
So that memory is written in event log by subsequent step.
It as a preferred implementation manner, can also include the method rewritten in console before this step, such as
Console.info etc., this method can utilize the parameter that the inside is passed to this class array handle of arguments record log is wanted to spell
It is connected together, to call event log management method provided in this embodiment when generating event log, i.e., by event log
It is stored in memory.
S102: when generating event log, the event log is written in write queue;
In specific implementation, log is triggered when there is event log output and add queue events, then triggering write-in log
Event.Since the write operation of event log is asynchronous, it is impossible to memory be written at once while generating, therefore establish one
The event log is added to team to be written when generating event log by the event log that a queue maintenance to be written is written not in time
Column.
S103: it since the presently written position, will be deposited described in the event log write-in in write queue
It stores up in space, and determines the storage address of the event log.
In specific implementation, log can be write to specified file by writeFile interface, i.e., is determined from step S101
Presently written position start, will in write queue time Log Sequence be written memory, and determine the event log storage
Address, the i.e. address sysfile will describe in detail to respond the inquiry operation of user in subsequent embodiment.It is understood that
, can be before writing to the specified file to prevent multiple processes while a specified file being called to carry out write operation
It is locked, will be described in detail in next embodiment.
Event log management method provided by the embodiments of the present application is event log Shen by HTML5 technology in memory
Please memory space, memory is written when generating event log.Since write operation is asynchronous, it is impossible to be generated in event log
It is written at once simultaneously, therefore establishes the event log that a queue maintenance to be written is written not in time.It can be seen that the application is real
The event log management method for applying example offer, is stored in memory for event log by HTML5 technology, memory can meet a large amount of events
The storage demand of log reduces on the influence of the performance of browser.
The embodiment of the present application discloses a kind of event log management method based on HTML5, relative to a upper embodiment, originally
Embodiment has made further instruction and optimization to technical solution.It is specific:
Referring to fig. 2, the flow chart of another event log management method provided by the embodiments of the present application, as shown in Fig. 2,
Include:
S201: applying for the memory space of event log in memory, and presently written position is determined in the memory space
It sets;
S202: when generating event log, the event log is written in write queue;
S203: locking operation is carried out to the file where the presently written position;
In the present embodiment, lead to information to same specified file write time log simultaneously when repeatedly calling in order to prevent
Entanglement, it is any during writing to call the request for requiring write-in that all be returned while writing log for one to file locking,
It empties after the completion of presently written to write queue.
S204: it since the presently written position, will be deposited described in the event log write-in in write queue
It stores up in space, and determines the storage address of the event log;
S205: after all the file is written in the event log, operation is unlocked to the file, and will be described
Presently written position is moved to the end of the file.
It is understood that need to be unlocked this document operation after the completion of current event log is all written, with
Just other processes carry out other subsequent write operations.
Meanwhile when event log write-in after the completion of, need presently written position being moved to end of file, so as to it is subsequent into
Other write operations of row.Specifically, can this method will be current by fileWriter.seek (fileWriter.length)
Writing position is moved to end of file and realizes additional log.
User is described in detail below to the query steps of event log, specifically:
Referring to Fig. 3, the flow chart of another event log management method provided by the embodiments of the present application, as shown in figure 3,
Include:
S301: receiving the download command of target journaling, and determines that the target of target journaling described in the download command is deposited
Store up address;
In specific implementation, it when receiving download command of the client about target journaling, determines in the download command
The target storage address of target journaling, i.e., the storage address determined after the completion of the write-in of the event log of upper embodiment introduction.
Specifically, the address of the sysfile of target journaling, i.e. this step can be viewed by this attribute of messageurl
Target storage address in rapid.That is, the step of determining the target storage address of target journaling described in download command can
To include: the target storage address that the value in download command in massageurl attribute is determined as to target journaling.
S302: it is inquired in memory according to the target storage address and returns to the target journaling.
In this step, which is inquired according to the target storage address that previous step determines in memory, and is returned
Return client.
A kind of event log management system provided by the embodiments of the present application is introduced below, a kind of thing described below
Part Log Administration System can be cross-referenced with a kind of above-described event log management method.
Referring to fig. 4, the structure chart of a kind of event log management system provided by the embodiments of the present application, as shown in Fig. 4, packet
It includes:
Apply for module 401, is determined for applying for the memory space of event log in memory, and in the memory space
Presently written position;
Writing module 402, for when generating event log, the event log to be written in write queue;
Memory module 403, for since the presently written position, by the event log in write queue
It is written in the memory space, and determines the storage address of the event log.
Event log management system provided by the embodiments of the present application is event log Shen by HTML5 technology in memory
Please memory space, memory is written when generating event log.Since write operation is asynchronous, it is impossible to be generated in event log
It is written at once simultaneously, therefore establishes the event log that a queue maintenance to be written is written not in time.It can be seen that the application is real
The event log management system for applying example offer, is stored in memory for event log by HTML5 technology, memory can meet a large amount of events
The storage demand of log reduces on the influence of the performance of browser.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Locking operation, for carrying out locking operation to the file where the presently written position;
Unlocked state, for being unlocked operation to the file after all the file is written in the event log.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Mobile module is used for after all the file is written in the event log, and the presently written position is mobile
To the end of the file.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Rewriting module, for rewriteeing the method in console, to write the event log when generating event log
Enter described in write queue.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Receiving module for receiving the download command of target journaling, and determines target journaling described in the download command
Target storage address;
Return module, for being inquired in memory according to the target storage address and returning to the target journaling.
On the basis of the above embodiments, the receiving module includes: as a preferred implementation manner,
Receiving unit, for receiving the download command of target journaling;
Determination unit, for the value in the download command in massageurl attribute to be determined as the target journaling
The target storage address.
Present invention also provides a kind of electronic equipment, which can be PC (Personal Computer, individual
Computer), it is also possible to the terminal devices such as smart phone, tablet computer, palm PC, portable computer.
Referring to Fig. 5, the structure chart of a kind of electronic equipment provided by the embodiments of the present application, as shown in figure 5, may include storage
Device 11, processor 12 and bus 13.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11
It can be the internal storage unit of electronic equipment, such as the hard disk of the electronic equipment in some embodiments.Memory 11 is another
It is also possible to the External memory equipment of electronic equipment in some embodiments, such as the plug-in type hard disk being equipped on electronic equipment, intelligence
Energy storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, memory 11 can also both include the internal storage unit of electronic equipment or set including external storage
It is standby.Memory 11 can be not only used for the application software and Various types of data of storage installation electronic equipment, such as event log management
The code etc. of program 01 can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11
Code or processing data, realize the event log management method that any of the above-described embodiment provides, such as execute event log management
Program 01 etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation
PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA)
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 5 only with one slightly
Line indicates, it is not intended that an only bus or a type of bus.
On the basis of the above embodiments, preferably, referring to Fig. 6, the electronic equipment further include:
Input interface 14 is controlled through processor 12 and is protected for obtaining computer program, parameter and the instruction of external importing
It deposits into memory 11.The input interface 14 can be connected with input unit, receive parameter or instruction that user is manually entered.It should
Input unit can be the touch layer covered on display screen, be also possible to the key being arranged in terminal enclosure, trace ball or touch-control
Plate is also possible to keyboard (Keyboard), Trackpad or mouse etc..
Display unit 15, for the data of the processing of video-stream processor 12 and for showing visual user interface.It should
Display unit 15 can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-
Emitting Diode, Organic Light Emitting Diode) touch device etc..
The network port 16, for being communicatively coupled with external each terminal device.Skill is communicated used by the communication connection
Art can be cable communicating technology or wireless communication technique, such as mobile high definition chained technology (MHL), universal serial bus
(USB), high-definition media interface (HDMI), adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption bluetooth communicate skill
Art, communication technology based on IEEE802.11s etc..
Fig. 6 illustrates only the electronic equipment with component 11-16 and event log management program 01, those skilled in the art
Member may include less or more than illustrating it is understood that the structure shown in Fig. 6 does not constitute the restriction to electronic equipment
More components perhaps combines certain components or different component layouts.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website
Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit
Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set
It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or half
Conductive medium (such as solid state hard disk Solid State Disk (SSD)) etc.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And
The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed
Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more
In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element
Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of event log management method based on HTML5 characterized by comprising
Apply for the memory space of event log in memory, and determines presently written position in the memory space;
When generating event log, the event log is written in write queue;
Since the presently written position, the event log in write queue is written in the memory space,
And determine the storage address of the event log.
2. event log management method according to claim 1, which is characterized in that, will since the presently written position
Before the event log in write queue is written in the memory space, further includes:
Locking operation is carried out to the file where the presently written position;
Correspondingly, after all the file is written in the event log, further includes:
Operation is unlocked to the file.
3. event log management method according to claim 2, which is characterized in that further include:
After all the file is written in the event log, the presently written position is moved to the end of the file.
4. event log management method according to claim 1, which is characterized in that further include:
The method in console is rewritten, so as to when generating event log that event log write-in is described in write queue.
5. event log management method described in any one of -4 according to claim 1, which is characterized in that further include:
The download command of target journaling is received, and determines the target storage address of target journaling described in the download command;
It is inquired in memory according to the target storage address and returns to the target journaling.
6. event log management method according to claim 5, which is characterized in that determine target described in the download command
The target storage address of log, comprising:
Value in the download command in massageurl attribute is determined as to the target storage address of the target journaling.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes memory and processor, is stored on the memory
There is the event log management program that can be run on the processor, the event log management program is executed by the processor
Shi Shixian: applying for the memory space of event log in memory, and presently written position is determined in the memory space;Work as production
When raw event log, the event log is written in write queue;Since the presently written position, by the team to be written
The event log in column is written in the memory space, and determines the storage address of the event log.
8. electronic equipment as claimed in claim 7, which is characterized in that the event log management program is executed by the processor
When also realize: receive the download command of target journaling, and determine that the target of target journaling described in the download command stores
Location;It is inquired in memory according to the target storage address and returns to the target journaling.
9. a kind of event log management system based on HTML5 characterized by comprising
Apply for module, determination is currently write for applying for the memory space of event log in memory, and in the memory space
Enter position;
Writing module, for when generating event log, the event log to be written in write queue;
Memory module, for since the presently written position, institute to be written in the event log in write queue
It states in memory space, and determines the storage address of the event log.
10. a kind of computer readable storage medium, which is characterized in that be stored with event day on the computer readable storage medium
Will management program realizes the event as described in any one of claim 1 to 6 when the event log management program is executed by processor
The step of blog management method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603215.7A CN109739738A (en) | 2018-12-26 | 2018-12-26 | Event log management method, system and relevant apparatus based on HTML5 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603215.7A CN109739738A (en) | 2018-12-26 | 2018-12-26 | Event log management method, system and relevant apparatus based on HTML5 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109739738A true CN109739738A (en) | 2019-05-10 |
Family
ID=66360008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811603215.7A Pending CN109739738A (en) | 2018-12-26 | 2018-12-26 | Event log management method, system and relevant apparatus based on HTML5 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739738A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506685A (en) * | 2019-09-16 | 2021-03-16 | 浙江宇视科技有限公司 | Log storage method and device |
CN113032355A (en) * | 2021-04-06 | 2021-06-25 | 上海英方软件股份有限公司 | Method and device for collecting logs in batches by Web application |
CN113407503A (en) * | 2020-03-16 | 2021-09-17 | 北京金山云网络技术有限公司 | Log space management method and device, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2590087A1 (en) * | 2011-11-07 | 2013-05-08 | Sap Ag | Database log parallelization |
CN103927251A (en) * | 2014-03-18 | 2014-07-16 | 烽火通信科技股份有限公司 | Log management method for embedded system |
CN106294351A (en) * | 2015-05-13 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Log event treating method and apparatus |
CN106951488A (en) * | 2017-03-14 | 2017-07-14 | 海尔优家智能科技(北京)有限公司 | A kind of log recording method and device |
CN108234166A (en) * | 2016-12-14 | 2018-06-29 | 北京国双科技有限公司 | A kind of data processing method and management equipment |
-
2018
- 2018-12-26 CN CN201811603215.7A patent/CN109739738A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2590087A1 (en) * | 2011-11-07 | 2013-05-08 | Sap Ag | Database log parallelization |
CN103927251A (en) * | 2014-03-18 | 2014-07-16 | 烽火通信科技股份有限公司 | Log management method for embedded system |
CN106294351A (en) * | 2015-05-13 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Log event treating method and apparatus |
CN108234166A (en) * | 2016-12-14 | 2018-06-29 | 北京国双科技有限公司 | A kind of data processing method and management equipment |
CN106951488A (en) * | 2017-03-14 | 2017-07-14 | 海尔优家智能科技(北京)有限公司 | A kind of log recording method and device |
Non-Patent Citations (1)
Title |
---|
张暑军主编: "《基于HTML 5的APP开发教程》", 30 November 2016, 北京理工大学出版社 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506685A (en) * | 2019-09-16 | 2021-03-16 | 浙江宇视科技有限公司 | Log storage method and device |
CN113407503A (en) * | 2020-03-16 | 2021-09-17 | 北京金山云网络技术有限公司 | Log space management method and device, electronic equipment and medium |
CN113032355A (en) * | 2021-04-06 | 2021-06-25 | 上海英方软件股份有限公司 | Method and device for collecting logs in batches by Web application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019206213A1 (en) | Application program pre-loading method and apparatus, and storage medium and terminal | |
CN109634523A (en) | A kind of disk management method, system and electronic equipment and storage medium | |
US10599336B2 (en) | Method of displaying content and electronic device adapted to the same | |
US20130219338A1 (en) | Automatic Magnification and Selection Confirmation | |
CN110309475B (en) | Page display method and device, terminal equipment and storage medium | |
US10402222B2 (en) | Task migration method and apparatus | |
US9411640B2 (en) | Method for efficiently managing application and electronic device implementing the method | |
US20170185248A1 (en) | Electronic device and method of managing application programs thereof | |
CN106560787A (en) | MVVM-framework-based view page displaying method and apparatus | |
CN109739738A (en) | Event log management method, system and relevant apparatus based on HTML5 | |
CN109471626B (en) | Page logic structure, page generation method, page data processing method and device | |
CN109413207A (en) | A kind of file uploading method, system, device and computer readable storage medium | |
CN109729386A (en) | A kind of video file opens broadcasting method, system and electronic equipment and storage medium | |
CN110223044A (en) | A kind of mail push method, system and electronic equipment and storage medium | |
CN111444117B (en) | Method and device for realizing fragmentation of storage space, storage medium and electronic equipment | |
US20160019602A1 (en) | Advertisement method of electronic device and electronic device thereof | |
CN109981798A (en) | A kind of method for writing data, system and electronic equipment and storage medium | |
CN107609119B (en) | File processing method, mobile terminal and computer readable storage medium | |
CN108021567B (en) | Method and device for self-adaptively customizing fonts of browser | |
US10579575B2 (en) | Systems and methods of management console user interface pluggability | |
CN114070892A (en) | Data transmission method and device | |
CN113721814A (en) | Electronic book page display method, computing equipment and computer storage medium | |
CN110147328A (en) | A kind of database performance measurement method, system, electronic equipment and storage medium | |
US8082514B2 (en) | Visual display of physical port location for information handling system | |
CN110445867A (en) | A kind of event distributing method, device, system and computer readable 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: 20190510 |