CN111047434A - Operation record generation method and device, computer equipment and storage medium - Google Patents

Operation record generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111047434A
CN111047434A CN201911294876.0A CN201911294876A CN111047434A CN 111047434 A CN111047434 A CN 111047434A CN 201911294876 A CN201911294876 A CN 201911294876A CN 111047434 A CN111047434 A CN 111047434A
Authority
CN
China
Prior art keywords
target parameter
parameter object
operation record
database
module
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
CN201911294876.0A
Other languages
Chinese (zh)
Other versions
CN111047434B (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 Kaniu Technology Co ltd
Original Assignee
Shenzhen Suishou Xinke Technology 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 Suishou Xinke Technology Co Ltd filed Critical Shenzhen Suishou Xinke Technology Co Ltd
Priority to CN201911294876.0A priority Critical patent/CN111047434B/en
Publication of CN111047434A publication Critical patent/CN111047434A/en
Application granted granted Critical
Publication of CN111047434B publication Critical patent/CN111047434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning

Abstract

The invention discloses an operation record generation method, an operation record generation device, computer equipment and a storage medium, wherein the method comprises the following steps: when detecting that the persistent layer framework operates the target parameter object in the database, acquiring the target parameter object; if the target parameter object contains the first annotation, acquiring the session object and the module information of the current operation process; determining an update parameter of a target parameter object; and generating an operation record according to the session object, the module information and the update parameters. According to the embodiment of the invention, the annotation is added to the target parameter object needing to be operated and recorded in all the functional modules in the database, so that the operation record is conveniently and quickly generated, the problem that the operation record generation methods are incompatible due to different functions of the modules in the product background is solved, the universal operation record generation method for the product background module is provided, the traceability of user operation is ensured, and the development cost and the maintenance cost for generating the background operation record are reduced.

Description

Operation record generation method and device, computer equipment and storage medium
Technical Field
The present invention relates to data processing technologies, and in particular, to an operation record generation method and apparatus, a computer device, and a storage medium.
Background
In recent years, for financial loan products running on line, the configuration of a product background is usually required to be changed to realize the switching of certain service modules or the switching of product versions, and the specific configuration process is favorable for the inquiry and analysis of subsequent workers. Therefore, the operation record of the product background is important.
Due to the fact that functions of the modules in the product background are different, the operation record generation method is incompatible, and in order to record the operation process of the product background, corresponding operation record modules need to be separately arranged for different functional modules.
However, in the above scheme, each background configuration module is provided with an individually developed operation recording module, so that the development cost and the maintenance cost are relatively high.
Disclosure of Invention
The embodiment of the invention provides an operation record generation method, an operation record generation device, computer equipment and a storage medium, and provides a general operation record generation method for a product background module, so that operation records can be conveniently and quickly generated, and the development cost and the maintenance cost for generating background operation records are reduced.
In a first aspect, an embodiment of the present invention provides an operation record generating method, where the method includes:
when detecting that the persistent layer framework operates the target parameter object in the database, acquiring the target parameter object;
if the target parameter object contains the first annotation, acquiring the session object and the module information of the current operation process;
determining an update parameter of a target parameter object;
and generating an operation record according to the session object, the module information and the update parameters.
Optionally, determining the update parameter of the target parameter object includes:
judging whether the target parameter object contains a primary key;
if yes, inquiring an original parameter object corresponding to the target parameter object according to the primary key;
acquiring one or more attributes contained in the original parameter object by using a reflection mechanism;
comparing the attribute containing the second annotation in the original parameter object with the corresponding attribute in the target parameter object;
and determining the update parameters of the target parameter object according to the comparison result.
Optionally, after determining whether the target parameter object includes the primary key, the method further includes:
if not, acquiring one or more attributes contained in the target parameter object by using a reflection mechanism;
and taking the attribute containing the second annotation in the target parameter object as an update parameter of the target parameter object.
Optionally, when it is detected that the persistent layer framework performs an operation on the target parameter object in the database, after the target parameter object is obtained, the method includes:
judging whether the target parameter object contains a first annotation or not;
and if not, sending a first operation instruction to the persistent layer framework, wherein the first operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
Optionally, the persistent layer framework is a Mybatis persistent layer framework.
Optionally, the session object, the module information, and the operation record are stored in a Redis database.
Optionally, after generating the operation record according to the session object, the module information, and the update parameter, the method includes:
and sending a second operation instruction to the persistent layer framework, wherein the second operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
In a second aspect, an embodiment of the present invention further provides an operation record generating apparatus, where the apparatus includes:
the target parameter object acquisition module is used for acquiring a target parameter object when detecting that the persistent layer framework operates the target parameter object in the database;
the session object and module information acquisition module is used for acquiring the session object and module information of the current operation process under the condition that the target parameter object contains the first annotation;
the updating parameter determining module is used for determining the updating parameters of the target parameter object;
and the operation record generation module is used for generating the operation record according to the session object, the module information and the update parameters.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement an operation record generation method provided in any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program implements an operation record generating method provided in any embodiment of the present invention.
The embodiment of the invention firstly detects that the persistent layer framework operates the target parameter object in the database, then obtains the session object, the module information and the update parameter of the current operation process, and finally generates the operation record matched with the current operation process. According to the embodiment of the invention, the notes are added to the target parameter objects needing to be operated and recorded in all the functional modules in the database, so that the operation records are conveniently and quickly generated, the problem that the operation record generation methods are incompatible due to different functions of the modules in the product background is solved, the universal operation record generation method for the product background modules is provided, the traceability of user operation is ensured, the operation record modules do not need to be independently developed for each background configuration module, and the development cost and the maintenance cost for generating the background operation records are reduced.
Drawings
Fig. 1 is a flowchart of an operation record generation method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of an operation record generation method according to a first embodiment of the present invention;
FIG. 3 is a flowchart of an operation record generation method according to a second embodiment of the present invention;
fig. 4 is a structural diagram of an operation record generation apparatus in a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an operation record generating method according to an embodiment of the present invention, where this embodiment is applicable to a situation of recording a background operation process of a product, and the method may be executed by an operation record generating device, where the operation record generating device may be implemented by software and/or hardware, and may be generally integrated in a terminal or a server having data identification and processing functions, and specifically includes the following steps:
and step 110, when the persistent layer framework is detected to operate the target parameter object in the database, acquiring the target parameter object.
In this embodiment, the persistent layer framework is connected to the database, and is used to access the database, and implement operations such as query, insertion, modification, and deletion of a data table in the database. The target parameter object is a target data item in the database, and corresponding module information is identified in the target data item, specifically, for example, a loan module and an inquiry module in a financial loan product, and the like.
In this implementation, whether the persistent layer framework operates the target parameter object in the database is detected through an interceptor, which is arranged at the bottom layer of the persistent layer framework and is used for intercepting a code of the persistent layer framework completing the operation of the database to obtain the target parameter object in the operation process.
Specifically, the persistent layer framework is a Mybatis persistent layer framework.
And step 120, if the target parameter object contains the first annotation, acquiring the session object and the module information of the current operation process.
In this step, the embodiment adds a first annotation to a target parameter object that needs to record an operation process in advance, where the first annotation is written in the target parameter object and is used to determine whether the operation needs to produce an operation record or not, and to acquire module information needed to generate the operation record.
If the target parameter object contains the first annotation, the present embodiment obtains the module information identified on the target parameter object through the first annotation, and then obtains the session object matched with the target parameter object from the Redis database, where the session object includes the user identity information, the operation time, and the like of the current operation process.
In a specific embodiment, an operation record of "a certain user operates a certain module at a certain time" can be generated by acquiring the session object and the module information of the current operation process.
And step 130, determining the update parameters of the target parameter object.
In this embodiment, the update parameter is a key module parameter value after the module information is updated, for example, the module information in the above step may be a loan module, the key module parameter value may be a loan amount, and the update parameter is the loan amount updated by the user. As shown in fig. 2, the step of determining the update parameter of the target parameter object is as follows:
s101, judging whether the target parameter object contains a primary key, if so, executing a step S102, and if not, executing a step S103;
s102, inquiring an original parameter object corresponding to the target parameter object according to the primary key;
in this step, if the target parameter object contains the primary key ID, it indicates that the current operation process belongs to the modification operation, an inquiry statement according to the primary key ID is generated in the interceptor, and the parameter object before modification, that is, the original parameter object corresponding to the target parameter object, is inquired by using the inquiry statement;
s1021, acquiring one or more attributes contained in the original parameter object by using a reflection mechanism;
in this step, the reflection mechanism is a method mechanism that can dynamically call all attributes of any object, and this embodiment may obtain all attributes included in the original parameter object, for example, all field information included in the original parameter object, by using the reflection mechanism.
S1022, comparing the attribute containing the second annotation in the original parameter object with the corresponding attribute in the target parameter object;
in this step, the embodiment adds a second comment to the key field in the original parameter object in advance, and the second field is written on the key field and is used for acquiring the chinese name of the key field. If a field in the original parameter object contains a second annotation, the field is compared to a corresponding field in the target parameter object. If the two fields are equal, the field is not changed; if not, the field is indicated as the modified key field.
S1023, determining the update parameters of the target parameter object according to the comparison result;
in this step, if the comparison result is that the field containing the second annotation in the original parameter object is not equal to the corresponding field in the target parameter object, the field in the target parameter object is used as the update parameter of the target parameter object.
S103, acquiring one or more attributes contained in the target parameter object by using a reflection mechanism;
in this step, if the target parameter object does not include the primary key ID, which indicates that the current operation process belongs to the new operation, the embodiment may acquire all attributes included in the target parameter object, for example, all field information included in the target parameter object, by using the reflection mechanism.
And S1031, taking the attribute containing the second annotation in the target parameter object as the update parameter of the target parameter object.
In this step, the present embodiment adds a second comment to a key field in the target parameter object in advance, and the second field is written on the key field and is used for acquiring the chinese name of the key field. If a field in the target parameter object contains a second annotation, the field is used as an update parameter of the target parameter object.
And step 140, generating an operation record according to the session object, the module information and the update parameters.
In a specific embodiment, an operation record of "a certain user has operated a certain module at a certain time" is already generated through step 120, and if the target parameter object includes a primary key and a field including the second annotation in the original parameter object is not equal to a corresponding field in the target parameter object, an operation record of "a certain user has operated a certain module at a certain time and a certain value of a field name is changed from a to b" is generated; if the target parameter object does not contain the primary key, an operation record of 'a certain user operates a certain module at a certain time and a certain value of a field name is newly added' is generated.
And the session object, the module information and the operation record are all stored in a Redis database.
According to the technical scheme, firstly, the persistent layer framework is detected to operate the target parameter object in the database, then the session object, the module information and the update parameter of the current operation process are obtained, and finally the operation record matched with the current operation process is generated. According to the embodiment of the invention, the notes are added to the target parameter objects needing to be operated and recorded in all the functional modules in the database, so that the operation records are conveniently and quickly generated, the problem that the operation record generation methods are incompatible due to different functions of the modules in the product background is solved, the universal operation record generation method for the product background modules is provided, the traceability of user operation is ensured, the operation record modules do not need to be independently developed for each background configuration module, and the development cost and the maintenance cost for generating the background operation records are reduced.
Example two
This embodiment is a further refinement of the first embodiment, and the same or corresponding terms as those in the first embodiment are explained, and this embodiment is not repeated.
Fig. 3 is a flowchart of an operation record generating method according to a second embodiment of the present invention, and as shown in fig. 3, the method includes the following steps:
step 301, when detecting that the persistent layer framework operates on the target parameter object in the database, acquiring the target parameter object.
In this implementation, whether the persistent layer framework operates the target parameter object in the database is detected through an interceptor, which is arranged at the bottom layer of the persistent layer framework and is used for intercepting a code of the persistent layer framework completing the operation of the database to obtain the target parameter object in the operation process.
Step 302, judging whether the target parameter object contains the first annotation, if so, executing step 303, otherwise, executing step 304.
In this step, the embodiment adds a first annotation to a target parameter object that needs to record an operation process in advance, where the first annotation is written in the target parameter object and is used to determine whether the operation needs to produce an operation record or not, and to acquire module information needed to generate the operation record. In this embodiment, whether the target parameter object includes the first annotation is determined by the interceptor, and if so, it indicates that the current module needs to generate the operation record.
And step 303, acquiring the session object and module information of the current operation process.
And step 304, sending a first operation instruction to the persistent layer framework, wherein the first operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
In this step, if the target parameter object does not contain the first annotation, it indicates that the current module does not need to generate an operation record, the interceptor stops the interception process of the database operated by the persistent layer framework, and sends a first operation instruction to the persistent layer framework to instruct the persistent layer framework to continue to complete the operation on the database.
And step 305, judging whether the target parameter object contains a primary key, if so, executing step 306, and if not, executing step 307.
And step 306, inquiring an original parameter object corresponding to the target parameter object according to the primary key.
Step 3061, one or more attributes contained in the original parameter object are obtained by using a reflection mechanism.
Step 3062, compare the attributes of the original parameter object containing the second annotation with the corresponding attributes of the target parameter object.
Step 3063, determining the update parameters of the target parameter object according to the comparison result.
And 307, acquiring one or more attributes contained in the target parameter object by using a reflection mechanism.
Step 3071, the attributes containing the second annotation in the target parameter object are used as the update parameters of the target parameter object.
And 308, generating an operation record according to the session object, the module information and the update parameters.
Step 309, sending a second operation instruction to the persistent layer framework, where the second operation instruction is used to instruct the persistent layer framework to complete the operation on the database.
In this step, the operation record is stored in the Redis database, and when the generation process of the database operation record is finished, the interceptor stops the interception process of the database operated by the persistent layer framework, and sends a second operation instruction to the persistent layer framework to instruct the persistent layer framework to continue to finish the operation on the database.
The embodiment of the invention detects that the persistent layer framework operates the target parameter object in the database through the interceptor, acquires the target parameter object containing the first annotation, then acquires the session object, the module information and the update parameter of the current operation process, finally generates the operation record matched with the current operation process, and indicates the persistent layer framework to continue to complete the operation on the database. The embodiment of the invention solves the problem of incompatibility of the operation record generation methods caused by different functions of modules in the product background, provides a general operation record generation method for the product background modules on the premise of not influencing the operation database of the persistent layer framework, ensures the traceability of user operation, does not need to develop an operation record module separately for each background configuration module, and reduces the development cost and the maintenance cost for generating the background operation record.
EXAMPLE III
Fig. 4 is a structural diagram of an operation record generating apparatus according to a third embodiment of the present invention, where the apparatus includes: a target parameter object acquisition module 410, a session object and module information acquisition module 420, an update parameter determination module 430, and an operation record generation module 440.
The target parameter object obtaining module 410 is configured to obtain a target parameter object when detecting that the persistent layer framework operates the target parameter object in the database; a session object and module information obtaining module 420, configured to obtain session object and module information of the current operation process under the condition that the target parameter object includes the first annotation; an update parameter determination module 430, configured to determine an update parameter of the target parameter object; and an operation record generating module 440, configured to generate an operation record according to the session object, the module information, and the update parameter.
According to the technical scheme of the embodiment, the target parameter object is firstly acquired, then the session object and the module information of the current operation process are acquired under the condition that the target parameter object contains the first annotation, the updating parameter of the target parameter object is determined, and finally the operation record is generated according to the session object, the module information and the updating parameter. The embodiment of the invention solves the problem that the operation record generation methods are incompatible due to different functions of modules in the product background, provides a general operation record generation method for the product background modules, ensures the traceability of user operation, does not need to develop an operation record module for each background configuration module, and reduces the development cost and the maintenance cost for generating the background operation record.
On the basis of the above embodiments, the update parameter determining module 430 may include:
a judging unit for judging whether the target parameter object contains a primary key;
the original parameter object query unit is used for querying an original parameter object corresponding to the target parameter object according to the primary key;
the original parameter object attribute acquisition unit is used for acquiring one or more attributes contained in the original parameter object by using a reflection mechanism;
the comparison unit is used for comparing the attribute containing the second annotation in the original parameter object with the corresponding attribute in the target parameter object;
the first updating parameter determining unit is used for determining the updating parameters of the target parameter object according to the comparison result;
the target parameter object attribute acquisition unit is used for acquiring one or more attributes contained in the target parameter object by using a reflection mechanism;
and the second updating parameter determining unit is used for taking the attribute containing the second annotation in the target parameter object as the updating parameter of the target parameter object.
The session object and module information obtaining module 420 may include:
the first annotation judging unit is used for judging whether the target parameter object contains a first annotation or not;
and the first operation instruction sending unit is used for sending a first operation instruction to the persistent layer framework under the condition that the target parameter object does not contain the first annotation, and the first operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
The operation record generating module 440 may include:
and the second operation instruction sending unit is used for sending a second operation instruction to the persistent layer framework, and the second operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
The operation record generation device provided by the embodiment of the invention can execute the operation record generation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a schematic structural diagram of a computer apparatus according to a fourth embodiment of the present invention, as shown in fig. 5, the computer apparatus includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the computer device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 520, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to an operation record generation method in an embodiment of the present invention (for example, the target parameter object acquisition module 410, the session object and module information acquisition module 420, the update parameter determination module 430, and the operation record generation module 440 in an operation record generation apparatus). The processor 510 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 520, that is, implements one of the operation record generation methods described above. That is, the program when executed by the processor implements:
when detecting that the persistent layer framework operates the target parameter object in the database, acquiring the target parameter object;
if the target parameter object contains the first annotation, acquiring the session object and the module information of the current operation process;
determining an update parameter of a target parameter object;
and generating an operation record according to the session object, the module information and the update parameters.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus, and may include a keyboard and a mouse, etc. The output device 540 may include a display device such as a display screen.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an operation record generating method according to any embodiment of the present invention. Of course, the computer-readable storage medium provided in the embodiments of the present invention may perform related operations in the operation record generation method provided in any embodiment of the present invention. That is, the program when executed by the processor implements:
when detecting that the persistent layer framework operates the target parameter object in the database, acquiring the target parameter object;
if the target parameter object contains the first annotation, acquiring the session object and the module information of the current operation process;
determining an update parameter of a target parameter object;
and generating an operation record according to the session object, the module information and the update parameters.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the operation record generating apparatus, the units and modules included in the operation record generating apparatus are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An operation record generation method, characterized by comprising:
when detecting that a persistent layer framework operates a target parameter object in a database, acquiring the target parameter object;
if the target parameter object contains the first annotation, acquiring the session object and the module information of the current operation process;
determining an update parameter of the target parameter object;
and generating an operation record according to the session object, the module information and the update parameters.
2. The method of claim 1, wherein determining updated parameters of the target parameter object comprises:
judging whether the target parameter object contains a primary key or not;
if yes, inquiring an original parameter object corresponding to the target parameter object according to the primary key;
acquiring one or more attributes contained in the original parameter object by using a reflection mechanism;
comparing the attribute containing the second annotation in the original parameter object with the corresponding attribute in the target parameter object;
and determining the updating parameters of the target parameter object according to the comparison result.
3. The method of claim 2, after determining whether the target parameter object contains a primary key, further comprising:
if not, acquiring one or more attributes contained in the target parameter object by using a reflection mechanism;
and taking the attribute containing the second annotation in the target parameter object as the update parameter of the target parameter object.
4. The method of claim 1, after obtaining a target parameter object in a database when the persistent layer framework is detected to operate on the target parameter object, comprising:
judging whether the target parameter object contains a first annotation or not;
if not, sending a first operation instruction to the persistent layer framework, wherein the first operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
5. The method of claim 1, wherein the persistence tier framework is a Mybatis persistence tier framework.
6. The method of claim 1,
and the session object, the module information and the operation record are stored in a Redis database.
7. The method of claim 1, after generating an operation record according to the session object, module information, and update parameters, comprising:
and sending a second operation instruction to the persistent layer framework, wherein the second operation instruction is used for indicating the persistent layer framework to finish the operation on the database.
8. An operation record generation apparatus characterized by comprising:
the target parameter object acquisition module is used for acquiring a target parameter object when detecting that the persistent layer framework operates the target parameter object in the database;
the session object and module information acquisition module is used for acquiring the session object and module information of the current operation process under the condition that the target parameter object contains the first annotation;
the updating parameter determining module is used for determining the updating parameter of the target parameter object;
and the operation record generating module is used for generating operation records according to the session object, the module information and the updating parameters.
9. A computing device, wherein the computing device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement an operation record generation method as recited in any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out an operation record generation method according to any one of claims 1 to 7.
CN201911294876.0A 2019-12-16 2019-12-16 Operation record generation method and device, computer equipment and storage medium Active CN111047434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911294876.0A CN111047434B (en) 2019-12-16 2019-12-16 Operation record generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911294876.0A CN111047434B (en) 2019-12-16 2019-12-16 Operation record generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111047434A true CN111047434A (en) 2020-04-21
CN111047434B CN111047434B (en) 2023-10-03

Family

ID=70236717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911294876.0A Active CN111047434B (en) 2019-12-16 2019-12-16 Operation record generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111047434B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021135114A1 (en) * 2020-06-05 2021-07-08 平安科技(深圳)有限公司 Cluster environment-based telephone session management method, apparatus, and computer device
CN114154944A (en) * 2021-11-03 2022-03-08 广州市玄武无线科技股份有限公司 Business auditing method, equipment and computer readable storage medium
CN114489907A (en) * 2022-01-29 2022-05-13 国泰新点软件股份有限公司 System operation guiding method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010562A1 (en) * 2003-04-30 2005-01-13 Fumio Nagasaka File management method, file management device, annotation information generation method, and annotation information generation device
US20140113263A1 (en) * 2012-10-20 2014-04-24 The University Of Maryland, Baltimore County Clinical Training and Advice Based on Cognitive Agent with Psychological Profile
CN106484792A (en) * 2016-09-22 2017-03-08 深圳市分期乐网络科技有限公司 A kind of data power supply management method for Persistence Layer Framework and device
CN109636334A (en) * 2018-12-07 2019-04-16 深圳市汇鑫科技股份有限公司 A kind of property intelligence community service system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010562A1 (en) * 2003-04-30 2005-01-13 Fumio Nagasaka File management method, file management device, annotation information generation method, and annotation information generation device
US20140113263A1 (en) * 2012-10-20 2014-04-24 The University Of Maryland, Baltimore County Clinical Training and Advice Based on Cognitive Agent with Psychological Profile
CN106484792A (en) * 2016-09-22 2017-03-08 深圳市分期乐网络科技有限公司 A kind of data power supply management method for Persistence Layer Framework and device
CN109636334A (en) * 2018-12-07 2019-04-16 深圳市汇鑫科技股份有限公司 A kind of property intelligence community service system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021135114A1 (en) * 2020-06-05 2021-07-08 平安科技(深圳)有限公司 Cluster environment-based telephone session management method, apparatus, and computer device
CN114154944A (en) * 2021-11-03 2022-03-08 广州市玄武无线科技股份有限公司 Business auditing method, equipment and computer readable storage medium
CN114154944B (en) * 2021-11-03 2023-04-07 广州市玄武无线科技股份有限公司 Business auditing method, equipment and computer readable storage medium
CN114489907A (en) * 2022-01-29 2022-05-13 国泰新点软件股份有限公司 System operation guiding method, device and storage medium
CN114489907B (en) * 2022-01-29 2024-03-12 国泰新点软件股份有限公司 System operation guiding method, device and storage medium

Also Published As

Publication number Publication date
CN111047434B (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN111047434B (en) Operation record generation method and device, computer equipment and storage medium
CN111339171B (en) Data query method, device and equipment
US11176169B2 (en) Recommending visual and execution templates to enable automation of control and data exploration across systems
CN109361628B (en) Message assembling method and device, computer equipment and storage medium
CN110580189A (en) method and device for generating front-end page, computer equipment and storage medium
CN115438087B (en) Data query method, device, storage medium and equipment based on cache library
CN107491463B (en) Optimization method and system for data query
WO2020259034A1 (en) Method, apparatus, and device for identifying offline source code, and storage medium
CN112800197A (en) Method and device for determining target fault information
CN104520821A (en) Dynamic directory controls
CN109040089B (en) Network policy auditing method, equipment and computer readable storage medium
CN114564856B (en) Data sharing method based on FMEA and electronic equipment
US11227005B2 (en) Gesture-based database actions
CN111368039B (en) Data management system
US20180196886A1 (en) Devices and methods for implementing dynamic collaborative workflow systems
CN110851446B (en) Data table generation method and device, computer equipment and storage medium
CN112199426A (en) Interface call management method, device, server and medium under micro-service architecture
CN111078736A (en) Data aggregation processing method and device, terminal and storage medium
CN112486815B (en) Analysis method and device of application program, server and storage medium
US20190370259A1 (en) Devices and methods for implementing dynamic collaborative workflow systems
US11880699B2 (en) Platform to control one or more systems and explore data across one or more systems
CN113535320B (en) Data access method, device, equipment and storage medium
CN111124923A (en) Running state query method and device, server equipment and storage medium
CN115292130A (en) Target program information acquisition method and device
CN111078211A (en) Method, device, equipment and storage medium for creating data processing tool

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210305

Address after: 518000 room 602, building B, Kingdee Software Park, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen kaniu Technology Co.,Ltd.

Address before: 518000 room 402, building B, Kingdee Software Park, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Suishou Xinke Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant