CN111984710A - Data calculation method and device, computer storage medium and electronic equipment - Google Patents

Data calculation method and device, computer storage medium and electronic equipment Download PDF

Info

Publication number
CN111984710A
CN111984710A CN201910433425.4A CN201910433425A CN111984710A CN 111984710 A CN111984710 A CN 111984710A CN 201910433425 A CN201910433425 A CN 201910433425A CN 111984710 A CN111984710 A CN 111984710A
Authority
CN
China
Prior art keywords
data
neo4j
database
nodes
relationship
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
CN201910433425.4A
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.)
Gosuncn Technology Group Co Ltd
Original Assignee
Gosuncn Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gosuncn Technology Group Co Ltd filed Critical Gosuncn Technology Group Co Ltd
Priority to CN201910433425.4A priority Critical patent/CN111984710A/en
Publication of CN111984710A publication Critical patent/CN111984710A/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/25Integrating or interfacing systems involving database management systems
    • 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data calculation method, a data calculation device, a computer storage medium and electronic equipment, wherein the data calculation method comprises the following steps: performing data acquisition from an equipment system API interface and storing data; establishing a database according to the stored data; establishing a neo4j node and a label through a database interface; establishing a neo4j relationship through a database interface; and designing a node formula and calculating. According to the data calculation method disclosed by the embodiment of the invention, the neo4j graph database is used, the association of graph nodes is utilized, the structuralization of the data relation is converted into the unstructured structuralization, the data networking is presented by utilizing the graph characteristics, the fixed calculation of a data formula is converted into the dynamic configuration of the formula, and the data calculation method well solves the problem that the traditional database cannot process the complex data relation.

Description

