Vibration signal processing method, apparatus and device, and computer readable storage medium

By processing the original vibration signal matrix, the vibration signals that meet the conditions are automatically selected, which solves the problem of inconsistent quality of manual selection, improves the signal selection efficiency and database quality, and realizes the efficient construction of vibration signal database.

CN120780968APending Publication Date: 2025-10-14CHINA PETROLEUM PIPELINE ENG CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410421298.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2025-10-14

AI Technical Summary

Technical Problem

In the existing technology, manual selection of buried pipeline vibration signals has inconsistent quality and low efficiency, resulting in poor quality of the vibration signal database.

Method used

By processing the original vibration signal matrix, the vibration signal elements that meet the conditions are automatically selected to build a vibration signal database, including peak-to-peak value, average value and variance calculation, visual image processing and area determination, deleting abnormal signals, and building a high-quality vibration signal database.

Benefits of technology

It realizes the automatic selection of high-quality vibration signals, improves the signal selection efficiency and database quality, avoids the inconsistency of manual selection, and ensures the accuracy and integrity of the database.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120780968A_ABST
    Figure CN120780968A_ABST
Patent Text Reader

Abstract

The invention discloses a vibration signal processing method, device and equipment and a computer readable storage medium, and belongs to the technical field of signal processing. The method comprises the steps that an original vibration signal matrix is obtained, the original vibration signal matrix comprises a plurality of first matrix elements, and any first matrix element comprises a vibration signal obtained by any sampling of any sampling point at any time; the original vibration signal matrix is processed, a representative vibration signal matrix is obtained, the representative vibration signal matrix comprises a plurality of second matrix elements, and any second matrix element comprises a vibration signal of any sampling point at any time; determining a third matrix element in the second matrix elements; determining a fourth matrix element in the original vibration signal matrix according to the sampling point and time corresponding to the third matrix element; and according to the sampling point, the time and the vibration signal corresponding to the fourth matrix element, determining a fifth matrix element meeting the condition in the fourth matrix element. The method improves the processing efficiency of the vibration signal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of signal processing, in particular to a vibration signal processing method and device, equipment and a computer readable storage medium. BACKGROUND

[0002] The distributed optical fiber vibration sensing technology uses an optical fiber laid in the same ditch as the buried pipeline as a vibration sensor to obtain the vibration signal of the buried pipeline. The vibration signal of the buried pipeline is used to support the construction of a pipeline vibration signal database and related artificial intelligence applications driven by data. Therefore, it is necessary to select the obtained vibration signal of the buried pipeline.

[0003] In the related art, the obtained vibration signal is selected one by one by artificial. Because the selection criteria of each person is different, the selected vibration signal is mixed with good and bad, and the quality is poor. Moreover, a lot of time is spent on selection, so that the selection efficiency of the vibration signal is low. SUMMARY

[0004] Embodiments of the present application provide a vibration signal processing method, device, equipment and computer readable storage medium, which can be used to solve the problems in the related art. The technical solution is as follows:

[0005] On the one hand, the present application provides a vibration signal processing method, which comprises:

[0006] Obtaining an original vibration signal matrix, the original vibration signal matrix comprising a plurality of first matrix elements, any first matrix element comprising a vibration signal obtained by any sampling point at any time;

[0007] Processing the original vibration signal matrix to obtain a representative vibration signal matrix, the representative vibration signal matrix comprising a plurality of second matrix elements, any second matrix element comprising a vibration signal of any sampling point at any time, the number of second matrix elements being less than the number of first matrix elements;

[0008] Determining a third matrix element in the second matrix element, the third matrix element being used to represent the second matrix element;

[0009] According to the sampling point and time corresponding to the third matrix element, determining a fourth matrix element in the original vibration signal matrix, the sampling point and time corresponding to the fourth matrix element being the sampling point and time corresponding to the third matrix element;

[0010] According to the sampling point, time and vibration signal corresponding to the fourth matrix element, determining a fifth matrix element meeting the condition in the fourth matrix element, the fifth matrix element being used to construct a vibration signal database.

[0011] In a possible implementation form, the processing of the original vibration signal matrix to obtain a representative vibration signal matrix comprises:

[0012] determining the vibration signal of the any sampling point at any time according to the vibration signals obtained by each sampling of the any sampling point at any time;

[0013] obtaining the representative vibration signal matrix according to the vibration signal of the any sampling point at any time.

[0014] In a possible implementation form, the determining of the vibration signal of the any sampling point at any time according to the vibration signals obtained by each sampling of the any sampling point at any time comprises:

[0015] determining the peak-to-peak value of the any sampling point at any time according to the maximum vibration signal and the minimum vibration signal in the vibration signals obtained by each sampling of the any sampling point at any time;

[0016] taking the peak-to-peak value of the any sampling point at any time as the vibration signal of the any sampling point at any time.

[0017] In a possible implementation form, the determining of the vibration signal of the any sampling point at any time according to the vibration signals obtained by each sampling of the any sampling point at any time comprises:

[0018] determining the average vibration signal of the any sampling point at any time according to the vibration signals obtained by each sampling of the any sampling point at any time;

[0019] determining the variance of the any sampling point at any time according to the vibration signals obtained by each sampling of the any sampling point at any time and the average vibration signal of the any sampling point at any time;

[0020] taking the variance of the any sampling point at any time as the vibration signal of the any sampling point at any time.

[0021] In a possible implementation form, the determining of the third matrix element in the second matrix element comprises:

[0022] constructing a visualization image according to the second matrix element;

[0023] determining a quadrilateral in the visualization image;

[0024] taking the second matrix element corresponding to the point located in the quadrilateral as the third matrix element.

[0025] In a possible implementation, the determining the third matrix element in the second matrix element comprises:

[0026] constructing a visualization image according to the second matrix element;

[0027] determining a quadrangle in the visualization image;

[0028] determining a first region according to a first anchor point, a distance span and a time span, the first anchor point being located in the quadrangle;

[0029] based on the fact that vertices of the first region are all located in the quadrangle, taking a second matrix element corresponding to a point in the first region as the third matrix element.

[0030] In a possible implementation, the method further comprises:

[0031] based on the fact that there is a vertex of the first region located outside the quadrangle, moving the first anchor point to obtain a second anchor point;

[0032] determining a second region according to the second anchor point, the distance span and the time span;

[0033] based on the fact that vertices of the second region are all located in the quadrangle, taking a second matrix element corresponding to a point in the second region as the third matrix element.

[0034] In a possible implementation, the determining the fifth matrix element meeting the condition in the fourth matrix element according to the sampling point, the time and the vibration signal corresponding to the fourth matrix element comprises:

[0035] deleting, from the fourth matrix element, a fourth matrix element corresponding to a vibration signal less than a signal threshold value, to obtain a reference matrix element;

[0036] based on the fact that a difference between a maximum vibration signal and a minimum vibration signal in a target matrix element corresponding to the same sampling point and the same time in the reference matrix element is less than a difference threshold value, deleting the target matrix element from the reference matrix element, to obtain the fifth matrix element.

[0037] In a possible implementation, after the determining the fifth matrix element meeting the condition in the fourth matrix element according to the sampling point, the time and the vibration signal corresponding to the fourth matrix element, the method further comprises:

[0038] determining related information of the sampling point corresponding to the fifth matrix element, the related information comprising at least one of a type or a transverse distance from the buried pipeline;

[0039] According to the relevant information of the sampling point corresponding to the fifth matrix element, a threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline is determined.

