CN113298672A - Commercial power fault monitoring method, device, system, storage medium and electronic equipment - Google Patents

Commercial power fault monitoring method, device, system, storage medium and electronic equipment Download PDF

Info

Publication number
CN113298672A
CN113298672A CN202110558596.7A CN202110558596A CN113298672A CN 113298672 A CN113298672 A CN 113298672A CN 202110558596 A CN202110558596 A CN 202110558596A CN 113298672 A CN113298672 A CN 113298672A
Authority
CN
China
Prior art keywords
terminal
address
target
offline
terminals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110558596.7A
Other languages
Chinese (zh)
Inventor
宋雅庆
郭迪
田绍亮
黄涛
李治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202110558596.7A priority Critical patent/CN113298672A/en
Publication of CN113298672A publication Critical patent/CN113298672A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Water Supply & Treatment (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Public Health (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The utility model relates to the field of communication data, and provides a method, a device, a system, a computer storage medium and an electronic device for monitoring mains supply faults, wherein the method comprises the following steps: acquiring log data corresponding to all network terminals in the latest monitoring period; classifying and filtering the log data to determine an offline network terminal set; acquiring target offline network terminals corresponding to the same installation area in a set of offline network terminals, and comparing the number of the target offline network terminals with a first threshold value; when the number of the target offline network terminals is larger than or equal to a first threshold value, address merging is carried out on the target offline network terminals, and whether commercial power faults exist in the installation area is judged according to the address merging and generated result. On one hand, the method actively discovers and accurately positions the position of the power failure based on the big data of the telecom operator, and avoids the installation of monitoring equipment with a large amount of cost; on the other hand, the power recovery condition is monitored in real time after the commercial power failure is found, and convenience for people are realized.

Description

Commercial power fault monitoring method, device, system, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communication data, and in particular, to a mains supply fault monitoring method, a mains supply fault monitoring apparatus, a mains supply fault monitoring system, a computer storage medium, and an electronic device.
Background
The power supply is the most closely and most concerned problem in the life of the masses, and the guarantee of the power is the important work for people to live and relieve the apprehension of people. When power failure occurs, the fault position is actively, quickly and accurately positioned and provided for maintenance departments such as national power grids, property companies, line operation and maintenance and the like, and the key point of recovering power is realized.
At present, the application occasions for judging whether the mains supply is powered off are very wide, the conventional judging method is to monitor the mains supply condition by using monitoring equipment, the monitoring equipment body can be automatically switched from mains supply power supply to standby power supply when the mains supply is powered off due to failure, the standby power supply is used for supporting the monitoring equipment body to work until the mains supply is recovered, however, the method needs to cost for installing the monitoring equipment, and cannot actively feed back the monitoring equipment to a maintenance department.
In view of this, there is a need in the art to develop a new method and apparatus for monitoring a commercial power failure.
It is to be noted that the information disclosed in the background section above is only used to enhance understanding of the background of the present disclosure.
Disclosure of Invention
The utility model aims to provide a mains supply fault monitoring method, mains supply fault monitoring device, computer storage medium and electronic equipment to avoid installing supervisory equipment to a certain extent at least, reduce cost to can initiatively discover and pinpoint the position of power failure and the electric power recovery condition in trouble area in real time, improve the ability that the electric wire netting was fixed a position fast and is monitored the trouble on final stage network level.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a mains fault monitoring method, comprising:
acquiring log data corresponding to all network terminals in the latest monitoring period;
classifying and filtering the log data to determine an offline network terminal set;
acquiring target offline network terminals corresponding to the same installation area in the offline network terminal set, and comparing the number of the target offline network terminals with a first threshold value;
when the number of the target offline network terminals is larger than or equal to the first threshold value, address merging is carried out on the target offline network terminals, and whether commercial power faults exist in the installation area is judged according to the address merging and generated result.
In an exemplary embodiment of the present disclosure, the acquiring log data corresponding to all network terminals in a latest monitoring period includes:
and acquiring action logs of all the network terminals in the latest monitoring period, and analyzing the action logs to acquire the log data.
In an exemplary embodiment of the present disclosure, the log data includes a terminal SN code, an event type, and an event occurrence time, and the offline network terminal set includes a plurality of offline network terminals;
the acquiring of the target offline network terminals corresponding to the same installation area in the offline network terminal set comprises:
matching the terminal SN code corresponding to each off-line network terminal with a terminal geographical position database to determine an installation address corresponding to each off-line network terminal according to a matching result;
and determining the target offline network terminal according to the installation address.
In an exemplary embodiment of the present disclosure, the matching the terminal SN code corresponding to each offline network terminal with the terminal geographic location database to determine an installation address corresponding to each offline network terminal according to a matching result includes:
matching terminal SN codes corresponding to each off-line network terminal with SN codes in the terminal geographical position database;
when a target SN code matched with a terminal SN code corresponding to the offline network terminal exists, acquiring an installation address corresponding to the target SN code in the terminal geographical position database as an installation address corresponding to the offline network terminal;
the determining the target offline network terminal according to the installation address includes:
and extracting a superior address in each installation address, and taking a network terminal corresponding to the same superior address as the target offline network terminal.
In an exemplary embodiment of the present disclosure, the number of the target offline network terminals is plural;
the address merging of the target offline network terminal and the judgment of whether the installation area has the mains supply fault according to the address merging and generated result comprise:
constructing a first terminal installation address three-dimensional dictionary data set according to log data corresponding to each target offline network terminal;
determining first terminal three-dimensional data based on the first terminal installation address three-dimensional dictionary data set;
comparing the number of the offline terminals in the three-dimensional data of the first terminal with a second threshold value;
when the number of the offline terminals is larger than or equal to the second threshold value, generating first parent level address event information, and judging that the installation area has mains supply faults;
and when the number of the offline terminals is smaller than the second threshold value, performing secondary address merging on the target offline network terminal, and judging whether the installation area has the mains supply fault according to a result generated by the secondary address merging.
In an exemplary embodiment of the present disclosure, the performing secondary address merging on the target offline network terminal, and determining whether there is a commercial power failure in the installation area according to a result generated by the secondary address merging includes:
taking a parent address in the three-dimensional data of the first terminal as a final address, and merging secondary addresses of the target offline network terminal to obtain three-dimensional data of a second terminal;
comparing the number of the offline terminals in the three-dimensional data of the second terminal with a third threshold value;
when the number of the offline terminals in the three-dimensional data of the second terminal is greater than or equal to the third threshold value, generating second parent-level address event information, and judging that the installation area has a mains supply fault;
and when the number of the offline terminals in the three-dimensional data of the second terminal is smaller than the third threshold value, judging that no commercial power fault exists in the installation area.
In an exemplary embodiment of the present disclosure, the method further comprises:
encrypting the first parent address event information or the second parent address event information, and sending the encrypted first parent address event information or the encrypted second parent address event information to a target server in a POST mode.
In an exemplary embodiment of the present disclosure, after sending the encrypted first parent address event information or the encrypted second parent address event information to a target server, the method further includes:
acquiring latest log data corresponding to all network terminals;
classifying and filtering the latest log data to determine an online network terminal set;
acquiring target online network terminals corresponding to the installation area in the online network terminal set, and comparing the number of the target online network terminals with a fourth threshold value;
when the number of the target online network terminals is larger than or equal to the fourth threshold value, address merging is carried out on the target online network terminals, and whether power supply of the installation area is recovered or not is judged according to the address merging and generated result.
In an exemplary embodiment of the present disclosure, the number of the target online network terminals is plural; before address merging is performed on the target online network terminal, the method further includes:
constructing a second terminal installation address three-dimensional dictionary data set according to log data corresponding to each target online network terminal;
acquiring state records corresponding to the target online terminals;
and determining whether to carry out address merging on each target online network terminal based on the second terminal installation address three-dimensional dictionary data set or not according to the state record.
In an exemplary embodiment of the present disclosure, the determining whether to address merge each target online network terminal based on the second terminal installation address three-dimensional dictionary data set according to the status record includes:
when the state record corresponding to each target online terminal is not recovered off-line, building third terminal three-dimensional data based on the second terminal installation address three-dimensional dictionary data set;
generating third parent address event information according to the three-dimensional data of the third terminal, judging that the installation area recovers power supply, and sending the third parent address event information to a target server;
and when the state record corresponding to each target on-line terminal is not recovered in an off-line mode, giving up address merging.
According to a second aspect of the present disclosure, there is provided a mains failure monitoring device, comprising:
the log acquisition module is used for acquiring log data corresponding to all network terminals in the latest monitoring period;
the log processing module is used for classifying and filtering the log data to determine an offline network terminal set;
the comparison module is used for acquiring target offline network terminals corresponding to the same installation area in the offline network terminal set and comparing the number of the target offline network terminals with a first threshold value;
and the address merging module is used for merging the addresses of the target offline network terminals when the number of the target offline network terminals is greater than or equal to the first threshold value, and judging whether the installation area has mains supply faults according to the address merging and generated result.
According to a third aspect of the present disclosure, there is provided a mains fault monitoring system comprising:
the optical path terminal equipment is used for monitoring and acquiring action logs of all connected network terminals in real time and analyzing the action logs to acquire log data corresponding to all the network terminals;
the user terminal data server is connected with the optical path terminal equipment and used for storing the log data;
the terminal position positioning server is used for storing the SN code of the network terminal and the corresponding installation address;
the fault monitoring equipment is connected with the user terminal data server and the terminal position positioning server and is used for acquiring log data corresponding to all the network terminals in the latest monitoring period;
classifying and filtering the log data to determine an offline network terminal set;
determining target offline network terminals corresponding to the same installation area according to the SN codes of all offline network terminals in the offline network terminal set, the SN codes in the terminal position positioning server and the corresponding installation addresses, and comparing the number of the target offline network terminals with a first threshold value; and
when the number of the target offline network terminals is larger than or equal to the first threshold value, address merging is carried out on the target offline network terminals, and whether commercial power faults exist in the installation area is judged according to the address merging and generated result.
According to a fourth aspect of the present disclosure, there is provided a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the mains failure monitoring method described above.
According to a fifth aspect of the present disclosure, there is provided an electronic apparatus, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the mains fault monitoring method described above via execution of the executable instructions.
As can be seen from the foregoing technical solutions, the utility power fault monitoring method, the utility power fault monitoring apparatus, the utility power fault monitoring system, the computer storage medium, and the electronic device in the exemplary embodiment of the present disclosure have at least the following advantages and positive effects:
the utility power failure monitoring method comprises the steps of firstly obtaining log data corresponding to all network terminals in the latest monitoring period, then classifying and filtering the log data to determine an offline network terminal set, then obtaining a target offline network burden corresponding to the same installation area from the offline network terminal set, and finally merging addresses of the target offline network terminals when the number of the target offline network terminals is larger than or equal to a first threshold value, and judging whether the installation area has utility power failure according to the address merging and generated result. The utility power fault monitoring method disclosed by the invention can actively find and accurately position the power fault based on the big data of the telecom operator, thereby avoiding the installation of monitoring equipment with a large cost; on the other hand, the power recovery condition can be monitored in real time after the commercial power failure is found, and convenience for people are realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 shows an architectural schematic diagram of a mains fault monitoring system in an exemplary embodiment of the present disclosure;
fig. 2 shows a schematic flow diagram of a mains fault monitoring method in an exemplary embodiment of the disclosure;
fig. 3 shows a schematic flowchart of determining a target offline network terminal in an exemplary embodiment of the present disclosure;
fig. 4 is a flow diagram illustrating a sub-process of offline network terminal processing in an exemplary embodiment of the disclosure;
fig. 5 is a schematic diagram illustrating a flow of merging secondary addresses to determine a mains fault in an exemplary embodiment of the disclosure;
FIG. 6 illustrates a flow chart for determining to restore power in an exemplary embodiment of the present disclosure;
fig. 7 is a flow diagram illustrating an online terminal processing sub-flow in an exemplary embodiment of the disclosure;
FIG. 8 illustrates a flow diagram for concurrent power failure monitoring and power restoration monitoring in an exemplary embodiment of the present disclosure;
fig. 9 shows a schematic structural diagram of a mains failure monitoring apparatus in an exemplary embodiment of the present disclosure;
FIG. 10 shows a schematic diagram of a computer storage medium in an exemplary embodiment of the disclosure;
fig. 11 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/parts/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first" and "second", etc. are used merely as labels, and are not limiting on the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
Fig. 1 shows a schematic architecture diagram of a utility power fault monitoring system to which the technical solution of the embodiment of the present disclosure is applied, and as shown in fig. 1, the utility power fault monitoring system 100 includes an Optical path Terminal device 101, a user Terminal data server 102, a Terminal position location server 103 and a fault monitoring device 104, where the Optical path Terminal device 101 may be specifically an OLT (Optical Line Terminal) connected to a modem (Optical modem) which is a network Terminal of each user, and is configured to monitor and obtain action logs of all network terminals connected thereto in real time, and analyze the action logs to obtain log data corresponding to all network terminals, where the action logs of the network Terminal are specifically logs formed by online and offline action events of the Optical modem; the user terminal data server 102 is connected to the optical path terminal device 101, and is configured to store log data, and specifically, may write the log data into a terminal original event database connected to the user terminal data server; the terminal location positioning server 103 is configured to store SN codes (Serial numbers, product Serial numbers) and corresponding installation addresses of all network terminals; the fault monitoring equipment 104 is connected with the user terminal data server 102 and the terminal position positioning server 103 and is used for acquiring log data corresponding to all network terminals in the latest monitoring period; then, the log data are classified and filtered to determine an offline network terminal set; determining target offline network terminals corresponding to the same installation area according to the SN codes of all offline network terminals in the offline network terminal set, the SN codes in the terminal position positioning server and the corresponding installation addresses, and comparing the number of the target offline network terminals with a first threshold value; and finally, when the number of the target offline network terminals is larger than or equal to a first threshold value, address merging is carried out on the target offline network terminals, and whether the commercial power fault exists in the installation area is judged according to the address merging and generated result.
In the exemplary embodiment of the present disclosure, data transmission may be performed between the optical path terminal device 101 and the user terminal data server 102, between the user terminal data server 102 and the fault monitoring device 104, between the fault monitoring device 104 and the terminal location positioning server 103, between the user terminal data server 102 and the terminal original event database, and between the terminal location positioning server 103 and the terminal geographic location database through a network, where the network is a medium providing a communication link and may include various connection types, such as a wired communication link, a wireless communication link, and the like.
It should be understood that the number of optical path terminal apparatuses 101, user terminal data servers 102, terminal position location servers 103, fault monitoring apparatuses 104, and networks are merely illustrative. There may be any number of optical path terminal devices 101, user terminal data servers 102, terminal position location servers 103, fault monitoring devices 104, and networks, as desired for implementation. It is worth mentioning that the user terminal data server and the terminal position location server in the present disclosure may be separate servers or a server cluster formed by a plurality of servers.
In the related art of the present disclosure, a monitoring device is generally used to monitor the condition of the utility power, and although the monitoring device can support its work to recover the utility power supply through a backup power supply when the utility power is failed and powered off, a lot of cost is required for installing the monitoring device, and the monitoring device cannot actively feed back to the maintenance department.
To address the problems in the related art, the present disclosure proposes a mains fault monitoring method, which may be performed by a fault monitoring device, such as the fault monitoring device 104 shown in fig. 1. Fig. 2 shows a flow chart of a mains failure monitoring method, which, as shown in fig. 2, comprises:
step S210: acquiring log data corresponding to all network terminals in the latest monitoring period;
step S220: classifying and filtering the log data to determine an offline network terminal set;
step S230: acquiring target offline network terminals corresponding to the same installation area in the offline network terminal set, and comparing the number of the target offline network terminals with a first threshold value;
step S240: when the number of the target offline network terminals is larger than or equal to the first threshold value, address merging is carried out on the target offline network terminals, and whether commercial power faults exist in the installation area is judged according to the address merging and generated result.
According to the mains supply fault monitoring method, the target offline network terminal can be determined by processing log data of a large number of network terminals, address merging is carried out on the target offline network terminal, and whether the mains supply fault exists in the installation area or not is judged according to the address merging and generated result. The utility power fault monitoring method disclosed by the invention can actively find and accurately position the position of the power fault at regular time based on telecommunication big data, and ensures that the power fault is timely fed back to related mechanisms so as to ensure normal power utilization of users; on the other hand, a large amount of monitoring equipment can be avoided from being installed, and the expenditure cost is reduced.
The following describes in detail the various steps of the mains fault monitoring method in connection with the mains fault monitoring system shown in fig. 1.
In step S210, log data corresponding to all network terminals in the latest monitoring period is acquired.
In an exemplary embodiment of the present disclosure, the optical line termination equipment OLT is a core component of an optical access network, which is equivalent to a switch or a router in a conventional communication network, and is also a multi-service providing platform, generally located at a central office, that provides an optical fiber interface of a passive optical network facing a user. In a practical application scenario, one optical path terminal equipment OLT generally has 6 PON ports, and one PON port may be connected to 64 or 128 OUNs, and one OUN is equivalent to one optical modem, that is, one optical path terminal equipment may provide services for hundreds of thousands of users, accordingly, one optical path terminal equipment may collect the action information of an equal number of network terminals (optical modems) at a time, and if the range is expanded to an area where the same telecommunication company provides telecommunication services, such as a district, a county, or a city, as a background of the telecommunication company, the action information of a huge number of network terminals may be obtained at each collection time point, and the power supply condition in the coverage area is monitored based on the collected big data. It should be noted that, in the technical solution of the present disclosure, a plurality of users using the same optical modem are regarded as one user, and the action information of the network terminal is specifically the online action and the offline action of the optical modem of the broadband user.
In an exemplary embodiment of the present disclosure, in order to ensure that whether a mains supply fault exists in each area is stably monitored, an on-line condition of a network terminal (optical modem) may be periodically monitored by an optical line terminal equipment OLT of a telecommunication operator, and then, an on-line condition of the network terminal is determined according to log data of the network terminal in each detection period. Since the timeliness needs to be guaranteed for monitoring the mains supply fault, when the log data corresponding to all the network terminals are acquired, the log data corresponding to all the network terminals in the latest monitoring period should be selected, and then the log data analysis is performed to acquire the online condition of the network terminals.
In an exemplary embodiment of the present disclosure, the monitoring period may be specifically 3 hours, 5 hours, 8 hours, and the like, which is not specifically limited by the embodiment of the present disclosure. Further, the monitored area can be monitored in real time, and accordingly, the monitoring period can be set to a smaller time interval.
In an exemplary embodiment of the present disclosure, it can be known from the above embodiments that the action logs of all the network terminals collected by the OLT are stored in the user terminal data server, and in order to obtain log data corresponding to all the network terminals in the latest monitoring period, the action logs corresponding to all the network terminals in the latest monitoring period may be first obtained by the OLT, and then the obtained action logs are analyzed to obtain log data corresponding to all the network terminals. The log data is plaintext data, and specifically includes a terminal SN code, an event type, and occurrence time corresponding to the network terminal.
In step S220, the log data is classified and filtered to determine an offline network terminal set.
In an exemplary embodiment of the present disclosure, since log data obtained from a user terminal data server corresponds to network terminals of all users in a power grid coverage area, there may be multiple power supply situations in the coverage area, such as unrecoverable power loss, frequent power loss in a short time, recovery after power loss, continuous power supply, and the like, and an object of the present disclosure is to actively find and accurately locate a location of a power failure in real time, so that the obtained log data corresponding to all network terminals needs to be classified and filtered, only the log data of the network terminals that have not been recovered after power loss is retained, so as to exclude the log data that do not meet conditions, and further form an offline network terminal set according to the network terminals that have not been recovered after power loss, the offline network terminal set including a plurality of offline network terminals. When the log data corresponding to all the network terminals are classified, the log data are mainly classified according to online and offline action events of the network terminals, and only the network terminals with the offline action events need to be reserved in the step; when the network terminals which are obtained by classification and have the offline action events are filtered, the filtering can be carried out according to a time threshold value so as to filter short-time frequent outage events. Specifically, a time threshold may be determined, for example, set to 1 minute, and then the number of times that the network terminal that has the offline action time has offline action within 1 minute is determined, for example, when one network terminal has offline action continuously for more than 3 times within 1 minute, the offline action event of the network terminal is ignored, and repeated warning is reduced. Therefore, offline action events caused by phenomena such as continuous tripping and the like can be eliminated, and finally determined network terminals are ensured to be offline caused by long-time power failure.
Further, after the offline network terminal set is obtained, the offline network terminal set may be further filtered according to the distribution of the OLT ports, specifically, the number of offline network terminals in the same port may be compared with a preset threshold, and when the number of offline network terminals in the same port is less than the preset threshold, the network terminal is centrally filtered from the offline network terminals, so as to eliminate misjudgment caused by a single terminal offline event, and further obtain the final offline network terminal set.
In step S230, target offline network terminals corresponding to the same installation area in the offline network terminal set are obtained, and the number of the target offline network terminals is compared with a first threshold.
In an exemplary embodiment of the present disclosure, after the offline network terminal set is obtained, an installation address of each offline network terminal in the offline network terminal set may be extracted, so as to determine a target offline network terminal corresponding to the same installation area according to the installation address of each offline network terminal. Fig. 3 is a schematic flowchart illustrating a process of determining a target offline network terminal, and as shown in fig. 3, in step S301, a terminal SN code corresponding to each offline network terminal is matched with a terminal geographical location database, so as to determine an installation address corresponding to each offline network terminal according to a matching result; in step S302, a target offline network terminal is determined according to the installation address.
When step S301 is executed, the terminal SN code corresponding to each offline network terminal may be specifically matched with the SN code in the terminal geographical location database, and when a target SN code matching the terminal SN code corresponding to the offline network terminal exists in the terminal geographical location database, the installation address corresponding to the target SN code in the terminal geographical location database is acquired as the installation address corresponding to the offline network terminal. In step S302, a superior address in the installation address may be extracted, where a network terminal corresponding to the same superior address is a target offline network terminal. It should be noted that the upper level address is an address corresponding to a hierarchy of broadband installation areas in the installation address, the broadband installation area may be a primary installation area or a secondary installation area, for example, the installation address of a network terminal is "xu zhou yunlong district XX cell 5 and unit 1 101 room", the address corresponding to the broadband installation area in the installation address may be a primary installation area "xu zhou yunlong district" or a secondary installation area "xu zhou yunlong district XX cell", whether the address of the primary installation area or the address of the secondary installation area as the area address depends on the size of the area and the number of broadband users covered, the extraction of the area address may be performed by taking the primary installation area as the target area when the primary installation area is small and the number of broadband users covered is small, when the primary installation area is large and the number of covered broadband users is large, the secondary installation area can be used as a target area to extract the area address.
In an exemplary embodiment of the present disclosure, after the target offline network terminals are obtained, the number of the target offline network terminals may be compared with a first threshold, which is to eliminate the offline event of the network terminal of a single user, and only when there are multiple network terminals in an area and the offline event occurs at the same time, it may be determined that a power failure occurs in the area. In the embodiment of the present disclosure, the first threshold may be set according to actual needs, for example, set to 100, 200, and the like, which is not specifically limited in the embodiment of the present disclosure.
In step S240, when the number of the target offline network terminals is greater than or equal to the first threshold, address merging is performed on the target offline network terminals, and whether a commercial power failure exists in the installation area is determined according to a result of the address merging.
In the exemplary embodiment of the present disclosure, when the number of target offline network terminals is greater than or equal to the first threshold, it is indicated that the installation area may have a mains supply fault, in the embodiment of the present disclosure, whether the installation area has the mains supply fault may be determined by means of address merging, since in an actual application scenario, it is usually required to install broadband in various places, such as residential buildings, office places, residential areas, streets, villages, and the like, and then it is required to record a house number level when counting the broadband installation address, so as to facilitate accurate positioning of the electric power company and the broadband service provider to the user location, and thus when determining the area where the power fault exists, the installation address of the offline network terminal needs to be merged. Specifically, a first terminal installation address three-dimensional dictionary data set can be extracted and constructed according to log data corresponding to a target offline network terminal, then an offline network terminal processing sub-process is called to process the first terminal installation address three-dimensional dictionary data set, and further whether a mains supply fault exists in an installation area is judged. The formation of the three-dimensional dictionary data set of the first terminal installation address and the offline network terminal processing sub-flow will be described in detail.
In an exemplary embodiment of the present disclosure, the building of the first terminal installation address three-dimensional dictionary data set is formed by integration based on a parent address extracted from installation addresses of target offline network terminals, wherein the method of extracting the parent address is a method of common characters. For example, there are two target offline network terminals, and the corresponding log information is { "terminal installed address": xu city yunlong district XX district 5 units 101 chamber, "time": "2020070118: 30 "," event type ": "offline" } and { "terminal installed address": xu city yunlong district XX district 5 units 301 rooms, "time": "2020070118: 30 "," event type ": "offline", then, the parent addresses of the two target offline network terminals may be extracted as "XX cell 5 unit of the cloud dragon district XX in xu, city", and further, based on the parent addresses, the three-dimensional dictionary data set of the first terminal installation address may be determined to specifically be: { "Xuzhou city Yunlong district XX district 5 units" }: [ { "terminal installation address": xu city yunlong district XX district 5 units 101 chamber, "time": "2020070118: 30 "," event type ": "offline" }, { "terminal installed address": xu city yunlong district XX district 5 units 301 rooms, "time": "2020070118: 30 "," event type ": "offline" } ].
After the three-dimensional dictionary data set of the first terminal installation address is determined, the first terminal installation address can be processed by adopting an offline terminal processing sub-process so as to judge whether the installation area has a mains supply fault. Fig. 4 is a flowchart illustrating a sub-flow of the offline network terminal processing, as shown in fig. 4, in step S401, determining the first terminal three-dimensional data based on the first terminal installation address three-dimensional dictionary data set; in step S402, comparing the number of offline terminals in the three-dimensional data of the first terminal with a second threshold; in step S403, when the number of offline terminals is greater than or equal to a second threshold, generating first parent address event information, and determining that a commercial power failure exists in the installation area; in step S404, when the number of the offline terminals is smaller than the second threshold, performing secondary address merging on the target offline network terminal, and determining whether the installation area has the mains supply fault according to a result generated by the secondary address merging.
For example, if the first terminal installation address three-dimensional dictionary data set includes 5 target offline network terminals, the first terminal three-dimensional data may be determined according to the first terminal installation address three-dimensional dictionary data set, and the specific form is as follows: { "address": "xu zhou city yunlong district XX district 5 blocks 1 unit", "terminal number": 5, "event type": the offline terminal number 5 can be used as the weight for judging the mains supply fault and compared with a second threshold, if the second threshold is 4, the fact that the mains supply fault exists in a district XX of the Xuzhou city Yunlong district is indicated, therefore, first parent level address event information can be generated according to the three-dimensional data of the first terminal, the first parent level address event information is processed and then sent to a fault alarm server of a Xuzhou city power grid company, so that a fault alarm signal can be sent to a terminal of a fault maintenance specialist through the fault alarm server, the fault maintenance specialist can be guaranteed to timely repair the power fault, and normal power utilization of residents is guaranteed.
It should be noted that the second threshold may be set according to actual needs, or may be another value, and when the second threshold is a value greater than the number of the offline terminals, for example, 6, 10, or the like, it may be determined whether the installation area has the mains supply fault by performing secondary address merging on the target offline network terminal and then according to a result generated by the secondary address merging.
Fig. 5 is a schematic diagram illustrating a flow of determining a commercial power failure by merging secondary addresses, and as shown in fig. 5, in step S501, a parent address of a target offline network terminal is taken as a final address, and the target offline network terminal is subjected to merging secondary addresses to obtain three-dimensional data of a second terminal; in step S502, comparing the number of offline terminals in the three-dimensional data of the second terminal with a third threshold; in step S503, when the number of the offline terminals in the three-dimensional data of the second terminal is greater than or equal to a third threshold, generating second parent address event information, and determining that a commercial power failure exists in the installation area; in step S504, when the number of the offline terminals in the three-dimensional data of the second terminal is smaller than a third threshold, it is determined that there is no commercial power failure in the installation area. The parent-level address in step S501 is obtained by extracting a public character from the installation address of the target offline network terminal; in step S503, after the second parent address event information is generated, the second parent address event information may be processed and sent to a fault alarm server of the power grid company, so that a fault alarm signal is sent to a terminal of a fault maintenance specialist through the fault alarm server, the fault maintenance specialist is guaranteed to timely repair the power fault, and normal power consumption of residents is further guaranteed.
Next, a specific manner of the secondary merging will be described by taking the above example as an example. When the parent level address determined according to the installation address of the target offline network terminal is an address of level of 'xu zhou city cloud dragon area XX cell 5 unit', but the number of the offline network terminals under the address is 2 and is smaller than a second threshold value 4, namely the power failure threshold value condition is not met, but offline action events of network terminals occur in 2 cells and 3 cells of the xu zhou city cloud dragon area XX, the level addresses of the 'xu zhou city cloud dragon area XX cell x' can be subjected to secondary merging, so that the 'xu zhou city cloud dragon area XX cell' level address is obtained, meanwhile, the sum of the number of the offline network terminals corresponding to each cell can be used as a weight, and the weight is compared with a third threshold value to judge whether the cell has a mains supply failure or not. The third threshold is any positive integer larger than the second threshold, because the larger the address level is, the larger the threshold is needed to determine whether a failure/recovery occurs.
In the exemplary embodiment of the present disclosure, when the first parent address event information or the second parent address event is processed, encryption may be specifically performed by using an encryption algorithm such as MD5, and then the encrypted first parent address event information or the encrypted second parent address event information is sent to the target server, that is, the fault alarm server, in a POST manner.
Further, after the encrypted first parent address event information or the encrypted second parent address event information is sent to the target server, the target server should confirm within a preset confirmation time, and if the target server does not confirm within the confirmation time range, the target server is sent again. If multiple transmissions still fail, the transmission is aborted.
In an exemplary embodiment of the present disclosure, after it is determined that a commercial power failure exists in an installation area and encrypted first parent address event information or encrypted second parent address event information is sent to a target server, latest log data corresponding to all network terminals may be acquired to determine whether the installation area recovers power supply according to the latest log data.
Fig. 6 is a schematic flow chart illustrating the determination of power restoration, and as shown in fig. 6, in step S601, after the encrypted first parent address event information or the encrypted second parent address event information is sent to the target server, the latest log data corresponding to all network terminals is acquired; in step S602, classifying and filtering the latest log data to determine an online network terminal set; in step S603, target online network terminals corresponding to the installation area in the online network terminal set are obtained, and the number of the target online network terminals is compared with a fourth threshold; in step S604, when the number of the target online network terminals is greater than or equal to the fourth threshold, address merging is performed on the target online network terminals, and whether power supply is restored in the installation area is determined according to the address merging and the generated result.
In step S602, the latest log data is classified according to online and offline action events of the network terminals, and after all the network terminals that have an online action event are obtained, an online network terminal set can be obtained by filtering the network terminals, where the online network terminal set includes a plurality of online network terminals. During filtering, a filtering method similar to the method for determining the offline network terminal set can be adopted for filtering, specifically, filtering can be performed according to a time threshold value, and short-time frequent power-on events are filtered out. The time threshold and the preset threshold may be the same as or different from the time threshold and the preset threshold used for filtering the terminal offline time. After the online network terminal set is determined, target online network terminals in the installation area can be determined from the online network terminal set according to the installation area corresponding to the target offline network terminals, then the number of the target online network terminals is compared with a fourth threshold value, if the number of the target online network terminals is larger than or equal to the fourth threshold value, it is indicated that the electric power of the installation area is possibly recovered, and if the number of the target online network terminals is smaller than the fourth threshold value, it is not enough to determine whether the electric power of the installation area is recovered. The fourth threshold may be set according to actual needs, may be the same as or different from the first threshold, and is not specifically limited in this embodiment of the disclosure.
When the number of the target online network terminals is greater than or equal to the fourth threshold, in order to further determine whether the power is recovered, the determination may be performed by address merging. Specifically, a second terminal installation address three-dimensional dictionary data set can be constructed according to log data corresponding to each target online network terminal, and then an online terminal processing sub-process is called for judgment. The method for constructing the three-dimensional dictionary data set of the second terminal installation address is the same as the method for constructing the three-dimensional dictionary data set of the first terminal installation address, and is not repeated here.
Fig. 7 is a flowchart illustrating a sub-flow of the online terminal processing, and as shown in fig. 7, in step S701, status records corresponding to each target online terminal are obtained; in step S702, when the state record corresponding to each target on-line terminal is offline and is not recovered, building third terminal three-dimensional data based on the second terminal installation address three-dimensional dictionary data set; in step S703, generating third parent address event information according to the third terminal three-dimensional data, determining that the installation area is powered back, and sending the third parent address event information to the target server; in step S704, when the status record corresponding to each target on-line terminal is not offline and not recovered, the address merging is abandoned.
In an exemplary embodiment of the disclosure, the optical path terminal device OLT may monitor online and offline action events of all network terminals in a power grid coverage area in real time, further determine a state of the network terminal according to a current action event of the network terminal and an action event monitored at an adjacent time point, and send state information of the network terminal to the user terminal data server to be stored in the terminal event sending database. When executing the on-line terminal processing sub-process, matching may be performed in the terminal event sending database according to the obtained target on-line terminal, obtaining the corresponding state information, and executing steps S702-S704 when the state information of the target on-line terminal is offline and is not recovered. For example, if there are 5 target online network terminals, and the corresponding installation areas of the terminals are all "XX cell 5 units of cloud dragon district XX in xu zhou city", and the states of the target online network terminals are determined to be offline unrecovered through matching with the terminal event transmission database, address merging may be performed on the five target online network terminals to form third terminal three-dimensional data: { "address": "xu zhou city yunlong district XX district 5 blocks 1 unit", "terminal number": 5, "event type": and going on line, generating third parent level address event information according to the three-dimensional data of the third terminal, and sending the third parent level address event information to the target server, so that the target server feeds back a message that the power supply of the commercial power failure area is recovered to the terminal of the power maintenance personnel, and the power maintenance personnel can master the power recovery condition of the commercial power failure area in time. The target server may be the failure warning server in the above embodiment, or may be another server.
In an exemplary embodiment of the present disclosure, when the offline action event is processed through the offline terminal processing sub-process, and the first parent address event information or the second parent address event information can be generated, it is indicated that the offline action event is a valid event, and after the first parent address event information or the second parent address event information is sent to the target server, the offline action event may be written into the terminal event sending database, and the offline action event and the installation area corresponding to the offline action event are written into the terminal geographical location database. When the offline action event is processed through the offline terminal processing sub-process, the parent level address event cannot be generated, and the offline action event is an invalid event, the offline action event can be written into the historical event database. Correspondingly, for the online action event, when the online action event is processed through the online terminal processing sub-process to generate third parent address event information, the online action event is indicated to be an effective event, and then the online action event can be written into the terminal geographic position database after the third parent address event information is sent to the target server; when the third parent-level address event information cannot be generated, the online action event is an invalid event, and then the online action event can be written into the historical event database.
According to the mains supply fault monitoring method in the embodiment of the disclosure, local equipment (LOT) of a telecom operator is used as a monitoring tool, on the basis of address information of a large number of network terminals, the address information of the large number of network terminals is extracted, merged and judged by an address merging method, so that the power fault position and the power recovery condition of a fault area can be accurately and quickly positioned, and the method has the characteristics of real-time performance, accuracy, safety, high school and low cost.
In the above embodiments, how to monitor the utility power failure for the same installation area is mainly described, and after the utility power failure alarm is sent out, the power recovery situation is monitored in real time. In an actual application scenario, however, the power failure and power restoration conditions of each area within the coverage area of the power grid can be monitored simultaneously. For example, if city a includes five areas B-F, there may be a power failure in the area B at time t1, a power failure in the area D at time t2 while power is restored to the area B, and at time t2, it is necessary for the utility fault monitoring system to simultaneously monitor the power restoration in the area B and the power failure in the area D. The monitoring method for power restoration and the monitoring method for power failure are the same as those in the above-described embodiment, and will be briefly described below based on the flowchart shown in fig. 8.
Fig. 8 is a schematic flow chart illustrating simultaneous power failure monitoring and power restoration monitoring, and as shown in fig. 8, in step S801, an OLT collects action logs of all network terminals in a power grid coverage area, and analyzes the action logs to obtain log data including an SN code, an event type, and an occurrence time; in step S802, the log data is sent to the user terminal data server and written into the terminal original event database; in step S803, a preset interface triggers an event analysis mechanism to obtain log data corresponding to all network terminals in the latest monitoring period; in step S804, classifying the log data, and writing the classified log data into a terminal classification event database; in step S805, an offline event and an online event in the latest monitoring period are acquired from the terminal classification event database; in step S806, filtering the obtained offline event and online event to obtain a target offline network terminal and a target online network terminal; in step S807, extracting the installation addresses corresponding to the target offline network terminal and the target online network terminal according to the target offline network terminal, the target online network terminal and the terminal geographic position database; in step S808, the installation addresses corresponding to the target offline network terminal and the target online network terminal are standardized, and the parent addresses thereof are extracted; in step S809, merging addresses based on the parent address to obtain terminal installation address three-dimensional dictionary data; in step S810, the event type of each action event is determined, and a corresponding processing sub-flow is called for processing; in step S811, it is determined whether the action event is a valid action event according to the result obtained by the processing of the sub-flow; in step S812, when the event is a valid action event, the processing result is sent to the target server, the event is written into the terminal event sending database, and the action event and the corresponding installation location are written into the terminal geographical location database; in step S813, when it is not a valid action event, the action event is written into the historical event database.
In step S810, an offline terminal processing sub-flow may be called for the offline action event, and an online terminal processing sub-flow may be called for the online action event, where the specific processing flow is the same as the flow of the offline terminal processing sub-flow and the flow of the online terminal processing sub-flow in the above embodiments, and details are not described here.
By monitoring the online action and the offline action of all broadband network terminals in the coverage range of the power grid, the simultaneous monitoring of the electric power obstacles and the electric power recovery conditions in different areas in the coverage range can be realized, and the monitoring timeliness and the positioning accuracy of the electric power failure and the electric power recovery conditions are improved.
The present disclosure further provides a mains supply fault monitoring apparatus, fig. 9 shows a schematic structural diagram of the mains supply fault monitoring apparatus, and as shown in fig. 9, the mains supply fault monitoring apparatus 900 may include a log obtaining module 901, a log processing module 902, a comparing module 903, and an address merging module 904. Wherein:
a log obtaining module 901, configured to obtain log data corresponding to all network terminals in a latest monitoring period;
a log processing module 902, configured to classify and filter the log data to determine an offline network terminal set;
a comparison module 903, configured to obtain target offline network terminals in the offline network terminal set corresponding to the same installation area, and compare the number of the target offline network terminals with a first threshold;
an address merging module 904, configured to merge addresses of the target offline network terminals when the number of the target offline network terminals is greater than or equal to the first threshold, and determine whether the installation area has a mains supply fault according to a result of address merging and generation.
In an embodiment of the present disclosure, the log obtaining module 901 is configured to: and acquiring action logs of all the network terminals in the latest monitoring period, and analyzing the action logs to acquire the log data.
In one embodiment of the present disclosure, the log data includes a terminal SN code, an event type, and an event occurrence time, and the offline network terminal set includes a plurality of offline network terminals; the comparison module 903 comprises: the matching unit is used for matching the terminal SN code corresponding to each off-line network terminal with a terminal geographical position database so as to determine an installation address corresponding to each off-line network terminal according to a matching result; and the determining unit is used for determining the target offline network terminal according to the installation address.
In one embodiment of the present disclosure, the matching unit is configured to: matching terminal SN codes corresponding to each off-line network terminal with SN codes in the terminal geographical position database; when a target SN code matched with a terminal SN code corresponding to the offline network terminal exists, acquiring an installation address corresponding to the target SN code in the terminal geographical position database as an installation address corresponding to the offline network terminal; the determination unit is configured to: and extracting a superior address in each installation address, and taking a network terminal corresponding to the same superior address as the target offline network terminal.
In an embodiment of the present disclosure, the number of the target offline network terminals is multiple; the address merge module 904 comprises: the first construction unit is used for constructing a first terminal installation address three-dimensional dictionary data set according to log data corresponding to each target offline network terminal; a first three-dimensional data determination unit for determining first terminal three-dimensional data based on the first terminal installation address three-dimensional dictionary data set; the first comparison unit is used for comparing the number of the offline terminals in the three-dimensional data of the first terminal with a second threshold value; the first fault judgment unit is used for generating first parent address event information when the number of the offline terminals is greater than or equal to the second threshold value, and judging that the installation area has a mains supply fault; and the secondary address merging unit is used for merging the secondary addresses of the target offline network terminals when the number of the offline terminals is less than the second threshold value, and judging whether the installation area has the mains supply fault according to a result generated by merging the secondary addresses.
In one embodiment of the present disclosure, the secondary address merging unit is configured to: taking a parent address in the three-dimensional data of the first terminal as a final address, and merging secondary addresses of the target offline network terminal to obtain three-dimensional data of a second terminal; comparing the number of the offline terminals in the three-dimensional data of the second terminal with a third threshold value; when the number of the offline terminals in the three-dimensional data of the second terminal is greater than or equal to the third threshold value, generating second parent-level address event information, and judging that the installation area has a mains supply fault; and when the number of the offline terminals in the three-dimensional data of the second terminal is smaller than the third threshold value, judging that no commercial power fault exists in the installation area.
In one embodiment of the present disclosure, the mains failure monitoring apparatus 900 is configured to: encrypting the first parent address event information or the second parent address event information, and sending the encrypted first parent address event information or the encrypted second parent address event information to a target server in a POST mode.
In an embodiment of the present disclosure, the mains failure monitoring apparatus 900 further includes: the latest log data acquisition module is used for acquiring the latest log data corresponding to all the network terminals after sending the encrypted first parent address event information or the encrypted second parent address event information to the target server; the latest log data processing module is used for classifying and filtering the latest log data so as to determine an online network terminal set; the online network terminal comparison module is used for acquiring target online network terminals corresponding to the installation area in the online network terminal set and comparing the number of the target online network terminals with a fourth threshold value; and the online network terminal merging module is used for merging addresses of the target online network terminals when the number of the target online network terminals is greater than or equal to the fourth threshold value, and judging whether the power supply of the installation area is recovered according to the address merging and generated result.
In an embodiment of the present disclosure, the number of the target online network terminals is multiple; the mains fault monitoring apparatus 900 further comprises: the second construction unit is used for constructing a second terminal installation address three-dimensional dictionary data set according to the log data corresponding to each target online network terminal; a status record obtaining unit, configured to obtain a status record corresponding to each target online terminal; and the judging module is used for determining whether to carry out address merging on each target online network terminal based on the second terminal installation address three-dimensional dictionary data set according to the state record.
In one embodiment of the present disclosure, the determining module is configured to: when the state record corresponding to each target online terminal is not recovered off-line, building third terminal three-dimensional data based on the second terminal installation address three-dimensional dictionary data set; generating third parent address event information according to the three-dimensional data of the third terminal, judging that the installation area recovers power supply, and sending the third parent address event information to a target server; and when the state record corresponding to each target on-line terminal is not recovered in an off-line mode, giving up address merging.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1000 according to this embodiment of the invention is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, a bus 1030 connecting different system components (including the memory unit 1020 and the processing unit 1010), and a display unit 1040.
Wherein the storage unit stores program code that is executable by the processing unit 1010 to cause the processing unit 1010 to perform steps according to various exemplary embodiments of the present invention as described in the "exemplary methods" section above in this specification. For example, the processing unit 1010 may perform step S210 as shown in fig. 2: acquiring text information, classification data and relationship network information related to a target enterprise; step S220: determining a first transformation score and a first transformation description based on the text information, determining a second transformation score and a second transformation description based on the classification data, and determining a third transformation score and a third transformation description based on the relationship network information; step S230: determining an enterprise transformation score according to the first transformation score, the second transformation score and the third transformation score, and integrating the first transformation description, the second transformation description and the third transformation description to obtain an enterprise transformation description; in step S240, enterprise transformation information corresponding to the target enterprise is generated according to the enterprise transformation score and the enterprise transformation description.
The storage unit 1020 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)10201 and/or a cache memory unit 10202, and may further include a read-only memory unit (ROM) 10203.
The memory unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1030 may be any one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, and a local bus using any of a variety of bus architectures.
The electronic device 1000 may also communicate with one or more external devices 1400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 1050. Also, the electronic device 1000 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1060. As shown, the network adapter 1060 communicates with the other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 11, a program product 1100 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (14)

1. A mains fault monitoring method, comprising:
acquiring log data corresponding to all network terminals in the latest monitoring period;
classifying and filtering the log data to determine an offline network terminal set;
acquiring target offline network terminals corresponding to the same installation area in the offline network terminal set, and comparing the number of the target offline network terminals with a first threshold value;
when the number of the target offline network terminals is larger than or equal to the first threshold value, address merging is carried out on the target offline network terminals, and whether commercial power faults exist in the installation area is judged according to the address merging and generated result.
2. The method according to claim 1, wherein the obtaining log data corresponding to all network terminals in the latest monitoring period comprises:
and acquiring action logs of all the network terminals in the latest monitoring period, and analyzing the action logs to acquire the log data.
3. The method of claim 1, wherein the log data comprises a terminal SN code, an event type, and an event occurrence time, and wherein the set of offline network terminals comprises a plurality of offline network terminals;
the acquiring of the target offline network terminals corresponding to the same installation area in the offline network terminal set comprises:
matching the terminal SN code corresponding to each off-line network terminal with a terminal geographical position database to determine an installation address corresponding to each off-line network terminal according to a matching result;
and determining the target offline network terminal according to the installation address.
4. The method of claim 3, wherein the matching the terminal SN code corresponding to each offline network terminal with a terminal geographical location database to determine an installation address corresponding to each offline network terminal according to a matching result comprises:
matching terminal SN codes corresponding to each off-line network terminal with SN codes in the terminal geographical position database;
when a target SN code matched with a terminal SN code corresponding to the offline network terminal exists, acquiring an installation address corresponding to the target SN code in the terminal geographical position database as an installation address corresponding to the offline network terminal;
the determining the target offline network terminal according to the installation address includes:
and extracting a superior address in each installation address, and taking a network terminal corresponding to the same superior address as the target offline network terminal.
5. The method of claim 1, wherein the number of the target offline network terminals is plural;
the address merging of the target offline network terminal and the judgment of whether the installation area has the mains supply fault according to the address merging and generated result comprise:
constructing a first terminal installation address three-dimensional dictionary data set according to log data corresponding to each target offline network terminal;
determining first terminal three-dimensional data based on the first terminal installation address three-dimensional dictionary data set;
comparing the number of the offline terminals in the three-dimensional data of the first terminal with a second threshold value;
when the number of the offline terminals is larger than or equal to the second threshold value, generating first parent level address event information, and judging that the installation area has mains supply faults;
and when the number of the offline terminals is smaller than the second threshold value, performing secondary address merging on the target offline network terminal, and judging whether the installation area has the mains supply fault according to a result generated by the secondary address merging.
6. The method according to claim 5, wherein the performing secondary address merging on the target offline network terminal and determining whether there is a mains failure in the installation area according to a result generated by the secondary address merging comprises:
taking a parent address in the three-dimensional data of the first terminal as a final address, and merging secondary addresses of the target offline network terminal to obtain three-dimensional data of a second terminal;
comparing the number of the offline terminals in the three-dimensional data of the second terminal with a third threshold value;
when the number of the offline terminals in the three-dimensional data of the second terminal is greater than or equal to the third threshold value, generating second parent-level address event information, and judging that the installation area has a mains supply fault;
and when the number of the offline terminals in the three-dimensional data of the second terminal is smaller than the third threshold value, judging that no commercial power fault exists in the installation area.
7. The method of claim 6, further comprising:
encrypting the first parent address event information or the second parent address event information, and sending the encrypted first parent address event information or the encrypted second parent address event information to a target server in a POST mode.
8. The method of claim 7, wherein after sending the encrypted first parent address event information or the encrypted second parent address event information to a destination server, the method further comprises:
acquiring latest log data corresponding to all network terminals;
classifying and filtering the latest log data to determine an online network terminal set;
acquiring target online network terminals corresponding to the installation area in the online network terminal set, and comparing the number of the target online network terminals with a fourth threshold value;
when the number of the target online network terminals is larger than or equal to the fourth threshold value, address merging is carried out on the target online network terminals, and whether power supply of the installation area is recovered or not is judged according to the address merging and generated result.
9. The method according to claim 8, wherein the number of the target on-line network terminals is plural;
before address merging is performed on the target online network terminal, the method further includes:
constructing a second terminal installation address three-dimensional dictionary data set according to log data corresponding to each target online network terminal;
acquiring state records corresponding to the target online terminals;
and determining whether to carry out address merging on each target online network terminal based on the second terminal installation address three-dimensional dictionary data set or not according to the state record.
10. The method of claim 9, wherein determining from the status record whether to address merge each of the target online network terminals based on the second terminal installation address three-dimensional dictionary dataset comprises:
when the state record corresponding to each target online terminal is not recovered off-line, building third terminal three-dimensional data based on the second terminal installation address three-dimensional dictionary data set;
generating third parent address event information according to the three-dimensional data of the third terminal, judging that the installation area recovers power supply, and sending the third parent address event information to a target server;
and when the state record corresponding to each target on-line terminal is not recovered in an off-line mode, giving up address merging.
11. A mains failure monitoring apparatus, comprising:
the log acquisition module is used for acquiring log data corresponding to all network terminals in the latest monitoring period;
the log processing module is used for classifying and filtering the log data to determine an offline network terminal set;
the comparison module is used for acquiring target offline network terminals corresponding to the same installation area in the offline network terminal set and comparing the number of the target offline network terminals with a first threshold value;
and the address merging module is used for merging the addresses of the target offline network terminals when the number of the target offline network terminals is greater than or equal to the first threshold value, and judging whether the installation area has mains supply faults according to the address merging and generated result.
12. A mains fault monitoring system, comprising:
the optical path terminal equipment is used for monitoring and acquiring action logs of all connected network terminals in real time and analyzing the action logs to acquire log data corresponding to all the network terminals;
the user terminal data server is connected with the optical path terminal equipment and used for storing the log data;
the terminal position positioning server is used for storing the SN code of the network terminal and the corresponding installation address;
the fault monitoring equipment is connected with the user terminal data server and the terminal position positioning server and is used for acquiring log data corresponding to all the network terminals in the latest monitoring period;
classifying and filtering the log data to determine an offline network terminal set;
determining target offline network terminals corresponding to the same installation area according to the SN codes of all offline network terminals in the offline network terminal set, the SN codes in the terminal position positioning server and the corresponding installation addresses, and comparing the number of the target offline network terminals with a first threshold value; and
when the number of the target offline network terminals is larger than or equal to the first threshold value, address merging is carried out on the target offline network terminals, and whether commercial power faults exist in the installation area is judged according to the address merging and generated result.
13. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the mains failure monitoring method according to any of claims 1 to 10.
14. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the mains fault monitoring method of any of claims 1-10 via execution of the executable instructions.
CN202110558596.7A 2021-05-21 2021-05-21 Commercial power fault monitoring method, device, system, storage medium and electronic equipment Pending CN113298672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110558596.7A CN113298672A (en) 2021-05-21 2021-05-21 Commercial power fault monitoring method, device, system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110558596.7A CN113298672A (en) 2021-05-21 2021-05-21 Commercial power fault monitoring method, device, system, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113298672A true CN113298672A (en) 2021-08-24

Family

ID=77323666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110558596.7A Pending CN113298672A (en) 2021-05-21 2021-05-21 Commercial power fault monitoring method, device, system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113298672A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245242A (en) * 2021-12-23 2022-03-25 海南神州泰岳软件有限公司 User offline detection method and device and electronic equipment
CN114285786A (en) * 2021-12-24 2022-04-05 中国农业银行股份有限公司 Method and device for constructing network link library

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245242A (en) * 2021-12-23 2022-03-25 海南神州泰岳软件有限公司 User offline detection method and device and electronic equipment
CN114245242B (en) * 2021-12-23 2023-10-27 海南神州泰岳软件有限公司 User offline detection method and device and electronic equipment
CN114285786A (en) * 2021-12-24 2022-04-05 中国农业银行股份有限公司 Method and device for constructing network link library
CN114285786B (en) * 2021-12-24 2023-12-08 中国农业银行股份有限公司 Construction method and device of network link library

Similar Documents

Publication Publication Date Title
CN108667666A (en) A kind of intelligent O&M method and its system based on visualization technique
CN113298672A (en) Commercial power fault monitoring method, device, system, storage medium and electronic equipment
CN104601383B (en) A kind of power telecom network fault piecewise analysis method
CN112134357A (en) Power distribution automation master station system based on cloud service
CN111934434B (en) Power distribution automation operation analysis and evaluation system and method
CN105049223A (en) Electric power communication network defect and fault processing decision-aided analysis method
CN111431754A (en) Fault analysis method and system for power distribution and utilization communication network
CN111814999A (en) Fault work order generation method, device and equipment
CN110134053B (en) Monitoring configuration method, device and equipment for distribution transformer fault power failure quick response
CN110430081A (en) The intelligent method for inspecting and device of automatic editing based on instruction
CN112463892A (en) Early warning method and system based on risk situation
CN114025260B (en) Optical access network fault positioning method, device, equipment and medium
CN110912755A (en) System and method for network card fault monitoring and automatic recovery in cloud environment
KR101770066B1 (en) Method and system for real time tracking and analysing business transaction using application call log in distributed system
KR20190002280A (en) Apparatus and method for managing trouble using big data of 5G distributed cloud system
CN112541011A (en) Power grid terminal fault processing method and device based on RPA and AI
KR101288535B1 (en) Method for monitoring communication system and apparatus therefor
Tang et al. MEADEP: A dependability evaluation tool for engineers
CN111324516A (en) Method and device for automatically recording abnormal event, storage medium and electronic equipment
CN112799957A (en) User behavior based fault handling method, system, device and medium
CN112542892A (en) Transformer substation regulation and control integrated control method and control device
CN112886707A (en) Dry node output method and output device of converter device
CN113438117B (en) Network element work order processing method and device, storage medium and electronic equipment
JP2020141353A (en) Device management method, management device, and program
CN116708135B (en) Network service fault monitoring method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination