CN110838940B - Underground cable inspection task configuration method and device - Google Patents

Underground cable inspection task configuration method and device Download PDF

Info

Publication number
CN110838940B
CN110838940B CN201911039614.XA CN201911039614A CN110838940B CN 110838940 B CN110838940 B CN 110838940B CN 201911039614 A CN201911039614 A CN 201911039614A CN 110838940 B CN110838940 B CN 110838940B
Authority
CN
China
Prior art keywords
log
processed
abnormal
fault
inspection task
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.)
Active
Application number
CN201911039614.XA
Other languages
Chinese (zh)
Other versions
CN110838940A (en
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.)
Hunan Guoao Power Equipment Co ltd
Original Assignee
Hunan Guoao Power Equipment Co 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 Hunan Guoao Power Equipment Co ltd filed Critical Hunan Guoao Power Equipment Co ltd
Priority to CN201911039614.XA priority Critical patent/CN110838940B/en
Publication of CN110838940A publication Critical patent/CN110838940A/en
Application granted granted Critical
Publication of CN110838940B publication Critical patent/CN110838940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/20Checking timed patrols, e.g. of watchman
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本申请涉及一种地下电缆巡检任务配置方法和装置。所述方法包括:获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志;从所述待处理异常日志中提取故障的地下电缆的故障位置;根据所述故障位置对所述待处理异常日志进行分类;获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;将所述巡检任务发送给与所述故障位置对应的处理终端。采用本方法对于故障高发位置处可以进行巡检,提前做好预发准备,防止故障的发生。

Figure 201911039614

The present application relates to a configuration method and device for an inspection task of an underground cable. The method includes: acquiring the logs stored in the database, and extracting a pending exception log from the log according to the log label; extracting the fault location of the faulty underground cable from the pending exception log; The pending exception logs are classified; the number of pending exception logs in each category is obtained, and it is determined whether the number exceeds a preset value; if the number exceeds a preset value, it is generated according to the pending exception log An inspection task; sending the inspection task to the processing terminal corresponding to the fault location. By adopting this method, inspection can be carried out on the location with high occurrence of faults, and pre-fault preparations can be made in advance to prevent the occurrence of faults.

Figure 201911039614

Description

地下电缆巡检任务配置方法和装置Underground cable inspection task configuration method and device

技术领域technical field

本申请涉及数据处理技术领域,特别是涉及一种地下电缆巡检任务配置方法和装置。The present application relates to the technical field of data processing, and in particular, to a method and device for configuring an underground cable inspection task.

背景技术Background technique

埋设于地下的电缆,在电力传输过程中,往往会由于电缆本身的温度升高发生爆炸;又或者,由于地下铺设管道进水,导致电缆发生损坏,进而影响电缆的正常传输。In the process of power transmission, the cables buried in the ground often explode due to the temperature rise of the cables themselves; or, the cables are damaged due to the inflow of water into the underground pipes, which in turn affects the normal transmission of the cables.

通常地,在发现地下电缆故障后,则由相应的施工队去进行施工,然后对地下电缆进行维修,结束后,则不会再对此处的地下电缆进行处理,这样对于维修的情况等无法及时掌握,且也不能在故障未发生之前进行故障排除,导致故障频繁发生。Usually, after the failure of the underground cable is found, the corresponding construction team will carry out the construction and then repair the underground cable. It can be grasped in time, and it cannot be eliminated before the failure occurs, resulting in frequent failures.

发明内容SUMMARY OF THE INVENTION

基于此,有必要针对上述技术问题,提供一种能够在故障未发生之前进行故障排除的地下电缆巡检任务配置方法和装置。Based on this, it is necessary to provide an underground cable inspection task configuration method and device capable of troubleshooting before the failure occurs, aiming at the above technical problems.

一种地下电缆巡检任务配置方法,所述方法包括:A method for configuring an underground cable inspection task, the method comprising:

获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志;Obtain the log stored in the database, and extract the pending exception log from the log according to the log label;

从所述待处理异常日志中提取故障的地下电缆的故障位置;Extract the fault location of the faulty underground cable from the to-be-processed exception log;

根据所述故障位置对所述待处理异常日志进行分类;classifying the pending exception log according to the fault location;

获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;Obtain the number of exception logs to be processed in each category, and determine whether the number exceeds a preset value;

若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;If the number exceeds a preset value, generating an inspection task according to the pending exception log;

将所述巡检任务发送给与所述故障位置对应的处理终端。Send the inspection task to the processing terminal corresponding to the fault location.

在其中一个实施例中,所述获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志,包括:In one embodiment, the obtaining of the logs stored in the database, and extracting the logs of exceptions to be processed from the logs according to the log tags, includes:

获取所述数据库中存储的日志以及已生成巡检任务的异常日志;Obtain the logs stored in the database and the abnormal logs of the generated inspection tasks;

根据日志标签从所述日志中提取初始异常日志;extract the initial exception log from the log according to the log tag;

根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志。The pending exception log is obtained according to the exception log of the generated inspection task and the initial exception log.

在其中一个实施例中,所述根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志之后,还包括:In one embodiment, after the exception log to be processed is obtained according to the exception log of the generated inspection task and the initial exception log, the method further includes:

提取已生成的巡检任务的故障位置,并判断所述待处理异常日志中是否存在与所述故障位置对应的待处理异常日志;Extracting the fault location of the generated inspection task, and judging whether there is a pending abnormal log corresponding to the fault location in the to-be-processed abnormal log;

当存在时,则提取所述待处理异常日志中的故障类型;When it exists, extract the fault type in the to-be-processed exception log;

将所提取的故障类型与所述巡检任务对应的故障类型进行比对;Comparing the extracted fault type with the fault type corresponding to the inspection task;

若所提取的故障类型与所述巡检任务对应的故障类型相同,则向所述故障位置对应的终端发送处理失败的信息。If the extracted fault type is the same as the fault type corresponding to the inspection task, the processing failure information is sent to the terminal corresponding to the fault location.

在其中一个实施例中,所述向所述故障位置对应的终端发送处理失败的信息之前,还包括:In one of the embodiments, before the sending the processing failure information to the terminal corresponding to the fault location, the method further includes:

