Data processing method, system, terminal equipment and medium based on pipeline detector
By determining the target mileage round in the pipeline detector and generating the target data set information, the problem of analysts quickly determining effective data in a large number of detection data is solved, and the effectiveness and relevance of the data is improved.
Patent Information
- Application Number
- CN202311172412.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2043-09-12
AI Technical Summary
The prior art is not conducive to analysts to quickly determine effective data in large amounts of detection data.
By acquiring the detection data set information of the multiple mileage wheels of the pipeline detector within the preset pulse period, the target mileage wheel is determined, and the target data set information is generated based on the accumulated pulse number and accumulated time information of the target mileage wheel.
Improve the correlation between the target data set information and the effective detection data, reduce the inclusion of invalid detection data, and enable analysts to determine effective detection data more quickly.
Smart Images

Figure CN117472978B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of pipeline detection, and in particular to a data processing method, system, terminal device and medium based on a pipeline detector. Background Art
[0002] Pipelines can be used to transport hazardous fluids such as oil or natural gas. In order to ensure the normal operation of long-distance pipelines, it is usually necessary to use pipeline detectors to regularly detect the working conditions of the pipelines.
[0003] Pipeline detectors usually use pre-installed three-way mileage wheels to jointly measure the current mileage. The three-way mileage wheels are three mileage wheels arranged at equal intervals on the outside of the pipeline detector. Each mileage wheel contains a rotor pole and a nail rotation displacement encoder. When the mileage wheel rotates, a mileage pulse is generated. The mileage of the pipeline can be measured by calculating the mileage pulse.
[0004] At present, the data detected by each mileage wheel are usually integrated into the same test result, without distinguishing between valid data and invalid data. This is not conducive to analysts to quickly determine valid data in a large amount of test data, and further improvement is needed. Summary of the invention
[0005] Based on this, the embodiments of the present application provide a data processing method, system, terminal device and medium based on a pipeline detector to solve the problem in the prior art that it is not convenient for analysts to quickly determine valid data in a large amount of detection data.
[0006] In a first aspect, an embodiment of the present application provides a data processing method based on a pipeline detector, which is applicable to the pipeline detector, and the pipeline detector is equipped with multiple mileage wheels, and the method includes:
[0007] Acquire detection data set information of all odometer wheels within a preset pulse period, wherein the detection data set information includes pulse data set information and data set time information corresponding to the pulse data set information, the pulse data set information includes the accumulated pulse quantity information corresponding to each odometer wheel, and the data set time information includes the accumulated time information corresponding to each accumulated pulse quantity information;
[0008] Determine a target odometer wheel among multiple odometer wheels according to the detection data set information and preset reference pulse quantity information;
[0009] Based on the pulse data set information, determine the cumulative pulse quantity information corresponding to the target mileage wheel, and based on the data set time information, determine the cumulative time information corresponding to the target mileage wheel;
[0010] The target data set information is generated according to the accumulated pulse information and accumulated time information corresponding to the target odometer.
[0011] Compared with the prior art, the beneficial effect is as follows: in the data processing method based on the pipeline detector provided in the embodiment of the present application, the terminal device can first obtain the cumulative pulse quantity information of each mileage wheel within a preset pulse period and the cumulative time information corresponding to the cumulative pulse quantity information, and then determine the mileage wheel that can currently obtain the most effective detection data as the target mileage wheel among multiple mileage wheels according to the detection data set information and the reference pulse quantity information, and then determine the cumulative pulse quantity information of the target mileage wheel according to the pulse data set information, and at the same time determine the cumulative time information of the target mileage wheel according to the data set time information, and then generate the target data set information according to the cumulative pulse information and cumulative time information corresponding to the target mileage wheel, improve the correlation between the target data set information and the effective detection data, so that the target data set information is generated based on the effective detection data, reduce the situation where the target data set information contains invalid detection data, which is conducive to analysts to quickly determine the effective detection data, and to a certain extent solves the current problem that it is not conducive for analysts to quickly determine the effective monitoring data in a large amount of detection data.
[0012] In a second aspect, an embodiment of the present application provides a data processing system based on a pipeline detector, which is applicable to the pipeline detector, and the pipeline detector is equipped with multiple mileage wheels, and the system includes:
[0013] The detection data set information acquisition module is used to acquire the detection data set information of all mileage wheels within a preset pulse period, wherein the detection data set information includes pulse data set information and data set time information corresponding to the pulse data set information, the pulse data set information includes the accumulated pulse quantity information corresponding to each mileage wheel, and the data set time information includes the accumulated time information corresponding to each accumulated pulse quantity information;
[0014] Target odometer wheel determination module: used to determine the target odometer wheel among multiple odometer wheels according to the detection data set information and the preset reference pulse quantity information;
[0015] Cumulative pulse quantity information determination module: used to determine the cumulative pulse quantity information corresponding to the target mileage wheel based on the pulse data set information, and determine the cumulative time information corresponding to the target mileage wheel based on the data set time information;
[0016] Target data set information generation module: used to generate target data set information according to the accumulated pulse information and accumulated time information corresponding to the target mileage wheel.
[0017] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of the first aspect described above when executing the computer program.
[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect described above are implemented.
[0019] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0021] Figure 1 It is a flowchart of a data processing method provided by an embodiment of the present application;
[0022] Figure 2 is a flowchart of step S200 in the data processing method provided in one embodiment of the present application;
[0023] Figure 3 is a flowchart after step S230 in the data processing method provided in one embodiment of the present application;
[0024] Figure 4 It is a flowchart after step S232 in the data processing method provided in one embodiment of the present application;
[0025] Figure 5 It is a flowchart after step S400 in the data processing method provided in one embodiment of the present application;
[0026] Figure 6 is a module block diagram of a data processing system provided by an embodiment of the present application;
[0027] Figure 7 It is a schematic diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0029] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0030] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0031] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0032] See also Figure 1 , Figure 1 : is a flow chart of a data processing method based on a pipeline detector provided in an embodiment of the present application. In this embodiment, the execution subject of the data processing method is a terminal device. It is understandable that the types of terminal devices include but are not limited to mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (Ultra-Mobile Personal Computer, UMPC), netbooks, personal digital assistants (Personal Digital Assistant, PDA), etc., and the embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
[0033] See also Figure 1 The data processing method provided in the embodiment of the present application includes but is not limited to the following steps:
[0034] In S100, detection data set information of all odometer wheels within a preset pulse period is obtained.
[0035] Without loss of generality, the data processing method can be applied to a pipeline detector which is equipped with multiple odometer wheels. In order to meet the application scenario of three-way odometer wheels, the number of odometer wheels can be three. The detection data set information includes pulse data set information and data set timing information corresponding to the pulse data set information, wherein the pulse data set information includes the cumulative pulse quantity information corresponding to each odometer wheel, the cumulative pulse quantity information is used to describe the number of pulses accumulated by the odometer wheel within the pulse period, and the data set timing information includes the cumulative time information corresponding to each cumulative pulse quantity information, the cumulative time information is used to describe the cumulative duration of the odometer wheel to reach the number of pulses corresponding to the cumulative pulse quantity information within the pulse period.
[0036] Specifically, it is conducive to easier switching of the mileage wheel that truly works effectively in the future, thereby improving the validity of the detection data. The pulse period can be pre-set to 100 mileage pulses; the terminal device can perform the following processing for each mileage wheel: obtain the detection data set information of the mileage wheel within the pulse period, that is, obtain the pulse data set information of the mileage wheel within the pulse period and the data set time consumption information corresponding to the pulse data set information.
[0037] In S200 , a target odometer wheel is determined from a plurality of odometer wheels according to the detection data set information and preset reference pulse quantity information.
[0038] Specifically, after the terminal device acquires the detection data set information, the terminal device may determine a target odometer wheel from a plurality of odometer wheels according to the detection data set information and preset reference pulse quantity information.
[0039] In some possible implementations, in order to further improve the effectiveness of subsequent detection data, please refer to Figure 2 Step S200 includes but is not limited to the following steps:
[0040] In S210 , for each odometer wheel: the accumulated pulse quantity information corresponding to the odometer wheel is compared with the preset reference pulse quantity information.
[0041] Specifically, the benchmark pulse quantity information is used to describe the number of pulses used as a comparison benchmark. For example, when the analyst plans to use 100 pulses as the benchmark pulse number, the benchmark pulse quantity information can be 100; the terminal device can perform the following processing for each mileage wheel: compare the cumulative pulse quantity information corresponding to the mileage wheel with the preset benchmark pulse quantity information.
[0042] In S220, if the accumulated pulse quantity information is greater than or equal to the reference pulse quantity information, the odometer wheel is determined to be the odometer wheel to be selected.
[0043] Specifically, if the accumulated pulse quantity information is greater than or equal to the reference pulse quantity information, the terminal device may determine that the mileage wheel is a to-be-selected mileage wheel, wherein the to-be-selected mileage wheel is used to describe the mileage wheel to be determined as the target mileage wheel.
[0044] Exemplarily, the pipeline detector is pre-installed with a three-way mileage wheel, which consists of a first mileage wheel, a second mileage wheel and a third mileage wheel. When the reference pulse quantity information is 100, the cumulative pulse quantity information of the first mileage wheel is 120, the cumulative pulse quantity information of the second mileage wheel is 140, and the cumulative pulse quantity information of the third mileage wheel is 95, the first mileage wheel and the second mileage wheel are both mileage wheels to be selected, and the third mileage wheel is not a mileage wheel to be selected.
[0045] In S230, if the number of odometer wheels to be selected is greater than or equal to 2, the accumulated time information corresponding to the accumulated pulse quantity information of any two odometer wheels to be selected is compared respectively until the target odometer wheel is determined from the multiple odometer wheels to be selected.
[0046] Specifically, the target odometer wheel is used to describe the odometer wheel with the shortest cumulative time information among multiple odometer wheels to be selected; if the number of odometer wheels to be selected is greater than or equal to 2, the terminal device can respectively compare the cumulative time information corresponding to the cumulative pulse quantity information of any two odometer wheels to be selected, until the target odometer wheel is determined among the multiple odometer wheels to be selected. Exemplarily, when the first odometer wheel and the second odometer wheel are both odometer wheels to be selected, the third odometer wheel is not a odometer wheel to be selected, and the cumulative time information corresponding to the cumulative pulse quantity information of the second odometer wheel is less than the cumulative time information corresponding to the cumulative pulse quantity information of the first odometer wheel, the terminal device can determine that the second odometer wheel is the target odometer wheel, thereby determining the odometer wheel that can best measure effective detection data, thereby improving the effectiveness of subsequent detection data.
[0047] In a possible implementation, in order to reduce the situation where the terminal device meaninglessly switches other mileage wheels as the target mileage wheel, when the number of mileage wheels to be selected is two and the accumulated time information of the accumulated pulse quantity information corresponding to the two mileage wheels to be selected is equal, the terminal device can continue to determine the originally preset target mileage wheel as the target mileage wheel determined after executing step S230; illustratively, the analyst can pre-set the first mileage wheel as the initial default target mileage wheel, and when the first mileage wheel and the second mileage wheel are both the mileage wheels to be selected, the third mileage wheel is not the mileage wheel to be selected, and the accumulated time information corresponding to the accumulated pulse quantity information of the first mileage wheel is equal to the accumulated time information corresponding to the accumulated pulse quantity information of the second mileage wheel, the terminal device can continue to determine the first mileage wheel as the target mileage wheel, thereby reducing the situation where the terminal device meaninglessly switches other mileage wheels as the target mileage wheel, reducing the adverse effects on the detection data due to the switching of mileage wheels, and further improving the validity of the detection data.
[0048] In S300, based on the pulse data set information, the accumulated pulse quantity information corresponding to the target odometer is determined, and based on the data set time information, the accumulated time information corresponding to the target odometer is determined.
[0049] Specifically, after the terminal device determines the target mileage wheel, the terminal device can determine the cumulative pulse quantity information corresponding to the target mileage wheel based on the pulse data set information. At the same time, the terminal device can determine the cumulative time information corresponding to the target mileage wheel based on the data set time information. The cumulative pulse quantity information and the cumulative time information are the effective detection data for pipeline detection.
[0050] In S400, target data set information is generated according to the accumulated pulse information and accumulated time information corresponding to the target odometer.
[0051] Specifically, after the terminal device determines the cumulative pulse quantity information and cumulative time information corresponding to the target odometer, the terminal device can generate a target data set information containing only valid detection data based on the cumulative pulse information and cumulative time information corresponding to the target odometer, thereby reducing the collection of a large amount of invalid data, thereby allowing analysts to quickly determine valid detection data through the target data set information.
[0052] In some possible implementations, in order to further improve the validity of the test data and reduce the situation where the target dataset information contains invalid test data, please refer to Figure 3 Step S230 includes but is not limited to the following steps:
[0053] In S231 , for each candidate odometer wheel: pulse number difference information is generated according to the difference between the accumulated pulse number information of the target odometer wheel and the accumulated pulse number information of the candidate odometer wheel.
[0054] Specifically, the alternative mileage wheel is used to describe the mileage wheels other than the target mileage wheel among the mileage wheels to be selected, and the pulse quantity difference information is used to describe the difference between the cumulative pulse quantity information of the alternative mileage wheel and the cumulative pulse quantity information of the target mileage wheel; the terminal device can perform the following processing for each alternative mileage wheel: generate pulse quantity difference information based on the difference between the cumulative pulse quantity information of the target mileage wheel and the cumulative pulse quantity information of the alternative mileage wheel.
[0055] In S232, within the preset monitoring period, if the cumulative pulse quantity information of the target odometer wheel is less than the cumulative pulse quantity information of the candidate odometer wheel, and the pulse quantity difference information is greater than the preset pulse quantity difference threshold, the target candidate odometer wheel is re-determined as the target odometer wheel.
[0056] Without loss of generality, the monitoring period includes multiple consecutive pulse periods. For example, when the monitoring period is 5, it represents 5 consecutive pulse periods. The target alternative odometer wheel is used to describe the alternative odometer wheel with the most accumulated pulse quantity information among multiple alternative odometer wheels. The pulse quantity difference threshold can be 20.
[0057] Specifically, within the preset monitoring period, if the cumulative pulse quantity information of the target mileage wheel is less than the cumulative pulse quantity information of the alternative mileage wheel, and the pulse quantity difference information is greater than the preset pulse quantity difference threshold, the terminal device can re-determine the target alternative mileage wheel as the target mileage wheel, thereby realizing the switching of the target mileage wheel, and determining the mileage wheel that is currently more capable of obtaining effective detection data as the target mileage wheel.
[0058] In one possible implementation, within a preset monitoring period, when the cumulative pulse quantity information of the target odometer wheel is greater than or equal to the cumulative pulse quantity information of the alternative odometer wheel, the current target odometer wheel continues to be determined as the target odometer wheel determined after the terminal device executes step S231, that is, within the preset monitoring period, when the cumulative pulse quantity information of the target odometer wheel is greater than or equal to the cumulative pulse quantity information of the alternative odometer wheel, the terminal device does not switch the target odometer wheel.
[0059] In some possible implementations, in order to accurately determine the fault of the odometer wheel and reduce the situation where the target data set information includes invalid data, please refer to Figure 4 After step S232, the method further includes but is not limited to the following steps:
[0060] In S233, based on the preset pulse number interval, the real-time speed information of the target odometer is continuously obtained.
[0061] Without loss of generality, the pulse number interval is used to describe the interval between any two acquisitions of real-time speed information in units of pulse number. The pulse number interval can be set to 100, indicating an interval of 100 pulses. The real-time speed information is used to describe the real-time speed of the target mileage wheel. How the terminal device specifically calculates the real-time speed of the mileage wheel can adopt existing technology, so it is not repeated here.
[0062] Specifically, the terminal device can continuously obtain the real-time speed information of the target odometer based on a preset pulse number interval; illustratively, when the pulse number interval is preset to 100, the terminal device can obtain the real-time speed information of the target odometer every 100 pulses.
[0063] In S234, the real-time speed information is continuously compared with the preset speed threshold information to generate continuous speeding times information.
[0064] Specifically, the continuous speeding times information is used to describe the number of times the real-time speed information is continuously greater than the speed threshold information. The speed threshold information can be preset to 60, indicating that the specific speed is 60 meters per second or 60 micrometers per microsecond. After the terminal device obtains the real-time speed information of the target odometer, the terminal device can compare the real-time speed information with the preset speed threshold information to generate the continuous speeding times information, which is conducive to immediately comparing the real-time speed information with the speed threshold information in real time after each acquisition of the real-time speed.
[0065] In S235, the continuous speeding times information is compared with a preset continuous speeding times threshold.
[0066] Specifically, the continuous speeding times threshold value may be pre-set to 100; after the terminal device generates the continuous speeding times information, the terminal device may compare the continuous speeding times information with the continuous speeding times threshold value.
[0067] In S236, if the continuous overspeeding times information is greater than the continuous overspeeding times threshold, it is determined that the operating state of the target odometer wheel is a fault state.
[0068] Specifically, if the continuous overspeed times information is greater than the continuous overspeed times threshold, the terminal device can determine that the operating state of the target odometer wheel is a fault state, thereby timely determining the odometer wheel that is not conducive to obtaining effective detection data.
[0069] In one possible implementation, after the terminal device executes step S220, the terminal device may generate a cumulative pulse quantity sorting table according to the cumulative pulse quantity information of each mileage wheel in order from most to least; when the terminal device determines that the operating state of the target mileage wheel is a fault state, the terminal device may directly determine, based on the cumulative pulse quantity sorting table, the mileage wheel next to the target mileage wheel as the target mileage wheel determined after executing step S236, thereby further helping to reduce the situation where the target data set information contains invalid detection data.
[0070] In S237, if the continuous speeding times information is less than or equal to the continuous speeding times threshold, the preset pulse times interval is executed again to continuously obtain the real-time speed information of the target odometer.
[0071] Specifically, if the continuous speeding times information is less than or equal to the continuous speeding times threshold, the terminal device can execute the above step S233 again.
[0072] In a possible implementation, after the above step S232 and after the above step S237, the terminal device may modify the monitoring period to the initial value, that is, restart the monitoring period.
[0073] In some possible implementations, to facilitate analysts to analyze the detection data, please refer to Figure 5 After step S400, the method further includes but is not limited to the following steps:
[0074] In S500 , a preset high-reliability tag is added to the target data set information to generate high-reliability data set information.
[0075] Specifically, the high reliability label indicates that the detection data measured by the target odometer is not only valid but also highly reliable. The high reliability data set information is used to describe the target data set information with the high reliability label. The terminal device can add a preset high reliability label to the target data set information to generate high reliability data set information.
[0076] In S510, the high reliability data set information is uploaded to a designated server.
[0077] Specifically, after the terminal device generates the high-reliability data set information, the terminal device may upload the high-reliability data set information to a designated server.
[0078] The implementation principle of the data processing method based on the pipeline detector in the embodiment of the present application is: the terminal device can first obtain the pulse data set information of all mileage wheels within a preset pulse period and the data set time consumption information corresponding to the pulse data set information, and then determine the target mileage wheel from multiple mileage wheels based on the pulse data set information and the preset reference pulse quantity information, and then determine the cumulative pulse quantity information and cumulative time information of the target mileage wheel, and generate a target data set information containing only valid detection data, thereby reducing the situation of including invalid detection data, which is conducive to analysts to quickly determine valid detection data.
[0079] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0080] The embodiment of the present application also provides a data processing system based on a pipeline detector, which is applicable to the pipeline detector. The pipeline detector is equipped with multiple mileage wheels. For ease of description, only the parts related to the present application are shown, such as Figure 6 As shown, the system 60 includes:
[0081] The detection data set information acquisition module 61 is used to acquire the detection data set information of all odometer wheels within a preset pulse cycle, wherein the detection data set information includes pulse data set information and data set time information corresponding to the pulse data set information, the pulse data set information includes the accumulated pulse quantity information corresponding to each odometer wheel, and the data set time information includes the accumulated time information corresponding to each accumulated pulse quantity information;
[0082] The target mileage wheel determination module 62 is used to determine the target mileage wheel from the plurality of mileage wheels according to the detection data set information and the preset reference pulse quantity information;
[0083] The cumulative pulse quantity information determination module 63 is used to determine the cumulative pulse quantity information corresponding to the target mileage wheel based on the pulse data set information, and determine the cumulative time information corresponding to the target mileage wheel based on the data set time information;
[0084] The target data set information generating module 64 is used to generate the target data set information according to the accumulated pulse information and accumulated time information corresponding to the target odometer.
[0085] Optionally, the target mileage wheel determination module 62 includes:
[0086] The pulse quantity information comparison submodule is used to compare the accumulated pulse quantity information corresponding to each mileage wheel with the preset reference pulse quantity information;
[0087] A submodule for determining the mileage wheel to be selected: used to determine that the mileage wheel is the mileage wheel to be selected if the accumulated pulse quantity information is greater than or equal to the reference pulse quantity information;
[0088] The target odometer wheel determination submodule is used to compare the accumulated time information corresponding to the accumulated pulse quantity information of any two odometer wheels to be selected respectively if the number of odometer wheels to be selected is greater than or equal to 2, until the target odometer wheel is determined from the multiple odometer wheels to be selected, wherein the target odometer wheel is used to describe the odometer wheel with the shortest accumulated time information among the multiple odometer wheels to be selected.
[0089] Optionally, the system 60 further includes:
[0090] A pulse quantity difference information generating module is used for generating pulse quantity difference information for each candidate odometer wheel according to the difference between the accumulated pulse quantity information of the target odometer wheel and the accumulated pulse quantity information of the candidate odometer wheel, wherein the candidate odometer wheel is used to describe the odometer wheel other than the target odometer wheel among the odometer wheels to be selected;
[0091] Target mileage wheel weight determination module: used to re-determine the target alternative mileage wheel as the target mileage wheel if the cumulative pulse quantity information of the target mileage wheel is less than that of the alternative mileage wheel and the pulse quantity difference information is greater than the preset pulse quantity difference threshold within a preset monitoring period, wherein the monitoring period includes multiple consecutive pulse periods, and the target alternative mileage wheel is used to describe the alternative mileage wheel with the most cumulative pulse quantity information.
[0092] Optionally, the system 60 further includes:
[0093] Real-time speed information acquisition module: used to continuously acquire the real-time speed information of the target mileage wheel based on the preset pulse number interval;
[0094] A continuous speeding times information generation module is used to continuously compare the real-time speed information with the preset speed threshold information to generate continuous speeding times information, wherein the continuous speeding times information is used to describe the number of times the real-time speed information is continuously greater than the speed threshold information;
[0095] Continuous overspeeding times information comparison module: used to compare the continuous overspeeding times information with the preset continuous overspeeding times threshold;
[0096] Fault state determination module: used to determine that the running state of the target mileage wheel is a fault state if the continuous overspeeding times information is greater than the continuous overspeeding times threshold;
[0097] Real-time speed information re-acquisition module: used to re-execute the preset pulse number interval to continuously acquire the real-time speed information of the target mileage wheel if the continuous speeding number information is less than or equal to the continuous speeding number threshold.
[0098] Optionally, the system 60 further includes:
[0099] High-reliability data set information generation module: used to add preset high-reliability tags to target data set information to generate high-reliability data set information;
[0100] High reliability data set information upload module: used to upload high reliability data set information to the specified server.
[0101] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0102] The present application also provides a terminal device, such as Figure 7 As shown, the terminal device 70 of this embodiment includes: a processor 71, a memory 72, and a computer program 73 stored in the memory 72 and executable on the processor 71. When the processor 71 executes the computer program 73, the steps in the above-mentioned traffic processing method embodiment are implemented, for example Figure 1 Steps S100 to S400 shown; or, when the processor 71 executes the computer program 73, the functions of each module in the above device are realized, for example Figure 6 The functions of modules 61 to 64 are shown.
[0103] The terminal device 70 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server, and the terminal device 70 includes but is not limited to a processor 71 and a memory 72. Those skilled in the art will appreciate that Figure 7 It is only an example of the terminal device 70 and does not constitute a limitation of the terminal device 70. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device 70 may also include input and output devices, network access devices, buses, etc.
[0104] Among them, the processor 71 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.; the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0105] The memory 72 may be an internal storage unit of the terminal device 70, such as a hard disk or memory of the terminal device 70, or the memory 72 may be an external storage device of the terminal device 70, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 70; further, the memory 72 may also include both an internal storage unit and an external storage device of the terminal device 70, and the memory 72 may also store a computer program 73 and other programs and data required by the terminal device 70, and the memory 72 may also be used to temporarily store data that has been output or is to be output.
[0106] One embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.; the computer-readable medium may include: any entity or device that can carry computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0107] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, all equivalent changes made according to the methods, principles, and structures of the present application should be included in the protection scope of the present application.
Claims
1. A data processing method based on a pipeline detector, applicable to a pipeline detector, wherein the pipeline detector is equipped with a plurality of mileage wheels, characterized in that: The method comprises: Acquire detection data set information of all the mileage wheels within a preset pulse period, wherein the detection data set information includes pulse data set information and data set time information corresponding to the pulse data set information, the pulse data set information includes the accumulated pulse quantity information corresponding to each of the mileage wheels, and the data set time information includes the accumulated time information corresponding to each of the accumulated pulse quantity information; Determining a target mileage wheel among the plurality of mileage wheels according to the detection data set information and preset reference pulse quantity information; Based on the pulse data set information, determine the accumulated pulse quantity information corresponding to the target mileage wheel, and based on the data set time information, determine the accumulated time information corresponding to the target mileage wheel; Generate target data set information according to the accumulated pulse information and accumulated time information corresponding to the target mileage wheel; Wherein, determining a target mileage wheel from among the plurality of mileage wheels according to the detection data set information and the preset reference pulse quantity information includes: For each of the mileage wheels: Comparing the accumulated pulse quantity information corresponding to the mileage wheel with the preset reference pulse quantity information; If the accumulated pulse quantity information is greater than or equal to the reference pulse quantity information, determining that the mileage wheel is the mileage wheel to be selected; If the number of the odometer wheels to be selected is greater than or equal to 2, the accumulated time information corresponding to the accumulated pulse quantity information of any two of the odometer wheels to be selected is compared respectively until a target odometer wheel is determined from the plurality of odometer wheels to be selected, wherein the target odometer wheel is used to describe the odometer wheel with the shortest accumulated time information among the plurality of odometer wheels to be selected.
2. The method according to claim 1, characterized in that: If the number of the odometer wheels to be selected is greater than or equal to 2, then the accumulated time information corresponding to the accumulated pulse quantity information of any two of the odometer wheels to be selected is compared respectively until a target odometer wheel is determined from the plurality of odometer wheels to be selected, the method further includes: For each alternative mileage wheel: Generate pulse quantity difference information according to the difference between the accumulated pulse quantity information of the target odometer wheel and the accumulated pulse quantity information of the candidate odometer wheel, wherein the candidate odometer wheel is used to describe the odometer wheel among the odometer wheels to be selected except the target odometer wheel; Within a preset monitoring period, if the cumulative pulse quantity information of the target odometer wheel is less than the cumulative pulse quantity information of the alternative odometer wheel, and the pulse quantity difference information is greater than a preset pulse quantity difference threshold, the target alternative odometer wheel is re-determined as the target odometer wheel, wherein the monitoring period includes multiple consecutive pulse periods, and the target alternative odometer wheel is used to describe the alternative odometer wheel with the largest cumulative pulse quantity information.
3. The method according to claim 2, characterized in that If, within the preset monitoring period, the accumulated pulse quantity information of the target odometer wheel is less than that of the candidate odometer wheel, and the pulse quantity difference information is greater than a preset pulse quantity difference threshold, then after re-determining the target candidate odometer wheel as the target odometer wheel, the method further includes: Based on a preset pulse number interval, continuously obtain the real-time speed information of the target odometer wheel; Continuously comparing the real-time speed information with the preset speed threshold information to generate continuous speeding times information, wherein the continuous speeding times information is used to describe the number of times the real-time speed information is continuously greater than the speed threshold information; Comparing the continuous speeding times information with a preset continuous speeding times threshold; If the continuous overspeeding times information is greater than the continuous overspeeding times threshold, determining that the running state of the target mileage wheel is a fault state; If the continuous speeding times information is less than or equal to the continuous speeding times threshold, the preset pulse times interval is executed again to continuously obtain the real-time speed information of the target mileage wheel.
4. The method according to claim 3, characterized in that If the continuous speeding times information is less than or equal to the continuous speeding times threshold, then after generating the target data set information according to the accumulated pulse information and accumulated time information corresponding to the target mileage wheel, the method further includes: Adding a preset high-reliability tag to the target data set information to generate high-reliability data set information; The high-reliability data set information is uploaded to a designated server.
5. A data processing system based on a pipeline detector, applicable to a pipeline detector, wherein the pipeline detector is equipped with a plurality of mileage wheels, characterized in that: The system comprises: A detection data set information acquisition module: used to acquire detection data set information of all the mileage wheels within a preset pulse period, wherein the detection data set information includes pulse data set information and data set time information corresponding to the pulse data set information, the pulse data set information includes the accumulated pulse quantity information corresponding to each of the mileage wheels, and the data set time information includes the accumulated time information corresponding to each of the accumulated pulse quantity information; A target mileage wheel determination module is used to determine a target mileage wheel from among the plurality of mileage wheels according to the detection data set information and the preset reference pulse quantity information; The module for determining the accumulated pulse quantity information is used to determine the accumulated pulse quantity information corresponding to the target mileage wheel based on the pulse data set information, and to determine the accumulated time information corresponding to the target mileage wheel based on the time-consuming information of the data set; Target data set information generation module: used to generate target data set information according to the accumulated pulse information and accumulated time information corresponding to the target mileage wheel; Wherein, the target mileage wheel determination module includes: The pulse quantity information comparison submodule is used for comparing the accumulated pulse quantity information corresponding to each mileage wheel with the preset reference pulse quantity information; A submodule for determining the mileage wheel to be selected: used for determining the mileage wheel as the mileage wheel to be selected if the accumulated pulse quantity information is greater than or equal to the reference pulse quantity information; The target odometer wheel determination submodule is used for, if the number of the odometer wheels to be selected is greater than or equal to 2, respectively comparing the accumulated time information corresponding to the accumulated pulse quantity information of any two of the odometer wheels to be selected, until a target odometer wheel is determined from the multiple odometer wheels to be selected, wherein the target odometer wheel is used to describe the odometer wheel with the shortest accumulated time information among the multiple odometer wheels to be selected.
6. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Mileage measuring device and method of in-pipeline detector
CN104048164A
Pipeline defect detection method based on multi-sensing information fusion and pipeline defect positioning method based on multi-sensing information fusion
WO2023088471A1