CN112597105A - Processing method of file associated object, server side equipment and storage medium - Google Patents

Processing method of file associated object, server side equipment and storage medium Download PDF

Info

Publication number
CN112597105A
CN112597105A CN202011570088.2A CN202011570088A CN112597105A CN 112597105 A CN112597105 A CN 112597105A CN 202011570088 A CN202011570088 A CN 202011570088A CN 112597105 A CN112597105 A CN 112597105A
Authority
CN
China
Prior art keywords
file
associated object
target data
processing request
layer
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
CN202011570088.2A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202011570088.2A priority Critical patent/CN112597105A/en
Publication of CN112597105A publication Critical patent/CN112597105A/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/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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a processing method of a file associated object, server-side equipment and a storage medium, wherein the method comprises the following steps: the presentation layer obtains a file associated object processing request sent by the client device, and sends the file associated object processing request to the service logic layer, wherein the file associated object processing request carries file information of a target file; the business logic layer analyzes the file associated object processing request and determines a target data operation function and a target data interface which are matched with the file associated object processing request; and the business logic layer calls a target data operation function in the data access layer, inquires the associated object of the target file from a target data interface of the graphic database according to the file information and calls the target data operation function to process the inquired associated object. The invention can quickly realize the inquiry or other processing of the associated objects of the files.

Description