获取巡检任务的第一生成时间以及所述待处理异常日志的第二生成时间;Obtain the first generation time of the inspection task and the second generation time of the to-be-processed exception log;

计算所述第一生成时间与所述第二生成时间的差值;calculating the difference between the first generation time and the second generation time;

若所述差值小于时间预设值,则继续向所述故障位置对应的终端发送处理失败的信息。If the difference value is smaller than the time preset value, continue to send processing failure information to the terminal corresponding to the fault location.

在其中一个实施例中,所述向所述故障位置对应的终端发送处理失败的信息之后,还包括:In one of the embodiments, after the sending the processing failure information to the terminal corresponding to the fault location, the method further includes:

获取所述故障位置对应的终端的责任人绩效评分;Obtain the performance score of the person in charge of the terminal corresponding to the fault location;

减少所述责任人绩效评分。Decrease said responsible person performance score.

在其中一个实施例中,所述根据所述待处理异常日志生成巡检任务,包括:In one embodiment, the generating an inspection task according to the to-be-processed exception log includes:

从所述待处理异常日志中提取故障类型;Extract the fault type from the pending exception log;

统计每一故障类型对应的故障次数以及出现时间;Count the number of faults and occurrence time corresponding to each fault type;

分别根据所述故障次数和所述出现时间对所述故障类型进行排序;Sorting the fault types according to the number of faults and the occurrence time respectively;

根据排序在前的预设数量的故障类型生成巡检任务。Generate inspection tasks based on a preset number of fault types in the first order.

一种地下电缆巡检任务配置装置,所述装置包括:An underground cable inspection task configuration device, the device includes:

日志获取模块,用于获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志;a log acquisition module, used for acquiring the logs stored in the database, and extracting pending exception logs from the logs according to the log tags;

故障位置提取模块,用于从所述待处理异常日志中提取故障的地下电缆的故障位置;A fault location extraction module, used for extracting the fault location of the faulty underground cable from the to-be-processed exception log;

分类模块,用于根据所述故障位置对所述待处理异常日志进行分类;a classification module, configured to classify the to-be-processed exception log according to the fault location;

第一判断模块,用于获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;a first judging module, used to obtain the number of abnormal logs to be processed in each category, and determine whether the number exceeds a preset value;

巡检任务生成模块,用于若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;an inspection task generation module, configured to generate an inspection task according to the to-be-processed exception log if the number exceeds a preset value;

第一发送模块,用于将所述巡检任务发送给与所述故障位置对应的处理终端。The first sending module is configured to send the inspection task to the processing terminal corresponding to the fault location.

在其中一个实施例中,所述日志获取模块,包括:In one embodiment, the log acquisition module includes:

日志获取单元,用于获取所述数据库中存储的日志以及已生成巡检任务的异常日志;a log obtaining unit, configured to obtain the logs stored in the database and the abnormal logs of the generated inspection tasks;

日志提取单元,用于根据日志标签从所述日志中提取初始异常日志;a log extraction unit, configured to extract an initial exception log from the log according to the log tag;

异常日志获取单元,用于根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志。The exception log obtaining unit is used to obtain the pending exception log according to the exception log of the generated inspection task and the initial exception log.

一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of any one of the methods described above when the processor executes the computer program.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法的步骤A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any of the methods described above

上述地下电缆巡检任务配置方法、装置、计算机设备和存储介质,通过对日志进行处理,从待处理异常日志中提取故障的地下电缆的故障位置,然后对待处理异常日志进行分类,从而获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;将所述巡检任务发送给与所述故障位置对应的处理终端,这样对于故障高发位置处可以进行巡检,提前做好预发准备,防止故障的发生。The above-mentioned underground cable inspection task configuration method, device, computer equipment and storage medium, by processing the log, extracting the fault location of the faulty underground cable from the abnormal log to be processed, and then classifying the abnormal log to be processed, so as to obtain each log. The number of exception logs to be processed in the classification, and determine whether the number exceeds the preset value; if the number exceeds the preset value, generate an inspection task according to the pending exception log; send the inspection task to The processing terminal corresponding to the fault location can perform patrol inspection for the location with high fault occurrence, and make pre-dispatch preparations in advance to prevent the occurrence of faults.

附图说明Description of drawings

图1为一个实施例中地下电缆巡检任务配置方法的应用场景图;1 is an application scenario diagram of a method for configuring an underground cable inspection task in one embodiment;

图2为一个实施例中地下电缆巡检任务配置方法的流程示意图;FIG. 2 is a schematic flowchart of a method for configuring an inspection task for an underground cable in one embodiment;

图3为一个实施例中地下电缆巡检任务配置装置的结构框图;Fig. 3 is a structural block diagram of an underground cable inspection task configuration device in one embodiment;

图4为一个实施例中计算机设备的内部结构图。FIG. 4 is a diagram of the internal structure of a computer device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

本申请提供的地下电缆巡检任务配置方法,可以应用于如图1所示的应用环境中。其中,处理终端102与服务器104通过网络进行通信。服务器104可以从数据库中获取已经存储的日志,该日志是根据地下电缆信息采集装置106采集的数据的处理过程生成的,然后根据日志标签从日志中提取出待处理异常日志,即提取出故障的地下电缆所对应的日志,这样服务器104可以从该些待处理异常日志中提取出故障的地下电缆的故障位置,然后根据该故障位置对待处理异常日志进行分类,从而服务器获取到每一个地理位置对应的待处理异常日志的数量,即每个地理位置处出现的故障的次数,从而服务器104通过判断该数量是否超过预设值,以判断是否触发生成巡检任务,如果超过预设值,则生成巡检任务,并将巡检任务发送给故障位置对应的处理终端102。其中,处理终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The method for configuring an underground cable inspection task provided by the present application can be applied to the application environment shown in FIG. 1 . The processing terminal 102 communicates with the server 104 through a network. The server 104 can obtain the stored log from the database, the log is generated according to the processing process of the data collected by the underground cable information collecting device 106, and then extracts the abnormal log to be processed from the log according to the log label, that is, the faulty log is extracted. The log corresponding to the underground cable, so that the server 104 can extract the fault location of the faulty underground cable from the abnormal log to be processed, and then classify the abnormal log to be processed according to the fault location, so that the server obtains each geographic location corresponding to The number of pending exception logs, that is, the number of failures occurring at each geographic location, so that the server 104 determines whether to trigger the generation of an inspection task by judging whether the number exceeds a preset value, and if it exceeds the preset value, generates an inspection task. The inspection task is sent, and the inspection task is sent to the processing terminal 102 corresponding to the fault location. The processing terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

在一个实施例中,如图2所示,提供了一种地下电缆巡检任务配置方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for configuring an underground cable inspection task is provided, and the method is applied to the server in FIG. 1 as an example for description, including the following steps:

S202:获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志。S202: Acquire logs stored in the database, and extract pending exception logs from the logs according to the log tags.

日志是记录系统中硬件、软件和系统问题的信息,同时还可以监视系统中发生的事件,其中服务器可以根据地下电缆的数据采集系统采集的当前运行数据和当前环境数据来判断地下电缆是否故障,并将判断结果以及判断过程进行存储得到上述的日志。且若判断结果是故障,则给日志增加故障标签,否则则不添加标签或者是添加正常标签,从而服务器可以根据该日志标签从日志中提取出待处理异常日志。The log is to record the information of hardware, software and system problems in the system, and can also monitor the events in the system, in which the server can judge whether the underground cable is faulty according to the current operating data and current environmental data collected by the data acquisition system of the underground cable, The above log is obtained by storing the judgment result and the judgment process. And if the judgment result is a fault, a fault label is added to the log, otherwise, no label is added or a normal label is added, so that the server can extract the pending exception log from the log according to the log label.

S204:从所述待处理异常日志中提取故障的地下电缆的故障位置。S204: Extract the fault location of the faulty underground cable from the to-be-processed exception log.

具体地,待处理异常日志中不仅保存了判断结果、判断过程,还包括当前运行数据、当前环境数据以及地下电缆的故障位置、故障类型等。Specifically, the to-be-processed exception log not only saves the judgment result and the judgment process, but also includes current operation data, current environment data, and the fault location and fault type of the underground cable.

S206:根据所述故障位置对所述待处理异常日志进行分类。S206: Classify the to-be-processed exception log according to the fault location.

具体地,服务器根据故障位置对待处理异常日志进行分类的步骤,即是首先获取到地理位置,然后判断是否为新的地理位置,若是则增加分类,否则,则添加到已有的分类中,从而以对待处理异常日志进行分类。Specifically, the step of classifying the abnormal log to be processed by the server according to the fault location is to first obtain the geographic location, and then determine whether it is a new geographic location, if so, add the classification, otherwise, add it to the existing classification, thereby To classify the exception log to be processed.

S208:获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值。S208: Acquire the number of abnormal logs to be processed in each category, and determine whether the number exceeds a preset value.

具体地,服务器获取每一分类中待处理异常日志的数量的步骤可以是在分类的过程中进行,即获取到地理位置,然后判断是否为新的地理位置,不是的话,则添加到已有的分类中,并针对已有分类的统计数量进行加一操作,从而在分类完成时,也得到了待处理异常日志的数量。Specifically, the step that the server obtains the number of exception logs to be processed in each classification may be performed during the classification process, that is, obtain the geographic location, and then determine whether it is a new geographic location, and if not, add it to the existing geographic location. During the classification, add one to the statistics of the existing classification, so that when the classification is completed, the number of pending exception logs is also obtained.

预设数量是预先设置的用于衡量是否生成巡检任务的参考值,且可选地,还可以根据数量以及对应的待处理异常日志的时间跨度计算异常出现的频率,然后判断该频率是否超过预设值,若是,则表明该地理位置处的地下电缆经常出现故障,因此需要定期巡检。The preset number is a preset reference value used to measure whether to generate an inspection task, and optionally, the frequency of abnormal occurrences can also be calculated according to the number and the time span of the corresponding exception log to be processed, and then determine whether the frequency exceeds If it is the default value, it means that the underground cables in this geographical location are often faulty, so regular inspections are required.

S210:若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务。S210: If the number exceeds a preset value, generate an inspection task according to the to-be-processed exception log.

S212:将所述巡检任务发送给与所述故障位置对应的处理终端。S212: Send the inspection task to the processing terminal corresponding to the fault location.

具体地,若数量超过预设值,则根据待处理异常日志生成巡检任务,该巡检任务可以从待处理异常日志中提取出判断结果、判断过程、当前运行数据、当前环境数据以及地下电缆的故障位置、故障类型等,将该些信息进行加密即可以得到巡检任务,并将加密后的巡检任务发送给处理终端,以便于处理终端及时进行处理,其中发送到故障位置对应的处理终端可以保证巡检任务的及时进行。Specifically, if the number exceeds the preset value, an inspection task is generated according to the abnormal log to be processed, and the inspection task can extract the judgment result, the judgment process, the current operation data, the current environment data and the underground cable from the abnormal log to be processed. The inspection task can be obtained by encrypting the information, and the encrypted inspection task is sent to the processing terminal, so that the processing terminal can process it in time, and the processing corresponding to the fault location is sent to the processing terminal. The terminal can ensure the timely execution of inspection tasks.

上述地下电缆巡检任务配置方法,通过对日志进行处理,从待处理异常日志中提取故障的地下电缆的故障位置,然后对待处理异常日志进行分类,从而获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;将所述巡检任务发送给与所述故障位置对应的处理终端,这样对于故障高发位置处可以进行巡检,提前做好预发准备,防止故障的发生。The above method for configuring the underground cable inspection task, by processing the logs, extracting the fault location of the faulty underground cable from the abnormal log to be processed, and then classifying the abnormal log to be processed, so as to obtain the number of abnormal logs to be processed in each category. , and determine whether the number exceeds the preset value; if the number exceeds the preset value, generate an inspection task according to the abnormal log to be processed; send the inspection task to the processing corresponding to the fault location In this way, inspections can be carried out for locations where faults are high, and pre-flight preparations can be made in advance to prevent faults from occurring.

