CN111026715A - Data processing method and device, computer storage medium and electronic equipment - Google Patents

Data processing method and device, computer storage medium and electronic equipment Download PDF

Info

Publication number
CN111026715A
CN111026715A CN201911113835.7A CN201911113835A CN111026715A CN 111026715 A CN111026715 A CN 111026715A CN 201911113835 A CN201911113835 A CN 201911113835A CN 111026715 A CN111026715 A CN 111026715A
Authority
CN
China
Prior art keywords
data
information
repaired
file
data file
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
CN201911113835.7A
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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201911113835.7A priority Critical patent/CN111026715A/en
Publication of CN111026715A publication Critical patent/CN111026715A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure relates to the technical field of aircrafts, and provides a data processing method, a data processing apparatus, a computer storage medium and an electronic device, wherein the data processing method comprises: acquiring an interrupt data file, and determining information to be repaired according to the interrupt data file; and repairing the interrupted data file according to the information to be repaired. The data processing method disclosed by the disclosure can be used for repairing abnormal interruption data, and solving the technical problems of measurement curve data point repetition, curve discontinuity or unsmooth caused by test interruption.

Description

Data processing method and device, computer storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of aircraft technologies, and in particular, to a data processing method, a data processing apparatus, a computer storage medium, and an electronic device.
Background
With the rapid development of computer and internet technologies, the related aircraft field is also rapidly developing.
At present, in an aircraft sinusoidal vibration test, sometimes test interruption is caused by control spectrum out-of-tolerance or abnormal conditions of a vibration table system, after a fault is eliminated, the test is generally required to be continuously carried out from a frequency point of the test interruption until the test is completed, and thus two data files are generated before and after the interruption. When data is analyzed, measurement curves corresponding to two files need to be drawn in one coordinate in vibration test data acquisition and analysis software, and due to the fact that the numerical value of a measurement point suddenly jumps when a test is interrupted and the numerical value set at a frequency starting point is slightly lower than the cut-off frequency before the test is interrupted when the test is usually repeated after the test is interrupted, when the two curves are spliced, data points of the curves are repeated, the curves are discontinuous or unsmooth near the splicing position, and therefore abnormal extreme value statistics of the measurement curves or abnormal specifications of the curves in a measurement curve report during subsequent data analysis are caused.
In view of the above, there is a need in the art to develop a new data processing method and apparatus.
It is to be noted that the information disclosed in the background section above is only used to enhance understanding of the background of the present disclosure.
Disclosure of Invention
The present disclosure is directed to a data processing method, a data processing apparatus, a computer storage medium, and an electronic device, so as to avoid, at least to a certain extent, the defects of repeated data points, discontinuous data points, or unsmooth data points of a measurement curve caused by test interruption in the prior art.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a data processing method comprising: acquiring an interrupt data file, and determining information to be repaired according to the interrupt data file; and repairing the interrupted data file according to the information to be repaired.
In an exemplary embodiment of the present disclosure, the interruption data file includes a pre-interruption data file and a post-interruption data file; the determining information to be repaired according to the interrupted data file comprises the following steps: determining a data interception end according to the data file before interruption, and taking the data interception end as first information to be repaired; and determining a data start end according to the interrupted data file, and taking the data start end as second information to be repaired.
In an exemplary embodiment of the present disclosure, the determining a data interception end according to the data file before interruption, and taking the data interception end as the first information to be repaired includes: drawing a first curve according to the data file before interruption in a preset coordinate system; and acquiring a data cut-off end in the first curve as the first information to be repaired.
In an exemplary embodiment of the present disclosure, the determining a data start end according to the interrupted data file, and using the data start end as second information to be repaired includes: drawing a second curve according to the interrupted data file in the preset coordinate system; and acquiring a data starting end in the second curve as the second information to be repaired.
In an exemplary embodiment of the present disclosure, the method further comprises: acquiring data redundancy points and data mutation points contained in the first information to be repaired and the second information to be repaired; deleting the data redundancy points and the data mutation points in the first information to be repaired to obtain first repair information; and deleting the data redundancy points and the data catastrophe points in the second information to be repaired to obtain second repair information.
In an exemplary embodiment of the present disclosure, the method further comprises: acquiring a first repair file corresponding to the first repair information; acquiring a second repair file corresponding to the second repair information; and combining the first repair file and the second repair file to generate a complete repair file.
In an exemplary embodiment of the present disclosure, the method further comprises: and when the curve at the joint of the first curve and the second curve is smooth, finishing the repair processing of the interrupted data file.
According to a second aspect of the present disclosure, there is provided a data processing apparatus comprising: the acquisition module is used for acquiring an interrupt data file and determining information to be repaired according to the interrupt data file; and the repairing module is used for repairing the interrupted data file according to the information to be repaired.
According to a third aspect of the present disclosure, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the data processing method of the first aspect described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the data processing method of the first aspect described above via execution of the executable instructions.
As can be seen from the foregoing technical solutions, the data processing method, the data processing apparatus, the computer storage medium and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
in the technical solutions provided in some embodiments of the present disclosure, on one hand, an interruption data file is obtained, and information to be repaired is determined according to the interruption data file. On the other hand, the method and the device carry out repair processing on the interrupted data file according to the information to be repaired, can correct two data files before and after interruption and regenerate a file, and solve the technical problems of repeated data points, discontinuous curves or unsmooth measured curve data points caused by test interruption.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 shows a flow diagram of a data processing method in an exemplary embodiment of the present disclosure;
FIG. 2 shows a flow diagram of a data processing method in another exemplary embodiment of the present disclosure;
FIG. 3 shows a flow diagram of a data processing method in yet another exemplary embodiment of the present disclosure;
FIG. 4 shows a flow diagram of a data processing method in yet another exemplary embodiment of the present disclosure;
FIG. 5 shows a schematic block diagram of a data processing apparatus in an exemplary embodiment of the present disclosure;
FIG. 6 shows a schematic diagram of a structure of a computer storage medium in an exemplary embodiment of the disclosure;
fig. 7 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/parts/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first" and "second", etc. are used merely as labels, and are not limiting on the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
At present, in an aircraft sinusoidal vibration test, sometimes test interruption is caused by control spectrum out-of-tolerance or abnormal conditions of a vibration table system, after a fault is eliminated, the test is generally required to be continuously carried out from a frequency point of the test interruption until the test is completed, and thus two data files are generated before and after the interruption. When data is analyzed, measurement curves corresponding to two files need to be drawn in one coordinate in vibration test data acquisition and analysis software, and due to the fact that the numerical value of a measurement point suddenly jumps when a test is interrupted and the numerical value set at a frequency starting point is slightly lower than the cut-off frequency before the test is interrupted when the test is usually repeated after the test is interrupted, when the two curves are spliced, data points of the curves are repeated, the curves are discontinuous or unsmooth near the splicing position, and therefore abnormal extreme value statistics of the measurement curves or abnormal specifications of the curves in a measurement curve report during subsequent data analysis are caused.
In the embodiment of the disclosure, firstly, a data processing method is provided, which overcomes the defects of measurement curve data point repetition, curve discontinuity or unsmooth caused by test interruption in the prior art at least to some extent.
Fig. 1 is a flowchart illustrating a data processing method according to an exemplary embodiment of the present disclosure, where an execution subject of the data processing method may be a server that processes data.
Referring to fig. 1, a data processing method according to one embodiment of the present disclosure includes the steps of:
step S110, acquiring an interrupted data file, and determining information to be repaired according to the interrupted data file;
and step S120, repairing the interrupted data file according to the information to be repaired.
In the technical solution provided in the embodiment shown in fig. 1, on one hand, an interruption data file is obtained, and information to be repaired is determined according to the interruption data file. On the other hand, the method and the device carry out repair processing on the interrupted data file according to the information to be repaired, can correct two data files before and after interruption and regenerate a file, and solve the technical problems of repeated data points, discontinuous curves or unsmooth measured curve data points caused by test interruption.
The following describes the specific implementation of each step in fig. 1 in detail:
in step S110, an interruption data file is obtained, and information to be repaired is determined according to the interruption data file.
In an exemplary embodiment of the present disclosure, the interruption data File includes a data File before interruption and a data File after interruption, and may be, for example, a data File in a UFF Format (Universal File Format, abbreviated as UFF, data Format commonly used in data acquisition and analysis software). It should be noted that, the specific number of the data files before interruption and the specific number of the data files after interruption may be set according to the actual situation, and the disclosure does not specifically limit this.
In the exemplary embodiment of the disclosure, in the aircraft sinusoidal vibration test, sometimes the test is interrupted due to the control spectrum being out of tolerance or an abnormal condition occurring in the vibration table system, and therefore, the data file saved in the server before the interruption occurs is the data file before the interruption. And the data file stored in the server after the interruption is generated is the data file after the interruption.
In an exemplary embodiment of the disclosure, the information to be repaired is data information corresponding to a point where data in the data file before the interruption and data in the data file after the interruption are discontinuous, that is, information related to the interrupted data file at the interrupted portion.
In an exemplary embodiment of the present disclosure, fig. 2 schematically illustrates a flowchart of a data processing method in another exemplary embodiment of the present disclosure, and specifically illustrates a flowchart of determining information to be repaired according to an interrupted data file, and step S110 is explained below with reference to fig. 2.
In step S201, a data interception end is determined according to the data file before interruption, and the data interception end is used as the first information to be repaired.
In an exemplary embodiment of the present disclosure, the data terminating end may be determined according to the data file before interruption, and the data terminating end may be determined as the first information to be repaired.
In an exemplary embodiment of the present disclosure, specifically, a first curve may be drawn according to the data file before interruption in a preset coordinate system, and a data interruption end in the first curve may be obtained as the first information to be repaired. For example, when the frequency corresponding to the abscissa in the graph is 5-500Hz, the data cut-off end may be collected data corresponding to 499-500Hz in the graph.
In an exemplary embodiment of the present disclosure, after the data cutoff end is determined, the data cutoff end may be determined as the first information to be repaired.
In step S202, a data start end is determined according to the interrupted data file, and the data start end is used as second information to be repaired.
In an exemplary embodiment of the present disclosure, a data start end may be determined according to the data file after interruption, and the data start end is determined as the second information to be repaired.
In an exemplary embodiment of the disclosure, a second curve (which may be different from the first curve in color and is easy to distinguish) may be drawn according to the post-interruption data file in a preset coordinate system, and a data start end in the second curve is obtained as second information to be repaired. For example, when the frequency corresponding to the abscissa in the graph is 499- > 1000Hz, the data cut-off end may be the collected data corresponding to 499- > 500Hz in the curve.
In an exemplary embodiment of the present disclosure, after the data ending point is determined, the data starting point may be determined as the second information to be repaired.
In step S120, the interrupted data file is repaired according to the information to be repaired.
In an exemplary embodiment of the present disclosure, after the information to be repaired is acquired, the interrupted data file information may be repaired according to the information to be repaired.
In an exemplary embodiment of the present disclosure, fig. 3 schematically illustrates a flowchart of a data processing method in an exemplary embodiment of the present disclosure, and specifically illustrates a flowchart of performing a repair process on an interrupted data file according to information to be repaired, and step S120 is explained below with reference to fig. 3.
In step S301, data redundancy points and data mutation points included in the first information to be repaired and the second information to be repaired are obtained.
In an exemplary embodiment of the present disclosure, after the first information to be repaired and the second information to be repaired are obtained, a data redundancy point and a data mutation point included in the first information to be repaired and the second information to be repaired may be obtained.
In an exemplary embodiment of the present disclosure, a data redundancy point is a data repetition point or a redundancy point.
In an exemplary embodiment of the present disclosure, a data discontinuity is a data point that deviates more severely from the last data, or a data point that deviates from reality.
In step S302, the data redundancy point and the data mutation point in the first information to be repaired are deleted to obtain first repair information.
In an exemplary embodiment of the present disclosure, after the first information to be repaired is obtained, a preset number of data redundancy points and data mutation points included in the first information to be repaired may be deleted to obtain the first repair information. Therefore, the data redundant points or the mutation points can be removed quickly and accurately.
In an exemplary embodiment of the present disclosure, the first repair information is information obtained after repairing the first information to be repaired.
In step S303, the data redundancy point and the data mutation point in the second information to be repaired are deleted to obtain second repair information.
In the exemplary embodiment of the present disclosure, after the second information to be repaired is obtained, the preset number of data redundancy points and the preset number of data mutation points included in the second information to be repaired may be deleted to obtain the second repair information.
In an exemplary embodiment of the present disclosure, the second repair information is information obtained after repairing the second information to be repaired.
In an exemplary embodiment of the present disclosure, the steps S301 to S303 may be repeated until the curve at the connection point of the first curve and the second curve is smooth, and the repair process for the interrupted data file is completed. Therefore, the technical problem that the curve has a repetition point or is discontinuous when two curves are directly superposed in a vibration test data acquisition and analysis system can be solved, and the defect of abnormal statistics of extreme values of the measurement curve or the defect of irregular curve graph in a measurement curve report in the subsequent data analysis can be avoided.
In an exemplary embodiment of the present disclosure, after obtaining the first repair information and the second repair information, refer to fig. 4, where fig. 4 schematically illustrates a flowchart of a data processing method in another exemplary embodiment of the present disclosure, and specifically illustrates a flowchart of obtaining a complete repair file, and a specific implementation is explained below with reference to fig. 4.
In step S401, a first repair file corresponding to the first repair information is acquired.
In an exemplary embodiment of the present disclosure, after obtaining the first repair information, a first repair file corresponding to the first repair information may be obtained.
In step S402, a second repair file corresponding to the second repair information is acquired.
In an exemplary embodiment of the present disclosure, after the second repair information is acquired, a second repair file corresponding to the second repair information may be acquired.
In step S403, the first repair file and the second repair file are merged to generate a complete repair file.
In an exemplary embodiment of the disclosure, referring to the related explanation of the above steps, the first repair file and the second repair file may be merged to generate a complete repair file. The data file before interruption and the data file after interruption can be merged into a complete UFF file. Therefore, the problems of repeated data points, discontinuous curves or unsmooth measurement curve caused by test interruption in the prior art can be solved.
The present disclosure also provides a data processing apparatus, and fig. 5 shows a schematic structural diagram of the data processing apparatus in an exemplary embodiment of the present disclosure; as shown in fig. 5, the data processing apparatus 500 may include an acquisition module 501 and a repair module 502. Wherein:
the obtaining module 501 is configured to obtain an interrupted data file, and determine information to be repaired according to the interrupted data file.
In an exemplary embodiment of the present disclosure, the interruption data file includes a pre-interruption data file and a post-interruption data file; the acquisition module is used for determining a data interception end according to the data file before interruption and taking the data interception end as first information to be repaired; and determining a data start end according to the interrupted data file, and taking the data start end as second information to be repaired.
In an exemplary embodiment of the present disclosure, the obtaining module is configured to draw a first curve according to a data file before interruption in a preset coordinate system; and acquiring a data cut-off end in the first curve as first information to be repaired.
In an exemplary embodiment of the present disclosure, the obtaining module is configured to draw a second curve according to the interrupted data file in the preset coordinate system; and acquiring a data starting end in the second curve as second information to be repaired.
A repairing module 502, configured to repair the interrupted data file according to the information to be repaired.
In an exemplary embodiment of the disclosure, the repair module is configured to acquire a data redundancy point and a data mutation point included in the first information to be repaired and the second information to be repaired; deleting the data redundancy points and the data mutation points in the first information to be repaired to obtain first repair information; and deleting the data redundancy points and the data catastrophe points in the second information to be repaired to obtain second repair information.
In an exemplary embodiment of the present disclosure, the repair module is configured to obtain a first repair file corresponding to the first repair information; acquiring a second repair file corresponding to the second repair information; and combining the first repair file and the second repair file to generate a complete repair file.
In an exemplary embodiment of the disclosure, the repair module is configured to complete the repair process on the interrupted data file when a curve at a junction of the first curve and the second curve is smooth.
The specific details of each module in the data processing apparatus have been described in detail in the corresponding data processing method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer storage medium capable of implementing the above method. On which a program product capable of implementing the above-described method of the present specification is stored. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 6, a program product 600 for implementing the above method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 700 according to this embodiment of the disclosure is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, and a bus 730 that couples various system components including the memory unit 720 and the processing unit 710.
Wherein the storage unit stores program code that is executable by the processing unit 710 to cause the processing unit 710 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of this specification. For example, the processing unit 710 may perform the following as shown in fig. 1: step S110, acquiring an interrupted data file, and determining information to be repaired according to the interrupted data file; and step S120, repairing the interrupted data file according to the information to be repaired.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)7201 and/or a cache memory unit 7202, and may further include a read only memory unit (ROM) 7203.
The storage unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 800 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 760 communicates with the other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A data processing method, comprising:
acquiring an interrupt data file, and determining information to be repaired according to the interrupt data file;
and repairing the interrupted data file according to the information to be repaired.
2. The method of claim 1, wherein the interrupted data file comprises a pre-interrupted data file and a post-interrupted data file;
the determining information to be repaired according to the interrupted data file comprises the following steps:
determining a data interception end according to the data file before interruption, and taking the data interception end as first information to be repaired;
and determining a data start end according to the interrupted data file, and taking the data start end as second information to be repaired.
3. The method according to claim 2, wherein the determining a data cut-off end according to the data file before interruption, and using the data cut-off end as the first information to be repaired includes:
drawing a first curve according to the data file before interruption in a preset coordinate system;
and acquiring a data cut-off end in the first curve as the first information to be repaired.
4. The method according to claim 3, wherein the determining a data start end according to the interrupted data file, and using the data start end as second information to be repaired includes:
drawing a second curve according to the interrupted data file in the preset coordinate system;
and acquiring a data starting end in the second curve as the second information to be repaired.
5. The method of claim 4, further comprising:
acquiring data redundancy points and data mutation points contained in the first information to be repaired and the second information to be repaired;
deleting the data redundancy points and the data mutation points in the first information to be repaired to obtain first repair information;
and deleting the data redundancy points and the data catastrophe points in the second information to be repaired to obtain second repair information.
6. The method of claim 5, further comprising:
acquiring a first repair file corresponding to the first repair information;
acquiring a second repair file corresponding to the second repair information;
and combining the first repair file and the second repair file to generate a complete repair file.
7. The method of claim 4, further comprising:
and when the curve at the joint of the first curve and the second curve is smooth, finishing the repair processing of the interrupted data file.
8. A data processing apparatus, comprising:
the acquisition module is used for acquiring an interrupt data file and determining information to be repaired according to the interrupt data file;
and the repairing module is used for repairing the interrupted data file according to the information to be repaired.
9. A computer storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the data processing method of any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the data processing method of any one of claims 1 to 7 via execution of the executable instructions.
CN201911113835.7A 2019-11-14 2019-11-14 Data processing method and device, computer storage medium and electronic equipment Pending CN111026715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911113835.7A CN111026715A (en) 2019-11-14 2019-11-14 Data processing method and device, computer storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911113835.7A CN111026715A (en) 2019-11-14 2019-11-14 Data processing method and device, computer storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111026715A true CN111026715A (en) 2020-04-17

Family

ID=70200349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911113835.7A Pending CN111026715A (en) 2019-11-14 2019-11-14 Data processing method and device, computer storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111026715A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694597A (en) * 2020-06-09 2020-09-22 上海米哈游天命科技有限公司 Interrupt repairing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104278990A (en) * 2013-07-02 2015-01-14 中国石油天然气集团公司 Logging data quality recovery method and device
CN104636352A (en) * 2013-11-08 2015-05-20 中国石油天然气股份有限公司 SCADA system historical data complement and query processing method based on quality stamp
CN107247869A (en) * 2017-05-24 2017-10-13 西安木牛能源技术服务有限公司 A kind of breakpoint data fitting method of energy consumption on-line monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104278990A (en) * 2013-07-02 2015-01-14 中国石油天然气集团公司 Logging data quality recovery method and device
CN104636352A (en) * 2013-11-08 2015-05-20 中国石油天然气股份有限公司 SCADA system historical data complement and query processing method based on quality stamp
CN107247869A (en) * 2017-05-24 2017-10-13 西安木牛能源技术服务有限公司 A kind of breakpoint data fitting method of energy consumption on-line monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694597A (en) * 2020-06-09 2020-09-22 上海米哈游天命科技有限公司 Interrupt repairing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110764945B (en) Crash log processing method, device, equipment and storage medium
CN109271325B (en) Application testing method, system, electronic device and storage medium
CN110674047B (en) Software testing method and device and electronic equipment
KR20210049033A (en) Method for fault injection, device, electronic equipment and storage medium
US9749345B2 (en) Reporting security vulnerability warnings
CN111274154A (en) Automatic testing method, device, equipment and storage medium
CN106557878B (en) Development project management method and device
US11144437B2 (en) Pre-populating continuous delivery test cases
CN110673936B (en) Breakpoint continuous operation method and device for arrangement service, storage medium and electronic equipment
CN110058920B (en) Virtual machine performance detection method and device, electronic equipment and storage medium
CN110806958A (en) Monitoring method, monitoring device, storage medium and electronic equipment
CN111241111B (en) Data query method and device, data comparison method and device, medium and equipment
CN110597704B (en) Pressure test method, device, server and medium for application program
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN109471787B (en) Software quality evaluation method and device, storage medium and electronic equipment
CN111026715A (en) Data processing method and device, computer storage medium and electronic equipment
CN111768089B (en) Work ticket auditing method, device, equipment and storage medium
US20160217017A1 (en) Determining workflow completion state
CN110609786A (en) Software testing method and device, computer equipment and storage medium
CN116450511A (en) Information updating method, device, electronic equipment and computer readable medium
CN110716859A (en) Method for automatically pushing test cases for modified codes and related device
CN111191861A (en) Machine number determination method and device, processing line, storage medium and electronic equipment
CN115061921A (en) Automatic test method, device, electronic equipment and readable storage medium
CN114218166A (en) Data processing method and device, electronic equipment and readable storage medium
CN112035368A (en) Automatic software testing method and device, electronic equipment and storage 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417