Non-inductive positioning inspection method and system
By acquiring and analyzing sensor data from distributed workshops, creating virtual zones and using neural network models to determine inspection levels, the problem of low flexibility in existing inspection solutions is solved, dynamic inspections and resource optimization are realized, and inspection efficiency is improved. Inspection efficiency.
Patent Information
- Application Number
- CN202410614209.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing inspection solutions have low flexibility, resulting in high work pressure for inspection personnel and difficulty in adapting to the dynamic changes in distributed workshops.
By obtaining the floor plans containing coordinates of distributed workshops, establishing wireless connection channels, obtaining sensor data, creating virtual areas, determining workshop data characteristics, and using neural network models to determine inspection levels in real time to control resource investment.
A dynamic inspection plan has been implemented, which improves the flexibility of the inspection process, reduces the work pressure of inspection personnel, and adapts to changes within the workshop.
Smart Images

Figure CN118629102A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of patrol inspection management, and in particular to a non-sensing positioning patrol inspection method and system. Background Art
[0002] Most of the existing storage workshops are distributed workshops, such as multiple express transfer stations, and there is a spatial distance between these workshops. In the process of completing the storage task, in addition to the management of the internal personnel of the workshop, the unified superiors of these workshops will inspect the workshops. Although the data monitoring process of the existing intelligent workshops is completed by computer equipment, the inspection process is still indispensable.
[0003] However, the existing inspection schemes are mostly static inspection processes, in which inspection personnel conduct scheduled inspections according to a pre-set plan. Under the premise that the inspection personnel have obtained the conditions of each workshop in advance through sensors, the flexibility of this scheduled inspection scheme is very low and the inspection personnel are under great work pressure. How to improve the flexibility of the inspection process is a technical problem that the technical solution of the present invention aims to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a non-contact positioning inspection method and system to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A non-sensing positioning inspection method, the method comprising:
[0007] Obtaining a floor plan containing coordinates of a distributed workshop, and creating a floor plan according to the floor plan containing coordinates;
[0008] Establishing a wireless connection channel with sensors installed in the distributed workshop, acquiring workshop data collected by the sensors based on the wireless connection channel, and establishing a virtual area corresponding to the distributed workshop in the plan view;
[0009] Determine the workshop data characteristics based on the virtual area, and query the inspection level at the corresponding time; the workshop data characteristics are two-dimensional data;
[0010] Label the inspection level, establish a sample set of workshop data features - inspection level, and train the neural network model;
[0011] The inspection level at the current moment is determined in real time based on the trained neural network model; the inspection level is used to control the resource input amount of the inspection process.
[0012] As a further solution of the present invention: the step of obtaining a floor plan containing coordinates of a distributed workshop and creating a floor plan according to the floor plan containing coordinates includes:
[0013] Calculate the distance between each distributed workshop in turn, and determine the scale based on the maximum distance;
[0014] Establish an initial plan view according to the scale, mark pixel points corresponding to the floor plan in the initial plan view based on the coordinates, and obtain pixel areas corresponding to the workshops one by one;
[0015] Determine the geometric center of the pixel area corresponding to each workshop as the workshop center;
[0016] Taking the workshop center as the reference, construct the characteristic line segments, insert the initial plan view containing the marks, and obtain the plan view.
[0017] As a further solution of the present invention: the step of constructing characteristic line segments based on the workshop center and inserting the initial plan view containing the mark to obtain the plan view comprises:
[0018] A workshop center is randomly selected as a center point, vectors with all workshop centers are calculated based on the center point, and a resultant vector is calculated synchronously;
[0019] Update the center point according to the resultant vector and record the number of times each workshop center is used as the center point. When the number meets the preset number condition, select the center point as the final center point;
[0020] Query the vectors of the final center point and the midpoints of other workshops, and select the vector with the longest modulus as the target vector;
[0021] Get the direction of the target vector;
[0022] Determine a line to be determined based on the final center point and the direction of the target vector;
[0023] According to the preset distance rule, the starting point and the end point are selected on the pending line to obtain the characteristic line segment, and the initial plane diagram containing the mark is inserted to obtain the plane diagram.
[0024] As a further solution of the present invention: the step of establishing a wireless connection channel with sensors installed in distributed workshops, acquiring workshop data collected by sensors based on the wireless connection channel, and establishing virtual areas corresponding to distributed workshops in the plan view comprises:
[0025] Establishing a wireless connection channel with sensors installed in a distributed workshop, and acquiring workshop data collected by the sensors based on the wireless connection channel;
[0026] Determine the filling thread according to the type of workshop data; the type of workshop data is determined by the type of sensor;
[0027] Calculating the difference ratio between the sensing data and the preset reference data, and selecting a filling color value according to the difference ratio; the filling color value is one-dimensional data;
[0028] According to the preset filling order, the filling color value is filled into the pixel area based on the filling thread to obtain a virtual area corresponding to the distributed workshops one by one.
[0029] As a further solution of the present invention: the step of determining the workshop data characteristics based on the virtual area includes:
[0030] Read the characteristic line segment and obtain the starting point and end point of the characteristic line segment;
[0031] Select virtual areas in sequence according to the direction from the starting point to the end point;
[0032] Traversing the pixel points in the virtual area in descending order of the fill color value, determining the number of pixels of each fill color value, and obtaining a pixel distribution array; the number of elements of the pixel distribution array is 256;
[0033] The characteristic line segment is fitted based on the pixel distribution array to obtain a fitting line as a workshop data feature.
[0034] As a further solution of the present invention: the step of fitting the characteristic line segment based on the pixel distribution array to obtain a fitting line as a workshop data feature includes:
[0035] Connecting pixel points in the virtual area to obtain at least one virtual area line segment parallel to the characteristic line segment;
[0036] Select the virtual area segment with the largest distance as the upper boundary segment;
[0037] Get the projection of the upper boundary segment on the characteristic segment to obtain the lower boundary segment;
[0038] The lower boundary segment is divided into 256 sub-segments, and the offset vector of each sub-segment in the lower boundary segment pointing to the upper boundary segment is determined based on the pixel distribution array; the direction of the offset vector is perpendicular to the direction of the upper boundary segment;
[0039] Each sub-segment is corrected based on the offset vector, and the corrected sub-segment is fitted to obtain a fitting line as the workshop data feature.
[0040] As a further solution of the present invention: the calculation formula of the offset distance is:
[0041]
[0042] Where D(i) is the offset distance of the i-th point, S(i) is the value of the i-th element in the pixel distribution array, and N is the total number of elements in the pixel distribution array; Ax0+By0+C is the straight line equation of the feature segment, and (x0, y0) is the midpoint coordinate of the upper boundary segment.
[0043] As a further solution of the present invention: the step of determining the inspection level at the current moment in real time based on the trained neural network model includes:
[0044] Receive workshop data from each workshop in real time and obtain the workshop data characteristics at the current moment;
[0045] The workshop data features are input into the trained neural network model to obtain the inspection level at the current moment.
[0046] The technical solution of the present invention also provides a non-sensing positioning inspection system, the system comprising:
[0047] A floor plan creation module, used to obtain a floor plan containing coordinates of a distributed workshop, and create a floor plan according to the floor plan containing coordinates;
[0048] A virtual zone creation module, used to establish a wireless connection channel with sensors installed in the distributed workshop, obtain workshop data collected by the sensors based on the wireless connection channel, and establish a virtual zone corresponding to the distributed workshop in the plan view;
[0049] A feature extraction module, used to determine the workshop data feature based on the virtual area and query the inspection level at the corresponding time; the workshop data feature is two-dimensional data;
[0050] Model training module, used to label inspection levels, establish sample sets of workshop data features - inspection levels, and train neural network models;
[0051] The model application module is used to determine the inspection level at the current moment in real time based on the trained neural network model; the inspection level is used to control the resource input amount of the inspection process.
[0052] As a further solution of the present invention: the plane map creation module includes:
[0053] A scale determination unit, used to sequentially calculate the distance between each distributed workshop and determine the scale according to the maximum distance;
[0054] A pixel marking unit, used to establish an initial plan view according to the scale, mark the pixel points corresponding to the floor plan in the initial plan view based on the coordinates, and obtain pixel areas corresponding to the workshops one by one;
[0055] A center determination unit, used to determine the geometric center of the pixel area corresponding to each workshop as the workshop center;
[0056] The line segment insertion unit is used to construct feature line segments based on the workshop center, insert the initial plan view containing marks, and obtain the plan view.
[0057] Compared with the prior art, the beneficial effects of the present invention are: the present invention obtains sensor data of each workshop through sensor equipment, inserts the sensor data into a map determined by the workshop, and determines a virtual area; analyzes the virtual area to determine a baseline, and corrects and fits the baseline to obtain a fitting curve; uses the fitting curve as a feature and the inspection level pre-set by the staff as a label to train a neural network model, and when new data is detected, the inspection level is determined in real time through the trained neural network model, providing a dynamic inspection plan and greatly improving flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0059] Figure 1 This is a flowchart of the non-sensing positioning inspection method.
[0060] Figure 2 This is the first sub-process flowchart of the non-contact positioning inspection method.
[0061] Figure 3 This is the second sub-process flowchart of the non-contact positioning inspection method.
[0062] Figure 4 This is the third sub-process flowchart of the non-contact positioning inspection method.
[0063] Figure 5 This is the fourth sub-process flowchart of the non-contact positioning inspection method.
[0064] Figure 6 This is the structural block diagram of the sensorless positioning inspection system. DETAILED DESCRIPTION
[0065] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0066] Figure 1 The flowchart of the non-sensing positioning inspection method is as follows. In an embodiment of the present invention, a non-sensing positioning inspection method is provided, and the method includes:
[0067] Step S100: obtaining a floor plan containing coordinates of a distributed workshop, and creating a floor plan according to the floor plan containing coordinates;
[0068] When each workshop is established, the management will use a special database to store its construction data. The construction data at least includes boundary information, and a map reflecting the location of the workshop can be established based on the boundary information, which is called a floor plan.
[0069] Step S200: establishing a wireless connection channel with sensors installed in a distributed workshop, acquiring workshop data collected by the sensors based on the wireless connection channel, and establishing a virtual area corresponding to each distributed workshop in the plan view;
[0070] Existing digital workshops are equipped with a large number of wireless acquisition devices for collecting workshop data in digital workshops. The workshop data is a high-level concept and is also related to the type of workshop. For example, for a storage type workshop, the wireless acquisition device can be a pressure sensor installed in the workshop, or a visual sensor installed in the workshop, which is used to obtain the amount of goods in the workshop. After the workshop data is collected by these wireless acquisition devices, the collected workshop data is uploaded to the main end through wireless transmission. After receiving the workshop data, the main end inserts it into the plan according to the preset mapping rules to obtain a virtual area corresponding to each workshop.
[0071] The scenario targeted by the technical solution of the present invention is generally a workshop cluster. The workshop data in multiple workshops are synchronously acquired and inserted into the same floor plan at the same time. The area corresponding to the workshop in the floor plan is the virtual area in the above content.
[0072] Step S300: determining the workshop data feature based on the virtual area, and querying the inspection level at the corresponding time; the workshop data feature is two-dimensional data;
[0073] After the above steps, the workshop conditions of each workshop can be reflected by the floor plan (including virtual areas) at each time. The image features extracted from the floor plan can be used as the features of the workshop, called workshop data features. At the same time, the inspection level entered by the staff at the current moment is queried as a label to construct a feature-label sample.
[0074] Among them, since the workshop data features are extracted from the plan view, it is two-dimensional data.
[0075] Step S400: label the inspection level, establish a sample set of workshop data features-inspection level, and train the neural network model;
[0076] Obtain the workshop data features at multiple times, obtain the inspection level, establish samples of workshop data features-inspection level, count multiple samples, and obtain the sample set; divide the sample set into training set, test set and validation set in the ratio of 8:1:1, and train the neural network model.
[0077] It should be noted that, based on the fact that the process of establishing the workshop data features has been determined, the process of training the neural network model by the sample of workshop data features - inspection level is a shallow learning process (the important feature extraction process has been completed). The shallow learning process can adopt the existing technology, and the present invention will not go into details.
[0078] Step S500: Determine the inspection level at the current moment in real time based on the trained neural network model; the inspection level is used to control the resource input amount of the inspection process;
[0079] After the neural network model is trained, a floor plan containing virtual areas is constructed in real time based on the workshop data, and the workshop data features in the floor plan are extracted and input into the trained neural network model to obtain an inspection level.
[0080] In the technical solution of the present invention, the inspection level is regarded as the final output. The inspection level is used to control the entire inspection process. The higher the inspection level, the more resources will be invested in the inspection process, and the inspection frequency and the amount of data obtained during a single inspection will be greater. For example, an inspection once an hour is changed to an inspection once every half an hour, and a single inspection stay of one minute is changed to a stay of two minutes. In addition, the relationship between the inspection level and the amount of resource investment is pre-set by the management personnel.
[0081] Figure 2 This is a first sub-flow diagram of the non-sensing positioning inspection method. The steps of obtaining a floor plan containing coordinates of a distributed workshop and creating a floor plan according to the floor plan containing coordinates include:
[0082] Step S101: Calculate the distance between each distributed workshop in turn, and determine the scale according to the maximum distance;
[0083] Step S102: establishing an initial plan view according to the scale, marking pixel points corresponding to the floor plan in the initial plan view based on the coordinates, and obtaining pixel areas corresponding to the workshops one by one;
[0084] Step S103: determining the geometric center of the pixel area corresponding to each workshop as the workshop center;
[0085] Step S104: Taking the workshop center as a reference, construct feature line segments, insert the initial plan view containing the mark, and obtain the plan view.
[0086] The distance between each workshop is obtained, and the staff sets the scale based on the maximum distance so that it can meet the preset map size; a reference map is first constructed with the scale, called the initial plan; the coordinates of each workshop are queried, and the corresponding pixel points are marked in the initial plan to obtain the pixel area corresponding to the workshop.
[0087] Calculate the geometric center of the pixel area. One calculation method is: obtain the circumscribed rectangle of the pixel area, take the center of the circumscribed rectangle as the geometric center, and insert a line segment in the initial plan view based on the center of the workshop to obtain the plan view.
[0088] The key point of the process of marking pixels in the initial plan view is to establish a corresponding relationship between each pixel and each workshop, and mark the areas corresponding to the workshops in the map.
[0089] In an example of the technical solution of the present invention, the step of constructing characteristic line segments based on the workshop center and inserting the initial plan view containing the mark to obtain the plan view includes:
[0090] A workshop center is randomly selected as a center point, vectors with all workshop centers are calculated based on the center point, and a resultant vector is calculated synchronously;
[0091] Update the center point according to the resultant vector and record the number of times each workshop center is used as the center point. When the number meets the preset number condition, select the center point as the final center point;
[0092] Query the vectors of the final center point and the midpoints of other workshops, and select the vector with the longest modulus as the target vector;
[0093] Get the direction of the target vector;
[0094] Determine a line to be determined based on the final center point and the direction of the target vector;
[0095] According to the preset distance rule, the starting point and the end point are selected on the pending line to obtain the characteristic line segment, and the initial plane diagram containing the mark is inserted to obtain the plane diagram.
[0096] The process of inserting a line segment in a plan view is very simple. The simplest way is to use the least squares fitting method based on the center of the workshop to obtain a straight line based on the center of the workshop. Since it is finite (within the scope of the plan view), it is called a line segment.
[0097] In addition, the above content provides a new solution, first select a workshop center from multiple workshop centers as the center of all workshop centers, and then use it as the origin to connect other workshop centers, so as to obtain multiple vectors, and calculate the resultant vector of multiple vectors. The resultant vector must point to the real center. Therefore, the center is updated based on the resultant vector, and the execution is repeated to obtain a more suitable center. In fact, the process of determining the workshop center in step S103 can also adopt this solution.
[0098] After determining the center, connect the selected center with the centers of all workshops, select the vector with the longest modulus, and then extend it in the reverse direction by half to obtain a line segment passing through the centers of all workshops.
[0099] Figure 3 The second sub-process flowchart of the non-sensing positioning inspection method is as follows: the steps of establishing a wireless connection channel with sensors installed in distributed workshops, acquiring workshop data collected by sensors based on the wireless connection channel, and establishing a virtual area corresponding to distributed workshops in the plan view include:
[0100] Step S201: establishing a wireless connection channel with sensors installed in a distributed workshop, and acquiring workshop data collected by the sensors based on the wireless connection channel;
[0101] Step S202: determining a filling thread according to the type of workshop data; the type of workshop data is determined by the type of sensor;
[0102] Step S203: Calculate the difference ratio between the sensing data and the preset reference data, and select a filling color value according to the difference ratio; the filling color value is one-dimensional data;
[0103] Step S204: filling the pixel area with the filling color value based on the filling thread according to the preset filling order, and obtaining a virtual area corresponding to each distributed workshop one by one.
[0104] Steps S201 to S204 limit the data filling process, the principle of which is to convert the sampled data into color values of each area in the map. Specifically, after obtaining the workshop data, the workshop data is compared with the reference data to determine the degree of difference. The degree of difference is expressed in percentage, and different degrees of difference correspond to different color values. The color value can be inserted into the corresponding virtual area.
[0105] Figure 4 The third sub-flow chart of the non-sensing positioning inspection method is as follows: the step of determining the workshop data characteristics based on the virtual area includes:
[0106] Step S301: Read the characteristic line segment and obtain the starting point and the end point of the characteristic line segment;
[0107] Step S302: Select virtual areas in sequence according to the direction from the starting point to the end point;
[0108] Step S303: traverse the pixel points in the virtual area according to the descending order of the filling color value, determine the number of pixels of each filling color value, and obtain a pixel distribution array; the number of elements in the pixel distribution array is 256;
[0109] Step S304: fitting the characteristic line segment based on the pixel distribution array to obtain a fitting line as a workshop data feature.
[0110] The above content limits the process of extracting workshop data features, specifically:
[0111] Read the determined line segments in the plan view, analyze each pixel point in each virtual area in turn along the direction of the line segment, and then adjust the line segment to fit a curve, called the fitting line, which is used as the workshop data feature.
[0112] Taking a virtual area as an example, by obtaining the number of pixels with different filling color values, the color value distribution of all pixels can be obtained. The filling color value is determined by the difference ratio. Therefore, the color value distribution can reflect the difference between all data in a workshop corresponding to a virtual area and its corresponding reference data. By adjusting the baseline according to the color value distribution, the difference can be reflected on the curve.
[0113] Furthermore, for easier understanding, a more intuitive explanation is as follows:
[0114] In a plane map containing a virtual area, a line segment is set, and the baseline is adjusted according to the color value in the virtual area, and the baseline is adjusted to a curve, and the curve is the workshop data feature of all workshops.
[0115] Specifically, the step of fitting the characteristic line segment based on the pixel distribution array to obtain a fitting line as a workshop data feature includes:
[0116] Connecting pixel points in the virtual area to obtain at least one virtual area line segment parallel to the characteristic line segment;
[0117] Select the virtual area segment with the largest distance as the upper boundary segment;
[0118] Get the projection of the upper boundary segment on the characteristic segment to obtain the lower boundary segment;
[0119] The lower boundary segment is divided into 256 sub-segments, and the offset vector of each sub-segment in the lower boundary segment pointing to the upper boundary segment is determined based on the pixel distribution array; the direction of the offset vector is perpendicular to the direction of the upper boundary segment;
[0120] Each sub-segment is corrected based on the offset vector, and the corrected sub-segment is fitted to obtain a fitting line as the workshop data feature.
[0121] In an example of the technical solution of the present invention, a specific curve adjustment process is provided. Taking a certain virtual area as an example, the virtual area is divided into multiple pixel point lines parallel to the feature line segment, and the longest pixel point line is selected as the upper bound. The projection of the upper bound on the feature line segment is calculated to obtain the lower bound. Since the pixel point line and the feature line segment are parallel, the lengths of the upper bound and the lower bound are the same, and the lower bound is divided into 256 sub-segments. The pixel distribution array is read, and the sub-segment corresponding to each element in the pixel distribution array (256 values) is queried. The offset distance of the sub-segment to the upper bound (virtual area) is determined according to the element value, and a new sub-segment can be obtained.
[0122] After traversing all virtual areas, all new sub-segments are fitted to obtain the curve as the workshop data feature.
[0123] The calculation formula of the offset distance is:
[0124]
[0125] Where D(i) is the offset distance of the i-th point, S(i) is the value of the i-th element in the pixel distribution array, and N is the total number of elements in the pixel distribution array; Ax0+By0+C is the straight line equation of the feature segment, and (x0, y0) is the midpoint coordinate of the upper boundary segment.
[0126] Regarding (x0, y0) in the calculation formula above, if the upper boundary line segment is determined by using a line segment passing through the center of the workshop and parallel to the characteristic line segment, then (x0, y0) is the coordinate of the center of the workshop.
[0127] Figure 5 This is a fourth sub-flow chart of the non-sensing positioning inspection method, wherein the step of determining the inspection level at the current moment in real time based on the trained neural network model includes:
[0128] Step S501: receiving workshop data of each workshop in real time and obtaining workshop data characteristics at the current moment;
[0129] Step S502: Input the workshop data features into the trained neural network model to obtain the inspection level at the current moment.
[0130] Step S501 and step S502 are simple model application processes, which receive the workshop data of each workshop in real time, convert them into workshop data features, and input them into the trained neural network model. The output of the neural network model is the inspection level.
[0131] Figure 61 is a structural block diagram of a non-sensing positioning inspection system. In an example of the technical solution of the present invention, a non-sensing positioning inspection system is also provided. The system 10 includes:
[0132] A floor plan creation module 11 is used to obtain a floor plan containing coordinates of a distributed workshop, and create a floor plan according to the floor plan containing coordinates;
[0133] A virtual zone creation module 12 is used to establish a wireless connection channel with sensors installed in the distributed workshop, obtain workshop data collected by the sensors based on the wireless connection channel, and establish a virtual zone corresponding to the distributed workshop in the plan view;
[0134] A feature extraction module 13 is used to determine the workshop data feature based on the virtual area and query the inspection level at the corresponding time; the workshop data feature is two-dimensional data;
[0135] The model training module 14 is used to label the inspection level, establish a sample set of workshop data features-inspection level, and train the neural network model;
[0136] The model application module 15 is used to determine the inspection level at the current moment in real time based on the trained neural network model; the inspection level is used to control the resource input amount of the inspection process.
[0137] Furthermore, the plan creation module 11 includes:
[0138] A scale determination unit, used to sequentially calculate the distance between each distributed workshop and determine the scale according to the maximum distance;
[0139] A pixel marking unit, used to establish an initial plan view according to the scale, mark the pixel points corresponding to the floor plan in the initial plan view based on the coordinates, and obtain pixel areas corresponding to the workshops one by one;
[0140] A center determination unit, used to determine the geometric center of the pixel area corresponding to each workshop as the workshop center;
[0141] The line segment insertion unit is used to construct feature line segments based on the workshop center, insert the initial plan view containing marks, and obtain the plan view.
[0142] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A non-sensing positioning inspection method, characterized in that: The method comprises: Obtaining a floor plan containing coordinates of a distributed workshop, and creating a floor plan according to the floor plan containing coordinates; Establishing a wireless connection channel with sensors installed in the distributed workshop, acquiring workshop data collected by the sensors based on the wireless connection channel, and establishing a virtual area corresponding to the distributed workshop in the plan view; Determine the workshop data characteristics based on the virtual area, and query the inspection level at the corresponding time; the workshop data characteristics are two-dimensional data; Label the inspection level, establish a sample set of workshop data features - inspection level, and train the neural network model; The inspection level at the current moment is determined in real time based on the trained neural network model; the inspection level is used to control the resource input amount of the inspection process.
2. The non-sensing positioning inspection method according to claim 1 is characterized in that: The step of obtaining a floor plan containing coordinates of a distributed workshop and creating a floor plan according to the floor plan containing coordinates comprises: Calculate the distance between each distributed workshop in turn, and determine the scale based on the maximum distance; Establish an initial plan view according to the scale, mark pixel points corresponding to the floor plan in the initial plan view based on the coordinates, and obtain pixel areas corresponding to the workshops one by one; Determine the geometric center of the pixel area corresponding to each workshop as the workshop center; Taking the workshop center as the reference, construct the characteristic line segments, insert the initial plan view containing the marks, and obtain the plan view.
3. The non-sensing positioning inspection method according to claim 2 is characterized in that: The steps of constructing characteristic line segments based on the workshop center and inserting the initial plan view containing the mark to obtain the plan view include: A workshop center is randomly selected as a center point, vectors with all workshop centers are calculated based on the center point, and a resultant vector is calculated synchronously; Update the center point according to the resultant vector and record the number of times each workshop center is used as the center point. When the number meets the preset number condition, select the center point as the final center point; Query the vectors of the final center point and the midpoints of other workshops, and select the vector with the longest modulus as the target vector; Get the direction of the target vector; Determine a line to be determined based on the final center point and the direction of the target vector; According to the preset distance rule, the starting point and the end point are selected on the pending line to obtain the characteristic line segment, and the initial plane diagram containing the mark is inserted to obtain the plane diagram.
4. The non-sensing positioning inspection method according to claim 1 is characterized in that: The step of establishing a wireless connection channel with sensors installed in distributed workshops, acquiring workshop data collected by sensors based on the wireless connection channel, and establishing virtual areas corresponding to distributed workshops in the plan view comprises: Establishing a wireless connection channel with sensors installed in a distributed workshop, and acquiring workshop data collected by the sensors based on the wireless connection channel; Determine the filling thread according to the type of workshop data; the type of workshop data is determined by the type of sensor; Calculating the difference ratio between the sensing data and the preset reference data, and selecting a filling color value according to the difference ratio; the filling color value is one-dimensional data; According to the preset filling order, the filling color value is filled into the pixel area based on the filling thread to obtain a virtual area corresponding to the distributed workshops one by one.
5. The non-sensing positioning inspection method according to claim 4 is characterized in that: The step of determining the workshop data characteristics based on the virtual area comprises: Read the characteristic line segment and obtain the starting point and end point of the characteristic line segment; Select virtual areas in sequence according to the direction from the starting point to the end point; Traversing the pixel points in the virtual area in descending order of the fill color value, determining the number of pixels of each fill color value, and obtaining a pixel distribution array; the number of elements of the pixel distribution array is 256; The characteristic line segment is fitted based on the pixel distribution array to obtain a fitting line as a workshop data feature.
6. The non-sensing positioning inspection method according to claim 5 is characterized in that: The step of fitting the characteristic line segment based on the pixel distribution array to obtain a fitting line as a workshop data feature comprises: Connecting pixel points in the virtual area to obtain at least one virtual area line segment parallel to the characteristic line segment; Select the virtual area segment with the largest distance as the upper boundary segment; Get the projection of the upper boundary segment on the characteristic segment to obtain the lower boundary segment; The lower boundary segment is divided into 256 sub-segments, and the offset vector of each sub-segment in the lower boundary segment pointing to the upper boundary segment is determined based on the pixel distribution array; the direction of the offset vector is perpendicular to the direction of the upper boundary segment; Each sub-segment is corrected based on the offset vector, and the corrected sub-segment is fitted to obtain a fitting line as the workshop data feature.
7. The non-sensing positioning inspection method according to claim 5, characterized in that: The calculation formula for the offset distance is: Where D(i) is the offset distance of the i-th point, S(i) is the value of the i-th element in the pixel distribution array, and N is the total number of elements in the pixel distribution array; Ax0+By0+C is the straight line equation of the feature segment, and (x0, y0) is the midpoint coordinate of the upper boundary segment.
8. The non-sensing positioning inspection method according to claim 5, characterized in that: The step of determining the inspection level at the current moment in real time based on the trained neural network model includes: Receive workshop data from each workshop in real time and obtain the workshop data characteristics at the current moment; The workshop data features are input into the trained neural network model to obtain the inspection level at the current moment.
9. A non-sensing positioning inspection system, characterized in that: The system comprises: A floor plan creation module, used to obtain a floor plan containing coordinates of a distributed workshop, and create a floor plan according to the floor plan containing coordinates; A virtual zone creation module, used to establish a wireless connection channel with sensors installed in the distributed workshop, obtain workshop data collected by the sensors based on the wireless connection channel, and establish a virtual zone corresponding to the distributed workshop in the plan view; A feature extraction module, used to determine the workshop data feature based on the virtual area and query the inspection level at the corresponding time; the workshop data feature is two-dimensional data; Model training module, used to label inspection levels, establish a sample set of workshop data features - inspection levels, and train the neural network model; The model application module is used to determine the inspection level at the current moment in real time based on the trained neural network model; the inspection level is used to control the resource input amount of the inspection process.
10. The non-contact positioning inspection system according to claim 9, characterized in that: The floor plan creation module includes: A scale determination unit, used to sequentially calculate the distance between each distributed workshop and determine the scale according to the maximum distance; A pixel marking unit, used to establish an initial plan view according to the scale, mark the pixel points corresponding to the floor plan in the initial plan view based on the coordinates, and obtain pixel areas corresponding to the workshops one by one; A center determination unit, used to determine the geometric center of the pixel area corresponding to each workshop as the workshop center; The line segment insertion unit is used to construct feature line segments based on the workshop center, insert the initial plan view containing marks, and obtain the plan view.
Citation Information
Patent Citations
Distribution device inspection plan generation method and device based on distribution network big data
CN107730088A
Intelligent mobile inspection system and method based on historical data dynamic optimization
CN113985879A
Operation and maintenance monitoring method and system for photovoltaic power station
CN115861855A
Intelligent gas pipe network inspection method, Internet of Things system and medium
CN116011740A
Unmanned aerial vehicle inspection scheme making method and system based on artificial intelligence
CN117452958A