Data calculation method and device, computer storage medium and electronic equipment
Technical Field
The present invention relates to the technical field of data calculation, data storage, and the like based on the field of data centers, and more particularly, to a data calculation method, an apparatus, a computer storage medium, and an electronic device.
Background
The MySQL database is a relational database management system, converts real objects into model objects based on scene requirements, stores data in different tables in a specific structured mode, supports a large database and a 5000-ten-thousand-record data warehouse, and is widely applied in the industry due to the advantages of free sources, cross-platform and use of a standard SQL data language form.
However, with the prior art MySQL database, if MySQL needs to represent some complex relationships during query, many table connections are inevitably constructed, and thus many complex operations are formed. Since the cartesian product principle is usually used to filter a large amount of data in the query, the data mostly has nothing to do with the result, some data may just find its name by ID, and as the data amount increases, even a small part of data is queried, the query becomes slower and slower, and the performance is gradually reduced, so that the query is unbearable. The calculation of the energy consumption capacity can only be analyzed by a fixed set of formula operation, and the intelligent configuration formula cannot generate a dynamic result.
Disclosure of Invention
In view of the above, the present invention provides a data calculation method, an apparatus, a computer storage medium, and an electronic device, where the data calculation method can effectively handle complex data relationships.
In order to solve the technical problems, the invention adopts the following technical scheme:
the data calculation method according to the embodiment of the first aspect of the invention comprises the following steps:
performing data acquisition from an equipment system API interface and storing data;
establishing a database according to the stored data;
establishing a neo4j node and a label through a database interface;
establishing a neo4j relationship through a database interface;
and designing a node formula and calculating.
According to an embodiment of the invention, the building a database from the stored data comprises:
establishing neo4j database service, starting the service, and entering a neo4j visual management interface;
in the original Java engineering integration Spring Data Neo4j framework, a Neo4j database is linked by using a repositor Data warehouse interface.
According to one embodiment of the invention, the neo4j node includes one or more of a device, a spatial relationship, a logical relationship, and a hierarchical relationship.
According to one embodiment of the present invention, each of the neo4j nodes stores node attributes.
According to an embodiment of the present invention, the establishing a neo4j relationship through a database interface includes: the device, the spatial relationship, the logical relationship, and the hierarchical relationship are connected by a connecting line.
According to an embodiment of the present invention, each type of the neo4j relationship is a containment relationship, an association relationship, or a custom relationship.
According to an embodiment of the present invention, the designing and calculating a node formula includes:
designing a node formula, dynamically storing formula nodes through a database interface, and connecting the formula nodes to corresponding equipment nodes, spatial relation nodes, logical relation nodes and hierarchical relation nodes according to the service relation.
According to an embodiment of the invention, the method further comprises:
and a calculator which is configurable by a user is realized on an interface of application background configuration, and a storage inlet of the neo4j relation is provided.
According to an embodiment of the invention, the method further comprises:
on a user operation interface, providing inquiry conditions of multiple dimensions of equipment nodes, spatial relation nodes, logic relation nodes and hierarchical relation nodes, calling a neo4j database through a data warehouse interface, and returning corresponding data to Java background codes to calculate results according to corresponding nodes.
A data computing apparatus according to an embodiment of the second aspect of the present invention comprises:
the acquisition module is used for acquiring data information from an equipment system API (application program interface);
The storage module is used for storing the acquired data information;
and the computing module is used for carrying out data computing on the stored data information.
According to one embodiment of the invention, the calculation module comprises a calculation unit for performing data calculation on the stored data information.
A computer storage medium according to an embodiment of the third aspect of the invention comprises one or more computer instructions which, when executed, implement the method as described in the above embodiments.
An electronic device according to a fourth aspect of the present invention comprises a memory for storing one or more computer instructions and a processor; the processor is configured to invoke and execute the one or more computer instructions to implement the method as described in the embodiments above.
The technical scheme of the invention has the following beneficial effects:
according to the data calculation method disclosed by the embodiment of the invention, the neo4j graph database is used, the association of graph nodes is utilized, the structuralization of the data relation is converted into the unstructured structuralization, the data networking is presented by utilizing the graph characteristics, the fixed calculation of a data formula is converted into the dynamic configuration of the formula, and the data calculation method well solves the problem that the traditional database cannot process the complex data relation.
Drawings
FIG. 1 is a flow chart of a data calculation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of data center campus management according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of neo4j graph database according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a data computing device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an electronic device according to an embodiment of the invention.
Reference numerals:
a data calculation method 100;
data center park management 101;
neo4j graphic database 102;
a data computing device 200;
an acquisition module 201;
a storage module 202;
a calculation module 203; a calculation unit 2031;
an electronic device 300;
a memory 310; an operating system 311; an application 312;
a processor 320; a network interface 330; an input device 340; a hard disk 350; a display device 360.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships are changed accordingly.
The data calculation method 100 according to the embodiment of the present invention will be described in detail below with reference to the drawings.
As shown in fig. 1, a data calculation method 100 according to an embodiment of the present invention includes: performing data acquisition from an equipment system API interface and storing data; establishing a database according to the stored data; establishing a neo4j node and a label through a database interface; establishing a neo4j relationship through a database interface; and designing a node formula and calculating.
In other words, the main flow of the data calculation method 100 according to the embodiment of the present invention is roughly as follows: firstly, data acquisition can be carried out through an equipment system API (application program interface) of data center equipment, and the acquired data is stored. A database may then be built from the stored data, which may store the data in graph form using neo4j graph database 102, whose stored data may be formed into associated data that may better describe the data relationships. The neo4j nodes and tags can then be established through the database interface and the neo4j relationships can be established through the database interface. The graph database 102 technology of neo4j can be used to store the user-defined nodes and relationships from the bottom layer in a graph manner, so that the finding of the relationship between two nodes from a certain node through the node-node relationship can be realized efficiently. And finally, a node formula can be designed and calculated, the formula can be similar to addition, subtraction, multiplication and division of a calculator by designing a new node formula, the formula nodes can be dynamically stored through a data warehouse interface, the structuralization of the data relation is converted into the unstructured, and the connection relation between the dynamic data storage and the data center equipment is convenient for the calculation of the dynamic formula.
It should be particularly noted that the data calculation method 100 according to the embodiment of the present invention may be applied in a service scenario of operation and maintenance management of a data center, specifically, taking a data center campus management 101 as an example, as shown in fig. 2, entities and relationships may be separated according to a design requirement of a third exemplary formula of a relational database, and the following tables are established: a device table (basic information table); a spatial relation table (tree-shaped hierarchical structure, which is a garden, an engine building, a floor and an engine room from big to small in sequence); an association table of the device and space relation (a plurality of devices correspond to a space); a logic relation table (a tree-shaped hierarchical structure which sequentially comprises an infrastructure, an electrical system, a subsystem and a submodule from big to small); association table of devices and logical relations (multiple devices correspond to multiple types); a hierarchical relation table (tree-shaped hierarchical structure, which refers to the relation between devices and considers the traversal of parent and child, peer and subordinate nodes); an association table of the devices and the hierarchical relationship (a plurality of devices correspond to a plurality of nodes); other business association, measuring point data of equipment (one equipment corresponds to a plurality of measuring points), an equipment expansion attribute table and the like.
For the data center park management 101, the neo4j graph database 102 technology is used for storing user-defined nodes and relationships from the bottom layer in a graph mode, and finding out the relation between two nodes from a certain node through the node-node relationship is realized efficiently. As shown in fig. 3, it can be known from the figure that: nodes and relationships are recorded in a graph; a relationship may be used to associate two nodes; both the node and the relationship can have their own attributes; nodes may be given multiple labels.
Therefore, according to the data calculation method 100 of the embodiment of the present invention, by using the neo4j graph database 102 and by the association of graph nodes, the structured data relationship is converted into the unstructured data relationship, the graph characteristics are used to present the data networking, the fixed calculation of the data formula is converted into the dynamic configuration of the formula, and the data calculation method 100 well solves the problem that the traditional database cannot process the complex data relationship.
According to one embodiment of the invention, building a database from stored data comprises: establishing a neo4j database service, starting the service, and entering a neo4j visual management interface. In the original Java engineering integration Spring Data Neo4j framework, a Neo4j database is linked by using a repositor Data warehouse interface.
That is, the process of building a database from stored data may consist essentially of the following two steps. For the relationship management of the data center equipment, a neo4j database service can be established first, the service is started, and a neo4j visual management interface is entered. The Spring Data Neo4j framework can then be integrated into the original Java engineering, linking the Neo4j database using the repositor Data warehouse interface.
In some embodiments of the present invention, the neo4j node may include one or more of a device, a spatial relationship, a logical relationship, and a hierarchical relationship. Each neo4j node stores node attributes.
In other words, as shown in fig. 2 and fig. 3, the neo4j node and the corresponding label can be established through the data warehouse interface, and the device, spatial relationship, logical relationship, and hierarchical relationship can be defined as the node of neo4 j. Each neo4j node may store respective attributes such as device nodes, tags defined as devices, each of which may be stored as a node.
According to one embodiment of the invention, the neo4j relationship is established through a database interface, including: the devices, spatial relationships, logical relationships, and hierarchical relationships are connected by links. The type of each neo4j relation is a containment relation, an association relation or a custom relation.
That is, neo4j relationships can be established through a data warehouse interface, and devices, spatial relationships, logical relationships, hierarchical relationships can be joined by wires, each type of neo4j relationship can be an inclusion (has), association (relationship), or other custom relationship, and so on.
In some embodiments of the present invention, designing a node formula and performing a calculation includes: designing a node formula, dynamically storing formula nodes through a database interface, and connecting the formula nodes to corresponding equipment nodes, spatial relation nodes, logical relation nodes and hierarchical relation nodes according to the service relation.
In other words, to avoid the fixing of the calculation formula of the energy consumption capacity data, a new node formula can be designed, and the formula can be similar to addition, subtraction, multiplication and division of a calculator, dynamically store the formula nodes through the data warehouse interface, and connect the formula nodes to corresponding equipment nodes, spatial relationship nodes, logical relationship nodes and hierarchical relationship nodes according to the business relationship.
According to an embodiment of the invention, the data calculation method 100 further comprises: and a calculator which is configurable by a user is realized on an interface of application background configuration, and a storage inlet of the neo4j relation is provided. On a user operation interface, providing inquiry conditions of multiple dimensions of equipment nodes, spatial relation nodes, logic relation nodes and hierarchical relation nodes, calling a neo4j database through a data warehouse interface, and returning corresponding data to Java background codes to calculate results according to corresponding nodes.
That is, the data calculation method 100 may further include the following two processes: first, a user-configurable calculator can be implemented on an interface of application background configuration, and a preservation entry of neo4j relationship is provided. Then, query conditions of multiple dimensions such as equipment nodes, spatial relationship nodes, logical relationship nodes and hierarchical relationship nodes can be provided on a user operation interface, a neo4j database is called through a data warehouse interface, relevant nodes are traversed from the dimensions, and relevant data are returned to Java background codes to directly calculate results.
In summary, according to the data calculation method 100 of the embodiment of the present invention, by using the neo4j graph database 102 and through the association of graph nodes, the structured data relationship is converted into the unstructured data relationship, the graph characteristics are used to present the data networking, and the fixed calculation of the data formula is converted into the dynamic configuration of the formula, so that the data calculation method 100 well solves the problem that the traditional database cannot process the complex data relationship.
The data computing apparatus 200 according to the second aspect of the present invention includes an acquisition module 201, a storage module 202, and a computing module 203.
Specifically, as shown in fig. 4, the obtaining module 201 is configured to obtain data information from an API interface of the device system, the storing module 202 is configured to store the obtained data information, and the calculating module 203 is configured to perform data calculation on the stored data information.
That is, the data calculation apparatus 200 is mainly composed of an acquisition module 201, a storage module 202, and a calculation module 203. The obtaining module 201 may be configured to obtain data information from an API interface of a device system, and the storing module 202 may be configured to store the obtained data information, and a database may be established according to the stored data information, and the database may use the neo4j graph database 102 to store data in a graph form, and the stored data may be formed as associated data, so as to better describe a data relationship. The calculation module 203 can be used for performing data calculation on stored data information, can perform calculation by designing a node formula, and can be similar to addition, subtraction, multiplication and division of a calculator by designing a new node formula.
According to an embodiment of the invention, the calculation module 203 comprises a calculation unit 2031, the calculation unit 2031 being configured to perform data calculation on the stored data information.
In other words, the computing module 203 may include a computing unit 2031, and the computing unit 2031 may be used to perform data computation on the stored data information.
In addition, an embodiment of the present invention further provides a computer storage medium, where the computer storage medium includes one or more computer instructions, and when executed, the one or more computer instructions implement any of the data processing methods described above.
That is, the computer storage medium stores a computer program, which, when executed by the processor 320, causes the processor 320 to execute any of the data processing methods described above.
As shown in fig. 5, an embodiment of the present invention further provides an electronic device 300, which includes a memory 310 and a processor 320, where the memory 310 is configured to store one or more computer instructions, and the processor 320 is configured to call and execute the one or more computer instructions, so as to implement any one of the methods described above.
That is, the electronic device 300 includes: a processor 320 and a memory 310, in which memory 310 computer program instructions are stored, wherein the computer program instructions, when executed by the processor 320, cause the processor 320 to perform any of the methods described above.
Further, as shown in fig. 5, the electronic device 300 further includes a network interface 330, an input device 340, a hard disk 350, and a display device 360.
The various interfaces and devices described above may be interconnected by a bus architecture. A bus architecture may be any architecture that may include any number of interconnected buses and bridges. One or more Central Processing Units (CPUs), represented in particular by processor 320, and one or more memories 310, represented by memory 310, are coupled together for various circuits. The bus architecture may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like. It will be appreciated that a bus architecture is used to enable communications among the components. The bus architecture includes a power bus, a control bus, and a status signal bus, in addition to a data bus, all of which are well known in the art and therefore will not be described in detail herein.
The network interface 330 may be connected to a network (e.g., the internet, a local area network, etc.), and may obtain relevant data from the network and store the relevant data in the hard disk 350.
The input device 340 may receive various commands input by an operator and send the commands to the processor 320 for execution. The input device 340 may include a keyboard or a pointing device (e.g., a mouse, a trackball, a touch pad, a touch screen, or the like).
The display device 360 may display the result of the instructions executed by the processor 320.
The memory 310 is used for storing programs and data necessary for operating the operating system 311, and data such as intermediate results in the calculation process of the processor 320.
It will be appreciated that memory 310 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. The memory 310 of the apparatus and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory 310.
In some embodiments, memory 310 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 311 and application programs 312.
The operating system 311 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs 312 include various application programs 312, such as a Browser (Browser), and the like, for implementing various application services. A program implementing methods of embodiments of the present invention may be included in application 312.
When the application 312 and data stored in the memory 310 are called and executed, specifically, the application 312 and data may be programs or instructions stored in the application 312, the processor 320 may collect and store data from the API interface of the device system, establish a database according to the stored data, establish a neo4j node and a label through the database interface, establish a neo4j relationship through the database interface, and finally design a node formula and perform calculation.
The method disclosed by the above embodiment of the present invention can be applied to the processor 320, or implemented by the processor 320. Processor 320 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 320. The processor 320 may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention. The general purpose processor 320 may be a microprocessor or the processor 320 may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by the hardware decoding processor 320, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 310, and the processor 320 reads the information in the memory 310 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in memory 310 and executed by processor 320. The memory 310 may be implemented in the processor 320 or external to the processor 320.
In particular, the processor 320 is also configured to read the computer program and execute any of the methods described above.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "illustrative embodiments," "preferred embodiments," "detailed description," or "preferred embodiments" or the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A method of data computation, the method comprising:
performing data acquisition from an equipment system API interface and storing data;
establishing a database according to the stored data;
establishing a neo4j node and a label through a database interface;
establishing a neo4j relationship through a database interface;
and designing a node formula and calculating.
2. The data computing method of claim 1, wherein building a database from the stored data comprises:
establishing neo4j database service, starting the service, and entering a neo4j visual management interface;
in the original Java engineering integration Spring Data Neo4j framework, a Neo4j database is linked by using a repositor Data warehouse interface.
3. The data computing method of claim 2, wherein the neo4j node comprises one or more of a device, a spatial relationship, a logical relationship, and a hierarchical relationship.
4. The data computing method of claim 3, wherein each said neo4j node stores a node attribute.
5. The data computing method of claim 3, wherein said establishing a neo4j relationship through a database interface comprises: the device, the spatial relationship, the logical relationship, and the hierarchical relationship are connected by a connecting line.
6. The data calculation method of claim 5, wherein each of the neo4j relationships is of a type of containment relationship, an associative relationship, or a custom relationship.
7. The data calculation method of claim 1, wherein designing the node formula and performing the calculation comprises:
designing a node formula, dynamically storing formula nodes through a database interface, and connecting the formula nodes to corresponding equipment nodes, spatial relation nodes, logical relation nodes and hierarchical relation nodes according to the service relation.
8. The data computing method of claim 1, further comprising:
and a calculator which is configurable by a user is realized on an interface of application background configuration, and a storage inlet of the neo4j relation is provided.
9. The data computing method of claim 8, further comprising:
on a user operation interface, providing inquiry conditions of multiple dimensions of equipment nodes, spatial relation nodes, logic relation nodes and hierarchical relation nodes, calling a neo4j database through a data warehouse interface, and returning corresponding data to Java background codes to calculate results according to corresponding nodes.
10. A data computing apparatus, comprising:
the acquisition module is used for acquiring data information from an equipment system API (application program interface);
the storage module is used for storing the acquired data information;
and the computing module is used for carrying out data computing on the stored data information.
11. The data calculation device of claim 10, wherein the calculation module comprises a calculation unit configured to perform data calculation on the stored data information.
12. A computer storage medium comprising one or more computer instructions which, when executed, implement the method of any one of claims 1-9.
13. An electronic device comprising a memory and a processor, wherein,
the memory is to store one or more computer instructions;
the processor is configured to invoke and execute the one or more computer instructions to implement the method of any one of claims 1-9.
CN201910433425.4A 2019-05-23 2019-05-23 Data calculation method and device, computer storage medium and electronic equipment Pending CN111984710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910433425.4A CN111984710A (en) 2019-05-23 2019-05-23 Data calculation method and device, computer storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910433425.4A CN111984710A (en) 2019-05-23 2019-05-23 Data calculation method and device, computer storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111984710A true CN111984710A (en) 2020-11-24

Family

ID=73437406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910433425.4A Pending CN111984710A (en) 2019-05-23 2019-05-23 Data calculation method and device, computer storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111984710A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609131A (en) * 2021-07-30 2021-11-05 上海飞机制造有限公司 Data storage method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609131A (en) * 2021-07-30 2021-11-05 上海飞机制造有限公司 Data storage method, device, equipment and storage medium
CN113609131B (en) * 2021-07-30 2024-05-31 商飞智能技术有限公司 Data storage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107480198B (en) Distributed NewSQL database system and full-text retrieval method
US11030247B2 (en) Layered graph data structure
CN108519967B (en) Chart visualization method and device, terminal and storage medium
US8751437B2 (en) Single persistence implementation of business objects
De Virgilio et al. Model-driven design of graph databases
CN102426582B (en) Data manipulation management devices and data manipulation management method
CN102196000A (en) Browser/server (B/S)-structure-based service flow visualization method and system
CN116383238B (en) Data virtualization system, method, device, equipment and medium based on graph structure
CN111768850A (en) Hospital data analysis method, hospital data analysis platform, device and medium
CN111627552A (en) Medical streaming data blood relationship analysis and storage method and device
CN107102995B (en) Method and device for determining SQL execution plan
Abbani et al. A distributed reconfigurable active SSD platform for data intensive applications
WO2017107130A1 (en) Data query method and database system
CN116450890A (en) Graph data processing method, device and system, electronic equipment and storage medium
US8650534B2 (en) Metaobject enhancement objects
CN111984710A (en) Data calculation method and device, computer storage medium and electronic equipment
CN112905600A (en) Data query method and device, storage medium and electronic equipment
US10311051B1 (en) Storing modeling alternatives with unitized data
CN112800056B (en) Multi-layer index construction method based on multi-granularity space-time data
US9460139B2 (en) Distributed storage system with pluggable query processing
WO2022220982A1 (en) Database query execution on multiple databases
Agárdi Relontouml model of the archaeological findings
Cheng et al. Generic cumulative annular bucket histogram for spatial selectivity estimation of spatial database management system
CN113641698B (en) Method and device for generating continuous table query code, electronic equipment and computer readable storage medium
CN112732704B (en) Data processing method, device and storage medium

Legal Events

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