Automatic ticket simulation method and system based on RPA tool dispatching command ticket

By adopting the automatic ticketing method based on RPA tools in the power system, the problems of low efficiency and low accuracy of scheduling command ticket writing are solved, and efficient and accurate automatic writing of scheduling command tickets are achieved, enhancing the safety of the power system.

CN119886615APending Publication Date: 2025-04-25GUANGXI POWER GRID CO LTD NANNING POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411744437.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the writing efficiency of dispatching command tickets is low and the accuracy rate is low, which causes the dispatcher to spend a lot of time and energy to copy and paste one by one, which is prone to errors and omissions, and poses safety hazards.

Method used

The automatic ticket drafting method based on RPA tools is adopted. By obtaining relevant information of the maintenance application form, key data information is extracted, whether there is a power supply plan, and task description statements are generated according to different situations, filling in the operation items and remarks columns to automatically write scheduling command tickets.

Benefits of technology

It improves the efficiency and accuracy of scheduling command ticket writing, reduces the workload of manual copying and pasting, reduces the error rate, and enhances security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119886615A_ABST
    Figure CN119886615A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of automatic ticket simulation, and provides an automatic scheduling command ticket simulation method and system based on an RPA tool, and the method comprises the steps: sequentially obtaining the related information of each maintenance application form through the RPA tool; key data information is extracted based on the related information, and whether a power supply switching scheme exists in the maintenance work corresponding to each maintenance application form is judged according to the key data information; if yes, operation task module information, item-by-item order module information and remark column module information are filled in in sequence according to the related information of the power supply switching scheme; and if not, sequentially filling operation task module information, item-by-item order module information and remark column module information based on the related information of the maintenance application form. According to the method, the RPA technology is used for replacing the process of manually copying and pasting the safety measures of the maintenance application form one by one, batch writing of the dispatching command tickets is achieved, and the working efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage planning, and in particular to a method and system for automatically drafting dispatch order tickets based on an RPA tool. Background Art

[0002] The dispatch order ticket is an important written document in the dispatch work of the power system. During the operation of the power system, whether it is the operation of power generation equipment, transmission equipment or distribution equipment, such as the start and stop of the generator, the power outage maintenance of the line, the switching operation of the busbar, etc., it is necessary to strictly follow the content of the dispatch order ticket. Before the power system maintenance or operation mode adjustment work is carried out, the dispatcher will draft the dispatch order ticket based on various factors such as the relevant maintenance application form, equipment status, operation mode, etc.

[0003] At present, power dispatchers mainly draft dispatch order tickets based on the scope of work, the safety measures of primary and secondary equipment listed in the maintenance application form, and the approval content and transfer plan of the method. The main problems are: First, the dispatcher who drafts the ticket needs to copy the content of the safety measures one by one, make preliminary modifications, and then paste them one by one into the network command system. This method of drafting tickets is inefficient, and there is a lot of repetitive and mechanical work of copying and pasting safety measures from the maintenance application form to the dispatch order ticket. Second, when the number of safety measures on the maintenance application form is large, copying and pasting word by word will take up a lot of time and energy of the dispatcher, and the dispatcher’s human value cannot be fully utilized. Third, when the number of maintenance applications is large and the number of safety measures is large at the same time, there may be copying and pasting errors, which reduces the accuracy of the dispatch order ticket and seriously leaves safety hazards.

[0004] In view of this, a method and system for automatically drafting order tickets based on RPA tool scheduling is needed. Summary of the invention

[0005] The embodiments of the present application provide a method and system for automatically drafting dispatch order tickets based on an RPA tool, which is used to solve the problem of low efficiency and low accuracy in drafting dispatch order tickets.

[0006] The first aspect of the embodiment of the present application provides a method for automatically preparing a dispatch order ticket based on an RPA tool, including:

[0007] Use RPA tools to obtain relevant information of each maintenance application in turn;

[0008] Extract key data information based on the relevant information, and determine whether there is a power supply transfer plan for the maintenance work corresponding to each maintenance application form according to the key data information;

[0009] If so, a corresponding task description statement is generated according to the relevant information of the power transfer plan and the task description statement is filled in the operation task column, key details and key parameters are extracted according to the relevant information of the power transfer plan and the key details and key parameters are filled in the operation item column, and the statistical information of the power transfer plan is filled in the operation remarks column;

[0010] If not, fill in the operation task column after processing based on the identification information of the maintenance application form, extract information that meets the requirements of the scheduling instruction based on the maintenance application form and fill in the operation item column, and fill in the record content of the maintenance application form into the operation notes column.

[0011] Furthermore, extracting key data information based on the relevant information, and judging whether there is a power supply transfer scheme for the maintenance work corresponding to each maintenance application form according to the key data information, includes:

[0012] Extract feature values ​​based on key data information;

[0013] The probability of the extracted feature value corresponding to a category is calculated using Bayesian theorem, wherein the category includes the existence of a power transfer scheme and the non-existence of a power transfer scheme;

[0014] Determine whether there is a power supply transfer plan for the maintenance work corresponding to the maintenance application form based on the calculated probability.

[0015] Furthermore, the Bayesian theorem is used to calculate the probability of the extracted feature value corresponding to the category, and the category includes the existence of the power transfer scheme and the non-existence of the power transfer scheme, including:

[0016]

[0017] Where: (x new1 ,x new2 ,x new3 ) is the extracted eigenvalue, C k is the category corresponding to the extracted eigenvalue, k=1,2.

[0018] Furthermore, the step of generating a corresponding task description statement according to the relevant information of the power transfer scheme and filling the task description statement into the operation task bar includes:

[0019] Use the text reading function of the RPA tool to extract the text content of the power transfer plan into the first variable, and save the task description template into the second variable;

[0020] After processing through keyword matching and replacement, logical sequence verification, and conditional constraint integration rules, the corresponding task description statement is generated.

[0021] Furthermore, after the keyword matching and replacement, logic sequence verification and condition constraint integration rules are processed, a corresponding task description statement is generated, including:

[0022] The keyword matching and replacement includes creating a keyword library of lines, equipment and operation actions, and performing keyword matching and replacement by scanning text;

[0023] The logic sequence verification includes loading the operation sequence rule set and the standard step template, parsing the operation steps and verifying the sequence;

[0024] The conditional constraint integration rules include identifying extraction restriction conditions and performing placeholder position replacement.

[0025] Furthermore, extracting key details and key parameters according to the relevant information of the power transfer scheme and filling the key details and key parameters into the operation item column includes:

[0026] Key details include identifying the power supply and power receiving entities, and sorting out the switching operation sequence;

[0027] The key parameters include current parameters, voltage parameters and time special requirement parameters.

[0028] Furthermore, the step of filling the statistical information of the power transfer scheme into the operation remarks column includes:

[0029] Match the notes column template according to the power transfer scheduling type and fill in the data using the string replacement operation.

[0030] A second aspect of the embodiment of the present application provides an automatic ticket preparation system for dispatch order tickets based on an RPA tool, including:

[0031] An information acquisition unit is used to use the RPA tool to sequentially acquire relevant information of each maintenance application form;

[0032] A power transfer scheme judgment unit, used to extract key data information based on the relevant information, and judge whether there is a power transfer scheme for the maintenance work corresponding to each maintenance application form according to the key data information;

[0033] A power transfer scheme information filling unit is used to generate a corresponding task description statement according to the relevant information of the power transfer scheme and fill the task description statement into the operation task column, extract key details and key parameters according to the relevant information of the power transfer scheme and fill the key details and key parameters into the operation item column, and fill the statistical information of the power transfer scheme into the operation remarks column;

[0034] The maintenance application form related information filling unit is used to fill in the operation task column after processing the identification information of the maintenance application form, extract information that meets the requirements of the scheduling instruction based on the maintenance application form and fill it in the operation item column, and fill the record content of the maintenance application form into the operation remarks column.

[0035] A third aspect of the embodiments of the present application provides a computer device, including:

[0036] memories, transceivers, processors, and bus systems;

[0037] Wherein, the memory is used to store programs;

[0038] The processor is used to execute the program in the memory, including executing the automatic ticket preparation method for dispatch order tickets based on the RPA tool as described above;

[0039] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

[0040] A fourth aspect of an embodiment of the present application provides a readable storage medium, including instructions, which, when executed on a computer, enables the computer to execute the steps of the above-mentioned method for automatically drafting dispatch command tickets based on the RPA tool.

