Abnormal data integration and pushing method, device and system

By acquiring and integrating abnormal power data in different business systems, the problem of scattered data manually queried by power supply units in different systems is solved, the centralized association of data is achieved, the processing efficiency of abnormal data is improved, and resources are saved.

CN118747196APending Publication Date: 2024-10-08HENGSHUI ELECTRIC POWER DESIGN CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410700914.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

When power supply units manually query abnormal power data in different business systems, the data is fragmented and cannot be associated with other data, resulting in the inability to effectively understand and process abnormal data and a waste of time and manpower.

Method used

By acquiring the first power data and the second power data sent by the unit terminals at all levels, the associated data of the abnormal data is determined based on the unit to which it belongs and the preset associated words, integrated and sent to the unit terminal to which it belongs, to achieve data concentration and correlation.

Benefits of technology

The efficiency of data integration is improved, allowing relevant personnel to better understand and handle abnormal data, saving time and manpower.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747196A_ABST
    Figure CN118747196A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of data processing, and provides an abnormal data integration and pushing method, device and system. The method comprises the following steps: acquiring a plurality of pieces of first power data and a plurality of pieces of second power data sent by terminals corresponding to units at all levels; the first power data and the second power data are marked with corresponding affiliated units and preset associated words; determining abnormal data in the first power data; for each piece of abnormal data, based on the unit to which the abnormal data belongs and the preset associated word as well as the unit to which the second power data belongs and the preset associated word, determining second power data associated with the abnormal data, and obtaining integrated abnormal data according to the associated second power data; and sending the integrated abnormal data to a terminal corresponding to the corresponding affiliated unit according to the affiliated unit of the integrated abnormal data. According to the method, the data integration efficiency can be improved, so that related personnel can better and more comprehensively know the abnormal data and process the abnormal data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device and system for integrating and pushing abnormal data. Background Art

[0002] As the scale of power supply units and power users gradually expands, a massive amount of power data is generated. Different types of power data are stored in different business systems of corresponding terminals at all levels of units. Relevant personnel of power supply units can query the business system to obtain abnormal power data, that is, obtain abnormal data.

[0003] In the related technology, relevant personnel usually manually obtain abnormal data in different business systems. However, since power data is scattered in various business systems, not centralized and in large quantities, the abnormal data obtained by manual query is scattered and cannot be associated with other related data, resulting in the power supply unit being unable to better understand the abnormal data and process the abnormal data, and manual query will waste a lot of time and manpower. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a method, device and system for integrating and pushing abnormal data to solve the technical problems in the related art that power supply units are unable to better understand abnormal data and process abnormal data, and manual query wastes a lot of time and manpower.

[0005] In a first aspect, an embodiment of the present application provides a method for integrating and pushing abnormality report data, which is applied to a server and includes:

[0006] Acquire multiple pieces of first power data and multiple pieces of second power data sent by corresponding terminals of units at all levels; the first power data and the second power data are both marked with corresponding units and preset associated words; the first power data is real-time power data collected periodically, and the second power data is different from the first power data;

[0007] determining abnormal data in the first power data;

[0008] For each abnormal data, based on the unit to which the abnormal data belongs and the preset associated words, and the unit to which the second power data belongs and the preset associated words, determine the second power data associated with the abnormal data, and obtain the integrated abnormal data according to the associated second power data;

[0009] According to the unit to which the integrated abnormal data belongs, the integrated abnormal data is sent to a corresponding terminal of the corresponding unit.

[0010] In a possible implementation, the first power data is also marked with a corresponding subject type;

[0011] After determining the abnormal data in the first power data, the method further includes:

[0012] Determining an abnormality code of the abnormal data according to a subject type of the abnormal data;

[0013] Accordingly, according to the unit to which the integrated abnormal data belongs, sending the integrated abnormal data to the corresponding terminal of the corresponding unit includes:

[0014] According to the affiliated units and the exception codes of the integrated exception data, the number of each exception code corresponding to each affiliated unit is determined, and the number of each exception code corresponding to each affiliated unit is sent to the corresponding terminal of the corresponding affiliated unit respectively; so that the relevant personnel of the affiliated unit can select the integrated exception data to be viewed according to the number of each exception code corresponding to the affiliated unit;

[0015] Receive the abnormal code viewing request sent by the corresponding terminal of the affiliated unit;

[0016] Based on the target exception code indicated by the exception code check request, the integrated exception data corresponding to the target exception code is sent to a corresponding terminal of a corresponding affiliated unit.

[0017] In a possible implementation, the preset associated words include an area number, a line number, a user number and / or a device number;

[0018] The step of determining, for each abnormal data, the second power data associated with the abnormal data based on the unit to which the abnormal data belongs and the preset associated word, and the unit to which the second power data belongs and the preset associated word, includes:

[0019] For each abnormal data, compare the unit and preset associated words of the abnormal data with the unit and preset associated words of the second power data;

[0020] The second power data having the same unit and preset associated word as the abnormal data is used as the second power data associated with the abnormal data.

[0021] In a possible implementation, the first power data is further marked with data acquisition time and monitoring period;

[0022] Before the unit to which the integrated abnormal data belongs sends the integrated abnormal data to the corresponding terminal of the corresponding unit, the method further includes:

[0023] Determine whether the integrated abnormal data is valid based on the acquisition time and monitoring period of the integrated abnormal data;

[0024] Accordingly, according to the unit to which the integrated abnormal data belongs, sending the integrated abnormal data to the corresponding terminal of the corresponding unit includes:

[0025] If the integrated abnormal data is valid, the integrated abnormal data is sent to a corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs.

[0026] In a possible implementation, determining whether the integrated abnormal data is valid according to the acquisition time and monitoring period of the integrated abnormal data includes:

[0027] Determine the time period according to the difference between the acquisition time and the current time of the integrated abnormal data;

[0028] If the time period is less than or equal to the monitoring period, it is determined that the integrated abnormal data is valid;

[0029] If the time period is greater than the monitoring period, it is determined that the integrated abnormal data is invalid.

[0030] In a possible implementation, the step of sending the integrated abnormal data to a corresponding terminal of a corresponding unit according to the unit to which the integrated abnormal data belongs includes:

[0031] Determine the target address corresponding to the integrated abnormal data according to the unit to which the integrated abnormal data belongs and the preset corresponding relationship between the unit and the address;

[0032] The integrated abnormal data is sent to the corresponding terminal of the corresponding unit based on the target address.

[0033] In a possible implementation, the units at all levels include provincial units, municipal units and local units;

[0034] Before obtaining the plurality of first power data and the plurality of second power data sent by the corresponding terminals of the units at all levels, the method further includes:

[0035] Sending a data request instruction to the corresponding terminal of the units at all levels, so that the corresponding terminal of the units at all levels returns the first initial power data and the second initial power data according to the data request instruction;

[0036] Correspondingly, the step of obtaining a plurality of first power data and a plurality of second power data sent by the corresponding terminals of the units at all levels includes:

[0037] The first initial power data and the second initial power data are received, and the first initial power data and the second initial power data are parsed to obtain a plurality of first power data and a plurality of second power data, and the first power data and the second power data are stored in a database.

[0038] In a possible implementation, the parsing the first initial power data and the second initial power data to obtain a plurality of first power data and a plurality of second power data includes:

[0039] According to the target data type corresponding to the database, the first initial power data is converted into data of the target data type to obtain first power data, and the second initial power data is converted into data of the target data type to obtain second power data.

[0040] In a second aspect, an embodiment of the present application provides an abnormal data integration and push device, including:

[0041] An acquisition module, used for acquiring a plurality of first power data and a plurality of second power data sent by corresponding terminals of units at all levels; the first power data and the second power data are both marked with corresponding units and preset associated words; the first power data is real-time power data collected periodically, and the second power data is different from the first power data;

[0042] A determination module, for determining abnormal data in the first power data;

[0043] an obtaining module, for determining, for each abnormal data, the second power data associated with the abnormal data based on the unit to which the abnormal data belongs and the preset associated words, and the unit to which the second power data belongs and the preset associated words, and obtaining the integrated abnormal data according to the associated second power data;

[0044] The sending module is used to send the integrated abnormal data to the corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs.

[0045] In a third aspect, an embodiment of the present application provides an abnormal data integration and push system, including: a server, corresponding terminals of units at all levels and corresponding terminals of affiliated units;

[0046] The corresponding terminals of the units at all levels send a plurality of first power data and a plurality of second power data to the server;

[0047] The server executes the abnormal data integration and push method as described in any one of the first aspects;

[0048] The corresponding terminal of the affiliated unit receives the integrated abnormal data sent by the server.

[0049] It can be understood that the beneficial effects of the second to third aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0050] The abnormal data integration and push method, device and system provided in the embodiment of the present application obtain multiple first power data and multiple second power data sent by the corresponding terminals of units at all levels, and determine the abnormal data in the first power data. Then, for each abnormal data, according to the units to which the abnormal data and the second power data belong and the preset associated words, determine the second power data associated with the abnormal data, and integrate the two to obtain the integrated abnormal data and send it to the corresponding terminal of the corresponding unit. The present application can associate the abnormal data of the same unit distributed in different business systems of units at all levels with other related data, and send it to the corresponding terminal of the corresponding unit, thereby improving the efficiency of data integration, allowing relevant personnel to better and more comprehensively understand the abnormal data and process the abnormal data, while saving time and manpower.

[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0053] Figure 1 It is a structural diagram of an abnormal data integration and push system provided by an embodiment of the present application;

[0054] Figure 2 It is a flowchart of an abnormal data integration and push method provided in an embodiment of the present application;

[0055] Figure 3 It is a structural diagram of an abnormal data integration and push device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0056] The present application is described more clearly below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.

[0057] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0058] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0059] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0060] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0061] In addition, the “plurality” mentioned in the embodiments of the present application should be interpreted as two or more.

[0062] Relevant personnel of the power supply unit can query different business systems of the corresponding terminals of the units at all levels to obtain abnormal power data, that is, to obtain abnormal data. In the related technology, the relevant personnel usually manually obtain abnormal data in different business systems. However, since the power data is scattered in various business systems, it is not centralized and the quantity is large. The abnormal data obtained by manual query is scattered and cannot be associated with other related data, resulting in the power supply unit being unable to better understand the abnormal data and process the abnormal data, and manual query will waste a lot of time and manpower.

[0063] Based on the above problems, the inventors have discovered through research that the first power data and the second power data sent by the corresponding terminals of units at all levels can be obtained, and the second power data associated with the abnormal data can be determined based on the units to which the abnormal data in the first power data and the second power data belong and the preset associated words, and then the integrated abnormal data can be obtained and sent to the corresponding terminals of the corresponding units. In this way, the abnormal data of the same unit distributed in different business systems of units at all levels can be associated with other related data and sent to the corresponding terminals of the units, so that relevant personnel can have a better and more comprehensive understanding of the abnormal data and process the abnormal data, while saving time and manpower.

[0064] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0065] First reference Figure 1 The embodiment of the present application provides an abnormal data integration and push system, including a server 101, corresponding terminals 102 of units at all levels and corresponding terminals 103 of affiliated units.

[0066] The corresponding terminals 102 of the units at all levels send a plurality of first power data and a plurality of second power data to the server 101 .

[0067] After the server 101 obtains multiple pieces of first power data and multiple pieces of second power data sent by the corresponding terminals 102 of various units, it determines the abnormal data in the first power data, and for each abnormal data, based on the abnormal data and the unit to which the second power data belongs and the preset associated words, determines the second power data associated with the abnormal data, and then obtains the integrated abnormal data according to the associated second power data, and sends the integrated abnormal data to the corresponding terminal 103 of the corresponding unit according to the unit to which the integrated abnormal data belongs. Among them, the first power data and the second power data are both marked with the corresponding unit and the preset associated words, the first power data is the real-time power data collected periodically, and the second power data is different from the first power data.

[0068] The corresponding terminal 103 of the affiliated unit receives the integrated abnormal data sent by the server 101 for relevant personnel to view.

[0069] Optionally, the server 101 may be a data center, etc. The server 101 may communicate with the corresponding terminals 102 of units at all levels through a network, and communicate with the corresponding terminals 103 of the subordinate units through a network. The corresponding terminals 102 of units at all levels may be a data middle station and a data center, etc., and there is at least one corresponding terminal 103 of the subordinate units, which may be a data middle station and a data center, etc. The corresponding terminals 102 of units at all levels may include corresponding terminals of provincial units, corresponding terminals of municipal units, and corresponding terminals of local units.

[0070] Combine the following Figure 1 ,refer to Figure 2 To describe the abnormal data integration and push method provided according to an exemplary embodiment of the present application.

[0071] Figure 2 FIG. 1 is a flow chart of a method for integrating and pushing abnormal data provided by an embodiment of the present application. Figure 2 As shown, the method in the embodiment of the present application is applied to the server and may include:

[0072] Step 201: Acquire multiple pieces of first power data and multiple pieces of second power data sent by corresponding terminals of units at all levels.

[0073] Among them, the first power data and the second power data are both marked with the corresponding affiliated units and preset associated words. The first power data is real-time power data collected periodically, such as the voltage of a certain area, the power restoration work order and the user payment details, etc. The second power data is different from the first power data. The second power data is fixed data of the relevant person in charge, the user or the relevant equipment, such as the name of the relevant person in charge of each area, the person in charge's contact information, and the model of the area equipment, etc. The preset associated words include the area number, line number, user number and / or equipment number, etc.

[0074] Exemplarily, in this embodiment, units at all levels include provincial units, municipal units and local units, such as provincial company power supply units, municipal company power supply units and local power supply units, where local power supply units are such as county-level city power supply units, and provincial units, municipal units and local units are in a superior-subordinate relationship. The provincial unit corresponding terminal can store the province's electricity-related data, the municipal unit corresponding terminal can store the city's electricity-related data, and the local unit can store the local electricity-related data. The corresponding terminals of units at all levels also include different business systems, such as marketing systems, collection systems, and power supply service systems, and different types of electricity data are stored in different business systems.

[0075] The subordinate units are subordinate units of the local units, such as the county and district power supply units under the local power supply unit. The relevant personnel of each subordinate unit need to query the abnormal data in the power data to better understand the above abnormal data and process the abnormal data.

[0076] In this embodiment, the server corresponds to the local unit, that is, the power-related data of the terminals corresponding to the provincial units, the terminals corresponding to the municipal units and the terminals corresponding to the local units are summarized on the server corresponding to the local unit, so as to aggregate the scattered data. After that, the abnormal data and other related data are integrated, and the integrated abnormal data is sent to the subordinate units of the local unit, that is, to the corresponding terminals of the corresponding subordinate units, so as to improve the efficiency of data integration so that the relevant personnel of the subordinate units can better and more comprehensively view the abnormal data.

[0077] In a possible implementation, before obtaining multiple first power data and multiple second power data sent by corresponding terminals of units at all levels, this embodiment may also send data request instructions to corresponding terminals of units at all levels, so that the corresponding terminals of units at all levels return the first initial power data and the second initial power data according to the data request instructions.

[0078] Correspondingly, when acquiring multiple first power data and multiple second power data sent by corresponding terminals of units at all levels, this embodiment can receive the first initial power data and the second initial power data, and parse the first initial power data and the second initial power data to obtain multiple first power data and multiple second power data, and store the first power data and the second power data in a database.

[0079] Optionally, the above data request instruction may indicate that the requested first initial power data and second initial power data are power-related data related to a subordinate unit of the local unit, that is, a subordinate unit.

[0080] Exemplarily, this embodiment can convert the first initial power data into data of the target data type according to the target data type corresponding to the database to obtain the first power data, and convert the second initial power data into data of the target data type to obtain the second power data, so as to implement the parsing of the first power data and the second power data, and better store the above power data in the database.

[0081] Step 202: Determine abnormal data in the first power data.

[0082] In this embodiment, different methods are used to determine abnormal data in the first power data for first power data of different subject types. For example, if the subject type of a piece of first power data is a certain area voltage (including multiple voltage data), it is possible to determine whether the first power data is abnormal data by detecting whether it is within a preset voltage range, that is, whether the area voltage exceeds the limit. The abnormal data in the first power data can be determined by some existing technologies. The above-mentioned subject type is the type of the first power data, such as area voltage, power restoration work order, and user payment details.

[0083] It should be noted that some of the first power data obtained from the corresponding terminals of units at all levels are directly abnormal data. For example, the corresponding terminal of the provincial unit can perform abnormal analysis on all or part of the power data stored thereon, obtain abnormal data and mark it as abnormal, so that the abnormal data can be sent to the server as the first power data. In this way, for this type of first power data, since it is abnormal data itself, there is no need to perform the abnormal data determination step in this embodiment, which reduces the calculation amount of the server and improves the operation speed.

[0084] Step 203: for each abnormal data, based on the unit to which the abnormal data belongs and the preset associated words, as well as the unit to which the second power data belongs and the preset associated words, determine the second power data associated with the abnormal data, and obtain the integrated abnormal data based on the associated second power data.

[0085] In a possible implementation, for each abnormal data, when determining the second power data associated with the abnormal data, this embodiment can compare the belonging unit and preset associated words of the abnormal data with the belonging unit and preset associated words of the second power data for each abnormal data, and then use the second power data with the same belonging unit and preset associated words as the abnormal data as the second power data associated with the abnormal data.

[0086] As can be seen from the above, the preset association words include the substation number, line number, user number and / or equipment number, etc. The first power data and the second power data both include at least one of the above preset association words. For example, for the first power data, the preset association words of the voltage of a certain substation in the abnormal data may include the substation number and line number, and the unit to which it belongs is region B, while in the second power data, the preset association words of the details of a certain person in charge may include the substation number, and the unit to which it belongs is also region B. Therefore, according to the substation number and region B, it can be determined that the above substation voltage is associated with the details of the person in charge, and then the two are integrated to obtain the integrated voltage of a certain substation.

[0087] In this way, when the relevant personnel of the affiliated unit check the integrated voltage of a certain substation, they can not only see the abnormal data about the substation voltage, but also see the details of the person in charge related to the substation voltage. The details of the person in charge may include the name and contact number of the person in charge, so that the relevant personnel can contact the relevant person in charge according to the details of the person in charge to better handle the abnormal data of the substation voltage.

[0088] In this embodiment, the second power data having the same unit and preset associated words as the abnormal data is associated with the abnormal data to obtain the integrated abnormal data, that is, the scattered data associated with different business systems of units at all levels are integrated, which has high integration efficiency and eliminates the process of manual query and acquisition of abnormal data by relevant personnel, so that relevant personnel can directly view the integrated abnormal data, better and more comprehensively understand the abnormal data and process the abnormal data, while saving a lot of time and manpower.

[0089] Step 204: according to the unit to which the integrated abnormal data belongs, the integrated abnormal data is sent to the corresponding terminal of the corresponding unit.

[0090] In a possible implementation, when this embodiment sends the integrated exception data to the corresponding terminal of the corresponding unit, it can determine the target address corresponding to the integrated exception data according to the unit to which the integrated exception data belongs and the preset correspondence between the unit and the address, and then send the integrated exception data to the corresponding terminal of the corresponding unit based on the target address.

[0091] It should be noted that, since each piece of first power data and each piece of second power data come from different business systems of units at different levels, for the same affiliated unit, the names marked in different power data may be different. For example, the names "A City B District Power Supply Station" and "B Region" represent the same affiliated unit, and a certain piece of first power data may be marked with "A City B District Power Supply Station", while another piece of first power data is marked with "B Region". Therefore, the correspondence between the affiliated unit and the address can be pre-set, in which the name representing the same affiliated unit corresponds to the same address, where the address can be an IP address. For example, in the above correspondence, the names "A City B District Power Supply Station" and "B Region" represent the same affiliated unit, so the corresponding IP addresses of the two are both "10.98.157.93". In this way, the integrated abnormal data can be accurately sent to the corresponding terminal of the corresponding affiliated unit.

[0092] In some embodiments, the first power data is also marked with the data acquisition time and the monitoring period. Before the integrated abnormal data is sent to the corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs, it is also possible to determine whether the integrated abnormal data is valid based on the acquisition time and the monitoring period of the integrated abnormal data.

[0093] Accordingly, when sending the integrated abnormal data to the corresponding terminal of the corresponding unit, the embodiment can send the integrated abnormal data to the corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs when the integrated abnormal data is valid. When the integrated abnormal data is invalid, the integrated abnormal data is not sent.

[0094] Exemplarily, in this embodiment, before sending the integrated abnormal data to the corresponding terminal of the corresponding affiliated unit, it is first determined whether the integrated abnormal data is valid, and only the valid integrated abnormal data is sent to ensure the validity and real-time nature of the data.

[0095] Optionally, when determining whether the integrated abnormal data is valid, this embodiment can determine the time period based on the difference between the acquisition time of the integrated abnormal data and the current time, and when the time period is less than or equal to the monitoring period, determine that the integrated abnormal data is valid; when the time period is greater than the monitoring period, determine that the integrated abnormal data is invalid.

[0096] In a possible implementation, as can be seen from the foregoing, the first power data is also marked with a corresponding subject type. After determining the abnormal data in the first power data, this embodiment can also determine the abnormal code of the abnormal data according to the subject type of the abnormal data.

[0097] Accordingly, when sending the integrated abnormal data to the corresponding terminal of the corresponding unit, this embodiment may include steps A1 to A3.

[0098] A1. According to the affiliated units and exception codes of the integrated exception data, the number of each exception code corresponding to each affiliated unit is determined, and the number of each exception code corresponding to each affiliated unit is sent to the corresponding terminal of the corresponding affiliated unit, so that the relevant personnel of the affiliated unit can select the integrated exception data to be viewed according to the number of each exception code corresponding to the affiliated unit.

[0099] A2. Receive an exception code viewing request sent by the corresponding terminal of the affiliated unit.

[0100] A3. Based on the target exception code indicated by the exception code check request, the integrated exception data corresponding to the target exception code is sent to the corresponding terminal of the corresponding affiliated unit.

[0101] As can be seen from the above, the subject type is the type of the first power data, such as the substation voltage, the power restoration work order and the user payment details. According to the subject type of the integrated abnormal data, and the correspondence between the preset subject type and the code, the abnormal code of the integrated abnormal data can be determined. For example, if the subject type of the integrated abnormal data is the substation voltage, then the correspondence between the above subject type and the code is queried to determine that its abnormal code is "0102002". Correspondingly, the abnormal code of other integrated abnormal data with the subject type of substation voltage is also "0102002". In this way, according to the affiliated unit and abnormal code of the integrated abnormal data, and the preset correspondence between the unit and the address, the number of each abnormal code corresponding to each affiliated unit (or each address) can be determined. Afterwards, the number of each abnormal code can be sent to the corresponding terminal of the corresponding affiliated unit in the form of information for display.

[0102] Among them, in order to facilitate better understanding by relevant personnel, the exception code can be displayed in the form of an exception name according to the preset correspondence between the exception code and the exception name. For example, the exception code "0102002" corresponds to the exception name "abnormal voltage in the substation". When displayed on the corresponding terminal of the affiliated unit, it is directly displayed as "abnormal voltage in the substation, 3 bars". 3 bars is the number corresponding to the exception code (or exception name). For example, the exception code "0102001" corresponds to the exception name "power restoration failure", and the exception code "0101001" corresponds to the exception name "abnormal line loss substation".

[0103] In this way, after checking the number of each exception code displayed on the corresponding terminal of the corresponding unit, the relevant personnel can select the integrated exception data to be viewed as needed. For example, if they need to view the integrated exception data with the exception code "0102002", they can send an exception code viewing request to the server through the corresponding terminal of the unit, and the exception code viewing request indicates the target exception code "0102002". After receiving the exception code viewing request, this embodiment returns the integrated exception data corresponding to the target exception code "0102002".

[0104] In this embodiment, the number of corresponding exception codes is first sent to the corresponding terminal of the affiliated unit in order to avoid sending a large amount of data to the corresponding terminal of the affiliated unit at the same time to affect the operating speed of the corresponding terminal of the affiliated unit. In this way, the number of corresponding exception codes is first sent to the corresponding terminal of the affiliated unit, and the target exception code indicated by the request is checked according to the exception code to be sent by the relevant personnel, and then the corresponding integrated exception data is returned, which can reduce the impact on the operating speed of the corresponding terminal of the affiliated unit.

[0105] The abnormal data integration and push method provided in the embodiment of the present application obtains multiple first power data and multiple second power data sent by the corresponding terminals of units at all levels, and determines the abnormal data in the first power data. After that, for each abnormal data, according to the units to which the abnormal data and the second power data belong and the preset associated words, the second power data associated with the abnormal data is determined, and the two are integrated to obtain the integrated abnormal data and send it to the corresponding terminal of the corresponding unit. The present application can associate the abnormal data of the same unit distributed in different business systems of units at all levels with other related data, and send it to the corresponding terminal of the corresponding unit, thereby improving the efficiency of data integration, allowing relevant personnel to better and more comprehensively understand the abnormal data and process the abnormal data, while saving time and manpower.

[0106] As can be seen from the foregoing, power-related data can be stored in different business systems of the corresponding terminals of units at all levels. Due to the differences in terminals and systems, the formats of the above power-related data can be different formats, such as Excel, csv, Word, and txt. For the corresponding terminals of local units, various offline data are also stored thereon, such as power-related data obtained by RPA (Robotic process automation) terminals, and electronic spreadsheets and documents organized by staff. In this embodiment, a data request instruction can be first sent to the corresponding terminals of units at all levels, so that the corresponding terminals of units at all levels return the first initial power data and the second initial power data according to the data request instruction.

[0107] Among them, the corresponding terminals of units at all levels can be set with different data transmission modes, and each data transmission mode will be explained below.

[0108] Take the provincial-level unit corresponding terminal as an example for explanation. After receiving the data request instruction, the provincial-level unit corresponding terminal generates multiple text files in csv format based on the power-related data as the first initial power data and the second initial power data, that is, each first initial power data corresponds to a csv file, and each second initial power data corresponds to a csv file. Here, in order to solve the problem that special symbols such as "," in the first database corresponding to the provincial-level unit corresponding terminal will cause format conflicts during segmentation, the provincial-level unit corresponding terminal detects the field content containing the "," character when generating the csv file. If the field content contains the character ",", the field content is included with the character "^" when generating the csv file, that is, the character "^" is added to the beginning and end of the field content, and the character "^" is removed when the server is parsed. For example, the field content is "123,456,798" and contains the character ",". When the csv file is generated, the field content corresponds to "^123,456,789^".

[0109] Correspondingly, after receiving the first initial power data and the second initial power data, that is, receiving multiple csv files, the server automatically adds the four field contents of "batch, local IP, receiving time and file name" for each csv file according to the content of the csv file. Here, batch means the batch of receiving csv files, and local IP means the local IP of the corresponding terminal of the corresponding units at all levels, such as the local IP of the corresponding terminal of the provincial unit here. Afterwards, the csv file is parsed to determine whether the first character is the character "^". If the first character is not the character "^", the field content is obtained by segmenting according to the character "," If the first character is the character "^", the content between the first character "^" and the next character "^" is taken as the field content. For example, for the field content "^123,45^", it should be "123,45" after parsing. Afterwards, the above judgment steps are repeated until the parsing of the csv file is completed to obtain the corresponding first power data or second power data.

[0110] Exemplarily, for another data transmission method, the terminal corresponding to the municipal unit is used as an example for explanation. In this embodiment, according to the type of the database corresponding to the server and the type of the second database corresponding to the terminal corresponding to the municipal unit, the corresponding database component is selected to connect the server corresponding database and the second database corresponding to the terminal corresponding to the municipal unit, respectively, such as using the TZConnection component or the TZQuery component to connect the second database corresponding to the terminal corresponding to the municipal unit, and using the TADODataSet component to connect the database corresponding to the server to transmit the corresponding data. Afterwards, according to the target data type of the database corresponding to the server, the data type of the first initial power data and the second initial power data obtained from the terminal corresponding to the municipal unit is converted into the target data type to obtain the first power data and the second power data, so as to realize the parsing of the first power data and the second power data, and better store the above power data in the database corresponding to the server. If the data type of a first initial power data is the ftString data type, and the target data type is the varchar data type, the data type of the first initial power data is converted into the varchar data type. In addition, when parsing the first initial power data, the first power data can also be stored in the database corresponding to the server using the structured query language (Structured Query Language, sql) according to the data length of the first initial power data, such as 255.

[0111] Optionally, for another data transmission method, the local unit corresponding terminal is taken as an example for explanation. As can be seen from the above, the local unit corresponding terminal also stores various offline data, such as Excel tables, mainly in two formats of xls and xlsx. This embodiment connects the Excel tables corresponding to the server corresponding database and the local unit corresponding terminal respectively, such as using the Microsoft.Jet.OLEDB.4.0 component or the Microsoft.ACE.OLEDB.12.0 component to connect the second database corresponding to the municipal unit corresponding terminal, and using the TADODataSet component server corresponding database to transmit the corresponding data. Afterwards, this embodiment converts the data type of the first initial power data and the second initial power data obtained from the local unit corresponding terminal into the target data type according to the target data type of the server corresponding database, and obtains the first power data and the second power data. The specific implementation process and principle of the data parsing step in this embodiment can refer to the aforementioned embodiment, which will not be repeated here.

[0112] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0113] Figure 3 Schematic diagram of the structure of the abnormal data integration and push device provided by an embodiment of the present application. Figure 3 As shown, the abnormal data integration and pushing device provided in this embodiment may include: an acquisition module 301, a determination module 302, an obtaining module 303 and a sending module 304.

[0114] Among them, the acquisition module 301 is used to obtain multiple first power data and multiple second power data sent by corresponding terminals of units at all levels; the first power data and the second power data are both marked with corresponding units and preset associated words; the first power data is real-time power data collected periodically, and the second power data is different from the first power data.

[0115] The determination module 302 determines abnormal data in the first power data.

[0116] Obtaining module 303 is used to determine, for each abnormal data, the second power data associated with the abnormal data based on the unit to which the abnormal data belongs and the preset associated words, as well as the unit to which the second power data belongs and the preset associated words, and obtain the integrated abnormal data based on the associated second power data.

[0117] The sending module 304 is used to send the integrated abnormal data to a corresponding terminal of a corresponding unit according to the unit to which the integrated abnormal data belongs.

[0118] Optionally, the first power data is also marked with a corresponding subject type; the determination module 302 is further used to: determine the abnormal code of the abnormal data according to the subject type of the abnormal data;

[0119] Accordingly, the module 303 is specifically used for:

[0120] According to the affiliated units and the exception codes of the integrated exception data, the number of each exception code corresponding to each affiliated unit is determined, and the number of each exception code corresponding to each affiliated unit is sent to the corresponding terminal of the corresponding affiliated unit respectively; so that the relevant personnel of the affiliated unit can select the integrated exception data to be viewed according to the number of each exception code corresponding to the affiliated unit;

[0121] Receive the abnormal code viewing request sent by the corresponding terminal of the affiliated unit;

[0122] Based on the target exception code indicated by the exception code check request, the integrated exception data corresponding to the target exception code is sent to a corresponding terminal of a corresponding affiliated unit.

[0123] Optionally, the preset associated words include an area number, a line number, a user number and / or a device number; the obtaining module 303 is specifically used for:

[0124] For each abnormal data, compare the unit and preset associated words of the abnormal data with the unit and preset associated words of the second power data;

[0125] The second power data having the same unit and preset associated word as the abnormal data is used as the second power data associated with the abnormal data.

[0126] Optionally, the first power data is also marked with data acquisition time and monitoring period; the sending module 304 is also used to: determine whether the integrated abnormal data is valid according to the acquisition time and monitoring period of the integrated abnormal data;

[0127] Accordingly, the sending module 304 is specifically used for:

[0128] If the integrated abnormal data is valid, the integrated abnormal data is sent to a corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs.

[0129] Optionally, the sending module 304 is further specifically configured to:

[0130] Determine the time period according to the difference between the acquisition time and the current time of the integrated abnormal data;

[0131] If the time period is less than or equal to the monitoring period, it is determined that the integrated abnormal data is valid;

[0132] If the time period is greater than the monitoring period, it is determined that the integrated abnormal data is invalid.

[0133] Optionally, the sending module 304 is further specifically configured to:

[0134] Determine the target address corresponding to the integrated abnormal data according to the unit to which the integrated abnormal data belongs and the preset corresponding relationship between the unit and the address;

[0135] The integrated abnormal data is sent to the corresponding terminal of the corresponding unit based on the target address.

[0136] Optionally, the units at all levels include provincial units, municipal units and local units; the acquisition module 301 is further used to: send a data request instruction to the corresponding terminal of the units at all levels, so that the corresponding terminal of the units at all levels returns the first initial power data and the second initial power data according to the data request instruction;

[0137] Accordingly, the acquisition module 301 is specifically used for:

[0138] The first initial power data and the second initial power data are received, and the first initial power data and the second initial power data are parsed to obtain a plurality of first power data and a plurality of second power data, and the first power data and the second power data are stored in a database.

[0139] Optionally, the acquisition module 301 is further specifically configured to:

[0140] According to the target data type corresponding to the database, the first initial power data is converted into data of the target data type to obtain first power data, and the second initial power data is converted into data of the target data type to obtain second power data.

[0141] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

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

[0143] Those of ordinary skill in the art will appreciate that the templates, units, and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0144] If the module / 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 present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. 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 some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium.

[0145] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for integrating and pushing abnormal data, characterized in that: Applicable to servers, including: Acquire multiple pieces of first power data and multiple pieces of second power data sent by corresponding terminals of units at all levels; the first power data and the second power data are both marked with corresponding units and preset associated words; the first power data is real-time power data collected periodically, and the second power data is different from the first power data; determining abnormal data in the first power data; For each abnormal data, based on the unit to which the abnormal data belongs and the preset associated words, and the unit to which the second power data belongs and the preset associated words, determine the second power data associated with the abnormal data, and obtain the integrated abnormal data according to the associated second power data; According to the unit to which the integrated abnormal data belongs, the integrated abnormal data is sent to a corresponding terminal of the corresponding unit.

