Movatterモバイル変換


[0]ホーム

URL:


CN114358337A - Method, system, storage medium and device for generating power line inspection work order - Google Patents

Method, system, storage medium and device for generating power line inspection work order
Download PDF

Info

Publication number
CN114358337A
CN114358337ACN202111643464.0ACN202111643464ACN114358337ACN 114358337 ACN114358337 ACN 114358337ACN 202111643464 ACN202111643464 ACN 202111643464ACN 114358337 ACN114358337 ACN 114358337A
Authority
CN
China
Prior art keywords
patrol
team
duration
total
patrolled
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
CN202111643464.0A
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.)
Tellhow Software Co ltd
Original Assignee
Tellhow Software 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 Tellhow Software Co ltdfiledCriticalTellhow Software Co ltd
Priority to CN202111643464.0ApriorityCriticalpatent/CN114358337A/en
Publication of CN114358337ApublicationCriticalpatent/CN114358337A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention provides a method, a system, a storage medium and equipment for generating a power line patrol work order, wherein the method comprises the following steps: calculating the total patrol duration of each line to be patrolled according to the line information of each line to be patrolled; calculating the disposable time length of each patrol team according to the work information of each patrol team; sequencing all patrol teams according to the increasing sequence of the disposable duration of the patrol teams from small to large and generating a team sequencing table; and according to the total patrol duration of each line to be patrolled and the disposable duration of each patrol team, sequentially distributing the lines to be patrolled to all patrol teams according to the team sequence table according to a preset distribution rule so as to generate corresponding work orders. Work orders are distributed to the patrol groups according to the sequence that the length of time which can be controlled is from small to large, so that matched lines to be patrolled can be preferentially found for the patrol groups with the length of time which can be distributed, and the phenomenon that no work order is generated in the patrol groups with the length of time which can be distributed can be avoided as much as possible.

Description

Translated fromChinese
电力线路巡视工单的生成方法、系统、存储介质及设备Method, system, storage medium and device for generating power line inspection work order

技术领域technical field

本发明涉及电力管理领域,特别是涉及一种电力线路巡视工单的生成方法、系统、存储介质及设备。The invention relates to the field of power management, in particular to a method, system, storage medium and device for generating a power line inspection work order.

背景技术Background technique

在电力系统中,任何设备的故障,都有可能影响安全生产,给电力企业带来损失及危险,因此,定期对线路进行巡检及管理是非常必要的。In the power system, the failure of any equipment may affect safe production and bring losses and dangers to power companies. Therefore, it is very necessary to regularly inspect and manage the lines.

目前许多电力生产企业主要还是依靠人工进行设备的管理及巡视任务的分配,这样不仅浪费管理人力,还无法保证巡视任务分配的合理性及分配效率,如果出现巡视任务分配不合理的情况,可能导致后期的巡视工作无法合理有效的推进,也可能出现巡视人员可支配时长大量浪费的现象。因此,需要提供一种电力线路巡视工单的自动编排或生成方法来解决这些问题。At present, many power production enterprises mainly rely on manual management of equipment and assignment of inspection tasks, which not only wastes management manpower, but also cannot guarantee the rationality and efficiency of inspection task assignment. The inspection work in the later stage cannot be carried out reasonably and effectively, and there may also be a phenomenon that a large amount of time at the disposal of inspection personnel is wasted. Therefore, it is necessary to provide an automatic scheduling or generating method for power line inspection work orders to solve these problems.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提出一种电力线路巡视工单的生成方法、系统、存储介质及设备,以解决目前依靠人工进行设备的管理及巡视任务的分配,这样不仅浪费管理人力,还无法保证巡视任务分配的合理性及分配效率的问题。The purpose of the present invention is to propose a method, system, storage medium and equipment for generating a power line inspection work order, so as to solve the problem of currently relying on manual management of equipment and distribution of inspection tasks, which not only wastes management manpower, but also cannot guarantee inspection tasks. Distribution rationality and distribution efficiency.

本发明提出一种电力线路巡视工单的生成方法,所述方法包括:The present invention provides a method for generating a power line inspection work order, the method comprising:

实时获取数据库中所有待巡视线路的线路信息及所有巡视班组的工作信息;Obtain the line information of all lines to be inspected and the work information of all inspection teams in the database in real time;

根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长;Calculate the total patrol duration of each of the to-be-traveled routes according to the route information of each of the to-be-travelled routes;

根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长;Calculate the available time length of each said patrol team according to the work information of each said patrol team;

按照所述巡视班组的可支配时长的从小到大的递增顺序对所有所述巡视班组进行排序并生成班组排序表;Sort all the patrol teams according to the increasing order of the disposable duration of the patrol teams and generate a team sorting table;

根据每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长,并按照预设分配规则为所有所述巡视班组依所述班组排序表顺序分配所述待巡视线路以生成对应的工单。According to the total patrol time of each said to-be-inspected line and the disposable time of each said patrol team, and according to the preset allocation rules, the to-be- patrol line is allocated to all the patrol teams according to the sequence of the team ranking table to Generate the corresponding work order.

根据本发明提出的电力线路巡视工单的生成方法,具有以下有益效果:The method for generating a power line inspection work order proposed by the present invention has the following beneficial effects:

本发明为巡视班组自动匹配合适的待巡视线路并生成巡视工单,根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长,根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长,在获取到每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长后,再按照所述巡视班组的可支配时长的从小到大的递增顺序对所有所述巡视班组进行排序并生成班组排序表,并按照预设分配规则依班组排序表的顺序依次为班组排序表中的所述巡视班组配置巡视总时长匹配的待巡视线路,这种配置方式使得工单有序生成,且由于可支配时长长的所述巡视班组时间充裕,可选择的匹配方式更多,不仅可以匹配单个工单,还可以匹配多个组合工单,无论先后匹配都容易找到可匹配的工单,但如果优先进行匹配,就容易把可与可支配时长短的巡视班组匹配的待巡视线路所占用,造成其他巡视班组无法匹配到更合适的待巡视线路,而按照本发明的匹配方式:对所述巡视班组按可支配时长由小到大的顺序分配工单,便可以为可支配时长短的所述巡视班组优先找到匹配的待巡视线路,能够尽量避免可支配时长短的所述巡视班组无工单生成的现象发生,避免造成一些巡视班组的浪费。The present invention automatically matches suitable lines to be inspected and generates inspection work orders for inspection teams, calculates the total inspection time of each line to be inspected according to the line information of each line to be inspected, and calculates the total inspection time of each line to be inspected according to the line information of each line to be inspected. The work information calculates the available time of each said patrol team. After obtaining the total patrol time of each said line to be patrolled and the available time of each said patrol team, then according to the available time of said patrol team. Sort all the patrol teams in the ascending order of duration and generate a team ranking table, and configure the total patrol duration matching for the patrol teams in the team ranking table according to the preset distribution rules according to the order of the team ranking table. This configuration method enables the orderly generation of work orders, and due to the abundant time of the patrol team with a long disposable time, there are more matching methods to choose from, not only can match a single work order, but also can match multiple Combining work orders, it is easy to find work orders that can be matched regardless of the matching order, but if matching is performed first, it is easy to occupy the to-be-inspected line that can match the inspection team with the disposable time, resulting in other inspection teams unable to match more. Appropriate routes to be patrolled, and according to the matching method of the present invention: assigning work orders to the patrol teams in ascending order of the disposable duration, so that the patrol teams with short disposable durations can be prioritized to find the matching to-be-watch. The patrol route can try to avoid the phenomenon that the patrol team with a short disposable time does not generate a work order, and avoid the waste of some patrol teams.

另外,根据本发明提供的电力线路巡视工单的生成方法,还可以具有如下附加的技术特征:In addition, the method for generating a power line inspection work order provided by the present invention may also have the following additional technical features:

进一步地,所述根据每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长,并按照预设分配规则为所有所述巡视班组依所述班组排序表顺序分配所述待巡视线路以生成对应的工单的步骤包括:Further, according to the total patrol duration of each of the routes to be patrolled and the disposable duration of each of the patrol teams, and according to the preset allocation rules, all the patrol teams are allocated in the order of the team ranking table. The steps of describing the line to be inspected to generate a corresponding work order include:

依序对所述班组排序表中的所有所述巡视班组进行一次遍历,且一次遍历过程中,根据每个所述巡视班组的可支配时长、每条所述待巡视线路的巡视总时长及第一预设时间阈值对每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单;Perform a traversal of all the patrol teams in the team sorting table in sequence, and in a traversal process, according to the disposable duration of each of the patrol teams, the total patrol duration of each of the routes to be patrolled, and the number of A preset time threshold is used to judge whether each of the patrol teams can generate a work order, and to assign the matched line to be patrolled to the patrol team that can generate a work order to generate a work order;

依序对所述班组排序表中未生成工单的所有所述巡视班组进行二次遍历,且二次遍历过程中,根据未生成工单的每个所述巡视班组的可支配时长、未生成工单的每条所述待巡视线路的巡视总时长及第二预设时间阈值对未生成工单的每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单,其中,所述第二预设时间阈值大于所述第一预设时间阈值;Perform a secondary traversal of all the patrol teams that have not generated work orders in the team sorting table in sequence, and during the secondary traversal process, The total patrol duration of each of the lines to be patrolled and the second preset time threshold of the work order determine whether each patrol team that has not generated a work order can generate a work order, and determine whether the patrol can generate a work order. assigning the matched line to be inspected to generate a work order, wherein the second preset time threshold is greater than the first preset time threshold;

对所述班组排序表中未生成工单的所有所述巡视班组进行多次遍历,每次遍历过程中的预设时间阈值都比前一次遍历的预设时间阈值大,直至所有所述巡视班组全部生成工单或所有所述待巡视线路全部被分配,则停止循环遍历。Perform multiple traversals on all the patrol teams that have not generated work orders in the team ranking table, and the preset time threshold in each traversal process is greater than the preset time threshold of the previous traversal, until all the patrol teams. If all work orders are generated or all the lines to be inspected are all allocated, the loop traversal is stopped.

进一步地,所述依序对所述班组排序表中的所有所述巡视班组进行一次遍历,且一次遍历过程中,根据每个所述巡视班组的可支配时长、每条所述待巡视线路的巡视总时长及第一预设时间阈值对每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单的步骤包括:Further, a traversal is carried out to all the patrol teams in the team sorting table in sequence, and in a traversal process, according to the disposable time length of each of the patrol teams, the length of each of the to-be- patrolled routes. The steps of judging whether each of the patrol teams can generate a work order and assigning the matching line to be patrolled to the patrol team that can generate the work order to generate the work order include the total patrol duration and the first preset time threshold. :

依所述班组排序表顺序提取第一目标巡视班组,并判断是否存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长;Extracting the first target patrol team according to the sequence of the team ranking table, and judging whether there is a total duration of the patrol that is less than the disposable duration of the first target patrol team;

若存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长,则提取小于所述第一目标巡视班组的可支配时长的所有所述巡视总时长并依次与所述第一目标巡视班组的可支配时长相减及取绝对值以得到对应的时长差值;If there is the total patrol duration that is less than the available duration of the first target patrol team, extract all the total patrol durations that are less than the available duration of the first target patrol team, and sequentially match the total patrol duration with the first target patrol team. Subtract the available duration of the patrol team and take the absolute value to obtain the corresponding duration difference;

判断是否存在小于第一预设时间阈值的所述时长差值;judging whether there is the time length difference less than the first preset time threshold;

若存在小于第一预设时间阈值的所述时长差值,则从小于第一预设时间阈值的所有所述时长差值中筛选出最小的所述时长差值,并将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的一份工单。If there is the duration difference value smaller than the first preset time threshold, the smallest duration difference value is selected from all the duration difference values smaller than the first preset time threshold value, and the corresponding pending duration difference value is selected. A patrol line is assigned to the first target patrol team to generate a work order for the first target patrol team.

进一步地,所述判断是否存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长的步骤后还包括:Further, after the step of judging whether there is the total duration of the patrol that is less than the disposable duration of the first target patrol team, it also includes:

若不存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If there is no total patrol duration shorter than the disposable duration of the first target patrol team, extract the next patrol team that is longer than the disposable duration of the first target patrol team according to the sequence of the team sorting table , and determine whether there is the total patrol duration that is less than the available duration of the next patrol team.

进一步地,所述判断是否存在小于第一预设时间阈值的所述时长差值的步骤后还包括:Further, after the step of judging whether there is the time length difference smaller than the first preset time threshold value, the step further includes:

若不存在小于第一预设时间阈值的所述时长差值,则将所有所述待巡视线路的巡视总时长分别进行两两组合相加以得到二次叠加巡视总时长;If there is no said duration difference less than the first preset time threshold, then the total duration of patrols of all the routes to be patrolled are added in two-by-two combinations to obtain the total duration of secondary superimposed patrols;

判断是否存在小于所述第一目标巡视班组的可支配时长的所述二次叠加巡视总时长;Judging whether there is a total duration of the secondary superimposed inspection that is less than the disposable duration of the first target inspection team;

若存在小于所述第一目标巡视班组的可支配时长的所述二次叠加巡视总时长,则提取小于所述第一目标巡视班组的可支配时长的所有所述二次叠加巡视总时长并依次与所述第一目标巡视班组的可支配时长相减及取绝对值以得到对应的二次叠加时长差值;If there is the total duration of the secondary superimposed inspections that is less than the disposable duration of the first target inspection team, extract all the total durations of the secondary superimposed inspections that are less than the disposable duration of the first target inspection team and sequentially Subtract and take the absolute value from the disposable duration of the first target patrol team to obtain the corresponding secondary superimposed duration difference;

判断是否存在小于第一预设时间阈值的所述二次叠加时长差值;judging whether there is a difference in the duration of the secondary superposition that is less than a first preset time threshold;

若存在小于第一预设时间阈值的所述二次叠加时长差值,则从小于第一预设时间阈值的所有所述二次叠加时长差值中筛选出最小的所述二次叠加时长差值,并将对应的两条所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的两份工单。If there is the secondary stacking duration difference that is less than the first preset time threshold, the smallest secondary stacking duration difference is selected from all the secondary stacking duration differences that are less than the first preset time threshold value, and assign the corresponding two lines to be patrolled to the first target patrol team to generate two work orders for the first target patrol team.

进一步地,所述判断是否存在小于第一预设时间阈值的所述二次叠加时长差值的步骤后还包括:Further, after the step of judging whether there is a difference in the duration of the secondary superposition that is less than the first preset time threshold, the step further includes:

若不存在小于第一预设时间阈值的所述二次叠加时长差值,则将所有所述待巡视线路的巡视总时长分别进行三个组合相加以得到三次叠加巡视总时长,并判断是否存在小于所述第一目标巡视班组的可支配时长的所述三次叠加巡视总时长。If there is no difference between the secondary superimposed durations that is less than the first preset time threshold, the total patrol durations of all the lines to be patrolled are added in three combinations to obtain the total superimposed patrol durations three times, and it is judged whether there is any The total duration of the three superimposed inspections is less than the available duration of the first target inspection team.

进一步地,所述依序对所述班组排序表中未生成工单的所有所述巡视班组进行二次遍历,且二次遍历过程中,根据未生成工单的每个所述巡视班组的可支配时长、未生成工单的每条所述待巡视线路的巡视总时长及第二预设时间阈值对未生成工单的每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单的步骤包括:Further, the second traversal is performed on all the inspection teams that have not generated work orders in the team sorting table in sequence, and during the second traversal process, according to the availability of each of the inspection teams that have not generated work orders. The dominant duration, the total patrol duration of each of the lines to be patrolled that have not generated a work order, and the second preset time threshold are used to determine whether each of the patrol teams that have not generated a work order can generate a work order, and determine whether a work order can be generated. The step of allocating the matching line to be inspected by the inspection team of the order to generate a work order includes:

依序提取所述班组排序表中未生成工单的所述第二目标巡视班组,并判断未被分配的所有所述待巡视线路的巡视总时长中是否存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长;Sequentially extract the second target patrol team that has not generated a work order in the team ranking table, and determine whether there is a patrol team that is less than the second target patrol team in the total patrol duration of all the unassigned lines to be patrolled. the total duration of said tour of the discretionary duration;

若未被分配的所有所述待巡视线路的巡视总时长中存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长,则提取小于所述第二目标巡视班组的可支配时长的所有所述巡视总时长并依次与所述第三目标巡视班组的可支配时长相减及取绝对值以得到对应的时长差值;If there is a total patrol time that is less than the disposable time of the second target patrol team in the total patrol time of all the lines to be patrolled that are not assigned, extract the total patrol time that is less than the disposable time of the second target patrol team The total duration of all the patrols is subtracted from the disposable duration of the third target patrol team in turn and the absolute value is obtained to obtain the corresponding duration difference;

判断是否存在小于所述第二预设时间阈值的所述时长差值;judging whether there is the difference in duration that is less than the second preset time threshold;

若存在小于所述第二预设时间阈值的所述时长差值,则从小于所述第二预设时间阈值的所有所述时长差值中筛选出最小的所述时长差值,并将对应的所述待巡视线路分配给所述第二目标巡视班组以生成所述第二目标巡视班组的一份工单。If there is the duration difference that is smaller than the second preset time threshold, the smallest duration difference is selected from all the duration differences smaller than the second preset time threshold, and the corresponding The line to be patrolled is allocated to the second target patrol team to generate a work order for the second target patrol team.

本发明还提出一种电力线路巡视工单的生成系统,包括:The present invention also proposes a system for generating a power line inspection work order, including:

获取模块:用于实时获取数据库中所有待巡视线路的线路信息及所有巡视班组的工作信息;Acquisition module: used to acquire the line information of all the lines to be patrolled and the work information of all patrol teams in the database in real time;

第一计算模块:用于根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长;The first calculation module: used to calculate the total patrol duration of each of the lines to be patrolled according to the line information of each of the lines to be patrolled;