[0041] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0042] The present invention uses RPA tools to sequentially obtain relevant information of each maintenance application form, extract key data information, and determine whether there is a power transfer plan for the maintenance work corresponding to each maintenance application form based on the key data information; if so, the operation task module information, the item-by-item order module information, and the notes column module information are filled in sequentially based on the relevant information of the power transfer plan; if not, the operation task module information, the item-by-item order module information, and the notes column module information are filled in sequentially based on the relevant information of the maintenance application form. The present invention uses RPA technology to replace the process of manually copying and pasting maintenance application form safety measures one by one, thereby realizing batch drafting of scheduling order tickets and effectively improving work efficiency.

[0043] Other advantages, objectives, and features of the present invention will be set forth in part in the following description, and in part will be apparent to those skilled in the art based on an examination of the following or may be taught from the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 The present invention is a flowchart of an embodiment of a method for automatically drafting dispatch order tickets based on an RPA tool. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0046] In this embodiment, the automatic drafting method of dispatch order tickets based on RPA tools is used to improve the efficiency and accuracy of drafting dispatch order tickets. In this embodiment, the implementation method can be implemented in the system, can be implemented in the server, and can also be implemented in the terminal, without specific limitation.

[0047] Embodiment 1

[0048] See also Figure 1 An embodiment of a method for automatically preparing a dispatch order ticket based on an RPA tool of the present invention comprises the following steps:

[0049] S11. Use the RPA tool to obtain relevant information of each maintenance application form in turn;

[0050] In this embodiment, after the relevant approvals of the safety measures and methods of the application form are exported from the system to an Excel table, the corresponding data table is read into the RPA tool. The RPA tool uses built-in instructions to simulate the operation to open the specified worksheet of the file, identify the text content of each cell in the header row, and confirm the column position index of the target information such as the application form number and the operation and maintenance unit, so as to facilitate the subsequent accurate extraction of data by column. In each iteration of the loop body, according to the column position of the previously identified application form number, the current row application form number is obtained through the RPA tool specific data extraction instruction, and its value is assigned and stored in the pre-defined "application form number" variable. Similar to the reading method of the application form number, the column where the operation and maintenance unit is located is located, and the corresponding cell text content is extracted and stored in the "operation and maintenance unit" variable so that the subsequent process can use this information. According to the established column position or field name, the detailed description text of the equipment safety measures is obtained. Considering that the content may be long and the format is diverse, the reading process focuses on the integrity of the text, removes possible interference characters such as redundant spaces and line breaks, and stores it in a special "equipment safety measures" variable, which is subsequently used to generate the corresponding part of the dispatch order ticket or perform security verification analysis. Accurately extract the data in the method approval column, which may contain text approval opinions, operating instructions, etc., and store them in the "method approval" variable after complete capture, and use them as the core basis for analysis and interpretation in key processes such as judging the power transfer plan. Locate the application note column, extract the note text information such as special requirements and supplementary instructions to the "application note" variable, and also clean up format defects to ensure the content is available. After each cycle extracts various key information of a maintenance application form, store this information in a structured manner.

[0051] S12. Extract key data information based on relevant information, and determine whether there is a power supply transfer scheme for the maintenance work corresponding to each maintenance application form according to the key data information;

[0052] In this embodiment, the historical maintenance application data is used locally to train the naive Bayes classifier. The training process involves calculating the probability distribution of each feature in different categories, which involves the existence of a power transfer scheme and the absence of a power transfer scheme. After the training is completed, the new maintenance application data is input into this local classifier, and the probability of belonging to each category is calculated based on the probability distribution of the feature, so as to determine whether there is a power transfer scheme.

[0053] The specific naive Bayes classifier training process is as follows:

[0054] 1. Extract relevant features from the maintenance application form for determining the power supply transfer plan. These features can be text features, such as keywords and numerical or category features in the application notes, such as equipment type, maintenance time, etc. Assume that the following features are extracted: X 1 Indicates whether the keyword "power supply transfer" appears in the application remarks. If it appears, it is 1; if it does not appear, it is 0; X 2 Indicates whether the device type is a key device, 1 if yes, 0 if no; X 3 Indicates whether the maintenance time is during the peak power consumption period, 1 if yes, 0 if no. Manually mark the historical maintenance application data to determine whether there is a power transfer plan for each application. The marking result is used as the category label, and the existence of a power transfer plan is set as category C 1 There is no power supply transfer scheme for category C 2 The extracted features and corresponding category labels are organized into a training data set. Assuming there are n historical maintenance application data, the training data set can be expressed as {(x 11 ,x 12 ,x 13 ,C 1 / 2 ),(x 21 ,x 22 ,x 23 ,C 1 / 2 ),...,(x n1 ,x n2 ,x n3 ,C 1 / 2 )}, where x i,j represents the j-th eigenvalue of the i-th sample.

[0055] 2. Calculate prior probability: Calculate category C 1 and C 2 The prior probability P(C 1 ) and P(C 2 ), calculation formula:

[0056]

[0057] Where: count(C 1 ) and count(C 2 ) are the ones belonging to category C in the training data set 1 and C 2 The number of samples.

[0058] 3. Calculate conditional probability: For each feature X j and each category C k , calculate the conditional probability P(X j =x ij |C k ). Assume that feature X j It is a discrete variable and the calculation formula is:

[0059]

[0060] Where: count(X j =x ij ,C k ) is the training data set belonging to category C k And feature X j The value is x ij If the feature is a continuous variable, it is usually assumed to obey a certain probability distribution, and then the parameters of the distribution are estimated based on the sample data to calculate the conditional probability.

[0061] Based on the above trained naive Bayes classifier, for the new maintenance application form, according to the previously defined feature extraction method, the feature value is obtained and set as (x new1 ,x new2 ,x new3 ). According to Bayes' theorem, the posterior probability P(C k |x new1 ,x new2 ,x new3 ), the calculation formula is as follows:

[0062]

[0063] Where: k=1,2.

[0064] If P(C 1 |x new1 ,x new2 ,x new3 )>P(C 2 |x new1 ,x new2 ,x new3), it is determined that there is a power transfer plan for the new application form; otherwise, it is determined that there is no power transfer plan.

[0065] S13. When there is a power transfer scheme, a corresponding task description statement is generated according to the relevant information of the power transfer scheme and the task description statement is filled in the operation task column, key details and key parameters are extracted according to the relevant information of the power transfer scheme and the key details and key parameters are filled in the operation item column, and the statistical information of the power transfer scheme is filled in the operation notes column;

[0066] In this embodiment, when there is a power transfer scheme, a corresponding task description statement is generated according to the relevant information of the power transfer scheme and the task description statement is filled in the operation task bar, including the following:

[0067] 1. Use the text reading function of the RPA tool to extract the text content of the power transfer plan into the first variable, and save the task description template into the second variable;

[0068] Use the text reading function of the RPA tool to extract the text content of the power transfer plan into a variable, for example, named transfer_power_plan_text. Prepare a task description template, which contains placeholders such as [power supply line], [power receiving equipment], [operation steps], [current limit area], [voltage limit area], [start time], and [end time], and store the template in a variable task_description_template.

[0069] 2. After processing through keyword matching and replacement, logical order verification and conditional constraint integration rules, the corresponding task description statement is generated.

[0070] Keyword matching and replacement includes creating a keyword library for lines, devices, and operation actions, and performing keyword matching and replacement by scanning text, as follows:

[0071] Create a line and equipment keyword library, such as {"10kV line":["10kV line A","10kV line B"],"35kV line":["35kV bus C"]}, and store it as line_equipment_keywords. Create an operation action keyword library, such as {"push up":"close","turn off":"disconnect"}, and store it as operation_keywords. Scan transfer_power_plan_text word by word or sentence by sentence. For each word or sentence, check whether it may be content related to lines, equipment, or operation actions. For line and equipment keyword matching, when encountering a word that may be a line or equipment name, check whether it is in any of the lists in line_equipment_keywords. If so, determine the type of line it belongs to, and then replace the [power supply line] or [power receiving equipment] placeholder in the task description template task_description_template with that name. For operation action keyword replacement, when an operation action word in the recognized text matches a key in operation_keywords, it is replaced with the corresponding standard term using the string replacement function.

[0072] Logical sequence verification includes loading the operation sequence rule set and standard step template, parsing the operation steps and verifying the sequence, as follows:

[0073] Read the operation order rule set from the configuration file or database table and store it as a list, such as [["Close the knife switch", "Close the switch"], ["Disconnect the switch", "Disconnect the knife switch"]], named operation_order_rules. Read the complete standard operation step template and store it as a list, such as ["Check the insulation and grounding of the power supply line before operation", "Close the contact knife switch", "Close the contact switch", "Check the power transfer situation"], named standard_operation_steps. Extract the operation steps from the power transfer plan text, parse it into a list, and store it as extracted_operation_steps. Traverse the extracted_operation_steps list and compare each pair of adjacent operation steps with operation_order_rules. If it does not meet the rules, issue an alarm and prompt that the operation order needs to be adjusted. Compare extracted_operation_steps with standard_operation_steps. Loop through the standard_operation_steps list to check whether each step appears in extracted_operation_steps. If a step does not appear, add it to the extracted_operation_steps list.

[0074] The constraint integration rules include identifying the extraction constraints and replacing the placeholder positions, as follows:

[0075] Search for current and voltage limit clauses and time requirements in transfer_power_plan_text. You can use regular expressions (such as the re module in Python) to match relevant content. For example, use re.findall to find content like "The transfer power supply current must not exceed [number] A" and extract the current limit value; for time requirements, find content like "[time interval]". Replace the extracted current limit value with the [current limit area] placeholder position in the task description template task_description_template using the string replacement function. For voltage limit values, also replace them with the [voltage limit area] placeholder position. Convert the time requirements to a standard format, such as "This power transfer operation is limited to be executed within the [start time]-[end time] interval", and replace it with the [start time] and [end time] placeholder positions in the template.

[0076] After being processed by the above three rule algorithms, the placeholders in task_description_template have been replaced with specific content, and the operation steps have also been verified and completed. At this time, the content in task_description_template is the final generated task description statement, which can be output or directly used to fill in the operation task bar.

[0077] In this embodiment, extracting key details and key parameters according to the relevant information of the power transfer scheme and filling the key details and key parameters into the operation item column includes the following:

[0078] Key details include identifying the power supply and power receiving entities, and sorting out the switching operation sequence: scanning the power supply plan text, using regular expressions, such as matching the "power supply from [power supply entity] to [power receiving entity]" mode, determining the power supply line, accurately to the line number and name, such as "10kV line A", power receiving equipment "No. 2 main transformer of substation B", clarifying the starting and end points of power flow, and laying the foundation for the operation logic. Search for descriptions of the opening and closing sequence of switches and knife switches in the text paragraph, and extract the steps according to the order of operation. You may encounter similar expressions such as "first disconnect knife switch 1 on the A side of line, then close the contact switch K, and finally check the power supply of line B". Parse it into an ordered operation list, such as ["disconnect knife switch 1 on the A side of line", "close the contact switch K", "check the power supply of line B"], standardize the action description, and organize the operation logic.

[0079] Key parameters include current parameters, voltage parameters, and special time requirement parameters: Regular expressions are used to match format texts such as "current limit is [X] A" and "voltage range is [lower limit] - [upper limit] V" to extract specific values ​​(X, lower limit, upper limit); for scattered parameter descriptions (such as "the current should not exceed 80% of the rated value during operation, the rated current is 500A" and the limit value is converted to 400A), practical parameters are extracted through mathematical operations and logical judgments to clarify the boundaries of power operation. Special instructions such as time windows, frequency limits, protection requirements, etc. are searched and converted into quantifiable and executable formats to assist in the full control of dispatching operations.

[0080] Based on the power dispatching norms and habits, we designed a general template such as "1. [operation action 1] [equipment name 1], ensure [post-operation status confirmation point 1], pay attention to [parameter limit 1]; 2. [operation action 2] [equipment name 2]...", reserved key details and parameter filling positions, and adapted to power supply operations of different complexity. Fill the extracted switching operation sequence, equipment name, parameter limit, etc. into the template in order and format to generate a complete operation statement. Use the RPA tool to simulate keyboard input and mouse clicks to locate the operation item column, accurately enter the operation statement, and check the accuracy of typesetting, grammar, and terminology after entry to ensure that the instructions are issued clearly and correctly.

[0081] In this embodiment, the statistical information of the power transfer scheme is filled in the operation remarks column, including:

