Information processing method and system suitable for geological parks
Through the route guidance request and data point adjustment on the management side, alternative routes are generated, which solves the problem of low efficiency in data collection of geopark river channels, realizes the automatic planning of flight routes for drones, and improves the efficiency and accuracy of data collection.
Patent Information
- Application Number
- CN202410732499.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-07
AI Technical Summary
In the existing technology, the geopark river data collection efficiency is low, and it is impossible to automatically plan the flight route of the drone, resulting in low efficiency in manually controlling the drone to collect data.
Through the route guidance request from the management end, the guidance layer is called and superimposed on the target river map, the guidance points are received and adjusted, first-class and second-class data points are generated, alternative routes are generated according to the collection requirements and span, and the first guidance route is updated to achieve Automatic data collection by drone.
It improves the efficiency and accuracy of drone data collection, ensures the integrity and accuracy of data collection, and reduces incomplete collection.
Smart Images

Figure CN118310488B
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to an information processing method and system suitable for a geological park. Background Art
[0002] A geopark is a unique natural area that is mainly composed of geological relics with special geological scientific significance, rare natural attributes, high aesthetic value, and a certain scale and distribution range, and integrates other natural and cultural landscapes. It not only provides people with a place for sightseeing, vacation, health care, and cultural entertainment with a high scientific taste, but also is a key protection area for geological relics and ecological environment, and a base for geological science research and popularization.
[0003] With the continuous development of drone technology, the application of drones is becoming more and more extensive, especially the aerial photography function of drones has been widely used. Among them, the river in the geological park is one of the important natural landscapes in the geological park. When monitoring the river data, drones are usually used to collect aerial photography of the river data.
[0004] In the prior art, since rivers are usually long, drones are usually manually controlled to collect data along the river. However, since the flying speed of drones is relatively fast and the moving speed of humans is relatively slow, humans can only control drones to collect river data in a certain area and then collect data for the next river area. This makes the efficiency of collecting data for the entire river very low.
[0005] Therefore, how to automatically plan the flight route of drones when collecting river data, guide drones to automatically collect data, and improve the efficiency of drone data collection has become a problem that needs to be solved urgently. Summary of the invention
[0006] The embodiment of the present invention provides an information processing method and system suitable for a geological park, which can automatically plan the flight route of a drone when collecting river data, guide the drone to automatically collect data, and improve the efficiency of drone data collection.
[0007] A first aspect of an embodiment of the present invention provides an information processing method applicable to a geological park, comprising:
[0008] In response to the route guidance request from the management end, the guidance layer is retrieved and superimposed on the target river map, multiple guidance points planned by the management end based on the guidance layer are received, and the positions of the guidance points are adjusted according to the adjustment strategy to obtain a first guidance route for the UAV;
[0009] Determine a plurality of first-class data points on the first guidance route according to the point distance, receive a collection requirement input by the management end, determine a collection span of the drone according to the collection requirement, and generate a corresponding second-class data line based on the collection span and a guide width corresponding to each first-class data point;
[0010] Generate second-category data points on the second-category data lines, replace the corresponding first-category data points based on the second-category data points, generate a first-category number for each of the first-category data points according to the first-category numbering strategy, and generate a second-category number for each of the second-category data points according to the second-category numbering strategy;
[0011] According to the two types of numbers, two types of starting points and two types of ending points on the two types of data lines are determined, and a replacement route is generated based on the two types of starting points, two types of ending points and two types of data lines. According to the replacement route, the first guide route is updated to obtain a second guide route, and the corresponding collected video is managed based on the first type of data points and / or the second type of data points on the second guide route.
[0012] Optionally, in a possible implementation of the first aspect, in response to a route guidance request from a management end, retrieving a guidance layer and superimposing it on a target river map, receiving a plurality of guidance points planned by the management end based on the guidance layer, and adjusting the positions of the guidance points according to an adjustment strategy to obtain a first guidance route for the drone, including:
[0013] In response to a route guidance request from the management end, a guidance layer is retrieved and superimposed on the target river map, multiple guidance points planned by the management end based on the guidance layer are received, and each of the guidance points is moved to the middle position of the corresponding river to obtain multiple middle points after the movement, wherein the guidance points include a guidance starting point, a guidance end point, and multiple guidance middle points;
[0014] The sub-channel contours corresponding to the adjacent middle points are obtained, the middle lines corresponding to the sub-channel contours are generated, and the middle lines are connected to obtain the first guidance route of the UAV.
[0015] Optionally, in a possible implementation of the first aspect, in response to a route guidance request from a management terminal, a guidance layer is retrieved and superimposed on a target river channel map, a plurality of guidance points planned by the management terminal based on the guidance layer are received, and each of the guidance points is moved to a middle position of a corresponding river channel to obtain a plurality of middle points after the movement, including:
[0016] Obtaining two contour points on the river channel contours on both sides of each guiding point that are closest to the corresponding river channel as dividing points, and connecting the two dividing points to obtain a dividing line corresponding to the corresponding guiding point;
[0017] The center point of the dividing line is obtained as a positioning point, the corresponding guide point is controlled to move to the positioning point, and the corresponding guide point after the movement is used as the middle point.
[0018] Optionally, in a possible implementation of the first aspect, obtaining sub-channel contours corresponding to adjacent intermediate points, generating intermediate lines corresponding to the sub-channel contours, and connecting the intermediate lines to obtain a first guidance route for the UAV includes:
[0019] Cutting the corresponding river channel contour according to the dividing lines corresponding to the adjacent midpoints to obtain the sub-river channel contours corresponding to the adjacent midpoints and a plurality of contour coordinate points corresponding to each of the sub-river channel contours;
[0020] Determine the contour coordinate points of the corresponding ends of the two sub-channel contours as starting points, and number the contour coordinate points on the contours of each sub-channel in turn to obtain the coordinate numbers corresponding to the contour coordinate points;
[0021] Acquire contour coordinate points with the same coordinate number as a group of calculation groups, and calculate the middle coordinate point corresponding to the calculation group according to two contour coordinate points in the calculation group;
[0022] The intermediate coordinate points are connected to obtain the intermediate line corresponding to the corresponding sub-channel contour, and the adjacent intermediate lines are connected in sequence to obtain the first guidance route corresponding to the UAV.
[0023] Optionally, in a possible implementation manner of the first aspect, a plurality of first-class data points on the first guidance route are determined according to point distances, a collection requirement input by a management terminal is received, a collection span of the drone is determined according to the collection requirement, and a corresponding second-class data line is generated based on the collection span and a guidance width corresponding to each first-class data point, including:
[0024] Determine a guidance direction corresponding to the first guidance route according to the guidance starting point and the guidance end point, determine a data point of the first type at each point distance on the first guidance route according to the guidance direction, and delete the guidance points on the first guidance route;
[0025] Obtain two river bank contour points on the river channel contours on both sides that are closest to each of the first type of data points, and connect the two river bank contour points to obtain a river bank width line corresponding to the first type of data point;
[0026] The length of the river bank width line is obtained as a judgment value. If the judgment value is smaller than the acquisition span of the drone, the corresponding river bank width line is determined as a second-class data line.
[0027] Optionally, in a possible implementation manner of the first aspect, generating the second type of data points on the second type of data lines, performing replacement processing on the corresponding first type of data points based on the second type of data points, generating the first type of numbers of the first type of data points according to the first type of numbering strategy, and generating the second type of numbers of the second type of data points according to the second type of numbering strategy, includes:
[0028] Acquire two endpoints of the second type of data line as second type of data points, and replace the corresponding first type of data points based on the second type of data points;
[0029] Constructing a number slot for each of the first-category data points, constructing two number slots for each of the second-category data points, and filling numbers in the number slots of each of the first-category data points and the first number slot of each of the second-category data points from small to large according to the guiding direction, to obtain a first-category number for each of the first-category data points and a number to be supplemented for each of the second-category data points;
[0030] Acquire two second-category data points corresponding to each of the second-category data lines as a combination to be numbered, and obtain the first-category data point that is closest to each of the second-category data points in each of the combinations to be numbered as a connection data point;
[0031] Obtain a connection data point with a smaller category number as the starting connection point and a connection data point with a larger category number as the ending connection point, fill the second number slot of the second category data point corresponding to the starting connection point according to the preset starting number, and fill the second number slot of the second category data point corresponding to the ending connection point according to the preset ending number, to obtain the second category number of each of the second category data points.
[0032] Optionally, in a possible implementation manner of the first aspect, determining a second type of starting point and a second type of ending point on the second type of data line according to the second type of number, generating a replacement route based on the second type of starting point, the second type of ending point and the second type of data line, and updating the first guided route according to the replacement route to obtain a second guided route, includes:
[0033] Acquire the second-category data point corresponding to the preset starting number as the second-category starting point, and the second-category data point corresponding to the preset ending number as the second-category ending point;
[0034] Connecting the two types of starting points and the corresponding starting connection points to obtain a starting connection line, connecting the two types of ending points and the corresponding ending connection points to obtain a terminating connection line, and generating a replacement route according to the starting connection line, the terminating connection line and the corresponding two types of data lines;
[0035] The sub-routes corresponding to the start connection point and the end connection point are obtained as the target route, and the target route is replaced and updated according to the replacement route to obtain a second guidance route.
[0036] Optionally, in a possible implementation manner of the first aspect, after generating the second guidance route, the method further includes:
[0037] Receiving the flight altitude configured by the management end for the drone at each of the first type of data points, and generating a collection range frame corresponding to the drone at the corresponding first type of data point according to the flight altitude;
[0038] Acquire a collection center point of the collection range frame, locate the collection center point based on the corresponding data points of the first type, and fill the collection range frame into the target river map;
[0039] The river channel collection span of the collection range box and the width judgment value corresponding to the corresponding type of data point are obtained. If the river channel collection span is smaller than the width judgment value, a reminder message is generated, and the corresponding type of data point is obtained as an abnormal data point and an adjusted height corresponding to the abnormal data point, and the abnormal data point and the adjusted height are sent to the management end.
[0040] Optionally, in a possible implementation manner of the first aspect, obtaining the corresponding data point of the type as an abnormal data point and an adjusted height corresponding to the abnormal data point, and sending the abnormal data point and the adjusted height to the management end includes:
[0041] A width difference is calculated based on the width judgment value and the river channel acquisition span, and a height adjustment coefficient is obtained based on the ratio of the width difference to a preset width difference;
[0042] An increased height is obtained based on the product of a reference increased height and the height adjustment coefficient, the increased height and the flight height are summed to obtain an adjusted height corresponding to the abnormal data point, and the abnormal data point and the adjusted height are sent to the management terminal.
[0043] A second aspect of an embodiment of the present invention provides an information processing system applicable to a geological park, comprising:
[0044] A guidance module is used to respond to a route guidance request from a management end, retrieve a guidance layer and overlay it on a target river map, receive a plurality of guidance points planned by the management end based on the guidance layer, adjust the positions of the guidance points according to an adjustment strategy, and obtain a first guidance route for the UAV;
[0045] a classification module, configured to determine a plurality of first-class data points on the first guidance route according to point distances, receive a collection requirement input by a management terminal, determine a collection span of the drone according to the collection requirement, and generate corresponding second-class data lines based on the collection span and a guidance width corresponding to each first-class data point;
[0046] a numbering module, configured to generate second-category data points on the second-category data lines, replace the corresponding first-category data points based on the second-category data points, generate first-category numbers for each of the first-category data points according to the first-category numbering strategy, and generate second-category numbers for each of the second-category data points according to the second-category numbering strategy;
[0047] An updating module is used to determine the second type of starting points and the second type of ending points on the second type of data lines according to the second type of numbers, generate a replacement route based on the second type of starting points, the second type of ending points and the second type of data lines, update the first guide route according to the replacement route to obtain a second guide route, and manage the corresponding collected video based on the first type of data points and / or the second type of data points on the second guide route.
[0048] The beneficial effects of the present invention are as follows:
[0049] 1. The present invention can automatically plan the flight route of the drone when collecting river data, guide the drone to automatically collect data, and improve the efficiency of drone data collection. When planning the flight route of the drone to collect video data, the present invention will first generate a first guide route based on multiple guide points input by the user, so that the first guide route of the drone flight can be preliminarily generated in combination with user needs. Then the present invention will generate multiple first-class data points on the first guide route, and store the video data of the corresponding river section through the first-class data points, so that the video data of each river section can be quickly found, improving the efficiency of data search. And when the guiding width of the first-class data point is greater than the collection span of the drone, the present invention will also generate a second-class data line corresponding to the corresponding first-class data point, and then obtain the second-class data point on the second-class data line, and replace the corresponding first-class data point through the second-class data point, so as to improve the integrity of the drone when collecting data. After obtaining the second-category data lines and the second-category data points, the present invention will also generate a replacement route based on the second-category data lines and the second-category data points, and update the first guide route through the replacement route, so that the drone can collect video data of the target river channel more completely based on the updated second guide line, thereby improving the accuracy of the drone in collecting video data.
[0050] 2. When generating the first guide route, the present invention will first move each guide point to the middle position of the corresponding river channel, so that the drone can collect data at the middle position of the corresponding river channel when collecting video data, improving the integrity and accuracy of the drone data collection. Then the present invention will respectively generate the middle lines between the adjacent guide points after the movement, and obtain the first guide route after splicing multiple middle lines, so that the generated first guide route and the target river channel are corresponding, and the drone can be guided to collect video data at the middle position of the target river channel, improving the accuracy and integrity of data collection.
[0051] 3. When the present invention updates the first guide route, it will first obtain the river bank width line corresponding to the first-class data point whose guide width is greater than the collection span of the drone as the second-class data line, and then determine the two end points of the second-class data line as the second-class data points, and replace the corresponding first-class data points with the second-class data points, so that the first-class data points with wider river bank width can be screened out, and replaced with the second-class data points, so as to improve the integrity and accuracy of the drone's data collection, and reduce the situation of incomplete collection when the drone collects river data. Then the present invention will generate a connection line based on the second-class data points and the first-class data points adjacent to them, and replace and update the corresponding route in the first guide route through the connection line and the second-class data line to obtain the second guide route, and manage the corresponding collection video through the first-class data points and / or the second-class data points on the second guide route, so as to improve the accuracy of data management, and can quickly find the first-class data points and / or the second-class data points corresponding to each collection video, and improve the efficiency of data search. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present invention;
[0053] Figure 2 It is a flowchart of an information processing method applicable to a geological park provided by an embodiment of the invention;
[0054] Figure 3 is a schematic diagram showing a guide point provided by an embodiment of the present invention;
[0055] Figure 4 It is a structural schematic diagram of an information processing system applicable to a geological park provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] See also Figure 1 , which is a schematic diagram of a scenario provided by an embodiment of the present invention. The present invention collects the situation of the river channel in combination with the video data collected by the drone, so that the management personnel can make targeted processing strategies based on the collected data.
[0058] See also Figure 2 , which is a flow chart of an information processing method suitable for a geological park provided in an embodiment of the invention. The execution subject of this application may include but is not limited to at least one of the following: user equipment, network equipment, etc. Among them, user equipment may include but is not limited to computers, smart phones, personal digital assistants (Personal Digital Assistant, referred to as: PDA) and the electronic devices mentioned above. Network equipment may include but is not limited to a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. It includes steps S1 to S4, as follows:
[0059] S1, responding to the route guidance request from the management end, calling up the guidance layer and superimposing it on the target river map, receiving multiple guidance points planned by the management end based on the guidance layer, adjusting the positions of the guidance points according to the adjustment strategy, and obtaining the first guidance route of the UAV.
[0060] The above-mentioned target river channel can be a river channel monitored in a geological park. In order to grasp the actual situation of the river channel in the geological park and maintain the balance and stability of the water ecosystem in the geological park, data collection of the target river channel can be carried out based on drones.
[0061] It is understandable that in actual applications, a river may have many branches, and there may be more than one river basin available for drone data collection. Therefore, the management end can determine multiple guidance points in the target river map, and then use these guidance points to generate the first guidance route for the river where the user wants the drone to collect data.
[0062] Based on the above embodiment, the specific implementation of step S1 may be:
[0063] S11, responding to the route guidance request from the management end, calling up the guidance layer and superimposing it on the target river map, receiving multiple guidance points planned by the management end based on the guidance layer, moving each of the guidance points to the middle position of the corresponding river, and obtaining multiple intermediate points after the movement, wherein the guidance points include a guidance starting point, a guidance end point and multiple guidance intermediate points.
[0064] See also Figure 3 , which is a schematic diagram showing a guide point provided by an embodiment of the present invention. In practical applications, the layer specifications of the guide layer may be consistent with the image specifications of the target river map. It is understandable that the guide points planned by the management end based on the guide layer may not all be located in the middle of the river. If the guide points are not moved to the middle of the river, the first guide route generated subsequently may be close to one side of the river bank, so that the drone may not be able to collect river data on the other side when collecting data through the first guide route, resulting in incomplete river data collected by the drone.
[0065] Therefore, after obtaining multiple guiding points, this scheme will also move the multiple guiding points to the middle position of the corresponding river channel, for example Figure 3 As shown in . Among them, the guidance starting point, the guidance end point and the plurality of guidance intermediate points can be determined according to the input order of the plurality of guidance points, for example Figure 3 When the input order of the guide points is from left to right, the first guide point on the left can be used as the guide starting point, the first guide point on the right can be used as the guide end point, and the guide point in the middle can be used as the guide intermediate point. That is, the first guide point input by the management end on the target river map can be used as the guide starting point, the last guide point input by the management end on the target river map can be used as the guide end point, and the other guide points can be used as the guide intermediate points.
[0066] In some embodiments, multiple guide points may be moved to the middle position of the corresponding river channel by the following steps:
[0067] S111, obtaining two contour points on the river channel contours on both sides of each guiding point that are closest to the corresponding river channel as dividing points, and connecting the two dividing points to obtain a dividing line corresponding to the corresponding guiding point.
[0068] In practical applications, when determining the division points corresponding to each guide point, in order to reduce the amount of data processing, the river contour within the preset range of each division point can be obtained first, and then the distance between the division point and each contour point on the corresponding river contour can be obtained, and finally the contour point with the shortest distance can be obtained as the division point.
[0069] S112, acquiring the center point of the dividing line as a positioning point, controlling the corresponding guide point to move to the positioning point, and using the corresponding guide point after the movement as the middle point.
[0070] It can be understood that since the dividing line is a line segment spanning both sides of the river channel, the moving point can be positioned and moved according to the center point of the dividing line, so that the guide point can be moved to the middle position of the corresponding river channel, so that the guide point is in a relatively centered state.
[0071] S12, obtaining sub-channel contours corresponding to adjacent intermediate points, generating intermediate lines corresponding to the sub-channel contours, and connecting the intermediate lines to obtain a first guidance route for the UAV.
[0072] Since the river sections between each group of adjacent intermediate points may be different, the guide route sections between each group of adjacent intermediate points may also be different. Therefore, when generating the first guide route based on multiple moved intermediate points, the middle line between two adjacent intermediate points can be generated first, and then the multiple middle lines can be connected to obtain the first guide route.
[0073] In some embodiments, step S12 includes steps S121 to S124, which are specifically as follows:
[0074] S121, cutting the corresponding river channel contour according to the dividing lines corresponding to the adjacent midpoints to obtain the sub-river channel contours corresponding to the adjacent midpoints and a plurality of contour coordinate points corresponding to each of the sub-river channel contours.
[0075] When determining the sub-channel contour corresponding to adjacent middle points, the channel contour can be cut by the dividing line corresponding to the two adjacent middle points, and then the sub-channel contour can be obtained according to the contour corresponding to the cut channel segment. When obtaining multiple contour coordinate points corresponding to the sub-channel contour, the target channel map can be firstly coordinate-processed, and then multiple contour coordinate points can be obtained according to the multiple contour points.
[0076] S122, determining the contour coordinate points of the corresponding ends of the two sub-channel contours as starting points, and numbering the contour coordinate points on the contours of each sub-channel in turn to obtain the coordinate number corresponding to each contour coordinate point.
[0077] In actual applications, when determining the starting point of numbering, any corresponding end of the two sub-channel contours can be selected as the starting point for numbering, but the numbering starting points of the two sub-channel contours must be corresponding. For example, if the first end of one sub-channel contour is selected as the starting point of numbering, the first end of the other sub-channel contour must also be selected as the starting point of numbering.
[0078] When numbering the contour coordinate points on each sub-channel contour, they can be numbered in order from small to large. It is worth mentioning that when numbering the contour coordinate points on two sub-channel contours, the numbering method of the two sub-channel contours must be the same. For example, if one of the sub-channel contours is numbered from small to large according to Arabic numerals, the other sub-channel contour must also be numbered in the same way.
[0079] S123, obtaining contour coordinate points with the same coordinate number as a calculation group, and calculating the intermediate coordinate point corresponding to the calculation group according to two contour coordinate points in the calculation group.
[0080] In practical applications, when calculating the coordinates corresponding to the middle coordinate point, it can be obtained by calculating the middle value of the difference between the coordinates of the two contour coordinate points in the group, for example, the difference of the horizontal coordinates obtains the middle value of the horizontal coordinate, and the difference of the vertical coordinates obtains the middle value of the vertical coordinate.
[0081] S124, connecting each of the intermediate coordinate points to obtain an intermediate line corresponding to the corresponding sub-channel contour, and sequentially connecting adjacent intermediate lines to obtain a first guidance route corresponding to the UAV.
[0082] It is worth mentioning that in actual applications, the lengths of the contour lines on both sides of the sub-channel contour may be different, which may cause a gap in the middle line. If this happens, the corresponding middle line can be extended and then spliced. The extension method can be to connect the endpoint of the missing end of the middle line with a nearby guide point.
[0083] Through the above method, the first guidance route for the drone to collect data can be automatically planned in combination with the collection requirements of the management end, so that the drone can be guided to collect corresponding data in the subsequent process according to the first guidance route.
[0084] S2, determining multiple Class I data points on the first guidance route according to the point distance, receiving the collection requirements input by the management end, determining the collection span of the drone according to the collection requirements, and generating corresponding Class II data lines based on the collection span and the guidance width corresponding to each Class I data point.
[0085] The above-mentioned type A data points are used to store the video data of the corresponding river section collected by the drone. It is understandable that the target river is usually relatively long. If the video data of the entire target river is directly stored, it may not be possible to quickly extract the video data corresponding to a certain river section, and thus it is impossible to quickly understand the specific situation of a certain river section. Therefore, this solution will determine multiple type A data points to store video data of multiple river sections in the target river.
[0086] It can also be understood that since the first type of data points are multiple data points determined in the direction of the guide line, the corresponding guide widths on both sides of the river may be different, and the drone has its own corresponding collection span when collecting video. When the collection span of the drone cannot cover the guide width, it may not collect all the video data of the river area corresponding to the first type of data points. Therefore, in this case, this solution will also generate a corresponding second type of data line, and the first guide route will be updated through the second type of data line in the future, so that the river data can be better collected based on the updated guide route.
[0087] Based on the above embodiment, the specific implementation of step S2 may be:
[0088] S21, determining the guidance direction corresponding to the first guidance route according to the guidance starting point and the guidance end point, determining a data point of the first type at every point distance on the first guidance route according to the guidance direction, and deleting the guidance points on the first guidance route.
[0089] In practical applications, the above point distance can be set by the staff according to actual needs, for example, the point distance can be 50 meters. When determining a type of data point, the beginning position of the first guide line can be used as the starting point, and a type of data point can be determined at each point distance in sequence.
[0090] S22, obtaining two river bank contour points on the river channel contours on both sides that are closest to each of the first type of data points, and connecting the two river bank contour points to obtain a river bank width line corresponding to the corresponding first type of data point.
[0091] The above method of obtaining the river bank width line is similar to the method of obtaining the dividing line corresponding to the guide point, and this solution will not be repeated here. It can be understood that the river bank width line obtained by the above method is a shorter river bank width line corresponding to a corresponding type of data point.
[0092] S23, obtaining the length of the river bank width line as a judgment value, and if the judgment value is smaller than the acquisition span of the drone, determining the corresponding river bank width line as a second-class data line.
[0093] In practical applications, the collection span of the drone can be the maximum collection width. If the judgment value is less than the collection span, it means that the width of the corresponding river channel is greater than the maximum collection width of the drone during collection. The drone may not collect all the river data of the corresponding river channel when collecting video at the corresponding first-class data points. Therefore, in this case, this solution will determine the corresponding river bank width line as the second-class data line, and then adjust the guidance route of the drone through the second-class data line, so that the video data collected by the drone according to the guidance route can be relatively complete.
[0094] S3, generate second-category data points on the second-category data lines, replace the corresponding first-category data points based on the second-category data points, generate a first-category number for each of the first-category data points according to the first-category numbering strategy, and generate a second-category number for each of the second-category data points according to the second-category numbering strategy.
[0095] After determining the second-category data line, this solution will determine the second-category data points on the second-category data line to replace the corresponding first-category data points, so that the first guidance route can be updated based on the second-category data points, and the video data of the target river channel can be stored through the updated second guidance route.
[0096] It can be understood that since the drone collects data by passing through each data point in sequence, corresponding numbers can be added to the first and second data points, and then the first guidance route can be updated by the numbers, and the stored multiple video data can also be corresponded to the corresponding first and second data points by the numbers.
[0097] Based on the above embodiment, the specific implementation of step S3 may be:
[0098] S31, obtaining two endpoints of the second-category data line as second-category data points, and performing replacement processing on corresponding first-category data points based on the second-category data points.
[0099] It is understandable that this solution will control the drone to collect video data of the corresponding river channel based on the second-class data line in the future, so the two endpoints of the second-class data line can be used as second-class data points, so that the video data of the corresponding river channel can be stored based on the second-class data points. And with the second-class data points storing the video data of the corresponding river channel, the corresponding first-class data points can be deleted, thereby reducing the repeated storage of video data.
[0100] S32, construct a numbering slot for each of the first category data points, construct two numbering slots for each of the second category data points, fill in numbers in the numbering slot of each of the first category data points and the first numbering slot of each of the second category data points from small to large according to the guiding direction, and obtain a first category number for each of the first category data points and a number to be supplemented for each of the second category data points.
[0101] It can be understood that, since the first category of data points are arranged according to the guiding direction, a slot can be constructed for it to fill its number in the guiding direction, and the second category of data points not only have an arrangement order in the guiding direction, but also an arrangement order on the second category of data lines, so two slots can be constructed for it, the first slot is used to fill its number in the guiding direction, and the second slot is used to fill its number on the second category of data lines.
[0102] S33, obtaining two second-category data points corresponding to each of the second-category data lines as a combination to be numbered, and obtaining a first-category data point that is closest to each of the second-category data points in each of the combinations to be numbered as a connecting data point.
[0103] It is understandable that there may be multiple Class II data lines, and each Class II data line has its own corresponding Class II data point. Therefore, when numbering the second numbering slot of the Class II data point, the two Class II data points located on the same Class II data line can be first regarded as a combination to be numbered, and then corresponding numbers can be added to each combination to be numbered.
[0104] It can also be understood that each Class II data point may have a Class I data point that is closest to it. Therefore, in order to reduce the flight distance of the drone during collection, the Class I data point that is closest to each Class II data point can be obtained as a connecting data point, and then the connecting data point is used to connect with the corresponding Class II data point in the subsequent connection to obtain a connecting route.
[0105] S34, obtaining a connection data point with a smaller category number as a starting connection point, and a connection data point with a larger category number as an ending connection point, filling the second number slot of the second category data point corresponding to the starting connection point according to a preset starting number, and filling the second number slot of the second category data point corresponding to the ending connection point according to a preset ending number, to obtain the second category number of each of the second category data points.
[0106] In actual applications, the preset start number and the preset end number can be set in advance by the staff. For example, the preset start number can be 1, and the preset end number can be 2. If the number in the first number slot of the second-class data point is 3, and the second-class data point corresponds to the start connection point, then the final second-class number of the second-class data point is 31.
[0107] S4, determining the second category starting point and the second category ending point on the second category data line according to the second category number, generating a replacement route based on the second category starting point, the second category ending point and the second category data line, updating the first guidance route according to the replacement route to obtain a second guidance route, and managing the corresponding collected video based on the first category data points and / or second category data points on the second guidance route.
[0108] After determining the second-category number corresponding to each second-category data point, the second-category starting point and the second-category ending point on each second-category data line can be determined according to the second-category number, so that the starting collection position and the ending collection position of the UAV on the second-category data line can be determined according to the second-category starting point and the second-category ending point, and a replacement route can be generated through the second-category starting point, the second-category ending point and the second-category data line, so that the first guide route can be updated to obtain a second guide route according to the replacement route, and the UAV can be guided by the second guide route to collect video data of the target river channel.
[0109] In some embodiments, the second guidance route can be obtained by the following steps:
[0110] S41, obtaining the second type of data point corresponding to the preset starting number as the second type of starting point, and the second type of data point corresponding to the preset ending number as the second type of ending point.
[0111] In practical applications, if the closest first-class data point corresponding to a second-class data point is the same first-class data point, one of the second-class data points can be randomly determined as the second-class starting point, and the other second-class data point can be determined as the second-class ending point.
[0112] S42, connecting the two types of starting points and the corresponding starting connection points to obtain a starting connection line, connecting the two types of ending points and the corresponding ending connection points to obtain a ending connection line, and generating a replacement route according to the starting connection line, the ending connection line and the corresponding two types of data lines.
[0113] S43, obtaining sub-routes corresponding to the starting connection point and the ending connection point as a target route, and replacing and updating the target route according to the replacement route to obtain a second guidance route.
[0114] Through the above method, the UAV can collect video data of the target river channel more completely according to the updated second guide line, thereby improving the accuracy of the UAV in collecting video data.
[0115] In addition, after the second guidance route is generated, the present solution also includes the following embodiments:
[0116] S44, receiving the flight altitude configured by the management end for the drone at each of the data points of the first category, and generating a collection range box corresponding to the drone at the corresponding data point of the first category according to the flight altitude.
[0117] It is understandable that in actual applications, since the river area corresponding to each type of data point is different, the user may configure the flight altitude of the drone for the corresponding type of data point according to his or her own collection needs. For example, when the user wants to collect more accurate video data, the flight altitude of the drone may be set relatively low, so that the collected video data can be clearer.
[0118] Therefore, this solution will generate a collection range frame when the drone is flying over the corresponding type of data point based on the flight altitude configured by the management end, so that it can be used to determine whether the drone can complete the river data collection in the corresponding area in the future based on the collection range frame.
[0119] S45, obtaining a collection center point of the collection range frame, positioning the collection center point based on the corresponding one type of data points, and filling the collection range frame into the target river map.
[0120] When filling the collection scope box into the target river channel map, the width direction of the collection scope box can be aligned with the width direction of the corresponding river channel.
[0121] S46, obtaining the river channel collection span of the collection range box, and the width judgment value corresponding to the corresponding type of data point. If the river channel collection span is smaller than the width judgment value, generating a reminder message, and obtaining the corresponding type of data point as an abnormal data point, and the adjustment height corresponding to the abnormal data point, and sending the abnormal data point and the adjustment height to the management end.
[0122] It is understandable that if the river channel collection span is smaller than the width judgment value, it means that when the drone collects the river channel area corresponding to the corresponding type of data points, the drone's collection range cannot completely cover the corresponding river channel area. Therefore, it is necessary to generate a reminder message to remind the management end to adjust the flight altitude of the drone.
[0123] Specifically, this solution will treat the corresponding data point of a type as an abnormal data point, and generate an adjustment height corresponding to the abnormal data point for the user as a reference. In some embodiments, the adjustment height corresponding to the abnormal data point can be generated through steps S461 to S462, as follows:
[0124] S461, calculating a width difference according to the width judgment value and the river channel acquisition span, and obtaining a height adjustment coefficient according to a ratio of the width difference to a preset width difference.
[0125] S462, obtaining an increased height based on the product of a reference increased height and the height adjustment coefficient, summing the increased height and the flight altitude to obtain an adjusted height corresponding to the abnormal data point, and sending the abnormal data point and the adjusted height to the management terminal.
[0126] It is understandable that the larger the width difference, the smaller the range of the drone's collection may be. Therefore, the drone's height can be adjusted higher so that the drone's collection range can be larger, allowing the drone to collect more complete video data of the corresponding river area.
[0127] Through the above method, the flight altitude of the drone can be adjusted accordingly according to user needs, and the user can be reminded when the flight altitude of the drone does not meet the collection conditions, and the corresponding adjustment altitude can be generated for the user's reference.
[0128] See also Figure 4 , is a schematic diagram of the structure of an information processing system applicable to a geological park provided by an embodiment of the present invention, and the information processing system applicable to a geological park includes:
[0129] A guidance module is used to respond to a route guidance request from a management end, retrieve a guidance layer and overlay it on a target river map, receive a plurality of guidance points planned by the management end based on the guidance layer, adjust the positions of the guidance points according to an adjustment strategy, and obtain a first guidance route for the UAV;
[0130] a classification module, determining a plurality of first-class data points on the first guidance route according to point distances, receiving a collection requirement input by a management terminal, determining a collection span of the drone according to the collection requirement, and generating corresponding second-class data lines based on the collection span and a guidance width corresponding to each first-class data point;
[0131] a numbering module, configured to generate second-category data points on the second-category data lines, replace the corresponding first-category data points based on the second-category data points, generate first-category numbers for each of the first-category data points according to the first-category numbering strategy, and generate second-category numbers for each of the second-category data points according to the second-category numbering strategy;
[0132] An updating module is used to determine the second type of starting points and the second type of ending points on the second type of data lines according to the second type of numbers, generate a replacement route based on the second type of starting points, the second type of ending points and the second type of data lines, update the first guide route according to the replacement route to obtain a second guide route, and manage the corresponding collected video based on the first type of data points and / or the second type of data points on the second guide route.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An information processing method applicable to a geological park, characterized in that: include: In response to the route guidance request from the management end, a guidance layer is retrieved and superimposed on the target river map, multiple guidance points planned by the management end based on the guidance layer are received, and the positions of the guidance points are adjusted according to the adjustment strategy to obtain a first guidance route for the UAV, wherein the guidance points include a guidance starting point, a guidance end point, and multiple guidance intermediate points; Determine a plurality of first-class data points on the first guidance route according to the point distance, receive a collection requirement input by the management end, determine a collection span of the drone according to the collection requirement, and generate a corresponding second-class data line based on the collection span and the guidance width corresponding to each first-class data point, wherein the point distance is a distance set by a staff member; Generate second-category data points on the second-category data lines, replace the corresponding first-category data points based on the second-category data points, generate a first-category number for each of the first-category data points according to the first-category numbering strategy, and generate a second-category number for each of the second-category data points according to the second-category numbering strategy; Determine the second type of starting point and the second type of ending point on the second type of data line according to the second type of number, generate a replacement route based on the second type of starting point, the second type of ending point and the second type of data line, update the first guide route according to the replacement route to obtain a second guide route, and manage the corresponding collected video based on the first type of data point and / or the second type of data point on the second guide route; Determine a plurality of first-class data points on the first guidance route according to the point distance, receive a collection requirement input by the management end, determine a collection span of the drone according to the collection requirement, and generate a corresponding second-class data line based on the collection span and the guidance width corresponding to each first-class data point, including: Determine a guidance direction corresponding to the first guidance route according to the guidance starting point and the guidance end point, determine a data point of the first type at each point distance on the first guidance route according to the guidance direction, and delete the guidance points on the first guidance route; Obtain two river bank contour points on the river channel contours on both sides that are closest to each of the first type of data points, and connect the two river bank contour points to obtain a river bank width line corresponding to the first type of data point; The length of the river bank width line is obtained as a judgment value. If the judgment value is smaller than the acquisition span of the drone, the corresponding river bank width line is determined as a second-class data line, and the guide width corresponds to the length of the river bank width line. Generating second-category data points on the second-category data lines, performing replacement processing on corresponding first-category data points based on the second-category data points, generating first-category numbers for each of the first-category data points according to the first-category numbering strategy, and generating second-category numbers for each of the second-category data points according to the second-category numbering strategy, including: Acquire two endpoints of the second type of data line as second type of data points, and replace the corresponding first type of data points based on the second type of data points; Constructing a number slot for each of the first-category data points, constructing two number slots for each of the second-category data points, and filling numbers in the number slots of each of the first-category data points and the first number slot of each of the second-category data points from small to large according to the guiding direction, to obtain a first-category number for each of the first-category data points and a number to be supplemented for each of the second-category data points; Acquire two second-category data points corresponding to each of the second-category data lines as a combination to be numbered, and obtain the first-category data point that is closest to each of the second-category data points in each of the combinations to be numbered as a connection data point; Obtain a connection data point with a smaller category number as the starting connection point and a connection data point with a larger category number as the ending connection point, fill the second number slot of the second category data point corresponding to the starting connection point according to the preset starting number, and fill the second number slot of the second category data point corresponding to the ending connection point according to the preset ending number, to obtain the second category number of each of the second category data points.
2. The method according to claim 1, characterized in that In response to the route guidance request from the management end, the guidance layer is retrieved and superimposed on the target river map, multiple guidance points planned by the management end based on the guidance layer are received, and the positions of the guidance points are adjusted according to the adjustment strategy to obtain the first guidance route of the UAV, including: In response to a route guidance request from the management end, a guidance layer is retrieved and superimposed on the target river map, multiple guidance points planned by the management end based on the guidance layer are received, and each of the guidance points is moved to the middle position of the corresponding river to obtain multiple middle points after the movement; The sub-channel contours corresponding to the adjacent middle points are obtained, the middle lines corresponding to the sub-channel contours are generated, and the middle lines are connected to obtain the first guidance route of the UAV.
3. The method according to claim 2, characterized in that In response to the route guidance request from the management end, the guidance layer is retrieved and superimposed on the target river map, multiple guidance points planned by the management end based on the guidance layer are received, and each of the guidance points is moved to the middle position of the corresponding river to obtain multiple middle points after the movement, including: Obtaining two contour points on the river channel contours on both sides of each guiding point that are closest to the corresponding river channel as dividing points, and connecting the two dividing points to obtain a dividing line corresponding to the corresponding guiding point; The center point of the dividing line is obtained as a positioning point, the corresponding guide point is controlled to move to the positioning point, and the corresponding guide point after the movement is used as the middle point.
4. The method according to claim 3, characterized in that Acquiring sub-channel contours corresponding to adjacent intermediate points, generating intermediate lines corresponding to the sub-channel contours, and connecting the intermediate lines to obtain a first guidance route for the UAV, including: Cutting the corresponding river channel contour according to the dividing lines corresponding to the adjacent midpoints to obtain the sub-river channel contours corresponding to the adjacent midpoints and a plurality of contour coordinate points corresponding to each of the sub-river channel contours; Determine the contour coordinate points of the corresponding ends of the two sub-channel contours as starting points, and number the contour coordinate points on the contours of each sub-channel in turn to obtain the coordinate numbers corresponding to the contour coordinate points; Acquire contour coordinate points with the same coordinate number as a group of calculation groups, and calculate the middle coordinate point corresponding to the calculation group according to two contour coordinate points in the calculation group; The intermediate coordinate points are connected to obtain the intermediate line corresponding to the corresponding sub-channel contour, and the adjacent intermediate lines are connected in sequence to obtain the first guidance route corresponding to the UAV.
5. The method according to claim 1, characterized in that Determining a second type of starting point and a second type of ending point on the second type of data line according to the second type of numbers, generating a replacement route based on the second type of starting point, the second type of ending point and the second type of data line, and updating the first guide route according to the replacement route to obtain a second guide route, including: Acquire the second-category data point corresponding to the preset starting number as the second-category starting point, and the second-category data point corresponding to the preset ending number as the second-category ending point; Connecting the two types of starting points and the corresponding starting connection points to obtain a starting connection line, connecting the two types of ending points and the corresponding ending connection points to obtain a terminating connection line, and generating a replacement route according to the starting connection line, the terminating connection line and the corresponding two types of data lines; The sub-routes corresponding to the start connection point and the end connection point are obtained as the target route, and the target route is replaced and updated according to the replacement route to obtain a second guidance route.
6. The method according to claim 5, characterized in that After generating the second guidance route, the method further includes: Receiving the flight altitude configured by the management end for the drone at each of the first type of data points, and generating a collection range frame corresponding to the drone at the corresponding first type of data point according to the flight altitude; Acquire a collection center point of the collection range frame, locate the collection center point based on the corresponding data points of the first type, and fill the collection range frame into the target river map; The river channel collection span of the collection range box and the width judgment value corresponding to the corresponding type of data point are obtained. If the river channel collection span is smaller than the width judgment value, a reminder message is generated, and the corresponding type of data point is obtained as an abnormal data point and an adjusted height corresponding to the abnormal data point, and the abnormal data point and the adjusted height are sent to the management end.
7. The method according to claim 6, characterized in that Acquiring the corresponding data point of the type as an abnormal data point and an adjusted height corresponding to the abnormal data point, and sending the abnormal data point and the adjusted height to the management end, including: A width difference is calculated based on the width judgment value and the river channel acquisition span, and a height adjustment coefficient is obtained based on the ratio of the width difference to a preset width difference; An increased height is obtained based on the product of a reference increased height and the height adjustment coefficient, the increased height and the flight height are summed to obtain an adjusted height corresponding to the abnormal data point, and the abnormal data point and the adjusted height are sent to the management terminal.
8. An information processing system suitable for a geological park, characterized in that: include: A guidance module is used to respond to a route guidance request from a management end, retrieve a guidance layer and overlay it on a target river map, receive multiple guidance points planned by the management end based on the guidance layer, adjust the positions of the guidance points according to an adjustment strategy, and obtain a first guidance route for the UAV, wherein the guidance points include a guidance starting point, a guidance end point, and multiple guidance intermediate points; a classification module, configured to determine a plurality of first-class data points on the first guidance route according to point distances, receive collection requirements input by a management terminal, determine a collection span of the drone according to the collection requirements, and generate corresponding second-class data lines based on the collection span and the guide width corresponding to each first-class data point, wherein the point distance is a distance set by a staff member; a numbering module, configured to generate second-category data points on the second-category data lines, replace the corresponding first-category data points based on the second-category data points, generate first-category numbers for each of the first-category data points according to the first-category numbering strategy, and generate second-category numbers for each of the second-category data points according to the second-category numbering strategy; an updating module, configured to determine a second type of starting point and a second type of ending point on the second type of data line according to the second type of numbers, generate a replacement route based on the second type of starting point, the second type of ending point and the second type of data line, update the first guide route according to the replacement route to obtain a second guide route, and manage corresponding collected videos based on the first type of data points and / or the second type of data points on the second guide route; Determine a plurality of first-class data points on the first guidance route according to the point distance, receive a collection requirement input by the management end, determine a collection span of the drone according to the collection requirement, and generate a corresponding second-class data line based on the collection span and the guidance width corresponding to each first-class data point, including: Determine a guidance direction corresponding to the first guidance route according to the guidance starting point and the guidance end point, determine a data point of the first type at each point distance on the first guidance route according to the guidance direction, and delete the guidance points on the first guidance route; Obtain two river bank contour points on the river channel contours on both sides that are closest to each of the first type of data points, and connect the two river bank contour points to obtain a river bank width line corresponding to the first type of data point; The length of the river bank width line is obtained as a judgment value. If the judgment value is smaller than the acquisition span of the drone, the corresponding river bank width line is determined as a second-class data line, and the guide width corresponds to the length of the river bank width line. Generating second-category data points on the second-category data lines, performing replacement processing on corresponding first-category data points based on the second-category data points, generating first-category numbers for each of the first-category data points according to the first-category numbering strategy, and generating second-category numbers for each of the second-category data points according to the second-category numbering strategy, including: Acquire two endpoints of the second type of data line as second type of data points, and replace the corresponding first type of data points based on the second type of data points; Constructing a number slot for each of the first-category data points, constructing two number slots for each of the second-category data points, and filling numbers in the number slots of each of the first-category data points and the first number slot of each of the second-category data points from small to large according to the guiding direction, to obtain a first-category number for each of the first-category data points and a number to be supplemented for each of the second-category data points; Acquire two second-category data points corresponding to each of the second-category data lines as a combination to be numbered, and obtain the first-category data point that is closest to each of the second-category data points in each of the combinations to be numbered as a connection data point; Obtain a connection data point with a smaller category number as the starting connection point and a connection data point with a larger category number as the ending connection point, fill the second number slot of the second category data point corresponding to the starting connection point according to the preset starting number, and fill the second number slot of the second category data point corresponding to the ending connection point according to the preset ending number, to obtain the second category number of each of the second category data points.