第二计算模块:用于根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长;The second calculation module: for calculating the disposable time length of each said patrol team according to the work information of each said patrol team;

生成模块:用于按照所述巡视班组的可支配时长的从小到大的递增顺序对所有所述巡视班组进行排序并生成班组排序表;Generating module: used to sort all the patrol teams according to the increasing order of the disposable duration of the patrol teams and generate a team sorting table;

分配模块:用于根据每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长,并按照预设分配规则为所有所述巡视班组依所述班组排序表顺序分配所述待巡视线路以生成对应的工单。Allocation module: It is used to allocate all the patrol teams according to the total patrol time of each said line to be patrolled and the disposable time of each said patrol team, and according to the preset allocation rules for all the patrol teams according to the sequence of the team sorting table. Describe the line to be patrolled to generate the corresponding work order.

本发明还提出一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的电力线路巡视工单的生成方法。The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for generating a power line inspection work order is implemented.

本发明还提出一种电力线路巡视工单的生成设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述的电力线路巡视工单的生成方法。The present invention also provides a power line inspection work order generating device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the above-mentioned power line when executing the program. The generation method of the inspection work order.

本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1为本发明第一实施例电力线路巡视工单的生成方法的流程图;1 is a flowchart of a method for generating a power line inspection work order according to the first embodiment of the present invention;

图2为本发明第二实施例电力线路巡视工单的生成系统的系统框图;2 is a system block diagram of a system for generating a power line inspection work order according to a second embodiment of the present invention;

图3为本发明第三实施例电力线路巡视工单的生成设备的结构示意图。FIG. 3 is a schematic structural diagram of a device for generating a power line inspection work order according to a third embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、特征和优点能够更加明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。附图中给出了本发明的若干实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容更加透彻全面。In order to make the objects, features and advantages of the present invention more clearly understood, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Several embodiments of the invention are presented in the accompanying drawings. However, the present invention may be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.

实施例1Example 1

如图1所示,本发明的实施例提供一种电力线路巡视工单的生成方法,包括步骤S101~S105。As shown in FIG. 1, an embodiment of the present invention provides a method for generating a power line inspection work order, including steps S101-S105.

S101,实时获取数据库中所有待巡视线路的线路信息及所有巡视班组的工作信息。S101 , acquire line information of all lines to be inspected and work information of all inspection teams in the database in real time.

S102,根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长。S102: Calculate the total patrol duration of each of the lines to be patrolled according to the line information of each of the lines to be patrolled.

S103,根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长。S103: Calculate the disposable time length of each of the inspection teams according to the work information of each of the inspection teams.

S104,按照所述巡视班组的可支配时长的从小到大的递增顺序对所有所述巡视班组进行排序并生成班组排序表。S104: Sort all the patrol teams in an ascending order of the disposable duration of the patrol teams and generate a team ranking table.

S105,根据每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长,并按照预设分配规则为所有所述巡视班组依所述班组排序表顺序分配所述待巡视线路以生成对应的工单。S105, according to the total patrol duration of each of the lines to be patrolled and the disposable duration of each of the patrol teams, and according to a preset allocation rule, assign the patrol teams to all the patrol teams in the sequence of the team ranking table. line to generate the corresponding work order.

其中,所述根据每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长,并按照预设分配规则为所有所述巡视班组依所述班组排序表顺序分配所述待巡视线路以生成对应的工单的步骤包括:Wherein, according to the total patrol time of each of the lines to be patrolled and the disposable time of each of the patrol teams, and according to the preset allocation rules, all the patrol teams are allocated according to the sequence of the team ranking table. The steps of patrolling the line to generate the corresponding work order include:

依序对所述班组排序表中的所有所述巡视班组进行一次遍历,且一次遍历过程中,根据每个所述巡视班组的可支配时长、每条所述待巡视线路的巡视总时长及第一预设时间阈值对每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单;Perform a traversal of all the patrol teams in the team sorting table in sequence, and in a traversal process, according to the disposable duration of each of the patrol teams, the total patrol duration of each of the routes to be patrolled, and the number of A preset time threshold is used to judge whether each of the patrol teams can generate a work order, and to assign the matched line to be patrolled to the patrol team that can generate a work order to generate a work order;

依序对所述班组排序表中未生成工单的所有所述巡视班组进行二次遍历,且二次遍历过程中,根据未生成工单的每个所述巡视班组的可支配时长、未生成工单的每条所述待巡视线路的巡视总时长及第二预设时间阈值对未生成工单的每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单,其中,所述第二预设时间阈值大于所述第一预设时间阈值;Perform a secondary traversal of all the patrol teams that have not generated work orders in the team sorting table in sequence, and during the secondary traversal process, The total patrol duration of each of the lines to be patrolled and the second preset time threshold of the work order determine whether each patrol team that has not generated a work order can generate a work order, and determine whether the patrol can generate a work order. assigning the matched line to be inspected to generate a work order, wherein the second preset time threshold is greater than the first preset time threshold;

对所述班组排序表中未生成工单的所有所述巡视班组进行多次遍历,每次遍历过程中的预设时间阈值都比前一次遍历的预设时间阈值大,直至所有所述巡视班组全部生成工单或所有所述待巡视线路全部被分配,则停止循环遍历。Perform multiple traversals on all the patrol teams that have not generated work orders in the team ranking table, and the preset time threshold in each traversal process is greater than the preset time threshold of the previous traversal, until all the patrol teams. If all work orders are generated or all the lines to be inspected are all allocated, the loop traversal is stopped.

在循环遍历过程中,对每次用来进行对比判断的预设时间阈值进行依次加大,能够在尽可能的保证所述待巡视线路与所述巡视班组的匹配程度(即既不浪费也透支所述巡视班组的工时)的同时,也能够尽可能的保证为每条所述待巡视线路进行分配或为每个所述巡视班组生成工单。During the loop traversal process, the preset time thresholds used for each comparison and judgment are sequentially increased, so as to ensure the matching degree between the to-be-inspected line and the inspection team as much as possible (that is, neither waste nor overdraft While working hours of the patrol team), it is also possible to ensure that each line to be patrolled is allocated or a work order is generated for each patrol team as much as possible.

本发明的实施例,按一天工时8h来计,则所述第一预设时间阈值可以为2h,所述第二预设时间阈值可以为4h,如取第一预设时间阈值2h,则能够保证匹配并生成工单的所述待巡视线路的巡视总时长与所述巡视班组的可支配时长的相差时长限制在2h之内,如果2h之内的限制时长差值无法让所有所述待巡视线路或所有所述巡视班组匹配成功,则放宽时间限制,取第二预设时间阈值4h,则能够保证匹配并生成工单的所述待巡视线路的巡视总时长与所述巡视班组的可支配时长的相差时长限制在4h之内,以此类推,取不断加大的预设时间阈值,在保证良好的时长匹配度的同时,也尽可能的保证所有所述待巡视线路或所述巡视班组能够匹配成功。In the embodiment of the present invention, if one day's working hours are calculated as 8h, the first preset time threshold may be 2h, and the second preset time threshold may be 4h. For example, if the first preset time threshold is 2h, the The difference between the total patrol duration of the line to be patrolled that is guaranteed to match and generate a work order and the available duration of the patrol team is limited to within 2h. If the line or all of the patrol teams are successfully matched, the time limit is relaxed, and the second preset time threshold of 4h is taken to ensure that the total patrol time of the to-be- patrol line that matches and generates a work order and the control of the patrol team The difference between the durations is limited to within 4 hours, and so on, taking the preset time threshold value that increases continuously, while ensuring a good duration matching degree, it is also possible to ensure that all the lines to be inspected or the inspection teams are as far as possible. can match successfully.

进一步的,所述依序对所述班组排序表中的所有所述巡视班组进行一次遍历,且一次遍历过程中,根据每个所述巡视班组的可支配时长、每条所述待巡视线路的巡视总时长及第一预设时间阈值对每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单的步骤包括:Further, all the patrol teams in the team sorting table are traversed in sequence, and in a traversal process, according to the disposable time length of each of the patrol teams, the length of each of the lines to be patrolled. The steps of judging whether each of the patrol teams can generate a work order and assigning the matching line to be patrolled to the patrol team that can generate the work order to generate the work order include the total patrol duration and the first preset time threshold. :

依所述班组排序表顺序提取第一目标巡视班组,并判断是否存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长;Extracting the first target patrol team according to the sequence of the team ranking table, and judging whether there is a total duration of the patrol that is less than the disposable duration of the first target patrol team;

若存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长,则提取小于所述第一目标巡视班组的可支配时长的所有所述巡视总时长并依次与所述第一目标巡视班组的可支配时长相减及取绝对值以得到对应的时长差值;If there is the total patrol duration that is less than the available duration of the first target patrol team, extract all the total patrol durations that are less than the available duration of the first target patrol team, and sequentially match the total patrol duration with the first target patrol team. Subtract the available duration of the patrol team and take the absolute value to obtain the corresponding duration difference;

判断是否存在小于第一预设时间阈值的所述时长差值;judging whether there is the time length difference less than the first preset time threshold;

若存在小于第一预设时间阈值的所述时长差值,则从小于第一预设时间阈值的所有所述时长差值中筛选出最小的所述时长差值,并将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的一份工单。If there is the duration difference value smaller than the first preset time threshold, the smallest duration difference value is selected from all the duration difference values smaller than the first preset time threshold value, and the corresponding pending duration difference value is selected. A patrol line is assigned to the first target patrol team to generate a work order for the first target patrol team.

所述判断是否存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长的步骤后还包括:After the step of judging whether there is the total patrol duration that is less than the disposable duration of the first target patrol team, the step further includes:

若不存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If there is no total patrol duration shorter than the disposable duration of the first target patrol team, extract the next patrol team that is longer than the disposable duration of the first target patrol team according to the sequence of the team sorting table , and determine whether there is the total patrol duration that is less than the available duration of the next patrol team.

所述判断是否存在小于第一预设时间阈值的所述时长差值的步骤后还包括:After the step of judging whether there is the time length difference smaller than the first preset time threshold, the step further includes:

若不存在小于第一预设时间阈值的所述时长差值,则将所有所述待巡视线路的巡视总时长分别进行两两组合相加以得到二次叠加巡视总时长;If there is no said duration difference less than the first preset time threshold, then the total duration of patrols of all the routes to be patrolled are added in two-by-two combinations to obtain the total duration of secondary superimposed patrols;

判断是否存在小于所述第一目标巡视班组的可支配时长的所述二次叠加巡视总时长;Judging whether there is a total duration of the secondary superimposed inspection that is less than the disposable duration of the first target inspection team;

若存在小于所述第一目标巡视班组的可支配时长的所述二次叠加巡视总时长,则提取小于所述第一目标巡视班组的可支配时长的所有所述二次叠加巡视总时长并依次与所述第一目标巡视班组的可支配时长相减及取绝对值以得到对应的二次叠加时长差值;If there is the total duration of the secondary superimposed inspections that is less than the disposable duration of the first target inspection team, extract all the total durations of the secondary superimposed inspections that are less than the disposable duration of the first target inspection team and sequentially Subtract and take the absolute value from the disposable duration of the first target patrol team to obtain the corresponding secondary superimposed duration difference;

判断是否存在小于第一预设时间阈值的所述二次叠加时长差值;judging whether there is a difference in the duration of the secondary superposition that is less than a first preset time threshold;

若存在小于第一预设时间阈值的所述二次叠加时长差值,则从小于第一预设时间阈值的所有所述二次叠加时长差值中筛选出最小的所述二次叠加时长差值,并将对应的两条所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的两份工单。If there is the secondary stacking duration difference that is less than the first preset time threshold, the smallest secondary stacking duration difference is selected from all the secondary stacking duration differences that are less than the first preset time threshold value, and assign the corresponding two lines to be patrolled to the first target patrol team to generate two work orders for the first target patrol team.

所述判断是否存在小于第一预设时间阈值的所述二次叠加时长差值的步骤后还包括:The step of judging whether there is a difference in the duration of the secondary superimposition that is smaller than the first preset time threshold further includes:

若不存在小于第一预设时间阈值的所述二次叠加时长差值,则将所有所述待巡视线路的巡视总时长分别进行三个组合相加以得到三次叠加巡视总时长,并判断是否存在小于所述第一目标巡视班组的可支配时长的所述三次叠加巡视总时长。If there is no difference between the secondary superimposed durations that is less than the first preset time threshold, the total patrol durations of all the lines to be patrolled are added in three combinations to obtain the total superimposed patrol durations three times, and it is judged whether there is any The total duration of the three superimposed inspections is less than the available duration of the first target inspection team.

对所述待巡视线路的巡视总时长逐次进行组合叠加以得到叠加巡视总时长并与所述第一目标巡视班组的的可支配时长进行对比判断,直至找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的多分工单(每分配一条所述待巡视线路对应一份工单),则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。Combine and superimpose the total patrol duration of the line to be patrolled to obtain the superimposed total patrol duration and compare it with the disposable duration of the first target patrol team until it is found that the superimposed total patrol duration is less than the first target. For the lines to be patrolled with the available duration of the patrol team and the difference between the two is less than the first preset time threshold, the corresponding lines to be patrolled are allocated to the first target patrol team to generate the first patrol line. A multi-division work order for a target patrol team (each assigned one of the lines to be patrolled corresponds to a work order), then according to the sequence of the team sorting table, extract the next work order that is longer than the disposable time of the first target patrol team. Patrol the team, and determine whether there is the total patrol duration that is less than the available duration of the next patrol team.

若无法找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If it is not possible to find the to-be-patroled line whose total duration of the superimposed patrol is less than the disposable duration of the first target patrol team and the difference between the two is less than the first preset time threshold, then extract the route according to the sequence of the team ranking table that is greater than The first target patrol team is next to the available duration of the patrol team, and it is determined whether there is a total patrol duration that is less than the available duration of the next patrol team.

进一步的,所述依序对所述班组排序表中未生成工单的所有所述巡视班组进行二次遍历,且二次遍历过程中,根据未生成工单的每个所述巡视班组的可支配时长、未被分配的每条所述待巡视线路的巡视总时长及第二预设时间阈值对未生成工单的每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单的步骤包括:Further, the second traversal is performed on all the patrol teams that have not generated work orders in the team sorting table in sequence, and during the second traversal process, according to the availability of each of the patrol teams that have not generated work orders. The dominant duration, the unassigned total patrol duration of each of the lines to be patrolled, and the second preset time threshold are used to determine whether each of the patrol teams that have not generated a work order can generate a work order, and determine whether a work order can be generated. The step of assigning the matching line to be inspected by the inspection team to generate a work order includes:

依序提取所述班组排序表中未生成工单的所述第二目标巡视班组,并判断未被分配的所有所述待巡视线路的巡视总时长中是否存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长;Sequentially extract the second target patrol team that has not generated a work order in the team ranking table, and determine whether there is a patrol team that is less than the second target patrol team in the total patrol duration of all the unassigned lines to be patrolled. the total duration of said tour of the discretionary duration;

若未被分配的所有所述待巡视线路的巡视总时长中存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长,则提取小于所述第二目标巡视班组的可支配时长的所有所述巡视总时长并依次与所述第二目标巡视班组的可支配时长相减及取绝对值以得到对应的时长差值;If there is a total patrol time that is less than the disposable time of the second target patrol team in the total patrol time of all the lines to be patrolled that are not assigned, extract the total patrol time that is less than the disposable time of the second target patrol team The total duration of all the patrols is subtracted from the disposable duration of the second target patrol team in turn and the absolute value is obtained to obtain the corresponding duration difference;

判断是否存在小于所述第二预设时间阈值的所述时长差值;judging whether there is the difference in duration that is less than the second preset time threshold;

若存在小于所述第二预设时间阈值的所述时长差值,则从小于所述第二预设时间阈值的所有所述时长差值中筛选出最小的所述时长差值,并将对应的所述待巡视线路分配给所述第二目标巡视班组以生成所述第二目标巡视班组的一份工单。If there is the duration difference that is smaller than the second preset time threshold, the smallest duration difference is selected from all the duration differences smaller than the second preset time threshold, and the corresponding The line to be patrolled is allocated to the second target patrol team to generate a work order for the second target patrol team.

所述判断未被分配的所有所述待巡视线路的巡视总时长中是否存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长的步骤后还包括:After the step of judging whether there is a total patrol duration that is less than the disposable duration of the second target patrol team in the total patrol duration of all the unassigned lines to be patrolled, the step further includes:

若未被分配的所有所述待巡视线路的巡视总时长中不存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长,则依所述班组排序表顺序提取大于所述第二目标巡视班组的可支配时长的下一个未生成工单的所述巡视班组,并判断未被分配的所有所述待巡视线路的巡视总时长中是否存在小于下一个未生成工单的所述巡视班组的可支配时长的所述巡视总时长。If there is no total patrol duration that is less than the disposable duration of the second target patrol team in the total patrol duration of all the routes to be patrolled that are not allocated, then extract the total patrol duration that is longer than the second target patrol team according to the sequence of the team sorting table. The second target patrol team has the next patrol team that has not generated a work order, and judges whether the total patrol time of all the unassigned lines to be patrolled is shorter than the next non-generated work order. The total duration of said tour of the duration of the tour squad's discretionary duration.

所述判断是否存在小于所述第二预设时间阈值的所述时长差值的步骤后还包括:After the step of judging whether there is the difference in duration that is less than the second preset time threshold, the step further includes:

若不存在小于第二预设时间阈值的所述时长差值,则将未被分配的所有所述待巡视线路的巡视总时长分别进行两两组合相加以得到二次叠加巡视总时长;If there is no said duration difference less than the second preset time threshold, then the total duration of patrols of all the lines to be patrolled that are not allocated are added in pairs to obtain the total duration of secondary superimposed patrols;

判断是否存在小于所述第二目标巡视班组的可支配时长的所述二次叠加巡视总时长;Judging whether there is a total duration of the secondary superimposed inspection that is less than the disposable duration of the second target inspection team;