在其中一个实施例中,所述获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志,包括:获取所述数据库中存储的日志以及已生成巡检任务的异常日志;根据日志标签从所述日志中提取初始异常日志;根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志。In one embodiment, the obtaining the logs stored in the database and extracting the pending exception logs from the logs according to the log tags includes: obtaining the logs stored in the database and the exception logs of the generated inspection tasks ; extract the initial exception log from the log according to the log label; obtain the pending exception log according to the exception log of the generated inspection task and the initial exception log.

具体地,由于巡检任务的生成可能是根据多个异常日志得到,因此为了保证已处理过的异常日志不会再次被处理,因此在获取到待处理异常日志的时候,可以获取所述数据库中存储的日志以及已生成巡检任务的异常日志,其中已生成巡检任务的异常日志可以预先通过标签的形式进行区分,进而服务器可以根据日志标签从日志中提取到初始异常日志,然后删掉该些已生成巡检任务的异常日志即可以得到待处理异常日志。Specifically, since the generation of the inspection task may be obtained from multiple exception logs, in order to ensure that the processed exception logs will not be processed again, when the pending exception logs are obtained, the The stored logs and the exception logs of the generated inspection tasks, among which the exception logs of the generated inspection tasks can be distinguished in the form of tags in advance, and the server can extract the initial exception log from the log according to the log tag, and then delete the abnormal log. The exception log of some generated inspection tasks can be obtained to obtain the pending exception log.

这样由于巡检任务是需要一段时间内的异常日志来判断,这样可以保证已处理的异常日志不会再次被处理,提高处理的效率和准确性。In this way, since the inspection task requires abnormal logs within a period of time to be judged, it can ensure that the processed abnormal logs will not be processed again, and improve the efficiency and accuracy of processing.

在其中一个实施例中,所述根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志之后,还包括:提取已生成的巡检任务的故障位置,并判断所述待处理异常日志中是否存在与所述故障位置对应的待处理异常日志;当存在时,则提取所述待处理异常日志中的故障类型;将所提取的故障类型与所述巡检任务对应的故障类型进行比对;若所提取的故障类型与所述巡检任务对应的故障类型相同,则向所述故障位置对应的终端发送处理失败的信息。In one embodiment, after obtaining the exception log to be processed according to the exception log of the generated inspection task and the initial exception log, the method further includes: extracting the fault location of the generated inspection task, and judging the pending exception Whether there is a pending exception log corresponding to the fault location in the log; if so, extract the fault type in the pending exception log; compare the extracted fault type with the fault type corresponding to the inspection task. Compare; if the extracted fault type is the same as the fault type corresponding to the inspection task, send processing failure information to the terminal corresponding to the fault location.

具体地,由于已生成的巡检任务已经针对故障位置进行了处理,如果该故障位置处还出现故障,则说明可能存在新的故障或者是上一次的故障还未被解决完成,因此需要判断待处理异常日志中是否存在与所述故障位置对应的待处理异常日志,当存在的时候,则提取待处理异常日志中的故障类型,并将所提取的故障类型与所述巡检任务对应的故障类型进行比对,若类型相同,则说明上次处理失败,从而可以将该信息发送给上一次的处理终端,以便于上一次的处理终端继续对该位置处进行巡检等。Specifically, since the generated inspection task has already been processed for the fault location, if a fault still occurs at the fault location, it means that there may be a new fault or the previous fault has not been resolved, so it is necessary to judge the pending Whether there is a pending exception log corresponding to the fault location in the processing exception log, if so, extract the fault type in the pending exception log, and compare the extracted fault type with the fault corresponding to the inspection task The types are compared. If the types are the same, it means that the last processing failed, so that the information can be sent to the last processing terminal, so that the last processing terminal can continue to inspect the location.

在其中一个实施例中,所述向所述故障位置对应的终端发送处理失败的信息之前,还包括:获取巡检任务的第一生成时间以及所述待处理异常日志的第二生成时间;计算所述第一生成时间与所述第二生成时间的差值;若所述差值小于时间预设值,则继续向所述故障位置对应的终端发送处理失败的信息。In one embodiment, before the sending the processing failure information to the terminal corresponding to the fault location, the method further includes: acquiring the first generation time of the inspection task and the second generation time of the to-be-processed exception log; calculating The difference between the first generation time and the second generation time; if the difference is less than a preset time value, continue to send processing failure information to the terminal corresponding to the fault location.

具体地,若本次待处理异常日志的生成时间距离上次巡检任务的生成时间较远,则说明上次任务已经完成,这是新出现的问题,因此服务器可以获取巡检任务的第一生成时间以及所述待处理异常日志的第二生成时间;计算所述第一生成时间与所述第二生成时间的差值,判断该差值是否小于预设值,该预设值是时间的预设值,如果小于,则说明故障是原来的,因此继续向所述故障位置对应的终端发送处理失败的信息。Specifically, if the generation time of the abnormal log to be processed this time is far from the generation time of the last inspection task, it means that the last task has been completed, which is a new problem. Therefore, the server can obtain the first inspection task. The generation time and the second generation time of the abnormal log to be processed; calculate the difference between the first generation time and the second generation time, and determine whether the difference is less than a preset value, and the preset value is temporal If it is less than the preset value, it means that the fault is the original one, so continue to send processing failure information to the terminal corresponding to the fault location.

在其中一个实施例中,所述向所述故障位置对应的终端发送处理失败的信息之后,还包括:获取所述故障位置对应的终端的责任人绩效评分;减少所述责任人绩效评分。In one of the embodiments, after sending the processing failure information to the terminal corresponding to the fault location, the method further includes: acquiring the performance score of the person in charge of the terminal corresponding to the fault location; and reducing the performance score of the person in charge.

具体地,如果向所述故障位置对应的终端发送处理失败的信息,也就是说责任人没有对故障处理好,则可以减少责任人的绩效评分,从而降低对应的绩效以进行处罚。Specifically, if processing failure information is sent to the terminal corresponding to the fault location, that is to say, the person in charge has not handled the fault well, the performance score of the person in charge can be reduced, thereby lowering the corresponding performance for punishment.

在其中一个实施例中,所述根据所述待处理异常日志生成巡检任务,包括:从所述待处理异常日志中提取故障类型;统计每一故障类型对应的故障次数以及出现时间;分别根据所述故障次数和所述出现时间对所述故障类型进行排序;根据排序在前的预设数量的故障类型生成巡检任务。In one embodiment, the generating an inspection task according to the to-be-processed exception log includes: extracting a fault type from the to-be-processed exception log; counting the number of faults and occurrence time corresponding to each fault type; The number of failures and the occurrence time are used to sort the failure types; an inspection task is generated according to a preset number of failure types in the first order.

具体地,在生成巡检任务的时候,为了方便用户的查看,服务器可以从所述待处理异常日志中提取故障类型;统计每一故障类型对应的故障次数以及出现时间,然后首先按照故障次数进行排序,并将对应的出现时间在预设时间段,例如一个月内的故障类型进行显示,超过一个月的,则滞后显示,这样用户查看巡检任务的时候可以终端查看故障次数多的故障类型。Specifically, when the inspection task is generated, in order to facilitate the user's viewing, the server can extract the fault type from the to-be-processed exception log; count the number of faults and the occurrence time corresponding to each fault type, and then first perform the faults according to the number of faults. Sort and display the corresponding occurrence time in a preset time period, for example, the fault types within one month, and the fault types that exceed one month will be displayed after a delay, so that users can view the fault types with many faults on the terminal when viewing the inspection tasks. .

应该理解的是,虽然图2的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of FIG. 2 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these sub-steps or stages The sequence is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a phase.

在一个实施例中,如图3所示,提供了一种地下电缆巡检任务配置装置,包括:In one embodiment, as shown in FIG. 3 , an apparatus for configuring an underground cable inspection task is provided, including:

日志获取模块100,用于获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志;The log obtaining module 100 is used for obtaining the log stored in the database, and extracting the abnormal log to be processed from the log according to the log label;

故障位置提取模块200,用于从所述待处理异常日志中提取故障的地下电缆的故障位置;A fault location extraction module 200, configured to extract the fault location of the faulty underground cable from the to-be-processed exception log;

分类模块300,用于根据所述故障位置对所述待处理异常日志进行分类;A classification module 300, configured to classify the to-be-processed exception log according to the fault location;

第一判断模块400,用于获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;The first judgment module 400 is used for obtaining the quantity of the abnormal logs to be processed in each category, and judging whether the quantity exceeds a preset value;

巡检任务生成模块500,用于若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;An inspection task generation module 500, configured to generate an inspection task according to the to-be-processed exception log if the number exceeds a preset value;

第一发送模块600,用于将所述巡检任务发送给与所述故障位置对应的处理终端。The first sending module 600 is configured to send the inspection task to the processing terminal corresponding to the fault location.

在其中一个实施例中,所述日志获取模块,包括:In one embodiment, the log acquisition module includes:

日志获取单元,用于获取所述数据库中存储的日志以及已生成巡检任务的异常日志;a log obtaining unit, configured to obtain the logs stored in the database and the abnormal logs of the generated inspection tasks;

日志提取单元,用于根据日志标签从所述日志中提取初始异常日志;a log extraction unit, configured to extract an initial exception log from the log according to the log tag;

异常日志获取单元,用于根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志。The exception log obtaining unit is used to obtain the pending exception log according to the exception log of the generated inspection task and the initial exception log.

在其中一个实施例中,上述地下电缆巡检任务配置装置还可以包括:In one of the embodiments, the above-mentioned apparatus for configuring the underground cable inspection task may further include:

第二判断模块,用于提取已生成的巡检任务的故障位置,并判断所述待处理异常日志中是否存在与所述故障位置对应的待处理异常日志;a second judging module, configured to extract the fault location of the generated inspection task, and judge whether there is a to-be-processed abnormal log corresponding to the fault location in the to-be-processed abnormal log;

故障类型提取模块,用于当存在时,则提取所述待处理异常日志中的故障类型;A fault type extraction module, configured to extract the fault type in the to-be-processed exception log when it exists;

比对模块,用于将所提取的故障类型与所述巡检任务对应的故障类型进行比对;a comparison module, configured to compare the extracted fault type with the fault type corresponding to the inspection task;

第二发送模块,用于若所提取的故障类型与所述巡检任务对应的故障类型相同,则向所述故障位置对应的终端发送处理失败的信息。The second sending module is configured to send processing failure information to the terminal corresponding to the fault location if the extracted fault type is the same as the fault type corresponding to the inspection task.

在其中一个实施例中,上述地下电缆巡检任务配置装置还可以包括:In one of the embodiments, the above-mentioned apparatus for configuring the underground cable inspection task may further include:

时间获取模块,用于获取巡检任务的第一生成时间以及所述待处理异常日志的第二生成时间;a time acquisition module, configured to acquire the first generation time of the inspection task and the second generation time of the to-be-processed exception log;

差值计算单元,用于计算所述第一生成时间与所述第二生成时间的差值;a difference calculation unit, configured to calculate the difference between the first generation time and the second generation time;

所述第二发送模块还用于若所述差值小于时间预设值,则继续向所述故障位置对应的终端发送处理失败的信息。The second sending module is further configured to continue sending processing failure information to the terminal corresponding to the fault location if the difference is smaller than the time preset value.

在其中一个实施例中,上述地下电缆巡检任务配置装置还可以包括:In one of the embodiments, the above-mentioned apparatus for configuring the underground cable inspection task may further include:

绩效评分获取模块,用于获取所述故障位置对应的终端的责任人绩效评分;a performance score obtaining module, used for obtaining the performance score of the person in charge of the terminal corresponding to the fault location;

分数减少模块,用于减少所述责任人绩效评分。A score reduction module for reducing said responsible person performance score.

在其中一个实施例中,所述巡检任务生成模块包括:In one embodiment, the inspection task generation module includes:

故障类型提取单元,用于从所述待处理异常日志中提取故障类型;a fault type extraction unit, used to extract the fault type from the to-be-processed exception log;

统计单元,用于统计每一故障类型对应的故障次数以及出现时间;Statistical unit, used to count the number of faults and occurrence time corresponding to each fault type;

排序单元,用于分别根据所述故障次数和所述出现时间对所述故障类型进行排序;a sorting unit, configured to sort the fault types according to the number of faults and the occurrence time respectively;

生成单元,用于根据排序在前的预设数量的故障类型生成巡检任务。The generating unit is configured to generate inspection tasks according to a preset number of fault types in the first order.

关于地下电缆巡检任务配置装置的具体限定可以参见上文中对于地下电缆巡检任务配置方法的限定,在此不再赘述。上述地下电缆巡检任务配置装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the configuration device for the inspection task of the underground cable, please refer to the limitation of the configuration method for the inspection task of the underground cable above, which will not be repeated here. Each module in the above-mentioned underground cable inspection task configuration device can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储日志数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种地下电缆巡检任务配置方法。In one embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in FIG. 4 . The computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The computer device's database is used to store log data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an underground cable inspection task configuration method is realized.

本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 4 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志;从所述待处理异常日志中提取故障的地下电缆的故障位置;根据所述故障位置对所述待处理异常日志进行分类;获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;将所述巡检任务发送给与所述故障位置对应的处理终端。In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor implements the following steps: acquiring logs stored in a database, and retrieving logs from all logs according to log tags Extract the abnormal log to be processed from the log; extract the fault location of the faulty underground cable from the abnormal log to be processed; classify the abnormal log to be processed according to the fault location; obtain the abnormal log to be processed in each classification and determine whether the number exceeds the preset value; if the number exceeds the preset value, an inspection task is generated according to the abnormal log to be processed; the inspection task is sent to the corresponding fault location processing terminal.

在一个实施例中,处理器执行计算机程序时所实现的所述获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志,包括:获取所述数据库中存储的日志以及已生成巡检任务的异常日志;根据日志标签从所述日志中提取初始异常日志;根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志。In one embodiment, the acquiring the log stored in the database implemented by the processor when executing the computer program, and extracting the log of the exception to be processed from the log according to the log tag, includes: acquiring the log stored in the database and The exception log of the inspection task has been generated; the initial exception log is extracted from the log according to the log label; the pending exception log is obtained according to the exception log of the generated inspection task and the initial exception log.

在一个实施例中,处理器执行计算机程序时所实现的所述根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志之后,还包括:提取已生成的巡检任务的故障位置,并判断所述待处理异常日志中是否存在与所述故障位置对应的待处理异常日志;当存在时,则提取所述待处理异常日志中的故障类型;将所提取的故障类型与所述巡检任务对应的故障类型进行比对;若所提取的故障类型与所述巡检任务对应的故障类型相同,则向所述故障位置对应的终端发送处理失败的信息。In one embodiment, after the processor executes the computer program to obtain the exception log to be processed according to the exception log of the generated inspection task and the initial exception log, the method further includes: extracting the fault location of the generated inspection task , and judge whether there is a pending exception log corresponding to the fault location in the pending exception log; if there is, extract the fault type in the pending exception log; compare the extracted fault type with the The fault types corresponding to the inspection tasks are compared; if the extracted fault types are the same as the fault types corresponding to the inspection tasks, the processing failure information is sent to the terminal corresponding to the fault location.

在一个实施例中,处理器执行计算机程序时所实现的所述向所述故障位置对应的终端发送处理失败的信息之前,还包括:获取巡检任务的第一生成时间以及所述待处理异常日志的第二生成时间;计算所述第一生成时间与所述第二生成时间的差值;若所述差值小于时间预设值,则继续向所述故障位置对应的终端发送处理失败的信息。In one embodiment, before the sending the processing failure information to the terminal corresponding to the fault location, which is implemented when the processor executes the computer program, the method further includes: acquiring the first generation time of the inspection task and the to-be-handled exception The second generation time of the log; calculate the difference between the first generation time and the second generation time; if the difference is less than the time preset value, continue to send the processing failure to the terminal corresponding to the fault location. information.

在一个实施例中,处理器执行计算机程序时所实现的所述向所述故障位置对应的终端发送处理失败的信息之后,还包括:获取所述故障位置对应的终端的责任人绩效评分;减少所述责任人绩效评分。In one embodiment, after the processor executes the computer program, after the sending of the processing failure information to the terminal corresponding to the fault location, the method further includes: acquiring the person-in-charge performance score of the terminal corresponding to the fault location; reducing Said Responsible Person Performance Score.

在一个实施例中,处理器执行计算机程序时所实现的所述根据所述待处理异常日志生成巡检任务,包括:从所述待处理异常日志中提取故障类型;统计每一故障类型对应的故障次数以及出现时间;分别根据所述故障次数和所述出现时间对所述故障类型进行排序;根据排序在前的预设数量的故障类型生成巡检任务。In one embodiment, the generating an inspection task according to the to-be-processed exception log, which is implemented when the processor executes the computer program, includes: extracting fault types from the to-be-processed exception log; The number of faults and the occurrence time; the fault types are sorted according to the number of faults and the occurrence time respectively; an inspection task is generated according to a preset number of fault types in the first order.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志;从所述待处理异常日志中提取故障的地下电缆的故障位置;根据所述故障位置对所述待处理异常日志进行分类;获取每一分类中待处理异常日志的数量,并判断所述数量是否超过预设值;若所述数量超过预设值,则根据所述待处理异常日志生成巡检任务;将所述巡检任务发送给与所述故障位置对应的处理终端。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: acquiring a log stored in a database, and extracting a log from the log according to a log tag Extracting the abnormal log to be processed; extracting the fault location of the faulty underground cable from the abnormal log to be processed; classifying the abnormal log to be processed according to the fault location; obtaining the number of abnormal logs to be processed in each classification, And judge whether the number exceeds the preset value; if the number exceeds the preset value, generate an inspection task according to the abnormal log to be processed; send the inspection task to the processing terminal corresponding to the fault location .

在一个实施例中,计算机程序被处理器执行时所实现的所述获取数据库中存储的日志,并根据日志标签从所述日志中提取待处理异常日志,包括:获取所述数据库中存储的日志以及已生成巡检任务的异常日志;根据日志标签从所述日志中提取初始异常日志;根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志。In one embodiment, the obtaining of the log stored in the database, and extracting the log of the exception to be processed from the log according to the log tag, which is implemented when the computer program is executed by the processor, includes: obtaining the log stored in the database. and the abnormal log of the inspection task that has been generated; extract the initial abnormal log from the log according to the log label; obtain the abnormal log to be processed according to the abnormal log of the generated inspection task and the initial abnormal log.

在一个实施例中,计算机程序被处理器执行时所实现的所述根据已生成巡检任务的异常日志以及初始异常日志得到待处理异常日志之后,还包括:提取已生成的巡检任务的故障位置,并判断所述待处理异常日志中是否存在与所述故障位置对应的待处理异常日志;当存在时,则提取所述待处理异常日志中的故障类型;将所提取的故障类型与所述巡检任务对应的故障类型进行比对;若所提取的故障类型与所述巡检任务对应的故障类型相同,则向所述故障位置对应的终端发送处理失败的信息。In one embodiment, after the abnormal log to be processed is obtained according to the abnormal log of the generated inspection task and the initial abnormal log, which is realized when the computer program is executed by the processor, the method further includes: extracting the fault of the generated inspection task location, and determine whether there is a pending exception log corresponding to the fault location in the pending exception log; if so, extract the fault type in the pending exception log; compare the extracted fault type with all The fault type corresponding to the inspection task is compared; if the extracted fault type is the same as the fault type corresponding to the inspection task, the processing failure information is sent to the terminal corresponding to the fault location.

在一个实施例中,计算机程序被处理器执行时所实现的所述向所述故障位置对应的终端发送处理失败的信息之前,还包括:获取巡检任务的第一生成时间以及所述待处理异常日志的第二生成时间;计算所述第一生成时间与所述第二生成时间的差值;若所述差值小于时间预设值,则继续向所述故障位置对应的终端发送处理失败的信息。In one embodiment, before the sending the processing failure information to the terminal corresponding to the fault location, which is implemented when the computer program is executed by the processor, further includes: acquiring the first generation time of the inspection task and the to-be-processed task The second generation time of the abnormal log; calculate the difference between the first generation time and the second generation time; if the difference is less than the time preset value, continue to send the processing failure to the terminal corresponding to the fault location Information.

在一个实施例中,计算机程序被处理器执行时所实现的所述向所述故障位置对应的终端发送处理失败的信息之后,还包括:获取所述故障位置对应的终端的责任人绩效评分;减少所述责任人绩效评分。In one embodiment, after the computer program is executed by the processor, after the sending of the processing failure information to the terminal corresponding to the fault location, the method further includes: acquiring the person-in-charge performance score of the terminal corresponding to the fault location; Decrease said responsible person performance score.

在一个实施例中,计算机程序被处理器执行时所实现的所述根据所述待处理异常日志生成巡检任务,包括:从所述待处理异常日志中提取故障类型;统计每一故障类型对应的故障次数以及出现时间;分别根据所述故障次数和所述出现时间对所述故障类型进行排序;根据排序在前的预设数量的故障类型生成巡检任务。In one embodiment, when the computer program is executed by the processor, the generating the inspection task according to the exception log to be processed includes: extracting fault types from the exception log to be processed; The number of faults and the occurrence time of the faults; the fault types are sorted according to the number of faults and the occurrence time respectively; the inspection task is generated according to the preset number of fault types in the first order.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (8)

1. A method for configuring an underground cable inspection task, the method comprising:
acquiring logs stored in a database, and extracting abnormal logs to be processed from the logs according to log labels, wherein the log labels comprise fault labels and normal labels;
extracting the fault position of the faulted underground cable from the abnormal log to be processed;
classifying the abnormal logs to be processed according to the fault positions;
acquiring the number of abnormal logs to be processed in each classification, and judging whether the number exceeds a preset value or not;
if the number exceeds a preset value, generating a routing inspection task according to the abnormal log to be processed;
sending the inspection task to a processing terminal corresponding to the fault position;
the acquiring the log stored in the database and extracting the abnormal log to be processed from the log according to the log label comprises the following steps:
acquiring logs stored in the database and abnormal logs of generated routing inspection tasks;
extracting an initial abnormal log from the log according to the log label;
and obtaining an abnormal log to be processed according to the abnormal log of the generated inspection task and the initial abnormal log, wherein the abnormal log of the generated inspection task is deleted from the initial abnormal log to obtain the abnormal log to be processed.
2. The method according to claim 1, wherein after obtaining the exception log to be processed according to the exception log of the generated patrol task and the initial exception log, the method further comprises:
extracting a fault position of the generated inspection task, and judging whether the abnormal log to be processed has an abnormal log to be processed corresponding to the fault position;
if so, extracting the fault type in the abnormal log to be processed;
comparing the extracted fault type with a fault type corresponding to the inspection task;
and if the extracted fault type is the same as the fault type corresponding to the inspection task, sending information of processing failure to a terminal corresponding to the fault position.
3. The method according to claim 2, wherein before sending the information of processing failure to the terminal corresponding to the failure location, further comprising:
acquiring first generation time of a routing inspection task and second generation time of the abnormal log to be processed;
calculating a difference between the first generation time and the second generation time;
and if the difference is smaller than the preset time value, continuously sending information of processing failure to the terminal corresponding to the fault position.
4. The method according to claim 3, wherein after sending the information of processing failure to the terminal corresponding to the failure location, further comprising:
obtaining the performance score of a responsible person of a terminal corresponding to the fault position;
reducing the responsible person performance score.
5. The method of claim 1, wherein generating a patrol task from the to-be-processed exception log comprises:
extracting a fault type from the abnormal log to be processed;
counting the failure times and occurrence time corresponding to each failure type;
sorting the fault types according to the fault times and the occurrence time respectively;
and generating the routing inspection task according to the fault types of the preset number sequenced at the top.
6. The utility model provides an underground cable patrols and examines task configuration device which characterized in that, the device includes:
the log acquisition module is used for acquiring logs stored in the database and extracting abnormal logs to be processed from the logs according to log labels, wherein the log labels comprise fault labels and normal labels;
the fault position extraction module is used for extracting the fault position of the underground cable with the fault from the abnormal log to be processed;
the classification module is used for classifying the abnormal logs to be processed according to the fault positions;
the first judgment module is used for acquiring the number of the abnormal logs to be processed in each classification and judging whether the number exceeds a preset value;
the inspection task generating module is used for generating an inspection task according to the abnormal log to be processed if the number exceeds a preset value;
the first sending module is used for sending the inspection task to a processing terminal corresponding to the fault position;
the log obtaining module comprises:
the log acquisition unit is used for acquiring logs stored in the database and abnormal logs of generated inspection tasks;
the log extraction unit is used for extracting an initial abnormal log from the log according to the log label;
and the abnormal log acquiring unit is used for acquiring an abnormal log to be processed according to the abnormal log of the generated inspection task and the initial abnormal log, and deleting the abnormal log of the generated inspection task from the initial abnormal log to acquire the abnormal log to be processed.
7. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201911039614.XA 2019-10-29 2019-10-29 Underground cable inspection task configuration method and device Active CN110838940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911039614.XA CN110838940B (en) 2019-10-29 2019-10-29 Underground cable inspection task configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911039614.XA CN110838940B (en) 2019-10-29 2019-10-29 Underground cable inspection task configuration method and device