2. The abnormal data integration and push method according to claim 1, characterized in that: The first power data is also marked with a corresponding subject type; After determining the abnormal data in the first power data, the method further includes: Determining an abnormality code of the abnormal data according to a subject type of the abnormal data; Accordingly, according to the unit to which the integrated abnormal data belongs, sending the integrated abnormal data to the corresponding terminal of the corresponding unit includes: According to the affiliated units and the exception codes of the integrated exception data, the number of each exception code corresponding to each affiliated unit is determined, and the number of each exception code corresponding to each affiliated unit is sent to the corresponding terminal of the corresponding affiliated unit respectively; so that the relevant personnel of the affiliated unit can select the integrated exception data to be viewed according to the number of each exception code corresponding to the affiliated unit; Receive the abnormal code viewing request sent by the corresponding terminal of the affiliated unit; Based on the target exception code indicated by the exception code check request, the integrated exception data corresponding to the target exception code is sent to a corresponding terminal of a corresponding affiliated unit.

3. The abnormal data integration and push method according to claim 1, characterized in that: The preset associated words include station area number, line number, user number and / or equipment number; The step of determining, for each abnormal data, the second power data associated with the abnormal data based on the unit to which the abnormal data belongs and the preset associated word, and the unit to which the second power data belongs and the preset associated word, includes: For each abnormal data, compare the unit and preset associated words of the abnormal data with the unit and preset associated words of the second power data; The second power data having the same unit and preset associated word as the abnormal data is used as the second power data associated with the abnormal data.

4. The abnormal data integration and push method according to claim 1, characterized in that: The first power data is also marked with data acquisition time and monitoring period; Before the unit to which the integrated abnormal data belongs sends the integrated abnormal data to the corresponding terminal of the corresponding unit, the method further includes: Determine whether the integrated abnormal data is valid based on the acquisition time and monitoring period of the integrated abnormal data; Accordingly, according to the unit to which the integrated abnormal data belongs, sending the integrated abnormal data to the corresponding terminal of the corresponding unit includes: If the integrated abnormal data is valid, the integrated abnormal data is sent to a corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs.

5. The abnormal data integration and push method according to claim 4, characterized in that: Determining whether the integrated abnormal data is valid according to the acquisition time and monitoring period of the integrated abnormal data includes: Determine the time period according to the difference between the acquisition time and the current time of the integrated abnormal data; If the time period is less than or equal to the monitoring period, it is determined that the integrated abnormal data is valid; If the time period is greater than the monitoring period, it is determined that the integrated abnormal data is invalid.

6. The abnormal data integration and push method according to claim 1, characterized in that: The step of sending the integrated abnormal data to a corresponding terminal of a corresponding unit according to the unit to which the integrated abnormal data belongs comprises: Determine the target address corresponding to the integrated abnormal data according to the unit to which the integrated abnormal data belongs and the preset corresponding relationship between the unit and the address; The integrated abnormal data is sent to the corresponding terminal of the corresponding unit based on the target address.

7. The abnormal data integration and push method according to any one of claims 1 to 6, characterized in that: The units at all levels include provincial units, municipal units and local units; Before acquiring the plurality of first power data and the plurality of second power data sent by the corresponding terminals of the units at all levels, the method further includes: Sending a data request instruction to the corresponding terminal of the units at all levels, so that the corresponding terminal of the units at all levels returns the first initial power data and the second initial power data according to the data request instruction; Correspondingly, the step of obtaining a plurality of first power data and a plurality of second power data sent by the corresponding terminals of the units at all levels includes: The first initial power data and the second initial power data are received, and the first initial power data and the second initial power data are parsed to obtain a plurality of first power data and a plurality of second power data, and the first power data and the second power data are stored in a database.

8. The abnormal data integration and push method according to claim 7, characterized in that: The parsing of the first initial power data and the second initial power data to obtain a plurality of first power data and a plurality of second power data includes: According to the target data type corresponding to the database, the first initial power data is converted into data of the target data type to obtain first power data, and the second initial power data is converted into data of the target data type to obtain second power data.

9. An abnormal data integration and push device, characterized in that: include: An acquisition module, used for acquiring a plurality of first power data and a plurality of second power data sent by corresponding terminals of units at all levels; The first power data and the second power data are both marked with corresponding units and preset associated words; The first power data is real-time power data collected periodically, and the second power data is different from the first power data; A determination module, for determining abnormal data in the first power data; an obtaining module, for determining, for each abnormal data, the second power data associated with the abnormal data based on the unit to which the abnormal data belongs and the preset associated words, and the unit to which the second power data belongs and the preset associated words, and obtaining the integrated abnormal data according to the associated second power data; The sending module is used to send the integrated abnormal data to the corresponding terminal of the corresponding unit according to the unit to which the integrated abnormal data belongs.

10. An abnormal data integration and push system, characterized in that: include: Servers, corresponding terminals of units at all levels and corresponding terminals of affiliated units; The corresponding terminals of the units at all levels send a plurality of first power data and a plurality of second power data to the server; The server executes the abnormal data integration and push method according to any one of claims 1 to 8; The corresponding terminal of the affiliated unit receives the integrated abnormal data sent by the server.