CN106407094A - Log system and log configuration method - Google Patents

Log system and log configuration method Download PDF

Info

Publication number
CN106407094A
CN106407094A CN201510454420.1A CN201510454420A CN106407094A CN 106407094 A CN106407094 A CN 106407094A CN 201510454420 A CN201510454420 A CN 201510454420A CN 106407094 A CN106407094 A CN 106407094A
Authority
CN
China
Prior art keywords
daily record
signal
record data
data signal
log
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510454420.1A
Other languages
Chinese (zh)
Other versions
CN106407094B (en
Inventor
王文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201510454420.1A priority Critical patent/CN106407094B/en
Publication of CN106407094A publication Critical patent/CN106407094A/en
Application granted granted Critical
Publication of CN106407094B publication Critical patent/CN106407094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a log system and a log configuration method. The log system comprises a parameter configuration module used for receiving a specifying instruction and specifying a plurality of applications in a plurality of applications, a log management module used for receiving clock signals and log data signals from the applications, synchronizing the log data signals based on the clock signals and performing polling on log data signals of the specified applications to output log frames of the specified applications, and a log storage module used for storing the log frames to form log data. According to the system and the method, the clock signals of the applications are synchronized and the corresponding log data is polled; different clock domains or different application logic can be supported; and the reusability and flexibility are achieved.

Description

Log system and daily record collocation method
Technical field
The invention belongs to digital integrated electronic circuit field, more particularly, to a kind of log system based on programming device And daily record collocation method.
Background technology
Programmable based on FPGA (Field Programmable Gate Array, field programmable gate array) Device, its debugging process is more much more difficult than software.It is therefore desirable to Programmable is gathered by log pattern The daily record data that part generates in running to record its running status, similar to the Printf function of software.
Log data acquisition method of the prior art, is often both for some application logic and designs, This daily record data is fixing with the connection of log acquisition module after the completion of design it is impossible to joining according to software Put collection other application logic daily record data, simultaneously nor support multidiameter delay application logic is adopted simultaneously Collection daily record data, can not process the needs of the application logic parallel debugging of different clock-domains.Thus can not expire Foot " in the case of without changing logical code, according to the parameter configuration of developer, captures multichannel not simultaneously The needs of the log information with applying logic ".
That is, the reusability of log data acquisition method of the prior art and flexibility are than relatively low.
Content of the invention
In view of this, it is an object of the invention to provide a kind of daily record collocation method based on programming device and Log system, can solve in prior art due to different clock-domains or different application logic cannot be supported and The reusability leading to and the relatively low technical problem of flexibility.
For solving above-mentioned technical problem, embodiments provide a kind of log system, including:
Parameter configuration module, for receiving designated order, and specifies some application journeys from multiple application programs Sequence;
Log management module, for receiving clock signal and the daily record data letter from the plurality of application program Number, described daily record data signal is synchronized based on described clock signal, and to wherein specified application Daily record data signal be polled, to export the daily record frame of described specified application;And
Daily record memory module, for storing described daily record frame, to form daily record data.
For solving above-mentioned technical problem, embodiments provide a kind of daily record collocation method, including:
Receive designated order, and specify some application programs from multiple application programs;
Receive the clock signal from the plurality of application program and daily record data signal;
Described daily record data signal is synchronized based on described clock signal, and to specified application journey therein The daily record data signal of sequence is polled, to export the daily record frame of the described some application programs specified;And
Store described daily record frame, to form daily record data.
With respect to prior art, the log system of the present invention and daily record collocation method, by multiple application journeys The clock signal of sequence synchronizes, and its corresponding daily record data signal is polled, and can support difference Clock zone or different application logic, have reusability and flexibility.
Brief description
Fig. 1 is the module diagram of the log system that the embodiment of the present invention one provides;
Fig. 2 is the refinement schematic diagram of the log management module that the embodiment of the present invention one provides;
Fig. 3 is the module diagram of the log system that the embodiment of the present invention two provides;
Fig. 4 is the schematic flow sheet of the daily record collocation method that the embodiment of the present invention three provides;
Fig. 5 is the schematic flow sheet of the daily record collocation method that the embodiment of the present invention four provides.
Specific embodiment
Refer to the schema in accompanying drawing, wherein identical element numbers represent identical assembly, and the present invention's is former Reason is to be illustrated in a suitable computing environment with being implemented in.The following description is based on exemplified basis The specific embodiment of invention, it is not construed as limiting the present invention other specific embodiments not detailed herein.
The principle of the invention to be illustrated with above-mentioned word, and it is not represented as a kind of restriction, those skilled in the art Will appreciate that the plurality of step of described below and operation also may be implemented in the middle of hardware.The principle of the present invention makes Operated with many other wide usages or specific purpose computing, communication environment or configuration.
This case can be applicable to log system and daily record collocation method based on programming devices such as FPGA.Please join According to following examples, embodiment one lays particular emphasis on the basic module of log system, and embodiment two lays particular emphasis on a day aspiration The optimization module of system, embodiment three lays particular emphasis on the basic procedure of daily record collocation method;And example IV lays particular emphasis on The Optimizing Flow of daily record collocation method.It is understandable that:Although each embodiment stress difference, it sets Meter thought is consistent.And, the part not described in detail in certain embodiments, may refer to specification in full Detailed description, repeat no more.
Embodiment one
Refer to Fig. 1, show the module diagram of the log system that the embodiment of the present invention is provided.Described Log system 1, is connected to multiple application programs 2, and generates the daily record data of described application program 2.
Described log system 1, including:Parameter configuration module 11, log management module 12 and daily record are deposited Storage module 13.
Described parameter configuration module 11, for receiving designated order, and if specify from multiple application programs 2 Dry application program, to form specified application.
It is understood that described application program 2, the including but not limited to application program based on FPGA. One daily record organizational unit (sign) is set in described application program, is used for defining described application program 2 defeated The content of the daily record data going out and form, and the clock letter in described application program 2 is obtained according to described definition Number (CLK) and daily record data signal (LOG).Wherein, described clock signal can be based on identical Or different clock-domains.Described daily record data signal can also be based on same or different application logic.
Described parameter configuration module 11, be additionally operable to arrange log management module 12 in the number of daily record passage, And distribute the corresponding relation between described daily record passage and specified application 2.
Log management module 12, for receiving clock signal and the daily record number from the plurality of application program 2 It is believed that number, described daily record data signal is synchronized based on described clock signal, and applies to wherein specifying The described daily record data signal of program is polled, to export the daily record frame of described specified application.
Refer to Fig. 2, show the refinement schematic diagram of log management module.Described log management module 12, It is communicatively coupled to the plurality of application program 2, parameter configuration module 11 and daily record memory module 13.Institute State log management module 12 to specifically include:Clock synchronization unit 121, channel selection unit 122, Duo Ge Will passage 123 and data polling unit 124.
Where it is assumed that it is intended that m application program 21 from the n application program 2 of Fig. 1.In Fig. 2 In, it is illustrated taking m=3 as a example.It is understood that the number of described m is only as example, and It is not construed as the restriction of the disposal ability of the number to daily record passage 123 or log management module 12, although working as The quantity of front m is typically smaller than equal to 4.
Specifically, described clock synchronization unit 121, for receiving from the plurality of application program 2 Described daily record data signal is based on described clock according to default clock zone by clock signal and daily record data signal Signal synchronizes, to generate synchronous daily record data signal.
Wherein, described clock synchronization unit 121 is come from clock signal clk by receive1、clk2, and clk3 And synchronize according to default clock zone, wherein, the clock signal of described default clock zone is clk_syn.? That is multiple application programs from different clock frequencies daily record data all unify to clk_syn this Individual clock frequency is come, be easy to after process to daily record data.
Described channel selection unit 122, is connected to described clock synchronization unit 121 and is led to the plurality of daily record Between road 123.Described channel selection unit 122 is used for specifying according to parameter configuration module 11, receives From the daily record data signal of specified application 21, and the distribution according to described parameter configuration module 11, will Daily record data signal log in described specified application 211、log2, and log3Distribute to corresponding daily record Passage 123.
The plurality of daily record passage 123, is connected to described channel selection unit 122 and described data polling list Between unit 124.Wherein, by a pair of described daily record passage 123 and described some application programs 21 1 specified Should.Described daily record passage 123 is used for receiving the daily record data signal log of corresponding specified application 211、 log2、log3, and generate data cached fifo_log1、fifo_log2, and fifo_log3, for described data wheel Ask unit 124 to be polled.
Specifically, described daily record passage 123, including:Indexing unit 1231 and buffer cell 1232. Described indexing unit 1231, for receiving the daily record number of the corresponding specified application 21 of daily record passage 123 It is believed that number, and according to default frame format to described daily record data signal log1、log2、log3It is marked, To generate flag data index_log1、index_log2, and index_log3.Described buffer cell 1232, For described flag data is entered row cache, to generate data cached fifo_log1、fifo_log2, and fifo_log3 For follow-up poll.It is understood that described flag data, it is to carry markd daily record data.
Wherein, the frame format of daily record frame, such as every frame includes:Daily record channel number, frame number and frame data. Wherein, frame data are made up of described daily record data signal.
Data polling unit 124, for clock signal clk_syn according to default clock zone, by corresponding finger The daily record data signal determining application program 21 is polled, will described data cached chronologically exported with Form described daily record frame.
Daily record memory module 13, for storing described daily record frame, to form daily record data.
The log system of the present invention is by synchronizing to the clock signal of multiple application programs and right to it The daily record data signal answered is polled, and can support different clock-domains or different application logic, having can Reusability and flexibility.
Embodiment two
Refer to Fig. 3, show the module diagram of the log system that the embodiment of the present invention is provided.Described Log system 3, is connected to application program 2, and generates the daily record data of described application program 2.
Wherein, the number of multiple application programs 2 of connection is n it is intended that the number of application program 21 is m.
Described log system 3, including:Parameter configuration module 11, data communication module 32, host computer interface Module 33, log management module 12 and daily record memory module 13.Wherein, for embodying the day with basis The difference of aspiration system, the described module with 1 beginning or unit, its effect and phase in the log system 1 of Fig. 1 Same or close;With the module of 3 beginnings or unit, it is to be optimized in the present embodiment to increase or improved.
Wherein, described daily record organizational unit 30, joins for receiving described parameter by log management module 12 Put the designated order of module 11, obtain the clock signal in the plurality of application program 2 and daily record data signal, And it is sent to described log management module 12;And define the daily record data of the plurality of application program 2 output Content and form, and obtain clock signal and the day of corresponding multiple application programs 2 according to described definition Will data-signal.
It is understood that described daily record molded tissue block 30, application program 2 and log system can be considered as Interface between 1.Define, export or select described application program 2 to be exported by daily record molded tissue block 30 Content and output form.When increasing new application program, new application logic it is thus only necessary to be It increases a daily record organizational unit 30, you can complete the acquisition of its daily record data signal;Needing to change day It is thus only necessary to change the daily record organizational unit 30 in application logic during will content, remainder all can reuse.
Wherein, described daily record data signal logm, including:Valid data signal logm_ data and signal bit wide logm_vld.
Parameter configuration module 11, receives what host computer interface module 33 was exported by data communication module 32 User instruction.Described user instruction, including:Designated order, setting instruction, read signal and write signal. Wherein it is intended that instructing for specifying some application programs in multiple application programs;Setting instruction is used for arranging day The number of daily record passage 123 in will management module 12 and the described daily record passage of distribution 123 are answered with specifying With the corresponding relation between program 21;Read signal and write signal, for carrying out to daily record memory module 13 reading, Write (storage) operation.
Specifically, parameter configuration module 11, the write signal of receiving data communication module 32, deposited with writing Daily record data signal in specified application 21 is allocated to log management module 12 by the form of device.Simultaneously The total number register data of daily record with the read signal of receiving data communication module 32, can be received and multichannel should Mask register with program 21.Meanwhile, parameter configuration module 11 can also be used for configuration log data storage Initial address start_addr of memory space and end address end_addr in module 13, are easy to writing day The address of will memory module 13 is controlled.
Parameter configuration module 11, can be in the case of without changing FPGA code, according to the parameter of software Configuration, the log information of crawl multichannel difference FPGA application logic, has higher versatility and spirit simultaneously Activity.
Host computer interface module 33, can pass through the instruction of software interface receive user it is also possible to pass through acquiescence It is configured.Described host computer interface 33, is connected to shown daily record by data communication module 32 and stores mould The memory cell 131 of block 13, for reading daily record frame, to carry out daily record parsing.
Data communication module 32, be connected to described host computer interface module 33, daily record memory module 13, with And parameter configuration module 11.It is understood that described data communication module 32, it is mainly used in each number of plies Changed according to the agreement between link, such as, the reading instruction that sent host computer interface module 33 or write Instruction, is converted into the executable read signal of described daily record memory module 13 or write signal.
Log management module 12, log management module 12 specifically includes:Clock synchronization unit 121, passage choosing Select unit 122, multiple daily record passage 123 and data polling unit 124.Wherein, log management module 12, the log information of multichannel application logic can be processed by parallel processing technique simultaneously.
Wherein, the quantity of daily record passage 123 can be configured by described parameter configuration module 11 it is also possible to write from memory Recognize and form, wherein, described daily record passage 123 is corresponded with the described some application programs 21 specified.
Clock synchronization unit 121 can receive the clock signal of the different clock-domains from multiple application programs 2 With daily record data signal, and according to default clock zone by described daily record data signal be based on corresponding clock signal Synchronize, to generate synchronous daily record data signal.
It is understood that clock synchronization unit 121, for the FPGA application logic of different clock-domains Daily record signal has carried out cross clock domain synchronization process when inputing to log management unit, enables this system complete The log processing of the FPGA application logic of different clock-domains in pairs.Synchronous method can be read and write using independent The fifo buffer isolation read-write data of clock, it would however also be possible to employ high-frequency gathers low-frequency signals change Method is realizing.
Channel selection unit 122, for the selection according to parameter configuration module 11, by specified application 21 In daily record data signal output to corresponding daily record passage 123.
Described daily record passage 123, including:Indexing unit 1231 and buffer cell 1232.
Described indexing unit 1231, for counting to the daily record data signal in each daily record passage 123, Count information is as frame number.Wherein, frame number, channel number and frame data combine to form described day One daily record frame of will passage 123.When host computer interface unit 33 receives this by data communication module 32 Same parsing can be carried out according to the daily record method for organizing of application logic after the data of daily record frame, accomplish Limits ground versatility.
According to default frame format to the daily record data signal log receiving1、log2、log3It is marked, with life Become flag data index_log1、index_log2, and index_log3.
It is understood that described indexing unit 1231, automatic labeling can be carried out to every log information, Enable follow-up daily record analysis software effectively distinguish from different application logic daily record data signal and its The order producing.
Described buffer cell 1232, the flag data for being generated described indexing unit 1231 is delayed Deposit, to generate data cached fifo_log1、fifo_log2, and fifo_log3For follow-up poll.
Described daily record passage 123, carries out the multiplexing of multichannel data so that described day according to software configuration information Aspiration system 3 can complete the application logic of multichannel application program 21 is carried out at daily record using less resource Reason.
Data polling unit 124, this unit periodically detects the status signal of m buffer cell 1232, When finding to have to be received data cached in buffer cell 1232, then daily record passage 123 receives and is delayed one by one Deposit data, by improving receiving data bit wide or can improve data reception clock frequency here Mode improves the speed of data receiver it is ensured that the speed of data receiver is more than daily record in m specified application The speed of the generation of data, it is to avoid produce daily record data spilling and lead to loss of data.Meanwhile, data polling list Unit 124 is responsible for controlling the read/write address signal of daily record, when daily record memory space mem_size is fully written, then Change the original position from daily record memory module for the writing address signal, replace oldest daily record frame successively, retain Newer daily record frame, forms an annular memory space in daily record memory module 13, can meet daily record Storage saves memory space on the basis of needing.
It is understood that data polling unit 124, employ time-multiplexed technology so that multichannel should Same storage read-write controller, the storage of same daily record data can be shared with the daily record data signal of program Unit.
Described daily record memory module 13, specifically includes:Memory cell 131 and memory control unit 132. Wherein, memory cell 131, for storing described daily record frame, to form daily record data.Memory controls single Unit 132, for receiving read signal and/or write signal, according to described daily record frame is write by described write signal Memory cell, and described daily record frame is received from described log storage unit 13 according to described read signal.
The log system of the present invention is by synchronizing to the clock signal of multiple application programs and right to it The daily record data signal answered is polled, and can support different clock-domains or different application logic, having can Reusability and flexibility.
Embodiment three
Refer to Fig. 4, show the schematic flow sheet of the daily record collocation method that the embodiment of the present invention is provided.
Described daily record collocation method, including:
In step S401, receive designated order, and specify some application programs from multiple application programs.
In step S402, receive the clock signal from the plurality of application program and daily record data signal.
In step S403, described daily record data signal is synchronized based on described clock signal, and to it In specified application carry out the poll of described daily record data signal, to export described specified application Daily record data.
That is, daily record data signal is synchronized to the clock zone of log system from the clock zone of application logic.Wherein, Above-mentioned synchronization and the step of poll, specifically include:
(1) receive from the clock signal of the plurality of application program and daily record data signal, according to default when Described daily record data signal is synchronized by clock domain based on described clock signal, to generate synchronous daily record data Signal;
(2) daily record passage is corresponded with described specified application, and to the synchronization in daily record passage Daily record data signal is marked, and in corresponding daily record passage, the daily record data after described mark is delayed Deposit;And
(3) according to the clock signal of default clock zone, the daily record data of caching is polled, described to export Daily record frame.
Wherein step (2) can also be refined as:
(21) receive the daily record data signal of the corresponding application program of daily record passage, and according to default frame format Described daily record data signal is marked, to generate flag data;And
(22) described flag data is entered row cache, data cached to generate, to coordinate described default clock zone Clock signal be polled.
In step s 404, store described daily record frame, to form daily record data.
The daily record collocation method of the present invention is by synchronizing to the clock signal of multiple application programs and right Its corresponding daily record data signal is polled, and can gather the daily record data of different application logic, support to lead to Cross software interface or change that order line is configured and the voluntarily application program in compatible different clock-domains.
Example IV
Refer to Fig. 5, show the schematic flow sheet of the daily record collocation method that the embodiment of the present invention is provided.
It is understood that the described step with S4 beginning, with identical or phase in the daily record collocation method of Fig. 4 Approximately, as the basic steps realizing the present invention;With the step of S5 beginning, it is to be optimized in the present embodiment And increase or improved.Wherein, the execution of each step, is defined by the order occurring, unless otherwise specified.
Described daily record collocation method, including:
In step S501, the number of setting daily record passage, and obtain corresponding application according to described definition The clock signal of program and daily record data signal.
It is understood that described daily record passage can be fixing or pass through log system or join The method of putting is modified.
In step S401, receive designated order, and specify some application programs from multiple application programs.
Wherein, specifically include:(1) each application program is corresponded with daily record organizational unit;And (2) connect Receive described designated order, obtain the clock signal in described specified application and daily record data signal.
In step S402, receive the clock signal from the plurality of application program and daily record data signal.
In step S502, the clock signal being received is synchronized, to generate synchronous daily record data letter Number.
In step S503, in each daily record passage, receive the corresponding specified application journey of described daily record passage The daily record data signal of sequence, and according to default frame format, described daily record data signal is marked, with life Become flag data.
In step S504, described flag data is entered row cache, data cached to generate.
In step S505, according to default clock zone clock signal to data cached in each daily record passage It is polled, to form daily record frame.
In step S506, receive write signal, and will be single for the write storage of described daily record frame according to described write signal Unit is stored, to form daily record data.
In step s 507, receive read signal, and institute is received from described memory cell according to described read signal State daily record data.
The daily record collocation method of the present invention is by synchronizing to the clock signal of multiple application programs and right Its corresponding daily record data signal is polled, and can support different clock-domains or different application logic, tool There are reusability and flexibility.
Log system provided in an embodiment of the present invention and daily record collocation method belong to same design, and it implements Process refers to specification in full, and here is omitted.
In sum although the present invention is disclosed above with preferred embodiment, but above preferred embodiment is not In order to limit the present invention, the common test personnel of this area, without departing from the spirit and scope of the present invention, Various changes and retouching all can be made, therefore protection scope of the present invention is defined by the scope that claim defines.

Claims (15)

1. a kind of log system is it is characterised in that include:
Parameter configuration module, for receiving designated order, and specifies some application journeys from multiple application programs Sequence;
Log management module, for receiving clock signal and the daily record data letter from the plurality of application program Number, described daily record data signal is synchronized based on described clock signal, and the day to specified application Will data-signal is polled, to export the daily record frame of the described application program specified;And
Daily record memory module, for storing described daily record frame, to form daily record data.
2. log system as claimed in claim 1 is it is characterised in that described log management module, specifically Including:
Clock synchronization unit, for receiving clock signal and the daily record data letter from the plurality of application program Number, according to default clock zone, described daily record data signal is synchronized based on described clock signal, to generate Synchronous daily record data signal;And
Data polling unit, the daily record data signal for the synchronization to described specified application is polled, To export described daily record frame.
3. log system as claimed in claim 2 is it is characterised in that described log management module, specifically Also include:
Multiple daily record passages, are connected between described clock synchronization unit and described data polling unit;
Wherein said daily record passage is corresponded with described specified application, should for receiving corresponding specifying With the daily record data signal of program and generate data cached, so that described data polling unit is polled.
4. log system as claimed in claim 3, it is characterised in that described daily record passage, specifically includes:
Indexing unit, for receiving the daily record data signal of the corresponding specified application of daily record passage, and root According to default frame format, described daily record data signal is marked, to generate flag data;And
Buffer cell, for described flag data is entered row cache, described data cached to generate.
5. log system as claimed in claim 4 it is characterised in that:
Described log system also includes:Parameter configuration module, described parameter configuration module is additionally operable to arrange daily record The number of daily record passage in management module and distribute described daily record passage and described specified application it Between corresponding relation;And
Described log management module, also includes:Channel selection unit, described channel selection unit is connected to institute State between clock synchronization unit and the plurality of daily record passage, for receiving from the plurality of application program Daily record data signal, and the distribution according to described parameter configuration module, by the day in described specified application Will data signal distribution gives corresponding daily record passage.
6. the log system as any one of claim 1 to 5 is it is characterised in that also include:
Daily record organizational unit, is corresponded with the plurality of application program, is used for defining the plurality of application journey The content of the daily record data that sequence is exported and form, and according to described definition obtain corresponding to application program when Clock signal and daily record data signal.
7. the log system as any one of claim 1 to 5 is it is characterised in that described daily record is deposited Storage module, specifically includes:
Memory cell, for storing described daily record frame;And
Memory control unit, for receiving read signal and/or write signal, according to described write signal by described day Will frame writes described memory cell, and reads described daily record from described memory cell according to described read signal Frame.
8. a kind of daily record collocation method is it is characterised in that include:
Receive designated order, and specify some application programs from multiple application programs;
Receive the clock signal from the plurality of application program and daily record data signal;
Described daily record data signal is synchronized based on described clock signal, and the day to specified application Will data-signal is polled, to export the daily record frame of the described application program specified;And
Store described daily record frame, to form daily record data.
9. daily record collocation method as claimed in claim 8 is it is characterised in that by described daily record data signal Synchronized based on described clock signal, and the daily record data signal of specified application is polled, with Export the daily record frame of the described application program specified, specifically include:
Receive the clock signal from the plurality of application program and daily record data signal, according to default clock zone Described daily record data signal is synchronized based on described clock signal, to generate synchronous daily record data signal; And
The daily record data signal of the synchronization of specified application is polled, to export described daily record frame.
10. daily record collocation method as claimed in claim 9 is it is characterised in that receive from the plurality of The clock signal of application program and daily record data signal, according to default clock zone by described daily record data signal base Synchronize in described clock signal, to generate synchronous daily record data signal, also include afterwards:
Described daily record passage is corresponded with the described application program specified;
Receive the daily record data signal of corresponding specified application in each daily record passage, and generate caching Data, for poll;And
The daily record data signal of the described synchronization specified is polled, to export described daily record frame, specially: According to the clock signal of default clock zone, from the described data cached middle day obtaining corresponding specified application Will data-signal is polled, to export described daily record frame.
11. daily record collocation methods as claimed in claim 10 are it is characterised in that in each daily record passage Receive the daily record data signal of corresponding specified application, and generate data cached, for poll, specifically Including:
The daily record data signal of corresponding specified application is received in each daily record passage;
Each daily record passage is marked to the daily record data signal being received according to default frame format, To generate flag data;And
By described flag data enter row cache generate described data cached, believed with the clock coordinating default clock zone Number it is polled.
12. daily record collocation methods as claimed in claim 11 it is characterised in that
Receive designated order, and specify some application programs from multiple application programs, also include before:
The number of setting daily record passage;
Receive designated order, and specify some application programs from multiple application programs, also include afterwards:
For the one-to-one relationship between described daily record channel allocation and described specified application;And
Receive the daily record data signal from the plurality of application program, and according to described distribution, by its middle finger Determine the daily record data signal in application program and distribute to corresponding daily record passage.
The 13. daily record collocation methods as any one of claim 8 to 12 are it is characterised in that receive Designated order, and specify some application programs from multiple application programs, specifically include:
Define content and the form of the daily record data of the plurality of application program output by daily record organizational unit, And read described clock signal according to described definition from the corresponding multiple application programs of described daily record organizational unit With described daily record data signal;And
Receive described designated order, some application journeys are specified from multiple application programs according to described designated order Sequence, and obtain the clock signal in described specified application and daily record data signal.
The 14. daily record collocation methods as any one of claim 8 to 12 are it is characterised in that store Described daily record data, specifically includes:
Receive write signal, according to described write signal, described daily record frame write storage unit is stored, with shape Become daily record data.
15. daily record collocation methods as claimed in claim 14 are it is characterised in that also include:
Receive read signal, and described daily record data is received from described memory cell according to described read signal.
CN201510454420.1A 2015-07-29 2015-07-29 Log system and log configuration method Active CN106407094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454420.1A CN106407094B (en) 2015-07-29 2015-07-29 Log system and log configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454420.1A CN106407094B (en) 2015-07-29 2015-07-29 Log system and log configuration method

Publications (2)

Publication Number Publication Date
CN106407094A true CN106407094A (en) 2017-02-15
CN106407094B CN106407094B (en) 2020-06-23

Family

ID=58009370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454420.1A Active CN106407094B (en) 2015-07-29 2015-07-29 Log system and log configuration method

Country Status (1)

Country Link
CN (1) CN106407094B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522316A (en) * 2018-11-02 2019-03-26 东软集团股份有限公司 Log processing method, device, equipment and storage medium
CN110245059A (en) * 2019-05-20 2019-09-17 平安普惠企业管理有限公司 A kind of data processing method, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1754371A (en) * 2003-02-28 2006-03-29 松下电器产业株式会社 Content utilization result collection system
US20090319819A1 (en) * 2008-06-19 2009-12-24 Microsoft Corporation Clock Synchronization Using Correlation Events
CN102377781A (en) * 2011-10-25 2012-03-14 四川电力职业技术学院 Intelligent transformer station process layer data acquisition, conversion and transmission device and control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1754371A (en) * 2003-02-28 2006-03-29 松下电器产业株式会社 Content utilization result collection system
US20090319819A1 (en) * 2008-06-19 2009-12-24 Microsoft Corporation Clock Synchronization Using Correlation Events
CN102377781A (en) * 2011-10-25 2012-03-14 四川电力职业技术学院 Intelligent transformer station process layer data acquisition, conversion and transmission device and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522316A (en) * 2018-11-02 2019-03-26 东软集团股份有限公司 Log processing method, device, equipment and storage medium
CN110245059A (en) * 2019-05-20 2019-09-17 平安普惠企业管理有限公司 A kind of data processing method, equipment and storage medium
CN110245059B (en) * 2019-05-20 2022-11-08 平安普惠企业管理有限公司 Data processing method, device and storage medium

Also Published As

Publication number Publication date
CN106407094B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN102023942B (en) SPI (Serial Peripheral Interface) peripheral access device and method
WO2021258748A1 (en) I2c bus communication control method, device and system, and readable storage medium
US20140101347A1 (en) Isochronous Data Transfer Between Memory-Mapped Domains of a Memory-Mapped Fabric
CN109753493A (en) The method, apparatus and equipment of Data Migration are carried out between database
US10922263B2 (en) Serial communication device
CN101694649A (en) Report generating system and method of cluster monitoring
CN109960679A (en) For controlling the systems, devices and methods of the duty ratio of the clock signal of multi-point interconnection
CN101206614B (en) Simulator for simulating register with specific function
CN110795317A (en) Method and system for realizing lighting of self-adaptive hard disk backboard by using CPLD (complex programmable logic device)
CN109902056A (en) A kind of method, apparatus of serial transmission, equipment and computer readable storage medium
CN103116069A (en) Method, device and system of testing of chip frequency
CN106407094A (en) Log system and log configuration method
CN111512261A (en) Asynchronous buffer with pointer offset
CN103246628A (en) SMI (Serial Management Interface) management method and programmable logic device
CN109558325A (en) A kind of delay statistics method, apparatus and computer readable storage medium
CN108874200B (en) The control method and device of writing speed
CN103064477B (en) Method for designing server motherboard
CN102902648B (en) Direct memory access (DMA)-based general purpose input output (GPIO) module capable of refreshing light-emitting diode (LED) display screen
CN1841978B (en) Method and apparatus for realizing multipath signal re-timing
CN101742074A (en) Method for adjusting set parameter of panel television and panel television
CN105068957A (en) Method and apparatus for accessing to slave module in APB bus system
CN102693199B (en) IDMA (Internal Direct Memory Access) interface and control method thereof
CN115599719A (en) FIFO interface multichannel DMA controller based on FPGA
CN104836710A (en) Method and apparatus based on one-master with multi-slaves communication of distributed system
CN105843768B (en) A kind of single line communication time-after-time programmable memory method for burn-recording and the burning device based on this method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant