Data processing method, device, electronic device and computer readable storage medium

By acquiring and summarizing the sub-level labels of electricity consumption data, the problem of large label granularity in the existing technology is solved, and the accurate display of user electricity consumption characteristics and the refinement of the label system are achieved.

CN114358814BActive Publication Date: 2024-10-18STATE GRID BEIJING ELECTRIC POWER CO +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111437425.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-10-18
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

In the existing technology, when the power user labeling system is constructed, the label granularity is relatively large, which cannot accurately reflect the user's electricity consumption characteristics, and there is a lack of effective solutions.

Method used

By obtaining the power consumption data and its data type of the target area, the sub-level labels are determined and classified into main-level labels. The main-level labels are displayed in the interface only when the number of sub-level labels is greater than the predetermined threshold to accurately reflect the user's needs. Electricity usage characteristics.

Benefits of technology

It achieves an accurate display of users' electricity consumption characteristics and builds a more refined and comprehensive user label system, which can dynamically reflect users' electricity consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114358814B_ABST
    Figure CN114358814B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing method, device, electronic device and computer-readable storage medium. The method includes: obtaining the first electricity usage data of the target account in the target area and the data type of the first electricity usage data, wherein the data type includes numerical data and non-numerical data; determining the sub-level tag corresponding to the first electricity usage data based on the data type of the first electricity usage data; classifying the sub-level tags into the corresponding main-level tags; and displaying the main-level tags in a predetermined interface when the number of sub-level tags included in the main-level tags is greater than a predetermined threshold. The present invention solves the technical problem in the related art that it is difficult to accurately display electricity usage tags that can reflect the user's electricity usage characteristics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a data processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] In related technologies, the research focus of the power user label system is mainly on the daily electricity consumption of users, or on other unilateral research to build a special label system. For example, the power user label system generally directly obtains a part of the basic labels based on the characteristics of electricity consumption data, and then obtains a part of the statistical labels and model labels through statistics and models, and simply combines them to form a complete label system. However, when the above method is used to construct the label system, the label granularity is large and not fine enough. Direct use will result in the result cannot fully reflect the user's electricity consumption characteristics.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a data processing method, device, electronic device and computer-readable storage medium to at least solve the technical problem in the related art that it is difficult to accurately display a power usage label that can reflect the user's power usage characteristics.

[0005] According to one aspect of an embodiment of the present invention, a data processing method is provided, including: obtaining first electricity usage data of a target account in a target area and a data type of the first electricity usage data, wherein the data type includes numerical data and non-numerical data; determining a sub-level tag corresponding to the first electricity usage data based on the data type of the first electricity usage data; classifying the sub-level tags into corresponding main-level tags; and displaying the main-level tag in a predetermined interface when the number of sub-level tags included in the main-level tag is greater than a predetermined threshold.

[0006] Optionally, determining the sub-level label corresponding to the first electricity usage data based on the data type of the first electricity usage data includes: when the data type of the first electricity usage data is numerical data, determining the electricity usage type represented by the first electricity usage data; arranging the second electricity usage data of all accounts in the target area according to a predetermined rule based on the electricity usage type, wherein the second electricity usage data is the electricity usage data of the electricity type among all electricity usage data, and the all electricity usage data is the electricity usage data of all accounts in the target area; determining the sub-level label of the first electricity usage data based on the arrangement position of the first electricity usage data in the second electricity usage data.

[0007] Optionally, determining the sub-level label of the first electricity usage data based on the arrangement position of the first electricity usage data in the second electricity usage data includes: determining the position interval to which the arrangement position belongs based on the arrangement position of the first electricity usage data in the second electricity usage data; and determining the sub-level label of the first electricity usage data based on the position interval.

[0008] Optionally, determining the sub-level label corresponding to the first electricity usage data based on the data type of the first electricity usage data includes: when the data type of the first electricity usage data is non-numeric data, determining the sub-level label corresponding to the first electricity usage data based on the first electricity usage data.

[0009] Optionally, the acquiring the first electricity usage data of the target account in the target area and the data type of the first electricity usage data includes: filling in the first electricity usage data when the first electricity usage data is missing.

[0010] Optionally, the sub-level tag being classified into the corresponding main-level tag includes: determining a power usage characteristic corresponding to the sub-level tag; and according to the power usage characteristic, classifying the sub-level tag into the corresponding main-level tag.

[0011] According to one aspect of an embodiment of the present invention, a data processing device is provided, including: an acquisition module, used to acquire first electricity usage data of a target account in a target area and a data type of the first electricity usage data, wherein the data type includes numerical data and non-numerical data; a determination module, used to determine a sub-level label corresponding to the first electricity usage data based on the data type of the first electricity usage data; an induction module, used to classify the sub-level labels into corresponding main-level labels; and a display module, used to display the main-level label in a predetermined interface when the number of sub-level labels included in the main-level label is greater than a predetermined threshold.

[0012] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any of the above-mentioned data processing methods.

[0013] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-mentioned data processing methods.

[0014] According to one aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned data processing methods.

[0015] In an embodiment of the present invention, the first electricity usage data of the target account in the target area and the data type of the first electricity usage data are obtained, and based on the data type of the first electricity usage data, the sub-level label corresponding to the first electricity usage data is determined, and then the sub-level label is included in the corresponding main-level label, so that when the number of sub-level labels included in the main-level label is greater than a predetermined threshold, it can be displayed in the predetermined interface, because the main-level label finally displayed meets the predetermined conditions and is obtained based on the electricity usage data of the target account, thereby solving the technical problem in the related art that it is difficult to accurately display electricity usage labels that can reflect the user's electricity usage characteristics. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 is a flow chart of a data processing method according to an embodiment of the present invention;

[0018] Figure 2 is a structural block diagram of a data processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0021] Example 1

[0022] According to an embodiment of the present invention, an embodiment of a data processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0023] Figure 1 is a flow chart of a data processing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0024] Step S102, obtaining first power usage data and a data type of the first power usage data of a target account in a target area, wherein the data type includes numerical data and non-numerical data;

[0025] Step S104, determining a sub-level tag corresponding to the first power usage data based on the data type of the first power usage data;

[0026] Step S106, classifying the sub-level tags into corresponding main-level tags;

[0027] Step S108: When the number of sub-level tags included in the main-level tag is greater than a predetermined threshold, the main-level tag is displayed in a predetermined interface.

[0028] Through the above steps, the first electricity usage data of the target account in the target area and the data type of the first electricity usage data are obtained, and based on the data type of the first electricity usage data, the sub-level label corresponding to the first electricity usage data is determined, and then the sub-level label is classified into the corresponding main-level label, so that when the number of sub-level labels included in the main-level label is greater than the predetermined threshold, it can be displayed in the predetermined interface, because the main-level label finally displayed meets the predetermined conditions and is obtained based on the electricity usage data of the target account, thereby solving the technical problem in the related technology that it is difficult to accurately display the electricity usage label that can reflect the user's electricity usage characteristics.

[0029] It should be noted that the above target area can be set in units of provinces, districts, or independently according to the actual application scenario. Through different regional settings, the electricity consumption data of the target account in the area can be obtained for better processing, which is also conducive to the subsequent analysis and comparison of electricity consumption data in different regions.

[0030] The target account can be the account of a user among all the users who use electricity in the target area, so as to obtain the user's electricity usage data, analyze the user's electricity usage behavior, and then give a label based on the electricity usage data, so that the user can better understand his or her own electricity usage.

[0031] The first electricity consumption data of the target account may be a certain electricity consumption data of the account obtained from the record. This electricity consumption data may refer to multiple types of electricity consumption data, for example, it may be basic information on the account's electricity consumption; it may also be data such as the average daily electricity consumption data, peak electricity consumption data, valley electricity consumption data, electricity charges, payment balance, heating electricity consumption per unit area, etc. of the account's electricity consumption; the electricity consumption data may also be data that can represent the contribution of the "coal to electricity" account to energy conservation and emission reduction, such as data on reduced coal consumption, data on the equivalent number of trees planted, etc.; the electricity consumption data may also be data representing electricity consumption behavior, such as data on the ratio of electricity consumption on working days to non-working days, and so on.

