Topological file restoration method, device and equipment based on marketing and distribution data and medium

By receiving and processing the operation and distribution data of the power system, it identifies and repairs inconsistencies in the household transformer topology files, solving the problems of low data transmission efficiency and insufficient real-time performance in the existing technology, and improving the operating efficiency and reliability of the system.

CN118735115APending Publication Date: 2024-10-01GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410823421.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing FTP file transfer and WebService interfaces have low transmission efficiency when processing the rapidly growing power system metering and collection data, and are difficult to meet the real-time data requirements, especially in the theoretical line loss online calculation business, which requires accurate analysis of power grid equipment status and network topology. Real-time monitoring and topology file repair are difficult to achieve, affecting system operating efficiency and reliability.

Method used

By receiving the camp distribution data linkage requirements, query the message subscription platform for updated data, obtain and decrypt the target camp distribution data, use real-time power outage data to identify inconsistencies in the household change topology files, and repair them to achieve real-time data sharing and system quick response.

Benefits of technology

It improves the data transmission efficiency and real-time nature of the power system, ensures data accuracy and system operating efficiency, enhances network security, and meets the need for rapid response to changes in the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735115A_ABST
    Figure CN118735115A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric power grids, and discloses a marketing and distribution data-based topology file restoration method, which comprises the following steps of: querying whether a message subscription platform contains update data or not based on a marketing and distribution data linkage demand; when the updated data exists in the message subscription platform, obtaining data corresponding to a theme from the message subscription platform based on the theme of the updated data, and obtaining target marketing and distribution data; the method comprises the following steps: decompressing target marketing and distribution data to obtain decompressed data, and decrypting the decompressed data to obtain decrypted marketing and distribution data; restoring the decrypted marketing and distribution data based on a restoration method to obtain restored marketing and distribution data; and identifying whether inconsistency exists in the user transformer topology file or not by using the real-time power failure data in the restored marketing and distribution data, and repairing the user transformer topology file when the inconsistency exists. The invention further provides a topological file restoration device and equipment based on the marketing and distribution data and a storage medium. The operation efficiency of the power system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power grid technology, and in particular to a topological file repair method, device, equipment and medium based on distribution data. Background Art

[0002] With the advancement of metering and acquisition technology and communication technology, the data interaction between the marketing system and the metering automation system in the power system, although currently mainly realized through FTP file transfer and WebService interface, is facing a significant increase in data volume. The increase in data collection frequency, from once every 15 minutes to once every 1 minute, has caused the data volume of a single user to surge to 15 times the original. In addition, the promotion of national energy conservation and emission reduction policies has also accelerated the growth of users of distributed power sources such as wind power and solar energy, which not only increases the complexity of data interaction, but also puts higher requirements on the system's data processing capabilities, storage capacity and network security. In order to meet these challenges, it may be necessary to introduce more efficient big data solutions, improve real-time analysis technology, and strengthen network security measures to ensure accurate transmission and efficient use of data.

[0003] The current data interaction methods of FTP file transfer and WebService interface are inefficient in processing the growing amount of metering data, and it is difficult to meet the real-time requirements of data. With the rapid expansion of data volume, the existing data interface can no longer meet the new transmission requirements, especially in the online calculation of theoretical line loss business, which requires higher timeliness of data update. Therefore, it is urgent to develop and establish more efficient data interface technology to strengthen the data linkage capabilities between multiple systems such as marketing systems and metering automation systems, ensure that data can be shared in real time and respond quickly to changes in the power grid. In addition, it is also necessary to realize real-time monitoring of the status of power grid equipment and network topology, as well as to complete the rapid repair and maintenance of topology archives in the shortest time, so as to improve the operating efficiency and reliability of the entire power system. Summary of the invention

[0004] The present invention provides a topology file repair method, device, equipment and medium based on distribution data, the main purpose of which is to improve the operating efficiency of the power system.

[0005] To achieve the above object, the present invention provides a topology file repair method based on distribution data, comprising:

[0006] receiving a demand for linkage between marketing and distribution data, and querying whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data;

[0007] When there is updated data in the message subscription platform, based on the subject of the updated data, the data corresponding to the subject is obtained from the message subscription platform to obtain target distribution data;

[0008] Decompressing the target distribution data to obtain decompressed data, and decrypting the decompressed data to obtain decrypted distribution data;

[0009] Restoring the decrypted distribution data based on a preset restoration method to obtain restored distribution data;

[0010] The real-time power outage data in the restored distribution data is used to identify whether there is inconsistency in the preset household change topology file, and the household change topology file is repaired when there is inconsistency.

[0011] Optionally, the using the real-time power outage data in the restored distribution data to identify whether there is inconsistency in the preset household change topology file includes:

[0012] Step A, obtaining the power outage time of the preset area master meter;

[0013] Step B, obtaining unprocessed low-voltage user data of the area where the area master meter is located;

[0014] Step C, judging whether the low-voltage user has a power outage time through the low-voltage user data;

[0015] Step D: when there is no power outage time for the low-voltage user, the low-voltage user is unbound from the station area, and screening is performed by judging whether there are other unprocessed low-voltage users in the low-voltage station area;

[0016] Step E: When the low-voltage user has a power outage time, determine whether the power outage time of the low-voltage user is consistent with the power outage time of the area master meter;

[0017] Step F, when the power outage time of the low-voltage user is consistent with the power outage time of the area master table, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area;

[0018] Step G: When the power outage time of the low-voltage user is inconsistent with the power outage time of the substation master table, the low-voltage user is untied from the substation, and the substation master tables are screened by querying whether there are other substation master tables with the same power outage time as the low-voltage user.

[0019] Optionally, querying whether a preset message subscription platform contains updated data based on the marketing and distribution data linkage demand includes:

[0020] Acquire a data set from the message subscription platform, and determine a timestamp field included in the data set;

[0021] Set a time threshold based on preset business requirements to determine the update time within a certain time range;

[0022] Obtain the current system time, extract a timestamp field from the data set, compare the current system time with the timestamp field, and filter out update records within the time threshold;

[0023] The specific update time of the update record and the data difference before and after the update are recorded, and whether the message subscription platform contains updated data is determined according to the specific update time and the data difference before and after the update.

[0024] Optionally, before querying whether a preset message subscription platform contains updated data based on the marketing and distribution data linkage demand, the method further includes:

[0025] Acquire marketing and distribution data through the marketing and distribution data linkage demand, and when there is updated data in the marketing and distribution data, extract the updated data in the marketing and distribution data to obtain marketing and distribution updated data;

[0026] Based on a preset theme, data corresponding to the theme in the marketing update data is obtained to obtain theme marketing data;

[0027] Regularizing the theme distribution to obtain regularized distribution data;

[0028] The regularized distribution data is encrypted and compressed to obtain standard distribution data, the standard distribution data is sent to a preset message publishing platform, and the authority and life cycle of the standard distribution data are set.

[0029] Optionally, the acquiring, based on the topic of the updated data, data corresponding to the topic from the message subscription platform to obtain target distribution data includes:

[0030] Receiving data notifications related to updated data topics through the message subscription platform;

[0031] According to the data notification, extract the complete update data, and perform necessary decompression and decryption processing to obtain the processed update data;

[0032] The processed updated data is integrated into the master data management system of the message subscription platform, and is synchronously updated in all related systems to verify the accuracy of the processed updated data, and the target distribution data is obtained when the verification is passed.

[0033] Optionally, the determining whether there are other unprocessed low-voltage users in the low-voltage area and whether there is inconsistency in the preset household change topology file includes:

[0034] Determine whether there are other unprocessed low-voltage users in the low-voltage area;

[0035] If there are other unprocessed low-voltage users in the low-voltage area, return to the step of obtaining the unprocessed low-voltage user data in the area where the area master table is located;

[0036] When there are no other unprocessed low-voltage users in the low-voltage area, the process ends.

[0037] Optionally, the screening by querying whether there is a total list of other areas with the same power outage time as the low-voltage user includes:

[0038] Determine whether there are other area master tables with the same power outage time as the low-voltage user;

[0039] If there is no other table of other areas with the same power outage time as the low-voltage user, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area;

[0040] If there is another area master table with the same power outage time as the low-voltage user, determine whether the low-voltage user and the other area master table belong to the same grid;

[0041] If the low-voltage user and the other area master table do not belong to the same grid, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area;

[0042] If the low-voltage user and the other area master table belong to the same grid, the low-voltage user is bound to the other area, and the process returns to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area.

[0043] In order to solve the above problems, the present invention also provides a topological file repair device based on distribution data, the device comprising:

[0044] A data acquisition module is used to receive a demand for linkage between marketing and distribution data, and query whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data; when updated data exists in the message subscription platform, data corresponding to the topic is acquired from the message subscription platform based on the topic of the updated data to obtain target marketing and distribution data;

[0045] A data decryption module, used to decompress the target distribution data to obtain decompressed data, and decrypt the decompressed data to obtain a decrypted distribution data value;

[0046] A data restoration module, used to restore the decrypted distribution data based on a preset restoration method to obtain restored distribution data;

[0047] The file repair module is used to use the real-time power outage data in the restored distribution data to identify whether there is inconsistency in the preset household change topology file, and repair the household change topology file when there is inconsistency.

[0048] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0049] at least one processor; and,

[0050] a memory communicatively connected to the at least one processor; wherein,

[0051] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the topology file repair method based on the allocation data as described above.

[0052] In order to solve the above problems, the present invention also provides a computer-readable storage medium, including a data storage area and a program storage area, the data storage area stores created data, and the program storage area stores a computer program; wherein, when the computer program is executed by a processor, the topological archive repair method based on allocation data as described above is implemented.

[0053] The embodiment of the present invention first receives a demand for linkage of marketing and distribution data, queries whether a preset message subscription platform contains updated data based on the demand for linkage of marketing and distribution data, and then when updated data exists in the message subscription platform, obtains data corresponding to the subject from the message subscription platform based on the subject of the updated data to obtain target marketing and distribution data, thereby obtaining the target marketing and distribution data; then, decompresses the target marketing and distribution data to obtain decompressed data, and decrypts the decompressed data to obtain decrypted marketing and distribution data; then, restores the decrypted marketing and distribution data based on a preset restoration method to obtain restored marketing and distribution data; finally, uses the real-time power outage data in the restored marketing and distribution data to identify whether there is inconsistency in a preset household change topology file, and repairs the household change topology file when there is inconsistency, thereby achieving the purpose of identifying inconsistency of the household change file through the target marketing and distribution data and repairing the household change topology file. Therefore, the present invention proposes a topology archive repair method, device, electronic device and computer-readable storage medium based on distribution data, which obtains the target distribution data obtained from the message subscription platform, decrypts, decompresses and restores the restored distribution data, and identifies whether there is inconsistency in the household transformer topology archive by using the real-time power outage data in the restored distribution data. When inconsistency exists, the household transformer topology archive is repaired to improve the operation efficiency of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1A schematic diagram of a process flow of a topology file repair method based on distribution data provided by one embodiment of the present invention;

[0055] Figure 2 A schematic diagram of a module of a topological file repair device based on allocation data provided by an embodiment of the present invention;

[0056] Figure 3 A schematic diagram of the internal structure of an electronic device for implementing a topological file repair method based on allocation data provided by an embodiment of the present invention.

[0057] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0058] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0059] The embodiment of the present application provides a topological file repair method based on distribution data. The execution subject of the topological file repair method based on distribution data includes but is not limited to at least one of the electronic devices such as the server and the terminal that can be configured to execute the method provided by the embodiment of the present application. Among them, the server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. In other words, the topological file repair method based on distribution data can be executed by software or hardware installed on a remote device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0060] Reference Figure 1 FIG. 1 is a flow chart of a method for repairing a topology file based on distribution data provided by an embodiment of the present invention. In this embodiment, the method for repairing a topology file based on distribution data includes the following steps S1-S5:

[0061] S1. Receive a demand for linkage between marketing and distribution data, and query whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data.

[0062] In the embodiment of the present invention, the marketing and distribution data is called marketing and distribution data, which refers to the data related to marketing and distribution in the power system. These data include but are not limited to user information, power equipment, grid structure, power supply capacity, etc., and are the core basic master data of grid operation and company operation. The quality and accuracy of the marketing and distribution data are very important for the stable operation of the power grid, fault repair, power marketing, customer service, etc. Through the deep interconnection of the distribution data, the management foundation can be consolidated and the quality and efficiency can be improved.

[0063] Furthermore, by integrating the marketing and distribution data, we can ensure the accuracy of the data at each node in the business process, ensure the consistency of the corresponding relationship between "substation-line-transformer-user", and provide solid support for the construction of the Internet of Things. In addition, the homologous management mechanism of the marketing and distribution data can improve data quality, standardize equipment naming, reduce the multi-head maintenance work of staff between different systems, and improve data maintenance efficiency. Through the effective integration and integration of the marketing and distribution data, we can promote the efficient operation of the power grid and improve the service quality.

[0064] In the embodiment of the present invention, the marketing and distribution data linkage instruction refers to a series of automated data processing and integration rules to ensure data synchronization and updating in the marketing and distribution systems.

[0065] Further, the querying of whether the preset message subscription platform contains updated data based on the marketing and distribution data linkage demand includes:

[0066] Acquire a data set from the message subscription platform, and determine a timestamp field included in the data set;

[0067] Set a time threshold based on preset business requirements to determine the update time within a certain time range;

[0068] Obtain the current system time, extract a timestamp field from the data set, compare the current system time with the timestamp field, and filter out update records within the time threshold;

[0069] The specific update time of the update record and the data difference before and after the update are recorded, and whether the message subscription platform contains updated data is determined according to the specific update time and the data difference before and after the update.

[0070] The timestamp includes the last update time of the data in the data set.

[0071] In an embodiment of the present invention, the timestamp field refers to a field in a database record or data set used to indicate the date and time of data creation or last modification. The timestamp provides a specific, time-based marker for recording the following aspects, including creation time, last modification time, version control, etc.

[0072] In the embodiment of the present invention, before querying whether the preset message subscription platform contains updated data based on the marketing and distribution data linkage demand, the method further includes:

[0073] Acquire marketing and distribution data through the marketing and distribution data linkage demand, and when there is updated data in the marketing and distribution data, extract the updated data in the marketing and distribution data to obtain marketing and distribution updated data;

[0074] Based on a preset theme, data corresponding to the theme in the marketing update data is obtained to obtain theme marketing data;

[0075] Regularizing the theme distribution to obtain regularized distribution data;

[0076] The regularized distribution data is encrypted and compressed to obtain standard distribution data, the standard distribution data is sent to a preset message publishing platform, and the authority and life cycle of the standard distribution data are set.

[0077] S2. When there is updated data in the message subscription platform, data corresponding to the topic is obtained from the message subscription platform based on the topic of the updated data to obtain target marketing data.

[0078] In an embodiment of the present invention, the message subscription platform refers to a distributed publish-subscribe message system platform, which is used to realize real-time sharing and distribution of data. On this platform, data producers can publish data to specific topics, and data consumers can subscribe to these topics as needed to obtain data of interest.

[0079] In an embodiment of the present invention, the topic refers to a method used by the message subscription platform to organize and classify data streams, allowing data publishers to publish information to specific topics based on data type or content, and data subscribers can also subscribe to data on specific topics as needed.

[0080] Among them, efficient data sharing and real-time communication can be achieved through the message subscription platform. This topic-based publish-subscribe model improves the flexibility and scalability of the system, while decoupling data producers and consumers, ensuring the security and real-time performance of data transmission.

