CN106485461A - The method and apparatus of record process log - Google Patents
The method and apparatus of record process log Download PDFInfo
- Publication number
- CN106485461A CN106485461A CN201610810702.5A CN201610810702A CN106485461A CN 106485461 A CN106485461 A CN 106485461A CN 201610810702 A CN201610810702 A CN 201610810702A CN 106485461 A CN106485461 A CN 106485461A
- Authority
- CN
- China
- Prior art keywords
- process log
- log
- record
- rule
- logic
- 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
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24552—Database cache management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Computational Linguistics (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of method and apparatus of record process log, the method includes:Receive the trigger request for triggering current process object in operation flow that client sends;After described current process object is triggered according to described trigger request, record process log, and obtain the Obj State information of described current process object;Determine whether that process log is simplified in acquisition according to described Obj State information;Wherein, described process log of simplifying is the corresponding daily record of described current process object;Determine obtain described in simplify process log when, obtain from the process log of record described in simplify process log, and simplify process log described in storing, the disclosure can improve the process performance to operation flow for the server, and improves the efficiency of business flow processing.
Description
Technical field
A kind of it relates to data processing field, in particular it relates to method and apparatus of record process log.
Background technology
In an operation flow, potentially include multiple tasks node, and each task node potentially includes multiple
Business, when each task node or task complete or be suspended, server all can record process log, for example, one
Task node includes two tasks, and after a task completes or is suspended wherein, record represents that this task completes or quilt
The daily record hung up, after another task completes or is suspended, record represents that this another task completes or is suspended
Daily record, now, when this two tasks all complete or are suspended, this task node also completes or is suspended, and log
Show the daily record that this task node completes or is suspended, thus needing to record three process logs.
But, during operation flow is audited, need to record in each step in this operation flow
Process log is audited, because an operation flow potentially includes substantial amounts of flow object (as task node or task),
Therefore, server needs to record substantial amounts of process log, and the process log of record is stored to data base, so that after carrying out
Continuous audit process, so, server needs to store each process log recording to server, thus affecting to take
The business process performance to operation flow for the device, reduces the efficiency of business flow processing.
Content of the invention
The purpose of the disclosure is to provide a kind of method and apparatus of record process log, it is possible to increase server is to Business Stream
The process performance of journey, and improve the efficiency of business flow processing.
To achieve these goals, the disclosure provides a kind of method of record process log, and the method is applied to server,
The method includes:Receive the trigger request for triggering current process object in operation flow that client sends;According to institute
After stating the trigger request described current process object of triggering, record process log, and obtain the object shape of described current process object
State information;Determine whether that process log is simplified in acquisition according to described Obj State information;Wherein, described process log of simplifying is for institute
State the corresponding daily record of current process object;When simplifying process log described in obtaining in determination, obtain from the process log of record
Described simplify process log, and simplify process log described in storing.
Alternatively, described determine whether that acquisition is simplified process log and included according to described Obj State information:Determine whether
There is the logic of propositions rule with described Obj State information matches;When simplifying process log described in the described acquisition in determination, from
Simplify process log described in obtaining in the process log of record to include:Exist pre- with described Obj State information matches in determination
If during logic rule, described in acquisition from the process log of record, simplify process log.
Alternatively, methods described also includes:Determining the logic of propositions rule not existed with described Obj State information matches
When then, described process log is stored to data base.
Alternatively, after described record process log, methods described also includes:Cache described process log;Described from note
Simplify process log described in obtaining in the process log of record to include:Flow process is simplified described in obtaining from the process log of caching.
Alternatively, after simplifying process log described in storage, methods described also includes:The audit receiving client transmission please
Ask;Wherein, described audit request includes the process identification of described operation flow;Simplify stream according to described process identification obtains
Cheng Zhi, wherein, described process log of simplifying includes the rule mark of described logic of propositions rule and described process identification;According to
Described rule mark obtains described logic of propositions rule;Generated according to described logic of propositions rule according to described process log of simplifying
Described process log.
The disclosure provides a kind of device of record process log, is applied to server, this device includes:First receives list
Unit, for receiving the trigger request for triggering current process object in operation flow of client transmission;First acquisition unit,
For, after described current process object is triggered according to described trigger request, recording process log, and obtaining described current process
The Obj State information of object;According to described Obj State information, judging unit, for determining whether that process log is simplified in acquisition;
Obtain memory element, for when simplifying process log described in determination acquisition, simplifying described in acquisition from the process log of record
Process log, and simplify process log described in storing;Wherein, described process log of simplifying is that described current process object is corresponding
Daily record.
Alternatively, described judging unit, is used to determine whether the logic of propositions having with described Obj State information matches
Rule;Described acquisition memory element, during for there is the logic of propositions rule with described Obj State information matches in determination, from
Process log is simplified described in obtaining in the process log of record.
Alternatively, described device also includes:Memory element, for determining do not exist and described Obj State information matches
Logic of propositions rule when, described process log is stored to data base.
Alternatively, described device also includes:Buffer unit, for, after record process log, caching described process log;
Described acquisition memory element, for simplifying flow process described in acquisition from the process log of caching.
Alternatively, described device also includes:Second receiving unit, for, after simplifying process log described in storage, receiving
The audit request that client sends;Wherein, described audit request includes the process identification of described operation flow;Second obtains list
Unit, for simplifying process log according to the acquisition of described process identification, wherein, described process log of simplifying includes described presetting
The rule mark of logic rule and described process identification;3rd acquiring unit, described pre- for being obtained according to described rule mark
If logic rule;Signal generating unit, for generating described flow process according to described process log of simplifying according to described logic of propositions rule
Daily record.
By technique scheme, during processing business flow process, after triggering current process object, record flow process
Daily record, and obtain the Obj State information of described current process object, and obtain institute determining according to described Obj State information
State when simplifying process log, obtain from the process log of record described in simplify process log, and simplify flow process day described in storing
Will;Wherein, described process log of simplifying is the corresponding daily record of described current process object.So, server is in processing service flow
Only need to storage compacting process log during journey, all stored without by whole process logs, thus improving
The process performance to operation flow for the server, and then improve the efficiency of business flow processing.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Brief description
Accompanying drawing is used to provide further understanding of the disclosure, and constitutes the part of description, with following tool
Body embodiment is used for explaining the disclosure together, but does not constitute restriction of this disclosure.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of a kind of method of record process log that an exemplary embodiment provides;
Fig. 2 is the schematic flow sheet of a kind of method of process log audit that an exemplary embodiment provides;
Fig. 3 is a kind of structural representation of the device of record process log that an exemplary embodiment provides;
Fig. 4 is the structural representation of the device of another kind of record process log that an exemplary embodiment provides;
Fig. 5 is the structural representation of the device of the third record process log that an exemplary embodiment provides;
Fig. 6 is the structural representation of the device of the 4th kind of record process log that an exemplary embodiment provides.
Specific embodiment
It is described in detail below in conjunction with accompanying drawing specific embodiment of this disclosure.It should be appreciated that this place is retouched
The specific embodiment stated is merely to illustrate and explains the disclosure, is not limited to the disclosure.
Application scenarios of this disclosure first illustrate, and the disclosure is applied in the processing procedure of operation flow, this industry
Business flow process can include at least one task node, and each task node can also include at least one task, then in this task
Whole tasks under node are processed after completing (as task completes or is suspended), and this task node processes and completes, and to next
Task node is processed, and illustratively, this operation flow can include 3 task nodes, is designated as task node 1, task node 2
With task node 3, this task node 2 includes two tasks, and the processing sequence of this operation flow is first process task node 1, then
Process task node 2, last process task node 3, that is, after the completion of the process of task node 1, at task node 2
Reason, it is determined that the process of this task node 2 completes, then to task section after the completion of two tasks under task node 2 are all processed
Point 3 is processed, and after the completion of task node 3 is processed, then whole business flow processing completes.
For example, taking an exemplary financial approval flow process as a example illustrate, after this financial approval flow process is initiated, first
(being equivalent to task node 1) is confirmed by manager of financial department, after the completion of manager of financial department confirms, task (is equivalent to by department vice president
Node 2) confirm, this department vice president has two people (being equivalent to two tasks), this portion in the case that Liang Ge department vice president confirms
The node that door vice president confirms completes, and in the completed, continues to confirm (being equivalent to task node 3) by president of a company, president of a company
After the completion of confirmation, this financial approval flow process terminates, and above-mentioned financial approval flow process is merely illustrative, and the disclosure is to specific business
Flow process is not construed as limiting.
It should be noted that the process type of each task node or task can be manually or automatically, at this
The process type of business node or task behaves man-hour then it represents that current task node is needed by manually having been triggered by client
Become, specifically can be triggered the process of this task node by user by client, be automatic in the process type of this task node
When then it represents that after the completion of previous task node processing, this current task node automatically processes and completes, need not manually pass through client
End triggering, and enter next task node after processing is completed.
For example, still taking above-mentioned financial approval flow process as a example illustrate, when task node 2 completes that (i.e. department vice president is true
Recognize) after, this financial approval flow process enters next task node, is designated as task node 2-A, the process type of this task node 2-A
For automatic, such as this task node 2-A represents after the completion of task node 2, needs to send an envelope and confirms that mail is standby to specific mailboxes
Part (as Finance Department's mailbox or company's public mailbox), therefore, after the completion of this task node 2, enters this task node 2-A,
Process type due to this task node 2-A is automatic, then, when processing this task node 2-A, server is voluntarily to specific postal
Case sends mail, needs not move through user's triggering.
In addition, server, in one task node of every process or task, can record this task node or task pair
The process log answered, for example, continues to illustrate taking above three task node as a example, after the completion of task node 1, then this clothes
The process log of business this task node 1 of device record, such as this process log can include date of operation, operator, process type,
The information such as instruction action (complete or be suspended), the affiliated process identification of operation flow and present node mark;In office
After the completion of business node 1, enter task node 2, this task node 2 includes two tasks, after the completion of one of task is processed,
Record the corresponding process log of this one of task, after the completion of another task is processed, record this another task and correspond to
Process log, then it represents that this task node 2 completes in addition it is also necessary to record this task node 2 corresponding after the completion of two tasks
Process log is that is to say, that for task node 2, server needs to record 3 process logs (respectively under corresponding task node 2
Two tasks and task node 2), in the same manner, the process log of task node 3 is also recorded.
In prior art, after the completion of whole business flow processing, need to store whole process logs of record to number
According in storehouse, to carry out follow-up audit process, so, server needs to store each process log recording to clothes
In business device, thus affecting the process performance to operation flow for the server, reduce the efficiency of business flow processing;And in the disclosure
In, server only needs to storage compacting process log during processing business flow process, without by whole flow process days
Will is all stored, thus improve the process performance to operation flow for the server, and then improves the effect of business flow processing
Rate.
With reference to specific embodiment, the recording method of the process log in the disclosure is specifically described.
A kind of method of record process log that Fig. 1 provides for the embodiment of the present disclosure, as shown in figure 1, being applied to server,
The method includes:
The trigger request for triggering current process object in operation flow that S101, reception client send.
Wherein, this current flow object can be the current task under current task node or current task node,
In this step, the treatment people of current process object can trigger this current flow object by client, thus passing through client
Hold and send trigger request, to trigger this current flow object, in the present embodiment, above-mentioned triggering current process object to server
Can be to trigger this current flow object to complete or be suspended.
S102, after this current flow object is triggered according to this trigger request, record process log, and obtain this current stream
The Obj State information of journey object.
Wherein, this Obj State information is used for representing the status information of this current flow object, and for example, this Obj State is believed
Breath can include the process type (as manually or automatically) of this current flow object, object's position (as whether task node is
Whether last task node of current business flow process or task are the information such as the single task role under task node) and task
The information such as the task number of node.
It should be noted that the information that above-mentioned Obj State information includes is merely illustrative, the present embodiment is not made to this
Limit.
In this step, this process log can be cached after recording this process log, caching here is not to flow
Cheng Zhi stores to data base, is intended merely to subsequently when storing the process log needing storage to data base, can be fast
Reading from caching of speed needs the process log of storage, thus improving the reading speed of process log, therefore, caches flow process
Daily record can't affect the process performance of server process operation flow.
S103, determine whether that process log is simplified in acquisition according to this Obj State information.
Wherein, this simplifies process log is the corresponding daily record of this current flow object.
In a kind of possible implementation of the present embodiment, server determines whether there is and this Obj State information matches
Logic of propositions rule, determine exist with the logic of propositions of this Obj State information matches rule when, determine that stream is simplified in acquisition
Cheng Zhi;When determining the logic of propositions rule not existed with this Obj State information matches, determine not obtaining and simplify flow process day
Will.
Wherein, this logic of propositions rule can represent the logical relation of task node and task and operation flow, service
Device, after obtaining this Obj State information, determines whether this Obj State information meets the logical relation of logic of propositions rule, from
And when being determined for compliance with the logical relation of logic of propositions rule, determine the logic of propositions rule existing with this Obj State information matches
Then, when determining the logical relation not meeting logic of propositions rule, determination does not exist default with this Obj State information matches
Logic rule.
Illustratively, this logic of propositions rule can include:Determine whether the task under current task node is single task role,
When this task is single task role, then this task complete lead to completing of this task node;And determine that this task node is
No last node for current business flow process, in last node that this task node is current business flow process, then
The completing of this task node leads to completing of operation flow, certainly, merely just illustrates, and specific logic rule can be by
User is arranged in advance, and the present embodiment is not construed as limiting.
So, server is after obtaining Obj State information, if determining that current task is single according to this Obj State information
During one task, then according to logic of propositions rule can determine current task complete lead to completing of affiliated task node;If root
According to this Obj State information to determine current task node be last task node when, then can be true according to logic of propositions rule
Determine current task node complete lead to completing of whole operation flow.
S104, when determining that obtaining this simplifies process log, obtain this and simplify process log from the process log of record,
And store this and simplify process log.
Wherein, if this process log buffered, can be with the process log of direct access caching.
In this step, when determining the logic of propositions rule existing with this Obj State information matches, then according to logic
Relation can determine the process of other flow object, and therefore, whole process logs of caching need not be all stored in data by server
It is only necessary to the process log obtaining this corresponding flow object of Obj State information from caching (simplifies flow process day in storehouse
Will), and add process identification, then store to data base, so that subsequently when auditing to this operation flow, according to this
Process identification obtains complete process log, thus improve the process performance to operation flow for the server, and then improves industry
The efficiency of business flow processing.
Illustratively, if current task is single task role, after the completion of this task is processed, determine the corresponding task of this task
Node also processes and completes, therefore it may only be necessary to corresponding for this task process log is stored to data base, and due to this task
Complete to lead to completing of task node, it is therefore not necessary to the process log of this task node is restored data base, now, should
The corresponding process log of task as simplifies process log, thus when subsequently auditing to this operation flow it is only necessary to root
The process log of task node can be generated according to the process log of this current task, and then obtain complete process log.
Similarly, if current task node is last task node of operation flow, complete in this task node
Afterwards, determine that this business flow processing completes, therefore it may only be necessary to corresponding for this task node process log is stored to data base
In, and complete to lead to completing of operation flow due to this task node, it is therefore not necessary to the process log by this operation flow
Restore data base, and now, the process log of this current task node as simplifies process log, thus follow-up to this industry
It is only necessary to the flow process day of operation flow can be generated according to the process log of this current task node when business flow process is audited
Will, and then obtain complete process log.
In a kind of possible implementation, after this simplifies process log in storage, delete buffered process log,
Thus saving spatial cache.
Further, since in operation flow, not being that each flow object can meet logic of propositions rule, therefore, at this
Disclosing in another embodiment, simplifying flow process when current object state is not matched to logic of propositions rule it is determined that not obtaining
Daily record, now, then the process log of each flow object of complete documentation, and the process log of each flow object of record is deposited
Store up to data base, for example, if current task node has two tasks, and the process type of this two tasks is all artificial, this
When, after the completion of a task is processed wherein, if another task is also untreated it is determined that current task node remains unfulfilled,
As can be seen here, under above-mentioned scene, task node and task do not have direct logical relation that is to say, that in a task
Process it is impossible to whether the task node belonging to direct determination processes and complete when completing, only after the completion of the process of another task,
This task node ability determination processes and completes;Now, after the completion of this task is processed, record the flow process day of this task
Will, after the completion of another task is processed, records the process log of this another task, and all processes in two tasks and complete
Afterwards, just can determine that this task node is processed to complete, thus recording the process log of this task node, and the whole flow processs by record
Daily record stores to data base, similarly, in the related process log of record, the process log of meeting caching record, therefore,
Whole process logs of record are stored to data base, deletes this whole process logs process log in the buffer.
Using said method, server only needs to storage compacting process log during processing business flow process, and not
Needing all to be stored whole process logs, thus improve the process performance to operation flow for the server, and then improving
The efficiency of business flow processing.
This is being simplified during process log stores to data base, in order to examine to the process having operation flow, at this
Disclose in another embodiment, server can also initiate the audit to this operation flow, as shown in Fig. 2 Fig. 2 provides for the disclosure
A kind of audit of process log method, be applied to server, the method includes:
The audit request that S201, reception client send, this audit request includes the process identification of this operation flow.
Wherein, server can determine that the operation flow of pending trial meter according to this process identification.
S202, this is obtained according to this process identification simplify process log, this is simplified process log and includes this logic of propositions rule
Rule mark then and this process identification.
S203, this logic of propositions rule is obtained according to this rule mark.
Wherein, server according to this process identification determine to be obtained simplify process log, and obtain this and simplify flow process day
Will, and determined in processing business flow process according to rule mark, record this and simplify logic of propositions rule during process log.
S204, simplify process log according to this and generate this process log according to this logic of propositions rule.
So, server according to obtain simplify process log and logic of propositions rule generates complete process log, with
Just audited.
Illustratively, if this simplify process log record be certain task in operation flow process log, and according to rule
Then mark determines that the logic of propositions rule of coupling is:Determine whether the task under current task node is single task role, at this
When business is single task role, then this task complete lead to completing of this task node;Now, according to above-mentioned logic of propositions rule
Determine that this task is single task role, and after the completion of determining that this task is processed, then affiliated task node also processes and completes, thus raw
Become the process log that the process of this task node completes, and the process time of process log of generation and the process simplifying process log
Time is identical.
If what this simplified process log record is the process log of certain task node in operation flow, according to rule mark
Determine that the logic of propositions rule mated is:Determine whether current task node is last task node, in this task node
When being last task node, then this task node complete lead to completing of this operation flow;Now, according to above-mentioned pre-
If logic rule determine this task node be last task node, and determine this task node process after the completion of, then this industry
Business flow process also processes and completes, thus generating the process log that this business flow processing completes, and the process of the process log generating
Time is identical with the process time simplifying process log.
It should be noted that an operation flow there may be the flow object being unsatisfactory for logic of propositions rule, then with this
The related process log of flow object all stores to data base, and therefore, in audit process, server is obtaining flow process mark
After knowledge, obtain from data base this process identification corresponding simplify process log and other be unsatisfactory for logic of propositions rule stream
The process log of journey object storage.
So, after obtaining whole process logs of operation flow, in order to more accurately show the process log of generation, can
To be ranked up to whole process logs according to the order of process time, and show the process log after sequence, to be examined
Meter.
A kind of device of record process log that Fig. 3 provides for the embodiment of the present disclosure, as shown in figure 3, being applied to server,
This device includes:
First receiving unit 301, for receive client transmission for triggering current process object in operation flow
Trigger request.
First acquisition unit 302, for, after triggering this current flow object according to this trigger request, recording flow process day
Will, and obtain the Obj State information of this current flow object.
According to this Obj State information, judging unit 303, for determining whether that process log is simplified in acquisition.
Obtain memory element 304, for when determining that obtaining this simplifies process log, obtaining from the process log of record
This simplifies process log, and stores this and simplify process log;Wherein, this simplifies process log is that this current flow object is corresponding
Daily record.
Alternatively, this judging unit 303, is used to determine whether the logic of propositions rule having with this Obj State information matches
Then;
This acquisition memory element 304, during for there is the logic of propositions rule with this Obj State information matches in determination,
Obtain this from the process log of caching and simplify process log.
Alternatively, as shown in Figure 4.This device also includes:
Memory element 305, during for there is not the logic of propositions rule with this Obj State information matches in determination, should
Process log stores to data base.
Alternatively, as shown in figure 5, this device also includes:
Described device also includes:
Buffer unit 306, for, after record process log, caching this process log;
This acquisition memory element 304, simplifies flow process for obtaining this from the process log of caching.
Alternatively, as shown in fig. 6, this device also includes:
Second receiving unit 307, after this simplifies process log in storage, receives the audit request that client sends;
Wherein, this audit request includes the process identification of this operation flow;
Second acquisition unit 308, simplifies process log for obtaining this according to this process identification, wherein, this simplifies flow process
Daily record includes rule mark and this process identification of this logic of propositions rule;
3rd acquiring unit 309, for obtaining this logic of propositions rule according to this rule mark;
Signal generating unit 310, generates this process log for simplifying process log according to this according to this logic of propositions rule.
Using said apparatus, only need to storage compacting process log during processing business flow process, without general
Whole process logs is all stored, thus improve the process performance to operation flow for the server, and then improves business
The efficiency of flow processing.
Describe the preferred implementation of the disclosure above in association with accompanying drawing in detail, but, the disclosure is not limited to above-mentioned reality
Apply the detail in mode, in the range of the technology design of the disclosure, multiple letters can be carried out with technical scheme of this disclosure
Monotropic type, these simple variant belong to the protection domain of the disclosure.
It is further to note that each particular technique feature described in above-mentioned specific embodiment, in not lance
In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the disclosure to various can
The compound mode of energy no longer separately illustrates.
Additionally, combination in any can also be carried out between the various different embodiment of the disclosure, as long as it is without prejudice to this
Disclosed thought, it equally should be considered as disclosure disclosure of that.
Claims (10)
1. it is characterised in that being applied to server, methods described includes a kind of method of record process log:
Receive the trigger request for triggering current process object in operation flow that client sends;
After described current process object is triggered according to described trigger request, record process log, and obtain described current process
The Obj State information of object;
Determine whether that process log is simplified in acquisition according to described Obj State information;Wherein, described process log of simplifying is described
The corresponding daily record of current process object;
When simplifying process log described in obtaining in determination, simplify process log described in acquisition from the process log of record, and deposit
Process log is simplified described in storage.
2. method according to claim 1 is it is characterised in that described determine whether to obtain according to described Obj State information
Simplify process log to include:
Determine whether there is the logic of propositions rule with described Obj State information matches;
When simplifying process log described in the described acquisition in determination, described in acquisition from the process log of record, simplify process log bag
Include:
When determining the logic of propositions rule existing with described Obj State information matches, obtain institute from the process log of record
State and simplify process log.
3. method according to claim 2 is it is characterised in that methods described also includes:
When determining the logic of propositions rule not existed with described Obj State information matches, described process log is stored to number
According in storehouse.
4. method according to claim 1 is it is characterised in that after described record process log, methods described also includes:
Cache described process log;
Simplify process log described in obtaining the described process log from record to include:
Flow process is simplified described in obtaining from the process log of caching.
5. the method according to any one of Claims 1-4 it is characterised in that storage described in simplify process log after, institute
Method of stating also includes:
Receive the audit request that client sends;Wherein, described audit request includes the process identification of described operation flow;
Simplify process log according to described process identification obtains, wherein, described process log of simplifying includes described default patrol
Collect the rule mark of rule and described process identification;
Described logic of propositions rule is obtained according to described rule mark;
Described process log is generated according to described logic of propositions rule according to described process log of simplifying.
6. it is characterised in that being applied to server, described device includes a kind of device of record process log:
First receiving unit, the triggering for triggering current process object in operation flow for receiving client transmission please
Ask;
First acquisition unit, for, after described current process object is triggered according to described trigger request, recording process log, and
Obtain the Obj State information of described current process object;
According to described Obj State information, judging unit, for determining whether that process log is simplified in acquisition;
Obtain memory element, for when simplifying process log described in determination acquisition, obtaining described from the process log of record
Simplify process log, and simplify process log described in storing;Wherein, described process log of simplifying is described current process object pair
The daily record answered.
7. device according to claim 6 is it is characterised in that described judging unit, be used to determine whether to exist with described
The logic of propositions rule of Obj State information matches;
Described acquisition memory element, during for there is the logic of propositions rule with described Obj State information matches in determination, from
Process log is simplified described in obtaining in the process log of record.
8. device according to claim 7 is it is characterised in that described device also includes:
Memory element, for when determining the logic of propositions rule not existed with described Obj State information matches, by described stream
Cheng Zhi stores to data base.
9. device according to claim 6 is it is characterised in that described device also includes:
Buffer unit, for, after record process log, caching described process log;
Described acquisition memory element, for simplifying flow process described in acquisition from the process log of caching.
10. the device according to any one of claim 6 to 9 is it is characterised in that described device also includes:
Second receiving unit, for, after simplifying process log described in storage, receiving the audit request that client sends;Wherein,
Described audit request includes the process identification of described operation flow;
Second acquisition unit, for simplifying process log described in obtaining according to described process identification, wherein, described simplifies flow process day
Will includes the rule mark of described logic of propositions rule and described process identification;
3rd acquiring unit, for obtaining described logic of propositions rule according to described rule mark;
Signal generating unit, for generating described process log according to described process log of simplifying according to described logic of propositions rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610810702.5A CN106485461B (en) | 2016-09-08 | 2016-09-08 | Method and device for recording flow log |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610810702.5A CN106485461B (en) | 2016-09-08 | 2016-09-08 | Method and device for recording flow log |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106485461A true CN106485461A (en) | 2017-03-08 |
CN106485461B CN106485461B (en) | 2020-02-04 |
Family
ID=58273630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610810702.5A Active CN106485461B (en) | 2016-09-08 | 2016-09-08 | Method and device for recording flow log |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106485461B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815451A (en) * | 2005-01-31 | 2006-08-09 | 华为技术有限公司 | Log information management method and system |
CN1825812A (en) * | 2005-02-25 | 2006-08-30 | 华为技术有限公司 | System and method for managing network web log information |
CN102629345A (en) * | 2012-02-28 | 2012-08-08 | 深圳市汉普电子技术开发有限公司 | Chain type communication cooperation method, apparatus and system thereof |
CN102868936A (en) * | 2012-09-06 | 2013-01-09 | 北京邮电大学 | Method and system for storing video logs |
CN103810529A (en) * | 2012-11-15 | 2014-05-21 | 金蝶软件(中国)有限公司 | Cross-receipt process log generating method and querying method and device |
-
2016
- 2016-09-08 CN CN201610810702.5A patent/CN106485461B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815451A (en) * | 2005-01-31 | 2006-08-09 | 华为技术有限公司 | Log information management method and system |
CN1825812A (en) * | 2005-02-25 | 2006-08-30 | 华为技术有限公司 | System and method for managing network web log information |
CN102629345A (en) * | 2012-02-28 | 2012-08-08 | 深圳市汉普电子技术开发有限公司 | Chain type communication cooperation method, apparatus and system thereof |
CN102868936A (en) * | 2012-09-06 | 2013-01-09 | 北京邮电大学 | Method and system for storing video logs |
CN103810529A (en) * | 2012-11-15 | 2014-05-21 | 金蝶软件(中国)有限公司 | Cross-receipt process log generating method and querying method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106485461B (en) | 2020-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9350726B2 (en) | Recovery from rolling security token loss | |
CA3051393A1 (en) | Method for providing recording and verification service for data received and transmitted by messenger service, and server using method | |
US20120110092A1 (en) | Email thread monitoring and automatic forwarding of related email messages | |
CN102693359B (en) | A kind of method and device of the member's social modeling that founds a family | |
KR20010016276A (en) | Method and system for processing e-mail with an anonymous receiver | |
CN109636414B (en) | Electronic invoice voiding system and voiding method based on block chain | |
CN103905441B (en) | Data capture method and device | |
TW201701229A (en) | E-mail processing | |
CN104994139B (en) | A kind of system and method to high concurrent network request quick response | |
CN106251114B (en) | Method and device for realizing approval in application | |
CN111970236B (en) | Cross-network data transmission method and device | |
CN107786623A (en) | Message asynchronous processing method and device | |
WO2018149340A1 (en) | Recipient determination method utilized in email replying process, and device | |
WO2022206439A1 (en) | Method and apparatus for providing cross-chain message | |
CN106033438A (en) | Public sentiment data storage method and server | |
CN105224541B (en) | Uniqueness control method, information storage means and the device of data | |
CN109446276B (en) | Order interception method, device, equipment and medium based on relational data model | |
CN113793455A (en) | Express delivery cabinet pickup method and system in offline state | |
CN106815232A (en) | Catalog management method, apparatus and system | |
CN104182519B (en) | A kind of file scanning method and device | |
CN106485461A (en) | The method and apparatus of record process log | |
CN107784588A (en) | Insurance user information merging method and device | |
CN106469166B (en) | A kind of information processing method and device | |
CN103746896B (en) | A kind of method and device processing mail | |
CN106326424A (en) | Report processing method, device and system |
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 |