Carrier work order statistical method and device based on Beidou positioning data
By generating vehicle attribute tables and simulation trajectories, combined with Beidou positioning data and regional priority rules, the accuracy of downloading work order statistics in complex environments of construction sites is solved, and fast and accurate work order statistics are achieved, reducing labor costs are achieved. .
Patent Information
- Application Number
- CN202411845583.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-01-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the complex environment of the construction site, traditional manual counting methods are inefficient and prone to statistical errors and omissions. The existing vehicle work order statistics method based on Beidou positioning data has limitations when the vehicle is not transported on the established route or when the Beidou equipment is collected and cut off. , it is difficult to accurately count work orders.
By generating a vehicle attribute table, combining vehicle number, Beidou position and time information, we can judge whether the vehicle position is within the electronic fence, group and compress data, simulate the vehicle trajectory, calculate the work order situation, consider the area priority and effective time, and consider the area priority and the effective time. Rules to ensure statistics accuracy and robustness.
It realizes rapid and accurate statistics of vehicle work orders in complex construction environments, reduces labor costs, improves the applicability and robustness of the method, and can handle work order data in multiple loading and unloading areas and complex situations.
Smart Images

Figure CN119312016A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data processing equipment management, and in particular relates to a vehicle work order statistics method and equipment based on Beidou positioning data. Background Art
[0002] With the rapid development of the economy, the demand for transporting construction materials by vehicles, ships and other vehicles in the field of engineering construction has increased. For project managers, it is necessary to count vehicle work orders. However, the construction site environment is complex and the regional division is not obvious. The traditional manual counting method is inefficient and often has statistical errors and omissions, which makes it difficult to grasp the progress of the project and manage construction personnel. Therefore, studying a work order statistics method applicable to a variety of vehicles is of great significance to ensure the quality and safety of the project and optimize the construction process.
[0003] In recent years, domestic and foreign practitioners have conducted some research on methods for supervising vehicles and ships in construction areas. The main method is to set up electronic fences in the construction area, and combine the real-time location information of vehicle-mounted or ship-mounted Beidou data to perform batch operations on the vehicle location information to calculate the real-time work order status. This method can perform more accurate work order statistics when the communication conditions are good and the vehicle is transported along the established route. However, due to the complex construction environment, interruption of Beidou equipment collection, and vehicles not transported along the established route, there are limitations in actual applications, resulting in errors and omissions in the statistics of work orders. Summary of the invention
[0004] Based on this, the purpose of the present invention is to provide a vehicle work order statistics method and equipment based on Beidou positioning data, combined with vehicle-mounted or ship-mounted real-time Beidou positioning data, and comprehensively considering the impact of factors such as transportation time and regional priority on work orders. By using this method in the construction management area, the work order status can be obtained quickly, accurately and comprehensively, and the construction progress can be grasped and supervised.
[0005] To achieve the above purpose, the technical solution adopted by the present invention is as follows: A vehicle work order statistics method based on Beidou positioning data, the method comprising: S1. Generate a vehicle attribute table for the vehicles within the calculation time interval according to the vehicle number. Each data in each vehicle attribute table includes the vehicle number, the current Beidou position, and the current time attribute information; S2. Circulate the vehicle attribute table to perform specific logical judgment on the current vehicle work order situation, and judge whether the longitude and latitude information of the current Beidou position of each data in the current vehicle attribute table is within the designated electronic fence. If it is within the electronic fence of the loading area, a positive value is assigned; if it is within the electronic fence of the unloading area, a negative value is assigned; if it is not within any electronic fence area, a value of 0 is assigned; S3. Group the data in the "current vehicle attribute table" and group the data with the same consecutive values. Do not record consecutive 0 values. At the same time, add two more attributes "start time" and "end time" to the "current vehicle attribute table" to record the time when the vehicle enters the loading and unloading area. The values of the two attributes are the time of the first data and the time of the last data in each group, respectively. Keep the order of each group unchanged, compress the data, and the compressed data is an array composed of positive and negative numbers; S4. Use the array compressed from the data in step S3 to simulate the vehicle trajectory, and regard the vehicle trajectory from the loading area to the unloading area as a completed work order. The numerical representation of a completed work order is starting from a positive number and ending with a negative number. There are several pairs of such combinations in the array as there are valid work orders. At the same time, record the four times of each work order: "time of entering the loading area", "time of leaving the loading area", "time of entering the unloading area", and "time of leaving the unloading area". The four times are "start time" and "end time" which are consecutive identical positive numbers in a group, and "start time" and "end time" which are consecutive identical negative numbers in a group.
[0006] Optionally, before step S1, the method further includes: S01. Obtain the real-time position information of the vehicle, the range information of the loading and unloading area, and the time interval information to be calculated, where the time interval information includes the start time and the end time; S02. Classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data in the class according to the time sequence attribute.
[0007] Optionally, the step of obtaining the real-time position information of the vehicle, the range information of the loading and unloading area, and the time interval information to be calculated, where the time interval information includes the start time and the end time, specifically includes: S01.1. Install Beidou satellite data collection equipment on the vehicle, and set the data collection time interval based on the vehicle's driving speed and traffic conditions in the construction area to ensure maximum data utilization efficiency; S01.2, Electronic fence of loading and unloading area: Draw the range of loading area and unloading area on the map according to actual needs, and there are multiple loading areas and unloading areas at the same time; S01.3. Calculation time interval: Enter the work order calculation start time and end time according to actual needs.
[0008] Optionally, after step S2, the method further includes: Taking into account the overlap between areas and the situation where the vehicle passes through multiple loading and unloading areas, the regional priority rules of the electronic fence of the loading and unloading area are configured as follows: the larger the absolute value of the positive and negative specified values, the higher the regional priority. A unique value is given to each loading area and each unloading area to determine the priority. The high priority overrides the low priority, ensuring that the vehicle position at each moment only exists in a uniquely determined area.
[0009] Before step S4, the "start time" and "end time" attributes corresponding to the time of the first data and the time of the last data of each group in the previous step S3 are subtracted to obtain the continuous combination of the "effective time rule" for each group of data, and judge whether each group of data after grouping meets the restriction requirements of the "effective time rule". If it meets the requirements, the group is regarded as a valid group, if it does not meet the requirements, it is regarded as an invalid group, and the group is eliminated and not included in the subsequent calculations. Among them, the effective time rule is configured to configure an effective time for each loading and unloading area according to the scale of the loading and unloading area, the vehicle running speed and the actual needs of the project, so as to judge the loading and unloading behavior.
[0010] Optionally, the above step S4 further includes: During the actual operation of a vehicle, it may enter the loading area and then the unloading area multiple times, or pass through multiple loading areas and then enter the unloading area. First, search the array in order from the first positive number that appears to the last negative number that appears as a pair. Then, according to the "area priority rule", take the maximum value of the positive part of each pair and the maximum absolute value of the negative part as the actual loading area and actual unloading area of the vehicle. Record the four times at the same time as a complete work order. If the positive part or the negative part is the same array, it means that the vehicle has entered the loading area or unloading area multiple times due to special reasons. At this time, take the last positive part and the first negative part as the actual loading or unloading area, and record the time.
[0011] The present invention also provides a vehicle work order statistics device based on Beidou positioning data, comprising: The vehicle list module is used to generate a vehicle attribute table for the vehicles within the calculation time interval according to the vehicle number. Each data in each vehicle attribute table includes the vehicle number, the current Beidou position, and the current time attribute information; The vehicle position attribute assignment module is used to perform specific logical judgment on the current vehicle work order situation, and judge whether the latitude and longitude information of the current Beidou position of each data in the current vehicle attribute table is within the designated electronic fence. If it is within the electronic fence of the loading area, a positive value is assigned; if it is within the electronic fence of the unloading area, a negative value is assigned; if it is not within any electronic fence area, a value of 0 is assigned; Group the data in the "current vehicle attribute table" after the assignment, keep the order of each group unchanged, and compress the data. The compressed data is an array composed of positive and negative numbers. The positive number is the loading area, and the negative number is the unloading area. The module for judging the effective work order is used to simulate the vehicle trajectory with the array after data compression, and regard the vehicle trajectory from the loading area to the unloading area as a completed work order. The numerical representation of the completion of a work order is from a positive number to a negative number. There are several pairs of such combinations in the array, and there are several effective work orders. At the same time, the four times of each work order are recorded: "time of entering the loading area", "time of leaving the loading area", "time of entering the unloading area" and "time of leaving the unloading area". The four times are "start time" and "end time" which are a group of consecutive identical positive numbers, and "start time" and "end time" which are a group of consecutive identical negative numbers.
[0012] Optionally, it also includes: The vehicle position real-time acquisition module is used to obtain the vehicle real-time position information and loading and unloading area range information; The vehicle number classification module is used to classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data within the class according to the chronological attribute.
[0013] Optionally, the vehicle position attribute assignment module also includes an effective duration rule submodule, which is used to make a difference between the two attributes "start time" and "end time" of the "current vehicle attribute table" to calculate the time when the vehicle enters the loading and unloading area, and obtain the continuous combination of each group of data with the "effective duration rule" to determine whether each group of data after grouping meets the restriction requirements of the "effective duration rule". If it meets the requirements, the group is regarded as a valid group, and if it does not meet the requirements, it is regarded as an invalid group, and the group is eliminated and not included in subsequent calculations. The effective duration rule is configured to configure an effective duration for each loading and unloading area according to the scale of the loading and unloading area, the vehicle running speed and the actual needs of the project, so as to judge the loading and unloading behavior.
[0014] Due to the adoption of the above technical solution, the beneficial effects of the present invention include: adding Beidou data to the vehicle to record the vehicle position, and combining with the logical operation method, the work order data in multiple loading and unloading areas and complex situations can be calculated. The logical operation replaces the vehicle running trajectory with a numerical value, and assigns a priority to the loading and unloading area to generate a work order, taking into account the generation of work orders in various situations. In practical applications, the labor cost can be reduced, and the method has high applicability and robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Flow chart of the method of the present invention.
[0016] Figure 2 A vehicle attribute table according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and beneficial effects of 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.
[0018] See also Figure 1 The present invention provides a vehicle work order statistics method based on Beidou positioning data, comprising the following steps: S1. Generate a vehicle attribute table for the vehicles within the calculation time interval according to the vehicle number. Each data in the vehicle attribute table of each vehicle includes the vehicle number, the current Beidou position, and the current time attribute information; S2. Circulate the vehicle list to perform specific logical judgment on the current vehicle work order situation. Based on the "current position" attribute, judge whether the latitude and longitude information of each current Beidou position in the current vehicle attribute table is within the designated electronic fence. If it is within the electronic fence of the loading area, assign a positive value; if it is within the electronic fence of the unloading area, assign a negative value; if it is within the agreed "special rule" area, assign a special value; if it is not in any electronic fence area, assign a value of 0; S3. Group the data in the "current vehicle attribute table" and group the data with the same consecutive values. Do not record consecutive 0 values. At the same time, add two more attributes "start time" and "end time" to the "current vehicle attribute table" to record the time when the vehicle enters the loading and unloading area. The two attributes are assigned the time of the first data and the time of the last data in each group. Group the data in the "current vehicle attribute table" after the assignment. Since the corresponding vehicles of each group of data are located in the same area and the values of the "current position" attribute are the same, the same value is used to replace the group. Keep the order of each group unchanged, compress the data, and the compressed data is an array composed of positive and negative numbers. S4. Use the array compressed from the data in step S3 to simulate the vehicle trajectory, and regard the vehicle trajectory from the loading area to the unloading area as a completed work order. The numerical representation of a completed work order is from a positive number to a negative number. There are as many valid work orders as there are pairs of such combinations in the array. At the same time, record the four times of each work order: "entering the loading area time", "leaving the loading area time", "entering the unloading area time", and "leaving the unloading area time". The four times are respectively the "start time" and "end time" of the group represented by the positive number and the "start time" and "end time" of the group represented by the negative number.
[0019] The present invention adds Beidou data to the vehicle to record the vehicle position, and combines the logical operation method to calculate the work order data in multiple loading and unloading areas and complex situations. The logical operation replaces the vehicle running trajectory with a numerical value, and assigns a priority to the loading and unloading area to generate a work order, taking into account the generation of work orders in various situations. In practical applications, it can reduce labor costs, and the method has high applicability and robustness.
[0020] Before step S1, the method further includes: S01. Data collection and preparation: obtain the real-time position information of the vehicle, the area range information of the loading and unloading area, and the time interval information that needs to be calculated; In step S01, Beidou satellite data collection equipment is installed on vehicles, ships and other vehicles. In combination with the vehicle's driving speed and the traffic conditions in the construction area, an appropriate data collection time interval is selected to ensure maximum data utilization efficiency. For example: ship-borne Beidou generally chooses to return data once every 2 minutes, and vehicle-borne Beidou generally chooses to return data once every 1 minute. Set up electronic fences in loading and unloading areas: The project department draws the range of loading and unloading areas on the map according to actual needs. Multiple loading and unloading areas can exist at the same time.
[0021] S02. Classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data in the class according to the time sequence attribute.
[0022] In step S02, the time interval for work order calculation is input according to actual needs, including the start time and the end time. The Beidou data collected in the time interval to be calculated is classified by vehicle number, and each data is sorted according to the time attribute within the class.
[0023] After step S2, it also includes: formulating constraint rules for the conditions for forming work orders according to actual project needs, which are specifically divided into regional priority rules, effective time rules and special constraints.
[0024] In this embodiment, due to the existence of multiple loading and unloading areas, in order to ensure the universality of the algorithm, full consideration is given to situations such as overlap between areas and vehicles passing through multiple loading and unloading areas, and unique numerical values are given to the loading area and the unloading area to determine the priority. High priority overrides low priority to ensure that the position of the vehicle at each moment exists only in a uniquely determined area. According to the scale of the loading and unloading area, the speed of the vehicle, and the actual needs of the project, each loading and unloading area is configured with an effective time to judge the loading and unloading behavior. If the stay time is longer than the effective time of the area, it is considered to be loading and unloading. Otherwise, it is considered to pass through the area without loading and unloading, and it is not included in the calculation result. Decide whether to add this constraint based on the actual needs of the project. For example, a work order is considered to be established only if it must pass through a certain area or must run along a certain route.
[0025] Step S3 specifically includes: looping through the attribute table of the current vehicle, judging the location of each data in the current vehicle attribute table according to the unique value configured in the "region priority rule" and the geometric information of the "loading and unloading area electronic fence", adding a "current location" attribute to the data and assigning a value; judging each latitude and longitude information in the current vehicle attribute table to determine whether it is within the designated electronic fence, if it is within the loading area electronic fence, assigning a positive value, if it is within the unloading area electronic fence, assigning a negative value, if it is within the agreed "special rule" area, assigning a special value, and if it is not in any electronic fence area, assigning a value of 0; the larger the absolute value of the specified value, the higher the regional priority. The positive and negative values are certain preset values, for example, all positive values are 1, and all negative values are -1, and the values are set according to actual needs. For example, if one of the loading area electronic fences is assigned a value of 1, and if the other loading area electronic fence is assigned a value of 2, the larger the absolute value of the specified value, the higher the priority of the electronic fence area. For example, if the electronic fence of one unloading area is used, the value is -3, and if the electronic fence of the other unloading area is used, the value is -4. Based on the "current position" attribute, the data of the "current vehicle attribute table" are grouped, and the values with the same continuous values are grouped together. Do not record continuous 0 values. At the same time, two more attributes "start time" and "end time" are added to the "current vehicle attribute table" to record the time when the vehicle enters the loading and unloading area. The values of the two attributes are the time of the first data and the time of the last data in each group respectively; Difference is made between the "start time" and "end time" attributes added in the previous step to obtain the continuous combination of each group of data and the "effective duration rule". Determine whether each group of data after grouping meets the restriction requirements of the "effective duration rule". If it meets the requirements, the group is regarded as a valid group, and if it does not meet the requirements, it is regarded as an invalid group. The group is eliminated and not included in subsequent calculations.
[0026] Step S4 specifically includes: S4.1 Determine the valid work order: The vehicle trajectory from the loading area to the unloading area is regarded as a completed work order. The array after data compression in the previous step is used to simulate the vehicle trajectory. The numerical performance of a completed work order is from a positive number to a negative number. There are several pairs of such combinations in the array, and there are several valid work orders. At the same time, the four times of each work order are recorded: "entering the loading area time", "leaving the loading area time", "entering the unloading area time", and "leaving the unloading area time". The four times are the "start time" and "end time" of the group represented by the positive number and the "start time" and "end time" of the group represented by the negative number.
[0027] S4.2, but when the vehicle is actually running, it may enter the loading area and then the unloading area multiple times, or pass through multiple loading areas and then enter the unloading area. For the above special cases, first search the array in order from the first positive number that appears to the last negative number that appears as a pair, and then according to the "area priority rule", take the maximum value of the positive part of each pair and the maximum absolute value of the negative part as the actual loading area and actual unloading area of the vehicle, and record the four times at the same time as a complete work order. If the positive part or the negative part are both in the same array, it means that the vehicle has entered the loading area or unloading area multiple times due to special reasons. At this time, take the last positive part and the first negative part as the actual loading or unloading area, and record the time.
[0028] For example, a vehicle work order statistics method based on Beidou positioning data includes the following steps: Data collection and preparation: Get the real-time location information of the vehicle, the area range of the loading and unloading area, and the time interval information that needs to be calculated. These factors are necessary starting data. The specific collection and preparation steps are as follows: Vehicle Beidou: Beidou satellite data collection equipment is installed on vehicles, ships and other vehicles. According to the vehicle's driving speed and the traffic conditions in the construction area, select the appropriate data collection time interval to ensure the maximum data utilization efficiency. For example, ship-borne Beidou generally chooses to return data every 2 minutes, and vehicle-borne Beidou generally chooses to return data every 1 minute.
[0029] Electronic fence of loading and unloading area: The project department draws the loading area range and unloading area range on the map according to actual needs. Multiple loading areas and unloading areas can exist at the same time.
[0030] Calculation time interval: Enter the time interval for work order calculation according to actual needs, including start time and end time.
[0031] Judgment rule formulation: formulate constraint rules for the conditions for forming work orders based on the actual needs of the project, which are specifically divided into regional priority rules, effective time rules and special constraints.
[0032] Regional priority rule: Since there are multiple loading and unloading areas, in order to ensure the universality of the algorithm, full consideration is given to the overlap between areas and the vehicles passing through multiple loading and unloading areas. Unique numerical values are given to the loading area and unloading area to determine the priority. High priority overrides low priority to ensure that the vehicle position at each moment only exists in a uniquely determined area.
[0033] Effective time rules: According to the size of the loading and unloading area, the vehicle's running speed and the actual needs of the project, an effective time is configured for each loading and unloading area to judge the loading and unloading behavior. If the stay time is longer than the effective time of the area, it is considered to be loading and unloading. Otherwise, it is considered to pass through the area without loading and unloading, and it is not included in the calculation result.
[0034] Special constraints: Decide whether to add this constraint based on the actual needs of the project. For example, the work order is considered valid only if it must pass through a certain area or must run along a certain route.
[0035] Data sorting and sorting: Classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data in the class from early to late according to the time attribute.
[0036] Generate vehicle list: Generate a vehicle list according to the vehicle number for the vehicles within the calculation time interval, such as Figure 2 As shown, each vehicle has a vehicle attribute table including attribute information such as vehicle number, current Beidou position, current time, etc.
[0037] Data calculation: Circulate the vehicle list to perform specific logical judgment on the current vehicle work order status.
[0038] Vehicle list: loop through all vehicle lists within the calculation time range.
[0039] Whether to calculate the vehicle: If the vehicle has not been calculated, execute the next step; if the vehicle has been calculated, return to the previous step.
[0040] Current vehicle attribute table: loop through the attribute table of the current vehicle, determine the location of each data in the current vehicle attribute table according to the unique value configured in the "region priority rule" and the geometric information of the "loading and unloading area electronic fence", add a "current location" attribute to the data and assign a value. Specifically, determine whether each longitude and latitude information in the current vehicle attribute table is within the designated electronic fence. If it is within the loading area electronic fence, assign a positive value; if it is within the unloading area electronic fence, assign a negative value; if it is within the agreed "special rule" area, assign a special value; if it is not within any electronic fence area, assign a value of 0. The larger the absolute value of the specified value, the higher the regional priority.
[0041] Data grouping: Since the Beidou data obtained are short in time and data-intensive, the data is grouped to compress the data volume for subsequent calculations. Based on the "current position" attribute, the data of the "current vehicle attribute table" are grouped, and the values that are consecutively the same are grouped together. Continuous 0 values are not recorded. At the same time, two more attributes "start time" and "end time" are added to the "current vehicle attribute table" to record the time when the vehicle enters the loading and unloading area. The two attributes are assigned the time of the first data and the time of the last data in each group.
[0042] Eliminate invalid groups: Subtract the "start time" and "end time" attributes added in the previous step to obtain the "effective duration rule" for each group of data, and determine whether each group of data after grouping meets the restriction requirements of the "effective duration rule". If it meets the requirements, the group is considered a valid group, and if it does not meet the requirements, it is considered an invalid group, and the group is eliminated and not included in subsequent calculations.
[0043] Data compression: To reduce the amount of data and facilitate the determination of the vehicle's trajectory, the data is compressed. The "current position" attribute is used to simulate the vehicle's trajectory. Since the value of each group of data is the same, the same value is used to replace the group. The order of each group remains unchanged and the data is compressed. The compressed data is an array consisting of positive and negative numbers.
[0044] Determine the valid work order: The vehicle trajectory from the loading area to the unloading area is regarded as a completed work order. The array after data compression in the previous step is used to simulate the vehicle trajectory. The numerical performance of a completed work order is from a positive number to a negative number. There are several pairs of such combinations in the array, and there are several valid work orders. At the same time, the four times of each work order are recorded: "entering the loading area time", "leaving the loading area time", "entering the unloading area time", and "leaving the unloading area time". The four times are the "start time" and "end time" of the group represented by the positive number and the "start time" and "end time" of the group represented by the negative number. However, when the vehicle is actually running, it may enter the loading area and then the unloading area multiple times, or pass through multiple loading areas and then enter the unloading area. For the above special cases, first search the array in order from the first positive number to the last negative number, and then take the maximum value of the positive part and the maximum absolute value of the negative part in each pair according to the "area priority rule" as the actual loading area and actual unloading area of the vehicle, and record the four times as a complete work order. If the positive part or the negative part is the same array, it means that the vehicle enters the loading area or unloading area multiple times due to special reasons. At this time, take the last positive part and the first negative part as the actual loading or unloading area, and record the time.
[0045] The present invention also provides a vehicle work order statistics device based on Beidou positioning data, comprising: The vehicle list module is used to generate a vehicle attribute table for the vehicles within the calculation time interval according to the vehicle number. Each vehicle has a vehicle attribute table with each data including the vehicle number, current Beidou position, and current time attribute information; The vehicle position attribute assignment module is used to perform specific logical judgment on the current vehicle work order situation, and judge whether the latitude and longitude information of each data in the current vehicle attribute table is within the designated electronic fence. If it is within the electronic fence of the loading area, a positive value is assigned; if it is within the electronic fence of the unloading area, a negative value is assigned; if it is within the agreed "special rule" area, a special value is assigned; if it is not within any electronic fence area, a value of 0 is assigned; After the assignment, the data in the "current vehicle attribute table" is grouped. Since the "current position" attribute values of each group of data are consistent, the same value is used to replace the group, and the order of each group remains unchanged. The data is compressed, and the compressed data is an array composed of positive and negative numbers. The module for judging the effective work order is used to simulate the vehicle trajectory with the array after data compression, and regard the vehicle trajectory from the loading area to the unloading area as a completed work order. The numerical representation of a completed work order is from a positive number to a negative number. There are several pairs of such combinations in the array as there are several effective work orders. At the same time, the four times of each work order are recorded: "time of entering the loading area", "time of leaving the loading area", "time of entering the unloading area" and "time of leaving the unloading area". The four times are respectively the "start time" and "end time" of the group represented by the positive number and the "start time" and "end time" of the group represented by the negative number.
[0046] This device combines vehicle-mounted or ship-mounted real-time Beidou positioning data, and comprehensively considers the impact of factors such as transportation time and regional priority on work orders. By adopting this method in the construction management area, it can quickly, accurately and comprehensively obtain work order information, and grasp and supervise the construction progress.
[0047] In one embodiment, the vehicle position attribute assignment module also includes an effective duration rule submodule, which is used to make a difference between the two attributes "start time" and "end time" of the "current vehicle attribute table" to calculate the time when the vehicle enters the loading and unloading area, and obtain the continuous combination of each group of data with the "effective duration rule" to determine whether each group of data after grouping meets the restriction requirements of the "effective duration rule". If it meets the requirements, the group is regarded as a valid group, and if it does not meet the requirements, it is regarded as an invalid group, and the group is eliminated and not included in subsequent calculations. The effective duration rule is configured to configure an effective duration for each loading and unloading area according to the scale of the loading and unloading area, the vehicle running speed and the actual needs of the project, so as to judge the loading and unloading behavior.
[0048] Optionally, the device further includes: The vehicle position real-time acquisition module is used to obtain the vehicle real-time position information and loading and unloading area range information; The vehicle number classification module is used to classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data within the class according to the chronological attribute.
[0049] The above description of the embodiments is to facilitate the understanding and use of the present invention by those skilled in the art. It is obvious that those skilled in the art can easily make various modifications to these embodiments and apply the general principles described herein to other embodiments without creative work. Therefore, the present invention is not limited to the above embodiments, and improvements and modifications made by those skilled in the art based on the disclosure of the present invention without departing from the scope of the present invention should be within the protection scope of the present invention.
Claims
1. A vehicle work order statistics method based on Beidou positioning data, characterized in that: The method comprises: S1. Generate a vehicle attribute table for the vehicles within the calculation time interval according to the vehicle number. Each data in each vehicle attribute table includes the vehicle number, the current Beidou position, and the current time attribute information; S2. Circulate the vehicle attribute table to perform specific logical judgment on the current vehicle work order situation, and judge whether the latitude and longitude information of the current Beidou position of each data in the current vehicle attribute table is within the designated electronic fence. If it is within the electronic fence of the loading area, a positive value is assigned; if it is within the electronic fence of the unloading area, a negative value is assigned; if it is not within any electronic fence area, a value of 0 is assigned; S3. Group the data in the "Current Vehicle Attribute Table" and group the data with the same consecutive values. Do not record consecutive 0 values. At the same time, add two more attributes "start time" and "end time" to the "Current Vehicle Attribute Table" to record the time when the vehicle enters the loading and unloading area. The two attributes are assigned the time of the first data and the time of the last data in each group respectively. Keep the order of each group unchanged, compress the data, and the compressed data is an array composed of positive and negative numbers. Positive numbers are loading areas, and negative numbers are unloading areas. S4. Use the array compressed from the data in step S3 to simulate the vehicle trajectory. The vehicle trajectory from the loading area to the unloading area is regarded as a completed work order. The numerical representation of a completed work order is that it starts from a positive number and ends with a negative number. There are several pairs of such combinations in the array, and there are several valid work orders. At the same time, the four times of each work order are recorded: "time to enter the loading area", "time to leave the loading area", "time to enter the unloading area", and "time to leave the unloading area". The four times are "start time" and "end time" which are consecutive positive numbers in a group, and "start time" and "end time" which are consecutive negative numbers in a group.
2. The vehicle work order statistics method based on Beidou positioning data according to claim 1 is characterized in that: Before step S1, the method further includes: S01. Obtain the real-time position information of the vehicle, the range information of the loading and unloading area, and the time interval information to be calculated, where the time interval information includes the start time and the end time; S02. Classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data in the class according to the time sequence attribute.
3. The vehicle work order statistics method based on Beidou positioning data according to claim 2 is characterized in that: The steps of obtaining the real-time position information of the vehicle, the range information of the loading and unloading area, and the time interval information to be calculated, where the time interval information includes the start time and the end time, include: S01.
1. Install Beidou satellite data collection equipment on the vehicle, and set the data collection time interval based on the vehicle's driving speed and traffic conditions in the construction area to ensure maximum data utilization efficiency; S01.2, Electronic fence of loading and unloading area: Draw the range of loading area and unloading area on the map according to actual needs, and there are multiple loading areas and unloading areas at the same time; S01.
3. Calculation time interval: Enter the work order calculation start time and end time according to actual needs.
4. The vehicle work order statistics method based on Beidou positioning data according to claim 1 is characterized in that: After step S2, the method further includes: S2.
1. Considering the overlap between areas and the situation where the vehicle passes through multiple loading and unloading areas, the regional priority rules of the electronic fence of the loading and unloading area are configured as follows: the larger the absolute value of the positive and negative values, the higher the regional priority. A unique value is given to each loading area and each unloading area to determine the priority. The high priority overrides the low priority, ensuring that the vehicle position at each moment only exists in a uniquely determined area.
5. The vehicle work order statistics method based on Beidou positioning data according to claim 1 is characterized in that: Before step S4, the method further includes: The "start time" and "end time" attributes corresponding to the time of the first data and the time of the last data of each group in the previous step S3 are subtracted to obtain the continuous combination of the "effective duration rule" for each group of data, and judge whether each group of data after grouping meets the restriction requirements of the "effective duration rule". If it meets the requirements, the group is regarded as a valid group, and if it does not meet the requirements, it is regarded as an invalid group and is eliminated and not included in the subsequent calculations. Among them, the effective duration rule is configured to configure the effective duration for each loading and unloading area according to the scale of the loading and unloading area, the vehicle running speed and the actual needs of the project, which is used to judge the loading and unloading behavior.
6. The vehicle work order statistics method based on Beidou positioning data according to claim 1 is characterized in that: Step S4 also includes: When a vehicle is actually running, it may enter the loading area and then the unloading area multiple times, or pass through multiple loading areas and then enter the unloading area. First, search the array in order from the first positive number that appears to the last negative number that appears as a pair. Then, according to the "area priority rule", take the maximum value of the positive part of each pair and the maximum absolute value of the negative part as the actual loading area and actual unloading area of the vehicle. Record the four times as a complete work order. If the positive part or the negative part are the same array, it means that the vehicle has entered the loading area or unloading area multiple times. At this time, take the last positive part and the first negative part as the actual loading or unloading area, and record the time.
7. A vehicle work order statistics device based on Beidou positioning data, characterized in that: include: The vehicle list module is used to generate a vehicle attribute table for the vehicles within the calculation time interval according to the vehicle number. Each data in each vehicle attribute table includes the vehicle number, the current Beidou position, and the current time attribute information; The vehicle position attribute assignment module is used to perform specific logical judgment on the current vehicle work order situation, and judge whether the latitude and longitude information of the current Beidou position of each data in the current vehicle attribute table is within the designated electronic fence. If it is within the loading area electronic fence, a positive value is assigned; if it is within the unloading area electronic fence, a negative value is assigned; if it is not in any electronic fence area, a value of 0 is assigned; the data of the "current vehicle attribute table" after the assignment is grouped, the order of each group is kept unchanged, and the data is compressed. The compressed data is an array composed of positive and negative numbers, where positive numbers are loading areas and negative numbers are unloading areas; The module for judging valid work orders is used to simulate the trajectory of the vehicle with the array after data compression, and regard the trajectory of the vehicle from the loading area to the unloading area as a completed work order. The numerical representation of a completed work order is from a positive number to a negative number. There are several pairs of such combinations in the array, and there are several valid work orders. At the same time, the four times of each work order are recorded: "time of entering the loading area", "time of leaving the loading area", "time of entering the unloading area", and "time of leaving the unloading area". The four times are "start time" and "end time" which are consecutive identical positive numbers as a group, and "start time" and "end time" which are consecutive identical negative numbers as a group.
8. The vehicle work order statistics device based on Beidou positioning data according to claim 7 is characterized in that: Also includes: The vehicle position real-time acquisition module is used to obtain the vehicle real-time position information and loading and unloading area range information; The vehicle number classification module is used to classify the Beidou data collected within the time interval to be calculated according to the vehicle number, and sort each data within the class according to the chronological attribute.
9. The vehicle work order statistics device based on Beidou positioning data according to claim 7, characterized in that: The vehicle position attribute assignment module also includes an effective duration rule submodule, which is used to make a difference between the two attributes "start time" and "end time" of the "current vehicle attribute table" to calculate the time when the vehicle enters the loading and unloading area, and obtain the continuous combination of each group of data with the "effective duration rule", and judge whether each group of data after grouping meets the restriction requirements of the "effective duration rule". If it meets the requirements, the group is regarded as a valid group, and if it does not meet the requirements, it is regarded as an invalid group, and the group is eliminated and not included in the subsequent calculations. Among them, the effective duration rule is configured to configure an effective duration for each loading and unloading area according to the scale of the loading and unloading area, the vehicle running speed and the actual needs of the project, so as to judge the loading and unloading behavior.
Citation Information
Patent Citations
Construction management device and construction management system
CN111066056A
Sludge transportation supervision system and method based on electronic map
CN113888863A
Truck loading man-hour calculation method and device, electronic equipment and storage medium
CN114463872A
Method for automatically cleaning invalid waybills based on GPS technology
CN115829439A
Electronic fence data processing method, electronic fence system and electronic equipment
CN116578846A