CN114090018A - Index calculation method and device of industrial internet equipment and electronic equipment - Google Patents
Index calculation method and device of industrial internet equipment and electronic equipment Download PDFInfo
- Publication number
- CN114090018A CN114090018A CN202210082835.0A CN202210082835A CN114090018A CN 114090018 A CN114090018 A CN 114090018A CN 202210082835 A CN202210082835 A CN 202210082835A CN 114090018 A CN114090018 A CN 114090018A
- Authority
- CN
- China
- Prior art keywords
- index
- calculation
- index calculation
- target
- indexes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
- G06F8/427—Parsing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
- G06F16/244—Grouping and aggregation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2452—Query translation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/43—Checking; Contextual analysis
- G06F8/433—Dependency analysis; Data or control flow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
- G06F9/45512—Command shells
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45516—Runtime code conversion or optimisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Mathematical Physics (AREA)
- Strategic Management (AREA)
- Game Theory and Decision Science (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides an index calculation method and device for industrial internet equipment and electronic equipment. In the method, the index calculation system can analyze the index dependency relationship according to the target index calculation model defined by the user, calculate the granularity and the level of each index according to the index dependency relationship, further automatically arrange the index calculation task according to the granularity and the level of each index, and finally obtain the calculation result of the target index in the index calculation task. The method can depict the index dependency relationship, even if the target index calculation model is changed, the index calculation system does not need to be developed and reformed, the target index calculation model is completely independent of other service codes of the index calculation system, a user can concentrate on the calculation logic and the service significance of the target index calculation model, does not need to care about the source or the data flow direction of the index, the index calculation system can process the target index calculation model more flexibly, and the development and maintenance cost is reduced.
Description
Technical Field
The invention relates to the technical field of industrial internet, in particular to an index calculation method and device of industrial internet equipment and electronic equipment.
Background
The equipment indexes are the most intuitive and important basis for users of the industrial Internet to know and operate the industrial Internet equipment, and are important bridges for communicating the digital twin of the industrial equipment. The index calculation of the industrial equipment has the following characteristics:
1. the index calculation logic is changed frequently, and the development iteration speed of the index system cannot catch up with the change of the index calculation requirement; for example, the calculation of the "oil consumption" of the pumping equipment often involves calculation by day, month and year, and aggregation calculation of indefinite duration, and the calculation logic of the "oil consumption" itself may also be changed (such as collecting data from different tank sensors, etc.), if different calculation logics are written for each design, the calculation logic is easily involved in writing and debugging of a large amount of calculation logics, and extremely high labor cost is consumed, which is also a common problem of the conventional index calculation system;
2. the index calculation source is complex, large industrial equipment often integrates various IT (information technology) and OT (operation technology) data, and the number of the related indexes is large, the format change is large, and the source is complex. The computing logic of the conventional index computing system is coupled in the service code and is not good at processing the complex index source and data format;
3. the dependency relationship of the indexes is complex, and the indexes often have complex dependency relationship, for example, a technologist often needs to calculate the equipment oil consumption from the oil pressure sensor, and then deduces the average value of the equipment oil consumption (by days), the average value of the equipment oil consumption (by months), and the like from the equipment oil consumption, the calculation of the downstream indexes depends on the calculation result of the upstream indexes, and the traditional index calculation system often calculates and confirms the index results one by one through customized logics, which is not beneficial to describing and maintaining the dependency relationship.
In summary, the index calculation method of the existing industrial equipment needs continuous development and iteration of the index calculation system, the logic of the index calculation is coupled with other service codes of the index calculation system, and the index calculation system is not good at depicting the dependency relationship between indexes.
Disclosure of Invention
In view of the above, the present invention provides an index calculation method and apparatus for an industrial internet device, and an electronic device, so as to solve the technical problems that the index calculation method of the existing industrial device requires continuous development and iteration of an index calculation system, the logic of the index calculation is coupled with other service codes of the index calculation system, and the index calculation system is not good at describing the dependency relationship between indexes.
In a first aspect, an embodiment of the present invention provides an index calculation method for an industrial internet device, which is applied to an index calculation system, and the method includes:
acquiring a target index calculation model defined by a user, wherein the target index calculation model comprises at least one index calculation statement;
analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship;
determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation order of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index;
and arranging an index calculation task according to the granularity and the hierarchy of each index, and further executing the index calculation task to obtain an index calculation result of each index in the index calculation task.
Further, the index calculation statement is a statement of index calculation logic written according to a preset language and grammar rules, and the index calculation statement includes any one of the following: the language comprises basic computing sentences, aggregation computing sentences, custom computing sentences and combined computing sentences, wherein the preset language comprises any one of the following languages: SQL language, domain specific language, computer programming scripting language;
the execution mode when the index calculation task is executed includes any one of the following modes: and converting the corresponding index calculation statement into a database operation statement according to the index calculation task, and executing the corresponding index calculation statement in the index calculation task when a built-in computer programming language runs.
Further, analyzing the index calculation statement in the target index calculation model to obtain an index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship, including:
analyzing the index calculation statements in the target index calculation model through a grammar analyzer to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes from bottom to top according to the index dependency relationship.
Further, determining the level of each index in the dependency relationship directed acyclic graph by using a breadth-first traversal algorithm, including:
for a target index in the dependency relationship directed acyclic graph, wherein the target index is any index in indexes in the dependency relationship directed acyclic graph;
if the target index is an atomic index, determining that the hierarchy of the target index is a first preset value, wherein the atomic index represents an index independent of other indexes;
if the target index is not an atomic index, determining the level of the target index according to all sub-indexes of the target index, wherein the sub-indexes represent indexes depended on by the target index.
Further, determining the hierarchy of the target index according to all sub-indexes of the target index includes:
traversing each sub-index in all the sub-indexes;
if the granularity of a target sub-index in all the sub-indexes is the same as that of the target index, adding a preset value to the level of the target sub-index to serve as an initial level of the target index, and taking the maximum initial level in the initial level of the target index as the level of the target index;
and if the granularity of each sub-index in all the sub-indexes is different from the granularity of the target index, determining the level of the target index as the first preset value.
Further, the task of index calculation is arranged according to the granularity and the hierarchy of each index, and comprises the following steps:
the indexes with the same granularity are arranged into an index calculation task, wherein in one index calculation task, index calculation subtasks are arranged according to the calculation sequence represented by the hierarchy of each index, and each index calculation subtask comprises: hierarchy information and index information.
Further, the method further comprises:
acquiring an index to be recalculated and a recalculation time range corresponding to the index to be recalculated;
determining a dependency index depending on the index to be recalculated according to the dependency relationship directed acyclic graph;
and determining the calculation tasks to be recalculated, which comprise the indexes to be recalculated and the dependent indexes, and executing the calculation tasks to be recalculated within the recalculation time range to obtain the recalculation index calculation results of all the indexes in the calculation tasks to be recalculated within the recalculation time range.
In a second aspect, an embodiment of the present invention further provides an index calculation apparatus for an industrial internet device, which is applied to an index calculation system, where the apparatus includes:
the system comprises an acquisition unit, a calculation unit and a calculation unit, wherein the acquisition unit is used for acquiring a target index calculation model defined by a user, and the target index calculation model comprises at least one index calculation statement;
the analysis unit is used for analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship;
the determining unit is configured to determine, according to a calculation period of each indicator in the dependency directed acyclic graph, a granularity of each indicator in the dependency directed acyclic graph, and determine a level of each indicator in the dependency directed acyclic graph by using a breadth-first traversal algorithm, where the level is used to represent a calculation order of the indicator corresponding to the level, and the granularity is used to represent a calculation period of the indicator corresponding to the level;
and the task arranging and executing unit is used for arranging the index calculation tasks according to the granularity and the hierarchy of each index, further executing the index calculation tasks and obtaining the index calculation results of each index in the index calculation tasks.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to any one of the above first aspects when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing machine executable instructions, which when invoked and executed by a processor, cause the processor to perform the method of any of the first aspect.
The embodiment of the invention provides an index calculation method of industrial internet equipment, which is applied to an index calculation system. The method comprises the following steps: acquiring a target index calculation model defined by a user, wherein the target index calculation model comprises at least one index calculation statement; analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship; determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation sequence of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index; and arranging the index calculation tasks according to the granularity and the hierarchy of each index, and further executing the index calculation tasks to obtain index calculation results of each index in the index calculation tasks. According to the index calculation method, the index calculation system can analyze the index dependency relationship according to the target index calculation model defined by the user, determine the granularity and the level of each index in the index dependency relationship, further automatically arrange the index calculation task according to the granularity and the level of each index, and finally realize the calculation of each index in the index calculation task. In addition, the target index calculation model is completely independent of other service codes of the index calculation system, a user can concentrate on the target index calculation model without concerning the source of the index or the data flow direction, the index calculation system can more flexibly process the changed target index calculation model, the development and maintenance cost is reduced, and the technical problems that the existing index calculation method of the industrial equipment needs continuous development and iteration of the index calculation system, the logic of index calculation is coupled with other service codes of the index calculation system, and the index calculation system is not good at describing the dependency relationship between indexes are solved.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an index calculation method for an industrial internet device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a user-defined target index calculation model according to an embodiment of the present invention;
fig. 3 is a schematic diagram of obtaining an index dependency relationship according to a target index calculation model according to an embodiment of the present invention;
fig. 4 is a schematic diagram of constructing a dependency relationship directed acyclic graph between indexes according to an index dependency relationship, provided in the embodiment of the present invention;
fig. 5 is a schematic diagram of determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index provided in the embodiment of the present invention;
fig. 6 is a flowchart for determining the level of each index in the dependency directed acyclic graph by using a breadth-first traversal algorithm based on the granularity of each index according to the embodiment of the present invention;
fig. 7 is a schematic process diagram of obtaining a dependency directed acyclic graph with granularity and hierarchical information from the dependency directed acyclic graph according to the embodiment of the present invention;
FIG. 8 is a diagram illustrating the task of index calculation according to the granularity and hierarchy of each index according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an index calculating apparatus of an industrial internet device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be clearly and completely described below with reference to the following examples. 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 embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing index calculation method of the industrial equipment needs continuous development and iteration of an index calculation system, the logic of index calculation is coupled with other service codes of the index calculation system, and the index calculation system is not good at depicting the dependency relationship between indexes.
Based on the above, in the index calculation method of the industrial internet equipment, the index calculation system can analyze the index dependency relationship according to the target index calculation model defined by the user, determine the granularity and the level of each index in the index dependency relationship, and further automatically arrange the index calculation task according to the granularity and the level of each index, so as to finally realize the calculation of each index in the index calculation task. In addition, the target index calculation model is completely independent of other business codes of the index calculation system, a user can concentrate on the target index calculation model without paying attention to the source or the data flow direction of the index, the index calculation system can also process the changed target index calculation model more flexibly, and development and maintenance cost is reduced.
To facilitate understanding of the embodiment, first, a detailed description is given of an index calculation method of an industrial internet device disclosed in the embodiment of the present invention.
The first embodiment is as follows:
according to the embodiment of the invention, the embodiment of the index calculation method of the industrial internet equipment is provided. It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Fig. 1 is a flowchart of an index calculation method of an industrial internet device according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, obtaining a user-defined target index calculation model, wherein the target index calculation model comprises at least one index calculation statement;
in an embodiment of the present invention, the index calculation method of the industrial internet device may be applied to an index calculation system, where the target index calculation model is a unit that performs a specific service calculation function, the target index calculation model includes at least one index calculation statement, and what is shown in fig. 2 is a user-defined target index calculation model, where the target index calculation model includes a plurality of index calculation statements.
Step S104, analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship;
FIG. 3 is a diagram illustrating the index dependency obtained from a target index calculation model; fig. 4 is a schematic diagram illustrating a dependency relationship directed acyclic graph between indexes constructed according to the index dependency relationship.
In the dependency relationship directed acyclic graph, each index is used as a node, and the nodes are connected through connecting lines with arrows, and the connecting lines with the arrows are used for representing the dependency relationship between the indexes.
Step S106, determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation sequence of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index;
specifically, if the index calculation statement of an index does not include a time dimension, the calculation cycle is represented as instantaneous, and the corresponding granularity is also instantaneous; if the index calculation statement of an index is an aggregation operation statement, and the period is day, the calculation period is day, and the corresponding granularity is day. Fig. 5 is a schematic diagram illustrating the determination of the granularity of each index in the dependency directed acyclic graph according to the calculation cycle of each index.
The above-mentioned hierarchy is used to characterize the calculation order of its corresponding indicators, for example: the metric at level # 2 whose computational task depends on the metric at level # 1. The above-mentioned granularity is used to characterize the calculation period of its corresponding index, for example: the aggregated by-day index calculation period may be once per day and the aggregated by-month index calculation period may be once per month. The invention also allows the user to specify the operation period by himself.
The process of determining the levels of the indicators will be described in detail below, and will not be described herein again.
And step S108, arranging index calculation tasks according to the granularity and the hierarchy of each index, and further executing the index calculation tasks to obtain index calculation results of each index in the index calculation tasks.
The process will be described in detail below, and will not be described herein.
In an embodiment of the present invention, an index calculation method for an industrial internet device is provided, which is applied to an index calculation system, and includes: acquiring a target index calculation model defined by a user, wherein the target index calculation model comprises at least one index calculation statement; analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship; determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation sequence of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index; and arranging the index calculation tasks according to the granularity and the hierarchy of each index, and further executing the index calculation tasks to obtain index calculation results of each index in the index calculation tasks. According to the index calculation method, the index calculation system can analyze the index dependency relationship according to the target index calculation model defined by the user, determine the granularity and the level of each index in the index dependency relationship, further automatically arrange the granularity and the level of each index to obtain the index calculation task, and finally realize the calculation of each index in the index calculation task. The method can depict the index dependency relationship, and even if the target index calculation model is changed, the index calculation system is not required to be developed and iterated. In addition, the target index calculation model is completely independent of other service codes of the index calculation system, a user can concentrate on the target index calculation model without concerning the source of the index or the data flow direction, the index calculation system can more flexibly process the changed target index calculation model, the development and maintenance cost is reduced, and the technical problems that the existing index calculation method of the industrial equipment needs continuous development and iteration of the index calculation system, the logic of index calculation is coupled with other service codes of the index calculation system, and the index calculation system is not good at describing the dependency relationship between indexes are solved.
The above description briefly introduces the index calculation method of the industrial internet device of the present invention, and the details thereof will be described in detail.
In an optional embodiment of the present invention, the index calculation statement in step S102 is a statement of index calculation logic written according to a preset language and syntax, and the index calculation statement includes any one of the following: the system comprises basic calculation statements, aggregation calculation statements, custom calculation statements and combined calculation statements, wherein the preset language comprises any one of the following: SQL language, natural language, domain specific language (DSL language), computer programming scripting language.
Specifically, aiming at the investigation and analysis of the existing index calculation system of the main stream of the industrial internet, most index calculations are classified into the following 4 types:
1. basic calculation, namely algebraic operation or logical operation among simple indexes; such as: oil consumption = oil consumption/time, etc.;
2. aggregation calculation, namely aggregating the simple indexes according to a certain dimension (mainly a time dimension); such as "total oil consumption in a month";
3. custom computing, i.e., the user-defined computing logic in existing index computing systems, may involve multiple steps or multiple indices. This type of computation is a significant cause of high development and iteration costs of conventional index computing systems;
4. combinatorial computing, i.e., combining basic, simple computational logic with each other to form a new computational model. Such as: the model of calculating the total mechanical oil consumption through the oil consumption of each oil cylinder and the model of summing the mechanical oil consumption in months are combined, so that the index of summing the mechanical oil consumption in months can be directly calculated from the index of calculating the oil consumption of each oil cylinder.
For the above 4 types of index calculation, the following syntax can be correspondingly adopted to describe the index calculation process:
1) a basic computation statement: this part of the syntax design is substantially the same as the general mathematical expression. For example: the cement pump truck with multiple engines has the total oil consumption which is the sum of the oil consumption of each engine, and the grammatical expression is as follows:
def mSum = m1+m2
2) aggregate computation statements: this part of the syntax design uses keywords such as 'over' to describe the dimension and period of its aggregation. For example: and (3) averaging the oil consumption of one pump truck per day in a month, and expressing the grammar as:
def fuelConAvg = avg (fuel) over month (timestamp)// dimension is time (timestamp), period is monthly (month)
3) Self-defining a calculation statement: custom operations are created in a manner similar to the function definition in a programming language. For example: converting the longitude and latitude information of the equipment into a great circle distance on the earth surface according to a conversion rule:
def greatCircleDistance(long1, lat1, long2, lat2):
return constant(R)* arccos(sin(lat1)*sin(lat2)+ cos(lat1)*cos(lat2)* cos(abs(long1-long2)))
def distance = greatcircle distance (m _ a, m _ b, m _ c, m _ d)// m _ a, m _ b, m _ c, m _ d is a longitude and latitude index that actually exists
4) Combining the computation statements: the combination of the user-defined operations is supported, and the sequence of the user-defined operations is described by certain keywords (such as the 'the Apply' keyword). For example: combining complex user-defined logic through simple user-defined computation statements:
def fuelCon(m1, m2):
return m1*3.6+m2
def monthMax(m):
return max(m) over month(timestamp)
def fuelConMax = fuelCon
def f1 = fuelConMax(m1,m2)
The language used in the above example is DSL language (i.e. domain specific language), but may also be any other language, such as: SQL language, natural language, computer programming script language, etc., which are not specifically limited in the embodiments of the present invention.
The execution mode when the index calculation task is executed in step S108 includes any one of the following: and converting the corresponding index calculation statements into database operation statements according to the index calculation task, and sequentially executing the corresponding index calculation statements in the index calculation task when the built-in programming language runs.
Specifically, the index calculation task plan is executed according to the index calculation task arrangement result. The execution may be to convert the DSL into a database operation statement; or executing related data operation statements in some built-in programming language Runtime (Runtime); and finally, the index calculation system calculates to obtain a corresponding index calculation result according to the generated database operation statement and the index calculation task execution plan and stores the corresponding index calculation result in the database.
In an optional embodiment of the present invention, in step S104, analyzing the index calculation statement in the target index calculation model to obtain an index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship, specifically including:
analyzing the index calculation statements in the target index calculation model through a grammar analyzer to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes from bottom to top according to the index dependency relationship.
Specifically, indexes used by a user in a target index calculation model are obtained through analysis of a grammar Parser (Semantic Parser) from a grammar layer, index dependency relations of all indexes in the target index calculation model are obtained, and then a dependency relation directed acyclic graph between the indexes is constructed from bottom to top according to the index dependency relations. As shown in fig. 3 and 4.
In an optional embodiment of the present invention, referring to fig. 6, in step S106, determining a level of each index in the dependency directed acyclic graph by using a breadth-first traversal algorithm specifically includes the following steps:
step S601, aiming at a target index in the dependency relationship directed acyclic graph, wherein the target index is any index in indexes in the traversal dependency relationship directed acyclic graph;
step S602, if the target index is an atomic index, determining that the level of the target index is a first preset value, wherein the atomic index represents an index independent of other indexes;
the first preset value may be 0.
Step S603, if the target index is not an atomic index, determining a level of the target index according to all sub-indexes of the target index, where the sub-indexes represent indexes on which the target index depends.
The process specifically comprises the following steps: traversing each sub-index in all sub-indexes; if the granularity of the target sub-index is the same as that of the target index in all the sub-indexes, adding a preset value (which can be 1) to the level of the target sub-index to serve as an initial level of the target index, and taking the maximum initial level in the initial level of the target index as the level of the target index; and if the granularity of each sub-index in all the sub-indexes is different from the granularity of the target index, determining the level of the target index as a first preset value.
Fig. 7 is a schematic diagram illustrating a process of obtaining a dependency directed acyclic graph with granularity and hierarchy information from the dependency directed acyclic graph.
The pseudo code for determining the hierarchy of each index is as follows:
for(metric m in metric_domain):
if (m is atomic metric):
m.stage <- 0
else:
stage <- 0
for(child c in m.children):
if(c.granularity != m.granularity):
skip
else:
stage <- max(c.stage+1, stage)
m.stage <- stage
in an optional embodiment of the present invention, the orchestration of the indicator calculation tasks according to the granularity and the hierarchy of each indicator specifically includes:
the indexes with the same granularity are arranged into an index calculation task, wherein in the index calculation task, index calculation subtasks are arranged according to the calculation sequence represented by the hierarchy of each index, and each index calculation subtask comprises: hierarchy information and index information.
The index calculation task shows the sequence and the calculation period of index calculation. A schematic diagram of the orchestration of the indicator computation tasks according to the granularity and hierarchy of each indicator is shown in fig. 8.
In an optional embodiment of the invention, the method further comprises:
acquiring an index to be recalculated and a recalculation time range corresponding to the index to be recalculated; determining a dependency index depending on an index to be recalculated according to the dependency relationship directed acyclic graph; and determining the calculation tasks to be recalculated, which comprise the indexes to be recalculated and the dependent indexes, executing the calculation tasks to be recalculated within the recalculation time range to obtain the recalculation index calculation results of all the indexes in the calculation tasks to be recalculated within the recalculation time range, and updating the old index calculation results.
Specifically, it is considered that some indexes may need to be recalculated due to various reasons (for example, data is uploaded out of order due to basic condition, data is complemented back, and data is not uploaded in time due to operation and maintenance reasons, and a gap occurs). The process of recalculation involves the analysis of the index dependence and the time range of the index to be recalculated. According to the index dependency relationship, the invention can determine the task range related to index recalculation (namely determining the task to be recalculated and calculated within the recalculation time range), and the pseudo code of the specific algorithm is as follows:
if the time range of the index affected by the recalculation is known from the external back-up data is [ start _ time, end _ time ]
granularities < -get _ all _ granularities ()// get all granularities
Queue of calculation tasks requiring recompletion recalculation
for (granularity g in granularities)// go through all granularities
jobstartTime < -startTime// jobstartTime represents the start time of the granular recalculation computing task
jobendtime < -endtime// jobendtime represents the end time of the computational task whose granularity needs recalculation
for (granularity dependency _ g in g. dependencies)// traverse all granularities on which this granularity depends
jobendtime < -min (jobendtime, get _ last _ time (dependent _ g))// find the minimum end time of all dependent granularities, ensuring that the execution time of the computing task of the granularity does not exceed the execution time of the dependent granularity, otherwise, the dependent computing task is not calculated.
while (jobendtime < endtime)// if jobendtime is less than the end time of the complement
Add (g, jobstart time, jobend time)// add all data between the current jobstart time and jobend time to the queue of the backfilling recalculation task
job _ start _ time < -job _ end _ time// start to find the task for the next running period
job_end_time <- get_next_run(job_start_time, time_unit)
return _ again _ jobs// queue for returning calculation tasks to be backlogged and recalculated
For example, if the atomic index in the range of 15:00-17:00 in 11/1/00 needs to be recalculated, all calculation tasks for aggregating the index by day and month need to be recalculated, and all calculation tasks with the task time range including 15:00-17:00 in 11/1/17/00 and depending on the atomic index need to be recalculated.
The index calculation method of the industrial internet equipment dissociates the calculation logic of the index (namely, the index calculation statement, also can refer to a target index calculation model) from other service codes of the index calculation system, and the calculation logic and the dependency relationship of the index are described through universal and concise grammar, so that equipment and process personnel without programming basis can describe the calculation logic of the index in a relatively concise and definite manner in a relatively short time and in a manner unrelated to the calculation technology; in addition, the index calculation system can automatically arrange index calculation tasks according to the dependency relationship among indexes and the granularity and the level of the indexes, generate index calculation results according to the calculation tasks, and do not need to redevelop and iteration of the index calculation system caused by the change of index calculation logic.
The index calculation method of the industrial internet equipment has the following advantages:
the index calculation logic of the index calculation system is decoupled from other business logic, and a user of the index calculation system can concentrate on the index calculation logic without concerning the source or data flow direction of the index; because the index calculation logic is completely independent of other service codes of the index calculation system, the index system can more flexibly process the change of the index calculation logic (namely the change of a target index calculation model), and the development and maintenance cost is reduced; the index calculation task is calculated by the index calculation statement defined by the user, and the user does not need to manually arrange the index calculation task, so that the method is simple and quick; provides a more friendly operation mode for equipment engineers, technologists and asset management personnel except IT personnel. The field-specific language provided by the invention is more beneficial to use and study by non-IT professionals.
Example two:
the embodiment of the present invention further provides an index calculation apparatus for an industrial internet device, where the index calculation apparatus for an industrial internet device is mainly used to execute the index calculation method for an industrial internet device provided in the first embodiment of the present invention, and the following describes the index calculation apparatus for an industrial internet device provided in the first embodiment of the present invention in detail.
Fig. 9 is a schematic diagram of an index calculation apparatus of an industrial internet device according to an embodiment of the present invention, and as shown in fig. 9, the apparatus mainly includes: an obtaining unit 10, a parsing unit 20, a determining unit 30, a task orchestration and execution unit 40, wherein:
the system comprises an acquisition unit, a calculation unit and a calculation unit, wherein the acquisition unit is used for acquiring a target index calculation model defined by a user, and the target index calculation model comprises at least one index calculation statement;
the analysis unit is used for analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship;
the determining unit is used for determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation sequence of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index;
and the task arranging and executing unit is used for arranging the index calculation tasks according to the granularity and the hierarchy of each index, further executing the index calculation tasks and obtaining the index calculation results of each index in the index calculation tasks.
In an embodiment of the present invention, an index calculation apparatus for an industrial internet device is provided, which is applied to an index calculation system, and includes: acquiring a target index calculation model defined by a user, wherein the target index calculation model comprises at least one index calculation statement; analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship; determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation sequence of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index; and arranging the index calculation tasks according to the granularity and the hierarchy of each index, and further executing the index calculation tasks to obtain index calculation results of each index in the index calculation tasks. As can be seen from the above description, in the index calculation apparatus of the present invention, the index calculation system can analyze the index dependency relationship therein according to the user-defined target index calculation model, determine the granularity and the hierarchy of each index in the index dependency relationship, and then automatically arrange the index calculation task according to the granularity and the hierarchy of each index, thereby finally realizing the calculation of each index in the index calculation task. In addition, the target index calculation model is completely independent of other service codes of the index calculation system, a user can concentrate on the target index calculation model without concerning the source of the index or the data flow direction, the index calculation system can more flexibly process the changed target index calculation model, the development and maintenance cost is reduced, and the technical problems that the existing index calculation method of the industrial equipment needs continuous development and iteration of the index calculation system, the logic of index calculation is coupled with other service codes of the index calculation system, and the index calculation system is not good at describing the dependency relationship between indexes are solved.
Optionally, the index calculation statement is a statement of index calculation logic written according to a preset language and grammar rules, and the index calculation statement includes any one of the following: the system comprises basic calculation statements, aggregation calculation statements, custom calculation statements and combined calculation statements, wherein the preset language comprises any one of the following: SQL language, natural language, statement language, computer programming script language; the execution mode when the index calculation task is executed includes any one of the following modes: and converting the corresponding index calculation statement into a database operation statement according to the index calculation task, and executing the corresponding index calculation statement in the index calculation task when a built-in computer programming language runs.
Optionally, the parsing unit is further configured to: and analyzing the index calculation statements in the target index calculation model through a syntax analyzer to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes from bottom to top according to the index dependency relationship.
Optionally, the determining unit is further configured to: for a target index in the dependency relationship directed acyclic graph, wherein the target index is any index in indexes in the traversal dependency relationship directed acyclic graph; if the target index is an atomic index, determining that the level of the target index is a first preset value, wherein the atomic index represents an index independent of other indexes; if the target index is not an atomic index, determining the level of the target index according to all sub-indexes of the target index, wherein the sub-indexes represent indexes on which the target index depends.
Optionally, the determining unit is further configured to: traversing each sub-index in all sub-indexes; if the granularity of the target sub-indexes in all the sub-indexes is the same as that of the target indexes, adding a preset value to the levels of the target sub-indexes to serve as initial levels of the target indexes, and taking the maximum initial level in the initial levels of the target indexes as the levels of the target indexes; and if the granularity of each sub-index in all the sub-indexes is different from the granularity of the target index, determining the level of the target index as a first preset value.
Optionally, the task orchestration and execution unit is further to: the indexes with the same granularity are arranged into an index calculation task, wherein in the index calculation task, index calculation subtasks are arranged according to the calculation sequence represented by the hierarchy of each index, and each index calculation subtask comprises: hierarchy information and index information.
Optionally, the apparatus is further configured to: acquiring an index to be recalculated and a recalculation time range corresponding to the index to be recalculated; determining a dependency index depending on an index to be recalculated according to the dependency relationship directed acyclic graph; and determining the calculation tasks to be recalculated, which comprise the indexes to be recalculated and the dependent indexes, executing the calculation tasks to be recalculated within the recalculation time range, and obtaining the recalculation index calculation results of all the indexes in the calculation tasks to be recalculated within the recalculation time range.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
As shown in fig. 10, an electronic device 600 provided in an embodiment of the present application includes: the index calculation method comprises a processor 601, a memory 602 and a bus, wherein the memory 602 stores machine-readable instructions executable by the processor 601, when the electronic device runs, the processor 601 and the memory 602 communicate through the bus, and the processor 601 executes the machine-readable instructions to perform the steps of the index calculation method of the industrial internet device.
Specifically, the memory 602 and the processor 601 can be general-purpose memories and processors, which are not specifically limited herein, and the index calculation method of the industrial internet device can be performed when the processor 601 runs a computer program stored in the memory 602.
The processor 601 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 601. The Processor 601 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, 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 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
Corresponding to the index calculation method of the industrial internet device, an embodiment of the present application further provides a computer-readable storage medium, where machine executable instructions are stored, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the index calculation method of the industrial internet device.
The index calculation device of the industrial internet equipment provided by the embodiment of the application can be specific hardware on the equipment, or software or firmware installed on the equipment, and the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and 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 of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
For another example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the vehicle marking method according to the embodiments of the present application. 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. An index calculation method of an industrial internet device is applied to an index calculation system, and the method comprises the following steps:
acquiring a target index calculation model defined by a user, wherein the target index calculation model comprises at least one index calculation statement;
analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship;
determining the granularity of each index in the dependency directed acyclic graph according to the calculation period of each index in the dependency directed acyclic graph, and determining the level of each index in the dependency directed acyclic graph by adopting a breadth-first traversal algorithm, wherein the level is used for representing the calculation order of the corresponding index, and the granularity is used for representing the calculation period of the corresponding index;
and arranging an index calculation task according to the granularity and the hierarchy of each index, and further executing the index calculation task to obtain an index calculation result of each index in the index calculation task.
2. The method according to claim 1, wherein the index calculation statement is a statement of index calculation logic written according to a preset language and grammar rules, and the index calculation statement includes any one of: the language comprises basic computing sentences, aggregation computing sentences, custom computing sentences and combined computing sentences, wherein the preset language comprises any one of the following languages: SQL language, domain specific language, computer programming scripting language;
the execution mode when the index calculation task is executed includes any one of the following modes: and converting the corresponding index calculation statement into a database operation statement according to the index calculation task, and executing the corresponding index calculation statement in the index calculation task when a built-in computer programming language runs.
3. The method according to claim 1, wherein analyzing the index calculation statements in the target index calculation model to obtain index dependencies in the target index calculation model, and constructing a dependency directed acyclic graph between indexes according to the index dependencies, comprises:
analyzing the index calculation statements in the target index calculation model through a grammar analyzer to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes from bottom to top according to the index dependency relationship.
4. The method of claim 1, wherein determining the hierarchy of each index in the dependency directed acyclic graph by using a breadth-first traversal algorithm comprises:
for a target index in the dependency relationship directed acyclic graph, wherein the target index is any index in indexes in the dependency relationship directed acyclic graph;
if the target index is an atomic index, determining that the hierarchy of the target index is a first preset value, wherein the atomic index represents an index independent of other indexes;
if the target index is not an atomic index, determining the level of the target index according to all sub-indexes of the target index, wherein the sub-indexes represent indexes depended on by the target index.
5. The method of claim 4, wherein determining the hierarchy of the target metric according to all sub-metrics of the target metric comprises:
traversing each sub-index in all the sub-indexes;
if the granularity of a target sub-index in all the sub-indexes is the same as that of the target index, adding a preset value to the level of the target sub-index to serve as an initial level of the target index, and taking the maximum initial level in the initial level of the target index as the level of the target index;
and if the granularity of each sub-index in all the sub-indexes is different from the granularity of the target index, determining the level of the target index as the first preset value.
6. The method of claim 1, wherein orchestrating task computation according to the granularity and hierarchy of the metrics comprises:
the indexes with the same granularity are arranged into an index calculation task, wherein in one index calculation task, index calculation subtasks are arranged according to the calculation sequence represented by the hierarchy of each index, and each index calculation subtask comprises: hierarchy information and index information.
7. The method of claim 1, further comprising:
acquiring an index to be recalculated and a recalculation time range corresponding to the index to be recalculated;
determining a dependency index depending on the index to be recalculated according to the dependency relationship directed acyclic graph;
and determining the calculation tasks to be recalculated, which comprise the indexes to be recalculated and the dependent indexes, and executing the calculation tasks to be recalculated within the recalculation time range to obtain the recalculation index calculation results of all the indexes in the calculation tasks to be recalculated within the recalculation time range.
8. An index calculation device of an industrial internet device, which is applied to an index calculation system, the device comprising:
the system comprises an acquisition unit, a calculation unit and a calculation unit, wherein the acquisition unit is used for acquiring a target index calculation model defined by a user, and the target index calculation model comprises at least one index calculation statement;
the analysis unit is used for analyzing the index calculation statements in the target index calculation model to obtain the index dependency relationship in the target index calculation model, and constructing a dependency relationship directed acyclic graph between indexes according to the index dependency relationship;
the determining unit is configured to determine, according to a calculation period of each indicator in the dependency directed acyclic graph, a granularity of each indicator in the dependency directed acyclic graph, and determine a level of each indicator in the dependency directed acyclic graph by using a breadth-first traversal algorithm, where the level is used to represent a calculation order of the indicator corresponding to the level, and the granularity is used to represent a calculation period of the indicator corresponding to the level;
and the task arranging and executing unit is used for arranging the index calculation tasks according to the granularity and the hierarchy of each index, further executing the index calculation tasks and obtaining the index calculation results of each index in the index calculation tasks.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of the preceding claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to perform the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210082835.0A CN114090018B (en) | 2022-01-25 | 2022-01-25 | Index calculation method and device of industrial internet equipment and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210082835.0A CN114090018B (en) | 2022-01-25 | 2022-01-25 | Index calculation method and device of industrial internet equipment and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114090018A true CN114090018A (en) | 2022-02-25 |
CN114090018B CN114090018B (en) | 2022-05-24 |
Family
ID=80309180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210082835.0A Active CN114090018B (en) | 2022-01-25 | 2022-01-25 | Index calculation method and device of industrial internet equipment and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114090018B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933617A (en) * | 2019-03-08 | 2019-06-25 | 恒生电子股份有限公司 | A kind of data processing method, device and relevant device and medium |
CN111241129A (en) * | 2019-12-27 | 2020-06-05 | 冶金自动化研究设计院 | Industrial production enterprise index data acquisition and calculation system |
CN111522868A (en) * | 2020-03-24 | 2020-08-11 | 北京三快在线科技有限公司 | Data rule processing method and device, electronic equipment and storage medium |
CN112423041A (en) * | 2020-11-19 | 2021-02-26 | 湖南大学 | Video stream processing method and system based on QoS constraint under distributed computing platform |
CN112766907A (en) * | 2021-01-20 | 2021-05-07 | 中国工商银行股份有限公司 | Service data processing method and device and server |
CN113255309A (en) * | 2021-05-31 | 2021-08-13 | 武汉众邦银行股份有限公司 | Index calculation engine implementation method based on multi-dimensional model |
WO2021174945A1 (en) * | 2020-10-21 | 2021-09-10 | 平安科技(深圳)有限公司 | Data cost calculation method, system, computer device, and storage medium |
CN113419789A (en) * | 2021-07-20 | 2021-09-21 | 北京沃东天骏信息技术有限公司 | Method and device for generating data model script |
CN113656454A (en) * | 2021-08-02 | 2021-11-16 | 深圳市联影医疗数据服务有限公司 | Comprehensive supervision modeling statistical method, device, terminal and storage medium |
CN113703752A (en) * | 2021-11-01 | 2021-11-26 | 树根互联股份有限公司 | Industrial component generation method and device and electronic equipment |
CN113742036A (en) * | 2020-05-28 | 2021-12-03 | 阿里巴巴集团控股有限公司 | Index processing method and device and electronic equipment |
-
2022
- 2022-01-25 CN CN202210082835.0A patent/CN114090018B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933617A (en) * | 2019-03-08 | 2019-06-25 | 恒生电子股份有限公司 | A kind of data processing method, device and relevant device and medium |
CN111241129A (en) * | 2019-12-27 | 2020-06-05 | 冶金自动化研究设计院 | Industrial production enterprise index data acquisition and calculation system |
CN111522868A (en) * | 2020-03-24 | 2020-08-11 | 北京三快在线科技有限公司 | Data rule processing method and device, electronic equipment and storage medium |
CN113742036A (en) * | 2020-05-28 | 2021-12-03 | 阿里巴巴集团控股有限公司 | Index processing method and device and electronic equipment |
WO2021174945A1 (en) * | 2020-10-21 | 2021-09-10 | 平安科技(深圳)有限公司 | Data cost calculation method, system, computer device, and storage medium |
CN112423041A (en) * | 2020-11-19 | 2021-02-26 | 湖南大学 | Video stream processing method and system based on QoS constraint under distributed computing platform |
CN112766907A (en) * | 2021-01-20 | 2021-05-07 | 中国工商银行股份有限公司 | Service data processing method and device and server |
CN113255309A (en) * | 2021-05-31 | 2021-08-13 | 武汉众邦银行股份有限公司 | Index calculation engine implementation method based on multi-dimensional model |
CN113419789A (en) * | 2021-07-20 | 2021-09-21 | 北京沃东天骏信息技术有限公司 | Method and device for generating data model script |
CN113656454A (en) * | 2021-08-02 | 2021-11-16 | 深圳市联影医疗数据服务有限公司 | Comprehensive supervision modeling statistical method, device, terminal and storage medium |
CN113703752A (en) * | 2021-11-01 | 2021-11-26 | 树根互联股份有限公司 | Industrial component generation method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114090018B (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6707564B2 (en) | Data quality analysis | |
JP5878537B2 (en) | Evaluation of data flow graph characteristics | |
Noonan et al. | Polymorphic type inference for machine code | |
US8234223B1 (en) | Method and system for calculating cost of an asset using a data model | |
Chaturvedi et al. | Predicting the complexity of code changes using entropy based measures | |
Alt et al. | HiFrog: SMT-based function summarization for software verification | |
KR20150118963A (en) | Queue monitoring and visualization | |
EP2199905A1 (en) | Lifecycle management and consistency checking of object models using application platform tools | |
Shadab et al. | Measuring congestion by anchor points in DEA | |
Daniati et al. | Evaluasi Penerapan SIMRS Dengan Metode EUCS (End User Computing Satisfaction) Di Instalasi Rekam Medis RSUD Petala Bumi Provinsi Riau Tahun 2021 | |
CN114090018B (en) | Index calculation method and device of industrial internet equipment and electronic equipment | |
CN112000478B (en) | Method and device for distributing operation resources | |
KR102452813B1 (en) | Managing computations for hierarchical entities | |
Lammel et al. | Sonar: Automated communication characterization for hpc applications | |
Spafford et al. | Automated design space exploration with aspen | |
Chaturvedi et al. | Collaborative reuse of streaming dataflows in IoT applications | |
Kritikos et al. | Towards semantic KPI measurement | |
Turan et al. | An experimental evaluation of the effect of SOLID principles to microsoft VS code metrics | |
Du Bois et al. | Supporting reengineering scenarios with FETCH: an experience report | |
Vogelsang et al. | Software metrics in static program analysis | |
Eichelberger et al. | From resource monitoring to requirements-based adaptation: An integrated approach | |
Sharma et al. | Empirical evaluation and validation of interface complexity metrics for software components | |
Cabot et al. | A metric for measuring the complexity of OCL expressions | |
Lenhard | Improving process portability through metrics and continuous inspection | |
Gu et al. | Method of Coupling Metrics for Object‐Oriented Software System Based on CSBG Approach |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |