CN117435586A - Data processing method, device, equipment and medium - Google Patents

Data processing method, device, equipment and medium Download PDF

Info

Publication number
CN117435586A
CN117435586A CN202311497142.9A CN202311497142A CN117435586A CN 117435586 A CN117435586 A CN 117435586A CN 202311497142 A CN202311497142 A CN 202311497142A CN 117435586 A CN117435586 A CN 117435586A
Authority
CN
China
Prior art keywords
target
shunting machine
data
original
job
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311497142.9A
Other languages
Chinese (zh)
Inventor
乔龙飞
张王彬
杨育龙
王思睿
杜晓明
刘力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Research and Design Institute Group Co Ltd
Original Assignee
CRSC Research and Design Institute Group 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 CRSC Research and Design Institute Group Co Ltd filed Critical CRSC Research and Design Institute Group Co Ltd
Priority to CN202311497142.9A priority Critical patent/CN117435586A/en
Publication of CN117435586A publication Critical patent/CN117435586A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/2433Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0838Historical data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Economics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Development Economics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The invention discloses a data processing method, a device, equipment and a medium, and relates to the technical field of data processing. Comprising the following steps: acquiring the operation type and original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine in a target period; performing abnormality detection on the original operation data of the target shunting machine operation according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine; correcting the original operation data of the target shunting machine operation with abnormal detection results according to the operation state data to obtain target operation data of the target shunting machine operation; and generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation. According to the technical scheme, the abnormality detection is carried out on the operation data of the shunting machine, the correction is carried out on the operation data of the shunting machine with abnormal detection results, and the accuracy of operation information is improved.

Description

