CN112069236A - Associated file display method, device, equipment and storage medium - Google Patents

Associated file display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112069236A
CN112069236A CN202010918786.0A CN202010918786A CN112069236A CN 112069236 A CN112069236 A CN 112069236A CN 202010918786 A CN202010918786 A CN 202010918786A CN 112069236 A CN112069236 A CN 112069236A
Authority
CN
China
Prior art keywords
information
file
directory
component
preset
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.)
Pending
Application number
CN202010918786.0A
Other languages
Chinese (zh)
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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010918786.0A priority Critical patent/CN112069236A/en
Publication of CN112069236A publication Critical patent/CN112069236A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/24Querying
    • G06F16/248Presentation of query results
    • 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/24Querying
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention relates to the technical field of file search, mainly relates to a block chain technology, and discloses a method, a device, equipment and a storage medium for displaying associated files, wherein the method comprises the following steps: acquiring information of a file to be displayed; extracting file directory label information in the file information to be displayed; analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain; integrating the list data structure to obtain integrated directory file information; when an associated file operation instruction of the directory file information is received, the associated file information corresponding to the directory file information is displayed through a preset component, so that the association relationship among the files is determined through the preset component, and the files are displayed more visually through the association relationship.

Description

Associated file display method, device, equipment and storage medium
Technical Field
The present invention relates to the field of file search technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying a related file.
Background
With the development of front-end technologies and mainstream browsers, Vue (progressive JavaScript for constructing user interfaces) is gradually emerging and plays a significant role in front-end development, and is popularized and applied worldwide. The interface Element component library is a Vue 2.0-based component library prepared for developers, designers and product managers, perfectly fits with an Vue framework, brings great convenience to the developers, greatly improves development efficiency, and becomes an indispensable interface UI component library in Vue project development.
In the ElementUI component library, Tree Tree components are generally used for realizing hierarchical data presentation. The Tree Tree component in the existing Element component can only display the hierarchical result data, so that the use and application scenes of the Tree component are partially limited.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for displaying associated files, and aims to improve the display of the associated files with more interactivity.
In order to achieve the above object, the present invention provides a method for displaying an associated file, including the following steps:
acquiring information of a file to be displayed;
extracting file directory label information in the file information to be displayed;
analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain;
integrating the list data structure to obtain integrated directory file information;
and when an associated file operation instruction of the directory file information is received, displaying the associated file information corresponding to the directory file information through a preset component.
Optionally, the extracting file directory tag information in the file information to be displayed includes:
acquiring directory hierarchy information in the file information to be displayed;
searching corresponding encoding information in a preset level encoding mapping relation table according to the directory level information, wherein the preset level encoding mapping relation table comprises preset directory levels and corresponding encoding information;
and using the coding information as file directory label information.
Optionally, before the analyzing the file directory tag information by the preset component in the component storage area to obtain the list data structure corresponding to the file information to be displayed, the method further includes:
acquiring a component writing instruction, extracting an ElementUI component library and a corresponding Tree Tree component in the component writing instruction, and extracting writing address information in the component writing instruction;
and writing the ElementUI component library and the corresponding Tree component into a component storage area according to the write address information.
Optionally, the integrating the list data structure to obtain the integrated directory file information includes:
acquiring target parent-level information in the list data structure, and taking file information corresponding to the target parent-level information as preset parent-level information as a tree base;
acquiring target sublevel information in the list data structure;
and constructing the tree base and the target sub-level information into tree structure data in a preset recursion mode to obtain integrated directory file information.
Optionally, when the associated file operation instruction of the directory file information is received, displaying the associated file information corresponding to the directory file information through a preset component includes:
when an associated file operation instruction of the directory file information is received, searching a corresponding file filling area in a preset area according to the associated file operation instruction;
searching corresponding associated file information through a preset component according to the directory file information;
and filling the associated file information in the file filling area to display the associated file information.
Optionally, before searching for corresponding associated file information through a preset component according to the directory file information, the method further includes:
establishing a calling interface between the directory file information and the corresponding associated file information;
the searching for the corresponding associated file information through the preset component according to the directory file information comprises:
and determining corresponding calling interface information through a preset component according to the directory file information, and searching corresponding associated file information through a calling interface corresponding to the calling interface information.
Optionally, after the associated file information corresponding to the directory file information is displayed through a preset component when the associated file operation instruction of the directory file information is received, the method further includes:
acquiring evaluation instruction information, and extracting directory file information to be evaluated in the evaluation instruction information;
searching related current evaluation file information in a preset database according to the directory file information to be evaluated;
comparing the current evaluation file information with evaluation opinion keyword information to obtain evaluation opinion information in the current evaluation file information;
and displaying the current evaluation file information and the evaluation opinion information in a preset display area.
In addition, in order to achieve the above object, the present invention further provides a display device for associated files, including: the system comprises a memory, a processor and a presentation program of the associated file stored on the memory and capable of running on the processor, wherein the presentation program of the associated file is configured to realize the steps of the presentation method of the associated file as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, in which a presentation program of an associated file is stored, and the presentation program of the associated file, when executed by a processor, implements the steps of the presentation method of the associated file as described above.
In addition, in order to achieve the above object, the present invention further provides a display apparatus for associated files, including:
the acquisition module is used for acquiring information of a file to be displayed;
the extraction module is used for extracting file directory label information in the file information to be displayed;
the analysis module is used for analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain;
the integration module is used for integrating the list data structure to obtain integrated directory file information;
and the display module is used for displaying the associated file information corresponding to the directory file information through a preset component when receiving the associated file operation instruction of the directory file information.
The method for displaying the associated file comprises the steps of obtaining information of the file to be displayed; extracting file directory label information in the file information to be displayed; analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain; integrating the list data structure to obtain integrated directory file information; when an associated file operation instruction of the directory file information is received, the associated file information corresponding to the directory file information is displayed through a preset component, so that the association relation among files is determined through the preset component, and the associated files are displayed more visually through the association relation.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for displaying an associated file according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a related document according to an embodiment of a method for displaying a related document of the present invention;
FIG. 4 is a flowchart illustrating a method for displaying an associated file according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for displaying an associated file according to a third embodiment of the present invention;
FIG. 6 is a functional block diagram of a display apparatus of related documents according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), an input unit such as keys, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a storage 1005, which is a kind of storage medium, may include therein a presentation program of an operating system, a network communication module, a user interface module, and an associated file.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting an external network and performing data communication with other network devices; the user interface 1003 is mainly used for connecting user equipment and performing data communication with the equipment; the device calls the presentation program of the associated file stored in the memory 1005 through the processor 1001, and executes the implementation method of the presentation of the associated file provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the display method of the associated file is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for displaying an associated file according to a first embodiment of the present invention.
In a first embodiment, the method for displaying the associated file includes the following steps:
and step S10, acquiring the information of the file to be displayed.
It should be noted that the execution subject in this embodiment may be a presentation device of the associated file, such as a client with a presentation function, and this embodiment does not limit this, and in this embodiment, a client with a presentation function is taken as an example for description.
It can be understood that the document information to be displayed may include one document information and may further include a plurality of document information, which is not limited in this embodiment, when the document information is one document information, for example, one document contract, the document contract may be automatically analyzed to obtain chapter information in the document contract, so that the document information may be displayed according to the chapter information, and when the document information is a plurality of document information, for example, a plurality of document contracts, the document contract may be automatically analyzed to obtain an association relationship between the document contracts, so that document integration may be performed according to the association relationship, and thus, the document hierarchy display is realized.
In this embodiment, the information of the file to be displayed may be input through the display interface, so as to achieve the acquisition of the information of the file to be displayed, and the information of the file to be displayed may also be obtained through other manners, which is not limited in this embodiment.
And step S20, extracting the file directory label information in the file information to be displayed.
It should be noted that the file directory tag information is tag information obtained according to a preset rule when a file is generated, for example, a preset directory hierarchy and corresponding encoding information, a mapping table is generated according to a correspondence between the encoding information and the directory hierarchy, and corresponding encoding information is obtained according to the mapping table, so that corresponding file directory tag information can be generated according to the encoding information, identification of a file directory is achieved, for example, ID100, and file directory tag information can also be obtained in other manners, which is not limited in this embodiment.
Step S30, analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain.
It should be noted that the preset component is a Tree component in an ElementUI component library, and therefore, the implementation of this embodiment is based on a page of an Vue frame, and the Tree component in the ElementUI component library is used to implement the associated display of the file through the page of a Vue frame, so as to extend the function of the Tree component. It is emphasized that the default components may also be stored in a node of a blockchain in order to further ensure privacy and security of the default components.
In the specific implementation, the file directory tag information is analyzed through a preset component to obtain file name information, file tag information and corresponding hierarchy information, for example, the tag information is ID110, the obtained hierarchy information is a secondary directory, and the file name is "disposal investigation", so that identification of the file information is realized, and then a list data structure corresponding to the file information to be displayed is obtained through the hierarchy information.
And step S40, integrating the list data structure to obtain the integrated directory file information.
In this embodiment, in order to realize the overall display of the file, the file is analyzed to obtain the hierarchical structure of the file, and the relationship between the hierarchies is obtained according to the tree component, so that the file is integrated by the tree component to obtain the integrated directory file information, and the specific implementation process of the integration is as follows:
it should be noted that the integrated directory file information file adopts directory tag information, where the directory tag information may be represented in an ID form, and may also be in other forms, which is not limited in this embodiment, taking the ID as an example, each array information in the file may be obtained through the ID information, and further includes name information of the array and layer number information, where the layer number information shows the hierarchical information for the data, such as a first-level directory, a second-level directory, or a third-level directory, and thus, effective management of the integrated directory file information is achieved through the hierarchical information.
And step S50, when receiving the associated file operation instruction of the directory file information, displaying the associated file information corresponding to the directory file information through a preset component.
In this embodiment, in order to achieve correct display of a file to be displayed and an associated file corresponding to the file to be displayed, all related history files need to be labeled in advance, and management is performed through a tree structure based on an association relationship between the files, for example, a file name in the file to be displayed is "self-media construction", the files associated with the "self-media construction" include an evaluation file and a history evaluation result file, and the like, where the evaluation file includes a detailed file evaluation standard document such as an evaluation parameter standard and the like, the history evaluation result file is an evaluation result file that has been evaluated for the current "self-media construction", such as an evaluation result file V1.0 and the like, so that complicated different files "self-media construction", the evaluation file and the history evaluation result file are managed through the tree structure, specifically, corresponding label information is set for each file, and expressing the logical relationship between the files through the tree structure based on the label information, and realizing the construction of the association between the files according to the label information and the logical relationship between the files expressed by the tree structure.
It should be noted that the associated file operation instruction may be an associated file operation instruction generated by performing a relevant operation based on the directory file information, for example, clicking a "self-media construction" in the directory file, so as to generate an associated file operation instruction according to the "self-media construction" in the clicked directory file, as shown in the associated file display diagram shown in fig. 3.
In this embodiment, the filename displayed in the left Tree component may be clicked, the clicked filename item may be highlighted, the filename selected by the user is clearly displayed, and the corresponding content to be filled may be displayed on the right side, for example, by clicking the self-media construction in the left image, the specific detailed information of the file content including the evaluation standard and the like may be obtained on the right side, and the user may also obtain the query of the last evaluation opinion and upload the evaluation material and the like during evaluation, thereby directly performing the evaluation operation on line, implementing the paperless operation in the office, and obtaining the seamless docking of the related files, associating the related files with each other through the Tree component, and obtaining more other file information related to the current file through the processing of the current file.
In specific implementation, the file can be saved by clicking the previous/next button at the bottom of the right side, and after the file is saved successfully, the file on the left side can automatically jump to the previous/next button, so that user operation can be reduced, convenience is brought to a user, and user experience is improved.
According to the scheme, the file information to be displayed is acquired; extracting file directory label information in the file information to be displayed; analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain; integrating the list data structure to obtain integrated directory file information; when an associated file operation instruction of the directory file information is received, the associated file information corresponding to the directory file information is displayed through a preset component, so that the association relationship among the files is determined through the preset component, and the files are displayed more visually through the association relationship.
In an embodiment, as shown in fig. 4, a second embodiment of the method for displaying an association file according to the present invention is provided based on the first embodiment, and in this embodiment, the step S20 includes:
step S201, obtaining directory hierarchy information in the file information to be displayed.
In this embodiment, in order to identify the content of each file in the file information to be displayed, directory hierarchy information, such as a first level or a second level, in the file information may be obtained.
Step S202, searching corresponding encoding information in a preset level encoding mapping relation table according to the directory level information, wherein the preset level encoding mapping relation table comprises preset directory levels and corresponding encoding information.
It should be noted that the preset hierarchical coding mapping relationship table may be obtained by using a preset algorithm according to hierarchical information, and then obtaining a preset hierarchical coding mapping relationship table according to the hierarchical information and the corresponding coding information, for example, the coding information obtained at the hierarchical level is 0001, so as to implement effective identification of the file.
Step S203, using the encoding information as file directory label information.
It can be understood that the preset algorithm may be a hash algorithm, and may also be other algorithms capable of achieving the same or similar functions, which is not limited in this embodiment, the hash algorithm is taken as an example for explanation, the hierarchical information is encoded according to the hash algorithm to obtain corresponding encoding information, and the encoding information is used as file directory label information, so that the effective identification of the file directory is achieved.
In an embodiment, before the step S30, the method further includes:
acquiring a component writing instruction, extracting an ElementUI component library and a corresponding Tree Tree component in the component writing instruction, and extracting writing address information in the component writing instruction; and writing the ElementUI component library and the corresponding Tree component into a component storage area according to the write address information.
In this embodiment, the component writing instruction may be component information input by a user, and when the component information input by the user is received, the component information may be written, so that flexible adjustment of a code is realized.
In a specific implementation, the write address information may be storage path information in a database, the ElementUI component library and the corresponding Tree component may be written in a preset storage area according to the storage path information, and the storage path may also be other storage paths other than the database, which is not limited in this embodiment.
In one embodiment, the step S40 includes:
acquiring target parent-level information in the list data structure, and taking file information corresponding to the target parent-level information as preset parent-level information as a tree base; acquiring target sublevel information in the list data structure; and constructing the tree base and the target sub-level information into tree structure data in a preset recursion mode to obtain integrated directory file information.
In this embodiment, the preset parent information is the maximum parent information, the ordering is performed according to the ID information to obtain directory information of the file, and when the directory information of the file is determined, the maximum parent data is found as a Tree base, and then the corresponding subset data is found through the ID, and then the Tree structure data is constructed from top to bottom in a recursive manner to obtain the integrated directory file information, so that the function expansion of the Tree component is realized.
According to the scheme provided by the embodiment, the level information corresponding to the file can be obtained through the preset coding information of the file and the coding information, and the file can be effectively analyzed through the level information, so that the file can be effectively identified.
In an embodiment, as shown in fig. 5, a third embodiment of the method for displaying an associated file of the present invention is proposed based on the first embodiment or the second embodiment, and in this embodiment, the description is made based on the first embodiment, and the step S50 includes:
step S501, when an associated file operation instruction of the directory file information is received, searching a corresponding file filling area in a preset area according to the associated file operation instruction.
In this embodiment, the associated file operation instruction may be click information of a directory file, the operation instruction may be generated through the click information, and the operation instruction may also be generated in other manners.
In a specific implementation, as shown in fig. 3, when the user clicks the self-media construction, the evaluation criteria related to the self-media construction may be displayed in a preset area of the file display interface, and other display information, such as reputation risk and evaluation opinions, may also be included, so as to implement functional extension of the file.
Step S502, searching corresponding associated file information through a preset component according to the directory file information.
In this embodiment, since unified management of files is realized, integration of related files is realized through the tree structure, when a current file is processed, related file information can be located through tag information of the current file, and the related file is displayed, for example, when a user clicks an evaluation file, evaluation file information related to the current file can be obtained, and the evaluation file is displayed.
Step S503, filling the associated file information in the file filling area to display the associated file information.
In a specific implementation, in order to implement more accurate display of the associated file, after receiving the operation instruction of the file data, finding a corresponding file filling area in a preset area according to the operation instruction, and filling the associated file in the file filling area, thereby implementing display of the associated file.
In an embodiment, before the step S502, the method further includes:
establishing a calling interface between the directory file information and the corresponding associated file information; the step S502 includes: and determining corresponding calling interface information through a preset component according to the directory file information, and searching corresponding associated file information through a calling interface corresponding to the calling interface information.
In a specific implementation, the information of the files to be displayed further includes evaluation files corresponding to the directory file information, specifically, a display frame provided with the evaluation files, and when the files to be evaluated are displayed, the files are uploaded by clicking the text frame in a text frame mode, file selection and filling are performed, and accordingly, the display of the associated evaluation files is achieved.
In an embodiment, after the step S50, the method further includes:
acquiring evaluation instruction information, and extracting directory file information to be evaluated in the evaluation instruction information; searching related current evaluation file information in a preset database according to the directory file information to be evaluated; comparing the current evaluation file information with evaluation opinion keyword information to obtain evaluation opinion information in the current evaluation file information; and displaying the current evaluation file information and the evaluation opinion information in a preset display area.
In a specific implementation, when the integrated file data is obtained, the file data displayed on the left side as shown in fig. 3 is continued, and when a click event with a file name of "self-media construction" in the file data displayed on the left side is obtained, the associated file tag information is searched from the tree structure according to the tag information with the file name of "self-media construction", and the file corresponding to the file tag information is displayed, such as the evaluation standard on the right side and the previous evaluation opinion as shown in fig. 3, so that the display of the associated file is realized.
According to the scheme provided by the embodiment, the hierarchical display of the files is obtained through the tree structure, the display of the associated files can be realized through the related file operation instructions of the files, on one hand, the function of the tree structure is expanded, the tree structure is used for file association, on the other hand, paperless file association is realized, the files are managed through the tree structure, the association relation among the files is obtained, the viscosity among the files is realized, and the intelligence of file management is improved.
The invention further provides a display device of the associated file.
Referring to fig. 6, fig. 6 is a functional module diagram of a display device of the associated document according to a first embodiment of the present invention.
In a first embodiment of a display apparatus for associated files according to the present invention, the display apparatus for associated files includes:
the obtaining module 10 is configured to obtain information of a file to be displayed.
It should be noted that the execution subject in this embodiment may be a presentation device of the associated file, such as a client with a presentation function, and this embodiment does not limit this, and in this embodiment, a client with a presentation function is taken as an example for description.
It can be understood that the document information to be displayed may include one document information and may further include a plurality of document information, which is not limited in this embodiment, when the document information is one document information, for example, one document contract, the document contract may be automatically analyzed to obtain chapter information in the document contract, so that the document information may be displayed according to the chapter information, and when the document information is a plurality of document information, for example, a plurality of document contracts, the document contract may be automatically analyzed to obtain an association relationship between the document contracts, so that document integration may be performed according to the association relationship, and thus, the document hierarchy display is realized.
In this embodiment, the information of the file to be displayed may be input through the display interface, so as to achieve the acquisition of the information of the file to be displayed, and the information of the file to be displayed may also be obtained through other manners, which is not limited in this embodiment.
And the extracting module 20 is configured to extract file directory tag information in the file information to be displayed.
It should be noted that the file directory tag information is tag information obtained according to a preset rule when a file is generated, for example, a preset directory hierarchy and corresponding encoding information, a mapping table is generated according to a correspondence between the encoding information and the directory hierarchy, and corresponding encoding information is obtained according to the mapping table, so that corresponding file directory tag information can be generated according to the encoding information, identification of a file directory is achieved, for example, ID100, and file directory tag information can also be obtained in other manners, which is not limited in this embodiment.
The analysis module 30 is configured to analyze the file directory tag information through a preset component in a component storage area, so as to obtain a list data structure corresponding to the file information to be displayed, where the component storage area is placed in a block chain.
It should be noted that the preset component is a Tree component in an ElementUI component library, and therefore, the implementation of this embodiment is based on a page of an Vue frame, and the Tree component in the ElementUI component library is used to implement the associated display of the file through the page of a Vue frame, so as to extend the function of the Tree component. It is emphasized that the default components may also be stored in a node of a blockchain in order to further ensure privacy and security of the default components.
In the specific implementation, the file directory tag information is analyzed through a preset component to obtain file name information, file tag information and corresponding hierarchy information, for example, the tag information is ID110, the obtained hierarchy information is a secondary directory, and the file name is "disposal investigation", so that identification of the file information is realized, and then a list data structure corresponding to the file information to be displayed is obtained through the hierarchy information.
And the integration module 40 is used for integrating the list data structure to obtain the integrated directory file information.
In this embodiment, in order to realize the overall display of the file, the file is analyzed to obtain the hierarchical structure of the file, and the relationship between the hierarchies is obtained according to the tree component, so that the file is integrated by the tree component to obtain the integrated directory file information, and the specific implementation process of the integration is as follows:
it should be noted that the integrated directory file information file adopts directory tag information, where the directory tag information may be represented in an ID form, and may also be in other forms, which is not limited in this embodiment, taking the ID as an example, each array information in the file may be obtained through the ID information, and further includes name information of the array and layer number information, where the layer number information shows the hierarchical information for the data, such as a first-level directory, a second-level directory, or a third-level directory, and thus, effective management of the integrated directory file information is achieved through the hierarchical information.
The display module 50 is configured to display, through a preset component, associated file information corresponding to the directory file information when receiving an associated file operation instruction of the directory file information.
In this embodiment, in order to achieve correct display of a file to be displayed and an associated file corresponding to the file to be displayed, all related history files need to be labeled in advance, and management is performed through a tree structure based on an association relationship between the files, for example, a file name in the file to be displayed is "self-media construction", the files associated with the "self-media construction" include an evaluation file and a history evaluation result file, and the like, where the evaluation file includes a detailed file evaluation standard document such as an evaluation parameter standard and the like, the history evaluation result file is an evaluation result file that has been evaluated for the current "self-media construction", such as an evaluation result file V1.0 and the like, so that complicated different files "self-media construction", the evaluation file and the history evaluation result file are managed through the tree structure, specifically, corresponding label information is set for each file, and expressing the logical relationship between the files through the tree structure based on the label information, and realizing the construction of the association between the files according to the label information and the logical relationship between the files expressed by the tree structure.
It should be noted that the associated file operation instruction may be an associated file operation instruction generated by performing a relevant operation based on the directory file information, for example, clicking a "self-media construction" in the directory file, so as to generate an associated file operation instruction according to the "self-media construction" in the clicked directory file, as shown in the associated file display diagram shown in fig. 3.
In this embodiment, the filename displayed in the left Tree component may be clicked, the clicked filename item may be highlighted, the filename selected by the user is clearly displayed, and the corresponding content to be filled may be displayed on the right side, for example, by clicking the self-media construction in the left image, the specific detailed information of the file content including the evaluation standard and the like may be obtained on the right side, and the user may also obtain the query of the last evaluation opinion and upload the evaluation material and the like during evaluation, thereby directly performing the evaluation operation on line, implementing the paperless operation in the office, and obtaining the seamless docking of the related files, associating the related files with each other through the Tree component, and obtaining more other file information related to the current file through the processing of the current file.
In specific implementation, the file can be saved by clicking the previous/next button at the bottom of the right side, and after the file is saved successfully, the file on the left side can automatically jump to the previous/next button, so that user operation can be reduced, convenience is brought to a user, and user experience is improved.
According to the scheme, the file information to be displayed is acquired; extracting file directory label information in the file information to be displayed; analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain; integrating the list data structure to obtain integrated directory file information; when an associated file operation instruction of the directory file information is received, the associated file information corresponding to the directory file information is displayed through a preset component, so that the association relationship among the files is determined through the preset component, and the files are displayed more visually through the association relationship.
In an embodiment, the extracting module 20 is further configured to obtain directory hierarchy information in the information of the file to be displayed;
searching corresponding encoding information in a preset level encoding mapping relation table according to the directory level information, wherein the preset level encoding mapping relation table comprises preset directory levels and corresponding encoding information;
and using the coding information as file directory label information.
In an embodiment, the apparatus for displaying the associated file further includes: a write module;
the write-in module is further configured to acquire a component write-in instruction, extract an ElementUI component library and a corresponding Tree component in the component write-in instruction, and extract write-in address information in the component write-in instruction;
and writing the ElementUI component library and the corresponding Tree component into a component storage area according to the write address information.
In an embodiment, the integration module 40 is further configured to obtain target parent information in the list data structure, and use file information corresponding to the target parent information as preset parent information as a tree base;
acquiring target sublevel information in the list data structure;
and constructing the tree base and the target sub-level information into tree structure data in a preset recursion mode to obtain integrated directory file information.
In an embodiment, the display module 50 is further configured to, when receiving an associated file operation instruction of the directory file information, search a corresponding file filling area in a preset area according to the associated file operation instruction;
searching corresponding associated file information through a preset component according to the directory file information;
and filling the associated file information in the file filling area to display the associated file information.
In an embodiment, the apparatus for displaying the associated file further includes: establishing a module;
the establishing module is also used for establishing a calling interface between the directory file information and the corresponding associated file information;
the display module 50 is further configured to determine corresponding calling interface information through a preset component according to the directory file information, and search for corresponding associated file information through a calling interface corresponding to the calling interface information.
In an embodiment, the display module 50 is further configured to obtain evaluation instruction information, and extract directory file information to be evaluated in the evaluation instruction information;
searching related current evaluation file information in a preset database according to the directory file information to be evaluated;
comparing the current evaluation file information with evaluation opinion keyword information to obtain evaluation opinion information in the current evaluation file information;
and displaying the current evaluation file information and the evaluation opinion information in a preset display area.
The display device of the associated file of the present invention adopts all the technical solutions of all the embodiments, so that at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, in order to achieve the above object, the present invention further provides a display device for associated files, including: the system comprises a memory, a processor and a presentation program of the associated file stored on the memory and capable of running on the processor, wherein the presentation program of the associated file is configured to realize the steps of the presentation method of the associated file as described above.
In addition, an embodiment of the present invention further provides a storage medium, where a presentation program of an associated file is stored on the storage medium, and the presentation program of the associated file is executed by a processor by the steps of the presentation method of the associated file as described above.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling an intelligent terminal (which may be a mobile phone, a computer, a terminal, an air conditioner, or a network terminal) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for displaying an associated file is characterized by comprising the following steps:
acquiring information of a file to be displayed;
extracting file directory label information in the file information to be displayed;
analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain;
integrating the list data structure to obtain integrated directory file information;
and when an associated file operation instruction of the directory file information is received, displaying the associated file information corresponding to the directory file information through a preset component.
2. The method for displaying the associated file according to claim 1, wherein the extracting the file directory tag information in the information of the file to be displayed includes:
acquiring directory hierarchy information in the file information to be displayed;
searching corresponding encoding information in a preset level encoding mapping relation table according to the directory level information, wherein the preset level encoding mapping relation table comprises preset directory levels and corresponding encoding information;
and using the coding information as file directory label information.
3. The method for displaying the associated file according to claim 1, wherein before the analyzing the file directory tag information by the preset component in the component storage area to obtain the list data structure corresponding to the file information to be displayed, the method further comprises:
acquiring a component writing instruction, extracting an ElementUI component library and a corresponding Tree Tree component in the component writing instruction, and extracting writing address information in the component writing instruction;
and writing the ElementUI component library and the corresponding Tree component into a component storage area according to the write address information.
4. The method for displaying the associated file according to claim 1, wherein the integrating the list data structure to obtain the integrated directory file information comprises:
acquiring target parent-level information in the list data structure, and taking file information corresponding to the target parent-level information as preset parent-level information as a tree base;
acquiring target sublevel information in the list data structure;
and constructing the tree base and the target sub-level information into tree structure data in a preset recursion mode to obtain integrated directory file information.
5. The method for displaying the associated file according to any one of claims 1 to 4, wherein when receiving the associated file operation instruction of the directory file information, displaying the associated file information corresponding to the directory file information by a preset component includes:
when an associated file operation instruction of the directory file information is received, searching a corresponding file filling area in a preset area according to the associated file operation instruction;
searching corresponding associated file information through a preset component according to the directory file information;
and filling the associated file information in the file filling area to display the associated file information.
6. The method for displaying associated files according to claim 5, wherein before searching the corresponding associated file information through a preset component according to the directory file information, the method further comprises:
establishing a calling interface between the directory file information and the corresponding associated file information;
the searching for the corresponding associated file information through the preset component according to the directory file information comprises:
and determining corresponding calling interface information through a preset component according to the directory file information, and searching corresponding associated file information through a calling interface corresponding to the calling interface information.
7. The method for displaying the associated file according to any one of claims 1 to 4, wherein after the associated file information corresponding to the directory file information is displayed by a preset component when the associated file operation instruction of the directory file information is received, the method further comprises:
acquiring evaluation instruction information, and extracting directory file information to be evaluated in the evaluation instruction information;
searching related current evaluation file information in a preset database according to the directory file information to be evaluated;
comparing the current evaluation file information with evaluation opinion keyword information to obtain evaluation opinion information in the current evaluation file information;
and displaying the current evaluation file information and the evaluation opinion information in a preset display area.
8. A presentation apparatus for associated documents, the presentation apparatus comprising: a memory, a processor and a presentation program of an associated file stored on the memory and executable on the processor, the presentation program of an associated file being configured to implement the steps of the presentation method of an associated file according to any one of claims 1 to 7.
9. A storage medium, characterized in that the storage medium stores a presentation program of an associated file, and the presentation program of the associated file realizes the steps of the presentation method of the associated file according to any one of claims 1 to 7 when executed by a processor.
10. An associated file display device, characterized in that the associated file display device comprises:
the acquisition module is used for acquiring information of a file to be displayed;
the extraction module is used for extracting file directory label information in the file information to be displayed;
the analysis module is used for analyzing the file directory label information through a preset component in a component storage area to obtain a list data structure corresponding to the file information to be displayed, wherein the component storage area is arranged in a block chain;
the integration module is used for integrating the list data structure to obtain integrated directory file information;
and the display module is used for displaying the associated file information corresponding to the directory file information through a preset component when receiving the associated file operation instruction of the directory file information.
CN202010918786.0A 2020-09-03 2020-09-03 Associated file display method, device, equipment and storage medium Pending CN112069236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010918786.0A CN112069236A (en) 2020-09-03 2020-09-03 Associated file display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010918786.0A CN112069236A (en) 2020-09-03 2020-09-03 Associated file display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112069236A true CN112069236A (en) 2020-12-11