[0040] In another aspect, the embodiments of the present application provide a vibration signal processing device, which comprises:

[0041] An acquisition module is configured to acquire an original vibration signal matrix, wherein the original vibration signal matrix comprises a plurality of first matrix elements, and any first matrix element comprises a vibration signal obtained by sampling at any time and at any sampling point;

[0042] A processing module is configured to process the original vibration signal matrix to obtain a representative vibration signal matrix, wherein the representative vibration signal matrix comprises a plurality of second matrix elements, and any second matrix element comprises a vibration signal at any time and at any sampling point, and the number of the second matrix elements is less than the number of the first matrix elements;

[0043] A determination module is configured to determine a third matrix element in the second matrix elements, and the third matrix element is used to represent the second matrix elements.

[0044] The determination module is further configured to determine a fourth matrix element in the original vibration signal matrix according to a sampling point and a time corresponding to the third matrix element, and the sampling point and the time corresponding to the fourth matrix element are the sampling point and the time corresponding to the third matrix element.

[0045] The determination module is further configured to determine a fifth matrix element meeting a condition in the fourth matrix element according to a sampling point, a time and a vibration signal corresponding to the fourth matrix element, and the fifth matrix element is used to construct a vibration signal database.

[0046] In a possible implementation, the processing module is configured to determine the vibration signal at any time and at any sampling point according to the vibration signals obtained by sampling at any time and at any sampling point, and acquire the representative vibration signal matrix according to the vibration signal at any time and at any sampling point.

[0047] In a possible implementation, the processing module is configured to determine a peak-to-peak value at any time and at any sampling point according to a maximum vibration signal and a minimum vibration signal in the vibration signals obtained by sampling at any time and at any sampling point, and take the peak-to-peak value at any time and at any sampling point as the vibration signal at any time and at any sampling point.

[0048] In a possible implementation, the processing module is configured to: determine average vibration signals of any sampling point at any time according to vibration signals of the any sampling point at the any time obtained through each sampling; determine variances of the any sampling point at the any time according to the vibration signals of the any sampling point at the any time obtained through each sampling and the average vibration signals of the any sampling point at the any time; and take the variances of the any sampling point at the any time as the vibration signals of the any sampling point at the any time.

[0049] In a possible implementation, the determining module is configured to: construct a visualization image according to the second matrix elements; determine a quadrangle in the visualization image; and take the second matrix elements corresponding to the points located in the quadrangle as the third matrix elements.

[0050] In a possible implementation, the determining module is configured to: construct a visualization image according to the second matrix elements; determine a quadrangle in the visualization image; determine a first region according to a first anchor point, a distance span and a time span, the first anchor point being located in the quadrangle; and take the second matrix elements corresponding to the points in the first region as the third matrix elements, based on the fact that the vertices of the first region are all located in the quadrangle.

[0051] In a possible implementation, the determining module is further configured to: move the first anchor point to obtain a second anchor point, based on the fact that there is a vertex of the first region located outside the quadrangle; determine a second region according to the second anchor point, the distance span and the time span; and take the second matrix elements corresponding to the points in the second region as the third matrix elements, based on the fact that the vertices of the second region are all located in the quadrangle.

[0052] In a possible implementation, the determining module is configured to: delete fourth matrix elements corresponding to vibration signals less than a signal threshold value in the fourth matrix elements to obtain reference matrix elements; and delete target matrix elements from the reference matrix elements based on the fact that a difference between a maximum vibration signal and a minimum vibration signal in the target matrix elements corresponding to the same sampling point and the same time in the reference matrix elements is less than a difference threshold value, to obtain the fifth matrix elements.

[0053] In a possible implementation, the determining module is further configured to: determine relevant information of the sampling points corresponding to the fifth matrix elements, the relevant information including at least one of a type or a transverse distance from the buried pipeline; and determine threat degrees of the buried pipeline by the sampling points corresponding to the fifth matrix elements according to the relevant information of the sampling points corresponding to the fifth matrix elements.

[0054] In another aspect, the embodiments of the present application provide a computer device, comprising a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor to enable the computer device to implement the vibration signal processing method described above.

[0055] In another aspect, a computer readable storage medium is also provided, the computer readable storage medium storing at least one program code, the at least one program code being loaded and executed by a processor to enable a computer to implement the vibration signal processing method described above.

[0056] In another aspect, a computer program or computer program product is also provided, the computer program or computer program product storing at least one computer instruction, the at least one computer instruction being loaded and executed by a processor to enable a computer to implement the vibration signal processing method described above.

[0057] The technical solutions provided by the embodiments of the present application at least bring the following beneficial effects:

[0058] The technical solutions provided by the embodiments of the present application automatically select the fifth matrix element that meets the condition according to the vibration signals included in the plurality of first matrix elements included in the original vibration signal matrix, without manual selection, which can avoid the situation that the selected vibration signals are of mixed quality, so that the quality of the selected vibration signals is better, and since manual selection is not required, the selection efficiency of the vibration signals can be improved. Since the selected vibration signals are used to construct the vibration signal database, when the quality of the selected vibration signals is good, the quality of the constructed vibration signal database is also good. BRIEF DESCRIPTION OF DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0060] Figure 1 is a schematic diagram of an implementation environment of a vibration signal processing method provided by the embodiments of the present application;

[0061] Figure 2 is a flowchart of a vibration signal processing method provided by the embodiments of the present application;

[0062] Figure 3 is a schematic diagram of an original vibration signal matrix provided by the embodiments of the present application;

[0063] Figure 4 is a schematic diagram of a visual image provided in an embodiment of the present application;

[0064] Figure 5 is a schematic diagram of a convex quadrilateral provided in an embodiment of the present application;

[0065] Figure 6 is a flowchart of a process for determining a third matrix element provided in an embodiment of the present application;

[0066] Figure 7 1 is a schematic structural diagram of a vibration signal processing device provided in an embodiment of the present application;

[0067] Figure 8 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0068] Figure 9 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0070] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0071] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a vibration signal processing method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a computer device 101, which can be a terminal device or a server, and is not limited in this embodiment of the application. The computer device 101 is used to execute the vibration signal processing method provided in the embodiment of the application.

[0072] Optionally, the computer device 101 is a terminal device, which can be any electronic device product capable of human-computer interaction with a user through one or more of a keyboard, a touchpad, a remote controller, voice interaction, or a handwriting device, etc. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car, a smart television, a smart speaker, a smart watch, etc.

[0073] The terminal device can be referred to as one of a plurality of terminal devices, and the embodiment is only exemplified by the terminal device. Those skilled in the art can know that the number of the terminal device can be more or less. For example, the terminal device can be only one, or the terminal device can be dozens or hundreds, or more, and the number and type of the terminal device are not limited in the embodiment.

[0074] When the computer device 101 is a server, the server can be a single server, or a server cluster composed of a plurality of servers, or any one of a cloud computing platform and a virtualization center, and the embodiment is not limited thereto. The server is connected to the terminal device through a wired network or a wireless network. The server has a data receiving function, a data processing function, and a data sending function. Of course, the server can also have other functions, and the embodiment is not limited thereto.

[0075] Those skilled in the art should understand that the terminal device and the server are only examples, and other existing or future terminal devices or servers, such as those applicable to the present application, should also be included in the protection scope of the present application and are hereby incorporated by reference.

[0076] The embodiment provides a vibration signal processing method, which can be applied to the implementation environment shown in the above Figure 1 The embodiment provides a vibration signal processing method, which can be applied to the implementation environment shown in the above Figure 2 The embodiment provides a vibration signal processing method, which can be applied to the implementation environment shown in the above Figure 1 The embodiment provides a vibration signal processing method, which can be applied to the implementation environment shown in the above Figure 2 The embodiment provides a vibration signal processing method, which can be applied to the implementation environment shown in the above

[0077] In step 201, an original vibration signal matrix is obtained, the original vibration signal matrix including a plurality of first matrix elements, and any first matrix element including a vibration signal obtained by sampling at any time at any sampling point.

[0078] In a possible implementation, after obtaining the vibration signals obtained by each sampling point of the buried pipeline at any time and any sampling, a plurality of first matrix elements are generated according to the identification of each sampling point of the buried pipeline, the identification of each time, the identification of each sampling, and the vibration signals obtained by each sampling point at each time and each sampling. An original vibration signal matrix is generated according to the plurality of first matrix elements. The original vibration signal matrix includes the plurality of first matrix elements, and any first matrix element includes the vibration signal obtained by any sampling point at any time and any sampling. Optionally, any first matrix element further includes the identification of any sampling point, the identification of any time, and the identification of any sampling. The identification of any sampling point can be the distance between any sampling point and the starting point of the buried pipeline.

[0079] For example, the vibration signal obtained by the sampling point with a distance of 1 meter from the starting point of the buried pipeline at the first second and the first sampling is A1, and the first matrix element corresponding to the sampling data is (1, 1, 1, A1). The first 1 in the first matrix element (1, 1, 1, A1) is the distance between the sampling point and the starting point of the buried pipeline, that is, the identification of the sampling point, the second 1 represents the first second, and the third 1 represents the first sampling.

[0080] For example, the obtained original vibration signal matrix P is as follows.

[0081]

[0082] (P1, T1, 1, A1) represents that the vibration signal obtained by the sampling point with a distance of P1 from the starting point of the buried pipeline at the first time T1 and the first sampling is A1. (P2, T1, 1, B1) represents that the vibration signal obtained by the sampling point with a distance of P2 from the starting point of the buried pipeline at the first time T1 and the first sampling is B1. (P m ,T z ,n,Z n ) represents that the vibration signal obtained by the sampling point with a distance of P m from the starting point of the buried pipeline at the nth time T z and the nth sampling is Z n . The meanings of other first matrix elements in the original vibration signal matrix P are similar to those of the above-mentioned first matrix elements, and the embodiments of the present application will not be described here.

[0083] As Figure 3is a schematic diagram of an original vibration signal matrix provided by an embodiment of the present application. In the diagram, the x-axis is the identification of a sampling point, that is, the distance from the starting point of the buried pipeline, the y-axis is the sampling time axis, the sampling rate of each sampling time is 1000 Hz, that is, the sampling number of each sampling time is 1000, and the z-axis is the vibration signal of the sampling point at the sampling time. Figure 3 The diagram shown in the middle is 0-8192 sampling points, and the sampling time is 30 minutes.

[0084] In step 202, the original vibration signal matrix is processed to obtain a representative vibration signal matrix.

[0085] In a possible implementation, the process of processing the original vibration signal matrix to obtain the representative vibration signal matrix includes: determining the vibration signal of any sampling point at any time according to the vibration signals obtained by each sampling of the sampling point at the time; and obtaining the representative vibration signal matrix according to the vibration signal of any sampling point at any time, the representative vibration signal matrix including a plurality of second matrix elements, any second matrix element including the vibration signal of any sampling point at any time, and the number of second matrix elements being less than the number of first matrix elements. Optionally, any second matrix element further includes the identification of any sampling point and the identification of any time.

[0086] The present embodiment does not limit the manner of determining the vibration signal of any sampling point at any time according to the vibration signals obtained by each sampling of the sampling point at the time. Optionally, the present embodiment proposes the following two implementation manners of determining the vibration signal of any sampling point at any time according to the vibration signals obtained by each sampling of the sampling point at the time.

[0087] Implementation manner one: determining the peak-to-peak value of any sampling point at any time according to the maximum vibration signal and the minimum vibration signal in the vibration signals obtained by each sampling of the sampling point at the time; and taking the peak-to-peak value of any sampling point at any time as the vibration signal of the sampling point at the time.

[0088] Optionally, for any sampling point in the plurality of sampling points and any time, the vibration signals obtained by each sampling of the sampling point at the time are determined in the original vibration signal matrix, the maximum vibration signal and the minimum vibration signal are determined from the vibration signals obtained by each sampling of the sampling point at the time; the peak-to-peak value of any sampling point at any time is obtained by subtracting the maximum vibration signal from the minimum vibration signal, and the peak-to-peak value of any sampling point at any time is taken as the vibration signal of the sampling point at the time.

[0089] For example, any sampling point is sampled 10 times at any time, and the vibration signals obtained by each sampling of any sampling point at any time are 100, 99, 98, 97, 96, 95, 94, 93, 92 and 91 respectively. The maximum vibration signal is 100, and the minimum vibration signal is 91. Therefore, the peak-to-peak value of any sampling point at any time is 100-91=9, that is, the vibration signal of any sampling point at any time is 9.

[0090] In a second implementation, the average vibration signal of any sampling point at any time is determined according to the vibration signals obtained by each sampling of any sampling point at any time; the variance of any sampling point at any time is determined according to the vibration signals obtained by each sampling of any sampling point at any time and the average vibration signal of any sampling point at any time; and the vibration signal of any sampling point at any time is the variance of any sampling point at any time.

[0091] In a possible implementation, the process of determining the average vibration signal of any sampling point at any time according to the vibration signals obtained by each sampling of any sampling point at any time includes: taking the average value of the vibration signals obtained by each sampling of any sampling point at any time as the average vibration signal of any sampling point at any time.

[0092] For example, any sampling point is sampled 10 times at any time, and the vibration signals obtained by each sampling of any sampling point at any time are 100, 99, 98, 97, 96, 95, 94, 93, 92 and 91 respectively. Therefore, the average value of the vibration signals obtained by each sampling of any sampling point at any time is That is, the average vibration signal of any sampling point at any time is 95.5.

[0093] The application does not limit the way of determining the variance of any sampling point at any time according to the vibration signals obtained by each sampling of any sampling point at any time and the average vibration signal of any sampling point at any time. Alternatively, the variance S of any sampling point at any time is determined according to the vibration signals obtained by each sampling of any sampling point at any time and the average vibration signal of any sampling point at any time according to the following formula (1).

[0094]

[0095] In the above formula (1), is the average vibration signal of any sampling point at any time, S1 is the vibration signal obtained by the first sampling of any sampling point at any time, S2 is the vibration signal obtained by the second sampling of any sampling point at any time, and Sn is the vibration signal obtained by the n-th sampling of any sampling point at any time. n is the vibration signal obtained by the n-th sampling of any sampling point at any time.

[0096] For example, any sampling point is sampled 10 times at any time, and the vibration signals obtained by each sampling of any sampling point at any time are 100, 99, 98, 97, 96, 95, 94, 93, 92 and 91 respectively, and the average vibration signal of any sampling point at any time is 95.5. According to the above formula (1), the variance of any sampling point at any time is 9.08, that is, the vibration signal of any sampling point at any time is 9.08.

[0097] In a possible implementation, the vibration signal of any sampling point at any time can also be determined by other manners according to the vibration signals obtained by each sampling of any sampling point at any time. For example, the average vibration signal of any sampling point at any time is determined according to the vibration signals obtained by each sampling of any sampling point at any time, and the average vibration signal of any sampling point at any time is taken as the vibration signal of any sampling point at any time. Alternatively, the average vibration signal of any sampling point at any time is determined according to the vibration signals obtained by each sampling of any sampling point at any time, the standard deviation of any sampling point at any time is determined according to the vibration signals obtained by each sampling of any sampling point at any time and the average vibration signal of any sampling point at any time, and the standard deviation of any sampling point at any time is taken as the vibration signal of any sampling point at any time.

[0098] In an embodiment of the present application, after the vibration signal of any sampling point at any time is determined, a second matrix element is obtained according to the identifier of any sampling point, the identifier of any time and the vibration signal of any sampling point at any time, and a representative vibration signal matrix is obtained according to the second matrix element.

[0099] For example, the second matrix element obtained according to the identifier of any sampling point, the identifier of any time and the vibration signal of any sampling point at any time is (P1, T1, A1). Wherein, P1 in the second matrix element (P1, T1, A1) represents the identifier of any sampling point, that is, the distance between the sampling point and the starting point of the buried pipeline is P1, T1 represents the identifier of any time, and A1 represents the vibration signal of any sampling point at any time.

[0100] For example, the representative vibration signal matrix Q obtained is as follows.

[0101]

[0102] Wherein, (P1, T1, C1) represents the vibration signal of the sampling point with the distance P1 from the starting point of the buried pipeline at time T1 is C1. (P2, T1, D1) represents the vibration signal of the sampling point with the distance P2 from the starting point of the buried pipeline at time T1 is D1. (P m , z , z ) represents the vibration signal of the sampling point with the distance P m from the starting point of the buried pipeline at T z is E z . The meaning of other second matrix elements in the vibration signal matrix Q is similar to the meaning of the above several second matrix elements, and the embodiments of the present application will not be described here.

[0103] The process of processing the original vibration signal matrix to obtain the representative vibration signal matrix is to compress the original vibration signal matrix in the vertical axis, so that the data amount can be greatly reduced while the observation of the vibration signal is not affected.

[0104] In step 203, a third matrix element is determined in the second matrix element, and the third matrix element is used to represent the second matrix element.

[0105] In a possible implementation, the embodiments of the present application do not limit the process of determining the third matrix element in the second matrix element.

[0106] Optionally, there are two implementation manners to determine the third matrix element in the second matrix element.

[0107] Implementation manner one, constructing a visual image according to the second matrix element; determining a quadrilateral in the visual image; and taking the second matrix element corresponding to the point located in the quadrilateral as the third matrix element.

[0108] As Figure 4 is a schematic diagram of a visual image provided by the embodiments of the present application. The horizontal axis of the visual image represents the identification of the sampling point, that is, the distance between the sampling point and the starting point of the buried pipeline, and the vertical axis represents the sampling time. The vibration signal is represented by brightness, and the higher the brightness, the higher the vibration signal.

[0109] After the visual image is constructed, a quadrilateral is determined in the visual image by manual operation, so that the computer device obtains the quadrilateral. Optionally, the determined quadrilateral is a convex quadrilateral, that is, a quadrilateral without an angle greater than 180 degrees. For example, trapezoid and parallelogram belong to convex quadrilaterals. Figure 5 is a schematic diagram of a convex quadrilateral provided by the embodiments of the present application.

[0110] In a possible implementation, before the second matrix element corresponding to the point located in the quadrangle is taken as the fourth matrix element, it is necessary to determine whether each point is located in the quadrangle. The embodiments of the present application do not limit the manner of determining whether each point is located in the quadrangle. Alternatively, whether each point is located in the quadrangle is determined in the following manner.

[0111] The manner comprises: determining the coordinates of the four vertices of the quadrangle; determining the slopes and intercepts of the four sides of the quadrangle according to the coordinates of the four vertices of the quadrangle; and determining whether any point is located in the quadrangle according to the coordinates of the any point, the slopes and intercepts of the four sides of the quadrangle.

[0112] Alternatively, the process of determining whether any point is located in the quadrangle according to the coordinates of the any point, the slopes and intercepts of the four sides of the quadrangle comprises: determining that any point is located in the quadrangle based on that the coordinates of the any point, the slopes and intercepts of the four sides of the quadrangle satisfy the following formula (2); and determining that any point is located outside the quadrangle based on that the coordinates of the any point, the slopes and intercepts of the four sides of the quadrangle do not satisfy the following formula (2).

[0113]

[0114] wherein K1 is the slope of the line segment between the uppermost vertex and the rightmost vertex of the quadrangle, B1 is the intercept of the line segment between the uppermost vertex and the rightmost vertex of the quadrangle; K2 is the slope of the line segment between the lowermost vertex and the rightmost vertex of the quadrangle, B2 is the intercept of the line segment between the lowermost vertex and the rightmost vertex of the quadrangle; K3 is the slope of the line segment between the lowermost vertex and the leftmost vertex of the quadrangle, B3 is the intercept of the line segment between the lowermost vertex and the leftmost vertex of the quadrangle; K4 is the slope of the line segment between the uppermost vertex and the leftmost vertex of the quadrangle, B4 is the intercept of the line segment between the uppermost vertex and the leftmost vertex of the quadrangle; (P D , T D ) is the coordinates of any point.

[0115] Exemplarily, the uppermost vertex of the quadrangle is POS1 (P1, T1), the rightmost vertex of the quadrangle is POS2 (P2, T2), the lowermost vertex of the quadrangle is POS3 (P3, T3), and the leftmost vertex of the quadrangle is POS4 (P4, T4). The slope of the straight line L12 determined by POS1 and POS2 is K1, and the intercept of the straight line L12 is B1; the slope of the straight line L23 determined by POS2 and POS3 is K2, and the intercept of the straight line L23 is B2; the slope of the straight line L34 determined by POS3 and POS4 is K3, and the intercept of the straight line L34 is B3; the slope of the straight line L41 determined by POS4 and POS1 is K4, and the intercept of the straight line L41 is B4.

[0116] In a second implementation, the visual image is constructed according to the second matrix elements; the quadrangle is determined in the visual image; the first region is determined according to the first anchor point, the distance span and the time span, the first anchor point being located in the quadrangle; and the second matrix elements corresponding to the points in the first region are taken as the third matrix elements based on the fact that the vertices of the first region are all located in the quadrangle.

[0117] The process of constructing the visual image according to the second matrix elements has been described in the first implementation, and the process of determining the quadrangle in the visual image has also been described in the first implementation, which will not be repeated here.

[0118] The distance span and the time span can be set based on experience or adjusted according to the implementation environment, which will not be limited in the embodiments of the present application. For example, the distance span is 3 and the time span is 5.

[0119] In a possible implementation, the process of determining the first region according to the first anchor point, the distance span and the time span includes: adding half of the distance span to the horizontal coordinate of the first anchor point to obtain a first value; subtracting half of the distance span from the horizontal coordinate of the first anchor point to obtain a second value; adding half of the time span to the vertical coordinate of the first anchor point to obtain a third value; and subtracting half of the time span from the vertical coordinate of the first anchor point to obtain a fourth value. A first point is obtained with the first value as the horizontal coordinate and the fourth value as the vertical coordinate; a second point is obtained with the first value as the horizontal coordinate and the third value as the vertical coordinate; a third point is obtained with the second value as the horizontal coordinate and the third value as the vertical coordinate; and a fourth point is obtained with the second value as the horizontal coordinate and the fourth value as the vertical coordinate. The region composed of the first point, the second point, the third point and the fourth point is taken as the first region.

[0120] The process of determining whether the vertices of the first region are located in the quadrangle is similar to the process of determining whether a point is located in the quadrangle in the first implementation, which will not be repeated here.

[0121] After the second matrix elements corresponding to the points in the first region are taken as the third matrix elements based on the fact that the vertices of the first region are all located in the quadrangle, the first anchor point is moved vertically to obtain a third anchor point, and a third region is determined according to the third anchor point, the distance span and the time span; and the second matrix elements corresponding to the points in the third region are taken as the third matrix elements based on the fact that the vertices of the third region are all located in the quadrangle. The range of vertical movement is from the minimum time value to the maximum time value of the quadrangle. The movement step of vertical movement is set based on experience or adjusted according to the implementation environment, which will not be limited in the embodiments of the present application. Optionally, the minimum value of the movement step of vertical movement is 1 and the maximum value is the time span.

[0122] In a possible implementation, the first anchor point is moved to obtain a second anchor point based on the fact that a vertex of the first region is located outside the quadrangle; the second region is determined according to the second anchor point, the distance span and the time span; and the second matrix element corresponding to a point in the second region is taken as the third matrix element based on the fact that the vertices of the second region are all located within the quadrangle. The process of moving the first anchor point to obtain the second anchor point includes moving the first anchor point in the horizontal direction to obtain the second anchor point. The range of the horizontal movement is from the minimum distance value of the quadrangle to the maximum distance value. The movement step length of the horizontal movement is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiments of the present application. Alternatively, the minimum value of the movement step length of the horizontal movement is 1, and the maximum value is the distance span.

[0123] The process of determining whether the vertices of the second region are located within the quadrangle is similar to the process of determining whether a point is located within the quadrangle in the above implementation manner one, which is not repeated here.

[0124] After the second matrix element corresponding to a point in the second region is taken as the third matrix element based on the fact that the vertices of the second region are all located within the quadrangle, the second anchor point is moved in the horizontal direction to obtain a fourth anchor point; the fourth region is determined according to the fourth anchor point, the distance span and the time span, and the second matrix element corresponding to a point in the fourth region is taken as the third matrix element based on the fact that the vertices of the fourth region are all located within the quadrangle.

[0125] As shown in FIG. 6, the process includes steps 601 to 608. Figure 6 As shown in FIG. 6, the process includes steps 601 to 608. Figure 6

[0126] Step 601, determining a first anchor point.

[0127] Step 602, determining a first region according to the first anchor point, the distance span and the time span.

[0128] Step 603, determining whether the vertices of the first region are located within the quadrangle.

[0129] Step 604, taking the second matrix element corresponding to a point located in the first region as the third matrix element based on the fact that the vertices of the first region are located within the quadrangle.

[0130] Step 605, moving the first anchor point in the horizontal direction to obtain a second anchor point based on the fact that the vertices of the first region are located outside the quadrangle.

[0131] Step 606, determining a second region according to the second anchor point, the distance span and the time span.

[0132] Step 607, determining whether the vertices of the second region are located within the quadrangle.​

[0133] In step 608, based on the vertex of the second region being located in the quadrangle, the second matrix element corresponding to the point located in the second region is taken as a third matrix element.

[0134] The processes of steps 601 to 608 have been described in step 203, and will not be described here again.

[0135] In step 204, a fourth matrix element is determined in the original vibration signal matrix according to the sampling point and the time corresponding to the third matrix element.

[0136] In a possible implementation, after the third matrix element is determined, the fourth matrix element is determined in the original vibration signal matrix according to the sampling point and the time corresponding to the third matrix element, and the sampling point and the time corresponding to the fourth matrix element are the sampling point and the time corresponding to the third matrix element.

[0137] Exemplarily, the identification of the sampling point included in the original vibration signal matrix is taken as the identification of the sampling point included in the third matrix element, and the identification of the time included in the first matrix element is taken as the identification of the time included in the third matrix element.

[0138] In step 205, a fifth matrix element meeting a condition is determined in the fourth matrix element according to the sampling point, the time and the vibration signal corresponding to the fourth matrix element, and the fifth matrix element is used to construct a vibration signal database.

[0139] In a possible implementation, the process of determining the fifth matrix element meeting the condition in the fourth matrix element according to the sampling point, the time and the vibration signal corresponding to the fourth matrix element includes: deleting the fourth matrix element in which the corresponding vibration signal is less than a vibration signal threshold from the fourth matrix element to obtain a reference matrix element; deleting, based on the difference between the maximum vibration signal and the minimum vibration signal in a target matrix element in which the corresponding sampling point and the corresponding time are same in the reference matrix element being less than a difference threshold, the target matrix element from the reference matrix element to obtain the fifth matrix element.

[0140] The vibration signal threshold is set based on experience or adjusted according to an implementation environment, and embodiments of the present application do not limit this. The difference threshold is set based on experience or adjusted according to an implementation environment, and embodiments of the present application also do not limit this.

[0141] The process of deleting the target matrix element from the reference matrix element based on the fact that the difference between the maximum vibration signal and the minimum vibration signal in the target matrix element corresponding to the same sampling point and the same time in the reference matrix element is less than the difference threshold value includes: determining the target matrix element corresponding to the same sampling point and the same time in the reference matrix element; determining the maximum vibration signal and the minimum vibration signal in the vibration signal corresponding to the target matrix element; determining the difference between the maximum vibration signal and the minimum vibration signal; and based on the fact that the difference is less than the difference threshold value, deleting the target matrix element from the reference matrix element. Based on the fact that the difference is less than the difference threshold value, the signal spectrum distribution of the target matrix element is too uniform, and therefore, the target matrix element needs to be deleted.

[0142] Optionally, after the fifth matrix element is determined, the fifth matrix element is used to construct a vibration signal database, and the fifth matrix element can also be used to drive related artificial intelligence applications.

[0143] In a possible implementation, after the fifth matrix element is determined, the sampling point corresponding to the fifth matrix element can also be labeled to obtain related information of the sampling point corresponding to the fifth matrix element and a threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline; the fifth matrix element, the related information of the sampling point corresponding to the fifth matrix element, and the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline are used to construct a vibration signal database.

[0144] The related information of the sampling point corresponding to the fifth matrix element includes at least one of a type of the sampling point corresponding to the fifth matrix element or a transverse distance of the sampling point corresponding to the fifth matrix element to the buried pipeline, and the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline is determined based on the related information of the sampling point corresponding to the fifth matrix element. The transverse distance of the sampling point corresponding to the fifth matrix element to the buried pipeline is a vertical distance of the sampling point corresponding to the fifth matrix element to the buried pipeline.

[0145] Optionally, the type of the sampling point corresponding to the fifth matrix element and the transverse distance of the sampling point corresponding to the fifth matrix element to the buried pipeline are obtained by field measurement. The type of the sampling point can be mechanical operation, manual excavation, or vehicle passing.

[0146] Optionally, the process of determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline includes: determining the related information of the sampling point corresponding to the fifth matrix element, the related information including at least one of the type or the transverse distance to the buried pipeline; and determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline according to the related information of the sampling point corresponding to the fifth matrix element.

[0147] The related information of the sampling point corresponding to the fifth matrix element includes a type of the sampling point corresponding to the fifth matrix element and a transverse distance of the sampling point corresponding to the fifth matrix element from the buried pipeline, and the process of determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline according to the related information of the sampling point corresponding to the fifth matrix element includes: determining a value corresponding to the type of the sampling point corresponding to the fifth matrix element; determining a first weight parameter corresponding to the type of the sampling point corresponding to the fifth matrix element; determining a second weight parameter corresponding to the transverse distance of the sampling point corresponding to the fifth matrix element from the buried pipeline; and determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline according to the value corresponding to the type of the sampling point corresponding to the fifth matrix element, the first weight parameter, the transverse distance of the sampling point corresponding to the fifth matrix element from the buried pipeline and the second weight parameter.

[0148] The first weight parameter corresponding to the type of the sampling point is smaller when the type of the sampling point is vehicle passing than when the type of the sampling point is artificial digging, and the first weight parameter corresponding to the type of the sampling point is smaller when the type of the sampling point is artificial digging than when the type of the sampling point is mechanical operation. The smaller the transverse distance of the sampling point from the buried pipeline, the greater the second weight parameter corresponding to the transverse distance of the sampling point from the buried pipeline.

[0149] In a possible implementation, the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline is determined according to the value corresponding to the type of the sampling point corresponding to the fifth matrix element, the first weight parameter, the transverse distance of the sampling point corresponding to the fifth matrix element from the buried pipeline and the second weight parameter according to the following formula (3).

[0150] H=R1*α+R2*β Formula (3)

[0151] In the above formula (3), R1 is the value corresponding to the type of the sampling point corresponding to the fifth matrix element, α is the first weight parameter, R2 is the transverse distance of the sampling point corresponding to the fifth matrix element from the buried pipeline, and β is the second weight parameter.

[0152] In a possible implementation, when determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline, the external monitoring information of the sampling point corresponding to the fifth matrix element can also be considered. The external monitoring information includes three kinds of information: already monitored, not monitored but reported, and unknown monitoring state. According to the relevant information of the sampling point corresponding to the fifth matrix element and the external monitoring information of the sampling point corresponding to the fifth matrix element, the process of determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline includes: determining a value corresponding to the type of the sampling point corresponding to the fifth matrix element; determining a first weight parameter corresponding to the type of the sampling point corresponding to the fifth matrix element; determining a second weight parameter corresponding to the transverse distance between the sampling point corresponding to the fifth matrix element and the buried pipeline; determining a value corresponding to the external monitoring information of the sampling point corresponding to the fifth matrix element; determining a third weight parameter corresponding to the external monitoring information of the sampling point corresponding to the fifth matrix element; and determining the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline according to the value corresponding to the type of the sampling point corresponding to the fifth matrix element, the first weight parameter, the transverse distance between the sampling point corresponding to the fifth matrix element and the buried pipeline, the second weight parameter, the value corresponding to the external monitoring information of the sampling point corresponding to the fifth matrix element, and the third weight parameter.

[0153] When the external monitoring information of the sampling point is already monitored, the third weight parameter corresponding to the external monitoring information of the sampling point is smaller than the third weight parameter corresponding to the external monitoring information of the sampling point when the external monitoring information of the sampling point is not monitored but reported; when the external monitoring information of the sampling point is not monitored but reported, the third weight parameter corresponding to the external monitoring information of the sampling point is smaller than the third weight parameter corresponding to the external monitoring information of the sampling point when the external monitoring information of the sampling point is unknown monitoring state.

[0154] Optionally, the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline is determined according to the value corresponding to the type of the sampling point corresponding to the fifth matrix element, the first weight parameter, the transverse distance between the sampling point corresponding to the fifth matrix element and the buried pipeline, the second weight parameter, the value corresponding to the external monitoring information of the sampling point corresponding to the fifth matrix element, and the third weight parameter according to the following formula (4).

[0155] H = R1*α + R2*β + R3*γ Formula (4)

[0156] In the above formula (4), R1 is the value corresponding to the type of the sampling point corresponding to the fifth matrix element, α is the first weight parameter, R2 is the transverse distance between the sampling point corresponding to the fifth matrix element and the buried pipeline, β is the second weight parameter, R3 is the value corresponding to the external monitoring information of the sampling point corresponding to the fifth matrix element, and γ is the third weight parameter.

[0157] The method automatically selects the fifth matrix element meeting the condition according to the vibration signals included in the plurality of first matrix elements included in the original vibration signal matrix, and does not need manual selection, so that the selected vibration signals are not mixed with good and bad signals, the quality of the selected vibration signals is good, and the selection efficiency of the vibration signals is improved without manual selection. Since the selected vibration signals are used to construct the vibration signal database, the quality of the vibration signal database is good when the quality of the selected vibration signals is good.

[0158] Figure 7 Fig. 1 shows a structural schematic diagram of a vibration signal processing device provided by an embodiment of the application, as shown in the figure, the device comprises: Figure 7

[0159] The acquisition module 701 is configured to acquire an original vibration signal matrix, the original vibration signal matrix comprising a plurality of first matrix elements, any first matrix element comprising a vibration signal obtained by sampling at any time at any sampling point;

[0160] The processing module 702 is configured to process the original vibration signal matrix to obtain a representative vibration signal matrix, the representative vibration signal matrix comprising a plurality of second matrix elements, any second matrix element comprising a vibration signal at any time at any sampling point, and the number of second matrix elements being less than the number of first matrix elements;

[0161] The determination module 703 is configured to determine a third matrix element in the second matrix elements, the third matrix element being used to represent the second matrix elements.

[0162] The determination module 703 is further configured to determine a fourth matrix element in the original vibration signal matrix according to the sampling point and the time corresponding to the third matrix element, the sampling point and the time corresponding to the fourth matrix element being the sampling point and the time corresponding to the third matrix element.

[0163] The determination module 703 is further configured to determine a fifth matrix element meeting a condition in the fourth matrix element according to the sampling point, the time and the vibration signal corresponding to the fourth matrix element, the fifth matrix element being used to construct a vibration signal database.

[0164] In a possible implementation, the processing module 702 is configured to determine the vibration signal at any time at any sampling point according to the vibration signals obtained by sampling at any time at any sampling point, and acquire the representative vibration signal matrix according to the vibration signal at any time at any sampling point.

[0165] ​In a possible implementation, the processing module 702 is configured to determine the peak-to-peak value of any sampling point at any time according to the maximum vibration signal and the minimum vibration signal in the vibration signals obtained by each sampling of any sampling point at any time; and take the peak-to-peak value of any sampling point at any time as the vibration signal of any sampling point at any time.

[0166] In a possible implementation, the processing module 702 is configured to determine the average vibration signal of any sampling point at any time according to the vibration signals obtained by each sampling of any sampling point at any time; determine the variance of any sampling point at any time according to the vibration signals obtained by each sampling of any sampling point at any time and the average vibration signal of any sampling point at any time; and take the variance of any sampling point at any time as the vibration signal of any sampling point at any time.

[0167] In a possible implementation, the determining module 703 is configured to construct a visualization image according to the second matrix elements; determine a quadrangle in the visualization image; and take the second matrix elements of the points located in the quadrangle as the third matrix elements.

[0168] In a possible implementation, the determining module 703 is configured to construct a visualization image according to the second matrix elements; determine a quadrangle in the visualization image; determine a first region according to the first anchor point, the distance span and the time span, the first anchor point being located in the quadrangle; and take the second matrix elements of the points in the first region as the third matrix elements, based on the fact that the vertices of the first region are all located in the quadrangle.

[0169] In a possible implementation, the determining module 703 is further configured to move the first anchor point to obtain a second anchor point, based on the fact that there is a vertex of the first region that is located outside the quadrangle; determine a second region according to the second anchor point, the distance span and the time span; and take the second matrix elements of the points in the second region as the third matrix elements, based on the fact that the vertices of the second region are all located in the quadrangle.

[0170] In a possible implementation, the determining module 703 is configured to delete the fourth matrix elements in which the corresponding vibration signals are less than the signal threshold value, to obtain reference matrix elements; and delete target matrix elements from the reference matrix elements, to obtain the fifth matrix elements, based on the fact that the difference between the maximum vibration signal and the minimum vibration signal in the target matrix elements in which the corresponding sampling points and times are the same is less than the difference threshold value.

[0171] In a possible implementation, the determining module 703 is further configured to determine the related information of the sampling point corresponding to the fifth matrix element, the related information including at least one of a type or a transverse distance from the buried pipeline; and determine the threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline according to the related information of the sampling point corresponding to the fifth matrix element.

[0172] The device automatically selects the fifth matrix element meeting the condition according to the vibration signals included in the plurality of first matrix elements included in the original vibration signal matrix, without manual selection, so that the selected vibration signals are of good quality, and the selection efficiency of the vibration signals is improved. Since the selected vibration signals are used to construct the vibration signal database, the quality of the vibration signal database is also good when the quality of the selected vibration signals is good.

[0173] It should be understood that the device provided above is only exemplified by the division of the above functional modules when realizing its functions, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above-described functions. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is described in detail in the method embodiments, which will not be described here.

[0174] Figure 8 A structure block diagram of a terminal device 800 provided by an example embodiment of the present application is shown. The terminal device 800 can be any electronic device product that can interact with a user through one or more ways such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car, a smart television, a smart speaker, a smart watch, etc.

[0175] Generally, the terminal device 800 includes a processor 801 and a memory 802.

[0176] The processor 801 can include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 801 can be implemented in the form of at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array). The processor 801 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 801 can be integrated with a GPU (Graphics Processing Unit) for rendering and drawing content required to be displayed by the display screen. In some embodiments, the processor 801 can further include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.

[0177] The memory 802 can include one or more computer-readable storage media, which can be non-transitory. The memory 802 can also include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 802 is used to store at least one instruction for being executed by the processor 801 to implement the vibration signal processing method provided by the method embodiments in the present application.

[0178] In some embodiments, the terminal device 800 can also optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, the memory 802, and the peripheral device interface 803 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 803 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, and a power supply 809.

[0179] The peripheral interface 803 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 801 and the memory 802. In some embodiments, the processor 801, the memory 802 and the peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802 and the peripheral interface 803 can be implemented on a separate chip or circuit board, and the present embodiments are not limited in this regard.

[0180] The radio frequency circuit 804 is used to receive and send RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 804 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 804 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 804 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 804 can also include NFC (Near Field Communication) related circuitry, and the present application is not limited in this regard.

[0181] The display screen 805 is configured to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 805 is a touch display screen, the display screen 805 is further configured to capture touch signals on or above the surface of the display screen 805. The touch signals can be input to the processor 801 as control signals for processing. In this case, the display screen 805 can also be configured to provide virtual buttons and / or virtual keyboard, also known as soft buttons and / or soft keyboard. In some embodiments, the display screen 805 can be one, disposed on the front panel of the terminal device 800; in other embodiments, the display screen 805 can be at least two, respectively disposed on different surfaces of the terminal device 800 or in a folding design; in other embodiments, the display screen 805 can be a flexible display screen, disposed on a curved surface or a folding surface of the terminal device 800. Even, the display screen 805 can also be disposed in an irregular shape, i.e., a special-shaped screen. The display screen 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.

[0182] The camera assembly 806 is configured to capture images or videos. Optionally, the camera assembly 806 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal device 800, and the rear camera is disposed on the back of the terminal device 800. In some embodiments, the rear camera is at least two, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, to realize the background blur function by fusing the main camera and the depth-of-field camera, the panoramic shooting and VR (Virtual Reality) shooting function by fusing the main camera and the wide-angle camera, or other fusion shooting functions. In some embodiments, the camera assembly 806 can further include a flash. The flash can be a single-color-temperature flash or a dual-color-temperature flash. The dual-color-temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.

[0183] The audio circuit 807 can include a microphone and a speaker. The microphone is used to collect sound waves of a user and an environment, and convert the sound waves into an electrical signal input to the processor 801 for processing or to the radio frequency circuit 804 to realize voice communication. The microphone can be multiple for the purpose of stereo sound collection or noise reduction, and arranged at different parts of the terminal device 800. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert an electrical signal from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker can be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert an electrical signal into a sound wave audible to humans, but also convert an electrical signal into a sound wave inaudible to humans for ranging purposes. In some embodiments, the audio circuit 807 can also include a headphone jack.

[0184] The power supply 809 is used to supply power to each component in the terminal device 800. The power supply 809 can be alternating current, direct current, disposable battery or rechargeable battery. When the power supply 809 includes a rechargeable battery, the rechargeable battery can be a wired charging battery or a wireless charging battery. The wired charging battery is a battery charged through a wired line, and the wireless charging battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0185] In some embodiments, the terminal device 800 further includes one or more sensors 810. The one or more sensors 810 include, but are not limited to, an acceleration sensor 811, a gyroscope sensor 812, a pressure sensor 813, an optical sensor 815, and a proximity sensor 816.

[0186] The acceleration sensor 811 can detect the acceleration in three coordinate axes of the coordinate system established by the terminal device 800. For example, the acceleration sensor 811 can be used to detect the components of gravitational acceleration in three coordinate axes. The processor 801 can control the display screen 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 can also be used for game or user motion data collection.

[0187] The gyroscope sensor 812 can detect the body direction and rotation angle of the terminal device 800, and the gyroscope sensor 812 can collect 3D actions of the user on the terminal device 800 in cooperation with the acceleration sensor 811. The processor 801 can realize the following functions according to the data collected by the gyroscope sensor 812: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization when shooting, game control, and inertial navigation.

[0188] The pressure sensor 813 can be arranged at the side frame of the terminal device 800 and / or the lower layer of the display screen 805. When the pressure sensor 813 is arranged at the side frame of the terminal device 800, the holding signal of the user to the terminal device 800 can be detected, and the left-hand or right-hand recognition or the shortcut operation can be performed by the processor 801 according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is arranged at the lower layer of the display screen 805, the operability control on the UI interface can be controlled by the processor 801 according to the pressure operation of the user to the display screen 805. The operability control includes at least one of the button control, the scroll bar control, the icon control and the menu control.

[0189] The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, the processor 801 can control the display brightness of the display screen 805 according to the ambient light intensity collected by the optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the display screen 805 is increased; when the ambient light intensity is low, the display brightness of the display screen 805 is decreased. In another embodiment, the processor 801 can also dynamically adjust the shooting parameter of the camera assembly 806 according to the ambient light intensity collected by the optical sensor 815.

[0190] The proximity sensor 816, also called the distance sensor, is usually arranged at the front panel of the terminal device 800. The proximity sensor 816 is used to collect the distance between the user and the front of the terminal device 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front of the terminal device 800 gradually decreases, the display screen 805 is switched from the bright screen state to the off-screen state by the processor 801; when the proximity sensor 816 detects that the distance between the user and the front of the terminal device 800 gradually increases, the display screen 805 is switched from the off-screen state to the bright screen state by the processor 801.

