CN111475466A - Nuclear power work ticket query method and device, computer equipment and storage medium - Google Patents

Nuclear power work ticket query method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111475466A
CN111475466A CN202010174330.8A CN202010174330A CN111475466A CN 111475466 A CN111475466 A CN 111475466A CN 202010174330 A CN202010174330 A CN 202010174330A CN 111475466 A CN111475466 A CN 111475466A
Authority
CN
China
Prior art keywords
nuclear power
query
request
target
ticket
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.)
Granted
Application number
CN202010174330.8A
Other languages
Chinese (zh)
Other versions
CN111475466B (en
Inventor
郭军军
杨建华
刘国荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China General Nuclear Power Corp
CGN Power Co Ltd
Daya Bay Nuclear Power Operations and Management Co Ltd
Lingdong Nuclear Power Co Ltd
Guangdong Nuclear Power Joint Venture Co Ltd
Lingao Nuclear Power Co Ltd
Original Assignee
China General Nuclear Power Corp
CGN Power Co Ltd
Daya Bay Nuclear Power Operations and Management Co Ltd
Lingdong Nuclear Power Co Ltd
Guangdong Nuclear Power Joint Venture Co Ltd
Lingao Nuclear Power 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 China General Nuclear Power Corp, CGN Power Co Ltd, Daya Bay Nuclear Power Operations and Management Co Ltd, Lingdong Nuclear Power Co Ltd, Guangdong Nuclear Power Joint Venture Co Ltd, Lingao Nuclear Power Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202010174330.8A priority Critical patent/CN111475466B/en
Publication of CN111475466A publication Critical patent/CN111475466A/en
Application granted granted Critical
Publication of CN111475466B publication Critical patent/CN111475466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a nuclear power work ticket query method, a device, computer equipment and a storage medium in the technical field of nuclear power informatization construction. The method comprises the following steps: acquiring a nuclear power work ticket query request, wherein the nuclear power work ticket query request carries request parameters and request time; determining a target query strategy corresponding to the request parameter in preset query strategies; inquiring in a plurality of nuclear power log files according to the target inquiry strategy and the request time to obtain an inquiry result; and identifying the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter. By adopting the method, the query efficiency of the nuclear power work ticket can be improved.

Description

Nuclear power work ticket query method and device, computer equipment and storage medium
Technical Field
The application relates to the technical field of nuclear power informatization construction, in particular to a nuclear power work ticket query method and device, computer equipment and a storage medium.
Background
In order to ensure safe production of a nuclear power plant, nuclear power work tickets need to be inquired so as to know the work process of the nuclear power plant. The nuclear power work ticket is used as an indispensable link in the maintenance process of nuclear power equipment, and plays an irreplaceable role in the safety production of a nuclear power plant. In a traditional mode, nuclear power work tickets are inquired in all data from the commissioning of enterprise resource management application software systems (SAP for short) to know the work process of a nuclear power plant.
In the traditional mode, when the data volume is large, the nuclear power work ticket query efficiency is low. Therefore, how to improve the query efficiency of the nuclear power work ticket becomes a technical problem to be solved at present.
Disclosure of Invention
Therefore, it is necessary to provide a nuclear power work ticket query method, a nuclear power work ticket query device, a computer device, and a storage medium, which can improve the query efficiency of the nuclear power work ticket, in order to solve the above technical problems.
A nuclear power work ticket query method comprises the following steps:
acquiring a nuclear power work ticket query request, wherein the nuclear power work ticket query request carries request parameters and request time;
determining a target query strategy corresponding to the request parameter in preset query strategies;
inquiring in a plurality of nuclear power log files according to the target inquiry strategy and the request time to obtain an inquiry result;
and identifying the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter.
In one embodiment, the determining, in the preset query policy, the target query policy corresponding to the request parameter includes:
acquiring a configuration file corresponding to the request parameter;
extracting parameter characteristic information corresponding to the request parameter from the configuration file;
and screening a target query strategy corresponding to the request parameter from preset query strategies according to the parameter characteristic information.
In one embodiment, the querying in the plurality of nuclear power log files according to the target query policy and the request time includes:
determining a target log file corresponding to the target query strategy in a plurality of nuclear power log files;
and inquiring in the target log file according to the target inquiry strategy and the request time.
In one embodiment, the nuclear power log file includes a work order identifier corresponding to a nuclear power work order, and the method further includes:
when nuclear power work tickets corresponding to a plurality of work order identifications exist in the nuclear power log file, hiding the work order identifications corresponding to the nuclear power work tickets to obtain a nuclear power log file after hiding;
and inquiring in the nuclear power log file after the hiding processing according to the target inquiry strategy and the request time.
In one embodiment, before the acquiring the nuclear power work ticket query request, the method further includes:
acquiring a plurality of nuclear power log files;
performing feature extraction on each nuclear power log file to obtain time feature information of each nuclear power log file;
and generating a preset inquiry strategy according to the time characteristic information of the plurality of nuclear power log files.
A nuclear power work ticket inquiry device, the device includes:
the communication module is used for acquiring a nuclear power work ticket query request, and the nuclear power work ticket query request carries request parameters and request time;
the determining module is used for determining a target query strategy corresponding to the request parameter in preset query strategies;
the query module is used for querying in a plurality of nuclear power log files according to the target query strategy and the request time to obtain a query result;
and the identification module is used for identifying the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter.
In one embodiment, the determining module is configured to obtain a configuration file corresponding to the request parameter; extracting parameter characteristic information corresponding to the request parameter from the configuration file; and screening a target query strategy corresponding to the request parameter from preset query strategies according to the parameter characteristic information.
In one embodiment, the query module is configured to determine a target log file corresponding to the target query policy from a plurality of nuclear power log files; and inquiring in the target log file according to the target inquiry strategy and the request time.
A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, the processor implementing the steps in the various method embodiments described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the respective method embodiment described above.
According to the nuclear power work ticket query method, the device, the computer equipment and the storage medium, the target query strategy corresponding to the request parameter carried in the nuclear power query request is determined in the preset query strategy, the nuclear power work ticket query can be performed by adopting the corresponding query strategy according to different request parameters, the integrity of the nuclear power work ticket query can be ensured, and data loss is avoided. And inquiring in a plurality of nuclear power log files according to the target inquiry strategy and the request time to obtain an inquiry result. And therefore, the nuclear power work ticket corresponding to the nuclear power work ticket query request is identified in the query result according to the request parameter. By adding the target query strategy and the query of the request time before the nuclear power work ticket is identified, the data query range can be reduced, and the query efficiency of the nuclear power work ticket is effectively improved.
Drawings
FIG. 1 is an application environment diagram of a nuclear power work ticket query method in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a nuclear power work ticket query method in one embodiment;
FIG. 3 is a flowchart illustrating a step of determining a target query policy corresponding to a request parameter in a preset query policy according to an embodiment;
FIG. 4 is a block diagram of a nuclear power ticket issuing system in one embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The nuclear power work ticket query method provided by the application can be applied to the application environment shown in the figure 1. Wherein the terminal 102 and the server 104 communicate via a network. The server 104 acquires a nuclear power work ticket query request sent by the terminal 102, wherein the nuclear power work ticket query request carries request parameters and request time. The server 104 determines a target query policy corresponding to the request parameter in the preset query policies. And the server 104 queries the nuclear power log file corresponding to the target query strategy according to the target query strategy and the request time to obtain a query result. And the server 104 identifies the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In an embodiment, as shown in fig. 2, a nuclear power work ticket query method is provided, which is described by taking the example that the method is applied to the server in fig. 1, and includes the following steps:
step 202, a nuclear power work ticket query request is obtained, wherein the nuclear power work ticket query request carries request parameters and request time.
And 204, determining a target query strategy corresponding to the request parameter in the preset query strategies.
And step 206, inquiring in the nuclear power log file corresponding to the target inquiry strategy according to the target inquiry strategy and the request time to obtain an inquiry result.
And 208, identifying the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter.
In the process of displaying the work of the nuclear power plant, the nuclear power work ticket is inquired. The nuclear power work ticket is a written command which permits work on nuclear power equipment and system software and is also a written basis for executing safety technical measures. The nuclear power Work ticket can be WCA (Work clear Application). The nuclear power work ticket can comprise a work ticket number, a work responsible person, a work class member, a work place, work content, planned work time, work finishing time, a power failure range, safety measures, a work licensor, a work ticket issuer, a work ticket approver and the like.
The server acquires a nuclear power work ticket query request sent by the terminal, analyzes the nuclear power work ticket, and obtains a nuclear power plant identifier, a request parameter and a request time. The nuclear power plant identifier is an identifier that uniquely identifies the nuclear power plant. The nuclear power plant identification may be a nuclear power plant code or a nuclear power plant name. For example, the request parameters may include a to-be-isolated list, a to-be-ticketed list, a to-be-cleared list, an abnormal work list, a long-term tracking list, and the like. The request parameter comprises the state information of the nuclear power work ticket in the corresponding process. The request time may be in the form of a time period.
The server is preset with an inquiry strategy. The preset query strategy can be obtained by analyzing a plurality of nuclear power log files. The nuclear power log file can include a processing process of a nuclear power work order. The nuclear power log files can comprise nuclear power work ticket log reports, work order log reports, notice order log reports, nuclear power work ticket master meters and nuclear power work ticket application program maintenance ticket taking/ticket returning log files. The preset query strategy can be a query condition of a nuclear power work ticket. For example, the preset query strategy may include that the last modification time of the nuclear power work ticket is used as a query condition, the ticket taking time of the work principal is used as a query condition, and the ticket returning time of the work principal is used as a query condition.
And the server performs strategy screening in the preset inquiry strategies according to the request parameters and determines a target inquiry strategy corresponding to the request parameters. For example, when the request parameter is the list to be isolated, the list to be isolated is screened in a preset query strategy, and the target query strategy of the list to be isolated is obtained by taking the last modification time of the nuclear power work ticket as a query condition. For example, when the request parameter is a list of tickets to be taken, the list of tickets to be taken is screened in a preset query strategy, and the target query strategy for obtaining the list of tickets to be taken is that the last modification time of the nuclear power working ticket is used as a query condition. For another example, when the request parameter is the already-picked ticket list, the target query strategy for obtaining the already-picked ticket list is obtained by screening in a preset query strategy according to the already-picked ticket list, and the ticket picking time of the working responsible person is used as a query condition. For another example, when the request parameter is the list to be cancelled, the list to be cancelled is screened in the preset query strategy, and the target query strategy of the list to be cancelled is obtained by taking the ticket returning time of the working responsible person as a query condition.
A plurality of nuclear power log files corresponding to the nuclear power plant identification are stored in the server. And the server determines a target log file corresponding to the target query strategy in a plurality of nuclear power log files corresponding to the nuclear power plant identifier. And inquiring in the target log file according to the target inquiry strategy and the request time to obtain an inquiry result. The query result can comprise a plurality of nuclear power work tickets within the request time. For example, when the target query policy is that the last modification time of the nuclear power work ticket is used as a query condition, determining a target log file containing the modification time in a plurality of nuclear power log files according to the modification time of the nuclear power work ticket, and using the target log file as a master table of the nuclear power work ticket. For another example, when the target query policy is that the ticket returning time of the work principal is used as a query condition, determining a target log file containing the ticket returning time in a plurality of nuclear power log files according to the ticket returning time of the work principal, and maintaining a ticket taking/returning log file for the nuclear power work ticket application program.
And after the server obtains the query result, identifying a plurality of nuclear power work tickets in the query result. And the server acquires a judgment rule corresponding to the request parameter, and identifies the nuclear power work ticket corresponding to the nuclear power work ticket inquiry request in the inquiry result according to the judgment rule. And the judgment rule is used for identifying whether the nuclear power work ticket in the query result meets the preset parameters. When the request parameters are different, the corresponding judgment rules may also be different. For example, when the request parameter is the to-be-cancelled list, the judgment rule corresponding to the request parameter may be that the work principal has already returned the ticket and the work order has already been completed. And the whole isolation application finishes the Work clearing Work, namely, all the corresponding WCDs (Work clear Documents) with closed nuclear power Work tickets are removed from the isolation clearing state, so that the identified nuclear power Work tickets are all the isolation applications which have finished Work and have not been subjected to subsequent isolation clearing.
In the traditional mode, nuclear power work order query is carried out in all data from the commissioning of an enterprise resource management application software system so as to know the work process of a nuclear power plant. When the data volume is large, the traditional method can cause the nuclear power work order query efficiency to be low. In this embodiment, the server determines a target query policy corresponding to a request parameter carried in the nuclear power query request in the preset query policies, and can perform nuclear power work ticket query by adopting corresponding query policies for different request parameters, so that integrity of nuclear power work ticket query can be ensured, and data loss is avoided. And inquiring in a plurality of nuclear power log files according to the target inquiry strategy and the request time to obtain an inquiry result. And therefore, the nuclear power work ticket corresponding to the nuclear power work ticket query request is identified in the query result according to the request parameter. By adding the target query strategy and the query of the request time before the nuclear power work ticket is identified, the data query range can be reduced, and the query efficiency of the nuclear power work ticket is effectively improved.
In one embodiment, as shown in fig. 3, the step of determining the target query policy corresponding to the request parameter in the preset query policies includes:
step 302, obtaining a configuration file corresponding to the request parameter.
Step 304, extracting the parameter characteristic information corresponding to the request parameter from the configuration file.
And step 306, screening a target query strategy corresponding to the request parameter from the preset query strategies according to the parameter characteristic information.
The server analyzes the nuclear power work ticket after acquiring the nuclear power work ticket query request, so that request parameters can be obtained, and a corresponding configuration file is acquired according to the request parameters, wherein the configuration file records a plurality of request parameters and parameter characteristic information corresponding to each request parameter. And the server extracts the parameter characteristic information corresponding to the request parameter from the configuration file, and then screens the query strategy in the preset query strategy according to the parameter characteristic information.
For example, the request parameter may be any one of a to-be-isolated list, a to-be-picked list, a picked-ticket list, a to-be-cancelled list, an abnormal work list, and a long-term tracking list. When the request parameter is the list to be isolated, the parameter characteristic information corresponding to the list to be isolated can be that the nuclear power work ticket is in a state of not implementing isolation, and the server screens a target query strategy obtained in a preset query strategy according to the state of not implementing isolation, wherein the last modification time of the nuclear power work ticket is used as a query condition.
When the request parameter is a list to be checked, the parameter characteristic information corresponding to the list to be checked can be that the nuclear power working ticket is in a non-ticket-checking state, and the server screens a target query strategy obtained in a preset query strategy according to the non-ticket-checking state, wherein the last modification time of the nuclear power working ticket is used as a query condition.
When the request parameter is the bill-taken list, the parameter characteristic information corresponding to the bill-taken list may be that all nuclear power work tickets include the ticket-taking time of the work principal. The server screens the preset query strategy according to the parameter characteristic information to obtain a target query strategy, wherein the target query strategy is to use the ticket taking time of the working responsible person as a query condition. When the work responsible person frequently stops during the overhaul period, the ticket is taken again, and the ticket taking time of the work responsible person takes all the ticket taking time as an information object. Therefore, the time is selected as a target query strategy to perform subsequent nuclear power work ticket query, and ticket taking time of work responsible persons corresponding to all nuclear power work tickets can be guaranteed to fall within the query time range.
When the request parameter is the to-be-cancelled list, the parameter characteristic information corresponding to the to-be-cancelled list can be that all nuclear power work tickets include the ticket returning time of the work responsible person. And the server screens the preset query strategy according to the parameter characteristic information to obtain a target query strategy, wherein the target query strategy is to use the ticket returning time of the working responsible person as a query condition.
When the request parameter is an abnormal working list or a long-term tracking list, the parameter characteristic information corresponding to the abnormal working list is the same as the parameter characteristic information corresponding to the long-term tracking list, and the key time in the parameter characteristic information is the ticket returning time of the working responsible person. And the server screens the preset query strategy according to the parameter characteristic information to obtain a target query strategy, wherein the target query strategy is to use the ticket returning time of the working responsible person as a query condition.
In this embodiment, the server extracts the parameter characteristic information corresponding to the request parameter from the configuration file by obtaining the configuration file corresponding to the request parameter, so as to screen the target query policy corresponding to the request parameter from the preset query policies according to the parameter characteristic information. The request parameters comprise the state information of the nuclear power work ticket in the corresponding flow, the parameter characteristic information is extracted from the configuration file, the target query strategy is screened, the corresponding target query strategy is determined according to the state information corresponding to each request parameter, the integrity of the nuclear power work ticket can be ensured, and data loss is avoided.
In one embodiment, querying in the nuclear power log file corresponding to the target query policy according to the target query policy and the request time includes: determining a target log file corresponding to a target query strategy in a plurality of nuclear power log files; and inquiring in the target log file according to the target inquiry strategy and the request time.
A plurality of nuclear power log files corresponding to the nuclear power plant identification are stored in the server. The nuclear power log file can include a processing process of a nuclear power work order. The nuclear power log files can comprise nuclear power work ticket log reports, work order log reports, notice order log reports, nuclear power work ticket master meters and nuclear power work ticket application program maintenance ticket taking/ticket returning log files. The operation time of the nuclear power work ticket system state and the operation time of the user state are recorded in the nuclear power work ticket log report, and the operation is mainly completed by planning personnel and an isolation manager. The work order log report records the operation time of the work order system state and the operation time of the user state, and the operation is only performed by maintenance professionals. The operation time of the system state of the notice sheet and the operation time of the user state of the notice sheet are recorded in the notice sheet log report, and the operation is performed by an authorized person of the notice sheet modification process. The nuclear power work order master table records the creation time of the nuclear power work order master table and the last modification time of the nuclear power work order master table, and the creation time and the last modification time are derived from the first data and the last data in the nuclear power work order master table log report. The ticket taking/returning log file is maintained by the nuclear power work ticket master table application program, and the ticket taking time and the ticket returning time of a work responsible person are recorded. During overhaul, the situation that a lot of work is restarted after being suspended, or the work is restarted after being held for a reservation can occur, so that the situation of taking or returning tickets for many times can occur, and data of each operation can be stored in a ticket taking/returning log file maintained by a main table application program of the nuclear power work ticket.
And the server determines a target log file corresponding to the target query strategy in the plurality of nuclear power log files. And when the target query strategy is to take the last modification time of the nuclear power work ticket as a query condition, the server determines that the target log file is a nuclear power work ticket master table. When the target query strategy is that the ticket taking time of a working responsible person is taken as a query condition, the server determines that the target log file is a nuclear power working ticket master table application program maintenance ticket taking/ticket returning log file. When the target query strategy is that the ticket returning time of the working responsible person is used as a query condition, the server determines that the target log file is a nuclear power working ticket master table application program maintenance ticket taking/ticket returning log file.
And after determining the target log file, the server further queries in the target log file according to the target query strategy and the request time. And the server takes the request time as a time value in a target query strategy, queries a corresponding nuclear power work ticket in a target log file according to the time value and generates a query result.
In this embodiment, the server determines a target log file corresponding to the target query policy from a plurality of nuclear power log files, and queries the target log file according to the target query policy and the request time. The method can inquire in the nuclear power work ticket within the request time range by setting the request time, thereby avoiding the problem of overlarge data volume when the work ticket is checked and determined for inquiry.
In one embodiment, the nuclear power log file includes a work order identifier corresponding to the nuclear power work order, and the method further includes: when nuclear power work tickets corresponding to a plurality of work order identifications exist in a nuclear power log file, hiding the work order identifications corresponding to the nuclear power work tickets to obtain a nuclear power log file after hiding; and inquiring in the nuclear power log file after the hiding processing according to the target inquiry strategy and the request time.
The nuclear power log file comprises processing information of a plurality of nuclear power work tickets, the nuclear power work tickets comprise work order identification, and the work order identification can be a work order number. And the server identifies whether nuclear power work tickets corresponding to a plurality of work order identifications exist in the nuclear power log file. The work order identification may include a master ticket identification as well as a slave ticket identification. When nuclear power work tickets corresponding to a plurality of work order identifications exist, hiding the slave tickets corresponding to the slave ticket identifications, namely, the nuclear power work tickets only correspond to one work order identification, namely, only the master tickets corresponding to the master ticket identifications are reserved, and nuclear power log files after hiding are obtained. And the server further queries in the nuclear power log file after the hiding processing according to the target query strategy and the request time.
In this embodiment, when a plurality of work order identifications correspond to one nuclear power work order, the corresponding work order identification is hidden, and then is queried in a nuclear power log file after hidden processing according to a target query strategy and request time, so that the circulation information of the nuclear power work order can be effectively controlled, and the circulation information is kept consistent with the historical work order information.
In one embodiment, before acquiring the nuclear power work ticket query request, the method further includes: acquiring a plurality of nuclear power log files; performing feature extraction on each nuclear power log file to obtain time feature information of each nuclear power log file; and generating a preset inquiry strategy according to the time characteristic information of the plurality of nuclear power log files.
Before the server obtains the nuclear power work ticket query request, a preset query strategy can be generated according to a plurality of nuclear power log files. Specifically, the server acquires a plurality of nuclear power log files stored in advance. The nuclear power log files can comprise nuclear power work ticket log reports, work order log reports, notice order log reports, nuclear power work ticket master meters and nuclear power work ticket application program maintenance ticket taking/ticket returning log files.
And the server extracts the characteristics of the nuclear power log files to obtain the time characteristic information of each nuclear power log file. When the nuclear power log file is a nuclear power work ticket log report, the corresponding time characteristic information is the operation time of the system state and the operation time of the user state of the nuclear power work ticket, and a plurality of operation times are corresponding to each nuclear power work ticket. When the nuclear power log file is a work order log report, the corresponding time characteristic information is the operation time of the work order system state and the operation time of the user state, and a plurality of operation times are corresponding to each nuclear power work order. When the nuclear power log file is a notice log report, the time characteristic information corresponding to the notice log report is the operation time of the state of a notice system and the operation time of the state of a user, and a plurality of operation times are corresponding to each nuclear power work ticket. When the nuclear power log file is a nuclear power work order master table, the corresponding time characteristic information is the creation time of the nuclear power work order master table and the last modification time of the nuclear power work order master table, and is derived from the first time and the last time data in the nuclear power work order master table log report. When the nuclear power log file maintains the ticket taking/ticket returning log file for the nuclear power work ticket master table application program, the corresponding time characteristic information is the ticket taking time and the ticket returning time of a work responsible person. During overhaul, the situation that a lot of work is restarted after being suspended, or the work is restarted after being held for a reservation can occur, so that the situation of taking or returning tickets for many times can occur, and data of each operation can be stored in a ticket taking/returning log file maintained by a main table application program of the nuclear power work ticket.
The server analyzes the time characteristic information of the nuclear power log files and generates a preset query strategy. Specifically, each nuclear power working ticket in the nuclear power working ticket log report, the work order log report and the notice order log report corresponds to a plurality of operation times, any operation and modification are recorded, and if the nuclear power log file is used as a data query source, the query efficiency is low due to overlarge data volume.
For the nuclear power work ticket master table, each nuclear power work ticket only has two times, and the nuclear power work ticket master table is a relatively suitable data source. However, the creation time and the execution time of the nuclear power work ticket are often far away. Taking a overhaul worker as an example, the creation time of the nuclear power work ticket may be half a year earlier than the execution time, and for the temporary defect handling work, the creation time and the execution time interval of the nuclear power work ticket may be only a few days. The interval amplitude of the creation time and the execution time of the nuclear power work ticket is too large, so that the nuclear power work ticket is not beneficial to being inquired, and therefore the last modification time of the nuclear power work ticket is used as a preset inquiry strategy. And the nuclear power work ticket application program maintains the ticket taking and returning time in the ticket taking/returning log information as a certificate record for the work responsible person to perform work starting execution. The ticket-taking time of the work responsible person can be screened according to the ticket-taken list, and the ticket-returning time of the work responsible person can be screened according to the isolation list to be released. Therefore, the preset query strategy generated by the server comprises the steps of taking the last modification time of the nuclear power work ticket as a query condition, taking the ticket getting time of the work principal as a query condition and taking the ticket returning time of the work principal as a query condition.
In this embodiment, the server performs feature extraction on a plurality of nuclear power log files to obtain time feature information, and then generates a preset query strategy according to the time feature information, so that a target query strategy can be provided for a subsequent nuclear power work query request, and the integrity of nuclear power work ticket query is ensured.
It should be understood that although the steps in the flowcharts of fig. 2 to 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a nuclear power work ticket query device, including: a communication module 402, a determination module 404, a query module 406, and an identification module 408, wherein:
the communication module 402 is configured to obtain a nuclear power work ticket query request, where the nuclear power work ticket query request carries a request parameter and a request time.
The determining module 404 is configured to determine a target query policy corresponding to the request parameter in the preset query policies.
And the query module 406 is configured to query the multiple nuclear power log files according to the target query policy and the request time to obtain a query result.
And the identifying module 408 is configured to identify the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter.
In one embodiment, the determining module 404 is configured to obtain a configuration file corresponding to the request parameter; extracting parameter characteristic information corresponding to the request parameter from the configuration file; and screening a target query strategy corresponding to the request parameter from preset query strategies according to the parameter characteristic information.
In one embodiment, the query module 406 is configured to determine a target log file corresponding to a target query policy among a plurality of nuclear power log files; and inquiring in the target log file according to the target inquiry strategy and the request time.
In one embodiment, the above apparatus further comprises: the hiding module is used for hiding the work order identifications corresponding to the nuclear power work orders when nuclear power work orders corresponding to the work order identifications exist in the nuclear power log file to obtain a nuclear power log file after hiding; and inquiring in the nuclear power log file after the hiding processing according to the target inquiry strategy and the request time.
In one embodiment, the above apparatus further comprises: the generating module is used for acquiring a plurality of nuclear power log files; performing feature extraction on each nuclear power log file to obtain time feature information of each nuclear power log file; and generating a preset inquiry strategy according to the time characteristic information of the plurality of nuclear power log files.
For specific limitations of the nuclear power work ticket query device, reference may be made to the above limitations of the nuclear power work ticket query method, which are not described herein again. All modules in the nuclear power work ticket inquiring device can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing nuclear power work tickets. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a nuclear power work ticket query method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the various embodiments described above when the processor executes the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the respective embodiments described above.
It will be understood by those of ordinary skill in the art that all or a portion of the processes of the methods of the embodiments described above may be implemented by a computer program that may be stored on a non-volatile computer-readable storage medium, which when executed, may include the processes of the embodiments of the methods described above, wherein any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A nuclear power work ticket query method is characterized by comprising the following steps:
acquiring a nuclear power work ticket query request, wherein the nuclear power work ticket query request carries request parameters and request time;
determining a target query strategy corresponding to the request parameter in preset query strategies;
inquiring in a plurality of nuclear power log files according to the target inquiry strategy and the request time to obtain an inquiry result;
and identifying the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter.
2. The method according to claim 1, wherein the determining the target query policy corresponding to the request parameter in the preset query policies comprises:
acquiring a configuration file corresponding to the request parameter;
extracting parameter characteristic information corresponding to the request parameter from the configuration file;
and screening a target query strategy corresponding to the request parameter from preset query strategies according to the parameter characteristic information.
3. The method of claim 1, wherein querying among a plurality of nuclear power log files according to the target query policy and the request time comprises:
determining a target log file corresponding to the target query strategy in a plurality of nuclear power log files;
and inquiring in the target log file according to the target inquiry strategy and the request time.
4. The method of claim 1, wherein the nuclear power log file includes a work order identifier corresponding to a nuclear power work order, and the method further comprises:
when nuclear power work tickets corresponding to a plurality of work order identifications exist in the nuclear power log file, hiding the work order identifications corresponding to the nuclear power work tickets to obtain a nuclear power log file after hiding;
and inquiring in the nuclear power log file after the hiding processing according to the target inquiry strategy and the request time.
5. The method according to any one of claims 1 to 4, wherein before the acquiring the nuclear power work ticket query request, the method further comprises:
acquiring a plurality of nuclear power log files;
performing feature extraction on each nuclear power log file to obtain time feature information of each nuclear power log file;
and generating a preset inquiry strategy according to the time characteristic information of the plurality of nuclear power log files.
6. A nuclear power work ticket inquiry device is characterized by comprising:
the communication module is used for acquiring a nuclear power work ticket query request, and the nuclear power work ticket query request carries request parameters and request time;
the determining module is used for determining a target query strategy corresponding to the request parameter in preset query strategies;
the query module is used for querying in a plurality of nuclear power log files according to the target query strategy and the request time to obtain a query result;
and the identification module is used for identifying the nuclear power work ticket corresponding to the nuclear power work ticket query request in the query result according to the request parameter.
7. The apparatus according to claim 6, wherein the determining module is configured to obtain a configuration file corresponding to the request parameter; extracting parameter characteristic information corresponding to the request parameter from the configuration file; and screening a target query strategy corresponding to the request parameter from preset query strategies according to the parameter characteristic information.
8. The apparatus of claim 6, wherein the query module is configured to determine a target log file corresponding to the target query policy among a plurality of nuclear power log files; and inquiring in the target log file according to the target inquiry strategy and the request time.
9. A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202010174330.8A 2020-03-13 2020-03-13 Nuclear power work ticket query method and device, computer equipment and storage medium Active CN111475466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010174330.8A CN111475466B (en) 2020-03-13 2020-03-13 Nuclear power work ticket query method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010174330.8A CN111475466B (en) 2020-03-13 2020-03-13 Nuclear power work ticket query method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111475466A true CN111475466A (en) 2020-07-31
CN111475466B CN111475466B (en) 2023-09-19

Family

ID=71748306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010174330.8A Active CN111475466B (en) 2020-03-13 2020-03-13 Nuclear power work ticket query method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111475466B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032600A (en) * 2021-02-26 2021-06-25 广东核电合营有限公司 Label list processing method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802138A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Video file processing method and system, and video proxy system
CN110609954A (en) * 2019-08-30 2019-12-24 深圳壹账通智能科技有限公司 Data acquisition method and device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802138A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Video file processing method and system, and video proxy system
CN110609954A (en) * 2019-08-30 2019-12-24 深圳壹账通智能科技有限公司 Data acquisition method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032600A (en) * 2021-02-26 2021-06-25 广东核电合营有限公司 Label list processing method and device, computer equipment and storage medium
CN113032600B (en) * 2021-02-26 2024-04-16 广东核电合营有限公司 Label list processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111475466B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN109033123B (en) Big data-based query method and device, computer equipment and storage medium
US10282702B2 (en) Dynamic employee security risk scoring
CN106469068B (en) Application program deployment method and system
US20100251379A1 (en) Method and System for Configuration Management Database Software License Compliance
US8745155B2 (en) Network storage device collector
CN104240342A (en) Access control method and device
CN104486346A (en) Stepping stone system
CN104346574A (en) Automatic host computer security configuration vulnerability restoration method and system based on configuration specification
US9100301B2 (en) Systems, methods, and articles of manufacture to manage alarm configurations of servers
MX2013010912A (en) System and method for managing role based access controls of users.
US20100011361A1 (en) Managing Task Requests
CN110659259A (en) Database migration method, server and computer storage medium
CN105389675A (en) Business process management system
CN105450660A (en) Business resource security control system
CN107644041B (en) Policy settlement processing method and device
CN111475466A (en) Nuclear power work ticket query method and device, computer equipment and storage medium
CN112650659B (en) Buried point setting method and device, computer equipment and storage medium
CN113836237A (en) Method and device for auditing data operation of database
CN110852571A (en) House resource management method for franchisee, computer-readable storage medium, and server
JP2020087129A (en) Entry management system and entry management method
CN115658794A (en) Data query method and device, computer equipment and storage medium
CN114662716A (en) Elevator maintenance processing method and device based on block chain and storage medium
CN110532533B (en) Form precision collocation method, device, computer equipment and storage medium
CN112633834A (en) Method and system for project declaration demand analysis
CN111767299A (en) Database operation method, device and system, storage medium and electronic equipment

Legal Events

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