Publications (2)

Publication Number Publication Date
CN110838940A CN110838940A (en) 2020-02-25
CN110838940B true CN110838940B (en) 2022-09-30

Family

ID=69575841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911039614.XA Active CN110838940B (en) 2019-10-29 2019-10-29 Underground cable inspection task configuration method and device

Country Status (1)

Country Link
CN (1) CN110838940B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309511A (en) * 2020-02-26 2020-06-19 平安国际智慧城市科技股份有限公司 A method, device and terminal for processing application operation data
CN113590432A (en) * 2021-09-28 2021-11-02 云和恩墨(北京)信息技术有限公司 Database inspection method and device
CN115272890B (en) * 2022-07-27 2023-08-22 杭州亚太工程管理咨询有限公司 Hydraulic engineering data acquisition system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6845148B1 (en) * 2000-06-16 2005-01-18 Bellsouth Intellectual Property Corporation Utilities module for proactive maintenance application
CN107994539A (en) * 2017-12-06 2018-05-04 国网山东省电力公司滨州市滨城区供电公司 A kind of distribution line failure detecting system based on Cloud Server
CN108593260A (en) * 2018-04-24 2018-09-28 国家电网公司 Lightguide cable link fault location and detection method and terminal device
CN108759933A (en) * 2018-08-10 2018-11-06 广州供电局有限公司 Monitoring device and system for underground cable
CN109905885A (en) * 2018-04-12 2019-06-18 华为技术有限公司 A method for determining a list of base stations for inspection and inspection device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6845148B1 (en) * 2000-06-16 2005-01-18 Bellsouth Intellectual Property Corporation Utilities module for proactive maintenance application
CN107994539A (en) * 2017-12-06 2018-05-04 国网山东省电力公司滨州市滨城区供电公司 A kind of distribution line failure detecting system based on Cloud Server
CN109905885A (en) * 2018-04-12 2019-06-18 华为技术有限公司 A method for determining a list of base stations for inspection and inspection device
CN108593260A (en) * 2018-04-24 2018-09-28 国家电网公司 Lightguide cable link fault location and detection method and terminal device
CN108759933A (en) * 2018-08-10 2018-11-06 广州供电局有限公司 Monitoring device and system for underground cable

Also Published As

Publication number Publication date
CN110838940A (en) 2020-02-25

Similar Documents

Publication Publication Date Title
CN110838940B (en) Underground cable inspection task configuration method and device
CN110868241B (en) Method and device for early warning of underground cable fault based on multi-model
CN109840157A (en) Method, apparatus, electronic equipment and the storage medium of fault diagnosis
CN110798245B (en) Method and device for early warning of underground cable fault based on single model
CN110908883A (en) User portrait data monitoring method, system, equipment and storage medium
CN110763952A (en) Underground cable fault monitoring method and device
CN109191021B (en) Association rule matching method and device for power grid abnormal event
CN109325010B (en) Log checking method, device, computer equipment and storage medium
CN110837956A (en) Method and device for allocating inspection tasks of underground cables
CN113419950A (en) Method and device for generating UI automation script, computer equipment and storage medium
CN110866634A (en) Method and device for early warning of underground cable fault based on model selection
CN110825923A (en) Method and device for repairing underground cable fault based on single model
CN116089541B (en) Abnormal identification method for massive real estate registration data
CN113672507A (en) Software source code detection method, device, computer equipment and storage medium
CN110889357A (en) Underground cable fault detection method and device based on marked area
CN115967166A (en) Power transmission line monitoring method and device, computer equipment and storage medium
CN118734024A (en) A water and electricity pipeline monitoring method, system, equipment and medium based on BIM
CN113760666A (en) System exception processing method, device and storage medium
CN116506276B (en) A method and system for mining alarm data correlation
CN113806204A (en) Method, device, system and storage medium for evaluating message field correlation
CN110781232A (en) Data processing method, data processing device, computer equipment and storage medium
CN108846455A (en) A kind of method and terminal device of the protective relaying device maintenance based on two dimensional code
CN118590310B (en) User attack behavior recognition method and device, electronic equipment and storage medium
CN110851670A (en) Underground cable fault repair method and device
CN116150233B (en) Minimum mapping processing method and system for active power distribution station operation state data

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240112

Address after: 411102 No.16, Xingfu Road, Bantang Street, High tech Zone, Xiangtan City, Hunan Province

Patentee after: HUNAN GUOAO POWER EQUIPMENT Co.,Ltd.

Address before: 411100 66 new road, twin Horse Street, Xiangtan high tech Zone, Hunan

Patentee before: HUNAN GUOAO POWER EQUIPMENT Co.,Ltd.

Patentee before: Yuan Maoyin