Processing method and device for working condition data, storage medium and product thereof
By obtaining the equipment identity field and original working condition data, determining the working condition data analysis model and executing the analysis rules, the problem of complexity of data analysis of different engineering equipment is solved, and efficient and flexible working condition data analysis processing is achieved.
Patent Information
- Application Number
- CN202411973019.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-06
AI Technical Summary
The prior art is difficult to effectively analyze and process the working condition data of different engineering equipment, resulting in data analysis complexity and inefficiency.
By obtaining the device identity field and original working condition data, determining the working condition data analysis model, and executing the working condition data analysis rules to analyze the working condition data, a general analysis method for data different working condition is realized.
Reduce the dependence of working condition analysis on developers, improve the parsing efficiency of working condition data, and realize flexible analysis and processing of different equipment and working condition data.
Smart Images

Figure CN119938180A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and specifically to a method, device, storage medium and product thereof for processing operating condition data. Background Art
[0002] Engineering equipment working conditions refer to the monitoring and recording of the operating status, operating parameters, fault information and other data of engineering equipment during operation, so as to facilitate equipment maintenance, troubleshooting, performance evaluation and other management work. With the development of Internet of Things technology, real-time monitoring and data collection of engineering machinery equipment working conditions have become particularly important. Through Internet of Things technology, the equipment can automatically send its operating status data to the cloud, and then conduct real-time monitoring and data analysis through the Internet of Things platform, so as to achieve accurate prediction and optimization of the equipment operating status. The collection and analysis of engineering machinery equipment working conditions can also help enterprises better understand the working environment, production process, equipment performance, etc. of the equipment, thereby improving production efficiency and product quality. However, the wide variety of engineering equipment and working conditions leads to the complexity of parsing data. Therefore, how to design a method to parse and process different working condition data to provide it to subsequent equipment or show it to staff is a technical problem that needs to be solved. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a method, device, storage medium and product thereof for processing operating condition data, so as to solve the technical problem of how to parse and process different operating condition data in the prior art.
[0004] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a method for processing operating condition data, comprising:
[0005] Obtain the device identity field and original working condition data of the target device;
[0006] Determine a working condition data parsing model according to the device identity field, wherein the model identity field of the working condition data parsing model corresponds to the device identity field, and the working condition data parsing model includes working condition data parsing rules for parsing the working condition field;
[0007] Execute the rule execution logic file in the working condition data analysis rule to read the rule configuration file of the working condition data analysis rule;
[0008] Use the rule execution logic file and the rule configuration file to parse the corresponding working condition fields in the original working condition data to obtain the parsed working condition values;
[0009] Save the analytical case values.
[0010] In an embodiment of the present application, the operating condition data analysis model includes multiple operating condition data analysis rules, and the method also includes: traversing and loading the multiple operating condition data analysis rules.
[0011] In an embodiment of the present application, the operating condition data parsing model is also used to record the header features of the operating condition fields that can be parsed by the operating condition data parsing rules; the corresponding operating condition fields in the original operating condition data are parsed using the rule execution logic file and the rule configuration file to obtain the parsed operating condition value, including: obtaining the header features of the operating condition fields that can be parsed by the currently loaded operating condition data parsing rules; determining the starting position of the current operating condition field to be parsed in the original operating condition data according to the header features; parsing the current operating condition field to be parsed from the starting position using the rule execution logic file and the rule configuration file of the currently loaded operating condition data parsing rules to obtain the parsed operating condition value; wherein, executing the rule execution logic file in the operating condition data parsing rules to read the rule configuration file of the operating condition data parsing rules includes: executing the rule execution logic file in the currently loaded operating condition data parsing rules to read the rule configuration file of the currently loaded operating condition data parsing rules.
[0012] In the embodiment of the present application, the operating condition data analysis rules are obtained based on preset rules pre-stored in the rule pool.
[0013] In an embodiment of the present application, the preset rules are obtained through the following steps: setting the rule unique code, the configurable parameters in the rule configuration file, and the rule execution logic file bound to the rule configuration file; comparing the rule unique code with the rule identifiers of other preset rules in the rule pool one by one to determine the uniqueness of the rule unique code; calling the rule configuration file according to the rule execution logic file to parse the test condition data to obtain the test condition parsing result; when the rule unique code is unique and the test condition parsing result is the same as the preset parsing result of the test condition data, the preset rules including the rule unique code, the rule configuration file and the rule execution logic file are stored in the rule pool.
[0014] In an embodiment of the present application, the operating condition data analysis model is obtained through the following steps: setting the model identity field of the operating condition data analysis model, wherein the model identity field corresponds to the device identity field; selecting corresponding preset rules from the rule pool according to the target operating condition data characteristics of the target device; defining the definable parameters in the preset rules according to the target operating condition data characteristics and the corresponding preset rules to obtain the operating condition data analysis rules; and storing the operating condition data analysis model in the model library.
[0015] In an embodiment of the present application, the method for processing operating condition data also includes: loading a target operating condition display scene; determining a corresponding operating condition data analysis model based on the target operating condition display scene; obtaining a target analysis operating condition value that has been analyzed by the corresponding operating condition data analysis model; processing the target analysis operating condition value according to the target operating condition display scene to obtain a target operating condition display result.
[0016] In an embodiment of the present application, the target operating condition display scenario is obtained by the following steps: loading the target operating condition data analysis model; associating the existing operating condition display definition to the target operating condition data analysis model, the existing operating condition display definition is used to process the target analysis operating condition value obtained by parsing the target operating condition data analysis model to obtain the target operating condition display result; and / or, based on creating an extended operating condition display definition, and associating the extended operating condition display definition to the target operating condition data analysis model, the extended operating condition display definition is used to process the target analysis operating condition value obtained by parsing the target operating condition data analysis model to obtain the target operating condition display result.
[0017] The second aspect of the present application provides a processing device for operating condition data, comprising: a memory configured to store instructions; and a processor configured to call instructions from the memory and to implement any one of the processing methods for operating condition data provided in the first aspect of the present application when executing the instructions.
[0018] A third aspect of the present application provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute any one of the processing methods for operating condition data provided in the first aspect of the present application.
[0019] A fourth aspect of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any one of the methods for processing operating condition data provided in the first aspect of the present application.
[0020] Through the above technical solution, in the processing method for working condition data provided in the embodiment of the present application, the working condition data analysis model can be configured according to different engineering equipment to correspond to the reporting form of the working condition data of different engineering equipment, and for different types of working condition data, working condition data analysis rules are added to the working condition data analysis model, so that the working condition data analysis model can realize the analysis of multiple working condition data of a certain engineering equipment. Therefore, the processing method for working condition data provided in the embodiment of the present application can not only distinguish the reporting form of the working condition data of different equipment through the working condition data analysis model, but also distinguish the analysis of different working condition data through the working condition data analysis rules, thereby realizing a universal working condition data analysis method, reducing the dependence of working condition analysis on developers, and improving the analysis efficiency of working condition data.
[0021] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0023] Figure 1 A schematic diagram of a process flow of a method for processing operating condition data according to an embodiment of the present application is schematically shown;
[0024] Figure 2 A schematic diagram of a flow chart of a method for determining a preset rule according to an embodiment of the present application is schematically shown;
[0025] Figure 3 The structural block diagram of a device for processing operating condition data according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0027] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. In the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, which should be considered as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0028] If there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0029] There are many types of existing engineering equipment, and the forms of working condition reporting and the structural composition of working condition data agreements are different between different manufacturers, different types, and different models. For example, each type of engineering equipment can include a variety of working condition data, and different manufacturers of engineering equipment will provide their own reporting forms for the working condition data of the engineering equipment they sell, and the same type of working condition data of the same type of engineering equipment may also have different data forms in the reporting forms of different manufacturers. Therefore, it will be very difficult to parse the working condition data of various engineering equipment. Based on the above analysis, this application proposes a method for processing working condition data, which determines the parsing method of working condition data by dividing the source of working condition data and the type of working condition data.
[0030] Figure 1 The flowchart of a method for processing working condition data according to an embodiment of the present application is schematically shown. Figure 1 As shown, an embodiment of the present application provides a method for processing operating condition data, which may include the following steps:
[0031] Perform preliminary analysis on the acquired raw data to obtain the equipment identity field and original working condition data;
[0032] S102, obtaining the device identity field and original working condition data of the target device;
[0033] S104, determining a working condition data parsing model according to the device identity field, wherein the model identity field of the working condition data parsing model corresponds to the device identity field, and the working condition data parsing model includes working condition data parsing rules for parsing the working condition field;
[0034] S106, executing the rule execution logic file in the working condition data analysis rule to read the rule configuration file of the working condition data analysis rule;
[0035] S108, parsing the corresponding working condition field in the original working condition data using the rule execution logic file and the rule configuration file to obtain a parsed working condition value;
[0036] S110, saving the analyzed working condition value.
[0037] The processing method for operating condition data provided by the embodiment of the present application can determine the device that generates the operating condition field according to the device identity field after obtaining the device identity field and the original operating condition data of the target device. Then, the operating condition data parsing model that matches the target device is determined through the device identity field. After determining the operating condition data parsing model, the operating condition data parsing model can parse the corresponding operating condition field according to the operating condition data parsing rules included therein. The operating condition data parsing rules include a rule execution logic file, which is the logic for specifically executing the rule content. The rule execution logic file reads its corresponding rule configuration file to implement parsing of the corresponding operating condition field in the original operating condition data to obtain the parsed operating condition value. The rule configuration file records the processing details of the rule content logic of the operating condition data parsing when parsing the corresponding operating condition field. Finally, the parsed operating condition value obtained by parsing is saved. Therefore, in the processing method for working condition data provided in the embodiment of the present application, the working condition data analysis model can be configured according to different engineering equipment to correspond to the reporting form of the working condition data of different engineering equipment, and for different types of working condition data, working condition data analysis rules are added to the working condition data analysis model, so that the working condition data analysis model can realize the analysis of multiple working condition data of a certain engineering equipment. Therefore, the processing method for working condition data provided in the embodiment of the present application not only distinguishes the reporting form of the working condition data of different equipment through the working condition data analysis model, but also distinguishes and analyzes different working condition data through the working condition data analysis rules, thereby realizing a universal working condition data analysis method, reducing the dependence of working condition analysis on developers, and improving the analysis efficiency of working condition data.
[0038] It is understandable that the target device in step S102 may be, for example, an excavator, a crane, a pump truck, or other engineering machinery. The method for processing working condition data provided in the embodiment of the present application may be run on a computing device having a processor, and the computing device may be used to receive the original working condition data generated by the above-mentioned engineering machinery. The device identity field may be, for example, a device code.
[0039] In some embodiments of the present application, the original operating condition data may include multiple operating condition fields, and accordingly, the operating condition data parsing model used to parse the multiple operating condition fields in the original operating condition data may include multiple operating condition data parsing rules. The processing method for operating condition data provided in the embodiment of the present application may also include traversing and loading multiple operating condition data parsing rules in the operating condition data parsing model.
[0040] Since engineering machinery and equipment can generally generate working condition fields of multiple working conditions, and the parsing methods of multiple working condition fields are different. Therefore, multiple working condition data parsing rules can be set in the working condition data parsing model corresponding to the engineering machinery and equipment, corresponding to the parsing of the multiple working condition data generated by the engineering machinery and equipment. And since what kind of working condition fields are included in the original working condition data received in step S102 is not determined before parsing, the parsing working condition value corresponding to the working condition field included in the original working condition data is determined by traversing and loading multiple working condition data parsing rules in the working condition data parsing model, so as to achieve a single working condition data parsing model that can parse various working condition fields that can be generated by the corresponding engineering machinery and equipment.
[0041] Furthermore, in the process of traversing and loading multiple working condition data parsing rules, the following steps may be included:
[0042] In the case where the original operating condition data includes an operating condition field corresponding to the currently loaded operating condition data parsing rule, step S108 is executed to obtain a parsed operating condition value of the operating condition field;
[0043] In the case that the original operating condition data does not include the operating condition field corresponding to the currently loaded operating condition data parsing rule, the currently loaded operating condition data parsing rule is left blank.
[0044] It can be understood that the operating condition data parsing model can be used to check whether the fields obtained after the initial parsing of the original operating condition data include operating condition fields that can be parsed by its operating condition data parsing rules.
[0045] In some embodiments of the present application, in order to determine the operating condition fields that can be parsed by the operating condition data parsing rules, the operating condition data parsing model is also used to record the header features of the operating condition fields that can be parsed by the operating condition data parsing rules.
[0046] Step S106 includes:
[0047] Execute the rule execution logic file in the currently loaded working condition data parsing rule to read the rule configuration file of the currently loaded working condition data parsing rule;
[0048] Step S108 includes:
[0049] Get the header features of the working condition fields that can be parsed by the currently loaded working condition data parsing rules;
[0050] Determine the starting position of the current working condition field to be analyzed in the original working condition data according to the header feature;
[0051] The rule execution logic file and rule configuration file of the currently loaded working condition data parsing rule are used to parse the current working condition field to be parsed from the starting position to obtain the parsed working condition value.
[0052] Therefore, the parseable operating condition fields can be determined through the header features recorded in the operating condition data parsing model.
[0053] In some embodiments of the present application, the operating condition data analysis rules of the operating condition data analysis model are obtained according to preset rules pre-stored in a rule pool.
[0054] It can be understood that the rule pool may include multiple preset rules, any of which can be directly used to parse the corresponding working condition field, or to obtain the corresponding working condition data parsing rules. The preset rules may include a rule execution logic file and a rule configuration file. The rule execution logic file is the implementation code of the rule, and the implementation code is the logic of the specific execution of the rule content. The rule configuration file may include: the name of the preset rule, the unique code, and the configurable parameters, wherein the configurable parameters are used to customize the preset rules and determine the degree of customizability of the preset rules. The configurable parameters in the rule configuration file of each preset rule may be different, depending on the needs of the rule implementation.
[0055] As an example, the implementation code may be implemented in Java language, and is actually completed by dynamically loading the Jar file packaged with the rule implementation code in the OSGI (Open Services Gateway Initiative) framework. The rule configuration file may be a JSON format file, for example.
[0056] See also Figure 2 In some embodiments of the present application, the preset rules can be obtained by the following steps:
[0057] S202, setting a unique rule code, configurable parameters in a rule configuration file, and a rule execution logic file bound to the rule configuration file;
[0058] S204, comparing the rule unique code with the rule identifiers of other preset rules in the rule pool one by one to determine the uniqueness of the rule unique code;
[0059] S206, calling the rule configuration file according to the rule execution logic file to parse the test condition data and obtain the test condition parsing result;
[0060] S208. When the unique rule code is unique and the test condition analysis result is the same as the preset analysis result of the test condition data, the preset rule including the unique rule code, the rule configuration file and the rule execution logic file is stored in the rule pool.
[0061] In some embodiments of the present application, the operating condition data analysis model can be obtained by the following steps:
[0062] Set the model identity field of the working condition data parsing model, where the model identity field corresponds to the device identity field;
[0063] According to the target working condition data characteristics of the target equipment, select the corresponding preset rules from the rule pool;
[0064] According to the characteristics of the target working condition data and the corresponding preset rules, the definable parameters in the preset rules are defined to obtain the working condition data analysis rules;
[0065] The working condition data analysis model is stored in the model library.
[0066] It can be understood that the working condition data parsing model is a structured definition of the working condition parsing of a specific type of equipment. Each engineering machinery equipment corresponds to a unique working condition data parsing model, which includes the name of the model, the model identity field, the parsing method, and the working condition definition set of the model. It stipulates the working condition definition of this type of equipment and the combination of working condition data parsing rules. Each working condition definition contains the following contents: working condition name, working condition code, associated working condition data parsing rules, and the starting position of the original working condition byte reading. There are two parsing methods: 1. Simple parsing: This parsing method does not require setting working condition data parsing rules. The working condition data transmission party will pass the working condition value in the agreed plain text JSON format. 2. Rule parsing: By specifying the specific working condition data parsing rules of the working condition and setting the specific values of its configurable parameters to parse the corresponding working condition fields.
[0067] Based on the above analysis method, the working condition data analysis model does not need to define the analysis method of simple analysis.
[0068] In some embodiments of the present application, the step of obtaining the working condition data analysis model may further include:
[0069] In the case of simple parsing, the model identity field of the working condition data parsing model is set, wherein the model identity field corresponds to the device identity field;
[0070] The working condition data analysis model is stored in the model library.
[0071] Therefore, some operating condition data parsing models can be used to parse a variety of operating condition fields, some of which can be parsed to obtain parsed operating condition values through simple parsing, and other operating condition fields can be parsed to obtain parsed operating condition values through corresponding operating condition data parsing rules.
[0072] In some embodiments of the present application, the processing method for operating condition data can be implemented by a parsing engine. After receiving the original operating condition data, the parsing engine parses the original data item by item according to the agreed parsing method through the associated operating condition data parsing model, and finally stores it in the database.
[0073] In some embodiments of the present application, after the parsed operating condition value is stored in the database, the parsed operating condition value can also be used for operating condition display. Therefore, the processing method for operating condition data can also include:
[0074] Load the target working condition display scene;
[0075] Determine the corresponding working condition data analysis model according to the target working condition display scenario;
[0076] Obtain the target analytical working condition value that has been analyzed by the corresponding working condition data analysis model;
[0077] The target parsed working condition value is processed according to the target working condition display scenario to obtain the target working condition display result.
[0078] Among them, the working condition display scene is a definition of the working condition display situation. It sets the analytical working condition values and their rendering forms that should be displayed in the working condition display scene, and also specifies the calculation logic of the extended working condition. For example, the working condition display of handheld devices, the working condition display on the web page, and the working condition output open to the outside world can all be considered as a scene application. There is a many-to-many relationship between the working condition display scene and the analytical working condition value. By setting the working condition display scene and realizing the display results of the target working condition based on the working condition display scene, the working condition display can be flexibly configured, reducing the workload of the working condition display and improving the flexibility and compatibility of the working condition display method.
[0079] The display end can display the target working condition display results. The rendering technology used by the display end, such as 2D or 3D rendering on the web page using HTML5 technology, and native UI rendering based on embedded devices. Therefore, the target working condition display scene can be configured for the working condition item display of a specific rendering method, and by setting relevant rendering parameters, such as length, width, color, position, shadow, background, etc., a customized display of a single working condition item can be achieved, and the configuration can be defined in JSON format, for example.
[0080] In some embodiments of the present application, the target working condition display scene can be obtained by the following steps:
[0081] Load the target working condition data analysis model;
[0082] Associating an existing working condition display definition with a target working condition data analysis model, wherein the existing working condition display definition is used to process a target analysis working condition value obtained by analyzing the target working condition data analysis model to obtain a target working condition display result;
[0083] And / or, based on creating an extended operating condition display definition and associating the extended operating condition display definition to a target operating condition data analysis model, the extended operating condition display definition is used to process a target analysis operating condition value obtained by analyzing the target operating condition data analysis model to obtain a target operating condition display result.
[0084] Therefore, the working condition display scenario can process the target parsed working condition value through the existing working condition display definition to obtain the target working condition display result, or process the target parsed working condition value through the extended working condition display definition to obtain the expected target working condition display result.
[0085] It can be understood that the extended working condition display definition is a processing method for customizing working condition display by combining existing working conditions through mathematical expressions or text templates, which can be actually formulated according to the needs of the scene. For example: through the expression "(A / (A+B))*100%", an extended working condition with a proportion of working condition A can be customized. Other extended working conditions, such as efficiency calculation, numerical scaling, unit conversion, etc. can be achieved through the extended working condition display definition.
[0086] The following is an example to illustrate an implementation process of the method for processing operating condition data provided in an embodiment of the present application.
[0087] like Figure 3 As shown, the method for processing operating condition data provided in the embodiment of the present application is implemented through two major modules: an operating condition analysis module 310 and an operating condition display module 320 .
[0088] The operating condition analysis module 310 is responsible for formulating preset rules and operating condition data analysis rules and executing steps S102 to S110 to automatically parse the obtained original operating condition data (byte data or parseable JSON character data) into easy-to-understand, directly displayable analysis condition values and store them according to established arrangement rules.
[0089] The working condition display module 320 is responsible for the working condition display scene configuration, scene working condition association, working condition value display form control and custom working condition definition, and realizes the rendering of working condition display based on the working condition value obtained by analysis.
[0090] The rule pool in the working condition analysis module 310 includes a plurality of pre-stored preset rules. The model library includes a plurality of working condition data analysis models. After receiving the device identity field and the corresponding original working condition data, the analysis engine of the working condition analysis module 310 analyzes the specific analysis working condition values from the original working condition data one by one according to the agreed analysis method through the working condition data analysis model associated with the device, and finally stores them in the database.
[0091] The working condition display module 320 can load the working condition data analysis model from the model library according to the definition requirements of the working condition display scenario through the built-in associated model working condition module, and associate the required working condition display definition with the loaded working condition data analysis model. The working condition display module obtains the target analysis working condition value in the database through the target working condition display scenario, and processes the target analysis working condition value to obtain a displayable standard working condition display result.
[0092] In summary, the processing method for working condition data provided in the embodiment of the present application extracts the logical structure design method that will be used in the actual working condition of engineering machinery equipment in a rule-defined manner as the basic logic library for analysis, and supports customized extended analysis rules. A general equipment working condition analysis and extraction method is implemented through the combination of rules, and flexible configuration of working condition display is achieved through the setting of the relationship between the scene and the working condition and the configuration of the display rendering, which can reduce the workload of the working condition display and improve the flexibility and compatibility of the working condition display.
[0093] An embodiment of the present application also provides a processing device for operating condition data, comprising: a memory configured to store instructions; and a processor configured to call instructions from the memory and to implement a processing method for operating condition data provided according to any of the above embodiments when executing the instructions.
[0094] An embodiment of the present application also provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute a method for processing operating condition data provided according to any of the above embodiments.
[0095] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements a method for processing operating condition data provided in accordance with any of the above embodiments.
[0096] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0097] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0098] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0100] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0101] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0102] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0103] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0104] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for processing operating condition data, characterized in that: include: Obtain the device identity field and original working condition data of the target device; Determine a working condition data parsing model according to the device identity field, wherein a model identity field of the working condition data parsing model corresponds to the device identity field, and the working condition data parsing model includes working condition data parsing rules for parsing the working condition field; Executing the rule execution logic file in the operating condition data analysis rule to read the rule configuration file of the operating condition data analysis rule; Parsing the corresponding operating condition field in the original operating condition data using the rule execution logic file and the rule configuration file to obtain a parsed operating condition value; The analyzed operating condition value is saved.
2. The method according to claim 1, characterized in that The operating condition data analysis model includes a plurality of operating condition data analysis rules, and the method further includes: The plurality of working condition data parsing rules are traversed and loaded.
3. The method according to claim 2, characterized in that The working condition data analysis model is also used to record the header features of the working condition fields that can be analyzed by the working condition data analysis rules; The using the rule execution logic file and the rule configuration file to parse the corresponding operating condition field in the original operating condition data to obtain the parsed operating condition value includes: Get the header features of the working condition fields that can be parsed by the currently loaded working condition data parsing rules; Determine the starting position of the current working condition field to be analyzed in the original working condition data according to the header feature; Parsing the current to-be-parsed operating condition field from the starting position using the rule execution logic file and the rule configuration file of the currently loaded operating condition data parsing rule to obtain a parsed operating condition value; Among them, executing the rule execution logic file in the operating condition data analysis rule to read the rule configuration file of the operating condition data analysis rule includes: executing the rule execution logic file in the currently loaded operating condition data analysis rule to read the rule configuration file of the currently loaded operating condition data analysis rule.
4. The method according to claim 1, characterized in that The operating condition data analysis rules are obtained based on preset rules pre-stored in a rule pool.
5. The method according to claim 4, characterized in that The preset rules are obtained by following the steps below: Setting the unique code of the rule, the configurable parameters in the rule configuration file, and the rule execution logic file bound to the rule configuration file; Compare the rule unique code with the rule identifiers of other preset rules in the rule pool one by one to determine the uniqueness of the rule unique code; Calling the rule configuration file according to the rule execution logic file to parse the test condition data and obtain the test condition parsing result; When the rule unique code is unique and the test condition analysis result is the same as the preset analysis result of the test condition data, the preset rule including the rule unique code, the rule configuration file and the rule execution logic file is stored in the rule pool.
6. The method according to claim 4, characterized in that The operating condition data analysis model is obtained by the following steps: Setting the model identity field of the operating condition data parsing model, wherein the model identity field corresponds to the device identity field; According to the target operating condition data characteristics of the target device, selecting a corresponding preset rule from the rule pool; According to the characteristics of the target operating condition data and the corresponding preset rules, defining definable parameters in the preset rules to obtain the operating condition data parsing rules; The operating condition data analysis model is stored in a model library.
7. The method according to claim 1, characterized in that The method further comprises: Load the target working condition display scene; Determine a corresponding working condition data analysis model according to the target working condition display scenario; Obtain the target parsed operating condition value parsed by the corresponding operating condition data parsing model; The target parsed operating condition value is processed according to the target operating condition display scenario to obtain a target operating condition display result.
8. The method according to claim 7, characterized in that The target working condition display scene is obtained by the following steps: Load the target working condition data analysis model; Associating an existing working condition display definition with the target working condition data analysis model, wherein the existing working condition display definition is used to process the target analysis working condition value obtained by the analysis of the target working condition data analysis model to obtain a target working condition display result; And / or, based on creating an extended operating condition display definition and associating the extended operating condition display definition to the target operating condition data analysis model, the extended operating condition display definition is used to process the target analysis operating condition value obtained by analyzing the target operating condition data analysis model to obtain a target operating condition display result.
9. A processing device for working condition data, characterized in that: include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the method for processing operating condition data according to any one of claims 1 to 8 when executing the instructions.
10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions, which are used to enable a machine to execute the method for processing operating condition data according to any one of claims 1 to 8.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the method for processing operating condition data according to any one of claims 1 to 8.