[0032] As an optional embodiment, when obtaining the first electricity usage data of the target account in the target area and the data type of the first electricity usage data, there may be a situation where the first electricity usage data is missing. In this case, a suitable method can be selected to fill in the first electricity usage data according to different electricity usage data types. In the case of missing non-numeric electricity usage data, for example, whether the account is a "coal to electricity" account, the data is missing. At this time, you can use its own attributes to fill it, or call other types of electricity usage data, analyze and compare the electricity usage data, and determine whether it is an electricity type account or a coal type account. In the case of missing numerical electricity consumption data, it can be processed in a variety of situations. For example, when the missing numerical data is continuous data such as monthly total electricity, monthly valley electricity, daily total electricity, and daily valley electricity, and the missing data has a certain correlation with the historical monthly total electricity, monthly valley electricity, daily total electricity, and daily valley electricity data of the account, the processing method can be to fill in the last electricity consumption data, the first electricity consumption data, the average of the first two electricity consumption data, the average of the last two electricity consumption data, the average of the previous and next electricity consumption data, and the interpolation method according to the actual situation. For some abnormal electricity consumption data, it can also be corrected in combination with the historical electricity consumption data of the account. When other situations occur in numerical data, the numerical data can also be processed according to the actual application and scenario.

[0033] As an optional embodiment, when determining the sub-level label corresponding to the first power consumption data based on the data type of the first power consumption data, the type of the first power consumption data can be first divided into numerical data and non-numerical data. In the case where the data type of the first power consumption data is numerical data, the power consumption type represented by the first power consumption data is determined, and the power consumption type represented by the first power consumption data is the data that can be represented by a numerical value as exemplified above. According to the power consumption type, the second power consumption data of all accounts in the target area are arranged according to a predetermined rule, wherein the second power consumption data is the power consumption data belonging to the power consumption type in all power consumption data, and all power consumption data is the power consumption data of all accounts in the target area. That is, according to the power consumption type, the power consumption data of the same power consumption type are arranged according to a predetermined rule, wherein the power consumption data can be power consumption data under multiple power consumption types. For example, when the power consumption type is daily average power consumption data, the daily average power consumption data of all accounts in the target area are arranged according to a predetermined rule, and the position of the daily average power consumption data of the target account in the daily average power consumption data of all accounts in the target area is determined. The predetermined rule can be sequential arrangement, reverse arrangement, time arrangement, and the like. It can be flexibly set according to the specific electricity usage type. After arranging the data, the sub-level label of the first electricity usage data can be determined according to the arrangement position of the first electricity usage data in the second electricity usage data. For example, when the electricity usage type is daily average electricity data, and the predetermined rule is to arrange from large to small, the sub-level label corresponding to the daily average electricity data of the target account is determined according to the position of the daily average electricity data of the target account. Specifically, the position interval to which the arrangement position belongs can be determined based on the arrangement position of the first electricity usage data in the second electricity usage data, and the sub-level label of the first electricity usage data can be determined based on the position interval. For example, when the type of electricity consumption is daily average electricity data, when the predetermined rule is arranged from large to small, the daily average electricity data of all accounts in the target area are arranged according to the rule of daily average electricity data from large to small. At this time, if the position interval of the daily average electricity data of the target account is 0-50%, it can be set as a sub-level label of high electricity; if the position interval of the daily average electricity data of the target account is 50%-75%, it can be set as a sub-level label of general electricity; if the position interval of the daily average electricity data of the target account is 75%-100%, it can be set as a sub-level label of low electricity. Here, this optional embodiment only provides an example, and data of other types of electricity consumption can also be obtained in a similar way. It should be noted that the first electricity consumption data of the target account in the target area and the data type of the first electricity consumption data can be obtained in real time, so the sub-level label corresponding to the first electricity consumption data can be determined dynamically based on the data type of the first electricity consumption data. Thereby, the main level label finally displayed can dynamically reflect the electricity consumption characteristics of the target account.

[0034] As an optional embodiment, based on the data type of the first electricity usage data, when determining the sub-level tag corresponding to the first electricity usage data, the type of the first electricity usage data includes numerical data and non-numerical data. In the case that the data type of the first electricity usage data is non-numerical data, when determining the sub-level tag corresponding to the first electricity usage data based on the first electricity usage data, the first electricity usage data can be directly extracted as the result of the sub-level tag. For example, the electricity usage data is the basic information of the account electricity usage, specifically the time of the user's first transformation, XXXX year XX month XX day, and the first electricity usage data is directly extracted as the result of the sub-level tag.

[0035] As an optional embodiment, the sub-level tags can also be included in the corresponding main-level tags. The sub-level tags can reflect the user's electricity usage in more detail, and the main-level tags can reflect the user's electricity usage in a more macroscopic way compared to the sub-level tags. When the sub-level tags are included in the corresponding main-level tags, the sub-level tags can be included in the corresponding main-level tags according to the electricity usage characteristics. The following method can be used: determine the electricity usage characteristics corresponding to the sub-level tags, and include the sub-level tags in the corresponding main-level tags based on the electricity usage characteristics. For example, when the electricity usage type is the average daily electricity data, the sub-level tags of low electricity, general electricity, and high electricity will be determined based on the location of the electricity usage data. The electricity usage characteristics of the above sub-level tags can be extracted. Low electricity, general electricity, and high electricity represent the electricity usage characteristics of high and low electricity consumption, which can be summarized in the corresponding main-level tags. Through the above method, the electricity consumption data of different types of electricity consumption of the target account can be counted, the sub-level tags corresponding to each electricity consumption data can be determined, and multiple sub-level tags can be obtained, so as to extract the electricity consumption characteristics of the sub-level tags, and determine the corresponding main-level tags according to the electricity consumption characteristics. When the number of sub-level tags included in the main-level tag is greater than the predetermined threshold, it is considered that the main-level tag can reflect the electricity consumption status of the target account, so that the main-level tag can be displayed in the predetermined interface.

[0036] As an optional embodiment, after the main-level tag is displayed on the predetermined interface of the terminal, the target account can also view multiple sub-tags included in the main-level tag to display comprehensive electricity consumption summary information, which helps the target account to clearly understand its own electricity consumption habits, contributions, etc.

[0037] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.

[0038] In related technologies, the label granularity is large and not fine enough, and cannot reflect dynamic indicators. The coverage dimensions are not sound enough, and the rationality of the indicator threshold division also needs to be improved.

[0039] In view of this, a data processing method is provided in an optional implementation of the present invention, which analyzes the user's electricity consumption behavior through multi-source and multi-dimensional electricity consumption data, and mines multiple sub-level labels of multiple dimensions such as electricity volume, electricity charges, payments, subsidies, energy conservation and emission reduction, and behaviors with wide coverage, obvious characteristics, and strong practicality through statistical analysis, cluster analysis, and other methods. The sub-level labels can be determined based on basic information, annual bills, energy conservation and emission reduction contributions, and data in electricity consumption behaviors to reflect the user's electricity consumption. After obtaining the sub-level labels, the sub-level labels can also be promoted to main-level labels to construct a user label system with comprehensive features, strong usability, and high accuracy. The optional implementation of the present invention is described in detail below:

[0040] S1, obtaining the user's electricity consumption data and the data type of the electricity consumption data;

[0041] Among them, electricity consumption data can include basic information, annual bills, energy conservation and emission reduction contributions, electricity consumption behavior, etc. In each category, there are multiple data, for example, in the above categories, there are also multiple data such as the following: basic information of account electricity consumption, daily average electricity consumption data of account electricity consumption, peak electricity consumption data, valley electricity consumption data, electricity charges, payment balance, heating electricity consumption per unit area, coal reduction data, equivalent tree planting data, electricity consumption ratio data between working days and non-working days, etc.

[0042] In order to unify the format of data, the data can be preprocessed according to the data type first. In the case of missing electricity consumption data, the electricity consumption data can also be filled. For non-numeric data, it can be filled using its own attributes, or other types of electricity consumption data can be retrieved to analyze and compare the electricity consumption data to infer the missing data. For numerical data, it can be pre-processed using the mean method, interpolation method, front and back N-bit data analogy method, and threshold definition method. In the case of missing numerical electricity consumption data, it can be divided into multiple situations for processing. For example, when the missing numerical data is continuous data such as monthly total electricity, monthly valley electricity, daily total electricity, and daily valley electricity, the missing data has a certain correlation with the historical monthly total electricity, monthly valley electricity, daily total electricity, and daily valley electricity of the account. The processing method can be based on the actual situation. Use the last electricity consumption data to fill, the previous electricity consumption data to fill, the average of the first two electricity consumption data to fill, the average of the last two electricity consumption data to fill, the average of the previous and next electricity consumption data to fill, interpolation method filling, etc. to fill. For some abnormal electricity consumption data, it can also be combined with the historical electricity consumption data of the account to make corrections. When other situations occur in numerical data, corresponding processing is also performed. For example, when there are negative values ​​in numerical data, in this case, its absolute value is taken, and then it is determined whether this absolute value is greater than the maximum value of the user's non-negative electricity consumption data this month. If it is greater than the maximum value, it is filled with the average value, otherwise it is filled with its absolute value. When extreme values ​​appear in numerical data, in this case, by setting upper and lower limit thresholds, if the value is within this data range, the data is retained, otherwise the data is deleted.

[0043] S2, build a user tag system;

[0044] The label system includes sub-labels and main-labels. Sub-labels include basic labels and high-level labels. Basic labels are generally non-numeric data labels, which represent the basic attributes of account electricity consumption and can be directly obtained from the original electricity consumption data. High-level labels are generally numeric data labels, which represent the electricity consumption characteristics of the account and reflect the electricity consumption status of users in different dimensions. The following is an introduction to the construction of basic labels and high-level labels:

[0045] Basic tags: represent the basic attributes of the electricity consumption data, such as user name, user address, user number, first transformation time, etc.

[0046] High-order labels: Combined with business needs, statistical analysis, data conversion, and cluster analysis methods are used to obtain high-order labels. For numerical data, after numerical processing, the critical value of each type of interval in the high-order label is obtained according to the ranking position of the current electricity consumption data in all electricity consumption data, and the interval to which the numerical data belongs is determined, and then the high-order label corresponding to the interval is obtained. For example, percentiles and statistical analysis can be performed on numerical data to divide the location intervals of electricity consumption data of different types of electricity consumption, and the location intervals are obtained according to the ranking position of the current electricity consumption data in all electricity consumption data. Among them, when calculating percentiles for numerical data, the following method can be used.

[0047]

[0048] Percentile refers to a group of n observations arranged by numerical value. For example, the value at the p% position is called the pth percentile, and the percentages of observations with the same numerical value are the same. Where j represents the jth user, N represents the total number of users, and nj represents the number of users with a smaller numerical value than user j in a certain indicator. Users with the same numerical value of a certain indicator have the same percentage.

[0049] S3, displays the constructed user tag system to the user.

[0050] The architecture of big data is calculated based on Python technology to obtain the label calculation results, store and generate digital bills, and display them on the terminal interface. The digital bills include the above labels. The digital bills can better display the user's labels and enable users to clearly understand their electricity usage habits, contributions, etc.

[0051] Through the above-mentioned optional implementation mode, it is possible to obtain the user's electricity consumption data and combine it with the user's electricity consumption behavior to derive a variety of label classifications, such as electricity consumption level, energy conservation and emission reduction, electricity consumption behavior and electricity consumption suggestions, etc., build a user label system, and display the labels to show the user comprehensive electricity consumption summary information, which helps the user to clearly understand their own electricity consumption habits, contributions, etc.

[0052] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0053] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0054] Example 2

[0055] According to an embodiment of the present invention, a device for implementing the above data processing method is also provided. Figure 2 is a structural block diagram of a data processing device according to an embodiment of the present invention. Figure 2 As shown, the device includes: an acquisition module 202, a determination module 204, an induction module 206 and a display module 208. The device is described in detail below.

[0056] An acquisition module 202 is used to acquire the first electricity usage data of a target account in a target area and the data type of the first electricity usage data, wherein the data type includes numerical data and non-numerical data; a determination module 204 is connected to the acquisition module 202 and is used to determine the sub-level label corresponding to the first electricity usage data based on the data type of the first electricity usage data; an induction module 206 is connected to the determination module 204 and is used to classify the sub-level labels into corresponding main-level labels; a display module 208 is connected to the induction module 206 and is used to display the main-level label in a predetermined interface when the number of sub-level labels included in the main-level label is greater than a predetermined threshold.

[0057] It should be noted here that the above-mentioned acquisition module 202, determination module 204, induction module 206 and display module 208 correspond to steps S102 to S108 in the implementation of the data processing method, and the instances and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0058] Example 3

[0059] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any one of the above data processing methods.

[0060] Example 4

[0061] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above data processing methods.

[0062] Example 5

[0063] According to another aspect of an embodiment of the present invention, there is further provided a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, any of the above data processing methods is implemented.

[0064] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0065] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0066] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0067] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0068] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0069] If the integrated unit 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. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0070] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data processing method, characterized in that: include: Acquire first power usage data of a target account in a target area and a data type of the first power usage data, wherein the data type includes numerical data and non-numerical data; Determining, based on a data type of the first power usage data, a sub-level tag corresponding to the first power usage data; Substitute the sub-level tags into corresponding main-level tags; When the number of sub-level tags included in the main-level tag is greater than a predetermined threshold, displaying the main-level tag in a predetermined interface; The determining, based on the data type of the first power usage data, a sub-level tag corresponding to the first power usage data includes: In a case where the data type of the first power usage data is numerical data, determining the power usage type represented by the first power usage data; Arranging second electricity usage data of all accounts in the target area according to the electricity usage type and a predetermined rule, wherein the second electricity usage data is electricity usage data belonging to the electricity usage type among all electricity usage data, and the all electricity usage data is electricity usage data of all accounts in the target area; Determining a sub-level label of the first power usage data according to an arrangement position of the first power usage data in the second power usage data; The determining, based on the data type of the first power usage data, a sub-level tag corresponding to the first power usage data includes: In a case where the data type of the first power usage data is non-numeric data, a sub-level label corresponding to the first power usage data is determined according to the first power usage data.

2. The method according to claim 1, characterized in that: The determining the sub-level label of the first power usage data according to the arrangement position of the first power usage data in the second power usage data includes: Determining, according to an arrangement position of the first power usage data in the second power usage data, a position interval to which the arrangement position belongs; A sub-level tag of the first power usage data is determined according to the location interval.

3. The method according to claim 1, characterized in that The step of obtaining the first power usage data of the target account in the target area and the data type of the first power usage data includes: In the case where the first power usage data is missing, the first power usage data is filled.

4. The method according to claim 1, characterized in that: The sub-level tags are classified into corresponding main-level tags, including: Determining the power usage characteristics corresponding to the sub-level tags; According to the electricity usage characteristics, the sub-level tags are classified into the corresponding main-level tags.

5. A data processing device, characterized in that: include: An acquisition module, configured to acquire first power usage data of a target account in a target area and a data type of the first power usage data, wherein the data type includes numerical data and non-numerical data; a determination module, configured to determine a sub-level tag corresponding to the first power usage data based on a data type of the first power usage data; An induction module, used for inducing the sub-level tags into corresponding main-level tags; A display module, configured to display the main-level tag in a predetermined interface when the number of sub-level tags included in the main-level tag is greater than a predetermined threshold; Wherein, the determining module is further used to determine the type of electricity usage represented by the first electricity usage data when the data type of the first electricity usage data is numerical data; Arranging second electricity usage data of all accounts in the target area according to the electricity usage type and a predetermined rule, wherein the second electricity usage data is electricity usage data belonging to the electricity usage type among all electricity usage data, and the all electricity usage data is electricity usage data of all accounts in the target area; The sub-level label of the first power usage data is determined according to the arrangement position of the first power usage data in the second power usage data.

6. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the data processing method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the data processing method as claimed in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Data display method and device, electronic equipment and computer readable storage medium

    CN111932315A

  • Electric power data dynamic configuration system and equipment

    CN112732387A

  • Cascade tag recommendation method and device, electronic equipment and storage medium

    CN117668373A