A smart gas inspection and supervision method, Internet of Things system and medium
Through the smart gas inspection and supervision method and the Internet of Things system, the matching degree of inspection personnel to equipment is evaluated and tasks are allocated, which solves the problem of low efficiency of gas pipeline network inspection and realizes efficient and safe inspection and supervision.
Patent Information
- Application Number
- CN202411079320.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-07
AI Technical Summary
The existing gas pipeline network inspection method is difficult to ensure that all equipment and pipelines are inspected in place, and different equipment types require different inspection personnel, resulting in a waste of human resources and low inspection efficiency.
Use smart gas inspection supervision methods and the Internet of Things system to collect inspection records and operating data to evaluate the matching degree of inspection personnel to equipment, scientifically allocate the corresponding relationship between inspection personnel and equipment, adjust task allocation and training parameters, and improve Inspection efficiency and quality.
It improves the efficiency and quality of inspections, ensures the normal and safe operation of the gas pipeline network, reduces the waste of human resources, and enhances the scientific nature and real-time supervision capabilities of inspections.
Smart Images

Figure CN118674433B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things technology, and in particular to a smart gas inspection and supervision method, an Internet of Things system and a medium. Background Art
[0002] With the development of the gas industry, how to inspect the gas pipeline network has become an issue that cannot be ignored. Due to the wide variety of gas equipment in the gas pipeline network and stations, if one inspector inspects all the gas equipment and pipelines along the line, it is difficult to ensure that all equipment and pipelines are inspected in place; if different inspectors are specially inspected for a certain type of equipment, the number of personnel required is too large, resulting in a large waste of human resources and low inspection efficiency.
[0003] Patent CN109767513B proposes a pipeline equipment inspection method, which generates inspection recommendation information based on the surrounding road traffic condition data and the pre-stored surrounding environment conditions, equipment static health data, line high consequence area distribution data and line hidden danger status data, and the inspection personnel conduct inspections based on the inspection recommendation information. However, this method does not take into account the different familiarity of the inspection personnel with different equipment, and the inspection efficiency needs to be improved.
[0004] Therefore, it is necessary to provide a smart gas inspection and supervision method, Internet of Things system and medium, which can ensure the inspection effect while improving the inspection efficiency as much as possible to ensure the normal and safe operation of the gas pipeline network. Summary of the invention
[0005] In order to solve the problem of how to assign inspection tasks to inspection personnel to improve inspection efficiency while ensuring inspection results, this specification provides a smart gas inspection supervision method, Internet of Things system and medium.
[0006] The content of the invention includes a smart gas inspection and supervision method, which is executed by a processor in a gas company management platform of a smart gas inspection and supervision Internet of Things system. The method includes: based on the gas company inspection personnel object platform, collecting inspection record data, and storing the inspection record data in the data storage center of the gas company management platform; based on the gas company equipment object platform, obtaining the operation data of at least one inspection equipment, and storing the operation data in the data storage center of the gas company management platform, and at least one inspection equipment includes at least one type; for a type of inspection equipment, based on the inspection record data and the operation data, evaluating the inspection matching degree of the inspection personnel to the inspection equipment; based on the matching degree set, determining the inspection personnel's task allocation parameters and training parameters, and the matching degree set includes the inspection matching degree of the inspection personnel to at least one type of inspection equipment; Based on the task allocation parameters and training parameters, the first acquisition ratio of the gas company's inspection personnel object platform for the inspection record data and the second acquisition ratio of the gas company's equipment object platform for the operation data are adjusted; the inspection personnel's task execution results are sent to the government supervision and management platform; the government supervision and management platform evaluates the inspection quality of different gas companies based on the task execution results, and based on the inspection quality, adjusts the government supervision and management platform's inspection supervision parameters for different gas companies, the gas collection frequency of the gas sensor equipment, and the gas upload frequency of the gas sensor equipment; and based on the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency, generates an adjustment instruction and sends it to the gas sensor equipment.
[0007] The invention content includes a smart gas inspection and supervision Internet of Things system, which includes a gas company management platform, a gas company sensor network platform, a gas company object platform, a government supervision user platform, a government supervision service platform, a government supervision management platform, a government supervision sensor network platform and a government supervision object platform that interact in sequence. The gas company object platform includes a gas company inspection personnel object platform and a gas company equipment object platform. The gas company management platform includes a data processing sub-platform and a data storage center. The Internet of Things system is configured to perform the following operations: based on the gas company inspection personnel object platform, collect inspection record data, and the inspection record data is stored in the data storage center of the gas company management platform; based on the gas company equipment object platform, obtain the operation data of at least one inspection equipment, and the operation data is stored in the data storage center of the gas company management platform. At least one inspection equipment includes at least one type ; For one type of inspection equipment, based on the inspection record data and operation data, evaluate the inspection matching degree of the inspection personnel to the inspection equipment; based on the matching degree set, determine the task allocation parameters and training parameters of the inspection personnel, the matching degree set includes the inspection matching degree of the inspection personnel to at least one type of inspection equipment; based on the task allocation parameters and training parameters, adjust the first acquisition ratio of the inspection record data of the gas company's inspection personnel object platform, and the second acquisition ratio of the operation data of the gas company's equipment object platform; the government supervision and management platform evaluates the inspection quality of different gas companies based on the task execution results, and based on the inspection quality, adjusts the inspection supervision parameters of the government supervision and management platform for different gas companies, the gas collection frequency of the gas sensor equipment, and the gas upload frequency of the gas sensor equipment; and based on the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency, generates an adjustment instruction and sends it to the gas sensor equipment.
[0008] The invention content includes a computer-readable storage medium, which stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the smart gas inspection and supervision method as described above.
[0009] The beneficial effects brought about by the above invention content include but are not limited to: through the smart gas inspection and supervision Internet of Things system, inspection-related data is collected, and whether the inspection personnel are competent for the inspection work is judged and determined, and the correspondence between the inspection personnel and the inspection equipment is scientifically allocated, which can improve the inspection efficiency and ensure the inspection quality. At the same time, combined with the government supervision platform, the inspection situation is supervised in real time, the enthusiasm for inspection is improved, and the normal operation of the gas pipeline network is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a schematic diagram of the platform structure of the smart gas inspection and supervision Internet of Things system shown in some embodiments of this specification;
[0011] Figure 2 is an exemplary flow chart of a smart gas inspection and supervision method according to some embodiments of this specification;
[0012] Figure 3 is an exemplary flow chart for determining inspection accuracy according to some embodiments of this specification;
[0013] Figure 4 is an exemplary flow chart of determining task allocation parameters according to some embodiments of this specification;
[0014] Figure 5 It is an exemplary schematic diagram of the process of determining the inspection score based on the inspection analysis model shown in some embodiments of this specification.
[0015] In the figure, 100 is the smart gas inspection and supervision Internet of Things system, 110 is the gas company management platform, 111 is the data processing sub-platform, 112 is the data storage center, 120 is the gas company sensor network platform, 130 is the gas company object platform, 131 is the gas company inspection personnel object platform, 132 is the gas company equipment object platform, 140 is the government supervision user platform, 150 is the government supervision service platform, 160 is the government supervision management platform, 170 is the government supervision sensor network platform, 510 is the candidate inspection map group, 510-1 is the candidate inspection map, 520 is the inspection analysis model, and 530 is the inspection score. DETAILED DESCRIPTION
[0016] The following is a brief introduction to the drawings required for describing the embodiments. The drawings do not represent all implementation methods.
[0017] The "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. If other words can achieve the same purpose, the words can be replaced by other expressions.
[0018] Unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0019] When the operations performed in the embodiments of this specification are described in steps, unless otherwise specified, the order of the steps is interchangeable, steps may be omitted, and other steps may be included in the operation process.
[0020] Figure 1This is a schematic diagram of the platform structure of the smart gas inspection and supervision Internet of Things system shown in some embodiments of this specification. The smart gas inspection and supervision Internet of Things system involved in the embodiments of this specification will be described in detail below. It should be noted that the following embodiments are only used to explain this specification and do not constitute a limitation on this specification.
[0021] In some embodiments, Figure 1 As shown, the smart gas inspection and supervision Internet of Things system 100 includes a gas company management platform 110, a gas company sensor network platform 120, a gas company object platform 130, a government supervision user platform 140, a government supervision service platform 150, a government supervision management platform 160, a government supervision sensor network platform 170 and a government supervision object platform 180 which interact in sequence.
[0022] The gas company management platform 110 can be a platform that coordinates and coordinates the connections and collaborations between various functional platforms, gathers all the information of the Internet of Things, and provides perception management and control management functions for the Internet of Things operation system.
[0023] In some embodiments, the gas company management platform 110 includes a data processing sub-platform 111 and a data storage center 112 .
[0024] The data processing sub-platform 111 can be used to process data related to the smart gas inspection and supervision IoT system 100. For example, the data processing sub-platform 111 can evaluate the inspection matching degree of the inspection personnel to the inspection equipment based on the inspection record data and operation data. For more information on evaluating the inspection matching degree, see Figure 2 and its related description.
[0025] In some embodiments, the data storage center 112 can be used to store data and / or instructions related to the smart gas inspection and supervision IoT system 100. For example, the data storage center 112 can store inspection record data. In some embodiments, the data storage center 112 can exchange information with the gas company sensor network platform 120. For example, the data storage center 112 can send task allocation parameters and training parameters to the gas company sensor network platform 120, respectively, to adjust the first acquisition ratio of the gas company inspection personnel object platform 131 to the inspection record data, and the second acquisition ratio of the gas company equipment object platform 132 to the operation data.
[0026] The gas company sensor network platform 120 may be a functional platform for managing sensor communications. In some embodiments, the gas company sensor network platform 120 may implement the functions of sensing information sensor communications and controlling information sensor communications.
[0027] In some embodiments, the gas company sensor network platform 120 may be configured to interact with the gas company management platform 110 and the gas company object platform 130 .
[0028] The gas company object platform 130 may be a functional platform for sensing information generation and controlling information execution. In some embodiments, the gas company object platform 130 may include a gas company inspection personnel object platform 131 and a gas company equipment object platform 132 .
[0029] The gas company inspection personnel object platform 131 may be a platform for interacting with inspection personnel. In some embodiments, the gas company inspection personnel object platform 131 may be configured as a terminal device.
[0030] The gas company equipment object platform 132 can monitor and generate operation data of the inspection equipment. In some embodiments, the gas company equipment object platform 132 can be configured as various gas equipment, various sensors, and the like.
[0031] In some embodiments, the government regulatory user platform 140 can be called a people's user platform. In some embodiments, the gas company management platform 110 can obtain the inspection quality of different gas companies based on the government regulatory management platform 160. In some embodiments, the government regulatory management platform 160 can evaluate the inspection quality of different gas companies based on the task execution results, and based on the inspection quality, adjust the government regulatory management platform 160's inspection and supervision parameters for different gas companies, the gas collection frequency of the gas sensor equipment, and the gas upload frequency of the gas sensor equipment; and based on the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency, generate an adjustment instruction and send it to the gas sensor equipment. For more information about gas sensor equipment, see Figure 2 and its related description.
[0032] In some embodiments, the gas company management platform 110 can interact bidirectionally with the government supervision sensor network platform 170. For example, the gas company management platform 110 can send the task execution results of the inspection personnel to the government supervision management platform 160 through the government supervision sensor network platform 170.
[0033] In some embodiments of this specification, the smart gas inspection and supervision Internet of Things system 100 can form an information operation closed loop between the gas company management platform 110 and the government supervision object platform 180, and coordinate and operate regularly under the unified management of the data processing sub-platform 111 of the gas company management platform 110, thereby realizing the informatization and intelligence of gas pipeline network inspection.
[0034] Figure 2 is an exemplary flow chart of a smart gas inspection and supervision method according to some embodiments of this specification. Figure 2As shown, process 200 includes the following steps.
[0035] Step 210, based on the gas company inspection personnel object platform, collect inspection record data. In some embodiments, step 210 can be executed by a processor in the gas company management platform.
[0036] Inspection record data refers to data related to inspections, including inspection time, inspection equipment, inspection results, etc.
[0037] Inspection time refers to the time when the inspection is performed.
[0038] Inspection equipment refers to the object to be inspected. The inspection equipment may include at least one of the equipment in the gas pipeline, gas network and gas station.
[0039] Inspection results refer to the summary record of the inspection. Inspection results may include the operation status and fault status of the equipment. For example, whether the equipment is operating normally, what fault occurred, etc.
[0040] In some embodiments, the processor can collect inspection record data based on the gas company inspection personnel object platform, and store the inspection record data in the data storage center of the gas company management platform. For example, the gas company inspection personnel object platform can be configured as a terminal device. Every time the inspection personnel inspects an inspection device, they record the situation of the inspection device on the terminal device as inspection record data. The terminal device is a device for recording inspection record data. The terminal device may include a mobile phone, a computer, etc. The inspection record data can be uploaded by the terminal device to the data storage center of the gas company management platform.
[0041] Step 220, based on the gas company equipment object platform, obtain the operation data of at least one inspection equipment. In some embodiments, step 220 may be executed by a processor in the gas company management platform.
[0042] Operation data refers to the data generated by the inspection equipment during operation. Operation data may include operation log data saved by the inspection equipment itself, as well as data from sensors used to monitor the operating status of the inspection equipment. For example, data saved during the pressure regulation operation, data from pressure sensors used to monitor the pressure in the gas pipeline, etc. Among them, the inspection equipment may include different types. For example, the types of inspection equipment may include gas equipment in gas pipelines, gas equipment in gas networks, and gas equipment in gas stations, etc. Operation data is stored in the data storage center of the gas company management platform.
[0043] In some embodiments, the processor may obtain the operation data of at least one inspection device based on the gas equipment, various sensors, etc. of the gas company equipment object platform, wherein the sensor may include a pressure sensor, etc.
[0044] Step 230, for a type of inspection equipment, based on the inspection record data and the operation data, evaluate the inspection matching degree of the inspection personnel to the inspection equipment. In some embodiments, step 230 may be executed by a processor in the gas company management platform.
[0045] Inspection personnel refer to the personnel who carry out inspection work. There can be multiple inspection personnel.
[0046] The inspection matching degree refers to a parameter that characterizes the suitability of inspection personnel for inspecting different types of inspection equipment. In some embodiments, the lower the frequency and the later the time of abnormal operation of the inspection equipment after the inspection, the higher the inspection matching degree.
[0047] In some embodiments, the processor may determine the inspection matching degree based on the inspection record data and the operation data according to the operation abnormality of each type of inspection equipment after the inspection. The processor may determine the type of inspection equipment inspected by the inspector based on the inspection record data, and based on the operation data, count the frequency and time of operation abnormality of each type of inspection equipment after the inspection within the first preset time period. Among them, the operation abnormality may include a failure or failure to operate according to the preset situation. The first preset time period may be based on manual preset. For example, 7 days, etc. The processor may query the first preset table based on the frequency and time of operation abnormality of each type of inspection equipment after the inspection within the first preset time period, and determine the inspection matching degree of the inspector for each type of inspection equipment after the inspection. The first preset table includes the corresponding relationship between the frequency and time of operation abnormality of each type of inspection equipment after the inspection within the first preset time period and the inspection matching degree. The first preset table may be determined based on prior experience or historical data.
[0048] In some embodiments, the processor may evaluate the inspection accuracy of the inspection personnel on the inspection device based on the inspection record data and the operation data; and determine the inspection matching degree based on the inspection accuracy and the accuracy threshold of the inspection device.
[0049] Inspection accuracy refers to the degree of conformity between inspection results and actual conditions. The higher the inspection accuracy, the more consistent the inspection results are with the actual conditions.
[0050] In some embodiments, after the inspection, the gas company will arrange maintenance personnel to repair the inspection equipment with abnormal operation. The processor can determine the inspection accuracy based on the degree of conformity between the actual fault condition uploaded by the maintenance personnel and the fault condition in the inspection data of the inspection personnel. The actual fault condition refers to the actual abnormal condition of the inspection equipment of this type. For example, the actual degree of fault, the cause of the fault, etc. The processor can construct an actual vector based on the actual fault condition, and the elements of the actual vector include the fault condition. The processor can construct a reference vector based on the inspection result, and the elements of the reference vector include the fault condition. The processor can determine the inspection accuracy by calculating the vector distance between the actual vector and the reference vector through the second preset table. The second preset table includes the corresponding relationship between the vector distance between the actual vector and the reference vector corresponding to each type of inspection equipment and the corresponding inspection accuracy. The second preset table can be determined based on prior experience or historical data. In some embodiments, the vector distance between the actual vector and the reference vector can be negatively correlated with the inspection accuracy.
[0051] In some embodiments, the processor may also determine the inspection accuracy based on the inspection fault data and the operation fault data. For details, see Figure 3 and its related contents.
[0052] The accuracy threshold refers to the basic accuracy requirement for the inspection equipment. The accuracy threshold can be preset based on prior experience or historical data. In some embodiments, the accuracy thresholds corresponding to different inspection equipment may be different. In some embodiments, the accuracy thresholds corresponding to different types of inspection equipment may be different, and the accuracy thresholds corresponding to the same type of inspection equipment may be the same. In some cases, the setting of the accuracy threshold of the inspection equipment is not the higher the more appropriate. If the accuracy threshold is too high, it may result in too few inspection personnel meeting the requirements, too few inspection personnel being able to perform the task, and the completion of the inspection task cannot be guaranteed. For example, for inspection equipment that is not an important component, the accuracy threshold can be appropriately lowered.
[0053] In some embodiments, the processor may determine the inspection matching degree by querying a third preset table based on the difference between the inspection accuracy of each type of inspection equipment and the accuracy threshold. The third preset table includes a corresponding relationship between the difference between the inspection accuracy of each type of inspection equipment and the accuracy threshold and the inspection matching degree. The third preset table may be determined based on prior experience or historical data. In some embodiments, the difference between the inspection accuracy of the inspection equipment and the accuracy threshold is positively correlated with the inspection matching degree.
[0054] In some embodiments, the processor can determine the inspection time distribution of multiple inspection devices by inspection personnel based on the inspection record data; determine the inspection efficiency based on the inspection time distribution; and determine the inspection matching degree based on the inspection efficiency and inspection accuracy.
[0055] Inspection time distribution refers to the statistical result of the time taken to inspect each inspection device. In some embodiments, the processor can obtain the inspection time taken by the inspection personnel to inspect each inspection device based on the inspection record data to obtain the inspection time distribution. The inspection time distribution can characterize the distribution of the inspection time taken by the inspection personnel for different inspection devices.
[0056] Inspection efficiency refers to data that reflects the speed and / or uniformity of the inspection by the inspection personnel. In some embodiments, the processor can determine the inspection efficiency based on the statistical value of the inspection time distribution of the same type of inspection equipment. The statistical value may include a mean and / or a variance. For example, the processor can determine the inspection efficiency by querying the fourth preset table based on the mean inspection time corresponding to different types of inspection equipment. The fourth preset table includes the correspondence between the mean inspection time and the inspection efficiency. The fourth preset table can be determined based on prior experience or historical data. In some embodiments, the more uniform the inspection time distribution of the same type of inspection equipment is (that is, the smaller the variance is), the smaller the mean is, and the higher the inspection efficiency is.
[0057] In some embodiments, the processor may determine the inspection efficiency through an efficiency model based on the inspection device distribution, inspection time distribution, and inspection accuracy of the same type of inspection devices.
[0058] Understandably, the more dispersed the inspection equipment is, the longer it takes for the inspectors to complete the inspection, and it is not convenient for the inspectors to conduct centralized analysis of the inspection equipment, which is not conducive to finding common causes. In this case, a slightly longer inspection time does not mean that the inspection efficiency is low. Therefore, the inspection efficiency is related to the distribution of the inspection equipment. In addition, while ensuring a high inspection accuracy, the inspection time will naturally be slightly longer, so the inspection efficiency needs to be determined in combination with the inspection accuracy.
[0059] Inspection equipment distribution refers to the distribution of the same type of inspection equipment in geographical locations. Inspection equipment distribution may include the distance between inspection equipment, distribution density, etc. In some embodiments, the processor may obtain inspection equipment distribution through gas pipeline network extraction.
[0060] The efficiency model is a model used to determine the inspection efficiency. The efficiency model is a machine learning model, such as Deep Neural Networks (DNN).
[0061] The input of the efficiency model may include inspection equipment distribution, inspection time distribution and inspection accuracy; the output may include inspection efficiency.
[0062] In some embodiments, the processor can train the efficiency model through a large number of first samples with a first label. The first sample may include the sample inspection device distribution, sample inspection time distribution and sample inspection accuracy of the same type of sample inspection devices. The processor can obtain the mean inspection time of a batch of inspection devices in the historical data, in which the failure rate is lower than the failure threshold after the inspection; based on the mean, the inspection efficiency is determined by querying the fifth preset table as the first label. Among them, the failure rate refers to the probability that the inspection device that fails among the same type of inspection devices accounts for all inspection devices in the second preset time period. The second preset time period can be based on manual preset. The failure threshold refers to the critical value of the failure rate within an acceptable range. The failure threshold can be based on manual preset. Understandably, the processor selects the inspection efficiency determined by the historical data with low failure rate as the first label, which can ensure that the inspection efficiency is determined based on the premise that the inspection personnel have carefully inspected the inspection equipment, so that the determined inspection efficiency is more in line with the actual situation, avoiding the misjudgment that may occur when judging the inspection efficiency only by the inspection time (that is, using the inspection time of a batch of inspection equipment with random failure rate to determine the inspection efficiency), and improving the objectivity of the determined inspection efficiency. For example, although the inspector completed the inspection task in a short time, the subsequent failure rate of the inspection equipment was high, indicating that the inspector did not complete the task carefully, which cannot represent high inspection efficiency.
[0063] In some embodiments, the processor may input the sample inspection equipment distribution, the sample inspection time distribution, and the sample inspection accuracy into the initial efficiency model; construct a loss function based on the output of the initial efficiency model and the first label; update the parameters of the initial efficiency model based on the loss function to obtain a trained efficiency model. In some embodiments, the processor may iteratively update the parameters of the initial efficiency model based on multiple first samples so that the loss function meets preset conditions. For example, the loss function converges, or the loss function value is less than a preset value. When the loss function meets the preset conditions, the model training is completed and a trained efficiency model is obtained.
[0064] Some embodiments of the present specification predict inspection efficiency through machine learning models, which not only improves the accuracy of the output results, but also avoids judging inspection efficiency only by inspection duration by selecting historical data with lower failure rates to create training labels, thereby improving the objectivity of the output results and facilitating subsequent acquisition of more accurate inspection matching degrees.
[0065] In some embodiments, the processor may determine the inspection matching degree through weighted calculation based on the inspection efficiency and the inspection accuracy. The weights of the inspection efficiency and the inspection accuracy may be determined based on prior experience or historical data. In some embodiments, in order to ensure the normal supply of gas and gas safety, the weight corresponding to the inspection accuracy is greater than the weight corresponding to the inspection efficiency.
[0066] Some embodiments of this specification determine the inspection matching degree based on the inspection efficiency and the inspection accuracy, taking into account the impact of the inspection efficiency and the inspection accuracy on the inspection matching degree respectively, ensuring the accuracy and adaptability of the inspection matching degree as much as possible, and ensuring the rationality of the inspection supervision.
[0067] Some embodiments of this specification determine the inspection accuracy based on inspection record data and operation data, and further determine the inspection matching degree through the inspection accuracy, evaluate the consistency between the inspection results and the actual situation, and ensure the authenticity and reliability of the matching degree between the inspection personnel and the inspection equipment.
[0068] Step 240, based on the matching degree set, determine the task allocation parameters and training parameters of the inspection personnel. In some embodiments, step 240 can be executed by a processor in the gas company management platform.
[0069] The matching degree set includes the inspection matching degree of the inspection personnel to at least one type of inspection equipment.
[0070] The task allocation parameters refer to the data of the inspection equipment to which the inspection personnel are assigned. The task allocation parameters may include the type, location, quantity, etc. of the inspection equipment to which the inspection personnel are assigned. The number of the inspection equipment assigned may be multiple.
[0071] In some embodiments, for each type of inspection equipment, the processor may allocate this type of inspection equipment to the inspectors with higher inspection matching degrees according to the allocation ratio based on the inspection matching degree of each inspector for this type of inspection equipment, thereby determining the task allocation parameters. For example, the processor may sort the inspection matching degree of each inspector for this type of inspection equipment in order from large to small, and allocate this type of inspection equipment to the top three inspectors according to the allocation ratio. The processor may determine the allocation ratio based on the ratio of the inspection matching degrees of these inspectors for this type of inspection equipment, and allocate the inspection tasks of this type of inspection equipment to each inspector according to the allocation ratio. The allocation ratio refers to the ratio of the number of tasks allocated to each inspector. For example, the inspection matching degrees of the three inspectors A, B, and C for Class A inspection equipment are the top three, 10, 15, and 20 respectively, then the allocation ratio is 10:15:20=2:3:4. If there are 9 Class A inspection devices that need to be inspected at this time, A, B, and C will be allocated 2, 3, and 4 Class A inspection equipment respectively.
[0072] In some embodiments, each inspection personnel may be assigned inspection tasks for multiple types of inspection equipment.
[0073] In some embodiments, the processor can dynamically arrange inspection tasks corresponding to this type of inspection equipment for inspection personnel who have completed the training content corresponding to this type of inspection equipment but have a low inspection match degree based on training parameters and according to the training progress of each inspection personnel during a time period when no inspection tasks are scheduled.
[0074] In some embodiments, the processor can set the inspection task capacity of each inspector based on the historical data of each inspector. The inspection task capacity refers to the maximum number of tasks that each inspector can bear. When the number of tasks corresponding to the inspector reaches the inspection task capacity, the processor will no longer assign inspection tasks to him.
[0075] Training parameters refer to data related to the training of patrol inspectors. Training parameters may include the training content, training frequency, and assessment frequency of patrol inspectors.
[0076] In some embodiments, the processor may determine an inspector who has a low inspection matching degree for certain inspection equipment (for example, lower than a preset inspection matching degree, where the preset inspection matching degree may be manually set), and use the training content corresponding to the inspection equipment with a low inspection matching degree as the training content corresponding to the inspector. In some embodiments, the inspection matching degree is inversely proportional to the training frequency and the assessment frequency, respectively. The training frequency and the assessment frequency may be based on manual preset and update.
[0077] In some embodiments, the processor may determine a task allocation parameter based on the match degree set and the match degree requirement set; and determine a training parameter based on the match degree set and the task allocation parameter.
[0078] The matching requirement refers to the minimum matching degree used to determine whether the inspection personnel have the ability to undertake the inspection task of a certain inspection device or a certain type of inspection device. The matching requirement can be based on manual preset. In some embodiments, the matching requirement can be the minimum matching degree of the inspection personnel's ability to undertake the inspection task of a certain type of inspection device. In some embodiments, the matching requirement can be the minimum matching degree of the inspection personnel's ability to undertake the inspection task of a certain inspection device. The matching requirement can be expressed by numbers.
[0079] The matching requirement set may include multiple matching requirements. When the matching requirement corresponds to a certain type of inspection equipment, the matching requirement set may include the matching requirement of each type of inspection equipment in at least one type of inspection equipment; when the matching requirement corresponds to a certain inspection equipment, the matching requirement set may include the matching requirement of each inspection equipment in at least one inspection equipment.
[0080] In some embodiments, when the matching requirement set includes the matching requirement of each inspection device in at least one inspection device, the processor may determine the matching requirement based on the gas safety impact, gas usage impact and accuracy threshold of the at least one inspection device.
[0081] The gas safety impact refers to the degree of impact of the inspection equipment on gas safety. In some embodiments, the gas safety impact is determined based on the location and historical fault impact of at least one inspection equipment.
[0082] The impact of historical faults refers to the safety consequences caused by historical faults. Faults may include poisoning, gas leaks, fires, explosions and other safety accidents. Different faults correspond to different safety consequences and have different impacts. The impact of historical faults can be represented by numbers. The larger the number, the greater the safety consequences caused by the historical faults. The impact of historical faults can be based on manual presets.
[0083] In some embodiments, the gas safety impact is positively correlated with the flow of people and the impact of historical faults. In some embodiments, the processor can determine the gas safety impact by weighted calculation based on the flow of people at the location of the inspection device and the impact of historical faults. The weights corresponding to the flow of people and the impact of historical faults can be manually set.
[0084] The gas usage impact refers to the degree of impact of the inspection device on gas usage. In some embodiments, the processor can determine the gas usage impact by weighted calculation based on the gas flow through the inspection device and the number of gas users corresponding to the inspection device. The weights of the gas flow through the inspection device and the number of gas users corresponding to the inspection device can be manually preset. The number of gas users refers to the number of users of the gas supply flowing through the inspection device.
[0085] In some embodiments, the matching requirement is positively correlated with the gas safety impact, the gas usage impact, and the accuracy threshold. In some embodiments, the processor may determine the matching requirement by weighted calculation based on the gas safety impact, the gas usage impact, and the accuracy threshold. The weights corresponding to the gas safety impact, the gas usage impact, and the accuracy threshold may be manually preset.
[0086] Some embodiments of this specification determine the matching requirements based on the gas safety impact, gas usage impact and accuracy threshold, comprehensively consider the importance of the inspection equipment, determine the matching requirements accordingly, and then screen the capabilities of the inspection personnel to ensure the normal progress of the gas inspection and the normal operation of the gas pipeline network.
[0087] In some embodiments, the processor may determine the inspection devices whose inspection matching degree meets the matching degree requirement as the inspection devices that the inspection personnel may inspect.
[0088] In some embodiments, the processor can assign the inspection device to be assigned that is closest to the inspection personnel to the corresponding inspection personnel, and determine the task assignment parameters based on the assignment result. Figure 4 Related instructions.
[0089] In some embodiments, the training parameters also include training duration and training completion deadline.
[0090] The training duration refers to the duration required for training. In some embodiments, the processor may determine, based on the inspection matching degree, the training content corresponding to the inspection equipment whose inspection matching degree does not meet the matching degree requirements as the training content required by the inspection personnel, and determine the training duration by querying the sixth preset table based on the difference between the inspection matching degree and the matching degree threshold. The matching degree threshold may be based on manual preset. The sixth preset table includes the correspondence between the difference between the inspection matching degree and the matching degree threshold and the training duration. The sixth preset table may be determined based on prior experience or historical data. In some embodiments, the inspection matching degree is negatively correlated with the training duration.
[0091] The training completion deadline refers to the latest time to complete the training content. In some embodiments, the processor can use the time before the inspection equipment corresponding to the inspection training content is inspected as the training completion deadline based on the task allocation parameters.
[0092] Some embodiments of this specification determine task allocation parameters through a matching degree set and a matching degree requirement set, and then determine training parameters, which can ensure that the inspection tasks corresponding to the inspection equipment are correctly allocated, ensure that the inspection personnel assigned to the tasks are capable of completing the inspection tasks with high quality, and ensure the normal operation of the gas pipeline network.
[0093] Step 250, based on the task allocation parameters and the training parameters, adjust the first acquisition ratio of the gas company inspection personnel object platform to the inspection record data and the second acquisition ratio of the gas company equipment object platform to the operation data. In some embodiments, step 250 can be performed by a processor in the gas company management platform.
[0094] The first acquisition ratio refers to the acquisition ratio of the inspection record data by the gas company's inspection personnel object platform. The first acquisition ratio can be based on manual presets. In some embodiments, for each inspection personnel, the processor can adjust the first acquisition ratio based on task allocation parameters and training parameters. The more and more important the training content is, the first acquisition ratio corresponding to the inspection record data and operation data of the inspection equipment should be appropriately increased to accurately evaluate the changes in the inspection matching degree of the inspection personnel for these key training and practice inspection equipment. For example, the processor can determine the importance of training based on the number and importance of training content, and determine the adjusted first acquisition ratio based on the importance of training. The importance of training is a numerical value used to reflect the importance of training. In some embodiments, the processor can determine the importance of training based on the number and importance of training content by querying the seventh preset table. The seventh preset table may include the corresponding relationship between the number and weight of training content and the importance of training. The seventh preset table can be based on manual presets.
[0095] In some embodiments, the processor may determine the adjusted first acquisition ratio based on the ratio of the training importance of different inspection equipment to the inspection personnel. For example, the training importance of inspection personnel A to inspection equipment a, b, and c is 2, 3, and 4, respectively, that is, the training importance ratio of a, b, and c is 2:3:4, then the processor may determine the adjusted first acquisition ratio to be 2:3:4.
[0096] The second acquisition ratio refers to the acquisition ratio of the gas company's equipment object platform to the operating data. The second acquisition ratio can be based on manual preset. In some embodiments, for each type of inspection equipment, the processor can adjust the second acquisition ratio based on the average inspection matching degree of the inspection personnel who inspected the type of inspection equipment. For inspection equipment with a low average inspection matching degree, it is necessary to obtain more operating data to determine whether the inspection situation is consistent with the actual operating situation.
[0097] In some embodiments, the processor may determine the second acquisition ratio of the operating data based on the ratio of the reciprocal of the average value of the inspection matching degree. For example, the processor may use the ratio of the reciprocal of the average value of the inspection matching degree as the corresponding second acquisition ratio of the operating data.
[0098] Step 260, sending the task execution results of the inspection personnel to the government supervision management platform. In some embodiments, step 260 can be executed by a processor in the gas company management platform.
[0099] The task execution result refers to the situation in which the inspection personnel complete the inspection task. The task execution result may include the inspection time, inspection results, status record data, etc. of each inspection device. Status record data refers to the data recorded by the inspection personnel on the status of the inspection device. For example, the operating status, appearance status, etc. The status record data can be in the form of text, image or video.
[0100] In some embodiments, the processor may obtain the task execution results uploaded by the inspection personnel through the terminal device, and send the task execution results to the government supervision and management platform.
[0101] In step 270, the government supervision management platform evaluates the inspection quality of different gas companies based on the task execution results, and adjusts the inspection supervision parameters of the government supervision management platform for different gas companies, the gas collection frequency of the gas sensor equipment, and the gas upload frequency of the gas sensor equipment based on the inspection quality. In some embodiments, step 270 can be performed by the government supervision management platform.
[0102] Inspection quality refers to the quality of inspection tasks, such as inspection seriousness and completeness of information.
[0103] Inspection seriousness refers to the seriousness of the inspection personnel when inspecting the inspection equipment. The seriousness of the inspection can be expressed in numbers. In some embodiments, the government supervision and management platform can determine the inspection quality based on historical data. For example, the government supervision and management platform can determine the reference inspection time of different types of inspection equipment based on historical inspection records; calculate the difference between the inspection time in the task execution result and the reference inspection time. If the difference is less than the reference time threshold, the inspection time is too short, and it is judged that the inspection seriousness of the inspection personnel is insufficient. Among them, the reference inspection time corresponding to each type of inspection equipment can be the average value of each inspection time in the historical inspection record. The reference time threshold refers to the maximum value of the difference between the inspection time in the task execution result and the reference inspection time within an acceptable range. The reference time threshold can be based on manual preset. The government supervision and management platform can determine the inspection seriousness based on the difference between the inspection time in the task execution result and the reference inspection time by querying the eighth preset table. The eighth preset table may include the corresponding relationship between the difference between the inspection time in the task execution result and the reference inspection time and the inspection seriousness. The ninth preset table may be determined based on prior experience or historical data.
[0104] The degree of data completeness refers to whether the data uploaded by the inspectors after completing the inspection is complete. In some embodiments, the government supervision and management platform can identify whether the inspection data uploaded by the inspectors is complete based on the data requirement list. The data requirement list refers to a preset list of data required to be uploaded. For example, the data requirement list may include photos of the appearance of the inspection equipment, videos in operation, photos and text descriptions of the fault site, etc. In some embodiments, the degree of data completeness may be negatively correlated with the amount of data omitted by the inspectors. For example, the government supervision and management platform may determine the reciprocal of the amount of data omitted by the inspectors as the degree of data completeness. When the amount of data omitted by the inspectors is 0, the degree of data completeness may be set to 2.
[0105] In some embodiments, the government supervision management platform determines the inspection quality by weighted calculation based on the inspection seriousness and the degree of completeness of the information. The weights corresponding to the inspection seriousness and the degree of completeness of the information can be manually preset.
[0106] Inspection supervision parameters refer to the parameters for supervising the task execution results of different gas companies. Inspection supervision parameters may include supervision frequency and supervision ratio, etc.
[0107] The supervision frequency refers to the frequency with which the government supervision management platform supervises the task execution results of different gas companies. The supervision ratio refers to the ratio of the government supervision management platform to supervise the task execution results of different gas companies.
[0108] In some embodiments, the government supervision management platform can adjust the preset inspection supervision parameters based on the inspection quality to determine the inspection supervision parameters. For example, if in a gas company, the inspection equipment whose inspection quality does not meet the quality requirements exceeds the low-quality ratio threshold, it is necessary to appropriately increase the preset inspection supervision parameters for the gas company. Quality requirements refer to the minimum requirements that need to be guaranteed for inspection quality. The low-quality ratio threshold refers to the maximum value of the proportion of inspection equipment whose inspection quality does not meet the quality requirements to all inspection equipment of the gas company. Quality requirements and low-quality ratio thresholds can be based on manual presets.
[0109] The gas collection frequency refers to the frequency of collecting gas data corresponding to multiple inspection devices, etc. The gas data may include the operation data of the gas equipment, the gas pressure and flow rate of the gas transported through the inspection device, and other data.
[0110] Gas upload frequency refers to the frequency of uploading gas data to the gas company management platform or the government regulatory management platform.
[0111] In some embodiments, the government regulatory management platform can determine the gas collection frequency and the gas upload frequency by querying the ninth preset table based on the overall inspection quality of the gas company.
[0112] The overall situation of the inspection quality may be a statistical value of the inspection quality corresponding to all inspection equipment inspected by the gas company, for example, an average value or a mode.
[0113] The ninth preset table includes the corresponding relationship between the overall situation of the inspection quality and the gas collection frequency and the gas upload frequency. The ninth preset table can be determined based on prior experience or historical data.
[0114] In some embodiments, the government regulatory management platform can adjust the gas collection frequency and gas upload frequency through the gas sensor device. The gas sensor device can be connected to the inspection device and the gateway device of the sensor that monitors the inspection device, for example, the gas company sensor network platform. The gas sensor device can control the inspection device and / or sensor to collect gas data or upload the gas data to the government regulatory management platform based on the gas collection frequency and gas upload frequency.
[0115] Step 280: Generate an adjustment instruction based on the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency, and send it to the gas sensor device. In some embodiments, step 280 may be performed by a government supervision management platform.
[0116] The adjustment instruction refers to a computer instruction that controls the gas sensing device to adjust the gas collection frequency and the gas upload frequency. The adjustment instruction may include the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency.
[0117] Some embodiments of this specification use a smart gas inspection and supervision Internet of Things system to collect inspection-related data, judge and determine whether the inspection personnel are competent for the inspection work, and scientifically allocate the correspondence between the inspection personnel and the inspection equipment, which can improve the inspection efficiency and ensure the inspection quality. At the same time, combined with the government supervision platform, the inspection situation can be supervised in real time, the enthusiasm for inspection can be improved, and the normal operation of the gas pipeline network can be guaranteed.
[0118] Figure 3 is an exemplary flow chart for determining inspection accuracy according to some embodiments of this specification. Figure 3 As shown, the process 300 includes the following steps. In some embodiments, the process 300 can be executed by a processor in a gas company management platform.
[0119] Step 310: Obtain inspection fault data of the inspection equipment based on the inspection record data.
[0120] Inspection fault data refers to data on fault conditions found during the inspection process. In some embodiments, the inspection fault data may include data such as the location of the fault, the degree of the fault, and the degree of impact on gas supply and gas safety.
[0121] In some embodiments, the processor may filter the inspection record data to obtain inspection fault data.
[0122] Step 320: Acquire abnormal operation data based on the operation data.
[0123] Abnormal operating data refers to operating data outside the reference operating data interval, including abnormal pressure operating data, abnormal flow rate operating data, etc. Among them, the reference operating data interval refers to the reference interval in which the operating data remains normal, and the reference operating data interval of different inspection equipment can be set based on historical data. In some embodiments, the processor can compare the operating data with the reference operating data interval and determine the operating data outside the reference operating data interval as abnormal operating data. For example, the reference pressure interval of a gas pipeline is 0.2MPa~0.4MPa. If the pressure data of the gas pipeline is 0.1MPa, the processor determines the data as abnormal operating data.
[0124] Step 330: Based on the abnormal operation data, the operation fault data of the inspection equipment is determined by using an abnormality judgment model.
[0125] Operation fault data refers to fault data obtained by judging based on abnormal operation data in the operation data. In some embodiments, the type of operation fault data may be the same as the type of inspection fault data, and the specific content is as described above.
[0126] The abnormality judgment model is a model used to determine the operation fault data of the inspection equipment. In some embodiments, the abnormality judgment model can be a deep neural network model (Deep Neural Network, DNN) and the like.
[0127] The input of the abnormality judgment model may include abnormal operation data, reference operation data interval and inspection equipment data, and the output may be operation fault data.
[0128] Inspection equipment data refers to data related to inspection equipment. In some embodiments, the inspection equipment data includes inspection equipment type, location, gas flow, etc.
[0129] In some embodiments, the processor may obtain an abnormality judgment model through training based on a plurality of second training samples with second labels. For example, the processor may input the second training sample into the initial abnormality judgment model, construct a loss function according to the output of the initial abnormality judgment model and the second label, and update the parameters of the initial abnormality judgment model based on the loss function to obtain a trained abnormality judgment model.
[0130] The second training sample may include sample abnormal operation data, sample reference operation data and sample inspection equipment data. The second training sample may be determined based on historical data. The second label may be actual fault data corresponding to the second training sample. The second label may be obtained based on data of actual maintenance of the inspection equipment.
[0131] In some embodiments, the processor may iteratively update the parameters of the initial abnormality judgment model based on a method such as a gradient descent method so that the loss function meets a preset condition. For example, the loss function converges, or the loss function value is less than a preset value. When the loss function meets the preset condition, the model training is completed, and a trained abnormality judgment model is obtained.
[0132] Step 340, determining the inspection accuracy based on the inspection fault data and the operation fault data.
[0133] In some embodiments, the processor may determine the degree of conformity based on the similarity between the inspection fault data and the operation fault data, or the proportion of data that conforms between the inspection fault data and the operation fault data. Further, the processor may calculate the average value of the degree of conformity between the inspection fault data and the operation fault data of multiple inspection devices of the same type as the inspection accuracy. For example, the processor may vectorize the inspection fault data and the operation fault data, and obtain the similarity between the inspection fault data and the operation fault data by calculating the distance between the vectors, wherein the elements of the vector include the fault point, the fault degree, and the degree of influence on the gas supply and gas safety. For example, the vector of the inspection fault data may be [(fault point 1, fault degree 1, degree of influence on gas supply 1, degree of influence on gas safety 1), (fault point 2, fault degree 2, degree of influence on gas supply 2, degree of influence on gas safety 2) ...]; the distance includes but is not limited to the cosine distance, the Euclidean distance, etc.; the distance is negatively correlated with the similarity. Exemplarily, the processor may determine the reciprocal of the distance between the vectors as the similarity between the inspection fault data and the operation fault data. In some embodiments, the data that matches the inspection fault data and the operational fault data refers to the data that matches the inspection fault data and the operational fault data. The processor can count the proportion of the number of matching data to the total number of data to determine the proportion of matching data. Among them, the number of matching data refers to the number of fault points in the inspection fault data and the operational fault data that are consistent in the fault point, fault degree, and degree of impact on gas supply and gas safety; the total number of data refers to the average of the number of fault points in the inspection fault data and the number of fault points in the operational fault data.
[0134] In some embodiments, the inspection accuracy is also related to the fault hiding depth and gas flow rate of the plurality of inspection devices.
[0135] Fault hiding depth refers to the difficulty for inspectors to directly observe the fault point. The deeper the fault hiding depth, the more difficult it is for inspectors to directly observe the fault point. The fault hiding depth can be represented by a number between 0 and 10.
[0136] In some embodiments, the inspection personnel may determine the fault hidden depth based on the number of parts that need to be disassembled to view the fault location. For example, the processor may use the number of parts that need to be disassembled to view the fault location as the fault hidden depth. The number of parts that need to be disassembled to view the fault location may be positively correlated with the fault hidden depth.
[0137] The gas flow rate refers to the volume of gas flowing through a certain inspection device per unit time. In some embodiments, the gas flow rate can be measured by various gas flow meters.
[0138] In some embodiments, the processor may determine the weights of multiple inspection devices based on the fault hiding depth and the gas flow rate; and determine the inspection accuracy based on the weights of multiple inspection devices, inspection fault data, and operation fault data. In some embodiments, the processor may calculate the inspection accuracy using the following formula (1):
[0139] (1)
[0140] in, For inspection accuracy; For the The weight of each inspection device; For the The degree of conformity between the inspection fault data and the operational fault data of each inspection equipment; The total number of inspection devices.
[0141] In some embodiments, the weight of the inspection equipment is positively correlated with the depth of hidden faults and the gas flow rate. For inspection equipment with a high hidden fault depth, if the inspection personnel can also make a relatively accurate judgment, it means that the inspection personnel are more familiar with this type of inspection equipment, so the weight of the inspection equipment can be increased to improve the inspection accuracy; for inspection equipment with a large gas flow rate, the weight of the inspection equipment can be increased to increase its importance. In some embodiments, the processor can determine the weight of the inspection equipment based on the hidden fault depth and the gas flow rate by querying the tenth preset table. Among them, the tenth preset table includes the corresponding relationship between the hidden fault depth, the gas flow rate and the weight of the inspection equipment, and the tenth preset table can be determined based on historical experience.
[0142] In some embodiments of this specification, when determining the inspection accuracy, the fault hidden depth and the gas flow rate are taken into consideration, and the accurate inspection accuracy can be determined, so that the work level of the inspection personnel can be accurately evaluated and corresponding adjustments can be made in time to improve the inspection effect.
[0143] In some embodiments of the present specification, the operational fault data of the inspection equipment is determined through an abnormal judgment model; and weighted processing is performed based on the inspection fault data and operational fault data of multiple inspection equipment, so that accurate inspection accuracy can be determined, which helps to increase the possibility of inspection personnel discovering faults and ensure the normal and safe operation of the gas pipeline network.
[0144] The embodiments in this specification are only for illustration and description, and do not limit the scope of application of this specification. For those skilled in the art, various modifications and changes that can be made under the guidance of this specification are still within the scope of this specification.
[0145] Figure 4 FIG. 1 is an exemplary flow chart of determining task allocation parameters according to some embodiments of this specification. Figure 4 As shown, the process 400 includes the following steps. In some embodiments, the process 400 can be executed by a processor in a gas company management platform.
[0146] Step 410: Generate at least one set of candidate allocation parameters based on the inspection equipment to be allocated and the matching degree set. Figure 2 and its related contents.
[0147] The inspection equipment to be assigned refers to the inspection equipment that needs to be assigned to the inspection personnel for inspection.
[0148] The candidate allocation parameters refer to the optional allocation methods of the inspection tasks, and may include the inspection personnel assigned to each inspection device to be assigned.
[0149] In some embodiments, the processor may sort the inspection matching degree of each inspector to the type of inspection equipment in descending order, and allocate the type of inspection equipment to the top n inspectors according to the allocation ratio, thereby determining at least one set of candidate allocation parameters. Where n is a positive integer. For a detailed description of obtaining task allocation parameters, please refer to Figure 2 and its related contents.
[0150] Step 420 : estimating an inspection score of at least one set of candidate allocation parameters based on at least one set of candidate allocation parameters.
[0151] The inspection score refers to a parameter that characterizes the evaluation of the candidate allocation parameters. The higher the inspection score, the more likely the corresponding candidate allocation parameter is to be used as the task allocation parameter. In some embodiments, the processor can determine the inspection score based on the overall matching degree. The processor can calculate the overall matching degree of all inspection devices to be assigned based on the inspection matching degree of each type of inspection equipment by the inspection personnel, and use the overall matching degree as the inspection score.
[0152] The overall matching degree refers to the overall situation of the inspection matching degree of each inspector for the assigned inspection equipment. In some embodiments, the overall matching degree can be the cumulative value of the inspection matching degree of each inspector for the assigned inspection equipment. For example, the inspection equipment assigned to inspector A is A and B, and the inspection equipment assigned to inspector B is A and C. The overall matching degree is the sum of the inspection matching degree of A and A, the inspection matching degree of A and B, the inspection matching degree of B and A, and the inspection matching degree of B and C.
[0153] In some embodiments, the processor may determine the inspection score through the inspection analysis model based on the candidate analysis graph group. For more details, see Figure 5 and its related contents.
[0154] Step 430 , performing at least one round of iterative updating based on the inspection score until the iteration completion condition is met, and determining the target allocation parameter.
[0155] The target allocation parameter refers to the allocation method of the final inspection task.
[0156] In some embodiments, the processor may generate a candidate allocation parameter set, perform at least one round of iterative updates on the candidate allocation parameter set based on the inspection score, until the iteration completion condition is met, and determine the target allocation parameter. For example, the processor may determine the target allocation parameter through steps S1-S4.
[0157] The candidate allocation parameter set includes at least one set of candidate allocation parameters.
[0158] Step S1: Generate at least one set of new candidate allocation parameters, and add the at least one set of new candidate allocation parameters to a candidate allocation parameter set.
[0159] In some embodiments, the processor may select a candidate allocation parameter from the candidate allocation parameter set based on the patrol score. A candidate with a higher patrol score has a greater probability of being selected.
[0160] In some embodiments, the processor pairs the candidate allocation parameters in the candidate allocation parameter set in pairs (e.g., randomly pairs), and performs a crossover operation on the two paired candidate allocation parameters to obtain two new candidate allocation parameters. The crossover operation refers to exchanging the inspection devices corresponding to the paired candidate allocation parameters to generate two new candidate allocation parameters.
[0161] Step S2: Calculate the inspection score of the new candidate allocation parameter.
[0162] In some embodiments, the processor may calculate the inspection score corresponding to the candidate allocation parameters in the candidate allocation parameter set. For details on calculating the inspection score, please refer to step 420 and related contents above.
[0163] Step S3: Select candidate allocation parameters to determine an updated candidate allocation parameter set.
[0164] In some embodiments, the processor may sort the candidate allocation parameters in the candidate allocation parameter set from high to low according to their corresponding inspection scores, and eliminate the candidate allocation parameters from the last until the total number of candidate allocation parameters in the updated candidate allocation parameter set is the same as the original candidate allocation parameter set.
[0165] Step S4: Determine whether the iteration completion condition is met.
[0166] The iteration completion condition refers to the condition used to determine whether the iteration optimization is completed. For example, the number of iterations reaches the maximum value, or a candidate allocation parameter appears whose inspection score meets the score threshold. The score threshold can be set manually.
[0167] In some embodiments, in response to the iteration completion condition being met, the processor may determine the target allocation parameter by executing step S5. In some embodiments, in response to the iteration completion condition not being met, the processor may continue to execute steps S1 to S4.
[0168] S5: Determine target allocation parameters.
[0169] In some embodiments, in response to satisfying an iteration completion condition, the iteration update ends, and the processor may use the candidate allocation parameter with the highest inspection score as the target allocation parameter.
[0170] Step 440: Determine the task allocation parameters based on the target allocation parameters.
[0171] In some embodiments, the processor may obtain the inspection equipment assigned to each inspection personnel through the target allocation parameters, and further determine the task allocation parameters of each inspection personnel.
[0172] In some embodiments of the present specification, the processor determines the optimal candidate allocation parameters by iteratively optimizing the candidate allocation parameter set, and can globally search for the optimized candidate allocation parameter set to avoid the candidate allocation parameters in the optimized candidate allocation parameter set tending to the local optimum; by determining the target allocation parameters through the optimized candidate allocation parameter set, the most suitable target allocation parameters can be obtained.
[0173] Figure 5 It is an exemplary schematic diagram of the process of determining the inspection score based on the inspection analysis model shown in some embodiments of this specification.
[0174] In some embodiments, for a set of candidate allocation parameters, the processor can construct a candidate analysis graph group 510 based on the candidate allocation parameters, the candidate analysis graph group 510 includes multiple patrol personnel, and the candidate analysis graph group 510 includes candidate inspection graphs 510-1 corresponding to the multiple patrol personnel; and based on the candidate analysis graph group 510, determine the inspection score 530 through the inspection analysis model 520.
[0175] For detailed description of candidate allocation parameters and inspection score 530, see Figure 4 and its related contents.
[0176] The candidate analysis graph group 510 includes candidate inspection graphs 510-1 corresponding to multiple inspection personnel. In some embodiments, the processor may construct candidate inspection graphs 510-1 corresponding to multiple inspection personnel based on the candidate allocation parameters.
[0177] The candidate inspection graph 510-1 is a directed graph used to represent the association relationship of the inspection equipment. Figure 5 As shown, the candidate inspection graph 510-1 may include multiple inspection devices and other features. The candidate inspection graph 510-1 may include nodes and edges.
[0178] In some embodiments, the node includes the inspection equipment corresponding to the inspection personnel. In some embodiments, the attributes of the node include the type of inspection equipment, the location of the inspection equipment, the inspection accuracy of the inspection personnel on the inspection equipment, and the inspection efficiency. For detailed descriptions of inspection equipment, inspection personnel, inspection accuracy, and inspection efficiency, please refer to Figure 2 and its related contents.
[0179] In some embodiments, the edge may be a directed edge. In some embodiments, the edge includes a line between two adjacent nodes on the inspection path.
[0180] In some embodiments, the attribute of an edge includes a traffic distance between two nodes corresponding to the edge.
[0181] In some embodiments, the direction of the edge is determined based on the inspection order of the inspection path. In some embodiments, the inspection order can be automatically generated by a computer according to the shortest path principle. For example, Figure 5 As shown, there is a directed edge from inspection device 1 to inspection device 2, which means that the inspection order is to inspect inspection device 1 first and then inspection device 2.
[0182] Understandably, the correlation between multiple inspection devices inspected continuously by the inspectors will affect the accuracy of the inspection score. For example, after inspectors inspect multiple inspection devices of the same type, they may find more problems based on common features or combined experience, resulting in an inspection accuracy higher than the previously determined inspection accuracy. For another example, after inspectors inspect multiple inspection devices of the same type, they may be affected by the previous inspection devices, leading to misjudgment of the subsequent inspection devices, resulting in reduced inspection accuracy. Therefore, it is more accurate to construct the inspection analysis chart group here and use the model prediction.
[0183] The inspection analysis model 520 is a model used to determine the inspection score 530. The inspection analysis model 520 is a machine learning model, such as a graph neural network (GNN).
[0184] In some embodiments, the input of the inspection analysis model 520 may include the candidate analysis graph group 510 ; the output may include the inspection score 530 .
[0185] In some embodiments, the inspection analysis model 520 can be obtained by training multiple third samples with third labels. The third sample can be a sample candidate analysis graph group constructed based on historical data. The third label can be an inspection score corresponding to the actual completion effect of the inspection equipment in the sample candidate analysis graph group.
[0186] The actual completion effect refers to the situation in which the inspection personnel actually complete the inspection task after the inspection equipment is assigned to the inspection personnel according to the candidate allocation parameters. The actual completion effect may include the number of unidentified faults that occurred within the third preset time period after the inspection personnel actually completed the inspection task; and the time taken to complete all inspection tasks. Among them, unidentified faults refer to faults that the inspection personnel did not find during the inspection. The third preset time period can be based on manual preset. In some embodiments, the processor can perform a weighted calculation on the number of unidentified faults and the time taken by the inspection personnel to complete all inspection tasks, and determine the calculation result as the inspection score, and then determine it as the second label.
[0187] In some embodiments, the processor may input a plurality of third samples with third labels into the initial inspection analysis model, construct a loss function through the third labels and the results of the initial inspection analysis model, and iteratively update the parameters of the initial inspection analysis model based on the loss function. When the loss function of the initial inspection analysis model meets the preset conditions, the model training is completed and a trained inspection analysis model is obtained. The preset conditions may be that the loss function converges, the number of iterations reaches a threshold, etc.
[0188] Some embodiments of this specification use an inspection analysis model to determine an inspection score, which can improve the accuracy and efficiency of the output results; at the same time, by using a candidate inspection map, the correlation relationship between multiple inspection devices can be reflected, thereby improving the accuracy of the predicted inspection score.
[0189] Some embodiments of the present specification provide a computer-readable storage medium, which stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the smart gas inspection and supervision method as described above.
[0190] Furthermore, certain features, structures or characteristics in one or more embodiments of this specification may be appropriately combined.
[0191] If there is any inconsistency or conflict between the descriptions, definitions, and / or usage of terms in the materials cited in this specification and the contents described in this specification, the descriptions, definitions, and / or usage of terms in this specification shall prevail.
Claims
1. A smart gas inspection and supervision method, characterized in that: The method is executed by a processor in a gas company management platform of a smart gas inspection and supervision Internet of Things system, and the method includes: Based on the gas company inspection personnel object platform, the inspection record data is collected, and the inspection record data is stored in the data storage center of the gas company management platform; Based on the gas company equipment object platform, obtaining operation data of at least one inspection equipment, wherein the operation data is stored in a data storage center of the gas company management platform, and the at least one inspection equipment includes at least one type; For a type of inspection equipment, based on the inspection record data and the operation data, evaluating the inspection matching degree of the inspection personnel to the inspection equipment; Determining task allocation parameters and training parameters of the inspection personnel based on a matching degree set, wherein the matching degree set includes an inspection matching degree of the inspection personnel to the at least one type of inspection equipment; Based on the task allocation parameters and the training parameters, adjusting a first acquisition ratio of the inspection record data by the gas company inspection personnel object platform and a second acquisition ratio of the operation data by the gas company equipment object platform; Sending the inspection personnel's task execution results to the government supervision and management platform; The government supervision and management platform evaluates the inspection quality of different gas companies based on the task execution results, and adjusts the inspection and supervision parameters of the government supervision and management platform for different gas companies, the gas collection frequency of the gas sensor equipment, and the gas upload frequency of the gas sensor equipment based on the inspection quality; and Based on the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency, an adjustment instruction is generated and sent to the gas sensing device.
2. The method according to claim 1, characterized in that For a type of inspection equipment, based on the inspection record data and the operation data, evaluating the inspection matching degree of the inspection personnel to the inspection equipment includes: Based on the inspection record data and the operation data, evaluating the inspection accuracy of the inspection personnel on the inspection equipment; and The inspection matching degree is determined based on the inspection accuracy and an accuracy threshold of the inspection device.
3. The method according to claim 2, characterized in that The inspection device includes a plurality of devices, and the determining the inspection matching degree based on the inspection accuracy and the accuracy threshold of the inspection device includes: Based on the inspection record data, determining the inspection time distribution of the inspection personnel on the plurality of inspection devices; Determining inspection efficiency based on the inspection duration distribution; and The inspection matching degree is determined based on the inspection efficiency and the inspection accuracy.
4. The method according to claim 1, characterized in that: The determining of the task allocation parameters and training parameters of the inspection personnel based on the matching degree set includes: Determining the task allocation parameters based on the matching degree set and the matching degree requirement set; and The training parameters are determined based on the matching degree set and the task allocation parameters, and the training parameters include a training duration and a training completion deadline.
5. The method according to claim 4, characterized in that The matching degree requirement set includes a matching degree requirement of each inspection device in the at least one inspection device, and determining the matching degree requirement includes: The matching requirement is determined based on the gas safety impact, gas usage impact and accuracy threshold of the at least one inspection device, wherein the gas safety impact is determined based on the location and historical fault impact of the at least one inspection device; the gas usage impact is determined based on the gas flow and the number of gas users corresponding to the at least one inspection device.
6. The method according to claim 4, characterized in that The determining the task allocation parameter based on the matching degree set and the matching degree requirement set includes: Based on the inspection equipment to be assigned and the matching degree set, generating at least one set of candidate assignment parameters; estimating an inspection score of at least one set of candidate allocation parameters based on the at least one set of candidate allocation parameters; Perform at least one round of iterative updating based on the inspection score until an iteration completion condition is met to determine a target allocation parameter; and Based on the target allocation parameter, the task allocation parameter is determined.
7. The method according to claim 6, characterized in that The estimating the inspection score of at least one set of candidate allocation parameters based on the at least one set of candidate allocation parameters comprises: For a set of candidate allocation parameters, Based on the candidate allocation parameters, a candidate analysis graph group is constructed, the patrol personnel include multiple patrol personnel, and the candidate analysis graph group includes multiple candidate patrol graphs corresponding to the patrol personnel; for one patrol personnel, the candidate patrol graph is composed of nodes and edges, the node includes the patrol equipment corresponding to the patrol personnel, the attributes of the node include the type of the patrol equipment, the location of the patrol equipment, the patrol accuracy of the patrol personnel on the patrol equipment, and the patrol efficiency, the edge includes the connection between two adjacent nodes on the patrol path, the attributes of the edge include the traffic distance between the two nodes corresponding to the edge, and the direction of the edge is determined based on the patrol order of the patrol path; and Based on the candidate analysis graph group, the inspection score is determined through an inspection analysis model, and the inspection analysis model is a machine learning model.
8. A smart gas inspection and supervision Internet of Things system, characterized in that: The Internet of Things system includes a gas company management platform, a gas company sensor network platform, a gas company object platform, a government supervision user platform, a government supervision service platform, a government supervision management platform, a government supervision sensor network platform and a government supervision object platform that interact in sequence. The gas company object platform includes a gas company inspection personnel object platform and a gas company equipment object platform. The gas company management platform includes a data processing sub-platform and a data storage center. The Internet of Things system is configured to perform the following operations: Based on the gas company inspection personnel object platform, inspection record data is collected, and the inspection record data is stored in the data storage center of the gas company management platform; Based on the gas company equipment object platform, obtaining operation data of at least one inspection equipment, wherein the operation data is stored in the data storage center of the gas company management platform, and the at least one inspection equipment includes at least one type; For a type of inspection equipment, based on the inspection record data and the operation data, evaluating the inspection matching degree of the inspection personnel to the inspection equipment; Determining task allocation parameters and training parameters of the inspection personnel based on a matching degree set, wherein the matching degree set includes an inspection matching degree of the inspection personnel to the at least one type of inspection equipment; Based on the task allocation parameters and the training parameters, adjusting a first acquisition ratio of the inspection record data by the gas company inspection personnel object platform and a second acquisition ratio of the operation data by the gas company equipment object platform; Sending the inspection personnel's task execution results to the government supervision and management platform; The government supervision and management platform evaluates the inspection quality of different gas companies based on the task execution results, and adjusts the inspection and supervision parameters of the government supervision and management platform for different gas companies, the gas collection frequency of the gas sensor equipment, and the gas upload frequency of the gas sensor equipment based on the inspection quality; as well as Based on the adjustment amount of the gas collection frequency and the adjustment amount of the gas upload frequency, an adjustment instruction is generated and sent to the gas sensing device.
9. The Internet of Things system according to claim 8, characterized in that: The gas company management platform interacts bidirectionally with the government regulatory sensor network platform.
10. A computer-readable storage medium, characterized in that: The storage medium stores computer instructions. When the computer reads the computer instructions in the storage medium, the computer executes the smart gas inspection and supervision method as described in claim 1.
Citation Information
Patent Citations
A pipeline equipment inspection device and a pipeline equipment inspection method
CN109767513B
VR technology-based power transmission line artificial simulation inspection training method and system
CN111369875A
Intelligent gas information government safety supervision method, Internet of Things system and medium
CN118012848A
