CN108121711A - A kind of data processing method and client device - Google Patents
A kind of data processing method and client device Download PDFInfo
- Publication number
- CN108121711A CN108121711A CN201611070486.1A CN201611070486A CN108121711A CN 108121711 A CN108121711 A CN 108121711A CN 201611070486 A CN201611070486 A CN 201611070486A CN 108121711 A CN108121711 A CN 108121711A
- Authority
- CN
- China
- Prior art keywords
- time
- client device
- integer
- start time
- journal file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
Abstract
The embodiment of the invention discloses a kind of data processing method and client devices, can easily find the journal file in target time section.Present invention method includes:Client device obtains start time and finish time, the start time and the least unit of finish time and the generation cycle of journal file is corresponding;The client device is determined according to the start time, finish time and the journal file path generated in cycle generation target time section, the target time section by the start time and finish time;The client device determines the target journaling file path with the journal file route matching.
Description
Technical field
The present invention relates to the communications fields, and in particular to a kind of data processing method and client device.
Background technology
Journal file is that have operating system for recording the record file of system operatio event or file set, operating system
Journal file, Database Systems have Database Systems journal file.
In the server that one stores journal file, always run into when need the machine of delaying to be upgraded, and in the machine of delaying
During upgrading, the journal file in server loss a period of time may result in.
The loss of journal file will impact statistics and analysis, so polishing journal file just seems extremely important,
In the prior art, a kind of processing method for searching journal file is that journal file is manually read in client device, will be lost
Journal file in period is all found out, then the journal file found is written in server, due to journal file
Data volume is huge, and treatment effeciency is low.
The content of the invention
An embodiment of the present invention provides a kind of data processing method and client device, when can easily find target
Between journal file in section.
In view of this, an embodiment of the present invention provides a kind of data processing methods, it may include:
Client device obtains start time and finish time, the least unit and day of the start time and finish time
The generation cycle of will file is corresponding;
The client device is according to the start time, finish time and the generation cycle generation target time section
Interior journal file path, the target time section are determined by the start time and finish time;
The client device determines the target journaling file path with the journal file route matching.
The embodiment of the present invention additionally provides a kind of client device, it may include:
Acquiring unit, for obtaining the least unit of start time and finish time, the start time and finish time
It is corresponding with the generation cycle of journal file;
Generation unit, for being generated according to the start time, finish time and the generation cycle in target time section
Journal file path, the target time section determines by the start time and finish time;
Determination unit, for determining the target journaling file path with the journal file route matching.
The embodiment of the present invention additionally provides a kind of client device, it may include:
Input unit, output device, processor and memory;
By calling the operational order of the memory storage, the processor is used to perform following steps:
Obtain start time and finish time, the life of the least unit and journal file of the start time and finish time
It is corresponding into the cycle;
According to the start time, the journal file road in finish time and the generation cycle generation target time section
Footpath, the target time section are determined by the start time and finish time;
Determine the target journaling file path with the journal file route matching.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, client device obtains start time and finish time, and the start time is at the end of
The least unit at quarter is corresponding with the generation cycle of journal file, the client device according to the start time, at the end of
Journal file path in quarter and the generation cycle generation target time section, the target time section is by the start time
It being determined with finish time, the client device determines the target journaling file path with the journal file route matching, this
In inventive embodiments, as long as client device obtains start time and finish time input by user, during with regard to target can be found
Between journal file in section, it is convenient and efficient.
Description of the drawings
Fig. 1 is one embodiment flow chart of data processing method in the embodiment of the present invention;
Fig. 2 is another embodiment flow chart of data processing method in the embodiment of the present invention;
Fig. 3 is a schematic diagram of application scenarios in the embodiment of the present invention;
Fig. 4 is a schematic diagram of application scenarios in the embodiment of the present invention
Fig. 5 is one embodiment structure chart of client device in the embodiment of the present invention;
Fig. 6 is another example structure figure of client device in the embodiment of the present invention;
Fig. 7 is another example structure figure of client device in the embodiment of the present invention.
Specific embodiment
An embodiment of the present invention provides a kind of data processing method and client device, when can easily find target
Between journal file in section.
Term " first ", " second ", " the 3rd " in the description and claims of this application and above-mentioned attached drawing, "
The (if present)s such as four " are the objects for distinguishing similar, without being used to describe specific order or precedence.It should manage
The data that solution so uses can exchange in the appropriate case, so that the embodiments described herein can be with except illustrating herein
Or the order beyond the content of description is implemented.In addition, term " comprising " and and their any deformation, it is intended that covering not
Exclusive includes, for example, contain the process of series of steps or unit, method, system, product or equipment be not necessarily limited to it is clear
Those steps or unit that ground is listed, but may include not list clearly or for these processes, method, product or set
Standby intrinsic other steps or unit.
Journal file is that have operating system for recording the record file of system operatio event or file set, operating system
Journal file, Database Systems have Database Systems journal file, in the server that one stores journal file, always run into
When needing the machine of delaying to be upgraded, and during machine upgrading of delaying, it may result in server and lose in a period of time
Journal file, in the prior art, a kind of processing method for searching journal file are that daily record text is manually read in client device
Part all finds out the journal file in drop-out time section, then the journal file found is written in server, due to day
The data volume of will file is huge, and the treatment effeciency of this method is very low.
An embodiment of the present invention provides a kind of data processing method and client device, as long as obtaining beginning input by user
It is moment and finish time, convenient and efficient with regard to the journal file in target time section can be found.
Referring to Fig. 1, one embodiment of data processing method includes in the embodiment of the present invention:
101st, client device obtains start time and finish time.
Client device refers to that the terminal in customer site of such as terminating machine, host computer and modem etc is set
Standby, in the present embodiment, client device obtains start time input by user and finish time, start time and finish time
Least unit is corresponding with the generation cycle of journal file, for example, the generation cycle of journal file is one day of generation per hour
Will file, then it is hour to be carved at the beginning of client device obtains with the least unit of finish time.
102nd, client device is generated according to the start time, finish time and generation cycle in target time section
Journal file path.
Target time section is the period of start time to finish time, it is to be understood that according to the setting of user, mesh
Start time and/or finish time can be included by marking the period, can also not included, if including start time and/or end
Moment, then correspondingly, the journal file path in target time section includes start time and/or finish time journal file road
Footpath, if not including, the journal file path in target time section does not include the journal file of start time and finish time
Path.
103rd, client device determines the target journaling file path with journal file route matching.
If the journal file path of generation is matched with target journaling file path, client device can determine target day
Will file path.
In the embodiment of the present invention, client device obtains start time and finish time, client device are opened according to
Begin the moment, the journal file path in finish time and generation cycle generation target time section, client device determines and daily record
The matched target journaling file path of file path, in the embodiment of the present invention, as long as client device obtains input by user open
Begin moment and finish time, it is convenient and efficient with regard to the journal file in target time section can be found.
Referring to Fig. 2, another embodiment of data processing method of the embodiment of the present invention includes:
201st, client device obtains start time and finish time.
Step 201 is similar with step 101, repeats no more.
202nd, client device will be converted into the first integer start time according to preset formula.
Client obtain at the beginning of carve and finish time be usually all character string type, can by complementation, addition, multiply
The computings such as method design preset formula, will be converted into the first integer start time.
203rd, client device will be converted into the second integer finish time according to preset formula.
Client obtain at the beginning of carve and finish time be usually all character string type, can by complementation, addition, multiply
The computings such as method design preset formula, will be converted into the second integer finish time.
It should be noted that in the present embodiment, if the generation cycle of journal file is hour, the beginning that client obtains
Moment and finish time least unit are also hour, can will be converted into the first integer start time by the following formula, and will tie
The beam moment is converted into the second integer:
X=Y*106+M*104+D*102+H
The X represents the first integer or the second integer;
The Y represents the start time or time finish time corresponding numerical value;
The M represents the start time or month finish time corresponding numerical value;
The D represents the start time or date finish time corresponding numerical value;
The H represents corresponding numerical value when the start time or small finish time.
If it is understood that the generation cycle of journal file for it is per minute once, above-mentioned formula can be done accordingly
Deformation, obtains equation below:
X=Y*108+M*106+D*104+H*102+m
The m is the start time or finish time minute corresponding numerical value.
In actual realization, other formula can also be used to carry out rounding to start time and finish time, do not done herein too
It is limit more.
204th, the first integer is incrementally determined the 3rd integer by client device according to the generation cycle.
Specifically, if the generation cycle of journal file is generates a journal file per hour, the first integer is according to number
Value 1 incrementally determines the 3rd integer, if the generation cycle of journal file is every two hours generates a journal file, first whole presses
The 3rd integer is incrementally determined according to numerical value 2, does not do too many restriction herein.
If the 205, the 3rd integer is not more than the second integer, client device adds in the path of journal file in the 3rd integer
Journal file path in prefix and suffix generation target time section.
It is understood that the first integer can be incremented by by client device according to the generation cycle, until the 3rd integer is big
Until the second integer, all 3rd integers in target time section are first generated, then daily record text is added in all 3rd integers
The path prefix and suffix of part generate all journal file paths in target time section.
Alternatively, after client device generates the 3rd integer, if the 3rd integer is not more than the second integer, the 3rd
The path prefix and suffix of journal file are added in integer, generates a journal file path, then based on this 3rd integer,
Cycle and be incremented by, until the 3rd integer is more than the second integer, generate each journal file path one by one.
It is understood that in other realization methods, whether can be included according to target time section start time and/or
Finish time flexibly changes Rule of judgment, and the present embodiment only includes start time and finish time with target time section, and corresponding
Rule of judgment, which is not more than for the 3rd integer exemplified by the second integer, to be illustrated, and does not form the restriction to other realization methods, this
Outside, in the embodiment of the present invention, according to the generation cycle can also successively decrease to obtain the 3rd by finish time corresponding second integer whole
Number, Rule of judgment are then accordingly changed to the 3rd integer not less than the first integer, remaining step is similar, and details are not described herein again.
It should be noted that if in the case of the journal file generation cycle is small, it is whole no more than second in the 3rd integer
It in the case of number, can also continue to judge whether last two of the 3rd integer be not more than 23, because in timing rule, arrive
Be when 24 will toward the date into one, then again from 0 when open when timing, so by whether not judging last two of the 3rd integer
It more than 23, can exclude not meeting the 3rd integer of timing rule, if the 3rd integer is not more than the second integer, and the 3rd integer
Last two are not more than 23, when client device adds in the path prefix of journal file and suffix generation target in the 3rd integer
Between journal file path in section, it is similar, if the journal file generation cycle is minute, judge last two of the 3rd integer
Whether no more than 59, details are not described herein again.
206th, client device judges that journal file path whether there is target journaling file.
Some invalid journal file paths may be generated according to the difference of judgment rule, in incremental process, then are needed
Judge with the presence or absence of target journaling file under journal file path, if in the presence of client device performs step 207.
207th, client device determines that journal file path is target journaling file path.
If there are target journaling file, journal file path and target journaling file path phases in journal file path
Match somebody with somebody, client device determines that journal file path is target journaling file path.
In addition, definite target journaling file path can be sent to other equipment by client device, such as store day
Server of will file etc..
208th, other operations are performed.
If target journaling file is not present in journal file path, illustrate journal file path for invalid path, client
Equipment performs other operations.
It should also be noted that, the data processing method in the present embodiment can be performed based on the Joda of JAVA, Joda is
One wieldy/date storehouse of increasing income the time towards JAVA platforms, zones values when can quickly add in get int classes
The year of type, the moon, day, hour, point or the second value, thread or safety, the data processing method in the present embodiment can also base
Another in JAVA is performed on time/date storehouse Calendar of time class, does not do too many restriction herein.
In the present embodiment, as long as client device obtains start time and finish time input by user, with regard to that can find
Journal file in target time section, it is convenient and efficient.
Secondly, for the present embodiment for client device how according to start time, finish time generates day with the generation cycle
Will file path is described in detail, and list preset formula, it can be achieved that Program Type etc., enrich the present invention
The realization method of embodiment.
For ease of understanding, the present embodiment is described with reference to specific application scenarios:
Referring to Fig. 3, in the network environment of this application scene, there are client device and server, client device is per small
Mono- journal file of Shi Shengcheng, the type of journal file is log or gz, and server is used for the daily record of backup client end equipment generation
File, during a server delays machine upgrading, server is lost 22 points in October, 2016 of on October 24th, 2016
The journal file of 7 points of log types on the 25th, for the journal file that polishing is lost, client device passes through in configuration file
Two attributes of starTime and endTime obtain 22 points of October 24 2016 start time input by user and finish time
7 points of October 25 in 2016, Joda of the client device based on JAVA perform program, can quickly get year, the moon, day,
The value of hour, and pass through the following formula, start time and finish time are converted into the first integer and the second integer.
X=Y*106+M*104+D*102+H
Wherein X represents the first integer or the second integer, and Y represents the start time or time finish time corresponding number
Value, M represent start time or month finish time corresponding numerical value, and D represents start time or date finish time corresponding number
Value, H represent corresponding numerical value when start time or small finish time, then the first integer=2016*106+10*104+24*102+
22, i.e. the first integer is 2016102422, the second integer=2016*106+10*104+25*102+ 7, i.e. the second integer is
2016102507, since the generation cycle is a journal file per hour, it is incremented by so the first integer according to numerical value 1 cycle
The 3rd integer is obtained, for specific flow as shown in figure 4, the first integer is cycled as initializaing variable i, main code is as follows:
According to flow shown in Fig. 4, it may be determined that qualified 3rd integer, for example, the first integer 2016102422
As initializaing variable i, meet the requirement no more than the second integer 2016102507, also comply with last two and wanted no more than 23
It asks, then the prefix u_ex and suffix .log in journal file path is added in 2016102422, obtains journal file path u_
Ex2016102422.log, client device judge to whether there is target day under the u_ex2016102422.log of journal file path
Will file through inquiry, is implicitly present in, then u_ex2016102422.log is added in lists of documents (filelist), then i
+ 1 obtains 2016102422, similarly, then carries out condition judgment and cycling, until i+1 obtains 2016102508, more than
Two integers, cycling are terminated, and all journal file paths of generation are as shown in table 1, due to being inquired about under each journal file path
Corresponding journal file has been arrived, so the journal file path of all generations is target journaling file path, has been added to
In filelist, the filelist finally obtained is as shown in table 2:
Table 1
u_ex2016102422.log |
u_ex2016102423.log |
u_ex2016102500.log |
u_ex2016102501.log |
u_ex2016102502.log |
u_ex2016102503.log |
u_ex2016102504.log |
u_ex2016102505.log |
u_ex2016102506.log |
u_ex2016102507.log |
Table 2
Then, client device sends the filelist to server, during subsequent write-in cluster, traversal
Each file path can act as a thread, realize no write de-lay.
It, below will be from hardware point of view to this above are the embodiment to present invention method and the introduction of application scenarios
Inventive embodiments are described in detail.
Referring to Fig. 5, one embodiment of client device of the embodiment of the present invention includes:
Acquiring unit 501, for obtaining start time and finish time, the least unit of start time and finish time with
The generation cycle of journal file is corresponding, and specifically, acquiring unit 501 can be used for performing the action that Fig. 1 steps 101 perform.
Generation unit 502, for according to start time, the day in finish time and generation cycle generation target time section
Will file path, target time section are determined that specifically, generation unit 502 can be used for performing by start time and finish time
The action that Fig. 1 steps 102 perform.
Determination unit 503, for determining the target journaling file path with the journal file route matching, specifically,
Generation unit 503 can be used for performing the action that Fig. 1 steps 103 perform.
In the present embodiment, acquiring unit 501 obtains start time and finish time, generation unit 502 according to start time,
Journal file path in finish time and generation cycle generation target time section, determination unit 503 determine and journal file road
The matched target journaling file path in footpath, as long as client device obtains start time and finish time input by user, with regard to energy
The journal file in target time section is found, it is convenient and efficient.
Referring to Fig. 6, one embodiment of client device of the embodiment of the present invention includes:
Acquiring unit 601, for obtaining start time and finish time, the least unit of start time and finish time with
The generation cycle of journal file is corresponding, and the function of acquiring unit 601 is similar with the acquiring unit 501 of Fig. 5, no longer superfluous herein
It states.
Generation unit 602, for according to start time, the day in finish time and generation cycle generation target time section
Will file path, target time section are determined by start time and finish time.
It should be noted that generation unit 602 can also include:
First conversion module 6021, for the first integer, the first conversion will to be converted into start time according to preset formula
Module 6021 can be used for performing the action that Fig. 2 steps 202 perform, and repeat no more.
Second conversion module 6022, for the second integer, the second conversion will to be converted into finish time according to preset formula
Module 6022 can be used for performing the action that Fig. 2 steps 203 perform, and repeat no more.
First determining module 6023, for the first integer incrementally to be determined the 3rd integer according to the generation cycle, first determines
Module 6023 can be used for performing the action that Fig. 2 steps 204 perform, and repeat no more.
Generation module 6024, if the 3rd integer is not more than the second integer, for adding in journal file in the 3rd integer
Journal file path in path prefix and suffix generation target time section, generation module 6024 can be used for performing Fig. 2 steps
205 actions performed, repeat no more.
Determination unit 603, for determining the target journaling file path with the journal file route matching.
It should be noted that generation unit 603 can also include:
Judgment module 6031, for judging the journal file path with the presence or absence of target journaling file, judgment module
6031 can be used for performing the action that Fig. 2 steps 206 perform, and repeat no more.
Second determining module 6032, for if so, determining that journal file path is target journaling file path, second determines
Module 6032 can be used for performing the action that Fig. 2 steps 207 perform, and repeat no more.
In the present embodiment, client device is by obtaining start time and finish time input by user, with regard to that can find
Journal file in target time section, it is convenient and efficient.
Secondly, for the present embodiment for client device how according to start time, finish time generates day with the generation cycle
Will file path is described in detail, and list preset formula, it can be achieved that Program Type etc., enrich the present invention
The realization method of embodiment.
The client device in the embodiment of the present invention is described in the angle of slave module functional entity above, below from
The client device in the embodiment of the present application is described in the angle of hardware handles.
Referring to Fig. 7, another embodiment of client device includes in the embodiment of the present invention:
Input unit 701, output device 702, processor 703 and (the wherein processor of client device of memory 704
701 quantity can be one or more, in Fig. 7 by taking a processor 701 as an example).In some embodiments of the invention, input
Device 701, output device 702, processor 703 and memory 704 can by bus or other means connection, wherein, in Fig. 7 with
Exemplified by being connected by bus.
Wherein, the operational order that memory 704 is called to store, processor 703, for performing following steps are passed through:
Obtain start time and finish time, the generation week of the least unit and journal file of start time and finish time
Phase is corresponding;
According to start time, the journal file path in finish time and generation cycle generation target time section, during target
Between section determined by start time and finish time;
Determine the target journaling file path with journal file route matching.
In the embodiment of the present invention, client device obtains start time and finish time, client device are opened according to
Begin the moment, the journal file path in finish time and generation cycle generation target time section, client device determines and daily record
The matched target journaling file path of file path, in the embodiment of the present invention, as long as client device obtains input by user open
Begin moment and finish time, it is convenient and efficient with regard to the journal file in target time section can be found.
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 may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
Division is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or carry out equivalent substitution to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is not made to depart from the spirit and scope of various embodiments of the present invention technical solution.
Claims (10)
1. a kind of data processing method, which is characterized in that including:
Client device obtains start time and finish time, and the least unit and daily record of the start time and finish time are literary
The generation cycle of part is corresponding;
The client device is generated according to the start time, finish time and the generation cycle in target time section
Journal file path, the target time section are determined by the start time and finish time;
The client device determines the target journaling file path with the journal file route matching.
2. data processing method according to claim 1, the client device according to the start time, at the end of
It carves and the journal file path generated in cycle generation target time section includes:
The start time is converted into the first integer by the client device according to preset formula;
The finish time is converted into the second integer by the client device according to the preset formula;
First integer is incrementally determined the 3rd integer by the client device according to the generation cycle;
If the 3rd integer is not more than second integer, the client device adds in daily record text in the 3rd integer
The path prefix and suffix of part generate the journal file path in the target time section.
3. data processing method according to claim 1, the client device determines and the journal file path
The target journaling file path matched somebody with somebody includes:
The client device judges that the journal file path whether there is target journaling file;
If so, the client device determines that the journal file path is target journaling file path.
4. data processing method according to claim 2, the generation cycle of the journal file is hour, described preset
Formula includes:
X=Y*106+M*104+D*102+H
The X represents the first integer or the second integer;
The Y represents the start time or time finish time corresponding numerical value;
The M represents the start time or month finish time corresponding numerical value;
The D represents the start time or date finish time corresponding numerical value;
The H represents corresponding numerical value when the start time or small finish time.
5. according to the data processing method any one of claim 1-4, the data processing method is based on JAVA's
Joda。
6. a kind of client device, which is characterized in that including:
Acquiring unit, for obtaining start time and finish time, the least unit and day of the start time and finish time
The generation cycle of will file is corresponding;
Generation unit, for according to the start time, finish time and the day generated in cycle generation target time section
Will file path, the target time section are determined by the start time and finish time;
Determination unit, for determining the target journaling file path with the journal file route matching.
7. client device according to claim 6, the generation unit includes:
First conversion module, for according to preset formula being converted into the first integer the start time;
Second conversion module, for according to the preset formula being converted into the second integer the finish time;
First determining module, for first integer incrementally to be determined the 3rd integer according to the generation cycle;
Generation module, if the 3rd integer is not more than second integer, for adding in daily record text in the 3rd integer
The path prefix and suffix of part generate the journal file path in the target time section.
8. client device according to claim 6, the determination unit includes:
Judgment module, for judging that the journal file path whether there is target journaling file;
Second determining module, for if so, determining that the journal file path is target journaling file path.
9. client device according to claim 7, generation cycle of the journal file is hour, the preset public affairs
Formula includes:
X=Y*106+M*104+D*102+H
The X represents the first integer or the second integer;
The Y represents the start time or time finish time corresponding numerical value;
The M represents the start time or month finish time corresponding numerical value;
The D represents the start time or date finish time corresponding numerical value;
The H represents corresponding numerical value when the start time or small finish time.
10. according to the client device any one of claim 6-9, the operation that the client device performs is based on
The Joda of JAVA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611070486.1A CN108121711B (en) | 2016-11-28 | 2016-11-28 | Data processing method and client device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611070486.1A CN108121711B (en) | 2016-11-28 | 2016-11-28 | Data processing method and client device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108121711A true CN108121711A (en) | 2018-06-05 |
CN108121711B CN108121711B (en) | 2021-12-24 |
Family
ID=62225279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611070486.1A Active CN108121711B (en) | 2016-11-28 | 2016-11-28 | Data processing method and client device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108121711B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116244091A (en) * | 2022-11-30 | 2023-06-09 | 荣耀终端有限公司 | Schedule management method and device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020087653A1 (en) * | 2000-12-05 | 2002-07-04 | Creative Media Design At Integrated Systems Scandinavia Group Ab | Virtual hard disc |
CN101136783A (en) * | 2007-10-15 | 2008-03-05 | 中兴通讯股份有限公司 | Backup, recovery method and apparatus for network management system to configure data |
CN103001796A (en) * | 2012-11-13 | 2013-03-27 | 北界创想(北京)软件有限公司 | Method and device for processing weblog data by server |
CN103248707A (en) * | 2013-05-22 | 2013-08-14 | 北京奇虎科技有限公司 | File access method, system and equipment |
CN103685714A (en) * | 2012-09-26 | 2014-03-26 | 华为技术有限公司 | Terminal log generation method and terminal |
CN103780638A (en) * | 2012-10-18 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Data synchronization method and system |
US20140280920A1 (en) * | 2013-03-15 | 2014-09-18 | Vector Unlimited, LLC | Method and system for remotely monitoring device status and internet connectivity on a computer network |
CN104615742A (en) * | 2015-02-10 | 2015-05-13 | 广东欧珀移动通信有限公司 | Multi-media database scanning method and multi-media database scanning device |
CN105426294A (en) * | 2015-11-04 | 2016-03-23 | 许继集团有限公司 | Running log generation and diagnosis method for monitoring system of intelligent substation |
CN105488201A (en) * | 2015-12-08 | 2016-04-13 | 北京皮尔布莱尼软件有限公司 | Log inquiry method and system |
JP2016071400A (en) * | 2014-09-26 | 2016-05-09 | 株式会社野村総合研究所 | Test execution device, test execution method, and computer program |
CN105868340A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Log storage method and device |
CN105900092A (en) * | 2014-03-26 | 2016-08-24 | 株式会社日立制作所 | Time series data management method and time series data management system |
-
2016
- 2016-11-28 CN CN201611070486.1A patent/CN108121711B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020087653A1 (en) * | 2000-12-05 | 2002-07-04 | Creative Media Design At Integrated Systems Scandinavia Group Ab | Virtual hard disc |
CN101136783A (en) * | 2007-10-15 | 2008-03-05 | 中兴通讯股份有限公司 | Backup, recovery method and apparatus for network management system to configure data |
CN103685714A (en) * | 2012-09-26 | 2014-03-26 | 华为技术有限公司 | Terminal log generation method and terminal |
CN103780638A (en) * | 2012-10-18 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Data synchronization method and system |
CN103001796A (en) * | 2012-11-13 | 2013-03-27 | 北界创想(北京)软件有限公司 | Method and device for processing weblog data by server |
US20140280920A1 (en) * | 2013-03-15 | 2014-09-18 | Vector Unlimited, LLC | Method and system for remotely monitoring device status and internet connectivity on a computer network |
CN103248707A (en) * | 2013-05-22 | 2013-08-14 | 北京奇虎科技有限公司 | File access method, system and equipment |
CN105900092A (en) * | 2014-03-26 | 2016-08-24 | 株式会社日立制作所 | Time series data management method and time series data management system |
JP2016071400A (en) * | 2014-09-26 | 2016-05-09 | 株式会社野村総合研究所 | Test execution device, test execution method, and computer program |
CN104615742A (en) * | 2015-02-10 | 2015-05-13 | 广东欧珀移动通信有限公司 | Multi-media database scanning method and multi-media database scanning device |
CN105426294A (en) * | 2015-11-04 | 2016-03-23 | 许继集团有限公司 | Running log generation and diagnosis method for monitoring system of intelligent substation |
CN105488201A (en) * | 2015-12-08 | 2016-04-13 | 北京皮尔布莱尼软件有限公司 | Log inquiry method and system |
CN105868340A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Log storage method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116244091A (en) * | 2022-11-30 | 2023-06-09 | 荣耀终端有限公司 | Schedule management method and device |
CN116244091B (en) * | 2022-11-30 | 2024-04-05 | 荣耀终端有限公司 | Schedule management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108121711B (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102811260B (en) | File cloud synchronizing system and method | |
CN105488050B (en) | A kind of more indexing means of database, apparatus and system | |
CN103593440B (en) | The reading/writing method and device of journal file | |
CN102866954B (en) | The method of Memory Allocation and device | |
CN111444196B (en) | Method, device and equipment for generating Hash of global state in block chain type account book | |
CN110096263A (en) | Web front end code automatic generation method and device | |
CN103942292A (en) | Virtual machine mirror image document processing method, device and system | |
CN108200070A (en) | A kind of method and device for generating list | |
CN105989079A (en) | Method and apparatus for obtaining device fingerprint | |
CN108875035B (en) | Data storage method of distributed file system and related equipment | |
CN108121711A (en) | A kind of data processing method and client device | |
CN104808953B (en) | Control the method, device and mobile terminal of data storage | |
US7685211B2 (en) | Deterministic file content generation of seed-based files | |
CN104008116A (en) | File synchronization method and electronic device | |
CN108241611A (en) | A kind of keyword extracting method and extraction equipment | |
CN103929480A (en) | Data backup method and device based on tasks | |
CN103559106B (en) | A kind of backup method of data, Apparatus and system | |
CN103377187A (en) | Method, device and program for paragraph segmentation | |
CN104572921A (en) | Cross-datacenter data synchronization method and device | |
CN104991963B (en) | Document handling method and device | |
CN106156169B (en) | Discrete data processing method and device | |
CN110457064B (en) | Method and device for generating network cutover script | |
CN108427608A (en) | Event alarm method and event alarm device | |
CN112836033A (en) | Business model management method, device, equipment and storage medium | |
CN111930720A (en) | Data tilt processing method, system, electronic device and 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 | ||
CB02 | Change of applicant information |
Address after: 100080 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |