CN112395338A - Method and device for processing telemetering data in industrial internet platform - Google Patents

Method and device for processing telemetering data in industrial internet platform Download PDF

Info

Publication number
CN112395338A
CN112395338A CN201910754459.3A CN201910754459A CN112395338A CN 112395338 A CN112395338 A CN 112395338A CN 201910754459 A CN201910754459 A CN 201910754459A CN 112395338 A CN112395338 A CN 112395338A
Authority
CN
China
Prior art keywords
processing
rule
configuration information
industrial internet
internet platform
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
CN201910754459.3A
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910754459.3A priority Critical patent/CN112395338A/en
Publication of CN112395338A publication Critical patent/CN112395338A/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
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • 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
    • G06F16/258Data format conversion from or to a database

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)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a method and a device for processing telemetering data in an industrial internet platform, wherein the telemetering data is obtained through a functional module in the bottom layer of the industrial internet platform; when the service requirement is changed, receiving output configuration information input by a user in a front-end page; and processing the telemetering data through a rule engine according to a processing rule corresponding to the output configuration information, wherein a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules. Therefore, when the service requirement is changed, a large number of codes do not need to be modified, only one output configuration information capable of indicating the modified service requirement is input, the rule engine can process the telemetering data according to the processing rule corresponding to the output configuration information, the processing efficiency of the telemetering data is improved, the configuration of the output configuration information is flexible, and the service requirement can be changed repeatedly.

Description

Method and device for processing telemetering data in industrial internet platform
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for processing telemetering data in an industrial internet platform.
Background
After receiving the telemetry data transmitted from the edge layer or the device end, the industrial internet platform needs to persistently store the transmitted telemetry data to the bottom layer of the industrial internet platform for subsequent use. During the process of persistent storage, sometimes telemetry data needs to be processed because of some business requirement. For example: one or more processes of unit conversion, multi-value aggregation, data filtering, repeated judgment, data analysis and the like are required to be carried out on the telemetric data.
Currently, the methods for processing telemetry data mainly include: in the industrial internet platform, conversion tools are specified for different business requirements. After the industrial internet platform receives the telemetering data, the telemetering data can be correspondingly processed through a specified conversion tool. However, each time a service requirement is changed, the switching tool needs to be switched, and all codes related to the switching tool in the industrial internet platform need to be modified in the switching process of the switching tool, so that the processing efficiency of the telemetry data is reduced.
Disclosure of Invention
In view of the foregoing problems, an object of the embodiments of the present invention is to provide a method and an apparatus for processing telemetry data in an industrial internet platform, which can avoid modifying all relevant codes when a service requirement is changed, thereby improving the efficiency of processing telemetry data.
In a first aspect, an embodiment of the present invention provides a method for processing telemetry data in an industrial internet platform, including: the method comprises the steps that telemetry data are obtained through a functional module in a bottom layer of an industrial internet platform, and the functional module is used for receiving data sent to the industrial internet platform by a device end; when the service requirement is changed, receiving output configuration information input by a user in a front-end page, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement; and processing the telemetry data according to a processing rule corresponding to the output configuration information through a rule engine, wherein a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules.
In a second aspect, an embodiment of the present invention provides an apparatus for processing telemetry data in an industrial internet platform, including: the acquisition module is configured to acquire telemetry data through a functional module in a bottom layer of an industrial internet platform, and the functional module is used for receiving data sent to the industrial internet platform by a device end; the receiving module is configured to receive output configuration information input by a user in a front-end page when a service requirement is changed, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement; and the processing module is configured to process the telemetry data through a rule engine according to a processing rule corresponding to the output configuration information, a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one processing rule in the plurality of processing rules.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: at least one processor; and at least one memory, bus connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call the program instructions in the memory to perform the method according to one or more of the above-mentioned embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the storage medium includes a stored program, and when the program runs, a device in which the storage medium is located is controlled to perform a method in one or more of the above technical solutions.
The embodiment of the invention provides a method and a device for processing telemetering data in an industrial internet platform.A functional module in the bottom layer of the industrial internet platform is used for acquiring the telemetering data, and the functional module is used for receiving data sent to the industrial internet platform by a device end; then, when the service requirement is changed, receiving output configuration information input by a user in a front-end page, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement; and finally, processing the telemetering data through a rule engine according to a processing rule corresponding to the output configuration information, wherein a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules. Therefore, when the service requirement is changed, a large number of codes do not need to be modified, only one output configuration information capable of indicating the modified service requirement is input, the rule engine can process the telemetering data according to the processing rule corresponding to the output configuration information, the processing efficiency of the telemetering data is improved, the configuration of the output configuration information is flexible, and the service requirement can be changed repeatedly.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a block diagram of an industrial Internet platform according to an embodiment of the present invention;
fig. 2 is a first schematic flow chart of a method for processing telemetry data in an industrial internet platform according to an embodiment of the present invention;
FIG. 3 is a first diagram of a front-end page according to an embodiment of the present invention;
FIG. 4 is a second flowchart illustrating a method for processing telemetry data in an industrial Internet platform according to an embodiment of the present invention;
FIG. 5 is a second diagram of a front-end page in an embodiment of the invention;
FIG. 6 is a schematic diagram of a telemetry data processing apparatus in an industrial Internet platform according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a schematic architecture diagram of an industrial internet platform in an embodiment of the present invention, and referring to fig. 1, an industrial internet platform 10 may include: a bottom layer 101 and a front end page 102. Among them, the bottom layer 101 may include: a function module 1011 and a rules engine 1012. Here, the function module 1011 may be used to receive telemetry data transmitted by the device 20 to the industrial internet platform 10, the rules engine 1012 may be used to process the telemetry data, and the front page 102 may be used to receive information input by a user, so that the function module 1011 receives the telemetry data and the rules engine 1012 processes the telemetry data.
Next, a method for processing telemetry data in the industrial internet platform according to an embodiment of the present invention will be described in detail.
Fig. 2 is a first flowchart illustrating a method for processing telemetry data in an industrial internet platform according to an embodiment of the present invention, and referring to fig. 2, the method may include:
s201: and acquiring telemetry data through a functional module in the bottom layer of the industrial internet platform.
The so-called Industrial Internet (Industrial Internet) may include: industrial internet platform and equipment side. After the device end completes measurement, the measured data can be sent to the industrial internet platform, and the functional module in the bottom layer of the industrial internet platform receives the data, namely telemetering data, sent by the device end.
In practical applications, the equipment end can be various equipment in the production line, such as: temperature sensors, pressure sensors, etc. The device end can also be various household appliances in family life, such as: air conditioners, refrigerators, washing machines, and the like. Of course, the device side may also be other intelligent devices capable of sending data, and is not limited herein.
The telemetry data received by the industrial internet platform may be a physical quantity obtained by the device end after measuring a certain object, specifically, a temperature value, a pressure value, a current value, and the like, and may also be other physical quantities, which is not limited herein.
Illustratively, if the device side is a pressure sensor in a vessel on the production line, then telemetry is usedThe data may be pressure values within the vessel, such as: 10.1325N/cm2. If the device end is a refrigerator used in a home, the telemetric data may be a temperature value in the refrigerator, such as: 5 ℃ is adopted.
S202: and when the service requirement is changed, receiving the output configuration information input by the user in the front-end page.
Here, the service requirement may refer to a processing requirement for telemetry data. Specifically, the processing may be one or more of unit conversion, multi-value aggregation, data filtering, repetition judgment, data analysis, and the like, of the telemetry data, and may be other processing of the telemetry data, which is not limited herein.
When the service requirement of a user is changed, namely, the service requirement is changed into another service requirement, an output configuration item is set in a front-end page of an industrial internet platform, so that the user inputs and outputs configuration information in the output configuration item, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement. Therefore, the industrial internet platform can know the changed service requirement and further process the telemetering data according to the changed service requirement.
Fig. 3 is a schematic diagram of a front-end page in the embodiment of the present invention, and referring to fig. 3, an output configuration item 302 is arranged in a front-end page 301, and a user can enable an industrial internet platform to acquire a changed service demand by inputting and outputting configuration information in the output configuration item 302, so as to process telemetry data according to the changed service demand.
In the process of inputting and outputting configuration information by a user, the following two ways can be adopted, but not limited to:
the first mode is as follows: the user inputs the output configuration information directly in the output configuration item.
The second mode is as follows: the output configuration items already list various output configuration information, and a user can select the output configuration information which meets the actual requirements of the user from the listed various output configuration information.
Specifically, the various output configuration information may be displayed in the output configuration item in a manner of a pull-down menu, or may be displayed in the output configuration item in a manner of a multi-box, and of course, the various output configuration information may also be displayed in the output configuration item in other manners, which is not limited herein.
By adopting the first mode, the user can more flexibly input and output the configuration information. By adopting the second mode, the user only needs to select, and complicated input by the user is avoided.
S203: and processing the telemetering data through the rule engine according to the processing rule corresponding to the output configuration information.
The rule engine is preset with a plurality of processing rules, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules.
Specifically, after receiving the output configuration information, the industrial internet platform can determine a processing rule corresponding to the output configuration information from a plurality of processing rules built in the rule engine according to the output configuration information, and then process the telemetering data according to the processing rule corresponding to the output configuration information through the rule engine, so that the processing of the telemetering data can meet the changed business requirement.
For example, if the telemetry data is 10 ℃, 15 ℃ and 20 ℃, the rule engine is preset with processing rules for unit conversion and multi-value aggregation, the changed service requirement is to perform unit conversion on the telemetry data, and the output configuration information is unit conversion. When the industrial Internet platform receives the output configuration information of unit conversion input by a user, the processing rule for unit conversion is determined from the rule engine, and then the unit conversion is carried out on 10 ℃, 15 ℃ and 20 ℃ through the rule engine. Specifically, the temperature of 10 ℃, 15 ℃ and 20 ℃ can be converted into international units, namely 283.15K, 288.15K and 293.15K. Of course, the conversion may be made to other units, and is not limited herein.
Here, it should be noted that: when the unit conversion is performed at 10 ℃, 15 ℃ and 20 ℃, the unit conversion is performed at 10 ℃, 15 ℃ and 20 ℃ to the international unit, namely, the Fahrenheit temperature, the Langerhans temperature or the Roche temperature, and the unit conversion can be set in the industrial Internet platform in advance. For example: it is set to convert the temperature values to international units by default. The converted unit may also be determined according to a user's selection, that is, the user indicates the converted unit in the output configuration information. For example: the configuration information is output as a conversion from celsius to fahrenheit. The specific manner of determining the converted unit is not limited herein.
Of course, multivalue aggregation, data filtering, repeated judgment, data analysis are similar to unit conversion. Taking multi-value aggregation as an example, multi-value aggregation may include: averaging a preset number of telemetric data, averaging the telemetric data received within a preset time, taking a median value of the preset number of telemetric data, taking a median value of the telemetric data received within the preset time, and the like. When inputting the output configuration information, the user may indicate what type of multivalued aggregation processing needs to be performed on the telemetry data in the output configuration information. Therefore, when the industrial internet platform processes the telemetering data, the telemetering data can be accurately processed.
When the business requirement is changed again, new output configuration information can be input into the front-end page again by referring to the mode, the industrial internet platform can process the telemetering data according to the new output configuration information, and the mode of configuring the telemetering data processing rule is convenient and flexible and can be used repeatedly without limit.
After the telemetering data are processed through the rule engine according to the processing rule corresponding to the output configuration information, the telemetering data obtained by processing according to the changed service requirement are obtained, and the obtained telemetering data are sent to the bottom layer of the industrial internet platform, so that the obtained telemetering data are persisted by the bottom layer of the industrial internet platform.
The following further describes a method for processing telemetry data in the industrial internet platform according to an embodiment of the present invention.
Taking the temperature sensor in the production line as an example, the temperature sensor measures the temperature every 10 seconds, namely 23 ℃ at 14:30:00, 24 ℃ at 14:30:10, 24 ℃ at 14:30:20, 23 ℃ at 14:30:30, and the like. Before a business requirement is changed, a plurality of processing rules are preset in a rule engine built in an industrial internet platform, and the processing rules can be unit conversion, multi-value aggregation, data filtering, repeated judgment, data analysis and other processing rules. Before 14:30:20, the service requirement is unit conversion of telemetering data, namely 23 ℃ measured by 14:30:00 is converted into 296.15K, 24 ℃ measured by 14:30:10 is converted into 297.15K, after 14:30:20, the service requirement is changed into that an average value is taken for every two values, then a user only needs to input output configuration information of 'multi-value aggregation and an average value' for every two values, the industrial internet platform can determine a processing rule of 'multi-value aggregation and an average value' for every two values from a rule engine, then the average values of 24 ℃ measured by 14:30:20 and 23 ℃ measured by 14:30:30 are taken to obtain 23.5 ℃, and then the obtained 23.5 ℃ is sent to a function module at the bottom layer of the industrial internet platform.
Therefore, when the service requirement is changed, the user does not need to modify all codes related to the multi-value aggregation in the industrial internet platform, and only needs to input output configuration information such as 'multi-value aggregation', so that the industrial internet platform can perform multi-value aggregation on the telemetering data, and the processing efficiency of the telemetering data is improved.
Further, it should be noted that: before the business requirement is changed, one or more processing rules corresponding to the telemetering data can be set, and after the business requirement is changed, one or more processing rules corresponding to the telemetering data can be set. For example: before the business requirement is changed, the processing rule corresponding to the telemetering data is unit conversion, and after the business requirement is changed, the processing rule corresponding to the telemetering data is unit conversion and multi-value aggregation. For another example: before the business requirement is changed, the processing rule corresponding to the telemetering data is unit conversion and multi-value aggregation, and after the business requirement is changed, the processing rule corresponding to the telemetering data is unit conversion and data filtering.
As can be seen from the above, in the method for processing telemetry data in an industrial internet platform provided by the embodiment of the present invention, first, telemetry data is obtained through a functional module in a bottom layer of the industrial internet platform, where the functional module is used to receive data sent from a device end to the industrial internet platform; then, when the service requirement is changed, receiving output configuration information input by a user in a front-end page, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement; and finally, processing the telemetering data through a rule engine according to a processing rule corresponding to the output configuration information, wherein a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules. Therefore, when the service requirement is changed, a large number of codes do not need to be modified, only one output configuration information capable of indicating the modified service requirement is input, the rule engine can process the telemetering data according to the processing rule corresponding to the output configuration information, the processing efficiency of the telemetering data is improved, the configuration of the output configuration information is flexible, and the service requirement can be changed repeatedly.
Further, as a refinement and an extension of the method shown in fig. 2, the embodiment of the invention also provides a method for processing telemetry data in an industrial internet platform. Fig. 4 is a second flowchart illustrating a method for processing telemetry data in an industrial internet platform according to an embodiment of the present invention, where referring to fig. 4, the method may include:
s401: and receiving input configuration information input by a user in the front-end page.
Fig. 5 is a second schematic diagram of the front end page in the embodiment of the present invention, and referring to fig. 5, in the front end page 501, in addition to the output configuration item 502, a back input configuration item 503 is also provided. The input configuration item 503 is for the user to write input configuration information.
Wherein the input configuration information is indicative of a device transmitting the telemetry data to be processed. The industrial Internet platform can determine the equipment for transmitting the telemetering data to be processed by inputting the configuration information, further acquire the telemetering data transmitted by the equipment and process the telemetering data transmitted by the equipment. For example: the device A transmits telemetering data to the industrial Internet platform, and meanwhile, the device B also transmits telemetering data to the industrial Internet platform, and only the telemetering data transmitted by the device A needs to be processed actually. When the user inputs the input configuration information such as 'equipment A', the industrial Internet platform can determine that the telemetering data transmitted by the equipment A is to be acquired and process the telemetering data transmitted by the equipment A.
In the process of writing the input configuration information by the user, the following two ways can be adopted, but not limited to:
the first mode is as follows: the user writes the output configuration information directly in the input configuration item.
The second mode is as follows: the input configuration items are listed with various input configuration information, and a user can select the input configuration information which meets the actual requirements of the user from the listed various input configuration information.
Specifically, the various input configuration information may be displayed in the input configuration item in a manner of a pull-down menu, or the various input configuration information may be displayed in the input configuration item in a manner of a multi-selection box, and of course, the various input configuration information may also be displayed in the input configuration item in other manners, which is not limited herein.
By adopting the first mode, the user can write the input configuration information more flexibly. By adopting the second mode, the user only needs to select, and complicated input by the user is avoided.
S402: and acquiring telemetering data corresponding to the input configuration information through a functional module in the bottom layer of the industrial Internet platform.
In a specific implementation, the functional module may determine a target device to transmit the telemetry data to be processed according to the input configuration information. When data transmission relations exist between a plurality of devices including the target device and the industrial internet platform, the functional module can determine the target device according to the input configuration information, further acquire data in the target device and use the data as to-be-processed telemetering data. Specifically, a data transmission path exists between the target device and the industrial internet platform, and the telemetry data transmitted in the path can be called through an interface, that is, the telemetry data corresponding to the configuration information is input. After the telemetering data corresponding to the input configuration information is obtained, the industrial internet platform can process the telemetering data in a targeted manner.
When the telemetering data is acquired from the target equipment, the telemetering data is stored in the target equipment according to the preset storage rule after the target equipment measures the telemetering data, so that the telemetering data is acquired from the position corresponding to the preset storage rule in the target equipment through the functional module, the telemetering data corresponding to the input configuration information can be directly acquired, the data searching time is saved, and the data acquisition efficiency is improved.
Illustratively, in the storage area of the target device, it is assumed that file a includes file B and file C, file C includes file D and file E, and telemetry data X is stored in file E, as follows: a > -C > -E "telemetry data X". When the functional module acquires the telemetering data X from the target equipment, the telemetering data X can be known to be stored in the file E according to a preset storage rule, so that the telemetering data X can be directly acquired from the file E, the file A is prevented from being searched one by one, and the efficiency of acquiring the telemetering data X is improved.
S403: and when the service requirement is changed, receiving the output configuration information input by the user in the front-end page.
Step S403 is the same as step S202, and therefore, will not be described herein again.
S404: and modifying the processing rules in the rule engine according to the rule configuration information input by the user.
Wherein the rule configuration information is used to indicate modification requirements of the processing rules in the rule engine. Next, modification of the processing rules in the rule engine is explained mainly from three aspects.
In a first aspect: new processing rules are added to the rules engine.
The so-called new processing rule, i.e. the first processing rule, is different from the current processing rule in the rule engine. Since new business requirements are constantly increasing, and new processing rules are also needed to process telemetry data, new processing rules may be added to the rule engine based on rule configuration information input by a user. Specifically, the rule configuration information may be indication information, that is, first indication information, for indicating that a new processing rule is to be added, and of course, the first indication information may also indicate a storage location of the new processing rule, so as to obtain the new processing rule from the storage location and add the new processing rule to the rule engine. Or, the rule configuration information may be a new processing rule itself, and the user may directly add the new processing rule to the rule engine after inputting the new processing rule.
In adding a new processing rule to the rules engine, the following two cases may be included:
case a: the user actively adds new processing rules to the rules engine.
Specifically, after discovering a new processing rule, the user adds the new processing rule to the rule engine by inputting rule configuration information in order to enrich the processing rule in the rule engine.
Case B: the user passively adds new processing rules to the rules engine.
Specifically, after the user inputs and outputs the configuration information, whether a processing rule corresponding to the output configuration information exists in the rule engine is judged, if not, first indication information input by the user is received, and the first processing rule corresponding to the output configuration information is stored in the rule engine according to the first indication information, so that the rule engine processes the telemetering data according to the first processing rule; and if so, enabling the rule engine to process the telemetry data according to the processing rule corresponding to the output configuration information. That is, after the user inputs and outputs the configuration information, the industrial internet platform searches the processing rule corresponding to the output configuration information in the rule engine, if the processing rule corresponding to the output configuration information is not found, the industrial internet platform prompts the user to input first indication information, namely, the processing rule corresponding to the output configuration information, further finds the processing rule corresponding to the output configuration information, and stores the processing rule corresponding to the output configuration information in the rule engine, so that the rule engine processes the telemetering data according to the processing rule corresponding to the output configuration information; if so, the rule engine is enabled to process the telemetry data according to the processing rule corresponding to the output configuration information.
In a second aspect: one or more processing rules in the rules engine are deleted.
Specifically, second indication information input by the user is received, the second indication information is used for indicating that the second processing rule is deleted, and the second processing rule is one or more processing rules in the rule engine. After receiving the second indication information input by the user, the second processing rule may be deleted according to the second indication information, i.e., one or more processing rules in the rule engine are deleted.
Here, the one or more processing rules deleted from the rule engine may be processing rules whose usage frequency is lower than a preset frequency. For example: the preset frequency is one month, and when second indication information input by a user is received, the processing rules which are not used for more than one month in the rule engine are deleted. Of course, the preset frequency may also be a week, a year, etc., and the specific value of the preset frequency is not limited herein. By deleting the processing rules of which the use frequency is lower than the preset frequency in the rule engine, the number of the processing rules in the rule engine can be reduced, so that the processing rules corresponding to the output configuration information can be determined from the plurality of processing rules, and the efficiency of determining the processing rules is improved.
In a third aspect: the erroneous processing rules in the rules engine are replaced with the correct processing rules.
Here, the process rule error may refer to a logical error or a formal error of code related to the process rule. In the specific implementation process, if a user finds that an error exists in a certain processing rule in the rule engine or an error occurs when telemetry data is processed according to a certain processing rule in the rule engine, after the user determines the processing rule with the error, the user can replace the processing rule with the error by inputting rule configuration information, that is, the correct processing rule is stored in the rule engine, and the erroneous processing rule is deleted from the rule engine. Thus, the processing rules in the rules engine are accurate, and the processing in the rules engine is able to process telemetry data accurately.
The three aspects can be performed simultaneously, or simultaneously in pairs, or individually, and are not limited herein.
In this way, modification of the processing rules in the rules engine based on the rule configuration information is accomplished. The processing rules in the rule engine can be flexibly managed through the rule configuration information.
Here, it should be noted that: if it is the user' S initiative to modify the processing rules in the rules engine, then step S404 can be performed before or after any one of the steps.
S405: and processing the telemetering data through the rule engine according to the processing rule corresponding to the output configuration information.
Step S405 is the same as step S203, and therefore, is not described herein again.
Further, it should be noted that: the service requirement change may be a change of a processing rule of the telemetry data, that is, a change from the processing rule a to the processing rule B, or a change of a device that transmits the telemetry data, that is, a change from the device a to the device B, and accordingly, the acquired telemetry data is also changed from the telemetry data a transmitted by the acquisition device a to the telemetry data B transmitted by the acquisition device B. However, no matter the processing rule is changed, the equipment is changed, the user only needs to input and output the configuration information in the front-end page, when the processing rule is changed, the input configuration information is written in the front-end page.
As can be seen from the above, in the method for processing telemetry data in an industrial internet platform provided in the embodiments of the present invention, first, when a service requirement is changed, input configuration information input by a user in a front-end page is received, and output configuration information input by the user in the front-end page is received; then, acquiring telemetering data corresponding to the input configuration information through a functional module in the bottom layer of the industrial internet platform; then, modifying the processing rule in the rule engine according to the rule configuration information input by the user; and finally, processing the telemetering data through a rule engine according to the processing rule corresponding to the output configuration information. Therefore, when the service requirement is changed, a large number of codes do not need to be modified, the telemetering data can be acquired in a targeted manner only by inputting and outputting configuration information and inputting the configuration information, the rule engine is enabled to process the telemetering data according to the processing rule corresponding to the output configuration information, and the processing efficiency of the telemetering data can be improved. In addition, according to the rule configuration information input by the user, the processing rules in the rule engine can be flexibly managed.
Based on the same inventive concept, as the realization of the method, the embodiment of the invention also provides a device for processing the telemetering data in the industrial internet platform. Fig. 6 is a schematic structural diagram of a device for processing telemetry data in an industrial internet platform according to an embodiment of the present invention, and referring to fig. 6, the device 60 may include: an obtaining module 601, configured to obtain telemetry data through a functional module in a bottom layer of an industrial internet platform, where the functional module is used to receive data sent by a device to the industrial internet platform; a receiving module 602, configured to receive, when a service requirement is changed, output configuration information input by a user in a front-end page, where the output configuration information is used to indicate a processing rule corresponding to the changed service requirement; the processing module 603 is configured to process the telemetry data according to a processing rule corresponding to the output configuration information through a rule engine, where a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules.
Based on the foregoing embodiment, the apparatus further includes: and the adjusting module is configured to modify the processing rules in the rule engine according to the rule configuration information input by the user before the telemetry data is processed by the rule engine according to the processing rules corresponding to the output configuration information, wherein the rule configuration information is used for indicating the modification requirements of the processing rules in the rule engine.
Based on the foregoing embodiment, the rule configuration information includes: first indication information indicating addition of a first processing rule and/or second indication information indicating deletion of a second processing rule, wherein the first processing rule is different from a current processing rule in the rule engine, and the second processing rule is one or more processing rules in the current processing rule of the rule engine; the adjusting module is configured to receive the first indication information input by a user, and store the first processing rule into the rule engine according to the first indication information; and/or receiving the second indication information input by the user, and deleting the second processing rule in the rule engine according to the second indication information.
Based on the foregoing embodiment, the adjusting module is configured to determine whether a processing rule corresponding to the output configuration information exists in the rule engine; if the first indication information does not exist, the first indication information input by the user is received, the first processing rule is stored in the rule engine according to the first indication information, and the first processing rule is a processing rule corresponding to the output configuration information.
Based on the foregoing embodiment, the receiving module is configured to receive input configuration information input by a user in the front-end page before the telemetry data is acquired through a functional module in the bottom layer of the industrial internet platform, where the input configuration information is used for indicating a device for transmitting the telemetry data to be processed; the acquisition module is configured to acquire the telemetry data corresponding to the input configuration information through a functional module in a bottom layer of the industrial internet platform.
Based on the foregoing embodiment, the telemetry data corresponding to the input configuration information is stored in the device according to a preset storage rule; the acquisition module is configured to acquire the telemetry data corresponding to the input configuration information from a position corresponding to the preset storage rule in the device through a functional module in a bottom layer of the industrial internet platform.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
Based on the same inventive concept, the embodiment of the invention also provides electronic equipment. Fig. 7 is a schematic structural diagram of an electronic device in an embodiment of the present invention, and referring to fig. 7, the electronic device 70 may include: at least one processor 701; and at least one memory 702, bus 703 connected to processor 701; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call program instructions in the memory 702 to perform the method in one or more embodiments described above.
Here, it should be noted that: the above description of the embodiments of the electronic device is similar to the description of the embodiments of the method described above, and has similar advantageous effects to the embodiments of the method. For technical details not disclosed in the embodiments of the electronic device according to the embodiments of the present invention, please refer to the description of the method embodiments of the present invention.
Based on the same inventive concept, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the method in one or more embodiments described above.
Here, it should be noted that: the above description of the computer-readable storage medium embodiments is similar to the description of the method embodiments described above, with similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the computer-readable storage medium of the embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for processing telemetering data in an industrial Internet platform is characterized by comprising the following steps:
the method comprises the steps that telemetry data are obtained through a functional module in a bottom layer of an industrial internet platform, and the functional module is used for receiving data sent to the industrial internet platform by a device end;
when the service requirement is changed, receiving output configuration information input by a user in a front-end page, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement;
and processing the telemetry data according to a processing rule corresponding to the output configuration information through a rule engine, wherein a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one of the plurality of processing rules.
2. The method of claim 1, wherein prior to processing the telemetry data by the rules engine according to the processing rule corresponding to the output configuration information, the method further comprises:
and modifying the processing rules in the rule engine according to rule configuration information input by a user, wherein the rule configuration information is used for indicating the modification requirements of the processing rules in the rule engine.
3. The method of claim 2, wherein the rule configuration information comprises: first indication information indicating addition of a first processing rule and/or second indication information indicating deletion of a second processing rule, wherein the first processing rule is different from a current processing rule in the rule engine, and the second processing rule is one or more processing rules in the current processing rule of the rule engine; the modifying the processing rule in the rule engine according to the rule configuration information input by the user comprises the following steps:
receiving the first indication information input by a user, and storing the first processing rule into the rule engine according to the first indication information; and/or the presence of a gas in the gas,
and receiving the second indication information input by the user, and deleting the second processing rule in the rule engine according to the second indication information.
4. The method of claim 3, wherein the receiving the first indication from the user and storing the first processing rule in the rule engine according to the first indication comprises:
judging whether a processing rule corresponding to the output configuration information exists in the rule engine;
if the first indication information does not exist, the first indication information input by the user is received, the first processing rule is stored in the rule engine according to the first indication information, and the first processing rule is a processing rule corresponding to the output configuration information.
5. The method of claim 1, wherein prior to the obtaining telemetry data via a functional module in an underlying layer of the industrial internet platform, the method further comprises:
receiving input configuration information input by a user in the front-end page, wherein the input configuration information is used for indicating equipment for transmitting to-be-processed telemetry data;
the acquisition of telemetry data through functional modules in the bottom layer of the industrial internet platform comprises:
and acquiring telemetering data corresponding to the input configuration information through a functional module in the bottom layer of the industrial Internet platform.
6. The method of claim 5, wherein the telemetry data corresponding to the input configuration information is stored in the device according to a preset storage rule; the obtaining of the telemetry data corresponding to the input configuration information through the functional module in the bottom layer of the industrial internet platform includes:
and acquiring telemetering data corresponding to the input configuration information from a position corresponding to the preset storage rule in the equipment through a functional module in a bottom layer of the industrial Internet platform.
7. A device for processing telemetry data in an industrial internet platform, comprising:
the acquisition module is configured to acquire telemetry data through a functional module in a bottom layer of an industrial internet platform, and the functional module is used for receiving data sent to the industrial internet platform by a device end;
the receiving module is configured to receive output configuration information input by a user in a front-end page when a service requirement is changed, wherein the output configuration information is used for indicating a processing rule corresponding to the changed service requirement;
and the processing module is configured to process the telemetry data through a rule engine according to a processing rule corresponding to the output configuration information, a plurality of processing rules are preset in the rule engine, and the processing rule corresponding to the output configuration information is at least one processing rule in the plurality of processing rules.
8. The apparatus of claim 7, further comprising:
and the adjusting module is configured to modify the processing rules in the rule engine according to the rule configuration information input by the user before the telemetry data is processed by the rule engine according to the processing rules corresponding to the output configuration information, wherein the rule configuration information is used for indicating the modification requirements of the processing rules in the rule engine.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor;
and at least one memory, bus connected with the processor;
the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program, when executed, controls an apparatus on which the storage medium is located to perform the method according to any of claims 1 to 6.
CN201910754459.3A 2019-08-15 2019-08-15 Method and device for processing telemetering data in industrial internet platform Pending CN112395338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910754459.3A CN112395338A (en) 2019-08-15 2019-08-15 Method and device for processing telemetering data in industrial internet platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910754459.3A CN112395338A (en) 2019-08-15 2019-08-15 Method and device for processing telemetering data in industrial internet platform

Publications (1)

Publication Number Publication Date
CN112395338A true CN112395338A (en) 2021-02-23

Family

ID=74601582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910754459.3A Pending CN112395338A (en) 2019-08-15 2019-08-15 Method and device for processing telemetering data in industrial internet platform

Country Status (1)

Country Link
CN (1) CN112395338A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089549A1 (en) * 2010-10-07 2012-04-12 International Business Machines Corporation Rule authoring for events in a grid environment
CN103927174A (en) * 2014-04-17 2014-07-16 北京视博数字电视科技有限公司 Service processing method and device
CN105637891A (en) * 2013-08-07 2016-06-01 微软技术许可有限责任公司 Dynamic collection analysis and reporting of telemetry data
CN106933688A (en) * 2017-03-14 2017-07-07 北京空间飞行器总体设计部 A kind of telemetry interpretation engine parallel towards many stars and interpretation method
CN108833154A (en) * 2018-06-06 2018-11-16 中科创达软件股份有限公司 Data processing method, device and the electronic equipment of rule-based engine
CN110019651A (en) * 2019-03-01 2019-07-16 广州亚美信息科技有限公司 A kind of streaming regulation engine and business data processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089549A1 (en) * 2010-10-07 2012-04-12 International Business Machines Corporation Rule authoring for events in a grid environment
CN105637891A (en) * 2013-08-07 2016-06-01 微软技术许可有限责任公司 Dynamic collection analysis and reporting of telemetry data
CN103927174A (en) * 2014-04-17 2014-07-16 北京视博数字电视科技有限公司 Service processing method and device
CN106933688A (en) * 2017-03-14 2017-07-07 北京空间飞行器总体设计部 A kind of telemetry interpretation engine parallel towards many stars and interpretation method
CN108833154A (en) * 2018-06-06 2018-11-16 中科创达软件股份有限公司 Data processing method, device and the electronic equipment of rule-based engine
CN110019651A (en) * 2019-03-01 2019-07-16 广州亚美信息科技有限公司 A kind of streaming regulation engine and business data processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
段慧芬: "规则引擎在指挥显示系统中的应用", 《兵工自动化》, no. 08, pages 1 - 5 *

