Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a highway interference estimation system and method for a distributed optical fiber.
In order to achieve the purpose, the invention adopts the following technical scheme:
a highway interference estimation system for a distributed optical fiber, comprising: the system comprises a distributed optical fiber sensor, a plurality of cameras, a plurality of velocimeters, a weighing belt, an edge server, an Ethernet and a cloud server; the distributed optical fiber sensor is arranged underground of the highway, the edge server, the cameras and the velocimeters are respectively arranged on the highway, and the weighing belt is arranged at the entrance of the highway;
the distributed optical fiber sensor is used for acquiring data information of a distributed optical fiber and sending the acquired data information to the cloud server through the Ethernet;
the cameras are used for acquiring license plate information and road section information of a vehicle and sending the license plate information and the road section information of the vehicle to the edge server;
the plurality of speed meters are used for acquiring the speed information of the vehicle and sending the speed information of the vehicle to the edge server;
the weighing belt is used for acquiring weight information of the vehicle and sending the weight information of the vehicle to the edge server;
the edge server is used for receiving license plate information and road section information sent by the cameras, vehicle speed information sent by the velocimeters and weight information sent by the weighing belts, and sending the received license plate information, road section information, vehicle speed information and weight information to the cloud server through the Ethernet;
and the cloud server is used for receiving and processing data information sent by the distributed optical fiber sensor and license plate information, road section information, vehicle speed information and weight information sent by the edge server to obtain the interference condition of the vehicle on the distributed optical fiber.
Furthermore, the road section information is a road section within a preset range of the distributed optical fiber, the road section is averagely divided into a plurality of lane sections, and a camera and a velocimeter are arranged on one side of each lane section.
Further, the edge server specifically includes:
the first judgment module is used for judging whether the received license plate information of the current vehicle exists in the link hash mapping;
the storage module is used for storing the license plate information, the lane section information, the vehicle speed information and the weight information of the current vehicle in the link hash mapping when the license plate information of the current vehicle does not exist in the link hash mapping;
the second judgment module is used for judging whether the current vehicle is in the next lane section or not;
the updating module is used for updating the lane section information and the vehicle speed information of the current vehicle in the link hash mapping when the current vehicle is in the next lane section;
the third judgment module is used for judging whether the current vehicle leaves the whole road section;
and the deleting module is used for deleting the license plate information, the lane section information, the vehicle speed information and the weight information of the current vehicle when the current vehicle leaves the whole road section.
Further, the edge server is further configured to fit lane segment information of the vehicle, and specifically includes:
the first calculation module is used for calculating the acceleration of the current vehicle in the current lane section;
wherein,
representing a speed at which the current vehicle enters the current lane segment;
representing a speed at which the current vehicle leaves the current lane segment;
representing the total stay time of the current vehicle in the current lane section;
the second calculation module is used for calculating the speed of the current vehicle at any time point according to the acceleration of the current vehicle in the current lane section;
wherein,
representing a dwell time of the current vehicle within the current lane segment;
the estimation module is used for estimating the lane change times of the current vehicle in the lane section according to the position of the current vehicle entering and exiting the current lane section and estimating the lane section at any time point according to the lane change times;
an extraction module for extracting the weight of the current vehicleW;
Input module for transmitting all vehicles at any timeSpeed of the vehicleVWeight of vehicleWAnd inputting the vehicle parameters into the parameter matrix to obtain the parameter matrix of the vehicle.
Further, the cloud server is further used for establishing a deep learning model based on a deep learning network, and obtaining the interference condition of the vehicle on the distributed optical fiber according to the established deep learning model.
Correspondingly, the method for estimating the highway interference for the distributed optical fiber comprises the following steps:
s1, a distributed optical fiber sensor acquires data information of a distributed optical fiber and sends the acquired data information to a cloud server through an Ethernet;
s2, a plurality of cameras acquire license plate information and road section information of a vehicle and send the license plate information and the road section information of the vehicle to an edge server;
s3, obtaining the speed information of the vehicle by a plurality of speed meters, and sending the speed information of the vehicle to an edge server;
s4, the weighing belt acquires weight information of the vehicle and sends the weight information of the vehicle to an edge server;
s5, the edge server receives license plate information and road section information sent by a plurality of cameras, vehicle speed information sent by a plurality of speed meters and weight information sent by the weighing belt, and sends the received license plate information, road section information, vehicle speed information and weight information to the cloud server through the Ethernet;
and S6, the cloud server receives and processes data information sent by the distributed optical fiber sensor and license plate information, road section information, vehicle speed information and weight information sent by the edge server to obtain the interference condition of the vehicle on the distributed optical fiber.
Furthermore, the road section information is a road section within a preset range of the distributed optical fiber, the road section is averagely divided into a plurality of lane sections, and a camera and a velocimeter are arranged on one side of each lane section.
Further, the step S5 includes:
A1. judging whether the received license plate information of the current vehicle exists in the link hash mapping, if so, executing the step A3; if not, executing the step A2;
A2. storing license plate information, lane section information, vehicle speed information and weight information of the current vehicle in a linked hash map;
A3. judging whether the current vehicle is in the next lane section, if so, executing the step A4; if not, executing the step A5;
A4. updating lane section information and vehicle speed information of the current vehicle in the link hash mapping;
A5. judging whether the current vehicle leaves the whole road section, if so, executing the step A6; if not, executing the step A3;
A6. and deleting the license plate information, the lane section information, the vehicle speed information and the weight information of the current vehicle.
Further, the step S5 further includes fitting lane segment information of the vehicle, specifically:
B1. calculating the acceleration of the current vehicle in the current lane section;
wherein,
representing a speed at which the current vehicle enters the current lane segment;
representing a speed at which the current vehicle leaves the current lane segment;
representing the total stay time of the current vehicle in the current lane section;
B2. calculating the speed of the current vehicle at any time point according to the acceleration of the current vehicle in the current lane section;
wherein,
representing a dwell time of the current vehicle within the current lane segment;
B3. the lane change times of the current vehicle in the lane section are estimated according to the position of the current vehicle entering and exiting the current lane section, and the lane section where any time point is located is estimated according to the lane change times;
B4. extracting the weight of the current vehicleW;
B5. The speed of all vehicles at any time pointVWeight of vehicleWAnd inputting the vehicle parameters into the parameter matrix to obtain the parameter matrix of the vehicle.
Further, the step S6 further includes establishing a deep learning model based on a deep learning network, and obtaining an interference situation caused by the vehicle to the distributed optical fiber according to the established deep learning model.
Compared with the prior art, the method can estimate the interference condition of the highway automobile to the distributed optical fiber in real time, and further provides a basis for eliminating the interference in the later period. For example, distributed optical fibers are deployed in gas pipelines for monitoring whether the gas pipelines may be damaged by the outside, such as excavators, pile drivers, and the like. If the current automobile driving condition of the highway is not enough to cause the current distributed optical fiber data condition, the excavator, the pile driver and the like are likely to enter the optical fiber deployment area, and an alarm is needed.
Example one
The present embodiment provides a highway interference estimation system for a distributed optical fiber, as shown in fig. 1-2, including: the system comprises a distributed optical fiber sensor 11, a plurality of cameras 12, a plurality of velocimeters 13, a weighing belt 14, an edge server 15, an Ethernet 17 and a cloud server 16; the distributed optical fiber sensor is arranged underground of the highway, the edge server, the cameras and the velocimeters are respectively arranged on the highway, and the weighing belt is arranged at the entrance of the highway;
the distributed optical fiber sensor 11 is used for acquiring data information of the distributed optical fiber and sending the acquired data information to the cloud server through the Ethernet;
the cameras 12 are used for acquiring license plate information and road section information of the vehicle and sending the license plate information and the road section information of the vehicle to the edge server;
the plurality of speed meters 13 are used for acquiring the speed information of the vehicle and sending the speed information of the vehicle to the edge server;
the weighing belt 14 is used for acquiring weight information of the vehicle and sending the weight information of the vehicle to the edge server;
the edge server 15 is used for receiving license plate information and road section information sent by the cameras, vehicle speed information sent by the velocimeters and weight information sent by the weighing belts, and sending the received license plate information, road section information, vehicle speed information and weight information to the cloud server through the Ethernet;
and the cloud server 16 is used for receiving and processing the data information sent by the distributed optical fiber sensor and the license plate information, the road section information, the vehicle speed information and the weight information sent by the edge server to obtain the interference condition of the vehicle on the distributed optical fiber.
In the distributed optical fiber sensor 11, data information of the distributed optical fiber is acquired, and the acquired data information is sent to the cloud server through the ethernet.
Fig. 1 is a schematic cross-sectional view of a distribution optical fiber and a highway. The distributed optical fibers are deployed underground along with the gas pipeline and are arranged in a crossed manner with the highway on the ground. The motorway cars have a large influence on the measurement results of the distributed optical fiber. The highway takes four bidirectional lanes as an example, four lanes in the right direction and four lanes in the left direction, and the middle of the highway is divided by a green belt.
Fig. 2 shows an architecture diagram of an interference estimation system. The distributed optical fiber and highway data acquisition system mainly comprises a distributed optical fiber sensor, a camera matrix, a velometer matrix, a weighing belt, an edge server, an Ethernet and a cloud server; the distributed optical fiber sensor can send data to the cloud server in real time through the Ethernet; the edge server is deployed at the side of the expressway, the driving condition (namely a parameter matrix) of the automobile segmented (namely a lane segment) through the expressway is obtained through calculation of the camera matrix, the velometer matrix and the weighing belt, and the driving condition is sent to the cloud server; the cloud server is responsible for data integration, interference estimation and storage.
In this embodiment, the highway selects a section of road closer to the distributed optical fiber sensor (that is, within a preset range of the distributed optical fiber sensor, all the distributed optical fiber sensors can be covered), and equally divides the selected section into a plurality of sub-sections, that is, a plurality of lane sections, and a camera and a velometer are installed at the entrance and exit of each lane section, thereby forming a camera matrix and a velometer matrix. Fig. 3 shows a schematic diagram of the sensor deployment of the right-hand lane of the highway, and a vehicle enters the section of the highway from the left side of the lane. The weighing belt and the camera are matched to acquire the weight of the automobile marked by the license plate, so that the weight of the automobile in the highway subsection can be acquired. The camera and the velometer are matched to obtain the automobile speed condition in the highway subsection. And the lane between two adjacent groups of cameras and velocimeters is called a lane section. For example, the selected highway is 200 meters in total, a group of cameras and velocimeters are deployed every 50 meters, and each lane is divided into 4 lane segments. In addition, 5 groups of cameras and 5 groups of velocimeters need to be configured.
The distributed optical fiber sensor mainly comprises: the device comprises an ultra-narrow line width laser, an acoustic optical modulator, a circulator, a photoelectric detector, a sensing optical fiber, a pre-amplification circuit, a data acquisition card, a host and the like. In practical engineering applications, an ultra-narrow linewidth laser, an acousto-optic modulator, a circulator, a photoelectric detector and other corresponding power supply, driving and detection circuits and a communication interface are generally integrated in a sensor host; the sensing optical fiber is arranged in a sensing optical cable of an external field. The laser emitted by the ultra-narrow line width laser as a light source is modulated into light pulses by the acousto-optic modulator, the light pulses are injected into the sensing optical fiber through the circulator, backward Rayleigh scattering light in the sensing optical fiber generates coherent interference within the pulse width, the interference light intensity is detected by the detector through the circulator, and the interference light intensity is amplified and enters the host machine through the data acquisition card to perform data processing and result display.
When disturbance action is applied to the sensing optical fiber, due to the elasto-optical effect, the optical phase of a disturbed position changes, so that the phase of backward scattering light at a corresponding position changes, and the interference light intensity of the scattering light in the pulse width also changes correspondingly, so that the distributed optical fiber sensor acquires corresponding data information of the distributed optical fiber.
The cameras 12 are used for acquiring license plate information and road section information of the vehicle and sending the license plate information and the road section information of the vehicle to the edge server.
Each camera in the plurality of cameras is arranged at an inlet and an outlet of each lane section of the road section and is used for shooting automobile license plate information, road section information, the time when the automobile is in the lane section and the like.
And the plurality of speed meters 13 are used for acquiring the speed information of the vehicle and sending the speed information of the vehicle to the edge server.
Each of the plurality of speedometers is arranged at an inlet and an outlet of each lane section of the road section and used for measuring the speed of the automobile.
The system combines the parameters of the lane sections to form a parameter matrix (see the specific parameter matrix and the relationship of the lane sections in figures 3 and 4)
And the weighing belt 14 is used for acquiring the weight information of the vehicle and sending the weight information of the vehicle to the edge server.
Because the weight of the automobile in the highway is not changed, a weighing belt is mainly required to be installed at the entrance of the complete highway, when the automobile reaches the entrance of the highway, the weighing belt arranged at the entrance measures the weight of the automobile, and the weighing belt does not need to be measured again in the subsequent driving process.
In the edge server 15, the license plate information and the road segment information sent by the plurality of cameras, the vehicle speed information sent by the plurality of speed meters, and the weight information sent by the weighing belt are received, and the received license plate information, road segment information, vehicle speed information, and weight information are sent to the cloud server through the ethernet.
After the road section is divided into a plurality of lane sections, a parameter matrix is formed by combining lanes (such as a passing lane, a traffic lane, an emergency lane and the like) of the highway per se, and the highway comprises a plurality of lanes according to actual conditions, as shown in fig. 3, the highway per se of the embodiment has 4 lanes, and the road section selected in the preset range of the distributed optical fiber is divided into 4 lane sections, so that a parameter matrix schematic diagram of the right-direction lane of the highway shown in fig. 4 is obtained, and specifically, the automobile driving condition of the right-direction lane of the highway is divided into 4 sections, and the 4 lanes are 16 sections. The vehicle operating parameters Pnn (such as P11) include 2 parameters-vehicle weight and vehicle speed. Calculating a left lane, wherein the lane section reaches 32 sections, and the parameter matrix has 64 parameters.
The driving conditions of the automobile comprise the weight, the speed, the lane section and the like of the automobile. The automobile can be weighed by the weighing belt before entering the highway; the speed measuring instrument can measure the speed each time the automobile drives each lane section; the camera captures the license plate and the lane section of the automobile, and then information such as the license plate, the weight of the automobile, the speed of the automobile, the lane section where the automobile is located and the like is stored in a pre-established link hash map. The method specifically comprises the following steps:
the first judgment module is used for judging whether the received license plate information of the current vehicle exists in the link hash mapping;
after the automobile enters the selected road section, the edge server judges whether the license plate information of the current automobile is stored in the link hash mapping or not, if not, the information related to the automobile corresponding to the license plate is stored; and if so, performing the next judgment. If the current vehicle enters the lane segment P41, it is first determined whether the license plate is stored in the link hash map, and if not, the vehicle-related information is stored.
The hash mapping is linked, the hash map is used for storing data, and the value corresponding to the key can be quickly found. And, the link hash map is linked by a linked list according to the order of data insertion.
The storage module is used for storing the license plate information, the lane section information, the vehicle speed information and the weight information of the current vehicle in the link hash mapping when the license plate information of the current vehicle does not exist in the link hash mapping;
and when the judgment result shows that the link hash mapping does not have the license plate information of the current vehicle, the edge server acquires the relevant information of the current vehicle from a camera, a velometer and a weighing belt arranged at the entrance of the expressway, wherein the camera, the velometer and the weighing belt are arranged beside the road. In the linked hash map, the key is the license plate number and the values include the weight of the car, the current lane segment, the timestamp of the incoming lane segment, and the speed, as shown in FIG. 5.
The second judgment module is used for judging whether the current vehicle is in the next lane section or not;
in the embodiment, whether the current vehicle enters the next lane segment is judged, and if yes, the information of the vehicle in the link hash mapping is updated; if not, the next judgment is carried out. The embodiment judges the information of the lane section where the vehicle is located, and aims to know the driving state of the vehicle in time.
The updating module is used for updating the lane section information and the vehicle speed information of the current vehicle in the link hash mapping when the current vehicle is in the next lane section;
and after the vehicle enters the next lane section, updating the timestamp and the speed of the current lane section where the vehicle is located and the lane entering section in the link hash mapping, wherein the weight information of the vehicle does not need to be updated because the weight of the vehicle is unchanged.
The third judgment module is used for judging whether the current vehicle leaves the whole road section;
in this embodiment, it is determined whether the current vehicle leaves the entire lane segment (i.e., the selected lane segment), and if so, the information of the vehicle in the link hash map is deleted; if not, whether the vehicle enters the next lane section is continuously judged.
And the deleting module is used for deleting the license plate information, the lane section information, the vehicle speed information and the weight information of the current vehicle when the current vehicle leaves the whole road section.
When the vehicle leaves the selected road section, the information (license plate, automobile weight, current lane section, time stamp and speed of entering lane section) of the vehicle in the link hash mapping is deleted, so that the data of the village number in the link hash mapping is reduced, and the data memory in the edge server is reduced.
In this embodiment, the edge side server packs the driving information of the car at regular time intervals. Because the time and the speed of the automobile entering the lane are different, the sampling period of the automobile driving information is not fixed, or because blind zones exist and the information obtained by a camera and a velocimeter is inaccurate due to the fact that each lane section is too long, the estimation needs to be carried out through a certain fitting algorithm, the automobile driving information is further calculated, and then a parameter matrix of a certain time point is obtained. The specific calculation comprises the following steps:
the first calculation module is used for calculating the acceleration of the current vehicle in the current lane section;
the velocimeter obtains the speed of the automobile entering a certain lane section
Speed of exiting a certain lane section
The camera records the time when the automobile enters a certain lane section and the time when the automobile leaves the certain lane section, then the time when the automobile is in the certain lane section is calculated as Δ T according to the entering time and the leaving time, and the vehicle speed is obtained according to the obtained value
、
And the obtained time Δ T is used for further calculating the acceleration in the lane section (wherein the acceleration only needs to be calculated once).
Wherein,
representing a speed at which the current vehicle enters the current lane segment;
representing a speed at which the current vehicle leaves the current lane segment;
representing the total stay time of the current vehicle in the current lane section;
the second calculation module is used for calculating the speed of the current vehicle at any time point according to the acceleration of the current vehicle in the current lane section;
based on calculated vehicles in a certain lane sectionThe acceleration can be calculated to obtain the speed at any time point, for example, the speed of the vehicle at a time point T can be obtained when the vehicle enters a lane segment
;
Wherein,
representing a dwell time of the current vehicle within the current lane segment;
the estimation module is used for estimating the lane change times of the current vehicle in the lane section according to the position of the current vehicle entering and exiting the current lane section and estimating the lane section at any time point according to the lane change times;
in the embodiment, the possibility of lane change of the automobile during running on the expressway is considered, a lane where the automobile enters a certain lane section is set as a lane different from a parking space where the automobile leaves the lane section, and lane change times N, namely the number of lane intervals, can be deduced by entering and exiting the lane section; for example, if the automobile is in the lane section (P11, P21, P31, P41), the lane entering the lane section is P21, and the lane leaving the lane section is P41, so that it can be estimated that the number of lane changes of the automobile from entering the lane section to leaving the lane section is 3 times in total.
Then the time of the automobile in the lane section calculated in the first calculation module is obtained
The vehicle is divided into N sections on average, and the lane section where the vehicle is located at any time point can be estimated.
An extraction module for extracting the weight of the current vehicleW;
Since the weight W of the car does not change, the weight does not need to be re-estimated and is directly taken through the side weight belt.
An input module for connectingSpeed of all vehicles at an arbitrary time pointVWeight of vehicleWAnd inputting the vehicle parameters into the parameter matrix to obtain the parameter matrix of the vehicle.
According to the calculation method, the information of all vehicles in the selected road section at any time, namely the speed V and the weight W, is obtained, and the speed V and the weight W are filled in the parameter matrix. Wherein each parameter of the parameter matrix corresponds to a lane segment. In this embodiment, if the distance between the cars exceeds 50 meters, the length of each lane segment is 50 meters, and a plurality of cars do not appear in one lane segment.
However, if the length of each lane segment is long in order to save equipment resources, a plurality of vehicles in the same lane segment can be obtained, and the weight and the speed of the vehicle in the lane segment can be calculated according to the following formula.
In the cloud server 16, the data information sent by the distributed optical fiber sensor and the license plate information, the road section information, the vehicle speed information and the weight information sent by the edge server are received and processed, so that the interference condition of the vehicle on the distributed optical fiber is obtained.
The cloud server is further used for establishing a deep learning model based on the deep learning network, and obtaining the interference condition of the vehicle to the distributed optical fibers according to the established deep learning model.
In the embodiment, the lane section is taken as a unit, the parameter matrix (including the weight and the speed of the automobile) is transmitted to the cloud server, then a deep learning model is established based on the parameter matrix and the data information of the distributed optical fiber and on the basis of deep learning network training, and the relationship between the driving condition of the automobile on the highway and the interference condition of the distributed optical fiber is estimated. The method specifically comprises the following steps:
the deep learning model needs to estimate the variance, covariance, amplitude and frequency range of some points of the distributed optical fiber in a period of time, and inputs the variance, covariance, amplitude and frequency range as a parameter matrix time sequence of the expressway. The method comprises the following specific steps:
firstly, calculating and selecting data to obtain time sequence data statistic of a certain point of the distributed optical fiber and a corresponding parameter matrix time sequence,
(1) calculating time series data statistics of a certain point of the distributed optical fiber in time [ T1, T2] (the time window size is T2-T1), for example, selecting a point 200 meters away from a laser emission point, and calculating variance, covariance, amplitude, frequency range and the like;
(2) selecting a parameter matrix time sequence within time [ T0, T2] (T0 is earlier than T1, a time window is slightly larger than T2-T1) as the input of a deep learning model, wherein the time intervals of adjacent parameter matrices in the parameter matrix time sequence are the same, and the specific parameter matrix is obtained by a calculation mode in an edge server;
then, model training is performed using the parameter matrix time-series data.
And taking the time sequence data of the parameter matrix as input, taking the distributed optical fiber statistics such as variance, covariance, amplitude, frequency range and the like as output, and training a deep learning model. The deep learning model firstly carries out convolution calculation on the parameter matrix time sequence for multiple times, and then carries out Conv-LSTM calculation on the convolution result of each time to obtain a plurality of parameter matrices with different dimensions. And splicing a plurality of parameter matrixes with different dimensions into one parameter matrix, and outputting the parameter matrix through a neural network. The loss function is combined with the variance, covariance, amplitude, frequency range and the like to obtain an actual measurement result and a mean square error output by the model. And further, the parameters of the deep learning model are obtained through the back propagation algorithm optimization. The concrete model is shown in figure 6.
It should be noted that, the scheme of how to train the deep learning network model is similar to the training mode in the prior art, and this embodiment is not described herein again.
(3) Interference estimation
The method comprises the steps of obtaining a parameter matrix of a certain time interval in real time according to a calculation mode in an edge server, selecting the parameter matrix corresponding to the size of a time window every time, inputting the parameter matrix into an interference estimation deep learning model of a certain point of the distributed optical fiber to be estimated, outputting time sequence data statistics of the point of the distributed optical fiber to be estimated by the model, wherein the statistics comprises variance, covariance, amplitude and frequency range, and finally estimating the interference condition of a highway automobile on the distributed optical fiber to provide a basis for later interference elimination.
Fig. 6 shows an example of a deep learning model for interference estimation, where the convolution and the number of Conv-LSTM layers can be adjusted according to the situation. The deep learning model is input as a parameter model time sequence, and a parameter matrix of 4 continuous time points is input in the graph. The dimension of the parameter matrix is 4 × 8 × 2, 4 represents the number of lane segments of a single lane, 8 represents the number of lanes in a bidirectional lane, and 2 represents two parameters, namely the weight and the speed of the vehicle. The deep learning model firstly carries out convolution calculation on the parameter matrix time sequence for multiple times, and then carries out Conv-LSTM calculation on the convolution result of each time to obtain a plurality of parameter matrices with different dimensions. And splicing a plurality of parameter matrixes with different dimensions into one parameter matrix, and outputting the parameter matrix through a neural network module NN. The loss function is combined with the variance, covariance, amplitude, frequency range and the like to obtain an actual measurement result and a mean square error output by the model. And further, the parameters of the deep learning model are obtained through the back propagation algorithm optimization.
The highway interference estimation system for the distributed optical fiber can estimate the interference condition of a highway automobile on the distributed optical fiber in real time, and further provides a basis for eliminating interference in the later period.
Example two
The embodiment provides a highway interference estimation method for a distributed optical fiber, which comprises the following steps:
s11, a distributed optical fiber sensor acquires data information of a distributed optical fiber and sends the acquired data information to a cloud server through an Ethernet;
s12, acquiring license plate information and road section information of a vehicle by a plurality of cameras, and sending the license plate information and the road section information of the vehicle to an edge server;
s13, obtaining the speed information of the vehicle by a plurality of speed meters, and sending the speed information of the vehicle to an edge server;
s14, the weighing belt acquires weight information of the vehicle and sends the weight information of the vehicle to an edge server;
s15, the edge server receives license plate information and road section information sent by a plurality of cameras, vehicle speed information sent by a plurality of speed meters and weight information sent by the weighing belt, and sends the received license plate information, road section information, vehicle speed information and weight information to the cloud server through the Ethernet;
and S16, the cloud server receives and processes data information sent by the distributed optical fiber sensor and license plate information, road section information, vehicle speed information and weight information sent by the edge server to obtain the interference condition of the vehicle on the distributed optical fiber.
Furthermore, the road section information is a road section within a preset range of the distributed optical fiber, the road section is averagely divided into a plurality of lane sections, and a camera and a velocimeter are arranged on one side of each lane section.
Further, the step S15 includes:
A1. judging whether the received license plate information of the current vehicle exists in the link hash mapping, if so, executing the step A3; if not, executing the step A2;
A2. storing license plate information, lane section information, vehicle speed information and weight information of the current vehicle in a linked hash map;
A3. judging whether the current vehicle is in the next lane section, if so, executing the step A4; if not, executing the step A5;
A4. updating lane section information and vehicle speed information of the current vehicle in the link hash mapping;
A5. judging whether the current vehicle leaves the whole road section, if so, executing the step A6; if not, executing the step A3;
A6. and deleting the license plate information, the lane section information, the vehicle speed information and the weight information of the current vehicle.
Further, the step S15 further includes fitting lane segment information of the vehicle, specifically:
B1. calculating the acceleration of the current vehicle in the current lane section;
wherein,
representing a speed at which the current vehicle enters the current lane segment;
representing a speed at which the current vehicle leaves the current lane segment;
representing the total stay time of the current vehicle in the current lane section;
B2. calculating the speed of the current vehicle at any time point according to the acceleration of the current vehicle in the current lane section;
wherein,
representing a dwell time of the current vehicle within the current lane segment;
B3. the lane change times of the current vehicle in the lane section are estimated according to the position of the current vehicle entering and exiting the current lane section, and the lane section where any time point is located is estimated according to the lane change times;
B4. extracting the weight of the current vehicleW;
B5. The speed of all vehicles at any time pointVWeight of vehicleWAnd inputting the vehicle parameters into the parameter matrix to obtain the parameter matrix of the vehicle.
Further, the step S16 further includes establishing a deep learning model based on a deep learning network, and obtaining an interference situation caused by the vehicle to the distributed optical fiber according to the established deep learning model.
It should be noted that, the method for estimating the highway interference for the distributed optical fiber provided in this embodiment is similar to the embodiment, and is not repeated herein.
Compared with the prior art, the method and the device can estimate the interference condition of the highway automobile to the distributed optical fiber in real time, and further provide a basis for eliminating the interference in the later period. For example, distributed optical fibers are deployed in gas pipelines for monitoring whether the gas pipelines may be damaged by the outside, such as excavators, pile drivers, and the like. If the current automobile driving condition of the highway is not enough to cause the current distributed optical fiber data condition, the excavator, the pile driver and the like are likely to enter the optical fiber deployment area, and an alarm is needed.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.