[0082] Match the remark column template according to the type of power transfer dispatch, and use the string replacement operation to fill in the data. Specifically, according to the dispatch order ticket type of "power transfer order ticket", match the established remark column template "power transfer X times, including loop closing power transfer X times" and use the string replacement operation to replace the "X" in the template with the actual extracted "transfer_times" and "loop_closure_transfer_times" variable values ​​to generate a complete remark text. For example, if the number of power transfers is 3 and the number of loop closing power transfers is 1, then "power transfer 3 times, including loop closing power transfer 1 time" is generated and stored in the new variable "remark_text_for_transfer". Based on the power dispatch platform used, determine the position according to the row and column coordinates. With the help of the simulation operation function of the RPA tool, accurately fill the content of the "remark_text_for_transfer" variable into the remark column. Trigger the "Set Text" operation of the input box in the software, simulate keyboard input or set the text field value on the web page, and directly assign values ​​to the corresponding cells in Excel.

[0083] S14. When there is no power transfer plan, the identification information of the maintenance application form is processed and filled into the operation task column, the information that meets the requirements of the dispatch instruction is extracted based on the maintenance application form and filled into the operation item column, and the record content of the maintenance application form is filled into the operation remarks column.

[0084] When there is no power transfer plan for the maintenance application form, replace the corresponding string of the fixed template with the application number in the extracted information, change the operation and maintenance unit string of the fixed template to the corresponding unit of the extracted information, and finally fill in the modified information into the operation task bar. When there is no power transfer plan for the maintenance application form, search for the power transfer plan information of the string in the application note information. If there is no power transfer plan, it will return empty, and then directly enter the power outage operation order ticket. Read the information on the primary and secondary equipment safety measures in the data table, and modify the relevant statements in the manner of dispatch instructions. Finally, write the modified preliminary instructions into the operation items in sequence.

[0085] The remark column of the dispatch order ticket mainly determines different templates according to the type of ticket. According to the current requirements, in order to count the number of closed-loop power transfers and delayed power outages during power outage operations, the remark column of the power transfer order ticket should be written as "X power transfers, including X closed-loop power transfers", and the remark column of the non-power supply order ticket should be written as "1-Power outage timeout reason: 2-Power outage order timeout reason: 3-Power outage operation timeout reason: 4-Permission timeout reason:.

[0086] As production methods and processes change, the descriptions and expressions of certain operations will change. You only need to modify the templates or statements accordingly, and the remaining logic and methods remain unchanged.

[0087] The above embodiment replaces the process of manually copying and pasting the safety measures of the maintenance application form one by one when drafting a dispatch order based on RPA technology, and optimizes and modifies it according to the format of the dispatch order ticket, thereby realizing automatic batch drafting of dispatch order tickets.

[0088] Embodiment 2

[0089] An embodiment of an automatic ticket preparation system for dispatch order tickets based on RPA tools in the present invention includes the following steps:

[0090] An information acquisition unit is used to use the RPA tool to sequentially acquire relevant information of each maintenance application form;

[0091] A power supply transfer scheme judgment unit is used to extract key data information based on relevant information, and judge whether there is a power supply transfer scheme for the maintenance work corresponding to each maintenance application form according to the key data information;

[0092] The power transfer scheme information filling unit is used to generate a corresponding task description statement according to the relevant information of the power transfer scheme and fill the task description statement into the operation task column, extract key details and key parameters according to the relevant information of the power transfer scheme and fill the key details and key parameters into the operation item column, and fill the statistical information of the power transfer scheme into the operation remarks column;

[0093] The maintenance application form related information filling unit is used to fill in the operation task column after processing the identification information of the maintenance application form, extract information that meets the requirements of the scheduling instruction based on the maintenance application form and fill it in the operation item column, and fill the record content of the maintenance application form into the operation remarks column.

[0094] For the specific definition of the system, please refer to the definition of the method above, which will not be repeated here. Each module in the above system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be 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.

[0095] Embodiment 3

[0096] The present invention provides a computer device, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the above method are implemented.

[0097] Those of ordinary skill in the art will appreciate that the units of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition of each example has been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0098] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored. In addition, each functional unit in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0099] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-0nlyMemory), random access memory (RAM, RandomAccessMemory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.

[0100] It can be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A method for automatically drafting dispatch order tickets based on RPA tools, characterized in that: include: Use RPA tools to obtain relevant information of each maintenance application in turn; Extract key data information based on the relevant information, and determine whether there is a power supply transfer plan for the maintenance work corresponding to each maintenance application form according to the key data information; If so, a corresponding task description statement is generated according to the relevant information of the power transfer plan and the task description statement is filled in the operation task column, key details and key parameters are extracted according to the relevant information of the power transfer plan and the key details and key parameters are filled in the operation item column, and the statistical information of the power transfer plan is filled in the operation remarks column; If not, fill in the operation task column after processing based on the identification information of the maintenance application form, extract information that meets the requirements of the scheduling instruction based on the maintenance application form and fill in the operation item column, and fill in the record content of the maintenance application form into the operation notes column.

2. According to the RPA tool-based automatic ticket preparation method for dispatching order tickets according to claim 1, it is characterized in that: The extracting key data information based on the relevant information, and judging whether there is a power supply transfer scheme for the maintenance work corresponding to each maintenance application form according to the key data information, includes: Extract feature values ​​based on key data information; The probability of the extracted feature value corresponding to a category is calculated using Bayesian theorem, wherein the category includes the existence of a power transfer scheme and the non-existence of a power transfer scheme; Determine whether there is a power supply transfer plan for the maintenance work corresponding to the maintenance application form based on the calculated probability.

3. The automatic ticket preparation method for dispatching order tickets based on RPA tools according to claim 2 is characterized in that: The Bayesian theorem is used to calculate the probability of the extracted feature value corresponding to the category, wherein the category includes the existence of the power transfer scheme and the non-existence of the power transfer scheme, including: Where: (x new1 ,x new2 ,x new3 ) is the extracted eigenvalue, C k is the category corresponding to the extracted eigenvalue, k=1,2.

4. According to the RPA tool-based automatic ticket preparation method for dispatching order tickets according to claim 1, it is characterized in that: The step of generating a corresponding task description statement according to the relevant information of the power transfer scheme and filling the task description statement into the operation task column includes: Use the text reading function of the RPA tool to extract the text content of the power transfer plan into the first variable, and save the task description template into the second variable; After processing through keyword matching and replacement, logical sequence verification, and conditional constraint integration rules, the corresponding task description statement is generated.

5. According to the RPA tool-based dispatch order ticket automatic drafting method of claim 4, it is characterized in that: After the keyword matching and replacement, logic sequence verification and condition constraint integration rules are processed, the corresponding task description statement is generated, including: The keyword matching and replacement includes creating a keyword library of lines, equipment and operation actions, and performing keyword matching and replacement by scanning text; The logic sequence verification includes loading the operation sequence rule set and the standard step template, parsing the operation steps and verifying the sequence; The conditional constraint integration rules include identifying extraction restriction conditions and performing placeholder position replacement.

6. The method for automatically preparing dispatch order tickets based on RPA tools according to claim 1 is characterized in that: The extracting key details and key parameters according to the relevant information of the power transfer scheme and filling the key details and key parameters into the operation item column includes: Key details include identifying the power supply and power receiving entities, and sorting out the switching operation sequence; The key parameters include current parameters, voltage parameters and time special requirement parameters.

7. The method for automatically preparing dispatch order tickets based on RPA tools according to claim 1 is characterized in that: The statistical information of the power supply transfer scheme is filled into the operation remarks column, including: Match the notes column template according to the power transfer scheduling type and fill in the data using the string replacement operation.

8. An automatic ticket preparation system for dispatch order tickets based on RPA tools, characterized in that: include: An information acquisition unit is used to use the RPA tool to sequentially acquire relevant information of each maintenance application form; A power transfer scheme judgment unit, used to extract key data information based on the relevant information, and judge whether there is a power transfer scheme for the maintenance work corresponding to each maintenance application form according to the key data information; A power transfer scheme information filling unit is used to generate a corresponding task description statement according to the relevant information of the power transfer scheme and fill the task description statement into the operation task column, extract key details and key parameters according to the relevant information of the power transfer scheme and fill the key details and key parameters into the operation item column, and fill the statistical information of the power transfer scheme into the operation remarks column; The maintenance application form related information filling unit is used to fill in the operation task column after processing the identification information of the maintenance application form, extract information that meets the requirements of the scheduling instruction based on the maintenance application form and fill it in the operation item column, and fill the record content of the maintenance application form into the operation remarks column.

9. A computer device, characterized in that: include: memories, transceivers, processors, and bus systems; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, including executing the automatic ticket preparation method for dispatch order tickets based on the RPA tool according to any one of claims 1 to 7; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

10. A readable storage medium, characterized in that: It includes instructions, which, when running on a computer, enable the computer to execute the steps of the automatic ticket preparation method for dispatch order tickets based on the RPA tool as described in any one of claims 1 to 7.