若存在小于所述第二目标巡视班组的可支配时长的所述二次叠加巡视总时长,则提取小于所述第二目标巡视班组的可支配时长的所有所述二次叠加巡视总时长并依次与所述第二目标巡视班组的可支配时长相减及取绝对值以得到对应的二次叠加时长差值;If there is the total duration of the secondary superimposed inspections that is less than the available duration of the second target inspection team, extract all the total durations of the secondary superimposed inspections that are less than the available duration of the second target inspection team and sequentially Subtract and take the absolute value from the available duration of the second target patrol team to obtain the corresponding secondary superimposed duration difference;

判断是否存在小于第二预设时间阈值的所述二次叠加时长差值;judging whether there is a difference in the duration of the secondary superposition that is less than a second preset time threshold;

若存在小于第二预设时间阈值的所述二次叠加时长差值,则从小于第二预设时间阈值的所有所述二次叠加时长差值中筛选出最小的所述二次叠加时长差值,并将对应的两条所述待巡视线路分配给所述第二目标巡视班组以生成所述第二目标巡视班组的两份工单。If there is the secondary stacking duration difference that is less than the second preset time threshold, the smallest secondary stacking duration difference is selected from all the secondary stacking duration differences that are less than the second preset time threshold value, and assign the corresponding two lines to be patrolled to the second target patrol team to generate two work orders for the second target patrol team.

所述判断是否存在小于第二预设时间阈值的所述二次叠加时长差值的步骤后还包括:The step of judging whether there is a difference in the duration of the secondary superimposition that is less than the second preset time threshold further includes:

若不存在小于第二预设时间阈值的所述二次叠加时长差值,则将未被分配的所有所述待巡视线路的巡视总时长分别进行三个组合相加以得到三次叠加巡视总时长,并判断是否存在小于所述第二目标巡视班组的可支配时长的所述三次叠加巡视总时长。If there is no difference between the secondary superimposed durations that is less than the second preset time threshold, the total patrol durations of all the unallocated lines to be patrolled are added in three combinations to obtain the total superimposed patrol durations three times. And determine whether there is the total duration of the three superimposed inspections that is less than the disposable duration of the second target inspection team.

对所述待巡视线路的巡视总时长逐次进行组合叠加以得到叠加巡视总时长并与所述第一目标巡视班组的的可支配时长进行对比判断,直至找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的多分工单(每分配一条所述待巡视线路对应一份工单),则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。Combine and superimpose the total patrol duration of the line to be patrolled to obtain the superimposed total patrol duration and compare it with the disposable duration of the first target patrol team until it is found that the superimposed total patrol duration is less than the first target. For the lines to be patrolled with the available duration of the patrol team and the difference between the two is less than the first preset time threshold, the corresponding lines to be patrolled are allocated to the first target patrol team to generate the first patrol line. A multi-division work order for a target patrol team (each assigned line to be patrolled corresponds to a work order), then according to the sequence of the team sorting table, extract the next work order that is longer than the disposable time of the first target patrol team. Patrol the team, and determine whether there is a total patrol duration that is less than the available duration of the next patrol team.

若无法找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If it is not possible to find the to-be-patroled line whose total duration of the superimposed patrol is less than the disposable duration of the first target patrol team and the difference between the two is less than the first preset time threshold, then extract the route according to the sequence of the team ranking table that is greater than The first target patrol team is next to the available duration of the patrol team, and it is determined whether there is a total patrol duration that is less than the available duration of the next patrol team.

所述实时获取数据库中所有待巡视线路的线路信息及所有巡视班组的工作信息的步骤中:In the step of obtaining the line information of all lines to be patrolled and the work information of all patrol teams in the database in real time:

所述待巡视线路的线路信息包括线路上的待巡视设备的类型、待巡视的各类型设备的数量、待巡视的各类型设备的巡视时长及线路总长;The line information of the line to be inspected includes the type of equipment to be inspected on the line, the number of various types of equipment to be inspected, the inspection duration of each type of equipment to be inspected, and the total length of the line;

所述巡视班组的工作信息包括班组中每人每天的可支配时长及其天数。The work information of the patrol team includes the daily disposable time and the number of days of each person in the team.

所述根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长的步骤包括:The step of calculating the total patrol duration of each of the lines to be patrolled according to the line information of each of the lines to be patrolled includes:

根据所述待巡视的各类型设备的数量和所述待巡视的各类型设备的巡视时长对所述待巡视线路上的所有设备的巡视总时长进行计算,计算公式为:According to the number of the various types of equipment to be patrolled and the patrol duration of the various types of equipment to be patrolled, the total patrol duration of all the devices on the to-be- patrolled line of sight is calculated, and the calculation formula is:

所述待巡视线路上的所有设备的巡视总时长=SUM(待巡视的各类型设备的数量*待巡视的各类型设备的巡视时长);The total patrol duration of all devices on the line of sight to be patrolled=SUM (the number of various types of devices to be patrolled*the patrol duration of various types of devices to be patrolled);

例如:待巡视线路X1上有n个待巡视的杆塔、m个待巡视的配变,每个杆塔配置的巡视时长为j小时,每个配变配置的巡视时长为k小时;For example: there are n towers to be inspected and m distribution transformers to be inspected on the line X1 to be inspected, the inspection duration configured for each tower is j hours, and the inspection duration configured for each distribution transformer is k hours;

则待巡视线路X1上的所有设备的巡视总时长=n*j+m*k;Then the total patrol duration of all devices on the line X1 to be patrolled=n*j+m*k;

根据所述线路总长及行驶速度对所述待巡视线路上耗费时长进行计算,计算公式为:According to the total length of the line and the driving speed, the time spent on the line to be inspected is calculated, and the calculation formula is:

所述待巡视线路上耗费时长=线路总长/行驶速度,其中,行驶速度可以为:山地(2km/h)、平地(5km/h)及其它(3km/h);The length of time spent on the line of sight to be inspected = the total length of the line/travel speed, where the travel speed can be: mountain (2km/h), flat land (5km/h) and others (3km/h);

根据所述待巡视线路上的所有设备的巡视总时长和所述待巡视线路上耗费时长对所述待巡视线路的巡视总时长进行计算,计算公式为:The total patrol duration of the to-be-traveled line is calculated according to the total patrol duration of all devices on the to-be- patrolled line of sight and the time spent on the to-be- patrolled line of sight. The calculation formula is:

所述待巡视线路的线路巡视总时长=所述待巡视线路上的所有设备的巡视总时长+所述待巡视线路上耗费时长。The total line patrol duration of the line to be patrolled = the total patrol duration of all devices on the line to be patrolled + the time spent on the line to be patrolled.

所述根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长的步骤包括:The step of calculating the disposable time length of each of the patrol teams according to the work information of each of the patrol teams includes:

根据所述巡视班组中每人每天的可支配时长及其天数计算所述巡视班组的可支配时长,计算公式为:Calculate the disposable time of the patrol team according to the daily disposable time of each person in the patrol team and the number of days. The calculation formula is:

所述巡视班组的可支配时长=SUM(每人每天的可支配时长*天数)。Disposable duration of the patrol team = SUM (disposable duration per person per day * number of days).

综上,本发明提供的一种电力线路巡视工单的生成方法,有益效果在于:本发明根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长,根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长,在获取到每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长后,再按照所述巡视班组的可支配时长的从小到大的递增顺序对所有所述巡视班组进行排序并生成班组排序表,并按照预设分配规则依班组排序表的顺序依次为班组排序表中的所述巡视班组配置巡视总时长匹配的待巡视线路,这种配置方式使得工单有序生成,且由于可支配时长长的所述巡视班组时间充裕,可选择的匹配方式更多,不仅可以匹配单个工单,还可以匹配多个组合工单,无论先后匹配都容易找到可匹配的工单,但如果优先进行匹配,就容易把与可支配时长短的巡视班组匹配的待巡视线路所占用,造成其他巡视班组无法匹配更合适的待巡视线路,而按照本发明的匹配方式:对所述巡视班组按可支配时长由小到大的顺序分配工单,便可以为可支配时长短的所述巡视班组优先找到匹配的待巡视线路,能够尽量避免可支配时长短的所述巡视班组无工单生成的现象发生,避免造成一些巡视班组的浪费。To sum up, the present invention provides a method for generating a power line inspection work order, which has the beneficial effects that: the present invention calculates the total inspection time of each line to be inspected according to the line information of each line to be inspected, and according to each line to be inspected The work information of each of the patrol teams is used to calculate the available time of each patrol team. After obtaining the total patrol time of each of the lines to be patrolled and the disposable time of each patrol team Sort all the patrol teams in the ascending order of the disposable duration of the patrol team and generate a team ranking table, and sequentially order the patrols in the team ranking table according to the preset distribution rules according to the order of the team ranking table. Teams are configured with lines to be patrolled that match the total patrol time. This configuration method enables the orderly generation of work orders, and because the patrol team with a long disposable time has sufficient time, there are more matching methods to choose from, not only matching a single work order , it can also match multiple combined work orders. It is easy to find work orders that can be matched regardless of the matching sequence. However, if matching is performed first, it is easy to occupy the to-be-inspected line that matches the inspection team with a short disposable time, causing other inspections. The team cannot match a more suitable line to be patrolled, but according to the matching method of the present invention: assigning work orders to the patrol team in ascending order of the available duration, the patrol team with the available duration can be given priority Finding a matching line to be patrolled can try to avoid the phenomenon of no work order being generated by the patrol team with a short disposable time, and avoid the waste of some patrol teams.

实施例2Example 2

请参考图2,本实施例提供一种电力线路巡视工单的生成系统,包括:Referring to FIG. 2 , this embodiment provides a system for generating a power line inspection work order, including:

获取模块:用于实时获取数据库中所有待巡视线路的线路信息及所有巡视班组的工作信息。Acquisition module: used to acquire the line information of all the lines to be patrolled and the work information of all patrol teams in the database in real time.

第一计算模块:用于根据每条所述待巡视线路的线路信息计算每条所述待巡视线路的巡视总时长。The first calculation module is configured to calculate the total patrol duration of each of the lines to be patrolled according to the line information of each of the lines to be patrolled.

第二计算模块:用于根据每个所述巡视班组的工作信息计算每个所述巡视班组的可支配时长。The second calculation module is used to calculate the disposable time length of each of the patrol teams according to the work information of each of the patrol teams.

生成模块:用于按照所述巡视班组的可支配时长的从小到大的递增顺序对所有所述巡视班组进行排序并生成班组排序表。Generating module: used to sort all the patrol teams according to the ascending order of the disposable duration of the patrol teams and generate a team sorting table.

分配模块:用于根据每条所述待巡视线路的巡视总时长及每个所述巡视班组的可支配时长,并按照预设分配规则为所有所述巡视班组依所述班组排序表顺序分配所述待巡视线路以生成对应的工单。Allocation module: It is used to allocate all the patrol teams according to the total patrol time of each said line to be patrolled and the disposable time of each said patrol team, and according to the preset allocation rules for all the patrol teams according to the sequence of the team sorting table. Describe the line to be patrolled to generate the corresponding work order.

其中,所述分配模块还用于:Wherein, the distribution module is also used for:

依序对所述班组排序表中的所有所述巡视班组进行一次遍历,且一次遍历过程中,根据每个所述巡视班组的可支配时长、每条所述待巡视线路的巡视总时长及第一预设时间阈值对每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单;Perform a traversal of all the patrol teams in the team sorting table in sequence, and in a traversal process, according to the disposable duration of each of the patrol teams, the total patrol duration of each of the routes to be patrolled, and the number of A preset time threshold is used to judge whether each of the patrol teams can generate a work order, and to assign the matched line to be patrolled to the patrol team that can generate a work order to generate a work order;

依序对所述班组排序表中未生成工单的所有所述巡视班组进行二次遍历,且二次遍历过程中,根据未生成工单的每个所述巡视班组的可支配时长、未生成工单的每条所述待巡视线路的巡视总时长及第二预设时间阈值对未生成工单的每个所述巡视班组能否生成工单进行判断并为能够生成工单的所述巡视班组分配匹配的所述待巡视线路以生成工单,其中,所述第二预设时间阈值大于所述第一预设时间阈值;Perform a secondary traversal of all the patrol teams that have not generated work orders in the team sorting table in sequence, and during the secondary traversal process, The total patrol duration of each of the lines to be patrolled and the second preset time threshold of the work order determine whether each patrol team that has not generated a work order can generate a work order, and determine whether the patrol can generate a work order. assigning the matched line to be inspected to generate a work order, wherein the second preset time threshold is greater than the first preset time threshold;

对所述班组排序表中未生成工单的所有所述巡视班组进行多次遍历,每次遍历过程中的预设时间阈值都比前一次遍历的预设时间阈值大,直至所有所述巡视班组全部生成工单或所有所述待巡视线路全部被分配,则停止循环遍历。Perform multiple traversals on all the patrol teams that have not generated work orders in the team ranking table, and the preset time threshold in each traversal process is greater than the preset time threshold of the previous traversal, until all the patrol teams. If all work orders are generated or all the lines to be inspected are all allocated, the loop traversal is stopped.

在循环遍历过程中,对每次用来进行对比判断的预设时间阈值进行依次加大,能够在尽可能的保证所述待巡视线路与所述巡视班组的匹配程度(即既不浪费也透支所述巡视班组的工时)的同时,也能够尽可能的保证为每条所述待巡视线路进行分配或为每个所述巡视班组生成工单。During the loop traversal process, the preset time thresholds used for each comparison and judgment are sequentially increased, so as to ensure the matching degree between the to-be-inspected line and the inspection team as much as possible (that is, neither waste nor overdraft While working hours of the patrol team), it is also possible to ensure that each line to be patrolled is allocated or a work order is generated for each patrol team as much as possible.

本发明的实施例,按一天工时8h来计,则所述第一预设时间阈值可以为2h,所述第二预设时间阈值可以为4h,如取第一预设时间阈值2h,则能够保证匹配并生成工单的所述待巡视线路的巡视总时长与所述巡视班组的可支配时长的相差时长限制在2h之内,如果2h之内的限制时长差值无法让所有所述待巡视线路或所有所述巡视班组匹配成功,则放宽时间限制,取第二预设时间阈值4h,则能够保证匹配并生成工单的所述待巡视线路的巡视总时长与所述巡视班组的可支配时长的相差时长限制在4h之内,以此类推,取不断加大的预设时间阈值,在保证良好的时长匹配度的同时,也尽可能的保证所有所述待巡视线路或所述巡视班组能够匹配成功。In the embodiment of the present invention, if one day's working hours are calculated as 8h, the first preset time threshold may be 2h, and the second preset time threshold may be 4h. For example, if the first preset time threshold is 2h, the The difference between the total patrol duration of the line to be patrolled that is guaranteed to match and generate a work order and the available duration of the patrol team is limited to within 2h. If the line or all of the patrol teams are successfully matched, the time limit is relaxed, and the second preset time threshold of 4h is taken to ensure that the total patrol time of the to-be- patrol line that matches and generates a work order and the control of the patrol team The difference between the durations is limited to within 4 hours, and so on, taking the preset time threshold value that increases continuously, while ensuring a good duration matching degree, it is also possible to ensure that all the lines to be inspected or the inspection teams are as far as possible. can match successfully.

所述分配模块还用于:The distribution module is also used to:

依所述班组排序表顺序提取第一目标巡视班组,并判断是否存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长;Extracting the first target patrol team according to the sequence of the team ranking table, and judging whether there is a total duration of the patrol that is less than the disposable duration of the first target patrol team;

若存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长,则提取小于所述第一目标巡视班组的可支配时长的所有所述巡视总时长并依次与所述第一目标巡视班组的可支配时长相减及取绝对值以得到对应的时长差值;If there is the total patrol duration that is less than the available duration of the first target patrol team, extract all the total patrol durations that are less than the available duration of the first target patrol team, and sequentially match the total patrol duration with the first target patrol team. Subtract the available duration of the patrol team and take the absolute value to obtain the corresponding duration difference;

判断是否存在小于第一预设时间阈值的所述时长差值;judging whether there is the time length difference less than the first preset time threshold;

若存在小于第一预设时间阈值的所述时长差值,则从小于第一预设时间阈值的所有所述时长差值中筛选出最小的所述时长差值,并将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的一份工单。If there is the duration difference value smaller than the first preset time threshold, the smallest duration difference value is selected from all the duration difference values smaller than the first preset time threshold value, and the corresponding pending duration difference value is selected. A patrol line is assigned to the first target patrol team to generate a work order for the first target patrol team.

所述判断是否存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长的步骤后还包括:After the step of judging whether there is the total patrol duration that is less than the disposable duration of the first target patrol team, the step further includes:

若不存在小于所述第一目标巡视班组的可支配时长的所述巡视总时长,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If there is no total patrol duration shorter than the disposable duration of the first target patrol team, extract the next patrol team that is longer than the disposable duration of the first target patrol team according to the sequence of the team sorting table , and determine whether there is the total patrol duration that is less than the available duration of the next patrol team.

所述判断是否存在小于第一预设时间阈值的所述时长差值的步骤后还包括:After the step of judging whether there is the time length difference smaller than the first preset time threshold, the step further includes:

若不存在小于第一预设时间阈值的所述时长差值,则将所有所述待巡视线路的巡视总时长分别进行两两组合相加以得到二次叠加巡视总时长;If there is no said duration difference less than the first preset time threshold, then the total duration of patrols of all the routes to be patrolled are added in two-by-two combinations to obtain the total duration of secondary superimposed patrols;

判断是否存在小于所述第一目标巡视班组的可支配时长的所述二次叠加巡视总时长;Judging whether there is a total duration of the secondary superimposed inspection that is less than the disposable duration of the first target inspection team;

若存在小于所述第一目标巡视班组的可支配时长的所述二次叠加巡视总时长,则提取小于所述第一目标巡视班组的可支配时长的所有所述二次叠加巡视总时长并依次与所述第一目标巡视班组的可支配时长相减及取绝对值以得到对应的二次叠加时长差值;If there is the total duration of the secondary superimposed inspections that is less than the disposable duration of the first target inspection team, extract all the total durations of the secondary superimposed inspections that are less than the disposable duration of the first target inspection team and sequentially Subtract and take the absolute value from the disposable duration of the first target patrol team to obtain the corresponding secondary superimposed duration difference;

判断是否存在小于第一预设时间阈值的所述二次叠加时长差值;judging whether there is a difference in the duration of the secondary superposition that is less than a first preset time threshold;

若存在小于第一预设时间阈值的所述二次叠加时长差值,则从小于第一预设时间阈值的所有所述二次叠加时长差值中筛选出最小的所述二次叠加时长差值,并将对应的两条所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的两份工单。If there is the secondary stacking duration difference that is less than the first preset time threshold, the smallest secondary stacking duration difference is selected from all the secondary stacking duration differences that are less than the first preset time threshold value, and assign the corresponding two lines to be patrolled to the first target patrol team to generate two work orders for the first target patrol team.

所述判断是否存在小于第一预设时间阈值的所述二次叠加时长差值的步骤后还包括:The step of judging whether there is a difference in the duration of the secondary superimposition that is smaller than the first preset time threshold further includes:

若不存在小于第一预设时间阈值的所述二次叠加时长差值,则将所有所述待巡视线路的巡视总时长分别进行三个组合相加以得到三次叠加巡视总时长,并判断是否存在小于所述第一目标巡视班组的可支配时长的所述三次叠加巡视总时长。If there is no difference between the secondary superimposed durations that is less than the first preset time threshold, the total patrol durations of all the lines to be patrolled are added in three combinations to obtain the total superimposed patrol durations three times, and it is judged whether there is any The total duration of the three superimposed inspections is less than the available duration of the first target inspection team.

对所述待巡视线路的巡视总时长逐次进行组合叠加以得到叠加巡视总时长并与所述第一目标巡视班组的的可支配时长进行对比判断,直至找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的多分工单(每分配一条所述待巡视线路对应一份工单),则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。Combine and superimpose the total patrol duration of the line to be patrolled to obtain the superimposed total patrol duration and compare it with the disposable duration of the first target patrol team until it is found that the superimposed total patrol duration is less than the first target. For the lines to be patrolled with the available duration of the patrol team and the difference between the two is less than the first preset time threshold, the corresponding lines to be patrolled are allocated to the first target patrol team to generate the first patrol line. A multi-division work order for a target patrol team (each assigned one of the lines to be patrolled corresponds to a work order), then according to the sequence of the team sorting table, extract the next work order that is longer than the disposable time of the first target patrol team. Patrol the team, and determine whether there is the total patrol duration that is less than the available duration of the next patrol team.

若无法找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If it is not possible to find the to-be-patroled line whose total duration of the superimposed patrol is less than the disposable duration of the first target patrol team and the difference between the two is less than the first preset time threshold, then extract the route according to the sequence of the team ranking table that is greater than The first target patrol team is next to the available duration of the patrol team, and it is determined whether there is a total patrol duration that is less than the available duration of the next patrol team.

所述分配模块还用于:The distribution module is also used to:

依序提取所述班组排序表中未生成工单的所述第二目标巡视班组,并判断未被分配的所有所述待巡视线路的巡视总时长中是否存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长;Sequentially extract the second target patrol team that has not generated a work order in the team ranking table, and determine whether there is a patrol team that is less than the second target patrol team in the total patrol duration of all the unassigned lines to be patrolled. the total duration of said tour of the discretionary duration;

若未被分配的所有所述待巡视线路的巡视总时长中存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长,则提取小于所述第二目标巡视班组的可支配时长的所有所述巡视总时长并依次与所述第二目标巡视班组的可支配时长相减及取绝对值以得到对应的时长差值;If there is a total patrol time that is less than the disposable time of the second target patrol team in the total patrol time of all the lines to be patrolled that are not assigned, extract the total patrol time that is less than the disposable time of the second target patrol team The total duration of all the patrols is subtracted from the disposable duration of the second target patrol team in turn and the absolute value is obtained to obtain the corresponding duration difference;

判断是否存在小于所述第二预设时间阈值的所述时长差值;judging whether there is the difference in duration that is less than the second preset time threshold;

若存在小于所述第二预设时间阈值的所述时长差值,则从小于所述第二预设时间阈值的所有所述时长差值中筛选出最小的所述时长差值,并将对应的所述待巡视线路分配给所述第二目标巡视班组以生成所述第二目标巡视班组的一份工单。If there is the duration difference that is smaller than the second preset time threshold, the smallest duration difference is selected from all the duration differences smaller than the second preset time threshold, and the corresponding The line to be patrolled is allocated to the second target patrol team to generate a work order for the second target patrol team.

所述分配模块还用于:The distribution module is also used to:

若未被分配的所有所述待巡视线路的巡视总时长中不存在小于所述第二目标巡视班组的可支配时长的所述巡视总时长,则依所述班组排序表顺序提取大于所述第二目标巡视班组的可支配时长的下一个未生成工单的所述巡视班组,并判断未被分配的所有所述待巡视线路的巡视总时长中是否存在小于下一个未生成工单的所述巡视班组的可支配时长的所述巡视总时长。If there is no total patrol duration that is less than the disposable duration of the second target patrol team in the total patrol duration of all the routes to be patrolled that are not allocated, then extract the total patrol duration that is longer than the second target patrol team according to the sequence of the team sorting table. The second target patrol team has the next patrol team that has not generated a work order, and judges whether the total patrol time of all the unassigned lines to be patrolled is shorter than the next non-generated work order. The total duration of said tour of the discretionary duration of the tour squad.

所述判断是否存在小于所述第二预设时间阈值的所述时长差值的步骤后还包括:After the step of judging whether there is the difference in duration that is less than the second preset time threshold, the step further includes:

若不存在小于第二预设时间阈值的所述时长差值,则将未被分配的所有所述待巡视线路的巡视总时长分别进行两两组合相加以得到二次叠加巡视总时长;If there is no said duration difference less than the second preset time threshold, then the total duration of patrols of all the lines to be patrolled that are not allocated are added in pairs to obtain the total duration of secondary superimposed patrols;

判断是否存在小于所述第二目标巡视班组的可支配时长的所述二次叠加巡视总时长;Judging whether there is a total duration of the secondary superimposed inspection that is less than the disposable duration of the second target inspection team;

若存在小于所述第二目标巡视班组的可支配时长的所述二次叠加巡视总时长,则提取小于所述第二目标巡视班组的可支配时长的所有所述二次叠加巡视总时长并依次与所述第二目标巡视班组的可支配时长相减及取绝对值以得到对应的二次叠加时长差值;If there is the total duration of the secondary superimposed inspections that is less than the available duration of the second target inspection team, extract all the total durations of the secondary superimposed inspections that are less than the available duration of the second target inspection team and sequentially Subtract and take the absolute value from the available duration of the second target patrol team to obtain the corresponding secondary superimposed duration difference;

判断是否存在小于第二预设时间阈值的所述二次叠加时长差值;judging whether there is a difference in the duration of the secondary superposition that is less than a second preset time threshold;

若存在小于第二预设时间阈值的所述二次叠加时长差值,则从小于第二预设时间阈值的所有所述二次叠加时长差值中筛选出最小的所述二次叠加时长差值,并将对应的两条所述待巡视线路分配给所述第二目标巡视班组以生成所述第二目标巡视班组的两份工单。If there is the secondary stacking duration difference that is less than the second preset time threshold, the smallest secondary stacking duration difference is selected from all the secondary stacking duration differences that are less than the second preset time threshold value, and assign the corresponding two lines to be patrolled to the second target patrol team to generate two work orders for the second target patrol team.

所述判断是否存在小于第二预设时间阈值的所述二次叠加时长差值的步骤后还包括:The step of judging whether there is a difference in the duration of the secondary superimposition that is less than the second preset time threshold further includes:

若不存在小于第二预设时间阈值的所述二次叠加时长差值,则将未被分配的所有所述待巡视线路的巡视总时长分别进行三个组合相加以得到三次叠加巡视总时长,并判断是否存在小于所述第二目标巡视班组的可支配时长的所述三次叠加巡视总时长。If there is no difference between the secondary superimposed durations that is less than the second preset time threshold, the total patrol durations of all the unallocated lines to be patrolled are added in three combinations to obtain the total superimposed patrol durations three times. And determine whether there is the total duration of the three superimposed inspections that is less than the disposable duration of the second target inspection team.