[0081] Furthermore, the topic based on the updated data obtains data corresponding to the topic from the message subscription platform to obtain target distribution data, including:

[0082] Receiving data notifications related to updated data topics through the message subscription platform;

[0083] According to the data notification, extract the complete update data, and perform necessary decompression and decryption processing to obtain the processed update data;

[0084] The processed updated data is integrated into the master data management system of the message subscription platform, and is synchronously updated in all related systems to verify the accuracy of the processed updated data, and the target distribution data is obtained when the verification is passed.

[0085] S3. Decompress the target distribution data to obtain decompressed data, and decrypt the decompressed data to obtain decrypted distribution data.

[0086] In the embodiment of the present invention, decompression is the process of restoring compressed data to its original size. Since the data in the message subscription platform is compressed data, the target distribution data needs to be decompressed after the data is acquired to restore the original form of the data for subsequent processing and analysis.

[0087] Furthermore, since the data in the message subscription platform are all compressed, after obtaining the data from the message subscription platform, the obtained target distribution data needs to be decrypted in order to access the original content of the data.

[0088] S4. Restore the decrypted distribution data based on a preset restoration method to obtain restored distribution data.

[0089] In the embodiment of the present invention, the preset restoration method can ensure that the data can still maintain its original quality and availability after being encrypted, compressed and transmitted, so as to monitor, analyze, process and store the power system for a long time.

[0090] Furthermore, the restoration method includes data format conversion, data mapping, data timestamp synchronization, data integrity verification, data error processing, etc.

[0091] In the embodiments of the present invention, these restoration methods can ensure that the data still maintains its original quality and availability after being encrypted, compressed and transmitted, providing accurate data support for monitoring, analysis and decision-making of the power system.

[0092] S5. Using the real-time power outage data in the restored distribution data, identify whether there is inconsistency in the preset household change topology file, and repair the household change topology file if there is inconsistency.

[0093] In an embodiment of the present invention, the household transformer topology file refers to a file that records the connection relationship between users (i.e., electricity users) and substations (or transformers) in the power system, and contains key information such as the connection method and path between users and power supply facilities.

[0094] Among them, household transformer topology files are crucial for ensuring the reliability of power supply, conducting grid planning and maintenance, and achieving fault diagnosis and recovery.

[0095] In an embodiment of the present invention, the method of using the real-time power outage data in the restored distribution data to identify whether there is inconsistency in the preset household change topology file includes:

[0096] Step A, obtaining the power outage time of the preset area master meter;

[0097] Step B, obtaining unprocessed low-voltage user data of the area where the area master meter is located;

[0098] Step C, judging whether the low-voltage user has a power outage time through the low-voltage user data;

[0099] Step D: when there is no power outage time for the low-voltage user, the low-voltage user is unbound from the station area, and screening is performed by judging whether there are other unprocessed low-voltage users in the low-voltage station area;

[0100] Step E: When the low-voltage user has a power outage time, determine whether the power outage time of the low-voltage user is consistent with the power outage time of the area master meter;

[0101] Step F, when the power outage time of the low-voltage user is consistent with the power outage time of the area master table, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area;

[0102] Step G: When the power outage time of the low-voltage user is inconsistent with the power outage time of the substation master table, the low-voltage user is untied from the substation, and the substation master tables are screened by querying whether there are other substation master tables with the same power outage time as the low-voltage user.

[0103] Further, the determining whether there are other unprocessed low-voltage users in the low-voltage area and whether there is inconsistency in the preset household change topology file includes:

[0104] Determine whether there are other unprocessed low-voltage users in the low-voltage area;

[0105] If there are other unprocessed low-voltage users in the low-voltage area, return to the step of obtaining the unprocessed low-voltage user data in the area where the area master table is located;

[0106] When there are no other unprocessed low-voltage users in the low-voltage area, the process ends.

[0107] Furthermore, the screening by querying whether there is a total list of other areas with the same power outage time as the low-voltage user includes:

[0108] Determine whether there are other area master tables with the same power outage time as the low-voltage user;

[0109] If there is no other table of other areas with the same power outage time as the low-voltage user, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area;

[0110] If there is another area master table with the same power outage time as the low-voltage user, determine whether the low-voltage user and the other area master table belong to the same grid;

[0111] If the low-voltage user and the other area master table do not belong to the same grid, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area;

[0112] If the low-voltage user and the other area master table belong to the same grid, the low-voltage user is bound to the other area, and the process returns to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area.

[0113] In an embodiment of the present invention, the substation refers to a geographical area or service area in the power system, and the power supply in the area is provided by a specific transformer or substation. Each substation may include multiple electricity users, such as residential, commercial or industrial users, all of which receive electricity through transformers or substations.

[0114] Specifically, the concept of substations is very important in the planning, operation and maintenance of power systems. The main reasons include power supply management, fault location, load balancing, billing management, service optimization, etc. Among them, power supply management means that substations can help power companies manage and optimize power supply and distribution in a specific area.

[0115] Furthermore, the area total meter refers to an electric energy meter installed in a transformer or transformer station, which is used to measure the total store consumption of all users in the entire area. The area total meter represents the electric energy output point of the area and records all the electric energy entering the service area.

[0116] The embodiment of the present invention first receives a demand for linkage of marketing and distribution data, queries whether a preset message subscription platform contains updated data based on the demand for linkage of marketing and distribution data, and then when updated data exists in the message subscription platform, obtains data corresponding to the subject from the message subscription platform based on the subject of the updated data to obtain target marketing and distribution data, thereby obtaining the target marketing and distribution data; then, decompresses the target marketing and distribution data to obtain decompressed data, and decrypts the decompressed data to obtain decrypted marketing and distribution data; then, restores the decrypted marketing and distribution data based on a preset restoration method to obtain restored marketing and distribution data; finally, uses the real-time power outage data in the restored marketing and distribution data to identify whether there is inconsistency in a preset household change topology file, and repairs the household change topology file when there is inconsistency, thereby achieving the purpose of identifying inconsistency of the household change file through the target marketing and distribution data and repairing the household change topology file. Therefore, the present invention proposes a topology archive repair method, device, electronic device and computer-readable storage medium based on distribution data, which obtains the target distribution data obtained from the message subscription platform, decrypts, decompresses and restores the restored distribution data, and identifies whether there is inconsistency in the household transformer topology archive by using the real-time power outage data in the restored distribution data. When inconsistency exists, the household transformer topology archive is repaired to improve the operation efficiency of the power system.

[0117] like Figure 2 The figure shows a module diagram of a topological file repair device based on distribution data of the present invention.

[0118] The topological archive repair device 100 based on the distribution data of the present invention can be installed in an electronic device. According to the functions to be implemented, the topological archive repair device based on the distribution data can include a data acquisition module 101, a data decryption module 102, a data restoration module 103 and an archive repair module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0119] In this embodiment, the functions of each module / unit are as follows:

[0120] The data acquisition module 101 is used to receive a demand for linkage between marketing and distribution data, and query whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data; when updated data exists in the message subscription platform, the data corresponding to the topic is acquired from the message subscription platform based on the topic of the updated data to obtain target marketing and distribution data;

[0121] The data decryption module 102 is used to decompress the target distribution data to obtain decompressed data, and decrypt the decompressed data to obtain a decrypted distribution data value;

[0122] The data restoration module 103 is used to restore the decrypted distribution data based on a preset restoration method to obtain restored distribution data;

[0123] The file repair module 104 is used to use the real-time power outage data in the restored distribution data to identify whether there is inconsistency in the preset household change topology file, and repair the household change topology file when there is inconsistency.

[0124] In detail, each module described in the topological file repair device 100 based on the allocation data in the embodiment of the present invention is used in the same manner as described above. Figure 1 The above-mentioned topological archive repair method based on distribution data has the same technical means and can produce the same technical effects, so it will not be repeated here.

[0125] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a topological file repair method based on distribution data according to the present invention.

[0126] The electronic device may include a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a topology file repair program based on deployment data.

[0127] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing a topology file repair program based on distribution data, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.

[0128] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of a topological file repair program based on distribution data, but also can be used to temporarily store data that has been output or is to be output.

[0129] The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0130] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0131] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3The structure shown does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0132] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0133] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0134] The topology file repair program based on the allocation data stored in the memory 11 of the electronic device is a combination of multiple computer programs. When running in the processor 10, it can achieve:

[0135] receiving a demand for linkage between marketing and distribution data, and querying whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data;

[0136] When there is updated data in the message subscription platform, based on the subject of the updated data, the data corresponding to the subject is obtained from the message subscription platform to obtain target distribution data;

[0137] Decompressing the target distribution data to obtain decompressed data, and decrypting the decompressed data to obtain decrypted distribution data;

[0138] Restoring the decrypted distribution data based on a preset restoration method to obtain restored distribution data;

[0139] The real-time power outage data in the restored distribution data is used to identify whether there is inconsistency in the preset household change topology file, and the household change topology file is repaired when there is inconsistency.

[0140] Specifically, the specific implementation method of the processor 10 for the above computer program can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0141] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0142] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0143] receiving a demand for linkage between marketing and distribution data, and querying whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data;

[0144] When there is updated data in the message subscription platform, based on the subject of the updated data, the data corresponding to the subject is obtained from the message subscription platform to obtain target distribution data;

[0145] Decompressing the target distribution data to obtain decompressed data, and decrypting the decompressed data to obtain decrypted distribution data;

[0146] Restoring the decrypted distribution data based on a preset restoration method to obtain restored distribution data;

[0147] The real-time power outage data in the restored distribution data is used to identify whether there is inconsistency in the preset household change topology file, and the household change topology file is repaired when there is inconsistency.

[0148] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

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

[0150] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, 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 hardware plus software functional modules.

[0151] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0152] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0153] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0154] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0155] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The second and other words are used to indicate names, but not to indicate any particular order.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A topological file repair method based on distribution data, It is characterized in that The method comprises: receiving a demand for linkage between marketing and distribution data, and querying whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data; When there is updated data in the message subscription platform, based on the subject of the updated data, the data corresponding to the subject is obtained from the message subscription platform to obtain target distribution data; Decompressing the target distribution data to obtain decompressed data, and decrypting the decompressed data to obtain decrypted distribution data; Restoring the decrypted distribution data based on a preset restoration method to obtain restored distribution data; The real-time power outage data in the restored distribution data is used to identify whether there is inconsistency in the preset household change topology file, and the household change topology file is repaired when there is inconsistency.

2. The topological file repair method based on the distribution data as claimed in claim 1, It is characterized in that The method of using the real-time power outage data in the restored distribution data to identify whether there is inconsistency in the preset household change topology file includes: Step A, obtaining the power outage time of the preset area master meter; Step B, obtaining unprocessed low-voltage user data of the area where the area master meter is located; Step C, judging whether the low-voltage user has a power outage time through the low-voltage user data; Step D: when there is no power outage time for the low-voltage user, the low-voltage user is unbound from the station area, and screening is performed by judging whether there are other unprocessed low-voltage users in the low-voltage station area; Step E: When the low-voltage user has a power outage time, determine whether the power outage time of the low-voltage user is consistent with the power outage time of the area master meter; Step F, when the power outage time of the low-voltage user is consistent with the power outage time of the area master table, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area; Step G: When the power outage time of the low-voltage user is inconsistent with the power outage time of the substation master table, the low-voltage user is untied from the substation, and the substation master tables are screened by querying whether there are other substation master tables with the same power outage time as the low-voltage user.

3. The topological file repair method based on the distribution data as claimed in claim 1, It is characterized in that The querying of whether the preset message subscription platform contains updated data based on the marketing and distribution data linkage demand includes: Acquire a data set from the message subscription platform, and determine a timestamp field included in the data set; Set a time threshold based on preset business requirements to determine the update time within a certain time range; Obtain the current system time, extract a timestamp field from the data set, compare the current system time with the timestamp field, and filter out update records within the time threshold; The specific update time of the update record and the data difference before and after the update are recorded, and whether the message subscription platform contains updated data is determined according to the specific update time and the data difference before and after the update.

4. The topological file repair method based on the distribution data as claimed in claim 1, It is characterized in that Before querying whether a preset message subscription platform contains updated data based on the marketing and distribution data linkage demand, the method further includes: Acquire marketing and distribution data through the marketing and distribution data linkage demand, and when there is updated data in the marketing and distribution data, extract the updated data in the marketing and distribution data to obtain marketing and distribution updated data; Based on a preset theme, data corresponding to the theme in the marketing and distribution update data is obtained to obtain theme marketing and distribution data; Regularizing the theme distribution to obtain regularized distribution data; The regularized distribution data is encrypted and compressed to obtain standard distribution data, the standard distribution data is sent to a preset message publishing platform, and the authority and life cycle of the standard distribution data are set.

5. The topological file repair method based on the distribution data as claimed in claim 1, It is characterized in that The subject based on the updated data obtains data corresponding to the subject from the message subscription platform to obtain target distribution data, including: Receiving data notifications related to updated data topics through the message subscription platform; According to the data notification, extract the complete update data, and perform necessary decompression and decryption processing to obtain the processed update data; The processed updated data is integrated into the master data management system of the message subscription platform, and is synchronously updated in all related systems to verify the accuracy of the processed updated data, and the target distribution data is obtained when the verification is passed.

6. The topological file repair method based on the distribution data as claimed in claim 2, It is characterized in that The determining whether there are other unprocessed low-voltage users in the low-voltage area and whether there is inconsistency in the preset household change topology file includes: Determine whether there are other unprocessed low-voltage users in the low-voltage area; If there are other unprocessed low-voltage users in the low-voltage area, return to the step of obtaining the unprocessed low-voltage user data in the area where the area master table is located; When there are no other unprocessed low-voltage users in the low-voltage area, the process ends.

7. The topological file repair method based on the distribution data as claimed in claim 2, It is characterized in that The screening by querying whether there is a total table of other areas that coincides with the power outage time of the low-voltage user includes: Determine whether there are other area master tables with the same power outage time as the low-voltage user; If there is no other table of other areas with the same power outage time as the low-voltage user, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area; If there is another area master table with the same power outage time as the low-voltage user, determine whether the low-voltage user and the other area master table belong to the same grid; If the low-voltage user and the other area master table do not belong to the same grid, return to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area; If the low-voltage user and the other area master table belong to the same grid, the low-voltage user is bound to the other area, and the process returns to the step of determining whether there are other unprocessed low-voltage users in the low-voltage area.

8. A topological file repair device based on camping data, It is characterized in that The device comprises: A data acquisition module is used to receive a demand for linkage between marketing and distribution data, and query whether a preset message subscription platform contains updated data based on the demand for linkage between marketing and distribution data; when updated data exists in the message subscription platform, data corresponding to the topic is acquired from the message subscription platform based on the topic of the updated data to obtain target marketing and distribution data; A data decryption module, used to decompress the target distribution data to obtain decompressed data, and decrypt the decompressed data to obtain a decrypted distribution data value; A data restoration module, used to restore the decrypted distribution data based on a preset restoration method to obtain restored distribution data; The file repair module is used to use the real-time power outage data in the restored distribution data to identify whether there is inconsistency in the preset household change topology file, and repair the household change topology file when there is inconsistency.

9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the topology file repair method based on allocation data as described in any one of claims 1 to 7.

10. A computer-readable storage medium, comprising a data storage area and a program storage area, wherein the data storage area stores created data and the program storage area stores a computer program; in, When the computer program is executed by a processor, the topology file repair method based on allocation data as described in any one of claims 1 to 7 is implemented.