Processing method of file associated object, server side equipment and storage medium
Technical Field
The present invention relates to the field of file processing technologies, and in particular, to a processing method of a file-related object, a server device, and a storage medium.
Background
With the popularization of electronic office work, the number of files is more and more.
There are often various associations, such as dependencies, between various files and between the contents of the files. In some cases, a query or other processing of an associated object of a file may be required.
The related art cannot quickly realize query or other processing on the associated object of the file.
Disclosure of Invention
The embodiment of the invention aims to provide a processing method of a file associated object, server-side equipment and a storage medium, so as to realize query or other processing on the file associated object. The specific technical scheme is as follows:
a processing method of file associated objects is applied to server-side equipment, and the server-side equipment comprises the following steps: the method comprises a presentation layer, a business logic layer, a data access layer and a graphic database, and comprises the following steps:
the presentation layer obtains a file associated object processing request sent by client equipment, and sends the file associated object processing request to the service logic layer, wherein the file associated object processing request carries file information of a target file;
the business logic layer analyzes the file associated object processing request and determines a target data operation function and a target data interface which are matched with the file associated object processing request;
and the business logic layer calls the target data operation function in the data access layer, inquires the associated object of the target file from the target data interface of the graphic database according to the file information and calls the target data operation function to process the inquired associated object.
Optionally, the analyzing, by the service logic layer, the file associated object processing request to determine a target data operation function and a target data interface that are matched with the file associated object processing request includes:
the business logic layer analyzes the file associated object processing request and determines the processing type and the data relationship type of the file associated object processing request;
and the business logic layer determines a target data operation function matched with the processing type and the data relation type and determines a target data interface matched with the processing type and the data relation type.
Optionally, the processing types include: at least one of addition, deletion, modification and search; and/or, the data relationship types include: at least one of dependency data, and parallel data.
Optionally, the querying the object associated with the target file from the target data interface of the graphic database includes:
querying at least one knowledge-graph node corresponding to the target file from the target data interface of the graph database, querying other knowledge-graph nodes having a relationship corresponding to the determined data relationship type with the at least one knowledge-graph node, and determining associated objects corresponding to the queried other knowledge-graph nodes.
Optionally, the data relationship type determined by the service logic layer is: dependency data querying other knowledgegraph nodes having a relationship corresponding to the determined data relationship type with the at least one knowledgegraph node, comprising:
in the graph database, a direct dependency node and an indirect dependency node of the at least one knowledge graph node are inquired according to the relationship among the nodes, the direct dependency node is directly connected with the at least one knowledge graph node through the dependency relationship, the indirect dependency node is indirectly connected with the at least one knowledge graph node through at least one other node to form a dependency path, and the dependency relationship is formed between every two adjacent nodes in any dependency path.
Optionally, the method further includes:
the business logic layer sends the processing result of the associated object to a user interface layer of the client equipment through the presentation layer;
and the user interface layer graphically displays the processing result.
A server device, the server device comprising: a presentation layer, a business logic layer, a data access layer and a graphic database,
the presentation layer is configured to perform: acquiring a file associated object processing request sent by client equipment, wherein the presentation layer sends the file associated object processing request to the service logic layer, and the file associated object processing request carries file information of a target file;
the business logic layer is configured to perform: analyzing the file associated object processing request, determining a target data operation function and a target data interface which are matched with the file associated object processing request, calling the target data operation function in the data access layer by the service logic layer, inquiring the associated object of the target file from the target data interface of the graphic database according to the file information, and calling the target data operation function to process the inquired associated object.
Optionally, the service logic layer parses the file associated object processing request, and determines a target data operation function and a target data interface that are matched with the file associated object processing request, where the specific settings are as follows:
the business logic layer analyzes the file associated object processing request and determines the processing type and the data relationship type of the file associated object processing request;
and the business logic layer determines a target data operation function matched with the processing type and the data relation type and determines a target data interface matched with the processing type and the data relation type.
A server-side device comprises at least one processor, at least one memory connected with the processor, and a bus; the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory so as to execute any one of the processing methods of the file associated object.
A computer-readable storage medium, wherein when executed by a processor of a server device, instructions of the computer-readable storage medium enable the server device to execute any one of the above methods for processing a file-related object.
The embodiment of the invention provides a processing method of a file associated object, a server device and a storage medium, wherein the method comprises the following steps: the presentation layer obtains a file associated object processing request sent by the client device, and sends the file associated object processing request to the service logic layer, wherein the file associated object processing request carries file information of a target file; the business logic layer analyzes the file associated object processing request and determines a target data operation function and a target data interface which are matched with the file associated object processing request; and the business logic layer calls a target data operation function in the data access layer, inquires the associated object of the target file from a target data interface of the graphic database according to the file information and calls the target data operation function to process the inquired associated object. The invention can quickly realize the inquiry or other processing of the associated objects of the files.
Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a server device according to an embodiment of the present invention;
fig. 2 is a flowchart of a processing method for a file association object according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a knowledge-graph provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of another knowledge-graph provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The processing method of the file associated object provided by the embodiment of the invention can be applied to server-side equipment. As shown in fig. 1, the server device 001 may include: presentation layer 002, business logic layer 003, data access layer 004, and graphics database 005, as shown in FIG. 2, the method may include:
s100, the presentation layer obtains a file associated object processing request sent by the client device, and sends the file associated object processing request to the service logic layer, wherein the file associated object processing request carries file information of a target file.
Wherein, the presentation layer 002 can communicate with the client device and serves as a communication channel between the client device and the business logic layer 003. Specifically, the presentation layer 002 may send a file-related object processing request to the business logic layer 003, or may send a processing result returned by the business logic layer 003 to the client device.
Optionally, the file information of the target file may include: the file name of the target file, at least part of the file content of the target file, the operation to which the target file relates, the department to which the target file relates, etc. Wherein, at least part of the file content of the target file can be the items contained in the target file.
Optionally, the target file may be: technical literature, enterprise system, legal documents and the like. It will be appreciated that a variety of associations are possible for any file. For example: citation relationship of technical literature, dependency relationship of enterprise system, case relationship of legal documents and the like. The case relationship of legal documents indicates: the plurality of legal documents are legal documents of the same case.
The business logic layer 003 is a main architecture level for executing the business related to the present invention, and the business logic layer 003 can analyze the processing request of the file associated object and call the data access layer to perform operations such as data query and processing from the graphic database according to the analysis result.
The data access layer 004 is a link layer between the business logic layer 003 and the graphic database 005, and the data access layer 004 can perform various processing on the graphic database 005 through database instructions.
The graph database 005 stores a knowledge graph, which may be composed of a plurality of nodes and edges between the nodes, and specifically, the edges in the present invention may be used to represent the relationship between two nodes connected to each other. The relationship among the nodes in the invention can be various, such as: dependency data, parallel relationship data, and the like. Optionally, the node may correspond to a file, or may correspond to content in the file.
Fig. 3 is a schematic diagram of a knowledge-graph according to an exemplary embodiment of the present invention, as shown in fig. 3, the knowledge-graph may include: a node corresponding to the file, and a node corresponding to the content. The nodes in the knowledge graph may be connected by edges representing node relationships, as shown in fig. 3, and the node relationships may be dependency relationships. It can be understood that, by using the knowledge graph provided by the invention, each node having a certain relation with a certain file can be inquired, and then the file or content corresponding to the node can be found. As shown in FIG. 3, when a file or content on which a file 5 depends needs to be queried, the file 5 can directly depend on the file 1 and the file 7, while the file 7 depends on the content 4, and the content 4 depends on the content 5 and the file 4 through the knowledge graph shown in FIG. 3, so that the invention can also determine the content 4, the content 5 and the file 4 as objects on which the file 5 indirectly depends.
Of course, in other embodiments, the relationship between nodes may be various, such as an affiliation. Fig. 4 is a schematic diagram of another knowledge graph provided in an exemplary embodiment of the present invention, where the relationships between nodes in the knowledge graph have two types, namely, dependencies and dependencies.
Optionally, the nodes in the knowledge graph in the present invention may further have node attributes, where the node attributes may include: file storage address, file identification, content identification, and the like.
S200, the service logic layer analyzes the file associated object processing request and determines a target data operation function and a target data interface which are matched with the file associated object processing request.
Optionally, the service logic layer may determine, according to a correspondence between the pre-established file information and the data operation function and the data interface, a target data operation function and a target data interface that are matched with the file associated object processing request.
Optionally, the graphic database may provide at least one data interface for external data query and processing. Optionally, each data interface may correspond to different file information, for example: the first data interface corresponds to the technical literature of the product A, and the second data interface corresponds to the technical literature of the product B. The data Interface may be an Application Programming Interface (API).
Optionally, the data access layer may provide at least one data operation function to perform data operations, for example: data add functions, data delete functions, data modify functions, data query functions, and the like. The various data manipulation functions may include one or more database manipulation instructions and corresponding parameters.
Optionally, step S200 may specifically include:
the business logic layer analyzes the file associated object processing request and determines the processing type and the data relation type of the file associated object processing request;
and the business logic layer determines a target data operation function matched with the processing type and the data relation type and determines a target data interface matched with the processing type and the data relation type.
Optionally, the data interface may be matched with the processing type and the data relationship type. Optionally, the data manipulation function may be matched with the processing type and the data relationship type.
Optionally, the processing types may include: at least one of addition, deletion, modification and search; and/or, the data relationship types include: at least one of dependency data, and parallel data.
Optionally, the querying the associated object of the target file from the target data interface of the graphic database may include:
at least one knowledge graph node corresponding to the target file is inquired from a target data interface of the graph database, other knowledge graph nodes having a relation corresponding to the determined data relation type with the at least one knowledge graph node are inquired, and the related objects corresponding to the inquired other knowledge graph nodes are determined.
Optionally, the data relationship type determined by the service logic layer is: the querying of other nodes of the knowledge-graph having a relationship corresponding to the determined data relationship type with at least one node of the knowledge-graph may include:
in a graph database, a direct dependency node and an indirect dependency node of at least one knowledge graph node are inquired according to the relationship among the nodes, the direct dependency node is directly connected with the at least one knowledge graph node through the dependency relationship, the indirect dependency node is indirectly connected with the at least one knowledge graph node through at least one other node to form a dependency path, and the dependency relationship is formed between every two adjacent nodes in any dependency path.
In this way, the present disclosure can query and process both the indirect dependent nodes and the indirect dependent nodes.
Optionally, the dependency data may be tagged with relatesTo. Modifications that represent a file may have an effect on dependent files. The expression of the dependency relationship mainly includes mutual reference terms among the files.
The affiliation may include: dependencies between files, dependencies between files and broad classes.
Dependencies between files can be marked with consstsof. Indicating that a child document is bound by a parent document, e.g., document a is bound by document B.
The dependencies between files and large classes can be marked with hasMethod, which can indicate to which file type a certain file belongs.
In an optional embodiment of the present invention, the data relationship type may further include: and the relation between the subclasses and the parent classes is used for reflecting the relation between the file types. For example: the type A is a parent of type A1.
For a knowledge graph with dependency data and dependency data existing at the same time, an optional embodiment of the present invention may set: when the first node is dependent on the second node and the first node is dependent on the third node, then the third node is not dependent on the second node.
Meanwhile, the invention can also set that: when a first node is subordinate to a second node, the first node is dependent on the second node.
S300, the business logic layer calls a target data operation function in the data access layer, and according to the file information, the associated object of the target file is inquired from a target data interface of the graphic database and the inquired associated object is processed by calling the target data operation function.
In practical application, the invention can be realized by using SpringBoot as a development Framework, and a Resource Description Framework (RDF) file of the knowledge graph is created by using ontology editing software Prot g. The RDF can be used to describe the characteristics of the resources and their interrelations, and most knowledge maps use RDF as the language for describing the resources. In an alternative embodiment of the invention, an RDF language format like XML may be used. The method can store the RDF into an Apache Jena Fuseki database, operate the database through an Apache Jena ARQ data operation Application Protocol Interface (API) to obtain a return result, and form a visual system relationship view by using vis. In order to embody the dependency relationship between the nodes of different subtrees, the invention can search the structured knowledge graph through the SPARQL statement. The returned result is visualized through the front-end JavaScript, so that a visual angle is provided for a user.
The Prot g é software is knowledge editing and knowledge acquiring software developed based on Java language, and provides a function of constructing knowledge concept classes, relationships, attributes and instances.
The SPARQL is a query language and data acquisition protocol, provides a query function rich in the RDF graph structure, and particularly provides a retrieval operation combining a graph algorithm, which is not available in relational databases such as MySQL.
In the method for processing the file associated object provided by the embodiment of the present invention, a presentation layer obtains a file associated object processing request sent by a client device, the presentation layer sends the file associated object processing request to a service logic layer, and the file associated object processing request carries file information of a target file; the business logic layer analyzes the file associated object processing request and determines a target data operation function and a target data interface which are matched with the file associated object processing request; and the business logic layer calls the target data operation function in the data access layer, inquires the associated object of the target file from the target data interface of the graphic database according to the file information and calls the target data operation function to process the inquired associated object. The invention can quickly realize the inquiry or other processing of the associated objects of the files.
With respect to the method shown in fig. 2, another method for processing a file association object provided in the embodiment of the present invention may further include:
the service logic layer sends the processing result of the associated object to a user interface layer of the client equipment through the presentation layer;
and the user interface layer graphically displays the processing result.
The user can interact with the service logic layer through the user interface layer, and various requests are transmitted to the server equipment through the user interface layer, and the feedback of the processing result is obtained.
Corresponding to the method embodiment shown in fig. 2, an embodiment of the present invention further provides a server device, and as shown in fig. 1, the server device 001 includes: presentation layer 002, business logic layer 003, data access layer 004, and graphics database 005,
the presentation layer 002 is configured to perform: acquiring a file associated object processing request sent by client equipment, and sending the file associated object processing request to a service logic layer 003 by a presentation layer, wherein the file associated object processing request carries file information of a target file;
business logic layer 003 is configured to perform: analyzing the file associated object processing request, determining a target data operation function and a target data interface which are matched with the file associated object processing request, calling the target data operation function in the data access layer 004 by the business logic layer 003, inquiring the associated object of the target file from the target data interface of the graphic database 005 according to the file information, and calling the target data operation function to process the inquired associated object.
Optionally, the service logic layer parses the file associated object processing request, determines a target data operation function and a target data interface matched with the file associated object processing request, and specifically sets the following steps:
the business logic layer analyzes the file associated object processing request and determines the processing type and the data relation type of the file associated object processing request;
and the business logic layer determines a target data operation function matched with the processing type and the data relation type and determines a target data interface matched with the processing type and the data relation type.
Optionally, the processing types include: at least one of addition, deletion, modification and search; and/or, the data relationship types include: at least one of dependency data, and parallel data.
Optionally, querying the associated object of the target file from the target data interface of the graphic database includes:
at least one knowledge graph node corresponding to the target file is inquired from a target data interface of the graph database, other knowledge graph nodes having a relation corresponding to the determined data relation type with the at least one knowledge graph node are inquired, and the related objects corresponding to the inquired other knowledge graph nodes are determined.
Optionally, the data relationship type determined by the service logic layer is: the dependency relationship data is used for inquiring other knowledge graph nodes having a relationship corresponding to the determined data relationship type with at least one knowledge graph node, and the dependency relationship data comprises the following steps:
in a graph database, a direct dependency node and an indirect dependency node of at least one knowledge graph node are inquired according to the relationship among the nodes, the direct dependency node is directly connected with the at least one knowledge graph node through the dependency relationship, the indirect dependency node is indirectly connected with the at least one knowledge graph node through at least one other node to form a dependency path, and the dependency relationship is formed between every two adjacent nodes in any dependency path.
Optionally, the service logic layer may further send the processing result of the associated object to a user interface layer of the client device through the presentation layer; and the user interface layer graphically displays the processing result.
The server device comprises a processor and a memory, wherein the presentation layer, the service logic layer, the data access layer, the graphic database and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more, and data is inquired and processed by adjusting kernel parameters.
An embodiment of the present invention provides a storage medium, on which a program is stored, and when the program is executed by a processor, the program implements a processing method of the file associated object.
The embodiment of the invention provides a processor, which is used for running a program, wherein the processing method of the file associated object is executed when the program runs.
As shown in fig. 5, an embodiment of the present invention provides a server device 70, where the server device 70 includes at least one processor 701, at least one memory 702 connected to the processor 701, and a bus 703; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call the program instructions in the memory 702 to execute the processing method of the file association object. The server device in this context may be a server, a PC, a PAD, a mobile phone, etc.
The present application also provides a computer program product adapted to execute, when executed on a data processing device, a program of steps comprised in a processing method of initializing a file association object as described above.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It should also be noted that 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 identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A processing method for file associated objects is applied to a server device, and the server device includes: the method comprises a presentation layer, a business logic layer, a data access layer and a graphic database, and comprises the following steps:
the presentation layer obtains a file associated object processing request sent by client equipment, and sends the file associated object processing request to the service logic layer, wherein the file associated object processing request carries file information of a target file;
the business logic layer analyzes the file associated object processing request and determines a target data operation function and a target data interface which are matched with the file associated object processing request;
and the business logic layer calls the target data operation function in the data access layer, inquires the associated object of the target file from the target data interface of the graphic database according to the file information and calls the target data operation function to process the inquired associated object.
2. The method of claim 1, wherein the parsing the file associated object handling request by the business logic layer to determine a target data manipulation function and a target data interface matching the file associated object handling request comprises:
the business logic layer analyzes the file associated object processing request and determines the processing type and the data relationship type of the file associated object processing request;
and the business logic layer determines a target data operation function matched with the processing type and the data relation type and determines a target data interface matched with the processing type and the data relation type.
3. The method of claim 2, wherein the processing type comprises: at least one of addition, deletion, modification and search; and/or, the data relationship types include: at least one of dependency data, and parallel data.
4. The method according to claim 2 or 3, wherein the querying of the object associated with the target file from the target data interface of the graphic database comprises:
querying at least one knowledge-graph node corresponding to the target file from the target data interface of the graph database, querying other knowledge-graph nodes having a relationship corresponding to the determined data relationship type with the at least one knowledge-graph node, and determining associated objects corresponding to the queried other knowledge-graph nodes.
5. The method of claim 4, wherein the data relationship type determined by the business logic layer is: dependency data querying other knowledgegraph nodes having a relationship corresponding to the determined data relationship type with the at least one knowledgegraph node, comprising:
in the graph database, a direct dependency node and an indirect dependency node of the at least one knowledge graph node are inquired according to the relationship among the nodes, the direct dependency node is directly connected with the at least one knowledge graph node through the dependency relationship, the indirect dependency node is indirectly connected with the at least one knowledge graph node through at least one other node to form a dependency path, and the dependency relationship is formed between every two adjacent nodes in any dependency path.
6. The method of claim 1, further comprising:
the business logic layer sends the processing result of the associated object to a user interface layer of the client equipment through the presentation layer;
and the user interface layer graphically displays the processing result.
7. A server device, wherein the server device comprises: a presentation layer, a business logic layer, a data access layer and a graphic database,
the presentation layer is configured to perform: acquiring a file associated object processing request sent by client equipment, wherein the presentation layer sends the file associated object processing request to the service logic layer, and the file associated object processing request carries file information of a target file;
the business logic layer is configured to perform: analyzing the file associated object processing request, determining a target data operation function and a target data interface which are matched with the file associated object processing request, calling the target data operation function in the data access layer by the service logic layer, inquiring the associated object of the target file from the target data interface of the graphic database according to the file information, and calling the target data operation function to process the inquired associated object.
8. The server-side device of claim 7, wherein the service logic layer parses the file-associated object processing request, determines a target data operation function and a target data interface that are matched with the file-associated object processing request, and is specifically configured to:
the business logic layer analyzes the file associated object processing request and determines the processing type and the data relationship type of the file associated object processing request;
and the business logic layer determines a target data operation function matched with the processing type and the data relation type and determines a target data interface matched with the processing type and the data relation type.
9. A server-side device comprises at least one processor, at least one memory connected with the processor, and a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the processing method of the file association object of any of claims 1 to 6.
10. A computer-readable storage medium, wherein when executed by a processor of a server device, the instructions enable the server device to perform the method of processing the file association object according to any one of claims 1 to 6.
CN202011570088.2A 2020-12-26 2020-12-26 Processing method of file associated object, server side equipment and storage medium Pending CN112597105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011570088.2A CN112597105A (en) 2020-12-26 2020-12-26 Processing method of file associated object, server side equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011570088.2A CN112597105A (en) 2020-12-26 2020-12-26 Processing method of file associated object, server side equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112597105A true CN112597105A (en) 2021-04-02

Family

ID=75202558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011570088.2A Pending CN112597105A (en) 2020-12-26 2020-12-26 Processing method of file associated object, server side equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112597105A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220903A (en) * 2021-05-19 2021-08-06 云南电网有限责任公司电力科学研究院 Power accident visual analysis system and method based on knowledge graph

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829858A (en) * 2018-06-22 2018-11-16 北京京东金融科技控股有限公司 Data query method, apparatus and computer readable storage medium
CN110765295A (en) * 2019-09-06 2020-02-07 中国平安财产保险股份有限公司 Graph database-based query method and device, computer equipment and storage medium
CN111339141A (en) * 2020-02-25 2020-06-26 腾讯科技(深圳)有限公司 Data transmission method, block link node equipment and medium
CN112069422A (en) * 2020-08-11 2020-12-11 长沙市到家悠享网络科技有限公司 Information display method, server, terminal and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829858A (en) * 2018-06-22 2018-11-16 北京京东金融科技控股有限公司 Data query method, apparatus and computer readable storage medium
CN110765295A (en) * 2019-09-06 2020-02-07 中国平安财产保险股份有限公司 Graph database-based query method and device, computer equipment and storage medium
CN111339141A (en) * 2020-02-25 2020-06-26 腾讯科技(深圳)有限公司 Data transmission method, block link node equipment and medium
CN112069422A (en) * 2020-08-11 2020-12-11 长沙市到家悠享网络科技有限公司 Information display method, server, terminal and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张黎光 等: "秦岭菌物标本数据库管理系统的构建", 《贵州农业科学》, pages 136 - 140 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220903A (en) * 2021-05-19 2021-08-06 云南电网有限责任公司电力科学研究院 Power accident visual analysis system and method based on knowledge graph
CN113220903B (en) * 2021-05-19 2023-01-20 云南电网有限责任公司电力科学研究院 Power accident visual analysis system and method based on knowledge graph

