CN112433987A - Track recording method and device for file maintenance and electronic equipment - Google Patents
Track recording method and device for file maintenance and electronic equipment Download PDFInfo
- Publication number
- CN112433987A CN112433987A CN202011379676.8A CN202011379676A CN112433987A CN 112433987 A CN112433987 A CN 112433987A CN 202011379676 A CN202011379676 A CN 202011379676A CN 112433987 A CN112433987 A CN 112433987A
- Authority
- CN
- China
- Prior art keywords
- file
- track
- module
- user
- operation track
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012423 maintenance Methods 0.000 title claims abstract description 22
- 238000011022 operating instruction Methods 0.000 claims abstract description 6
- 230000004044 response Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 5
- 230000000717 retained effect Effects 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 238000012550 audit Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
- G06F16/134—Distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
One or more embodiments of the present specification provide a method and an apparatus for recording a track of file maintenance, and an electronic device. The method comprises the following steps: receiving an operation instruction of a first user on a first file; operating the first file according to the operating instruction to generate a second file and a file operating track of the second file; and storing the file operation track in an ElasticSearch module. According to the method, the device and the electronic equipment in the embodiment of the specification, the file operation track is recorded through the elastic search module, the operation track can be traced back in time according to the file operation track, and the query efficiency of the file operation track is improved.
Description
Technical Field
One or more embodiments of the present disclosure relate to the field of file track technologies, and in particular, to a track recording method and apparatus for file maintenance, and an electronic device.
Background
With the continuous development of information network technology and company business, more and more application systems are available in companies, different application systems may operate the same file for multiple times, and system logs are used to record operation tracks.
However, the way of recording the file operation track through the log is not intuitive; moreover, for the application with a large request amount, it is time-consuming and labor-consuming to search the file operation track in the log.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide a method and an apparatus for recording a track of file maintenance, and an electronic device, so as to solve the problem in the prior art that it is inconvenient to search an operation track of a file through log recording.
In view of the above, one or more embodiments of the present specification provide a track recording method for file maintenance, including:
receiving an operation instruction of a first user on a first file;
operating the first file according to the operating instruction to generate a second file and a file operating track of the second file;
and storing the file operation track in an ElasticSearch module.
Optionally, the operating the first file according to the operation instruction includes:
acquiring an instruction interface corresponding to the operation instruction;
and calling the instruction interface to operate the first file.
Optionally, while generating the second file, the first file is retained and a system index field of the first file is modified, so that the first file cannot be operated by the first user.
Optionally, the method further includes:
receiving an operation track query request of a second user for the second file;
acquiring file identification information of the second file based on the operation track query request;
and searching in the ElasticSearch module based on the file identification information to obtain a file operation track of the second file.
Optionally, after the obtaining of the file operation track of the second file, the method further includes:
acquiring basic information of the second file according to the file operation track;
determining the basic information of the first file according to the basic information of the second file;
and calling the ElasticSearch module to search according to the basic information of the first file to obtain the first file.
Optionally, after the obtaining of the file operation track of the second file, the method further includes:
and calling a Kibana module to generate a statistical chart according to the file operation track and providing the statistical chart for the second user.
Optionally, the operating the first file includes:
and uploading, downloading, breakpoint resuming, inquiring and deleting the first file.
Optionally, the file operation track includes file identification information, an interface type, a logic bucket, operation user information, and a response result.
One or more embodiments of the present specification provide a track recording apparatus for file maintenance, including:
the receiving module is used for receiving an operation instruction of a first user on a first file;
the generating module is used for operating the first file according to the operating instruction to generate a second file and a file operating track of the second file;
and the storage module is used for storing the file operation track in an ElasticSearch module.
One or more embodiments of the present specification provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the track recording method of file maintenance according to any one of the above embodiments.
As can be seen from the above, in the track recording method, the device, and the electronic device for file maintenance provided in one or more embodiments of the present disclosure, when a first file is operated, an elastic search module is called to generate a corresponding file operation track and the file operation track is stored in the elastic search module, where the file operation track distinguishes the call volume and the average response time of different interfaces according to applications, so as to facilitate observation of the running state of a core interface, and enable a user operation flow to be reproduced through the track, so that the track is traceable; by utilizing the search function of the ElasticSearch module, the file operation track can be directly searched through the ElasticSearch module, so that the whole operation process of the file can be traced, and the query efficiency of the file operation track is improved; when someone tampers or deletes the file by mistake, the operation track can be traced back in time according to the file operation track, and the method can play a role in scenes such as audit, case detection, legal dispute and the like.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, and it is obvious that the drawings in the following description are only one or more embodiments of the present specification, and that other drawings may be obtained by those skilled in the art without inventive effort from these drawings.
FIG. 1 is a flow diagram of a trace recording method for file maintenance according to one or more embodiments of the present disclosure;
FIG. 2 is a block diagram of a track recording device for file maintenance according to one or more embodiments of the present disclosure;
fig. 3 is a structure of an electronic device according to one or more embodiments of the present disclosure.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It is to be noted that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present specification should have the ordinary meaning as understood by those of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in one or more embodiments of the specification is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
In the prior art, when uploading, downloading, retrieving, transcoding, deleting and other operations are performed on a file, a file operation track is recorded through a log function of a file system. However, the method for recording the file operation track by the application system through the log is not intuitive; moreover, for the application with a large request amount, it is time-consuming and labor-consuming to search the file operation track in the log.
For the above reasons, one or more embodiments of the present disclosure provide a track recording method for file maintenance to solve the above technical problems. As shown in fig. 1, the track recording method for file maintenance includes:
step S101, receiving an operation instruction of a first user on a first file.
When the first user needs to operate the first file, an operation instruction for the first file is generated and sent to the file management system. The file management system may store the first file.
In this embodiment, the first user is an application party capable of operating the first file, and each application party realizes the operation on the first file through its own application system. The operation instruction comprises operation instructions for uploading, downloading, breakpoint resuming, inquiring, deleting and the like of the first file.
Step S103, operating the first file according to the operating instruction, and generating a second file and a file operating track of the second file.
And the file management system operates the first file based on the operation instruction, obtains a second file and continuously stores the second file in the file management system, and in the process, an ElasticSearch module is called to generate index information of the second file and simultaneously generate a file operation track.
In this embodiment, the operation on the first file includes operations of uploading, downloading, resuming from a breakpoint, querying, deleting, and the like on the first file.
Step S105, storing the file operation track in an ElasticSearch module.
The Elasticissearch is a distributed, highly-extended and highly-real-time search and data analysis engine. It can conveniently make a large amount of data have the capability of searching, analyzing and exploring. The horizontal flexibility of the elastic search is fully utilized, so that the data becomes more valuable in a production environment. The implementation principle of the Elasticsearch is mainly divided into the following steps: firstly, a user submits data to an Elasticissearch database, then a participle controller divides corresponding sentences into words, the weights and the participle results are stored in the data, when the user searches the data, the results are ranked and scored according to the weights, and then the returned results are presented to the user.
In the embodiment, when a first file is operated, an elastic search module is called to generate a corresponding file operation track and the corresponding file operation track is stored in the elastic search module, the file operation track distinguishes the calling amount and the average response time of different interfaces according to application, the running state of a core interface is convenient to observe, a user operation flow can be reproduced through the track, and the tracking is realized; by utilizing the search function of the ElasticSearch module, the file operation track can be directly searched through the ElasticSearch module, so that the whole operation process of the file can be traced, and the query efficiency of the file operation track is improved; when someone tampers or deletes the file by mistake, the operation track can be traced back in time according to the file operation track, so that the method can play a role in scenes such as audit, case detection, legal dispute and the like.
In some optional embodiments of the present specification, the operating the first file according to the operation instruction in step S103 includes:
step S201, acquiring an instruction interface corresponding to the operation instruction.
Step S203, invoking the instruction interface to operate the first file.
In this embodiment, each core interface records successful and failed file track information, can locate a specific file source and specific file information, record an interface type, time consumption and a response result, can locate system response capability and interface concurrency, and traces back an application calling mode, specific equipment, a system version and the like by calling key index information such as an equipment type, component version information, serial numbers and the like.
In some optional embodiments of the present specification, in step S103, while generating the second file, the first file is retained and a system index field of the first file is modified, so that the first file cannot be operated by the first user.
In the prior art, after a first file is operated to generate a second file, only the second file is reserved, but the first file is not reserved. For example, after the first file is modified to obtain the second file, only the modified second file is reserved, and the first file before modification is not reserved. In the embodiment of the present specification, the index information of the first file is modified or new index information is generated as the index of the second file, and the first file is still retained, but only the system index field of the first file is modified, so that the first file cannot be downloaded, queried by a single user, updated by the index, reversely queried by the index, updated in batches, replaced by the file, and the like. Thus, the first file before being manipulated is not visible to the first user.
In a specific embodiment, taking a deletion operation as an example, the track recording method for file maintenance includes:
step S301, receiving a logic deletion instruction of a first user to a first file.
Step S303, based on the logic deleting instruction, modifying the system index field of the first file to make the first file invisible to the first user, and completing the logic deleting of the first file.
In this embodiment, when a first file is deleted, the system index field (x-cms-system-meta-permission) information of the first file is modified to 03, so that the first file cannot be downloaded, queried by a single index, updated by an index, queried reversely by an index, updated in batches, and replaced by a file by a first user; that is, the first file is still stored in the underlying medium and is not deleted, but only the first file with the system index field (x-cms-system-meta-permission) being 03 is shielded in the interfaces of downloading, single index query, index update, index anti-query, batch update, file replacement, and the like. Thus, the deleted first file is invisible to the first user, which is equivalent to a true deletion. If misoperation occurs, the first file can be retrieved only by the interface which can not shield the system index field to 03, so that even if the first file is deleted due to misoperation of a first user, the first file can be retrieved, and thus, a business accident can be avoided.
The track recording method for file maintenance according to one or more embodiments of the present specification further includes:
step S401, receiving an operation track query request of a second user for the second file.
In this embodiment, the second user has different permissions from the first user; the first user can realize the operation on the first file, but cannot inquire the first file of which the system index field is modified into 03; the second user can inquire the operation track of the file and can inquire the first file with the system index field modified to be 03.
Step S402, obtaining the file identification information of the second file based on the operation track query request.
In this embodiment, the file operation track includes information such as file identification information, interface type, logic bucket, operation user information, and response result. In addition, time consumption, component version information, calling device type, serial number, description information (including job number and execution result) and the like can be included.
After receiving an operation track query request of a second user for a second file, the system analyzes the operation track query request to obtain file identification information of the second file, so that all file operation tracks of the second file can be queried in the ElasticSearch module.
Step S403, based on the file identification information, searching in the ElasticSearch module, and acquiring a file operation track of the second file.
Optionally, after the file operation track is obtained, information such as information of the operation user, operation time, a type of calling device of the operation user, and the like may be determined according to the file operation track.
In a specific embodiment, all logically deleted records can be queried by querying a file operation track record with trace _ type of "D" in an elastic search module; and the deleted specific file can be positioned through specific file identification information (x-cms-system-meta-id), the file can be positioned by which and when the file is deleted through trace _ info and trace _ date, and the application device type can be positioned through trace _ device _ type.
In the above embodiment, since the first file is still retained after the operation is performed on the first file, the first file can be queried through other users and interfaces. Therefore, the track recording method for file maintenance according to one or more embodiments of the present specification further includes:
step S501, obtaining the basic information of the second file according to the file operation track.
Step S502, according to the basic information of the second file, determining the basic information of the first file.
Step S503, according to the basic information of the first file, calling the ElasticSearch module to perform a search, and acquiring the first file.
In this embodiment, the first file that cannot be operated by the first user due to the modification of the system index field is visible to the second user, that is, can be operated by the second user. Therefore, after all file operation tracks are obtained, the basic information of the second file, including file identification information, calling device type, component version information, serial number and the like, can be determined according to the file operation tracks. And in the process of generating the second file from the first file, part of the basic information does not change, so that the basic information of the first file can be determined in the basic information of the second file, and finally, an ElasticSearch module is called to search so as to obtain the first file.
In the above embodiment, after the file operation trajectory of the second file is obtained, a Kibana module may be invoked to generate a statistical chart according to the file operation trajectory and provide the statistical chart to the second user. Various statistical charts are generated through the Kibana module, track information is recorded in an asynchronous thread pool mode, request response time is shortened, and display of file operation tracks is enabled to be more visual.
In the track recording method for file maintenance in the embodiment of the present specification, by recording the file operation track in the elastic search module, the user operation flow can be reproduced through the file operation track, and the trace can be circulated; by utilizing the search function of the ElasticSearch module, the file operation track can be directly searched through the ElasticSearch module, so that the whole operation process of the file can be traced, and the query efficiency of the file operation track is improved; when someone tampers or deletes the file by mistake, the operation track can be traced back in time according to the file operation track, and the method can play a role in scenes such as audit, case detection, legal dispute and the like.
It should be noted that the method of one or more embodiments of the present disclosure may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of one or more embodiments of the present disclosure, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, one or more embodiments of the present specification further provide a track recording apparatus for file maintenance. As shown in fig. 2, the track recording apparatus for file maintenance includes:
the receiving module 11 is configured to receive an operation instruction of a first user on a first file.
The generating module 12 is configured to operate the first file according to the operation instruction, and generate a second file and a file operation track of the second file.
And the storage module 13 is configured to store the file operation track in an ElasticSearch module.
Optionally, the generating module 12 is further configured to: acquiring an instruction interface corresponding to the operation instruction; and calling the instruction interface to operate the first file.
Optionally, the generating module 12 is further configured to: and while generating a second file, reserving the first file and modifying a system index field of the first file to enable the first file not to be operated by the first user.
Optionally, the apparatus is further configured to implement: receiving an operation track query request of a second user for the second file; acquiring file identification information of the second file based on the operation track query request; and searching in the ElasticSearch module based on the file identification information to obtain a file operation track of the second file.
Optionally, after the obtaining of the file operation track of the second file, the method further includes:
acquiring basic information of the second file according to the file operation track;
determining the basic information of the first file according to the basic information of the second file;
and calling the ElasticSearch module to search according to the basic information of the first file to obtain the first file.
Optionally, after the obtaining of the file operation track of the second file, the method further includes:
and calling a Kibana module to generate a statistical chart according to the file operation track and providing the statistical chart for the second user.
Optionally, the operating the first file includes: and uploading, downloading, breakpoint resuming, inquiring and deleting the first file.
Optionally, the file operation track includes file identification information, an interface type, a logic bucket, operation user information, and a response result.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the modules may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, and corresponding to any of the above-mentioned embodiments, one or more embodiments of the present specification further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the file maintenance track recording method according to any of the above-mentioned embodiments.
Fig. 3 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the spirit of the present disclosure, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present description as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures, for simplicity of illustration and discussion, and so as not to obscure one or more embodiments of the disclosure. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the understanding of one or more embodiments of the present description, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
It is intended that the one or more embodiments of the present specification embrace all such alternatives, modifications and variations as fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of one or more embodiments of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (10)
1. A track recording method for file maintenance is characterized by comprising the following steps:
receiving an operation instruction of a first user on a first file;
operating the first file according to the operating instruction to generate a second file and a file operating track of the second file;
and storing the file operation track in an ElasticSearch module.
2. The method according to claim 1, wherein the operating the first file according to the operation instruction comprises:
acquiring an instruction interface corresponding to the operation instruction;
and calling the instruction interface to operate the first file.
3. The method of claim 1, wherein the first file is retained and a system index field of the first file is modified while the second file is generated, such that the first file cannot be manipulated by the first user.
4. The method of claim 3, further comprising:
receiving an operation track query request of a second user for the second file;
acquiring file identification information of the second file based on the operation track query request;
and searching in the ElasticSearch module based on the file identification information to obtain a file operation track of the second file.
5. The method according to claim 4, wherein after the obtaining the file operation track of the second file, further comprising:
acquiring basic information of the second file according to the file operation track;
determining the basic information of the first file according to the basic information of the second file;
and calling the ElasticSearch module to search according to the basic information of the first file to obtain the first file.
6. The method according to claim 4, wherein after the obtaining the file operation track of the second file, further comprising:
and calling a Kibana module to generate a statistical chart according to the file operation track and providing the statistical chart for the second user.
7. The method of claim 1, wherein the operating on the first file comprises:
and uploading, downloading, breakpoint resuming, inquiring and deleting the first file.
8. The method of claim 1, wherein the file operation track comprises file identification information, interface type, logical bucket, operation user information, and response result.
9. A file-maintained track recording device, comprising:
the receiving module is used for receiving an operation instruction of a first user on a first file;
the generating module is used for operating the first file according to the operating instruction to generate a second file and a file operating track of the second file;
and the storage module is used for storing the file operation track in an ElasticSearch module.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the file maintenance trace recording method according to any one of claims 1 to 8 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011379676.8A CN112433987B (en) | 2020-11-30 | 2020-11-30 | File maintenance track recording method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011379676.8A CN112433987B (en) | 2020-11-30 | 2020-11-30 | File maintenance track recording method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112433987A true CN112433987A (en) | 2021-03-02 |
CN112433987B CN112433987B (en) | 2024-06-25 |
Family
ID=74698392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011379676.8A Active CN112433987B (en) | 2020-11-30 | 2020-11-30 | File maintenance track recording method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112433987B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488921A (en) * | 2009-02-24 | 2009-07-22 | 华为技术有限公司 | Packet track recording method and packet track recording apparatus |
CN104199900A (en) * | 2014-08-26 | 2014-12-10 | 中国航天科工集团第二研究院七〇六所 | Audit and analysis method based on file trajectory tracking trees |
CN104298930A (en) * | 2014-09-16 | 2015-01-21 | 中国科学院信息工程研究所 | Method and system for tracking movable media and electronic document circulation trajectories of movable media in LAN |
CN106407429A (en) * | 2016-09-27 | 2017-02-15 | 国家电网公司 | File tracking method, device and system |
CN108197200A (en) * | 2017-12-27 | 2018-06-22 | 金蝶软件(中国)有限公司 | Daily record method for tracing, device, computer equipment and storage medium |
CN109376121A (en) * | 2018-08-10 | 2019-02-22 | 南京华讯方舟通信设备有限公司 | A kind of document indexing system and method based on ElasticSearch full-text search |
CN110609779A (en) * | 2019-08-20 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
US20200341854A1 (en) * | 2019-04-26 | 2020-10-29 | EMC IP Holding Company LLC | Efficient Method to Find Changed Data between Indexed Data and New Backup |
-
2020
- 2020-11-30 CN CN202011379676.8A patent/CN112433987B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488921A (en) * | 2009-02-24 | 2009-07-22 | 华为技术有限公司 | Packet track recording method and packet track recording apparatus |
CN104199900A (en) * | 2014-08-26 | 2014-12-10 | 中国航天科工集团第二研究院七〇六所 | Audit and analysis method based on file trajectory tracking trees |
CN104298930A (en) * | 2014-09-16 | 2015-01-21 | 中国科学院信息工程研究所 | Method and system for tracking movable media and electronic document circulation trajectories of movable media in LAN |
CN106407429A (en) * | 2016-09-27 | 2017-02-15 | 国家电网公司 | File tracking method, device and system |
CN108197200A (en) * | 2017-12-27 | 2018-06-22 | 金蝶软件(中国)有限公司 | Daily record method for tracing, device, computer equipment and storage medium |
CN109376121A (en) * | 2018-08-10 | 2019-02-22 | 南京华讯方舟通信设备有限公司 | A kind of document indexing system and method based on ElasticSearch full-text search |
US20200341854A1 (en) * | 2019-04-26 | 2020-10-29 | EMC IP Holding Company LLC | Efficient Method to Find Changed Data between Indexed Data and New Backup |
CN110609779A (en) * | 2019-08-20 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
王文宇;: "文件运动轨迹追踪技术的研究及实现", 计算机***应用, no. 04 * |
黄步根;: "存储介质上电子证据的发现和提取技术", 计算机应用与软件, no. 01 * |
Also Published As
Publication number | Publication date |
---|---|
CN112433987B (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107463693B (en) | Data processing method, device, terminal and computer readable storage medium | |
CN109471851B (en) | Data processing method, device, server and storage medium | |
CN109471626B (en) | Page logic structure, page generation method, page data processing method and device | |
CN109978565B (en) | Product packaging data management method and device, terminal equipment and readable storage medium | |
CN113448562B (en) | Automatic logic code generation method and device and electronic equipment | |
CN112416710A (en) | User operation recording method and device, electronic equipment and storage medium | |
CN112464625A (en) | Receipt generation method and device, computer equipment and storage medium | |
CN103150145A (en) | Parallel processing of semantically grouped data in data warehouse environments | |
CN102214093A (en) | Search extensibility to third party applications | |
CN111339098A (en) | Authority management method, data query method and device | |
CN116974929A (en) | Automatic test tool construction method, automatic test method and related equipment thereof | |
CN112433987A (en) | Track recording method and device for file maintenance and electronic equipment | |
CN116628773A (en) | Data processing method, device, electronic equipment and storage medium | |
US9286348B2 (en) | Dynamic search system | |
US11640414B2 (en) | Generating workflow, report, interface, conversion, enhancement, and forms (WRICEF) objects for enterprise software | |
CN114385155A (en) | vue project visualization tool generation method, device, equipment and storage medium | |
JP2018045619A (en) | Analysis program, analysis method, and analysis device | |
CN114070892A (en) | Data transmission method and device | |
CN113110846A (en) | Method and device for acquiring environment variable | |
CN113238750A (en) | Case form designer and target form interface generation method | |
CN111209062A (en) | Information acquisition method and device, electronic equipment and computer storage medium | |
CN111459547A (en) | Method and device for displaying function call link | |
CN112181407A (en) | Service implementation processing method, device, system, electronic equipment and storage medium | |
CN117056343B (en) | Multi-source data management method and system in power grid field and electronic equipment | |
JP2020024533A (en) | Analysis support method and analysis support program |
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 | ||
GR01 | Patent grant |