[0191] Those skilled in the art can understand that the structure shown in the above embodiments is not a limitation on the terminal device 800, and the terminal device 800 can include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement. Figure 8

[0192] Figure 9 ​A structural diagram of a server provided in the embodiments of the present application is shown in FIG. 9. The server 900 can have great differences due to different configurations or performances, and can include one or more processors (Central Processing Units, CPUs) 901 and one or more memories 902. The one or more memories 902 store at least one piece of program code, which is loaded and executed by the one or more processors 901 to implement the vibration signal processing method provided in any of the above method embodiments. Of course, the server 900 can also have a wired or wireless network interface, a keyboard, an input and output interface, and other components for implementing device functions, and the like, so as to perform input and output. The server 900 can also include other components for implementing device functions, which are not described herein.

[0193] In exemplary embodiments, a computer readable storage medium is also provided, which stores at least one piece of program code, which is loaded and executed by a processor to enable a computer to implement any of the above vibration signal processing methods.

[0194] Optionally, the above computer readable storage medium can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.

[0195] In exemplary embodiments, a computer program or computer program product is also provided, which stores at least one computer instruction, which is loaded and executed by a processor to enable a computer to implement any of the above vibration signal processing methods.

[0196] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data need to comply with relevant laws, regulations, and standards of relevant countries and regions. For example, the vibration signal obtained by any sampling point at any time in any sampling is obtained under sufficient authorization.

[0197] It should be understood that the "multiple" mentioned herein refers to two or more than two. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. The character " / " generally represents that the associated objects before and after it are in an "or" relationship.

[0198] The above-mentioned sequence numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0199] The above-mentioned only for the exemplary embodiments of the present application, and does not limit the present application, any modification, equivalent replacement, improvement, etc. made within the principles of the present application, should be included in the protection scope of the present application.

Claims

1. A method for processing a vibration signal, characterized in that: The method comprises: Acquire an original vibration signal matrix, where the original vibration signal matrix includes a plurality of first matrix elements, and any first matrix element includes a vibration signal obtained by any sampling at any sampling point at any time; Processing the original vibration signal matrix to obtain a representative vibration signal matrix, the representative vibration signal matrix including a plurality of second matrix elements, any second matrix element including a vibration signal of any sampling point at any time, and the number of the second matrix elements being less than the number of the first matrix elements; determining a third matrix element in the second matrix element, wherein the third matrix element is used to represent the second matrix element; Determine a fourth matrix element in the original vibration signal matrix according to the sampling point and time corresponding to the third matrix element, where the sampling point and time corresponding to the fourth matrix element are the sampling point and time corresponding to the third matrix element; According to the sampling point, time and vibration signal corresponding to the fourth matrix element, a fifth matrix element that meets the conditions is determined in the fourth matrix element, and the fifth matrix element is used to construct a vibration signal database.

2. The method according to claim 1, characterized in that The processing of the original vibration signal matrix to obtain a representative vibration signal matrix includes: Determining the vibration signal of any sampling point at any time based on the vibration signals obtained from each sampling at any sampling point at any time; The representative vibration signal matrix is ​​obtained according to the vibration signal of any sampling point at any time.

3. The method according to claim 2, characterized in that Determining the vibration signal of any sampling point at any time based on the vibration signal obtained by each sampling at any sampling point at any time includes: Determine the peak-to-peak value of any sampling point at any time based on the maximum vibration signal and the minimum vibration signal in the vibration signals obtained by each sampling at any sampling point at any time; The peak-to-peak value of any sampling point at any time is used as the vibration signal of any sampling point at any time.

4. The method according to claim 2, characterized in that Determining the vibration signal of any sampling point at any time based on the vibration signal obtained by each sampling at any sampling point at any time includes: Determining an average vibration signal of any sampling point at any time based on the vibration signals obtained by each sampling at any sampling point at any time; Determining the variance of any sampling point at any time based on the vibration signals obtained by each sampling at any sampling point at any time and the average vibration signal of any sampling point at any time; The variance of any sampling point at any time is used as the vibration signal of any sampling point at any time.

5. The method according to any one of claims 1 to 4, characterized in that: The determining of the third matrix element in the second matrix element includes: constructing a visual image according to the second matrix elements; determining a quadrilateral in the visualized image; The second matrix element corresponding to the point located within the quadrilateral is used as the third matrix element.

6. The method according to any one of claims 1 to 4, characterized in that: The determining of the third matrix element in the second matrix element includes: constructing a visual image according to the second matrix elements; determining a quadrilateral in the visualized image; determining a first region based on a first anchor point, a distance span, and a time span, wherein the first anchor point is located within the quadrilateral; Based on the fact that all vertices of the first region are located within the quadrilateral, the second matrix elements corresponding to the points within the first region are used as the third matrix elements.

7. The method according to claim 6, characterized in that The method further comprises: Based on the presence of a vertex outside the quadrilateral among the vertices of the first area, moving the first anchor point to obtain a second anchor point; determining a second area based on the second anchor point, the distance span, and the time span; Based on the fact that all vertices of the second region are located within the quadrilateral, the second matrix elements corresponding to the points within the second region are used as the third matrix elements.

8. The method according to any one of claims 1 to 4, characterized in that: Determining a fifth matrix element that meets the conditions in the fourth matrix elements according to the sampling point, time, and vibration signal corresponding to the fourth matrix element includes: Deleting the fourth matrix elements whose corresponding vibration signals are less than a signal threshold from the fourth matrix elements to obtain reference matrix elements; Based on the fact that the difference between the maximum vibration signal and the minimum vibration signal in the corresponding target matrix element with the same sampling point and time in the reference matrix element is less than a difference threshold, the target matrix element is deleted from the reference matrix element to obtain the fifth matrix element.

9. The method according to any one of claims 1 to 4, characterized in that: After determining a fifth matrix element that meets the conditions in the fourth matrix elements based on the sampling point, time, and vibration signal corresponding to the fourth matrix element, the method further includes: Determining relevant information of the sampling point corresponding to the fifth matrix element, the relevant information including at least one of a type or a lateral distance from the buried pipeline; The threat degree of the sampling point corresponding to the fifth matrix element to the buried pipeline is determined according to the relevant information of the sampling point corresponding to the fifth matrix element.

10. A vibration signal processing device, characterized in that: The device comprises: An acquisition module is used to acquire an original vibration signal matrix, where the original vibration signal matrix includes a plurality of first matrix elements, and any first matrix element includes a vibration signal obtained by any sampling at any sampling point at any time; a processing module, configured to process the original vibration signal matrix to obtain a representative vibration signal matrix, wherein the representative vibration signal matrix includes a plurality of second matrix elements, wherein any second matrix element includes a vibration signal of any sampling point at any time, and the number of the second matrix elements is less than the number of the first matrix elements; a determining module, configured to determine a third matrix element in the second matrix element, wherein the third matrix element is used to represent the second matrix element; The determining module is further configured to determine a fourth matrix element in the original vibration signal matrix based on the sampling point and time corresponding to the third matrix element, where the sampling point and time corresponding to the fourth matrix element are the sampling point and time corresponding to the third matrix element; The determination module is further configured to determine a fifth matrix element that meets the conditions in the fourth matrix elements according to the sampling point, time and vibration signal corresponding to the fourth matrix element, and the fifth matrix element is used to construct a vibration signal database.

11. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements the vibration signal processing method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to enable a computer to implement the vibration signal processing method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable a computer to implement the vibration signal processing method according to any one of claims 1 to 9.