Universal integral calculation method and device
A calculation method and a general-purpose technology, applied in the Internet field, can solve the problems that traditional products are difficult to meet the needs of enterprises for a long time, statistical data cannot be displayed in real time, and the scoring process is not transparent.
Pending Publication Date: 2019-11-22
BEIJING MATARNET TECH
5 Cites 1 Cited by
AI-Extracted Technical Summary
Problems solved by technology
 In organizational management, member points are often linked to salary performance. Organization managers hope to grasp the initiative of point calculation and manually compensate and optimize the point calculation results under the premise of standardization and automation. Traditional products are difficult to meet the needs of enterprises...
In the embodiment of this example, by configuring the product coefficient corresponding to the amount of resources, workload and negative amount, the product coefficient is generally adjusted according to the result of integral calculation in the trial link, and the organization manager can calculate the integral The calculation results are adjusted and compensated, the influence of areas and specialties on the integral calculation results is reduced, and the expected integral calculation results are optimized.
 The general point calculation method in an exemplary embodiment of the present disclosure collects external diversified data, and assigns integral item codes to the external diversified data; according to preset data processing rules, the external diversified The data is abstracted; according to the data encoding and processing rules, the external diversified data is normalized to realize the abstraction of the physical table of the database; according to the preset multiplication coefficient allocation rules, the multiplication coefficient is assigned to the external diverse data after ...
The invention relates to a universal integral calculation method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring external diversified data, and allocating integral item codes to the external diversified data; according to a preset data processing rule, performing abstract processing on the external diversified data; normalizing the external diversified data according to data encoding and processing rules to realize database physical table abstraction; and according to a preset product coefficient allocation rule, allocating a product coefficient to the external diversified data after normalization processing, and completing integral calculation. According to the invention, through standardization and normalization processing of external diversified data, an expected integral calculation result is realized through calculation.
ResourcesSpecial data processing applications +1
Data processingComputer hardware +5
- Experimental program(1)
 Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms, and should not be construed as being limited to the embodiments set forth herein; on the contrary, these embodiments are provided so that this disclosure will be comprehensive and complete, and fully convey the concept of the example embodiments To those skilled in the art. In the figures, the same reference numerals denote the same or similar parts, and thus their repeated description will be omitted.
 Furthermore, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to give a sufficient understanding of the embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, materials, devices, steps, etc. can be used. In other cases, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the present disclosure.
 The block diagrams shown in the drawings are merely functional entities, and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in the form of software, or implemented in one or more software-hardened modules or part of these functional entities, or in different networks and/or processor devices and/or microcontroller devices. Realize these functional entities.
 In this exemplary embodiment, a general integral calculation method is provided first; reference figure 1 As shown in, the universal integral calculation method can include the following steps:
 Code allocation step S110, collecting external diversified data, and assigning points item codes to the external diversified data;
 Data processing step S120, performing abstract processing on the external diversified data according to preset data processing rules;
 Data normalization step S130, according to data coding and processing rules, normalize the external diversified data, and realize database physical table abstraction;
 The product coefficient allocation step S140, according to the preset product coefficient allocation rule, allocates the product coefficient to the external diversified data after the normalization processing, and completes the integral calculation.
 The universal point calculation method in the exemplary embodiment of the present disclosure collects external diversified data, and assigns points item codes to the external diversified data; abstracts the external diversified data according to preset data processing rules Processing; According to the data coding and processing rules, the external diversified data is standardized to realize the abstraction of the database physical table; according to the preset product coefficient distribution rules, the product coefficients are allocated to the external diversified data after the standardized processing to complete the integration Calculation. On the one hand, the present disclosure uses a configurable integral calculation model to standardize the original data, avoiding developers from writing a large number of data analysis classes for processing, reducing potential bugs and efficiency problems caused by this, and improving the stability and robustness of the program; On the other hand, the present disclosure supports in-depth drilling of points calculation results and source traceability of points sources, which is conducive to the refined management demands of the organization managers for point management and control.
 In the following, the general integral calculation method in this exemplary embodiment will be further explained.
 In the code allocation step S110, external diversified data may be collected, and points item codes can be assigned to the external diversified data.
 In the embodiment of this example, the code allocation step further includes:
 When encoding the external diversified data, classification of the external diversified data is implemented according to the attribute classification of the external diversified data to realize the subdivision management of the external diversified data.
 In the embodiment of this example, the external diversified data attributes are classified in proportion according to the points maintenance items, and data processing and storage are performed according to the classification.
 In the embodiment of this example, the configurable feature of the integral calculation model is used to assign unique integral item codes to external diversified data, and to subdivide and manage resource-based integral items through integral maintenance items, such as computer room equipment resources Maintenance items include maintenance items such as computer room hygiene and cleaning, equipment routine inspection, and equipment maintenance. Each maintenance item has a certain percentage of the integral value of the resource, and the data is processed and stored in a standardized and standardized format.
 In the data processing step S120, abstract processing may be performed on the external diversified data according to preset data processing rules.
 In the embodiment of this example, the data processing step further includes:
 The preset data processing rules include resource amount, workload, and negative amount processing rules.
 In the embodiment of this example, the data is abstracted by the rule engine, including three processing rules of resource amount, workload and negative amount, such as resource amount based on equipment code, workload based on internal dispatch or externally imported work orders, etc. , Summarize the quantifiable amount of resources, workload and negative amount, combined with the configurable integral formula, support the development of universal and customized integral project.
 In the data normalization step S130, the external diversified data may be normalized according to the data encoding and processing rules, so as to realize the abstraction of the database physical table.
 In the embodiment of this example, the data normalization step further includes:
 According to the data encoding and processing rules, the external diversified data is standardized to realize the abstraction of the database physical table, so that the server application does not need to directly connect to the corresponding business database, and the difference of database connection access in different databases is solved.
 In the embodiment of this example, the standardization of the point source data through the above steps realizes the abstraction of the database physical table, so that the server application does not need to directly connect to the corresponding business database, and the difference in database connection access between different databases is solved.
 In the product coefficient allocation step S140, the product coefficient can be allocated to the external diversified data after the normalization processing according to the preset product coefficient allocation rule, and the integral calculation is completed.
 In the embodiment of this example, the step of distributing the product coefficients further includes:
 The preset product coefficient allocation rules include resource amount, workload, and negative amount preset product coefficient allocation rules.
 In the embodiment of this example, the step of distributing the product coefficients further includes:
 The product coefficient is dynamically adjusted according to the modeling model to realize the adjustment and compensation of the integral calculation result.
 In the embodiment of this example, by configuring the product coefficient corresponding to the amount of resources, workload, and negative amount, the product coefficient is generally adjusted continuously based on the result of the integral calculation in the trial link, and the organization manager can perform the calculation of the integral result. Adjust the compensation, reduce the influence of area and specialty on the integral calculation result, and optimize the integral calculation result that meets the expectations.
 In the embodiment of this example, a general point calculation method is disclosed. The method is based on a data model, a standard library, and a rule engine. The user can customize the resource, workload, negative items and other points types in the background standard library. The code and score will be processed by the raw data provided by the underlying data factory and the external information exchange bus, and will be summarized into quantifiable data in the basic library. The user can configure the integral calculation formula to realize the automatic calculation and presentation of the integral. The advantages of the present invention lie in a universal data model, a configurable integral formula, and the ability to provide a variety of display components. In actual construction projects, facing the diverse data sources of customers, only a small amount of configuration and modification are required to satisfy the customer’s points The calculation and presentation requirements have very good promotion and application value.
 It should be noted that although the various steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be performed in the specific order, or that all the steps shown must be performed to Achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc.
 In addition, in this exemplary embodiment, a universal integral calculation device is also provided. Reference figure 2 As shown, the universal integral calculation device 200 may include: an encoding distribution module 210, a data processing module 220, a data normalization module 230, and a product coefficient distribution module 240. among them:
 The code distribution module 210 is used to collect external diversified data and assign codes for points items to the external diversified data;
 The data processing module 220 is configured to perform abstract processing on the external diversified data according to preset data processing rules;
 The data normalization module 230 is configured to perform normalization processing on the external diversified data according to data encoding and processing rules, so as to implement database physical table abstraction;
 The product coefficient allocation module 240 is configured to allocate the product coefficients to the external diversified data after normalization processing according to the preset product coefficient allocation rules, and complete the integral calculation.
 The specific details of the above-mentioned general-purpose integral calculation device modules have been described in detail in the corresponding general-purpose integral calculation method, so they are not repeated here.
 It should be noted that although several modules or units of the universal integral calculation device 200 are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
 In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
 Those skilled in the art can understand that various aspects of the present invention can be implemented as a system, a method, or a program product. Therefore, various aspects of the present invention can be specifically implemented in the following forms, namely: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or a combination of hardware and software embodiments, which may be collectively referred to herein as "Circuit", "Module" or "System".
 Refer below image 3 The electronic device 300 according to this embodiment of the present invention will be described. image 3 The displayed electronic device 300 is only an example, and should not bring any limitation to the function and application scope of the embodiment of the present invention.
 Such as image 3 As shown, the electronic device 300 is represented in the form of a general-purpose computing device. The components of the electronic device 300 may include, but are not limited to: the aforementioned at least one processing unit 310, the aforementioned at least one storage unit 320, a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310), and a display unit 340.
 Wherein, the storage unit stores program code, and the program code can be executed by the processing unit 310, so that the processing unit 310 executes the various exemplary methods described in the "exemplary method" section of this specification. Example steps. For example, the processing unit 310 may execute figure 1 Steps S110 to S140 shown in.
 The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 3201 and/or a cache storage unit 3202, and may further include a read-only storage unit (ROM) 3203.
 The storage unit 320 may also include a program/utility tool 3204 having a set of (at least one) program module 3205. Such program module 3205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
 The bus 330 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
 The electronic device 300 can also communicate with one or more external devices 370 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable users to interact with the electronic device 300, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 300 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 350. In addition, the electronic device 300 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 360. As shown in the figure, the network adapter 360 communicates with other modules of the electronic device 300 through the bus 330. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
 Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present disclosure.
 In the exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium on which is stored a program product capable of implementing the above method of this specification. In some possible embodiments, various aspects of the present invention may also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
 reference Figure 4 As shown, a program product 400 for implementing the above method according to an embodiment of the present invention is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, such as a personal computer. Run on. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
 The program product can use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard drives, random access memory (RAM), read-only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
 The computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
 The program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
 The program code used to perform the operations of the present invention can be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on. In the case of a remote computing device, the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
 In addition, the above-mentioned drawings are merely schematic illustrations of the processing included in the method according to the exemplary embodiment of the present invention, and are not intended for limitation. It is easy to understand that the processing shown in the above drawings does not indicate or limit the time sequence of these processings. In addition, it is easy to understand that these processes can be executed synchronously or asynchronously in multiple modules, for example.
 Those skilled in the art will easily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptive changes of the present disclosure. These variations, uses, or adaptive changes follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The description and the embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.
 It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.