Data processing method, device, equipment and medium
Technical Field
The present invention relates to the field of management technologies of a shunting machine, and in particular, to a data processing method, device, equipment, and medium.
Background
The allocation of shunting machines for each station on a local freight railway for shunting operation is one of the main working contents of a dispatcher, so that it is very important to grasp the operation condition of the shunting machines.
In the prior art, the operation information of the shunting machine in a certain period is determined mainly by orally communicating the operation data of the shunting machine with on-site station personnel or manually staring at the operation condition of the shunting machine by the dispatcher, and the defect of poor accuracy of the operation change information of the shunting machine exists.
Disclosure of Invention
The invention provides a data processing method, a device, equipment and a medium, which are used for improving the accuracy of operation information of a shunting machine.
In a first aspect, the present invention provides a data processing method, including:
acquiring the operation type and original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine in a target period; the original job data comprises an original job starting time and an original job ending time; the operating state data includes at least one of an operating state start time, an operating state end time, a non-operating state start time, and a non-operating state end time;
According to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, carrying out abnormality detection on the original operation data of the target shunting machine operation, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation;
correcting the original operation data of the target shunting machine operation with the abnormal detection result according to the operation state data, and determining the corrected original operation data of the target shunting machine operation with the abnormal detection result as target operation data of the target shunting machine operation;
and generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation.
In a second aspect, the present invention also provides a data processing apparatus, including:
the data acquisition module is used for acquiring the operation type and the original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine in the target period; the original job data comprises an original job starting time and an original job ending time; the operating state data includes at least one of an operating state start time, an operating state end time, a non-operating state start time, and a non-operating state end time;
The data detection module is used for carrying out abnormal detection on the original operation data of the target shunting machine operation according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, and determining the original operation data of the target shunting machine operation with a normal detection result as the target operation data of the target shunting machine operation;
the data correction module is used for correcting the original operation data of the target shunting machine operation with abnormal detection results according to the application state data, and determining the corrected original operation data of the target shunting machine operation with abnormal detection results as target operation data of the target shunting machine operation;
and the information generation module is used for generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the method comprises the steps of
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data processing method provided by any one of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium storing computer instructions for causing a processor to execute the data processing method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the operation type and the original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine are obtained in the target period; the original job data comprises an original job starting time and an original job ending time; the operating state data includes at least one of an operating state start time, an operating state end time, a non-operating state start time, and a non-operating state end time; according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, carrying out abnormality detection on the original operation data of the target shunting machine operation, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation; correcting the original operation data of the target shunting machine operation with the abnormal detection result according to the operation state data, and determining the corrected original operation data of the target shunting machine operation with the abnormal detection result as target operation data of the target shunting machine operation; and generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation. According to the technical scheme, the original operation data of the target shunting machine are subjected to abnormality detection, and the shunting machine operation data with abnormal detection results is corrected; the original operation data of the shunting machine with the normal detection result and the original operation data of the shunting machine with the abnormal corrected detection result are used as the operation data of the target shunting machine, and the operation information is further generated according to the operation data of the target shunting machine.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a data processing method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a data processing method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a data processing method according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a data processing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device implementing a data processing method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first" and "second" and the like in the description and the claims of the present invention and the above drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the technical scheme of the embodiment of the invention, the acquisition, storage, application and the like of the related original operation data and the like all meet the requirements of related laws and regulations, and the public sequence is not violated.
Example 1
Fig. 1 is a flowchart of a data processing method according to a first embodiment of the present invention, where the method may be applied to a case of processing job data of a shunting machine, and the method may be performed by a data processing device, where the data processing device may be implemented in a form of hardware and/or software, and specifically configured in an electronic device, for example, a server.
Referring to the data processing method shown in fig. 1, the method includes:
s101, acquiring the operation type and original operation data of at least one target shunting machine operation of a target shunting machine and the operation state data of the target shunting machine in a target period; the original job data comprises an original job starting time and an original job ending time; the operation state data includes at least one of an operation state start time, an operation state end time, a non-operation state start time, and a non-operation state end time.
In this embodiment, the target period may be a time period in which job information of the target shunting machine is to be generated. The target shunting machine may be a shunting machine to generate the job information. The target shunting machine job may be a shunting machine job for generating job information. The original job start time may be a time when the target shunting machine starts the job; the original job end time may be a time when the target shunting machine ends the job. The operation state start time may be a time when the target shunting machine starts to be in an operation state, and the operation state end time may be a time when the target shunting machine ends to be in an operation state. The non-operating state start time may be a time when the target shunting machine starts to be in the non-operating state. The non-operating state end time may be a time when the target shunting machine ends in the non-operating state. The application state can be used for representing that the target shunting machine is used; the non-operational state may be used to characterize that the target shunting machine is not in use.
Optionally, acquiring the job type and the original job data of at least one target shunting machine job of the target shunting machine and the application state data of the target shunting machine in the target period includes: acquiring the operation type and the original operation data of at least one candidate shunting machine operation of the target shunting machine, and the application state data and the dominant state data of the target shunting machine in the target period; wherein the dominant state data includes a dominant state start time and a dominant state end time; and screening the original job data between the start time of the dominant state and the end time of the dominant state from the original job data of the candidate shunting machine job, and taking the original job data as the original job data of the target shunting machine job.
The dominant state starting time may be a time when the target shunting machine starts to be in the dominant state; the dominant state end time may be a time when the target shunting machine ends in the dominant state. The governance state may be used to characterize that the target shunting machine is subject to the target station. The candidate shunting machine operation may be all shunting machine operations of the target shunting machine in the target period.
Specifically, for each candidate shunting machine job, if the starting time of the original job of the candidate shunting machine job is later than the starting time of the dominant state and the ending time of the original job of the candidate shunting machine job is earlier than the ending time of the dominant state, the candidate shunting machine job is taken as the target shunting machine job, and the original job data of the candidate shunting machine job is taken as the original job data of the target shunting machine job.
It can be appreciated that by adopting the above technical scheme, the candidate shunting machine operation, in which the original operation start time and the original operation end time are both between the dominant state start time and the dominant state end time, can be selected from the candidate shunting machine operation according to the dominant state data as the target shunting machine operation, that is, the error shunting machine operation in which the target shunting machine is not in the dominant state but the original operation data is still present is removed from the candidate shunting machine operation, so that the accuracy of the target shunting machine operation is improved, and the accuracy of the operation information of the target shunting machine in the target period is further improved.
In an alternative embodiment, before acquiring the job type and the original job data of at least one target shunting machine job of the target shunting machine and the application state data of the target shunting machine in the target period, the method further includes: acquiring identification information of a target station and station identification information of each candidate shunting machine staying in a target period; and for each candidate shunting machine, if the identification information of the target station exists in the station identification information of the candidate shunting machine which stays in the target period, determining the candidate shunting machine as the target shunting machine. The candidate shunting machines can be all shunting machines. The target station is a station where the operation information of the shunting machine in the target period is to be determined. The identification information of the target station may be used to uniquely identify the target station.
S102, according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, performing abnormality detection on the original operation data of the target shunting machine operation, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation.
In this embodiment, the target job data of the target shunting machine job may be job data of a shunting machine job for generating job information of the target shunting machine in a target period. The target job data includes a target job start time and a target job end time.
Specifically, a certain algorithm is adopted, and abnormality detection is carried out on the original operation data of the target shunting machine operation according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine; determining the original operation starting time of the target shunting machine operation with a normal detection result as the target operation starting time of the target shunting machine operation; and determining the original job end time of the target shunting machine job with the normal detection result as the target job end time of the target shunting machine job.
S103, correcting the original job data of the target shunting machine job with the abnormal detection result according to the operation state data, and determining the corrected original job data of the target shunting machine job with the abnormal detection result as target job data of the target shunting machine job.
Specifically, a certain algorithm is adopted, original operation data of the target shunting operation with abnormal detection results are corrected according to the operation state data, and the original operation starting time of the target shunting operation with abnormal detection results after correction is determined as the target operation starting time of the target shunting operation; and determining the original job end time of the target shunting machine job with the abnormal detection result as the target job end time of the target shunting machine job.
S104, generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation.
In this embodiment, the operation information of the target shunting machine in the target period may be used to characterize the operation condition of the target shunting machine in the target period. Specifically, according to the job type of each target shunting machine job of the target shunting machine, and the target job starting time and the target job ending time, the job condition of the target shunting machine in the target period is generated.
In one embodiment, the job information may be represented in the form of a graph. Specifically, according to the operation type of the operation of the target shunting machine, an operation curve of the target shunting machine is generated between the target operation starting time and the target operation ending time of the operation of the target shunting machine, and an operation condition time chart of the target shunting machine in a target period is obtained so as to represent the operation condition of the target shunting machine in the target period. Wherein, the colors and curve shapes of the operation curves corresponding to different operation types are different.
Optionally, the target shunting machine operation includes a target shunting machine planning operation and a target shunting machine actual operation. Before generating the job statistical information of the target shunting machine in the target period, the method further comprises the following steps: if the target operation starting time and the target operation ending time of the target shunting machine planning operation are both earlier than the current time and the target operation starting time and/or the target operation ending time of the target shunting machine actual operation are/is empty, generating non-report point identification information for the target shunting machine operation; correspondingly, generating the job information of the target shunting machine in the target period according to the target job data of the target shunting machine job, including: according to target operation data of target shunting machine planning operation and non-reporting point identification information, generating planning operation information of the target shunting machine in a target period, and according to target operation data of target shunting machine actual operation, generating actual operation information of the target shunting machine in the target period.
The target shunting machine planning operation can be a target shunting machine operation which is planned and arranged in advance. The target shunting machine actual operation can be a target shunting machine operation which is actually performed. The target job start time of the target shunting machine planning job is the target job start time of the pre-planning, and the target job end time of the target shunting machine planning job is the target job end time of the pre-planning; the target operation starting time of the actual operation of the target shunting machine is the target operation starting time in the actual operation process, and the target operation ending time of the actual operation of the target shunting machine is the target operation ending time in the actual operation process. The current time may be a local real current time. The non-point identification information can be used for identifying that the corresponding target shunting machine planning operation is in a non-point state. The planned job information may be used to characterize the planned job condition of the target shunting machine within the target period. The actual operation information can be used for representing the actual operation condition of the target shunting machine in the target period.
In an alternative embodiment, original planning operation information is generated according to target operation data of target shunting machine planning operation, the target shunting machine planning operation identified by the non-reporting point identification information is added to the position of the original planning operation information corresponding to the target shunting machine planning operation identified by the non-reporting point identification information, and the planning operation information of the target shunting machine in a target period is generated. It should be noted that, the generation process of the actual operation information of the target shunting machine in the target period is similar to the generation process of the operation information of the target shunting machine in the target period, and will not be repeated here.
It can be understood that by adopting the technical scheme, the actual operation information can be generated for the actual operation of the target shunting machine; and determining whether the target shunting machine planning operation is the planning operation of the non-reporting point, and adding the non-reporting point identification information at the corresponding position in the planning operation information, so that the detection of the reporting point state of the target shunting machine planning operation can be realized, and the accuracy of the operation information is improved.
According to the technical scheme, in the target period, the operation type and the original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine are obtained; according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, carrying out abnormality detection on the original operation data of the target shunting machine operation, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation; correcting the original operation data of the target shunting machine operation with the abnormal detection result according to the operation state data, and determining the corrected original operation data of the target shunting machine operation with the abnormal detection result as target operation data of the target shunting machine operation; and generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation. According to the technical scheme, the original operation data of the target shunting machine are subjected to abnormality detection, and the shunting machine operation data with abnormal detection results is corrected; the original operation data of the shunting machine with the normal detection result and the original operation data of the shunting machine with the abnormal corrected detection result are used as the operation data of the target shunting machine, and the operation information is further generated according to the operation data of the target shunting machine.
Example two
Fig. 2 is a flowchart of a data processing method according to a second embodiment of the present invention, where the embodiment of the present invention is optimized and improved based on the technical solution of the foregoing embodiment.
Further, "according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, performing abnormality detection on the original operation data of the target shunting machine operation" is refined into "if the operation type of the target shunting machine operation is in-station operation or inter-station operation, detecting whether the original operation starting time of the target shunting machine operation is later than the operation state starting time and whether the original operation ending time of the target shunting machine operation is earlier than the operation state ending time; if the original operation starting time of the target shunting machine operation is later than the operation state starting time and the original operation ending time of the target shunting machine operation is earlier than the operation state ending time, the detection result of the original operation data of the target shunting machine operation is normal, otherwise, the detection result is abnormal; if the operation type of the target shunting machine operation is in-store operation, detecting whether the original operation starting time of the target shunting machine operation is later than the operation state ending time or whether the original operation ending time of the target shunting machine operation is earlier than the operation state starting time; if the original operation starting time of the target shunting operation is later than the operation state ending time or the original operation ending time of the target shunting operation is earlier than the operation state starting time, the detection result of the original operation data of the target shunting operation is normal, otherwise, the detection result is abnormal, so that the abnormality detection operation of the original operation data of the target shunting operation is perfected.
In the embodiments of the present invention, the details are not described, and reference may be made to the description of the foregoing embodiments.
Referring to the data processing method shown in fig. 2, the method includes:
s201, acquiring the operation type and original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine in a target period; the original job data comprises an original job starting time and an original job ending time; the operation state data includes at least one of an operation state start time, an operation state end time, a non-operation state start time, and a non-operation state end time.
S202A, if the operation type of the target shunting machine operation is in-station operation or inter-station operation, detecting whether the original operation starting time of the target shunting machine operation is later than the operation state starting time and whether the original operation ending time of the target shunting machine operation is earlier than the operation state ending time. S203A is performed.
S203A, if the original job starting time of the target shunting machine job is later than the operation state starting time and the original job ending time of the target shunting machine job is earlier than the operation state ending time, the detection result of the original job data of the target shunting machine job is normal, the original job data of the target shunting machine job is determined as the target job data of the target shunting machine job, and otherwise, the detection result of the original job data of the target shunting machine job is abnormal. S204 is performed.
S202B, if the job type of the target shunting machine job is in-store job, detecting whether the original job starting time of the target shunting machine job is later than the non-operating state starting time or whether the original job ending time of the target shunting machine job is earlier than the non-operating state starting time. S203B is performed.
S203B, if the original job starting time of the target shunting machine job is later than the non-operating state starting time or the original job ending time of the target shunting machine job is earlier than the non-operating state starting time, the detection result of the original job data of the target shunting machine job is normal, the original job data of the target shunting machine job is determined as the target job data of the target shunting machine job, and otherwise, the detection result of the original job data of the target shunting machine job is abnormal. S204 is performed.
S204, correcting the original job data of the target shunting machine job with the abnormal detection result according to the operation state data, and determining the corrected original job data of the target shunting machine job with the abnormal detection result as target job data of the target shunting machine job.
Specifically, a certain algorithm is adopted, original operation data of the target shunting machine operation with abnormal detection results are corrected according to the operation state data, and the corrected original operation data of the target shunting machine operation with abnormal detection results are determined to be target operation data of the target shunting machine operation.
In an alternative embodiment, if the job type of the target shunting machine job is an in-station job or an inter-station job, correcting the original job data of the target shunting machine job with abnormal detection result according to the application state data includes: aiming at each abnormal shunting machine operation, determining a target abnormal type matched with the abnormal shunting machine operation from the abnormal types of the operation in the station according to the sequence relationship among the original operation starting time, the original operation ending time, the operation state starting time and the operation state ending time of the abnormal shunting machine operation; the abnormal shunting machine operation is a target shunting machine operation with abnormal detection results; and correcting the original work starting time and/or the original work ending time of the abnormal shunting machine work according to the target abnormal type, the operation state starting time and/or the operation state ending time.
The in-station operation exception type may be an exception type in the case where the operation type of the target shunting machine operation is in-station operation or inter-station operation. Wherein, the in-station operation can refer to the in-station operation of the target shunting machine, and for example, the in-station operation can be in-station hanging operation, in-station marshalling operation and the like; inter-station operations may refer to operations performed by a target shunting machine in two stations, such as inter-station pick-up operations and inter-station pick-up operations. The in-station job exception types may include, but are not limited to, a job start time exception type and a job end time exception type, and both job start time and job end time exception types, and the like. The target exception type may be an exception type of an exception shunting job.
Specifically, if the original operation start time of the abnormal shunting machine operation is earlier than the operation state start time, the original operation end time of the abnormal shunting machine operation is later than the operation state start time, and the original operation end time of the abnormal shunting machine operation is earlier than the operation state end time, determining that the target abnormal type is the operation start time abnormal type, and correcting the original operation start time of the abnormal shunting machine operation to be the operation state start time; if the original operation starting time of the abnormal shunting operation is later than the operation state starting time, the original operation starting time of the abnormal shunting operation is earlier than the operation state ending time, and the original operation ending time of the abnormal shunting operation is later than the operation state ending time, determining that the target abnormal type is the operation ending time abnormal type, and correcting the original operation ending time of the abnormal shunting operation to be the operation state ending time; if the original operation starting time of the abnormal shunting operation is earlier than the operation state starting time and the original operation ending time of the abnormal shunting operation is later than the operation state ending time, determining that the target abnormal type is the abnormal type of both the operation starting time and the operation ending time, modifying the original operation starting time of the abnormal shunting operation into the operation state starting time and modifying the original operation ending time of the abnormal shunting operation into the operation state ending time.
It can be understood that by adopting the above technical scheme, the target abnormal type is determined from the abnormal operation types in the station according to the original operation data and the operation state data of the abnormal shunting operation, and the original operation data is corrected according to the target abnormal type and the operation state data, so that the accuracy of correcting the original operation data of the abnormal shunting operation with the operation type of the station type or the inter-station type is improved, and the accuracy of the target operation data of the target shunting operation is further improved.
In another alternative embodiment, if the job type of the target shunting machine job is in-store job, correcting the original job data of the target shunting machine job whose detection result is abnormal according to the application state data, including: aiming at each abnormal shunting machine operation, determining a target abnormal type matched with the abnormal shunting machine operation from in-store operation abnormal types according to the sequence relationship among the original operation starting time, the original operation ending time, the non-operating state starting time and the non-operating state ending time of the abnormal shunting machine operation; the abnormal shunting machine operation is a target shunting machine operation with abnormal detection results; and correcting the original work starting time and/or the original work ending time of the abnormal shunting machine work according to the target abnormal type, the operation state starting time and/or the operation state ending time.
The in-store job exception type may be an exception type in the case where the job type of the target shunting machine job is in-store job. The in-store operation may refer to an in-store operation of the target shunting machine, for example, the in-store operation may be an in-store servicing operation, an in-store maintenance operation, or the like. The in-store job exception types may include, but are not limited to, a job start time exception type and a job end time exception type, as well as a job start time and a job end time exception type, and the like.
Specifically, if the original operation starting time of the abnormal shunting machine operation is earlier than the non-operation state starting time, the original operation ending time of the abnormal shunting machine operation is earlier than the non-operation state ending time, and the original operation ending time of the abnormal shunting machine operation is later than the non-operation state starting time, determining that the target abnormal type is the operation starting time abnormal type, and modifying the original operation starting time of the abnormal shunting machine operation into the non-operation state starting time; if the original operation starting time of the abnormal shunting operation is earlier than the non-operation state ending time, the original operation starting time of the abnormal shunting operation is later than the non-operation state starting time, and the original operation ending time of the abnormal shunting operation is later than the non-operation state ending time, determining that the target abnormal type is the operation ending time abnormal type, and modifying the original operation ending time of the abnormal shunting operation into the non-operation state ending time; if the original operation starting time of the abnormal shunting operation is earlier than the non-operation state starting time and the original operation ending time of the abnormal shunting operation is later than the non-operation state ending time, determining that the target abnormal type is the abnormal type of both the operation starting time and the operation ending time, modifying the original operation starting time of the abnormal shunting operation into the non-operation state starting time and modifying the original operation ending time of the abnormal shunting operation into the non-operation state ending time.
It can be appreciated that by adopting the technical scheme, the target abnormal type can be determined from the abnormal types of the operation in the station according to the original operation data and the non-operation state data of the operation of the abnormal shunting machine, and the original operation data is corrected according to the target abnormal type and the non-operation state data, so that the accuracy of correcting the original operation data of the operation of the abnormal shunting machine, the operation type of which is in-store operation, is improved, and the accuracy of the target operation data of the operation of the target shunting machine is further improved.
S205, generating the job information of the target shunting machine in the target period according to the target job data of the target shunting machine job.
In the embodiment of the invention, if the operation type of the target shunting machine operation is in-station operation or inter-station operation, whether the original operation starting time of the target shunting machine operation is later than the operation state starting time or not is detected, and whether the original operation ending time of the target shunting machine operation is earlier than the operation state ending time or not is detected; if the original operation starting time of the target shunting operation is later than the operation state starting time and the original operation ending time of the target shunting operation is earlier than the operation state ending time, the detection result of the original operation data of the target shunting operation is normal, otherwise, the detection result of the original operation data of the target shunting operation is abnormal; if the operation type of the target shunting machine operation is in-store operation, detecting whether the original operation starting time of the target shunting machine operation is later than the non-operation state starting time or whether the original operation ending time of the target shunting machine operation is earlier than the non-operation state starting time; if the original operation starting time of the target shunting machine operation is later than the non-operation state starting time or the original operation ending time of the target shunting machine operation is earlier than the non-operation state starting time, the detection result of the original operation data of the target shunting machine operation is normal, otherwise, the detection result of the original operation data of the target shunting machine operation is abnormal. According to the technical scheme, for the target shunting machine operation with the operation type of in-station operation or inter-station operation, abnormality detection is carried out on target operation data of the target shunting machine operation according to the operation state starting time and the operation state ending time; for the target shunting machine operation with the operation type of in-store operation, the abnormality detection is carried out on the target operation data of the target shunting machine according to the starting time and the ending time of the non-operation state, so that the accuracy of abnormality detection on the target operation data of the target shunting machine operation is improved.
Example III
Fig. 3 is a flowchart of a data processing method according to a third embodiment of the present invention, where additional optimization is performed based on the technical solution of the foregoing embodiment.
Further, before generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation, adding each target shunting machine operation, and if the history shunting machine operation exists before the target shunting machine operation, detecting whether the history operation ending time of the history shunting machine operation is the target operation starting time corresponding to the target operation data; if the historical operation end time of the historical shunting machine operation is the target operation start time corresponding to the target shunting machine operation, the detection result of the target shunting machine operation is normal; otherwise, the detection result of the target shunting machine operation is abnormal; for each target shunting machine operation with abnormal detection results, determining a connection abnormality type matched with the target shunting machine operation from connection abnormality types according to the historical operation starting time and the historical operation ending time of the historical shunting machine operation and the target operation starting time and the target operation ending time of the target shunting machine operation; and carrying out corresponding processing on the target shunting machine operation according to the connection abnormality type matched with the target shunting machine operation so as to realize abnormality detection on the target shunting machine operation.
In the embodiments of the present invention, the details are not described, and reference may be made to the description of the foregoing embodiments.
Referring to the data processing method shown in fig. 3, the method includes:
s301, acquiring the operation type and original operation data of at least one target shunting machine operation of a target shunting machine and the operation state data of the target shunting machine in a target period; the original job data comprises an original job starting time and an original job ending time; the operation state data includes at least one of an operation state start time, an operation state end time, a non-operation state start time, and a non-operation state end time.
S302, according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, performing abnormality detection on the original operation data of the target shunting machine operation, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation.
S303, correcting the original job data of the target shunting machine job with the abnormal detection result according to the operation state data, and determining the corrected original job data of the target shunting machine job with the abnormal detection result as target job data of the target shunting machine job.
S304, for each target shunting machine operation, if a history shunting machine operation exists before the target shunting machine operation, detecting whether the history operation ending time of the history shunting machine operation is the target operation starting time corresponding to the target operation data.
In this embodiment, the history shunting machine job may be a last target shunting machine job adjacent to the target shunting machine job. The job data of the history shunting machine job is history job data. Wherein the history job data includes a history job start time and a history job end time. The historical job start time may be a target job start time of a last target shunting job adjacent to the target shunting job. The historical job end time may be a target job end time of a last target shunting job adjacent to the target shunting job.
In a specific embodiment, the target shunting machine jobs may be ordered according to the starting time of the target job of the target shunting machine jobs according to the sequence of the time; and taking the previous target shunting machine operation in the two adjacent target shunting machine operations as the historical shunting machine operation of the next target shunting machine operation.
S305, if the historical operation ending time of the historical shunting machine operation is the target operation starting time corresponding to the target shunting machine operation, the detection result of the target shunting machine operation is normal; otherwise, the detection result of the target shunting machine operation is abnormal.
S306, for each target shunting machine job with abnormal detection result, determining a connection abnormality type matched with the target shunting machine job from connection abnormality types according to the historical job starting time and the historical job ending time of the historical shunting machine job and the target job starting time and the target job ending time of the target shunting machine job.
In this embodiment, the connection abnormality type may refer to a type in which there is abnormality in connection between two adjacent shunting machines. The splice exception types may include, but are not limited to, a job time error type, a splice miss type, and the like. The type of the operation time error may refer to that the target operation start time and the target operation end time of the target shunting machine operation are both error; the splice loss type may refer to a shunting machine operation in which there is a loss between the target shunting machine operation and the history shunting machine operation.
Specifically, if the target operation starting time of the target shunting machine operation is later than the history operation starting time of the history shunting machine operation and the target operation ending time of the target shunting machine operation is earlier than the history operation ending time of the history shunting machine operation, determining that the connection abnormality type matched with the target shunting machine operation is a connection error type; if the target operation starting time of the target shunting machine operation is later than the history operation ending time of the history shunting machine operation and the duration between the target operation starting time of the target shunting machine operation and the history operation ending time of the history shunting machine operation is greater than or equal to a preset duration threshold value, determining that the connection abnormality type matched with the target shunting machine operation is a connection missing type.
S307, generating connection abnormality identification information for the target shunting machine operation according to the connection abnormality type matched with the target shunting machine operation.
In this embodiment, the connection anomaly identification information includes operation time error identification information and connection missing identification information, where the operation time error identification information may be used to identify that a corresponding target shunting machine operation has a connection anomaly, and a connection anomaly type is an operation time error type; the connection deletion identification information can be used for identifying that the corresponding target shunting machine operation has connection abnormality, and the connection abnormality type is a connection deletion type. Specifically, if the connection abnormality type matched with the target shunting machine operation is a connection error type, generating connection error identification information for the target shunting machine operation; and if the connection abnormality type matched with the target shunting machine operation is a connection missing type, generating connection missing identification information for the target shunting machine operation.
S308, generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation.
In an alternative embodiment, before generating the job information of the target shunting machine in the target period according to the target job data of the target shunting machine job, the method further includes: for each target shunting machine operation, if an auxiliary shunting machine operation exists after the target shunting machine operation, detecting whether the target operation ending moment of the target shunting machine operation is abnormal or not according to the auxiliary operation starting moment and the auxiliary operation ending moment of the auxiliary shunting machine operation and the target operation starting moment and the target operation ending moment of the target shunting machine operation; and for each target shunting operation with abnormal detection result, correcting the target operation ending time of the target shunting operation to the auxiliary operation starting time of the auxiliary shunting operation.
The auxiliary shunting operation may be a next target shunting operation adjacent to the target shunting operation. The auxiliary job start time of the auxiliary shunting machine job may be a target job start time of a subsequent target shunting machine job adjacent to the target shunting machine job. The auxiliary job end time of the auxiliary shunting machine job may be a target job end time of a subsequent target shunting machine job adjacent to the target shunting machine job.
Specifically, if the target operation start time of the target shunting operation is earlier than the auxiliary operation start time of the auxiliary shunting operation, the target operation end time of the target shunting operation is earlier than the auxiliary operation end time of the auxiliary shunting operation, and the target operation end time of the target shunting operation is later than the auxiliary operation start time of the auxiliary shunting operation, determining whether the target operation end time of the target shunting operation is abnormal; if the target operation ending time of the target shunting machine operation is earlier than the auxiliary operation starting time of the auxiliary shunting machine operation and the duration between the target operation ending time of the target shunting machine operation and the auxiliary operation starting time of the auxiliary shunting machine operation is smaller than a preset duration threshold value, determining whether the target operation ending time of the target shunting machine operation is abnormal or not.
Optionally, generating the job information of the target shunting machine in the target period according to the target job data of the target shunting machine job includes: and generating continuous operation information of the target shunting machine in a target period according to the target operation starting time of the target shunting machine operation, the target operation ending time of the corrected target shunting machine operation and the continuous abnormal identification information. Note that, the generation process of the connection job information is similar to the generation process of the job information, and will not be described here again.
According to the method, for each target shunting machine operation, if a history shunting machine operation exists before the target shunting machine operation, whether the history operation ending time of the history shunting machine operation is the target operation starting time corresponding to the target operation data or not is detected; if the historical operation ending time of the historical shunting machine operation is the target operation starting time corresponding to the target shunting machine operation, the detection result of the target shunting machine operation is normal; otherwise, the detection result of the target shunting machine operation is abnormal; for each target shunting machine operation with abnormal detection results, determining a connection abnormality type matched with the target shunting machine operation from connection abnormality types according to the historical operation starting time and the historical operation ending time of the historical shunting machine operation and the target operation starting time and the target operation ending time of the target shunting machine operation; and generating connection abnormality identification information for the target shunting machine operation according to the connection abnormality type matched with the target shunting machine operation. According to the technical scheme, whether the target shunting machine operation has the connection abnormality or not can be detected according to the historical operation data of the historical shunting machine operation, corresponding connection abnormality identification information is generated for the target shunting machine operation with the connection abnormality, the identification information of the connection abnormality is added to the corresponding position in the operation information, and accuracy of the operation information is improved.
Example IV
Fig. 4 is a schematic structural diagram of a data processing apparatus according to a fourth embodiment of the present invention. The embodiment of the invention can be suitable for the situation of processing the operation data of the shunting machine, the device can execute a data processing method, the data processing device can be realized in the form of hardware and/or software, and the device can be configured in electronic equipment, such as a server.
Referring to the data processing apparatus shown in fig. 4, it includes a data acquisition module 401, a data detection module 402, a data correction module 403, and an information generation module 404, wherein,
the data acquisition module 401 is configured to acquire an operation type and original operation data of at least one target shunting machine operation of the target shunting machine and operation state data of the target shunting machine in a target period; the original job data comprises an original job starting time and an original job ending time; the operating state data includes at least one of an operating state start time, an operating state end time, a non-operating state start time, and a non-operating state end time;
the data detection module 402 is configured to perform anomaly detection on original job data of the target shunting machine job according to a job type of the target shunting machine job, original job data of the target shunting machine job, and operation state data of the target shunting machine, and determine that the detection result is normal, as target job data of the target shunting machine job;
The data correction module 403 is configured to correct the original job data of the target shunting machine job whose detection result is abnormal according to the application state data, and determine the corrected original job data of the target shunting machine job whose detection result is abnormal as target job data of the target shunting machine job;
the information generating module 404 is configured to generate job change information of the target shunting machine in a target period according to target job data of the target shunting machine job.
According to the embodiment of the invention, the data acquisition module is used for acquiring the operation type and the original operation data of at least one target shunting machine operation of the target shunting machine and the operation state data of the target shunting machine in the target period; the original job data comprises an original job starting time and an original job ending time; the operating state data includes at least one of an operating state start time, an operating state end time, a non-operating state start time, and a non-operating state end time; the method comprises the steps that through a data detection module, abnormality detection is carried out on original operation data of target shunting machine operation according to operation type of the target shunting machine operation, original operation data of the target shunting machine operation and operation state data of the target shunting machine, and original operation data of the target shunting machine operation with a normal detection result is determined to be target operation data of the target shunting machine operation; the data correction module corrects the original operation data of the target shunting machine operation with abnormal detection results according to the operation state data, and determines the corrected original operation data of the target shunting machine operation with abnormal detection results as target operation data of the target shunting machine operation; and generating job change information of the target shunting machine in a target period according to the target job data of the target shunting machine job through an information generation module. According to the technical scheme, the original operation data of the target shunting machine are subjected to abnormality detection, and the shunting machine operation data with abnormal detection results is corrected; the original operation data of the shunting machine with the normal detection result and the original operation data of the shunting machine with the abnormal corrected detection result are used as the operation data of the target shunting machine, and the operation information is further generated according to the operation data of the target shunting machine.
Optionally, the data detection module 402 is specifically configured to:
if the operation type of the target shunting machine operation is in-station operation or inter-station operation, detecting whether the original operation starting time of the target shunting machine operation is later than the operation state starting time and whether the original operation ending time of the target shunting machine operation is earlier than the operation state ending time;
if the original operation starting time of the target shunting operation is later than the operation state starting time and the original operation ending time of the target shunting operation is earlier than the operation state ending time, the detection result of the original operation data of the target shunting operation is normal, otherwise, the detection result of the original operation data of the target shunting operation is abnormal;
if the operation type of the target shunting machine operation is in-store operation, detecting whether the original operation starting time of the target shunting machine operation is later than the non-operation state starting time or whether the original operation ending time of the target shunting machine operation is earlier than the non-operation state starting time;
if the original operation starting time of the target shunting machine operation is later than the non-operation state starting time or the original operation ending time of the target shunting machine operation is earlier than the non-operation state starting time, the detection result of the original operation data of the target shunting machine operation is normal, otherwise, the detection result of the original operation data of the target shunting machine operation is abnormal.
Optionally, the data modification module 403 includes:
the first abnormal type determining unit is used for determining a target abnormal type matched with the abnormal shunting machine operation from the abnormal types of the operation in the station according to the sequence relationship among the original operation starting time, the original operation ending time, the operation state starting time and the operation state ending time of each abnormal shunting machine operation; the abnormal shunting machine operation is a target shunting machine operation with abnormal detection results;
the first correction unit is used for correcting the original operation starting time and/or the original operation ending time of the abnormal shunting machine operation according to the target abnormal type, the operation state starting time and/or the operation state ending time.
Optionally, the data correction module includes:
the second abnormal type determining unit is used for determining a target abnormal type matched with the abnormal shunting machine operation from in-store operation abnormal types according to the sequence relationship among the original operation starting time, the original operation ending time, the non-operating state starting time and the non-operating state ending time of the abnormal shunting machine operation aiming at each abnormal shunting machine operation; the abnormal shunting machine operation is a target shunting machine operation with abnormal detection results;
And the second correction unit is used for correcting the original operation starting time and/or the original operation ending time of the abnormal shunting machine operation according to the target abnormal type, the operation state starting time and/or the operation state ending time.
Optionally, the apparatus further comprises:
the time detection module is used for detecting whether the historical operation ending time of the historical shunting machine operation is the target operation starting time corresponding to the target operation data for each target shunting machine operation if the historical shunting machine operation exists before the target shunting machine operation;
the detection result determining module is used for determining whether the historical operation ending time of the historical shunting machine operation is the target operation starting time corresponding to the target shunting machine operation or not, and if so, the detection result of the target shunting machine operation is normal; otherwise, the detection result of the target shunting machine operation is abnormal;
the abnormal type determining module is used for determining a continuous abnormal type matched with the target shunting machine operation from the continuous abnormal types according to the historical operation starting time and the historical operation ending time of the historical shunting machine operation and the target operation starting time and the target operation ending time of the target shunting machine operation for each target shunting machine operation with abnormal detection results;
And the operation processing module is used for correspondingly processing the target shunting machine operation according to the connection abnormality type matched with the target shunting machine operation.
Optionally, the target shunting machine operation comprises a target shunting machine planning operation and a target shunting machine actual operation; the apparatus further comprises:
the identification information generation module is used for generating non-report identification information for the target shunting machine planning operation if the target operation starting time and the target operation ending time of the target shunting machine planning operation are both earlier than the current time and the target operation starting time and/or the target operation ending time of the target shunting machine actual operation are empty;
the information generating module 404 includes:
the job information generation unit is used for generating the planned job information of the target shunting machine in the target period according to the target job data and the non-report point identification information of the planned job of the target shunting machine and generating the actual job information of the target shunting machine in the target period according to the target job data of the actual job of the target shunting machine.
Optionally, the data acquisition module 401 is specifically configured to:
acquiring the operation type and original operation data of at least one candidate shunting machine operation of a target shunting machine, and the operation state data and the dominant state data of the target shunting machine in a target period; wherein the dominant state data includes a dominant state start time and a dominant state end time;
And screening the original job data between the start time of the dominant state and the end time of the dominant state from the original job data of the candidate shunting machine job, and taking the original job data as the original job data of the target shunting machine job.
The data processing device provided by the embodiment of the invention can execute the data processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data processing method.
Example five
Fig. 5 shows a schematic diagram of an electronic device 500 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 500 includes at least one processor 501, and a memory communicatively connected to the at least one processor 501, such as a Read Only Memory (ROM) 502, a Random Access Memory (RAM) 503, etc., where the memory stores computer programs executable by the at least one processor, and the processor 501 may perform various suitable actions and processes according to the computer programs stored in the Read Only Memory (ROM) 502 or the computer programs loaded from the storage unit 508 into the Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 may also be stored. The processor 501, ROM 502, and RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in electronic device 500 are connected to I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508 such as a magnetic disk, an optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 501 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 501 performs the various methods and processes described above, such as data processing methods.
In some embodiments, the data processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 500 via the ROM 502 and/or the communication unit 509. When a computer program is loaded into RAM 503 and executed by processor 501, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, processor 501 may be configured to perform the data processing method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS (Virtual Private Server ) service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of data processing, the method comprising:
acquiring the operation type and original operation data of at least one target shunting machine operation of a target shunting machine and the operation state data of the target shunting machine in a target period; wherein the original job data includes an original job start time and an original job end time; the operating state data comprises at least one of an operating state start time, an operating state end time, a non-operating state start time and a non-operating state end time;
According to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, carrying out abnormality detection on the original operation data of the target shunting machine operation, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation;
correcting the original operation data of the target shunting machine operation with the abnormal detection result according to the operation state data, and determining the corrected original operation data of the target shunting machine operation with the abnormal detection result as target operation data of the target shunting machine operation;
and generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation.
2. The method according to claim 1, wherein the abnormality detection of the original job data of the target shunting machine job according to the job type of the target shunting machine job, the original job data of the target shunting machine job, and the operation state data of the target shunting machine comprises:
if the operation type of the target shunting machine operation is in-station operation or inter-station operation, detecting whether the original operation starting time of the target shunting machine operation is later than the operation state starting time and whether the original operation ending time of the target shunting machine operation is earlier than the operation state ending time;
If the original operation starting time of the target shunting machine operation is later than the operation state starting time and the original operation ending time of the target shunting machine operation is earlier than the operation state ending time, the detection result of the original operation data of the target shunting machine operation is normal, otherwise, the detection result of the original operation data of the target shunting machine operation is abnormal;
if the operation type of the target shunting machine operation is in-store operation, detecting whether the original operation starting time of the target shunting machine operation is later than the non-operation state starting time or whether the original operation ending time of the target shunting machine operation is earlier than the non-operation state starting time;
if the original operation starting time of the target shunting machine operation is later than the non-operation state starting time or the original operation ending time of the target shunting machine operation is earlier than the non-operation state starting time, the detection result of the original operation data of the target shunting machine operation is normal, otherwise, the detection result of the original operation data of the target shunting machine operation is abnormal.
3. The method according to claim 2, wherein if the job type of the target shunting machine job is an in-station job or an inter-station job, the correcting the original job data of the target shunting machine job whose detection result is abnormal according to the operation state data includes:
Aiming at each abnormal shunting machine operation, determining a target abnormal type matched with the abnormal shunting machine operation from the abnormal types of the operation in the station according to the sequence relationship among the original operation starting time, the original operation ending time, the operating state starting time and the operating state ending time of the abnormal shunting machine operation; the abnormal shunting machine operation is a target shunting machine operation with abnormal detection results;
and correcting the original operation starting time and/or the original operation ending time of the abnormal shunting machine operation according to the target abnormal type, the operation state starting time and/or the operation state ending time.
4. The method according to claim 2, wherein if the job type of the target shunting machine job is in-store job, the correcting the original job data of the target shunting machine job whose detection result is abnormal according to the operation state data includes:
for each abnormal shunting machine operation, determining a target abnormal type matched with the abnormal shunting machine operation from in-store operation abnormal types according to the sequence relationship among the original operation starting time, the original operation ending time, the non-operating state starting time and the non-operating state ending time of the abnormal shunting machine operation; the abnormal shunting machine operation is a target shunting machine operation with abnormal detection results;
And correcting the original operation starting time and/or the original operation ending time of the abnormal shunting machine operation according to the target abnormal type, the operation state starting time and/or the operation state ending time.
5. The method of any one of claim 1, further comprising, prior to generating job information for the target shunting machine within the target period from target job data for the target shunting machine job:
for each target shunting machine operation, if a history shunting machine operation exists before the target shunting machine operation, detecting whether the history operation ending time of the history shunting machine operation is the target operation starting time corresponding to the target operation data;
if the historical operation ending time of the historical shunting machine operation is the target operation starting time corresponding to the target shunting machine operation, the detection result of the target shunting machine operation is normal; otherwise, the detection result of the target shunting machine operation is abnormal;
for each target shunting machine operation with abnormal detection results, determining a connection abnormality type matched with the target shunting machine operation from connection abnormality types according to the historical operation starting time and the historical operation ending time of the historical shunting machine operation and the target operation starting time and the target operation ending time of the target shunting machine operation;
And generating connection abnormality identification information for the target shunting machine operation according to the connection abnormality type matched with the target shunting machine operation.
6. The method of claim 1, wherein the target shunting machine operation comprises a target shunting machine planning operation and a target shunting machine actual operation;
before generating the job statistical information of the target shunting machine in the target period, the method further comprises the following steps:
if the target operation starting time and the target operation ending time of the target shunting machine planning operation are both earlier than the current time and the target operation starting time and/or the target operation ending time of the target shunting machine actual operation are/is empty, generating non-report point identification information for the target shunting machine planning operation;
correspondingly, the generating the job information of the target shunting machine in the target period according to the target job data of the target shunting machine job includes:
according to the target operation data of the target shunting machine planning operation and the non-reporting point identification information, planning operation information of the target shunting machine in the target period is generated, and according to the target operation data of the target shunting machine actual operation, actual operation information of the target shunting machine in the target period is generated.
7. The method according to claim 1, wherein the acquiring the job type and the raw job data of at least one target shunting machine job of the target shunting machine and the operating state data of the target shunting machine in the target period includes:
acquiring the operation type and original operation data of at least one candidate shunting machine operation of a target shunting machine, and the operation state data and the dominant state data of the target shunting machine in a target period; wherein the dominant state data includes a dominant state start time and a dominant state end time;
and screening the original job data between the start time of the dominant state and the end time of the dominant state from the original job data of the candidate shunting machine job, and taking the original job data as the original job data of the target shunting machine job.
8. A data processing apparatus, the apparatus comprising:
the data acquisition module is used for acquiring the operation type and the original operation data of at least one target shunting machine operation of the target shunting machine and the application state data of the target shunting machine in the target period; wherein the original job data includes an original job start time and an original job end time; the operating state data comprises at least one of an operating state start time, an operating state end time, a non-operating state start time and a non-operating state end time;
The data detection module is used for carrying out abnormal detection on the original operation data of the target shunting machine operation according to the operation type of the target shunting machine operation, the original operation data of the target shunting machine operation and the operation state data of the target shunting machine, and determining the original operation data of the target shunting machine operation with a normal detection result as target operation data of the target shunting machine operation;
the data correction module is used for correcting the original operation data of the target shunting machine operation with abnormal detection results according to the application state data, and determining the corrected original operation data of the target shunting machine operation with abnormal detection results as target operation data of the target shunting machine operation;
and the information generation module is used for generating the operation information of the target shunting machine in the target period according to the target operation data of the target shunting machine operation.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data processing method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing a processor to implement the data processing method of any one of claims 1-7 when executed.
CN202311497142.9A 2023-11-10 2023-11-10 Data processing method, device, equipment and medium Pending CN117435586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311497142.9A CN117435586A (en) 2023-11-10 2023-11-10 Data processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311497142.9A CN117435586A (en) 2023-11-10 2023-11-10 Data processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117435586A true CN117435586A (en) 2024-01-23

Family

ID=89558208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311497142.9A Pending CN117435586A (en) 2023-11-10 2023-11-10 Data processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117435586A (en)

Similar Documents

Publication Publication Date Title
CN115686910A (en) Fault analysis method and device, electronic equipment and medium
CN116723206A (en) Vehicle fault information processing method and device, electronic equipment and storage medium
CN117435586A (en) Data processing method, device, equipment and medium
CN115890684A (en) Robot scheduling method, device, equipment and medium
CN116645082A (en) System inspection method, device, equipment and storage medium
CN116384960A (en) Operation ticket generation method, device, equipment and storage medium
CN116226644A (en) Method and device for determining equipment fault type, electronic equipment and storage medium
CN115099778A (en) Management and control method, system, equipment and medium for industrial manufacturing equipment
CN114567485A (en) Data processing method, device, equipment and storage medium
CN115619379A (en) Fault processing method, device, equipment and medium for power equipment
CN116822972A (en) Process parameter storage method and device, electronic equipment and storage medium
CN117389828A (en) Power supply server management method, device, system, equipment and storage medium
CN117465516A (en) Method, device, equipment and medium for determining crew members
CN117611138A (en) Abnormality detection method and device for operation and maintenance equipment and electronic equipment
CN115359275A (en) Fault identification method and device, electronic equipment and storage medium
CN115791205A (en) Vehicle detection method, device, equipment and storage medium
CN117112848A (en) Two-ticket analysis method, device, equipment and medium based on power distribution network
CN117606033A (en) Cleaning method and device for boiler water wall, electronic equipment and storage medium
CN116188861A (en) Robot monitoring method, device, robot monitoring equipment and storage medium
CN118115802A (en) Detection method, device, equipment and medium before engine assembly
CN116643105A (en) Equipment fault detection method and device, electronic equipment and storage medium
CN115409383A (en) Equipment operation monitoring method, device, equipment and medium
CN115914271A (en) Control system alarm method and device, electronic equipment and storage medium
CN116011989A (en) Processing method, device, equipment and medium of electric power work order
CN114418429A (en) Monitoring method and device for batch operation, mobile terminal and medium

Legal Events

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