Family

ID=73665452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010918786.0A Pending CN112069236A (en) 2020-09-03 2020-09-03 Associated file display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112069236A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127899A (en) * 2021-04-16 2021-07-16 深圳市艾赛克科技有限公司 RFID-based archive processing method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127899A (en) * 2021-04-16 2021-07-16 深圳市艾赛克科技有限公司 RFID-based archive processing method, device, equipment and storage medium
CN113127899B (en) * 2021-04-16 2021-11-09 深圳市艾赛克科技有限公司 RFID-based archive processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2018177251A1 (en) Application program processing method, computer device and storage medium
US20170357486A1 (en) Enhancing a crowdsourced integrated development environment application
CN112035667A (en) Knowledge graph display method and device and terminal equipment
CN108366058B (en) Method, device, equipment and storage medium for preventing traffic hijacking of advertisement operator
KR101765296B1 (en) Apparatus and method for providing data analysis tool with user created analysis module
JP2010250529A (en) Device, and method for retrieving image, and program
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
CN112883030A (en) Data collection method and device, computer equipment and storage medium
CN112394908A (en) Method and device for automatically generating embedded point page, computer equipment and storage medium
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN112685475A (en) Report query method and device, computer equipment and storage medium
CN111813744A (en) File searching method, device, equipment and storage medium
CN111026765A (en) Dynamic processing method, equipment, storage medium and device for strictly balanced binary tree
CN114328983A (en) Document fragmenting method, data retrieval device and electronic equipment
CN110543450A (en) Electronic document generation method and device, computer equipment and storage medium
CN112069236A (en) Associated file display method, device, equipment and storage medium
JP2019101889A (en) Test execution device and program
CN113806647A (en) Method for identifying development framework and related equipment
CN109684156B (en) Monitoring method, device, terminal and storage medium based on mixed mode application
CN109189728B (en) Intelligent hardware device, magnetic disk data processing method and storage medium
CN114281688A (en) Codeless or low-code automatic case management method and device
JP4949354B2 (en) Image search apparatus, image search method and program
CN114662119A (en) Intelligent contract vulnerability detection method and device
CN112035100A (en) Data display method, device, equipment and storage medium
CN110502690B (en) Classified search method and device

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