对所述待巡视线路的巡视总时长逐次进行组合叠加以得到叠加巡视总时长并与所述第一目标巡视班组的的可支配时长进行对比判断,直至找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则将对应的所述待巡视线路分配给所述第一目标巡视班组以生成所述第一目标巡视班组的多分工单(每分配一条所述待巡视线路对应一份工单),则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。Combine and superimpose the total patrol duration of the line to be patrolled to obtain the superimposed total patrol duration and compare it with the disposable duration of the first target patrol team until it is found that the superimposed total patrol duration is less than the first target. For the lines to be patrolled with the available duration of the patrol team and the difference between the two is less than the first preset time threshold, the corresponding lines to be patrolled are allocated to the first target patrol team to generate the first patrol line. A multi-division work order for a target patrol team (each assigned one of the lines to be patrolled corresponds to a work order), then according to the sequence of the team sorting table, extract the next work order that is longer than the disposable time of the first target patrol team. Patrol the team, and determine whether there is a total patrol duration that is less than the available duration of the next patrol team.

若无法找到叠加巡视总时长小于所述第一目标巡视班组的可支配时长且两者差值小于所述第一预设时间阈值的所述待巡视线路,则依所述班组排序表顺序提取大于所述第一目标巡视班组的可支配时长的下一个所述巡视班组,并判断是否存在小于下一个所述巡视班组的可支配时长的所述巡视总时长。If it is not possible to find the to-be-patroled line whose total duration of the superimposed patrol is less than the disposable duration of the first target patrol team and the difference between the two is less than the first preset time threshold, then extract the route according to the sequence of the team ranking table that is greater than The first target patrol team is next to the available duration of the patrol team, and it is determined whether there is a total patrol duration that is less than the available duration of the next patrol team.

实施例3Example 3

请参考图3,本发明还提出一种电力线路巡视工单的生成设备,所示为本发明第三实施例当中的电力线路巡视工单的生成设备,包括存储器20、处理器10以及存储在存储器上并可在处理器上运行的计算机程序30,所述处理器10执行所述计算机程序30时实现如上述的电力线路巡视工单的生成方法。Referring to FIG. 3 , the present invention also provides a device for generating a power line inspection work order, which is shown as a device for generating a power line inspection work order in the third embodiment of the present invention, including amemory 20 , aprocessor 10 and a device stored in aA computer program 30 on the memory and executable on the processor, when theprocessor 10 executes thecomputer program 30, the above-mentioned method for generating a power line inspection work order is implemented.

其中,所述电力线路巡视工单的生成设备具体可以为计算机、服务器、上位机等,处理器10在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器20中存储的程序代码或处理数据,例如执行访问限制程序等。Wherein, the generating device of the power line inspection work order may specifically be a computer, a server, a host computer, etc., and theprocessor 10 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller in some embodiments , a microprocessor or other data processing chips, for running the program codes or processing data stored in thememory 20, for example, executing access restriction programs and the like.

其中,存储器20至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器20在一些实施例中可以是电力线路巡视工单的生成设备的内部存储单元,例如该电力线路巡视工单的生成设备的硬盘。存储器20在另一些实施例中也可以是电力线路巡视工单的生成设备的外部存储装置,例如电力线路巡视工单的生成设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器20还可以既包括电力线路巡视工单的生成设备的内部存储单元也包括外部存储装置。存储器20不仅可以用于存储安装于电力线路巡视工单的生成设备的应用软件及各类数据,还可以用于暂时地存储已经输出或者将要输出的数据。Thememory 20 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, thememory 20 may be an internal storage unit of the device for generating the power line inspection work order, such as a hard disk of the device for generating the power line inspection work order. In other embodiments, thememory 20 may also be an external storage device of the power line inspection work order generating device, such as a pluggable hard disk, a smart memory card (Smart Media Card, SMC) equipped on the power line inspection work order generating device. ), Secure Digital (SD) card, Flash Card, etc. Further, thememory 20 may also include both an internal storage unit of the power line inspection work order generating device and an external storage device. Thememory 20 can be used not only to store application software and various types of data installed in the equipment for generating power line inspection work orders, but also to temporarily store data that has been output or will be output.

需要指出的是,图3示出的结构并不构成对电力线路巡视工单的生成设备的限定,在其它实施例当中,该电力线路巡视工单的生成设备可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 3 does not constitute a limitation on the generating device of the power line inspection work order. In other embodiments, the generating device of the power line inspection work order may include less or more multiple components, or a combination of certain components, or a different arrangement of components.

本发明实施例还提出一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述的电力线路巡视工单的生成方法。An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the above-mentioned method for generating a power line inspection work order.

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

Claims (10)

CN202111643464.0A2021-12-292021-12-29 Method, system, storage medium and device for generating power line inspection work orderPendingCN114358337A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111643464.0ACN114358337A (en)2021-12-292021-12-29 Method, system, storage medium and device for generating power line inspection work order

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111643464.0ACN114358337A (en)2021-12-292021-12-29 Method, system, storage medium and device for generating power line inspection work order

Publications (1)

Publication NumberPublication Date
CN114358337Atrue CN114358337A (en)2022-04-15

Family

ID=81103586

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111643464.0APendingCN114358337A (en)2021-12-292021-12-29 Method, system, storage medium and device for generating power line inspection work order

Country Status (1)

CountryLink
CN (1)CN114358337A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105354762A (en)*2015-11-112016-02-24国网山东省电力公司电力科学研究院Work order identification and distribution system and method of electricity customer service business
CN109165808A (en)*2018-07-182019-01-08南瑞集团有限公司A kind of power telecom network scene work order distributing method
CN109284924A (en)*2018-09-202019-01-29北京天元创新科技有限公司Visual scheduling method and device based on Gantt chart
CN109359912A (en)*2018-10-102019-02-19广州餐道信息科技有限公司A kind of intelligence and single and worksheet processing method
WO2020131987A1 (en)*2018-12-202020-06-25Zume, Inc.Grouping orders in a delivery system
CN112085382A (en)*2020-09-082020-12-15杭州海兴泽科信息技术有限公司 A work order distribution method, apparatus, device, and computer-readable storage medium
CN112288340A (en)*2020-12-282021-01-29北京顺达同行科技有限公司Logistics order dispatching method and device, computer equipment and storage medium
CN113240142A (en)*2021-06-152021-08-10上海复医天健医疗服务产业股份有限公司Maintenance team automatic scheduling method and device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105354762A (en)*2015-11-112016-02-24国网山东省电力公司电力科学研究院Work order identification and distribution system and method of electricity customer service business
CN109165808A (en)*2018-07-182019-01-08南瑞集团有限公司A kind of power telecom network scene work order distributing method
CN109284924A (en)*2018-09-202019-01-29北京天元创新科技有限公司Visual scheduling method and device based on Gantt chart
CN109359912A (en)*2018-10-102019-02-19广州餐道信息科技有限公司A kind of intelligence and single and worksheet processing method
WO2020131987A1 (en)*2018-12-202020-06-25Zume, Inc.Grouping orders in a delivery system
CN112085382A (en)*2020-09-082020-12-15杭州海兴泽科信息技术有限公司 A work order distribution method, apparatus, device, and computer-readable storage medium
CN112288340A (en)*2020-12-282021-01-29北京顺达同行科技有限公司Logistics order dispatching method and device, computer equipment and storage medium
CN113240142A (en)*2021-06-152021-08-10上海复医天健医疗服务产业股份有限公司Maintenance team automatic scheduling method and device, computer equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN111427681B (en)Real-time task matching scheduling system and method based on resource monitoring in edge computing
CN111552555B (en)Point cloud visualization method and equipment
CN106131158A (en)Resource scheduling device based on cloud tenant's credit rating under a kind of cloud data center environment
CN104167736A (en)Large power grid parallel network topology analyzing method
CN115277598B (en)Method and device for scheduling computing power resources and computer readable storage medium
CN110163455A (en)A kind of direct broadcasting room integrated evaluating method, storage medium, equipment and system
CN107168777A (en)The dispatching method and device of resource in distributed system
CN108132839A (en)A kind of resource regulating method and device
CN104268710A (en)Method for generating track traffic network dynamic emergency disposal scheme
CN117034194A (en)Nuclear power instrument equipment operation and maintenance management system, method and equipment based on artificial intelligence
CN111222754A (en)Method, device, equipment and storage medium for processing faults of subway system
CN113239764A (en)Unmanned aerial vehicle inspection image preprocessing method for power transmission line
CN111680985A (en) A method for realizing automatic attribution and installation of sub-projects based on system code and equipment code
CN112613626B (en)Method and device for monitoring running state of standby system and computer equipment
CN114358337A (en) Method, system, storage medium and device for generating power line inspection work order
CN109903185B (en) A unified resource management system for electric power communication based on cloud computing
CN110879753A (en) GPU-accelerated performance optimization method and system based on automated cluster resource management
CN114792230A (en)Intelligent community comprehensive command center scheduling system and method
CN113095618B (en)IT operation and maintenance service personnel scheduling method
CN114186755A (en)Visual intelligent logistics dynamic optimization management and control method and system
CN117132251B (en) A human resources scheduling management system and method based on big data
CN118528848A (en) A coordinated control method for EV charging in an integrated charging station
CN118052395A (en)Real-time automatic dispatching method and system for railway wagon fault rechecking
CN111191296A (en) A blockchain-based work ticket data processing method
Khadilkar et al.Rule-based discrete event simulation for optimising railway hump yard operations

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp