Business data numerical unit adaptive processing method and related device

By using the fel engine to execute preset rules in the new energy operation and maintenance platform, dynamically adjusting the values ​​and units of business data, the problems of long development cycle and high maintenance costs in the existing technology are solved, and rapid response and high accuracy are achieved. Adaptive processing of business data units.

CN119166700APending Publication Date: 2024-12-20BEIJING HUANENG XINRUI CONTROL TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411043496.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the prior art, when the adaptive processing of the business data unit writes judgment logic rules on the data interface side or the page side, it leads to a long development cycle and high maintenance costs.

Method used

By determining the attribute shortcode and attribute value of the business data, we judge whether numerical unit adaptive processing is required, and the fel engine is used to perform preset numerical unit adaptive rule configuration, dynamically adjust the numerical and unit, and reduce the needs of manual intervention and program modification.

Benefits of technology

It realizes fast-responsive business data unit adaptive processing, shortens development cycle, reduces maintenance costs, and improves data accuracy and consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166700A_ABST
    Figure CN119166700A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of new energy operation and maintenance, and discloses a service data numerical unit adaptive processing method and a related device, and the method comprises the steps: determining an attribute brief code of service data according to the type of the service data uploaded by a power generation company, and obtaining an attribute value of the service data; wherein the attribute value of the service data comprises a numerical value and a unit of the service data; judging whether the attribute value of the service data needs to be subjected to numerical unit adaptive processing or not; if so, assembling the attribute brief code and the attribute value of the business data to obtain to-be-processed data; executing a preset numerical value unit adaptive rule configuration operation on the to-be-processed data by utilizing an fel engine to obtain a processed numerical value and unit; packaging the processed values and units to obtain packaged data, namely obtaining a value unit self-adaptive processing result of the service data; the method has the advantages of being short in development period and low in maintenance cost, the accuracy of data can be ensured, and the error rate of the data is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of new energy operation and maintenance, and in particular relates to a numerical unit adaptive processing method for business data and related devices. Background Art

[0002] With the continuous development of the new energy industry, wind power generation and photovoltaic power generation are constantly expanding; when the power generation group uses the operation and maintenance platform to uniformly supervise the wind and photovoltaic power generation companies under its jurisdiction, it needs to continuously receive business data uploaded by each power generation company; for example, power generation data and grid-connected data; due to the different sizes of each power generation company, the numerical differences under the same numerical unit on the operation and maintenance monitoring page of each power generation company are large, which seriously affects the data display effect and intuitive judgment results.

[0003] At present, in the operation and maintenance platform, for the processing of business data units, various judgment logic rules are usually written on the data interface side or the page side to realize the adaptive processing of numerical units. Among them, each time the logic rules are improved or updated, the existing program content needs to be modified, resulting in a long development cycle and high maintenance costs. Summary of the invention

[0004] In response to the technical problems existing in the prior art, the present invention provides a method for adaptively processing numerical units of business data to solve the technical problems of long development cycle and high maintenance cost when various judgment logic rules are written on the data interface side or the page side to achieve adaptive processing of numerical units.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] The present invention provides a method for adaptively processing numerical units of business data, comprising:

[0007] According to the type of business data uploaded by the power generation company, determine the attribute code of the business data, and obtain the attribute value of the business data; wherein the attribute value of the business data includes the value and unit of the business data;

[0008] Determine whether the attribute value of the business data needs to be processed in numerical units; if necessary, assemble the attribute code of the business data and the attribute value of the business data to obtain data to be processed;

[0009] Using the FEL engine to perform a preset value unit adaptive rule configuration operation on the data to be processed to obtain a processed value and unit;

[0010] The processed numerical values ​​and units are packaged to obtain packaged data, that is, the numerical value unit adaptive processing result of the business data is obtained.

[0011] Furthermore, according to the type of business data uploaded by the power generation company, the attribute code of the business data is determined, and the attribute value of the business data is obtained. Specifically, the process is as follows:

[0012] Filter out the attribute simple code corresponding to the attribute name of the business data uploaded by the power generation company from the pre-constructed standard attribute simple code table to obtain the attribute simple code of the business data; wherein the pre-constructed standard attribute simple code table stores a plurality of simple code-name mapping relationships, each of which is a one-to-one correspondence between the attribute name of the business data and the attribute simple code, and the format of the attribute simple code is: letter+digit code;

[0013] According to the attribute simple code of the business data, the numerical value and unit of the corresponding business data are read from the data query interface of the business data to obtain the attribute value of the business data.

[0014] Further, the process of determining whether the attribute value of the service data needs to be adaptively processed in numerical units is as follows:

[0015] According to the attribute code of the business data, the attribute dimension of the business data is obtained in a pre-constructed attribute unit adaptive rule configuration table; wherein the pre-constructed attribute unit adaptive rule configuration table includes the attribute code, attribute dimension, attribute name, value conversion rule and unit conversion rule;

[0016] Compare the attribute value of the business data with the attribute dimension content; if the attribute value of the business data exceeds the attribute dimension, the attribute value of the business data needs to be adaptively processed in numerical units; otherwise, no adaptive processing is required in numerical units.

[0017] Further, the process of using the FEL engine to perform a preset value unit adaptive rule configuration operation on the data to be processed to obtain the processed value and unit is as follows:

[0018] The fel engine is used to execute the numerical conversion rule in the pre-built attribute unit adaptive rule configuration table, and the numerical value of the business data in the data to be processed is converted to obtain the processed data value; wherein the numerical conversion rule is: if (numerical value>threshold 1&&numerical value<threshold 2,if (numerical value>threshold 2,numerical value / threshold 2,numerical value / threshold 1),numerical value);

[0019] The unit conversion rule in the pre-built attribute unit adaptive rule configuration table is executed by using the fel engine to convert the unit of the business data in the data to be processed to obtain the processed unit; wherein, the unit conversion rule is: if (value>threshold 1&&value<threshold 2,if (value>threshold 2, "unit 1", "unit 2"), "unit 3").

[0020] Furthermore, the encapsulated data includes an attribute name, an attribute short code, an attribute value and an attribute unit; wherein the attribute value and the attribute unit are processed values ​​and units, respectively.

[0021] Furthermore, it also includes the front-end rendering step;

[0022] The front-end rendering steps are as follows:

[0023] Responding the packaged data to the front-end page of the operation and maintenance platform;

[0024] The front-end page of the operation and maintenance platform parses the encapsulated data, obtains detailed information of the encapsulated data, and performs rendering processing on the attribute data and attribute units in the encapsulated data.

[0025] The present invention also provides a numerical unit adaptive processing system for business data, comprising:

[0026] An acquisition module, used to determine the attribute code of the business data according to the type of business data uploaded by the power generation company, and to acquire the attribute value of the business data; wherein the attribute value of the business data includes the value and unit of the business data;

[0027] A judgment module, used to judge whether the attribute value of the business data needs to be processed in numerical units; if necessary, assembling the attribute code of the business data and the attribute value of the business data to obtain data to be processed;

[0028] An adaptive processing module, used for using a FEL engine to perform a preset numerical unit adaptive rule configuration operation on the data to be processed to obtain a processed numerical value and unit;

[0029] The data encapsulation module is used to encapsulate the processed values ​​and units to obtain encapsulated data, that is, to obtain the value unit adaptive processing result of the business data.

[0030] The present invention also provides a numerical unit adaptive processing device for business data, characterized by comprising:

[0031] a processor suitable for executing a computer program;

[0032] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method for adaptively processing the numerical units of business data is executed.

[0033] The present invention also provides a computer-readable storage medium, which stores a computer program, and is characterized in that when the computer program is executed by a processor, the numerical unit adaptive processing method of business data is implemented.

[0034] The present invention also provides a computer program product, characterized in that the computer program product includes a computer program, and when the computer program is executed by a processor, the numerical unit adaptive processing method of business data is implemented.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The method for adaptively processing the numerical units of business data provided by the present invention determines whether the business data needs to be adaptively processed in numerical units by judging the attribute values ​​of the business data, thereby effectively reducing the need for manual intervention; for the data to be processed, the fel engine performs a preset adaptive rule configuration operation on the data to be processed, and the configuration of the numerical unit conversion rules can be modified according to actual needs without modifying the specific program content, thereby meeting the needs of following the business changes of the power generation company and realizing adaptive processing of all business data; the operation process of the present invention is simple, and compared with the existing adaptive processing method for numerical units in which the judgment logic rules are written on the data interface side or the page side, the method has the advantages of short development cycle and low maintenance cost; at the same time, the accuracy of the data can be ensured, and the error rate of the data is greatly reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flowchart of the method for adaptively processing the numerical unit of business data described in Example 1;

[0038] Figure 2 This is a structural block diagram of the numerical unit adaptive processing system for business data described in Example 2;

[0039] Figure 3 This is a structural block diagram of the numerical unit adaptive processing device for business data described in Example 3. DETAILED DESCRIPTION

[0040] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail in the following specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] Example 1

[0042] This embodiment 1 provides a method for adaptively processing the numerical unit of service data, including the following steps:

[0043] Step 1: Create an attribute unit adaptive rule configuration page, wherein the attribute unit adaptive rule configuration page is a visual page.

[0044] Step 2: On the attribute unit adaptive rule configuration page, establish a standard attribute code table. The standard attribute code table stores a number of code-name mapping relationships, each of which is a one-to-one correspondence between the attribute name of the business data and the attribute code, and the attribute code format is: letter + numeric code; taking power data as an example, the attribute name corresponding to the power data is power, and the attribute code is C6.

[0045] Step 3. On the attribute unit adaptive rule configuration page, establish an attribute unit adaptive rule configuration table. The attribute unit adaptive rule configuration table includes attribute code, attribute dimension, attribute name, value conversion rule and unit conversion rule. It should be noted that the attribute dimension is the adaptive conversion threshold range preset for business data. The value conversion rule is: if (value > threshold 1 && value < threshold 2, if (value > threshold 2, value / threshold 2, value / threshold 1), value); the unit conversion rule is: if (value > threshold 1 && value < threshold 2, if (value > threshold 2, "unit 1", "unit 2"), "unit 3");

[0046] Taking power data as an example, assuming that the attribute dimension is (1000, 1000), unit 1 represents 100 million kilowatts, unit 2 represents 10,000 kilowatts, and unit 3 represents megawatts; at this time, the data conversion rules are specifically as follows:

[0047] if(C6>1000&&C6<10000,if(C6>10000,C6 / 10000,C6 / 1000),C6)

[0048] The unit conversion rules are specifically as follows:

[0049] if(C6>1000&&C6<10000,if(C6>10000,"100 million kilowatts","10,000 kilowatts"),"megawatts").

[0050] It should be noted that edit and add buttons are provided under the attribute unit adaptive rule configuration page; wherein the edit and add buttons are used to modify or add the content in the attribute unit adaptive rule configuration table through human-computer interaction.

[0051] Step 4: According to the type of business data uploaded by the power generation company, determine the attribute code of the business data and obtain the attribute value of the business data. The attribute value of the business data includes the value and unit of the business data;

[0052] Specifically, the process of obtaining the attribute value of business data is as follows:

[0053] Filter out the attribute short code corresponding to the attribute name of the business data uploaded by the power generation company from the standard data line short code table to obtain the attribute short code of the business data; according to the attribute short code of the business data, call the data query interface of the business data, and read the numerical value and unit of the corresponding business data from the data query interface of the business data to obtain the attribute value of the business data.

[0054] Step 5: query the attribute unit adaptive rule configuration table to determine whether the attribute value of the business data needs to be processed by numerical unit adaptive processing; if necessary, jump to step 6; if not, jump to step 9.

[0055] Specifically, the query and judgment process steps are as follows:

[0056] Step 51: According to the attribute short code of the business data, the attribute unit adaptive rule configuration table is cyclically queried, and the attribute dimension of the business data is obtained from the attribute unit adaptive rule configuration table.

[0057] Step 52: compare the attribute value of the business data with the content of the attribute dimension; if the attribute value of the business data exceeds the attribute dimension, the attribute value of the business data needs to be processed in numerical unit adaptively, and jump to step 6; otherwise, no data unit adaptive processing is required, and jump to step 9. When comparing the attribute value of the business data with the content of the attribute dimension, the value of the business data is compared with the attribute dimension of the business data.

[0058] Step 6: Assemble the attribute code of the service data and the attribute value of the service data to obtain the data to be processed. The format of the data to be processed is: attribute code + value of service data + unit of service data; taking power data as an example, the format of the data to be processed is: C6 + power value + power unit.

[0059] Step 7: Use the Flexible Expression Language (FEL) engine to perform a preset value unit adaptive rule configuration operation on the data to be processed to obtain a processed value and unit.

[0060] Specifically, the process of performing the numerical unit adaptive rule configuration operation is as follows:

[0061] Step 71: Utilize the FEL engine to execute the numerical conversion rules in the attribute unit adaptive rule configuration table, convert the numerical values ​​of the business data in the data to be combed according to the numerical conversion rules, and obtain the processed data values.

[0062] Step 72: Utilize the FEL engine to execute the unit conversion rule in the pre-constructed attribute unit adaptive rule configuration table, convert the unit of the business data in the data to be processed, and obtain the processed unit.

[0063] Step 8: Encapsulate the processed values ​​and units to obtain encapsulated data, that is, obtain the value unit adaptive processing result of the business data; wherein the encapsulated data includes the attribute name, attribute code, attribute value and attribute unit; wherein the attribute value and the attribute unit are the processed value and unit respectively.

[0064] Step 9. Response the encapsulated data or the business data that does not require data unit adaptive processing to the front-end page of the operation and maintenance platform; the front-end page of the operation and maintenance platform parses the encapsulated data or the business data that does not require data unit adaptive processing, obtains the detailed information of the encapsulated data or the business data that does not require data unit adaptive processing, and renders the attribute data and attribute units in the detailed information.

[0065] The method for adaptively processing the numerical units of business data described in this embodiment 1 creates an attribute unit adaptive rule configuration page, and establishes a standard attribute short code table and an attribute unit adaptive rule configuration table under the attribute unit adaptive rule configuration page; configures and modifies the numerical conversion rules and unit conversion rules through a visual page, and can take effect immediately without modifying the program content and multiple releases, which greatly shortens the program development cycle and maintenance costs; reads the numerical value and unit of the corresponding business data from the data query interface of the business data according to the attribute short code of the business data; at the same time, assembles the attribute short code and attribute value of the business data that needs to be adaptively processed in numerical units to ensure The standardization and consistency of data are ensured, and conversion errors caused by inconsistent data formats are avoided; the attribute dimension is used to judge the value of business data, and automatic judgment is made on whether numerical unit adaptive processing is required, thereby improving the efficiency and accuracy of data processing and reducing the need for manual intervention; the fel engine is used to execute preset numerical unit adaptive rule configuration operations, making numerical unit conversion more flexible and configurable, satisfying the power generation company's ability to easily modify and adjust the rules for numerical unit conversion according to its actual needs; the present invention not only improves the efficiency and accuracy of data processing through automated numerical unit adaptive processing, but also enhances the standardization, consistency and availability of data.

[0066] It should be noted that the numerical unit adaptive processing method described in this embodiment 1 is implemented based on the object-oriented programming language (JAVA).

[0067] Example 2

[0068] As attached Figure 2 As shown, this embodiment 2 provides a numerical unit adaptive processing system for business data, including a configuration page module, a standard attribute code table module, an attribute unit adaptive rule configuration table module, an acquisition module, a judgment module, a data assembly module, an adaptive processing module, a data encapsulation module and a front-end response module; the configuration page module is used to create an attribute unit adaptive rule configuration page; the standard attribute code table module is used to establish a standard attribute code table under the attribute unit adaptive rule configuration page; the attribute unit adaptive rule configuration table module is used to establish an attribute unit adaptive rule configuration table under the attribute unit adaptive rule configuration page; the acquisition module is used to determine the attribute code of the business data according to the type of business data uploaded by the power generation company, and obtain the business data Attribute value; a judgment module, used to query the attribute unit adaptive rule configuration table to determine whether the attribute value of the business data needs to be adaptively processed in numerical units; a data assembly module, used to assemble the attribute code of the business data and the attribute value of the business data to obtain the data to be processed; an adaptive processing module, used to use the fel engine to perform a preset numerical unit adaptive rule configuration operation on the data to be processed to obtain the processed numerical value and unit; a data encapsulation module, used to encapsulate the processed numerical value and unit to obtain encapsulated data, that is, to obtain the numerical unit adaptive processing result of the business data; a front-end response module, used to respond the encapsulated data or the business data that does not need to be adaptively processed in data units to the front-end page of the operation and maintenance platform.

[0069] Example 3

[0070] As attached Figure 3 As shown, this embodiment 3 also provides a numerical unit adaptive processing device for business data, including: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a numerical unit adaptive processing program for business data; wherein the attached Figure 3 The communication interface in is used to access external devices to obtain data.

[0071] When the processor executes the computer program, the steps in the above-mentioned method for adaptive processing of numerical units of business data are implemented, for example: creating an attribute unit adaptive rule configuration page; establishing a standard attribute short code table under the attribute unit adaptive rule configuration page; establishing an attribute unit adaptive rule configuration table under the attribute unit adaptive rule configuration page; determining the attribute short code of the business data according to the type of business data uploaded by the power generation company, and obtaining the attribute value of the business data; querying the attribute unit adaptive rule configuration table to determine whether the attribute value of the business data needs to be adaptively processed in numerical units; assembling the attribute short code of the business data and the attribute value of the business data to obtain the data to be processed; using the fel engine to perform a preset numerical unit adaptive rule configuration operation on the data to be processed to obtain the processed numerical value and unit; encapsulating the processed numerical value and unit to obtain encapsulated data, that is, obtaining the numerical unit adaptive processing result of the business data; responding the encapsulated data or the business data that does not need to be adaptively processed in data units to the front-end page of the operation and maintenance platform.

[0072] Alternatively, when the processor executes the computer program, the functions of each module in the numerical unit adaptive processing system of the above-mentioned business data are realized, for example: a configuration page module, used to create an attribute unit adaptive rule configuration page; a standard attribute short code table module, used to establish a standard attribute short code table under the attribute unit adaptive rule configuration page; an attribute unit adaptive rule configuration table module, used to establish an attribute unit adaptive rule configuration table under the attribute unit adaptive rule configuration page; an acquisition module, used to determine the attribute short code of the business data according to the type of business data uploaded by the power generation company, and obtain the attribute value of the business data; a judgment module, used to query the attribute unit adaptive rule configuration table, and judge Determine whether the attribute value of the business data needs to be adaptively processed in numerical units; a data assembly module is used to assemble the attribute code of the business data and the attribute value of the business data to obtain the data to be processed; an adaptive processing module is used to use the fel engine to perform a preset numerical unit adaptive rule configuration operation on the data to be processed to obtain the processed numerical value and unit; a data encapsulation module is used to encapsulate the processed numerical value and unit to obtain encapsulated data, that is, to obtain the numerical unit adaptive processing result of the business data; a front-end response module is used to respond the encapsulated data or the business data that does not need to be adaptively processed in data units to the front-end page of the operation and maintenance platform.

[0073] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the numerical unit adaptive processing method device for business data.

[0074] For example, the computer program can be divided into a configuration page module, a standard attribute code table module, an attribute unit adaptive rule configuration table module, an acquisition module, a judgment module, a data assembly module, an adaptive processing module, a data encapsulation module and a front-end response module. The specific functions of each module are as follows: a configuration page module, used to create an attribute unit adaptive rule configuration page; a standard attribute code table module, used to establish a standard attribute code table under the attribute unit adaptive rule configuration page; an attribute unit adaptive rule configuration table module, used to establish an attribute unit adaptive rule configuration table under the attribute unit adaptive rule configuration page; an acquisition module, used to determine the attribute code of the business data according to the type of business data uploaded by the power generation company, and obtain the attribute value of the business data ; A judgment module is used to query the attribute unit adaptive rule configuration table to determine whether the attribute value of the business data needs to be adaptively processed in numerical units; a data assembly module is used to assemble the attribute code of the business data and the attribute value of the business data to obtain the data to be processed; an adaptive processing module is used to use the fel engine to perform a preset numerical unit adaptive rule configuration operation on the data to be processed to obtain processed numerical values ​​and units; a data encapsulation module is used to encapsulate the processed numerical values ​​and units to obtain encapsulated data, that is, to obtain the numerical unit adaptive processing result of the business data; a front-end response module is used to respond the encapsulated data or the business data that does not need to be adaptively processed in data units to the front-end page of the operation and maintenance platform.

[0075] The numerical unit adaptive processing device of the business data may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The numerical unit adaptive processing device of the business data may include, but is not limited to, a processor and a memory. Those skilled in the art may understand that the numerical unit adaptive processing device of the business data is only an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components, or a combination of certain components, or different components. For example, the numerical unit adaptive processing device of the business data may also include input and output devices, network access devices, and buses.

[0076] The numerical unit adaptive processing device of the business data may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The numerical unit adaptive processing device of the business data may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the attached Figure 3 The schematic diagram is merely an example of a numerical unit adaptive processing device for business data and does not constitute a limitation on the numerical unit adaptive processing device for business data. It may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the numerical unit adaptive processing device for business data may also include input and output devices, network access equipment, buses, etc.

[0077] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the numerical unit adaptive processing device for the business data, and uses various interfaces and lines to connect various parts of the numerical unit adaptive processing device for the entire business data.

[0078] The memory can be used to store the computer program and / or module, and the processor implements various functions of the numerical unit adaptive processing device of the business data by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.

[0079] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc.

[0080] In addition, the memory may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, an internal memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0081] Example 4

[0082] This embodiment 4 provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method for adaptively processing numerical units of business data are implemented.

[0083] If the module / unit integrated in the numerical unit adaptive processing system of business data is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0084] Based on this understanding, this embodiment 4 implements all or part of the process of the method for adaptively processing the numerical unit of business data described in the above embodiment 1, and can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of the method for adaptively processing the numerical unit of business data can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or preset intermediate form, etc.

[0085] The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0086] It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunication signals.

[0087] Example 5

[0088] This embodiment 5 provides a computer product, which computer program product includes a computer program, which is stored in a computer-readable storage medium; the processor of the numerical unit adaptive processing device for business data reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the numerical unit adaptive processing device for business data can execute the numerical unit adaptive processing method for business data described in embodiment 1, which will not be repeated here.

[0089] It should be noted that a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0090] The method and related device for adaptively processing numerical units of business data described in the present invention can complete the conversion and display of dynamic control units through standardized rule modification processes, in which the interface side reads and executes its configuration rules and responds to the standard data format of the front end; it can skip the development and restart processes, and only needs to standardize the process, configure and modify the rules on the page, and it can take effect immediately without multiple releases, which greatly shortens the cycle.

[0091] The above embodiment is only one of the implementation methods that can realize the technical solution of the present invention. The scope of protection claimed by the present invention is not limited only to this embodiment, but also includes changes, replacements and other implementation methods that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention.

Claims

1. A method for adaptively processing numerical units of business data, characterized in that: include: According to the type of business data uploaded by the power generation company, determine the attribute code of the business data, and obtain the attribute value of the business data; wherein the attribute value of the business data includes the value and unit of the business data; Determine whether the attribute value of the business data needs to be processed in numerical units; if necessary, assemble the attribute code of the business data and the attribute value of the business data to obtain data to be processed; Using the FEL engine to perform a preset value unit adaptive rule configuration operation on the data to be processed to obtain a processed value and unit; The processed numerical values ​​and units are packaged to obtain packaged data, that is, the numerical value unit adaptive processing result of the business data is obtained.

2. A method for adaptively processing numerical units of business data according to claim 1, characterized in that: According to the business data type uploaded by the power generation company, the attribute code of the business data is determined, and the attribute value of the business data is obtained. The specific process is as follows: Filter out the attribute simple code corresponding to the attribute name of the business data uploaded by the power generation company from the pre-constructed standard attribute simple code table to obtain the attribute simple code of the business data; wherein the pre-constructed standard attribute simple code table stores a plurality of simple code-name mapping relationships, each of which is a one-to-one correspondence between the attribute name of the business data and the attribute simple code, and the format of the attribute simple code is: letter+digit code; According to the attribute simple code of the business data, the numerical value and unit of the corresponding business data are read from the data query interface of the business data to obtain the attribute value of the business data.

3. The method for adaptively processing the numerical unit of business data according to claim 1, characterized in that: The process of determining whether the attribute value of the business data needs to be processed by numerical unit adaptation is as follows: According to the attribute code of the business data, the attribute dimension of the business data is obtained in a pre-constructed attribute unit adaptive rule configuration table; wherein the pre-constructed attribute unit adaptive rule configuration table includes the attribute code, attribute dimension, attribute name, value conversion rule and unit conversion rule; Compare the attribute value of the business data with the attribute dimension content; if the attribute value of the business data exceeds the attribute dimension, the attribute value of the business data needs to be adaptively processed in numerical units; otherwise, no adaptive processing is required in numerical units.

4. A method for adaptively processing numerical units of business data according to claim 3, characterized in that: The process of using the FEL engine to perform a preset value unit adaptive rule configuration operation on the data to be processed to obtain the processed value and unit is as follows: The fel engine is used to execute the numerical conversion rule in the pre-built attribute unit adaptive rule configuration table, and the numerical value of the business data in the data to be processed is converted to obtain the processed data value; wherein the numerical conversion rule is: if (numerical value>threshold 1&&numerical value<threshold 2,if (numerical value>threshold 2,numerical value / threshold 2,numerical value / threshold 1),numerical value); The unit conversion rule in the pre-built attribute unit adaptive rule configuration table is executed by using the fel engine to convert the unit of the business data in the data to be processed to obtain the processed unit; wherein, the unit conversion rule is: if(value>threshold 1&&value<threshold 2,if(value>threshold 2,"unit 1","unit 2"),"unit 3").

5. The method for adaptively processing the numerical unit of business data according to claim 1, characterized in that: The encapsulated data includes an attribute name, an attribute short code, an attribute value and an attribute unit; wherein the attribute value and the attribute unit are processed values ​​and units respectively.

6. A method for adaptively processing numerical units of business data according to claim 5, characterized in that: It also includes the front-end rendering step; The front-end rendering steps are as follows: Responding the packaged data to the front-end page of the operation and maintenance platform; The front-end page of the operation and maintenance platform parses the encapsulated data, obtains detailed information of the encapsulated data, and performs rendering processing on the attribute data and attribute units in the encapsulated data.

7. A numerical unit adaptive processing system for business data, characterized in that: include: An acquisition module, used to determine the attribute code of the business data according to the type of business data uploaded by the power generation company, and to acquire the attribute value of the business data; wherein the attribute value of the business data includes the value and unit of the business data; A judgment module, used to judge whether the attribute value of the business data needs to be processed in numerical units; if necessary, assembling the attribute code of the business data and the attribute value of the business data to obtain data to be processed; An adaptive processing module, used for using a FEL engine to perform a preset numerical unit adaptive rule configuration operation on the data to be processed to obtain a processed numerical value and unit; The data encapsulation module is used to encapsulate the processed values ​​and units to obtain encapsulated data, that is, to obtain the value unit adaptive processing result of the business data.

8. A numerical unit adaptive processing device for business data, characterized in that: include: a processor suitable for executing a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the method for adaptively processing the numerical units of business data according to any one of claims 1 to 6 is executed.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for adaptively processing numerical units of business data according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for adaptively processing numerical units of business data according to any one of claims 1 to 6 is implemented.