Similar Documents

Publication Publication Date Title
US10769165B2 (en) Computing data lineage across a network of heterogeneous systems
CN108156022B (en) Service calling method and device and electronic equipment
KR101153002B1 (en) Method, system, and apparatus for providing access to workbook models through remote function calls
RU2611966C2 (en) Data enrichment recommending system
CN110471949B (en) Data blood margin analysis method, device, system, server and storage medium
JP2018528559A (en) Method and system for realizing data tracking by software development kit
US11941068B2 (en) Case leaf nodes pointing to business objects or document types
EP3945436A1 (en) Methods, apparatuses, and devices for generating digital document of title
CN106951231B (en) Computer software development method and device
US10915378B1 (en) Open discovery service
CN111258565A (en) Method, system, server and storage medium for generating small program
CN112416923A (en) Metadata management method and device, equipment and storage medium
CN111198772A (en) Method and system for generating application program interface API
CN111818175A (en) Enterprise service bus configuration file generation method, device, equipment and storage medium
CN117271460B (en) Scientific research digital networking service method and system based on scientific research digital object language relation
CN112597105A (en) Processing method of file associated object, server side equipment and storage medium
CN114675982A (en) General method and system for acquiring data of service integration system
CN112491943A (en) Data request method, device, storage medium and electronic equipment
US20220229858A1 (en) Multi-cloud object store access
US9230022B1 (en) Customizable result sets for application program interfaces
US10114864B1 (en) List element query support and processing
CN114329495A (en) Endogenous security based asset vulnerability static analysis method and device
CN110968580B (en) Method and device for creating data storage structure
CN115827589A (en) Authority verification method and device, electronic equipment and storage medium
US20140143278A1 (en) Application programming interface layers for analytical applications

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