Similar Documents

Publication Publication Date Title
CN109741060B (en) Information inquiry system, method, device, electronic equipment and storage medium
CN108920242B (en) Navigation bar generation method and device
CN109242300B (en) Method and device for displaying service index value and computer equipment
CN105808407A (en) Equipment management method, equipment and equipment management controller
CN103491152A (en) Metadata obtaining method, device and system in distributed file system
CN108571996A (en) Sensor calibration device and sensor calibration method
CN104951410A (en) Chip information access method and device
CN110096413A (en) A kind of disk localization method, system and electronic equipment and storage medium
CN106469182B (en) Information recommendation method and device based on mapping relation
CN113654628B (en) Correction method and device for ultrasonic instrument
CN112395338A (en) Method and device for processing telemetering data in industrial internet platform
CN108761161A (en) A kind of power meter temperature influences error compensating method and device
CN110333984B (en) Interface abnormality detection method, device, server and system
CN112579682A (en) Data model change notification method and device, electronic device and storage medium
CN105205062A (en) Data storage method and data reading method and device
CN100426335C (en) Multivariable transmitter and computation processing method of the same
CN110427557A (en) Main broadcaster's recommended method, device, electronic equipment and computer readable storage medium
US8554966B2 (en) Method for data exchange
CN114421458A (en) Low-voltage transformer area physical topology generation method and device and electronic equipment
CN111786821B (en) Abnormality positioning method, server and storage medium
CN111523066B (en) Data acquisition method and device
GB2601022A (en) Method, apparatus, storage medium and terminal equipment for estimating the impedance of battery
US9779110B2 (en) Placement device, placement method and recording medium, that stores placement program information processing device
CN111694506A (en) Method and device for determining total capacity of magnetic disk, magnetic disk and machine-readable storage medium
CN111310627B (en) Detection method and device of sensing device and electronic equipment

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