CN112433987B - File maintenance track recording method and device and electronic equipment - Google Patents

File maintenance track recording method and device and electronic equipment Download PDF

Info

Publication number
CN112433987B
CN112433987B CN202011379676.8A CN202011379676A CN112433987B CN 112433987 B CN112433987 B CN 112433987B CN 202011379676 A CN202011379676 A CN 202011379676A CN 112433987 B CN112433987 B CN 112433987B
Authority
CN
China
Prior art keywords
file
track
user
operation track
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.)
Active
Application number
CN202011379676.8A
Other languages
Chinese (zh)
Other versions
CN112433987A (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.)
China Life Insurance Co ltd
Original Assignee
China Life Insurance 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 China Life Insurance Co ltd filed Critical China Life Insurance Co ltd
Priority to CN202011379676.8A priority Critical patent/CN112433987B/en
Publication of CN112433987A publication Critical patent/CN112433987A/en
Application granted granted Critical
Publication of CN112433987B publication Critical patent/CN112433987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/134Distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling 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 disclosure provide a track recording method, apparatus, and electronic device for file maintenance. 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 operation instruction, and generating a second file and a file operation track of the second file; the file operation track is stored in an elastic search module. According to the method, the device and the electronic equipment, the file operation track is recorded through the elastic search module, the operation track can be traced in time according to the file operation track, and the query efficiency of the file operation track is improved.

Description

File maintenance track recording method and device and electronic equipment
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 exist in the company, different application systems may operate on the same file multiple times, and record operation tracks by adopting a system log.
However, the way the file operation track is recorded by the log is not intuitive; moreover, for applications with larger request amount, searching the file operation track in the log is time-consuming and labor-consuming.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure are directed to a track recording method, apparatus and electronic device for file maintenance, so as to solve the problem in the prior art that the track is inconvenient to find by logging the file operation.
In view of the above object, one or more embodiments of the present disclosure 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 operation instruction, and generating a second file and a file operation track of the second file;
the file operation track is stored in an elastic search 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 on the first file.
Optionally, the second file is generated while the first file is maintained and the 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 comprises:
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 elastic search module based on the file identification information to acquire a file operation track of the second file.
Optionally, after the obtaining 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 elastic search module to search according to the basic information of the first file to acquire the first file.
Optionally, after the obtaining the file operation track of the second file, the method further includes:
and calling Kibana a module to generate a statistical chart according to the file operation track and providing the statistical chart for the second user.
Optionally, the operating on the first file includes:
and uploading, downloading, breakpoint continuous transmission, inquiring and deleting the first file.
Optionally, the file operation track includes file identification information, interface type, logical bucket, operation user information and 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 the first file;
The generating module is used for operating the first file according to the operation instruction and generating a second file and a file operation track of the second file;
and the storage module is used for storing the file operation track in the elastic search module.
One or more embodiments of the present disclosure provide an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the track recording method for file maintenance according to any one of the embodiments above when the program is executed by the processor.
As can be seen from the foregoing, in the track recording method, apparatus and 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 stored in the elastic search module, the file operation track distinguishes the call volumes and average response times of different interfaces according to applications, so that the running state of a core interface is convenient to observe, and the user operation flow can be reproduced through the track, so that tracking can be achieved; by utilizing the searching function of the elastic search module, the file operation track can be directly searched by the elastic search module, so that the whole operation flow of the file can be traced, and the query efficiency of the file operation track is improved; when someone falsifies or deletes the file by mistake, the operation track can be traced back in time according to the operation track of the file, and the method can play a role in the scenes of audit, case detection, legal disputes and the like.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are necessary for the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only one or more embodiments of the present description, from which other drawings can be obtained, without inventive effort, for a person skilled in the art.
FIG. 1 is a flow chart of a track 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 maintained by one or more embodiments of the present disclosure;
Fig. 3 is a diagram of the structure of an electronic device in accordance with one or more embodiments of the present disclosure.
Detailed Description
For the purposes of promoting an understanding of the principles and advantages of the disclosure, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same.
It is noted that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present disclosure should be taken in a general sense as understood by one of ordinary skill in the art to which the present disclosure pertains. The use of the terms "first," "second," and the like in one or more embodiments of the present description does not denote any order, quantity, or importance, but rather the terms "first," "second," and the like are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited 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, the operation track of the file is recorded through the log function of the file system. However, the method of recording the file operation track by the application system through the log is not intuitive; moreover, for applications with larger request amount, searching the file operation track in the log is time-consuming and labor-consuming.
For the foregoing reasons, one or more embodiments of the present disclosure provide a track recording method for file maintenance, so as to solve the foregoing technical problems. As shown in fig. 1, the track recording method for file maintenance includes:
step S101, an operation instruction of a first user on a first file is received.
When the first user needs to operate the first file, an operation instruction aiming at 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 that can operate the first file, and each application party implements the operation on the first file through each application system. The operation instructions comprise operation instructions for uploading, downloading, breakpoint continuous transmission, inquiring, deleting and the like of the first file.
Step S103, operating the first file according to the operation instruction, and generating a second file and a file operation track of the second file.
And the file management system operates the first file based on the operation instruction to obtain a second file, and the second file is continuously stored in the file management system.
In this embodiment, the operation on the first file includes operations such as uploading, downloading, breakpoint continuous transmission, querying, deleting, and the like on the first file.
Step S105, storing the file operation track in an elastic search module.
The elastiscearch is a distributed, high-expansion, high-real-time search and data analysis engine. The method can conveniently enable a large amount of data to have the capabilities of searching, analyzing and exploring. The horizontal scalability of the elastomer search is fully utilized, enabling the data to become more valuable in a production environment. The implementation principle of the elastic search is mainly divided into the following steps: firstly, a user submits data to an elastic search database, then a word segmentation controller is used for word segmentation of corresponding sentences, the weight and word segmentation results are stored into the data together, when the user searches the data, the results are ranked and scored according to the weight, and then the returned results are presented to the user.
In this embodiment, when the first file is operated, the 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, and the file operation track distinguishes the calling amount and the average response time of different interfaces according to the application, so that the running state of the core interface is convenient to observe, and the user operation flow can be reproduced through the track, so that the trace can be circulated; by utilizing the searching function of the elastic search module, the file operation track can be directly searched by the elastic search module, so that the whole operation flow of the file can be traced, and the query efficiency of the file operation track is improved; when someone falsifies or deletes the file by mistake, the operation track can be traced back in time according to the operation track of the file, thereby playing a role in the scenes of audit, case detection, legal disputes and the like.
In some optional embodiments of the present disclosure, the operating the first file according to the operation instruction in step S103 includes:
Step S201, obtaining an instruction interface corresponding to the operation instruction.
Step S203, call the instruction interface to operate on the first file.
In this embodiment, each core interface records successful and failed file track information, can locate specific file sources and specific file information, records interface types, time consumption and response results, can locate system response capacity and interface concurrency, and trace back calling modes of application parties, specific equipment, system versions and the like by calling key index information such as equipment types, component version information, serial numbers and the like.
In some optional embodiments of the present disclosure, the second file is generated in step S103, while the first file is reserved 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 the first file is operated to generate the 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 disclosure, the index information of the first file is modified or new index information is generated as the index of the second file, while the first file is still maintained, but the system index field of the first file is modified so that the first file cannot be downloaded, queried by the first user, updated, queried by the index in reverse, more 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, a logic deleting instruction of the first user to the first file is received.
Step S303, based on the logic deleting instruction, modifying a 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 the first file is deleted, by modifying the system index field (x-cms-system-meta-permission) information of the first file to 03, the first file cannot be downloaded, queried by a single index, updated by the first user, queried by an index reverse, updated in batches, and replaced by the file; i.e., the first file is still stored in the underlying medium and not deleted, but the first file with system index field (x-cms-system-meta-permission) 03 is masked in interfaces such as download, single index lookup, update index, index inverse lookup, batch update, file replacement, etc. So that the deleted first file is invisible to the first user, equivalent to a real deletion. If misoperation occurs, the first file can be retrieved only through the interface with the index field of the system being 03, so that even if the first user performs misoperation, the first file is deleted, the retrieval can be performed, and the service accident can be avoided.
The track recording method for file maintenance according to one or more embodiments of the present disclosure further includes:
Step S401, receiving an operation track query request of a second user for the second file.
In this embodiment, the second user and the first user have different rights; the first user can operate the first file, but cannot query the first file with the system index field modified to 03; the second user can query the file operation track and can query the first file with the system index field modified to 03.
Step S402, acquiring 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, logical bucket, operation user information, response result, and the like. In addition, time consuming, component version information, calling device type, serial number, description information (including job number, execution result), etc. may also be included.
After receiving an operation track inquiry request of a second user for the second file, the system analyzes the operation track inquiry request to obtain file identification information of the second file, so that all file operation tracks of the second file are inquired in an elastic search module.
Step S403, searching in the elastic search module based on the file identification information, to obtain a file operation track of the second file.
Optionally, after the file operation track is obtained, information such as operation user information, operation time, calling device type of the operation user and the like can be determined according to the file operation track.
In a specific embodiment, by querying the file operation track record with trace_type "D" in the elastic search module, all the records of logical deletion can be queried; the deleted specific file can be positioned through specific file identification information (x-cms-system-meta-id), and meanwhile, the deleted user and the deleted time of the file can be positioned through trace_info and trace_date, and the type of the application side equipment 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 may be queried through other users and interfaces. The track recording method for file maintenance according to one or more embodiments of the present disclosure further includes:
step S501, obtaining the basic information of the second file according to the file operation track.
Step S502, determining the basic information of the first file according to the basic information of the second file.
Step S503, calling the elastic search module to search according to the basic information of the first file, and obtaining the first file.
In this embodiment, the first file that cannot be operated by the first user is visible to the second user, i.e., can be operated by the second user, due to the modification of the system index field. Therefore, after all the file operation tracks are acquired, the basic information of the second file, including file identification information, calling equipment 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 basic information is unchanged, so that the basic information of the first file can be determined in the basic information of the second file, and finally, the elastic search module is called for searching so as to acquire the first file.
In the above embodiment, after the file operation track of the two files is obtained, the Kibana module may be called to generate a statistical chart according to the file operation track and provide the statistical chart to the second user. Various statistical charts are generated through the Kibana module, track information is recorded in a mode of using an asynchronous thread pool, request response time is reduced, and file operation tracks are displayed more intuitively.
According to the track recording method for file maintenance, the file operation track is recorded in the elastic search module, so that the user operation flow can be reproduced through the file operation track, and tracking can be realized; by utilizing the searching function of the elastic search module, the file operation track can be directly searched by the elastic search module, so that the whole operation flow of the file can be traced, and the query efficiency of the file operation track is improved; when someone falsifies or deletes the file by mistake, the operation track can be traced back in time according to the operation track of the file, and the method can play a role in the scenes of audit, case detection, legal disputes and the like.
It should be noted that the methods of one or more embodiments of the present description 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 is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of one or more embodiments of the present description, the devices interacting with each other to accomplish the methods.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can 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 are also possible or may be advantageous.
Based on the same inventive concept, one or more embodiments of the present disclosure further provide a track recording device for file maintenance, corresponding to the method of any embodiment. As shown in fig. 2, the track recording device for file maintenance includes:
The receiving module 11 is configured to receive an operation instruction of the first user on the first file.
And the generating module 12 is used for operating the first file according to the operation instruction and generating a second file and a file operation track of the second file.
A storage module 13, configured to store the file operation track in an elastic search 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 on the first file.
Optionally, the generating module 12 is further configured to: while generating the second file, retaining the first file and modifying a system index field of the first file such that the first file cannot 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 elastic search module based on the file identification information to acquire a file operation track of the second file.
Optionally, after the obtaining 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 elastic search module to search according to the basic information of the first file to acquire the first file.
Optionally, after the obtaining the file operation track of the second file, the method further includes:
and calling Kibana a module to generate a statistical chart according to the file operation track and providing the statistical chart for the second user.
Optionally, the operating on the first file includes: and uploading, downloading, breakpoint continuous transmission, inquiring and deleting the first file.
Optionally, the file operation track includes file identification information, interface type, logical bucket, operation user information and response result.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in one or more pieces of software and/or hardware when implementing one or more embodiments of the present description.
The device of the foregoing embodiment is configured to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, one or more embodiments of the present disclosure further provide an electronic device, which includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the track recording method for file maintenance according to any one of the embodiments when executing the program.
Fig. 3 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a 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, etc. for executing 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 ROM (Read Only Memory), RAM (Random Access Memory ), static storage, dynamic storage, etc. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; combinations of features of the above embodiments or in different embodiments are also possible within the spirit of the present disclosure, steps may be implemented in any order, and there are many other variations of the different aspects of one or more embodiments described above which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure one or more embodiments of the present description. Furthermore, the apparatus may be shown in block diagram form in order to avoid obscuring the one or more embodiments of the present description, and also in view of the fact that specifics with respect to implementation of such block diagram apparatus are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., such 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 in nature and not as restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present disclosure is intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Any omissions, modifications, equivalents, improvements, and the like, which are within the spirit and principles of the one or more embodiments of the disclosure, are therefore intended to be included within the scope of the disclosure.

Claims (7)

1. A track recording method for file maintenance, comprising:
Receiving an operation instruction of a first user on a first file;
Operating the first file according to the operation instruction, and generating a second file and a file operation track of the second file;
Storing the file operation track in an elastic search module;
The method further comprises the steps of:
While generating a second file, retaining the first file and modifying a system index field of the first file such that the first file cannot be operated by the first user; the first file is invisible to the first user;
The method further comprises the steps of:
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;
Searching in the elastic search module based on the file identification information to acquire a file operation track of the second file; the first file is visible to the second user;
after the obtaining 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; the basic information of the second file comprises file identification information, calling equipment type, component version information and serial number;
Determining the basic information of the first file according to the basic information of the second file; the basic information of the second file is partially identical to the basic information of the first file;
And calling the elastic search module to search according to the basic information of the first file to acquire the first file.
2. The method of 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 on the first file.
3. The method of claim 1, wherein after the obtaining the file operation track of the second file, further comprises:
and calling Kibana a module to generate a statistical chart according to the file operation track and providing the statistical chart for the second user.
4. The method of claim 1, wherein the operating on the first file comprises:
and uploading, downloading, breakpoint continuous transmission, inquiring and deleting the first file.
5. The method of claim 1, wherein the file operation track includes file identification information, interface type, logical bucket, operation user information, response results.
6. A track recording apparatus for file maintenance, comprising:
the receiving module is used for receiving an operation instruction of a first user on the first file;
The generating module is used for operating the first file according to the operation instruction and generating a second file and a file operation track of the second file;
The storage module is used for storing the file operation track in the elastic search module;
The track recording device for file maintenance further comprises:
a reservation module, configured to, while generating a second file, reserve the first file and modify a system index field of the first file so that the first file cannot be operated by the first user; the first file is invisible to the first user;
the device further comprises:
The second receiving module is used for receiving an operation track query request of a second user on the second file;
The first acquisition module is used for acquiring file identification information of the second file based on the operation track query request;
The first searching module is used for searching in the elastic search module based on the file identification information to acquire a file operation track of the second file; the first file is visible to the second user;
The track recording device for file maintenance further comprises:
The second acquisition module is used for acquiring the basic information of the second file according to the file operation track; the basic information of the second file comprises file identification information, calling equipment type, component version information and serial number;
The determining module is used for determining the basic information of the first file according to the basic information of the second file; the basic information of the second file is partially identical to the basic information of the first file;
And the second search module is used for calling the elastic search module to search according to the basic information of the first file so as to acquire the first file.
7. 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 a track recording method of file maintenance as claimed in any one of claims 1 to 5 when the program is executed by the processor.
CN202011379676.8A 2020-11-30 2020-11-30 File maintenance track recording method and device and electronic equipment Active CN112433987B (en)

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 CN112433987A (en) 2021-03-02
CN112433987B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199900A (en) * 2014-08-26 2014-12-10 中国航天科工集团第二研究院七〇六所 Audit and analysis method based on file trajectory tracking trees
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488921B (en) * 2009-02-24 2011-09-14 华为技术有限公司 Packet track recording method and packet track recording apparatus
CN104298930B (en) * 2014-09-16 2018-01-02 中国科学院信息工程研究所 Move media and its e-file guiding circulation track tracking and system in LAN
US11625304B2 (en) * 2019-04-26 2023-04-11 EMC IP Holding Company LLC Efficient method to find changed data between indexed data and new backup

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199900A (en) * 2014-08-26 2014-12-10 中国航天科工集团第二研究院七〇六所 Audit and analysis method based on file trajectory tracking trees
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

Also Published As

Publication number Publication date
CN112433987A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN107247808B (en) Distributed NewSQL database system and picture data query method
CN107463693B (en) Data processing method, device, terminal and computer readable storage medium
US12003591B2 (en) Automatic discovery and registration of service applications for files introduced to a user interface
CN102193970B (en) Know the search engine of metadata
KR20180008480A (en) System and method for extracting and sharing application-related user data
CN107209905A (en) For personalized and task completion service, correspondence spends theme and sorted out
CN102968468A (en) Structured modeling of data in electronic spreadsheet
CN108628885B (en) Data synchronization method and device and storage equipment
CN102214093B (en) To the search extensibility of third-party application
CN108140039B (en) Streaming records from database access of parallel batches
CN114461691A (en) Control method and device of state machine, electronic equipment and storage medium
CN112433987B (en) File maintenance track recording method and device and electronic equipment
CN115795521B (en) Access control method, device, electronic equipment and storage medium
US20080033948A1 (en) Storage apparatus and method therefor
US20080033949A1 (en) Electronic apparatus and method therefor
KR20130126012A (en) Method and apparatusfor providing report of business intelligence
US9286349B2 (en) Dynamic search system
CN112328630B (en) Data query method, device, equipment and storage medium
EP4053713A1 (en) Question and answer method and apparatus based on knowledge graph
CN114527907A (en) Menu data processing method and device, computer equipment and storage medium
CN111352985A (en) Data service platform, method and storage medium based on computer system
CN113110846A (en) Method and device for acquiring environment variable
CN112817782A (en) Data acquisition reporting method and device, electronic equipment and storage medium
KR20220013084A (en) Document storage management server for performing storage processing of document files received from a client terminal in conjunction with a plurality of document storage and operating method thereof
CN111782834A (en) Image retrieval method, device, equipment and computer readable storage medium

Legal Events

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