A method and system for dynamic processing of intelligent supervision data
By dynamically allocating bandwidth according to the importance level of supervision events and data flow size in construction project supervision, the problem of delayed uploading and loss of important event data is solved, and the efficiency of supervision work and the quality of data processing are improved.
Patent Information
- Application Number
- CN202311456754.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-11-03
AI Technical Summary
In construction project supervision work, highly important event data is delayed in uploading or data is lost due to improper bandwidth allocation, resulting in reduced response efficiency.
By obtaining supervision and monitoring data uploaded by intelligent terminal devices, the importance level of supervision events is determined, and bandwidth priority is allocated according to the importance level and data flow size to ensure that important event data is uploaded first.
It improves the timeliness and completeness of data uploading of highly important supervision events, and improves the efficiency and quality of supervision work.
Smart Images

Figure CN117499241B
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology for construction projects, and in particular to a method and system for dynamic processing of intelligent supervision data. Background Art
[0002] Supervision of construction projects is set up to ensure the rationality and compliance of the quality, safety, progress, funds and other aspects of construction projects, and is undertaken by an independent third-party organization. Generally, supervision work is carried out by professionals through on-site inspections of construction conditions, review of engineering data documents, and interviews or telephone communications with personnel at the construction site, so as to obtain various aspects of the current construction project, such as construction progress, quality inspection of each node / link of the construction process, material consumption, and capital investment / expenditure.
[0003] With the development of digital technology and intelligent automation technology, the supervision information data involved in the above-mentioned supervision work can be collected and uploaded in real time through a variety of different intelligent automation terminals, thereby improving the efficiency of supervision work, and quickly making conclusions such as whether to change the original building plan based on the current monitored construction project situation. In the data transmission scenario of various intelligent automation terminals, in order to achieve reasonable and efficient use of bandwidth resources, bandwidth allocation is generally achieved based on the attributes of the data stream (such as its source / destination IP address, destination port number, protocol number, data volume, etc.) and / or the current state of the bandwidth (such as current throughput, packet loss rate, stability, etc.). However, when such a dynamic bandwidth allocation method is applied to the supervision work scenario, the event data with low importance will be scheduled to be uploaded remotely to the server of the supervision monitoring center first, while the event data with high importance will be delayed in uploading, and even data loss may occur during the transmission process, which will reduce the timeliness of uploading events with high importance and / or the completeness of the data, thereby reducing the efficiency of responding to the corresponding subsequent implementation measures for the uploaded monitoring situation. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method and system for dynamically processing intelligent supervision data.
[0005] In a first aspect, an embodiment of the present application provides a method for dynamically processing intelligent supervision data, the method comprising:
[0006] Obtain supervision and monitoring data uploaded by multiple smart terminal devices;
[0007] Determine the importance level of the corresponding supervision event according to the supervision monitoring data;
[0008] Determining the bandwidth allocation priority of the supervision event according to the importance level of the supervision event and the size of the data stream;
[0009] After bandwidth is allocated to the data stream of the corresponding supervision event according to the bandwidth allocation priority, the data stream of the supervision event is uploaded according to the allocated bandwidth.
[0010] In some embodiments, determining the importance level of the corresponding supervision event according to the supervision monitoring data specifically includes:
[0011] Determining event attributes of corresponding supervision events according to the supervision monitoring data, wherein the event attributes at least include safety attributes, compliance attributes, quality attributes, progress attributes and / or routine attributes;
[0012] The importance level of the supervision event is determined according to at least one of the event attributes.
[0013] In some embodiments, determining the importance level of the supervision event according to at least one of the event attributes specifically includes:
[0014] The importance value of the event attribute of the determined supervision event is calculated; the importance value is calculated by the following formula:
[0015] I=s*ω1+l*ω2+q*ω3+p*ω4+r*ω5
[0016] Among them, s represents whether it has the corresponding value of the security attribute; l represents whether it has the corresponding value of the compliance attribute; q represents whether it has the corresponding value of the quality attribute; p represents whether it has the corresponding value of the progress attribute; r represents whether it has the corresponding value of the general attribute; ω1 represents the weight coefficient corresponding to the security attribute; ω2 represents the weight coefficient corresponding to the compliance attribute; ω3 represents the weight coefficient corresponding to the quality attribute; ω4 represents the weight coefficient corresponding to the progress attribute; ω5 represents the weight coefficient corresponding to the general attribute; ω1>ω2+ω3+ω4+ω5; ω2>ω3+ω4+ω5; ω3>ω4+ω5; ω4>ω5;
[0017] A corresponding importance level is determined according to the importance value of the supervision event.
[0018] In some embodiments, determining the importance level of the supervision event according to at least one of the event attributes specifically includes:
[0019] Construct an input data matrix of safety attributes, compliance attributes, quality attributes, progress attributes, and general attributes;
[0020] The input data matrix is input into the training model for processing and then the importance level of the corresponding supervision event is output.
[0021] In some embodiments, a supervision event with an importance level higher than or equal to a preset level is a first supervision event, and a supervision event with an importance level lower than the preset level is a second supervision event; the bandwidth allocation priority of the supervision event is determined according to the importance level of the supervision event and the data stream size, which specifically includes:
[0022] Determining the bandwidth allocation priority of the first supervision event according to the importance level of the first supervision event and the size of the data stream;
[0023] The uploading time of the second monitoring event is set in the preset bandwidth idle period, so that the data stream of the second monitoring event is uploaded in the preset bandwidth idle period.
[0024] In some embodiments, the obtaining of the supervision monitoring data uploaded by multiple smart terminal devices specifically includes:
[0025] When there are at least two smart terminal devices that upload supervision monitoring data corresponding to the same supervision event, the supervision monitoring data that meets the preset conditions is screened out.
[0026] In some embodiments, the smart terminal device includes a camera device and a smoke monitoring device; when there are at least two smart terminal devices that upload supervision monitoring data corresponding to the same supervision event, the supervision monitoring data that meets the preset conditions is screened out, which specifically includes:
[0027] When the supervision events determined based on the monitoring data of the camera equipment and the smoke monitoring device belong to the same fire event, the supervision detection data with the highest priority is screened out according to the priority of the file type of the supervision monitoring data, among which the priority of the video file type>the priority of the image file type≥the priority of the audio file type>the priority of the text file type.
[0028] In some embodiments, the importance level of the monitoring event and the size of the data flow are directly proportional to the bandwidth allocation priority.
[0029] In a second aspect, an embodiment of the present application provides a smart supervision data dynamic processing system, the system comprising:
[0030] Multiple intelligent terminal devices are used to monitor supervision events and upload the obtained supervision monitoring data to the data transmission and processing device;
[0031] The data transmission processing device includes at least one processor, which is used to execute the steps of implementing the above method.
[0032] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein the computer program implements the steps of the above method when executed by a processor.
[0033] The present application can achieve the following technical effects: the present application scheme confirms the importance level of the supervision event corresponding to the supervision monitoring data uploaded by multiple intelligent terminal devices, and then determines the corresponding bandwidth allocation priority according to the determined importance level and the data stream size of the monitoring data corresponding to the supervision event, and then allocates the corresponding bandwidth according to this priority, and uploads the data stream of the supervision event according to the allocated bandwidth. It can be seen that the present application scheme takes into account the importance factor of the supervision event in the process of data upload and transmission, so that it can ensure that the monitoring data corresponding to the supervision event with a higher degree of importance can be scheduled for data upload first and prioritize to ensure that it has sufficient bandwidth resources, thereby improving the data upload processing efficiency and quality of supervision events with a higher degree of importance, so as to facilitate professionals to preferentially and effectively receive and quickly process supervision events with a high degree of importance. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments.
[0035] Figure 1 A schematic diagram of a method step flow chart of an embodiment of a method for dynamic processing of intelligent supervision data provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the method steps of step S2 in an embodiment of a method for dynamic processing of intelligent supervision data provided in an embodiment of the present application;
[0037] Figure 3 A schematic diagram of the structure of a smart supervision data dynamic processing system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described through the implementation method with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0039] With the development of digital technology and intelligent automation technology, many different intelligent automation terminals are used in current construction projects to carry out construction work, such as floor construction robots, concrete finishing robots, building cleaning robots, indoor and outdoor automatic spraying robots, material automatic handling robots, automatic mixers, automatic cranes, floor (ceramic tiles, wooden boards and other materials) automatic paving robots, etc. At the same time, in order to further improve the degree of intelligent automation of construction projects, its supervision work also uses a variety of different braking automation terminals to realize the monitoring of related objects and upload the monitored data in real time, thereby improving the efficiency of supervision work. Among them, the monitoring function module can be directly set in the above-mentioned robot used for construction work, and can also be realized by additional independent equipment, such as aerial photography equipment for video monitoring of construction projects, smoke sensors for smoke monitoring of indoor spaces, environmental monitoring equipment for monitoring ambient temperature / humidity / brightness / dust particles, audio monitoring equipment for recording employee interviews, attendance equipment for employee attendance, real-time monitoring equipment for construction progress nodes, etc.
[0040] In the data transmission scenarios of various intelligent automation terminals, in order to achieve reasonable and efficient use of bandwidth resources, bandwidth allocation is generally achieved based on the attributes of the data stream (such as its source / destination IP address, destination port number, protocol number, data volume, etc.) and / or the current state of the bandwidth (such as current throughput, packet loss rate, stability, etc.). However, when such a dynamic bandwidth allocation method is applied in the scenario of supervision work, event data with low importance will be scheduled to be uploaded remotely to the server of the supervision monitoring center first, while event data with high importance will be uploaded with delay, and data loss or data transmission failure will occur during the transmission process due to the small available bandwidth allocated, which will reduce the timeliness and stability of uploading events with high importance, thereby reducing the efficiency of responding to the corresponding subsequent implementation measures for the uploaded monitoring situation. Therefore, in order to solve this problem, the present application provides a data transmission scheme for dynamic processing of supervision data based on the importance level of supervision events.
[0041] Reference Figure 1 , a method for dynamic processing of intelligent supervision data, the method comprises the following steps.
[0042] S1. Obtain supervision and monitoring data uploaded by multiple smart terminal devices.
[0043] Specifically, for the supervision monitoring data, the target object can be monitored in real time through the monitoring function module mentioned above to obtain the corresponding supervision monitoring data, wherein the supervision monitoring data may include: 1. Safety data, such as fire safety issues at the construction site, electricity safety issues, whether employees wear safety helmets when entering the construction site, whether the equipment and facilities at the construction site have problems of tilting and shaking, etc.; 2. Compliance data, such as comparing the inspection data of building materials / finished products at the construction site with the inspection standards stipulated in construction laws and regulations / projects to determine whether the current building materials / finished products are compliant and legal; 3. Quality data, such as whether there are missed areas in the exterior wall painting, and quality monitoring of the painting materials (such as whether it is deteriorated, whether the dryness and wetness are suitable for painting / discarding / re-adjusting, etc.); 4. Progress data, for example, by identifying the construction status obtained by the current monitoring, and comparing the identification result with the preset construction progress, it is determined whether the current construction progress is within the reasonable progress requirements. At this time, the progress data can be the comparison result; 5. Conventional data, such as the attendance data of personnel at the construction site, the diary data of conventional records, the cost data of consumables, etc. It should be noted that, for these supervision monitoring data, the monitoring and identification technical means can be implemented through various existing technologies as needed, so no specific limitation is made in this embodiment.
[0044] In addition, for the above-mentioned supervision and monitoring data, the file types include video files, image files, audio files, text / document files, etc.
[0045] Moreover, supervision events involving different event attributes can be determined from these supervision monitoring data. For example, the construction site is automatically monitored by aerial photography through the camera configured on the unmanned aircraft. After image recognition is performed on the video monitoring data obtained by aerial photography, if the recognition result shows fire and smoke characteristics, it is judged that a fire situation currently occurs at the construction site. Then the supervision event at this time is identified as a fire event, and the attribute of the event is configured as a safety attribute; or, if the video monitoring data obtained by aerial photography / other video monitoring data taken by camera equipment set on different terminals or different construction sites is used for image recognition, if the recognition result not only includes safety issues, but also compliance, quality, progress and / or routine issues, then the attribute of the supervision event is correspondingly configured as at least one of a safety attribute, a compliance attribute, a quality attribute, a progress attribute, and a routine attribute. That is to say, for the supervision event corresponding to the supervision monitoring data, it can be configured with at least one event attribute.
[0046] In addition, for the supervision monitoring data monitored and collected by different smart terminal devices, there may be supervision monitoring data collected by two different smart terminal devices that correspond to the same supervision event. At this time, the supervision monitoring data that meets the preset conditions can be screened and selected, that is, the supervision monitoring data monitored and uploaded by one of the smart terminal devices is selected. Among them, the preset conditions for selection are mainly formulated based on the amount of content that can be expressed by the supervision monitoring data. For example, the amount of content that can be expressed by the video is greater than the amount of content that can be expressed by the audio. Then, the required supervision monitoring data can be screened out according to the data file type monitored and collected by the smart terminal device.
[0047] Therefore, the step S1 may specifically include:
[0048] S101. When there are at least two smart terminal devices that upload supervision monitoring data corresponding to the same supervision event, the supervision monitoring data that meets the preset conditions is screened out.
[0049] Specifically, the above-mentioned preset conditions may include data volume, data file type, basic information of the smart terminal device (such as the device's location), etc. For example, when the supervision and monitoring data uploaded by smart terminal device a and the supervision and monitoring data uploaded by smart terminal device b both refer to the same supervision matter, the supervision and monitoring data with a large data volume is selected (because data with a large data volume can express more content), such as the supervision and monitoring data uploaded by smart terminal device a; or, when the data volume is the same, the supervision and monitoring data with a video file type is selected; or, when the data volume and file type are the same, the supervision and monitoring data uploaded by a smart terminal device whose location is closer to the event site is selected (because the quality of the monitoring data collected by the smart terminal device closer to the event site is better). It can be seen that the above-mentioned preset conditions are mainly used to select data with higher quality and richer data content as the supervision monitoring data to be uploaded subsequently. This can avoid uploading redundant monitoring data belonging to the same supervision event, and improve data processing efficiency while ensuring transmission quality requirements. In other words, the supervision monitoring data screened out in this step is the data stream corresponding to the supervision event required to be uploaded in the subsequent step S4.
[0050] More specifically, the smart terminal device includes a camera device and a smoke monitoring device; when there are at least two smart terminal devices that upload supervision monitoring data corresponding to the same supervision event, the supervision monitoring data that meets the preset conditions is screened out, that is, step S101, which specifically includes:
[0051] When the supervision events determined based on the monitoring data of the camera equipment and the smoke monitoring device belong to the same fire event, the supervision detection data with the highest priority is screened out according to the priority of the file type of the supervision monitoring data, among which the priority of the video file type>the priority of the image file type≥the priority of the audio file type>the priority of the text file type.
[0052] Specifically, when the smoke monitoring device installed in area a detects the presence of smoke, the smoke monitoring device will send the supervision monitoring data of the fire in area a. Similarly, at this time, for the camera installed on the unmanned aircraft or the camera fixed in area a, the supervision monitoring data of the fire in area a will also be identified after video shooting and image recognition of the video. It can be seen that at this time, the data monitored and collected by both the camera equipment and the smoke monitoring device correspond to the same supervision event (the same fire event). In view of the fact that the information contained in the video data is superior to other types of data information, the supervision monitoring data uploaded by the camera equipment is selected as the monitoring data corresponding to this event. In this way, when it is determined to upload this fire event later, the supervision monitoring data of this camera equipment can be uploaded.
[0053] It should be noted that the data monitored by the smoke monitoring device can be stored in the server of the construction site, and when necessary, the backend server of the supervision center will issue a transmission instruction to upload the data of the smoke monitoring device during idle time.
[0054] Furthermore, since there will be buildings and various materials / equipment piled up at the construction site, there may be flames at the construction site, but the video captured by the camera on the drone only captures the drifting smoke. Similarly, for the smoke monitoring device, it only monitors the emitted smoke, and the monitored smoke may not be emitted after the flame ignites the object. Therefore, in order to avoid the false triggering of the supervision event of fire, the implementation steps for determining that the supervision event is a fire event in some specific embodiments may include the following steps.
[0055] S1011. Acquire first video data, wherein the first video data is obtained by photographing a first camera device provided on the unmanned aircraft, and the first camera device is a general color CCD camera.
[0056] S1012. Obtain first smoke data, wherein the first smoke data is data monitored and collected by a smoke monitoring device. Since the smoke monitoring device is fixedly installed in a corresponding location area, when the first smoke data is monitored, it may include identification data for indicating whether smoke exists or does not exist.
[0057] S1013. Perform smoke image recognition on the first video data to obtain a smoke recognition result.
[0058] Specifically, the smoke recognition result includes that the image in the video contains smoke, and the image in the video does not contain smoke; and the smoke image recognition algorithm described herein mainly recognizes the characteristic area of the smoke itself, and does not involve the characteristic area recognition of fire;
[0059] S1014. When the smoke recognition result is that smoke exists in the image in the video, and / or the first smoke data includes identification data for indicating that smoke exists, the unmanned aircraft is controlled to fly to the location area displayed in the first video data or the location where the smoke monitoring device is arranged, and the second camera device provided on the unmanned aircraft is started to shoot to obtain the first thermal imaging image data; wherein the second camera device is a thermal imaging shooting device.
[0060] Specifically, since there are many materials placed on the construction site and based on the diversity of building designs, there are many blind spots on the construction site. Therefore, in many cases when a fire occurs, only smoke can be monitored but whether there is actually a flame cannot be monitored. When using general CCD color images to identify fires, that is, the characteristic area of the fire is identified in the image, when the characteristics of the fire are identified, it means that the fire is relatively large (because the fire can generally only be identified from the image when it is exposed to obstacles), which is not conducive to the early detection and resolution of fires. To this end, when the smoke recognition result is that there is smoke in the image in the video, and / or the first smoke data includes identification data for indicating the presence of smoke, the unmanned aircraft can be controlled to fly close to the venue area shown in the first video data or the layout position of the smoke monitoring device (the layout position belongs to a certain position in the venue area), fly to the place where the smoke is emitted and bypass the blockage / obstacles, and at this time start the thermal imaging camera set on the unmanned aircraft to take pictures, and then perform image recognition of the flame temperature area on the captured thermal image. When the temperature corresponding to the temperature area in the thermal image is identified to be within the preset flame temperature threshold range, it can be determined that the currently monitored supervision event is a fire event, and its event attribute is a safety attribute.
[0061] S1015. After the flame temperature area is identified from the first thermal imaging image, the monitoring events corresponding to the data captured and monitored by the first shooting device and the second shooting device on the unmanned aircraft and the data monitored by the smoke monitoring device can be determined as the same fire event.
[0062] It can be seen that when a fire occurs in a place area, the shooting equipment of the unmanned aircraft and the smoke monitoring device of the place area will both monitor and obtain corresponding monitoring data. At this time, the supervision events corresponding to the monitoring data of the two can be configured as the same event. In addition, based on the fact that the files collected by the shooting equipment are video / image data, and the data monitored by the smoke monitoring device are only document data, it is considered to upload the monitoring data of the shooting equipment. In addition, in this embodiment, the unmanned aircraft can be controlled to fly close to the place area according to the place area shown in the first video data or the layout position of the smoke monitoring device, and only thermal imaging images are used to identify the flame area. This can greatly improve the timeliness of fire identification. Moreover, since the unmanned aircraft will approach for shooting, the image captured will be clearer and will bypass obstacles / obstacles. This can greatly improve the accuracy of the flame area identification results.
[0063] S2. Determine the importance level of the corresponding supervision event according to the supervision monitoring data.
[0064] Specifically, a supervision event will have at least one event attribute, such as safety attribute, compliance attribute, quality attribute, progress attribute, and general attribute, among which the importance of safety attribute is greater than the importance of compliance attribute, greater than the importance of quality attribute, greater than the importance of progress attribute, and greater than the importance of general attribute. Therefore, the importance level of the monitoring event can be determined based on the event attributes of the monitoring event currently identified and the importance of different event attributes, among which the higher the importance of the event attributes of the supervision event, the higher the importance level of the supervision event.
[0065] Therefore, in some embodiments, reference Figure 2 , step S2 may specifically include the following sub-steps.
[0066] S201. Determine event attributes of a corresponding supervision event according to the supervision monitoring data, wherein the event attributes at least include safety attributes, compliance attributes, quality attributes, progress attributes and / or regular attributes.
[0067] S202: Determine the importance level of the supervision event according to at least one of the event attributes.
[0068] In some specific embodiments, step S202 may be implemented in the following two ways.
[0069] Method 1: Step S202 determines the importance level by calculating the importance value, and the specific sub-steps included are as follows.
[0070] S2021. Calculate the importance values of the event attributes of the determined supervision events.
[0071] In some specific embodiments, as described above, the importance of the security attribute > the importance of the compliance attribute > the importance of the quality attribute > the importance of the progress attribute > the importance of the general attribute. Therefore, the importance value corresponding to the security attribute > the importance value corresponding to the compliance attribute > the importance value corresponding to the quality attribute > the importance value corresponding to the progress attribute > the importance value corresponding to the general attribute. That is to say:
[0072] When the event attribute of the supervision event includes a security attribute, the importance value of the event attribute of the supervision event is the first importance value;
[0073] When the event attribute of the supervision event does not include the safety attribute but includes the compliance attribute, the importance value of the event attribute of the supervision event is the second importance value;
[0074] When the event attribute of the supervision event does not include the safety attribute and the compliance attribute and includes the quality attribute, the importance value of the event attribute of the supervision event is the third importance value;
[0075] When the event attribute of the supervision event does not include the safety attribute, the compliance attribute, and the quality attribute and includes the progress attribute, the importance value of the event attribute of the supervision event is the fourth importance value;
[0076] When the event attribute of the supervision event does not include the safety attribute, the compliance attribute, the quality attribute, and the progress attribute, and includes the progress attribute, the importance value of the event attribute of the supervision event is the fifth importance value;
[0077] The first importance value>the second importance value>the third importance value>the fourth importance value>the fifth importance value. The importance value and the importance level are in direct proportion, that is, the larger the importance value, the higher the corresponding importance level.
[0078] In some specific embodiments, the importance value of the event attribute of the supervision event can be calculated by the following formula:
[0079] I=s*ω1+l*ω2+q*ω3+p*ω4+r*ω5
[0080] Among them, s represents whether it has the corresponding value of the security attribute; l represents whether it has the corresponding value of the compliance attribute; q represents whether it has the corresponding value of the quality attribute; p represents whether it has the corresponding value of the progress attribute; r represents whether it has the corresponding value of the general attribute; ω1 represents the weight coefficient corresponding to the security attribute; ω2 represents the weight coefficient corresponding to the compliance attribute; ω3 represents the weight coefficient corresponding to the quality attribute; ω4 represents the weight coefficient corresponding to the progress attribute; ω5 represents the weight coefficient corresponding to the general attribute; ω1>ω2+ω3+ω4+ω5; ω2>ω3+ω4+ω5; ω3>ω4+ω5; ω4>ω5. ω1, ω2, ω3, ω4, ω5 are all positive numbers.
[0081] For the corresponding numerical values of s, l, q, p, and r mentioned above, their values are 0 or 1. When the value is 0, it indicates that the supervision event does not have the corresponding event attribute. Conversely, when the value is 1, it indicates that the supervision event has the corresponding event attribute. For example, when the supervision event only has safety attributes, I1=1*ω1+0*ω2+0*ω3+0*ω4+0*ω5; when the supervision event has compliance attributes and quality attributes, I2=0*ω1+1*ω2+1*ω3+0*ω4+0*ω5; when the supervision event has safety attributes and general attributes, I3=1*ω1+0*ω2+0*ω3+0*ω4+1*ω5. Obviously, I3>I1>I2. The above calculation formula can be used to quickly calculate the importance value when the supervision event has at least two event attributes, which is conducive to further subdividing the importance level of the supervision event. For example, when the event attributes of two supervision events both include safety attributes, if the attributes of one of the supervision events also include compliance attributes (that is, the safety issues arising from the supervision event also involve compliance issues), while the other supervision event does not involve compliance issues, it can be seen that the safety issues arising from one of the supervision events are more serious than those arising from the other supervision event. Therefore, the importance level of one of the supervision events that includes safety attributes and compliance attributes should be higher than the importance level of the other supervision event that only includes safety attributes.
[0082] S2022. Determine a corresponding importance level according to the importance value of the supervision event.
[0083] Specifically, the importance value is proportional to the importance level, that is, the larger the importance value, the higher the corresponding importance level.
[0084] Method 2: Step S202 outputs the corresponding importance level by training the model, and the specific sub-steps included are as follows.
[0085] S2023. Construct an input data matrix of safety attributes, compliance attributes, quality attributes, progress attributes, and general attributes.
[0086] Specifically, for the input data matrix, it can be [s*ω1, l*ω2, q*ω3, p*ω4, r*ω5]. Similarly, when the corresponding numerical values of s, l, q, p, and r are 0 or 1, when the value is 0, it means that the supervision event does not have the corresponding event attribute. On the contrary, when the value is 1, it means that the supervision event has the corresponding event attribute. For example, when s and l are both 0, there are no safety attributes and compliance attributes, and the input data matrix is [0, 0, 1*ω3, 1*ω4, 1*ω5].
[0087] S2024. Input the input data matrix into the training model and output the importance level of the corresponding supervision event after processing.
[0088] Specifically, for the above-mentioned training model, it is trained through the event attributes of historical supervision events and the corresponding historical importance levels, so that the trained training model can be actually put into operation and used. The input data matrix of the event attributes contained in the actual supervision events is input into the training model for processing, and then the corresponding importance level can be output.
[0089] For the above-mentioned methods 1 and 2 for confirming the importance level, method 1 requires fewer memory resources and has low requirements for hardware devices, while method 2 has higher accuracy. Therefore, for the user end, it can be selected according to the actual situation. Of course, both method 1 and method 2 can be implemented on the device, and then in the actual operation process, method 1 and method 2 can be dynamically selected according to the current device status to realize the confirmation of the importance level.
[0090] S3. Determine the bandwidth allocation priority of the supervision event according to the importance level of the supervision event and the size of the data stream.
[0091] Specifically, the bandwidth allocation priority mainly includes scheduling priority, that is, the higher the importance level, the higher the priority of being scheduled for bandwidth allocation to upload data.
[0092] Furthermore, considering some data with lower importance, such as routine data that does not involve safety, compliance, quality, and progress, such as routine supervision events such as staff absence, that is, when the event attributes of the supervision event only include routine attributes, the corresponding supervision monitoring data can actually be directly configured to be uploaded during the preset bandwidth idle period, for example, uploading these supervision monitoring data at 11 pm to 12 pm every day when there is idle bandwidth. In this way, there is no need to consider these supervision events with lower importance every time when determining the bandwidth allocation priority of each supervision event, thereby further improving data processing efficiency.
[0093] Therefore, step S3 may specifically include:
[0094] S301: Determine a bandwidth allocation priority for a first monitoring event according to an importance level of the first monitoring event and a data flow size.
[0095] For the above step S301, it may include:
[0096] S3011, determining a bandwidth allocation priority of the first supervision event according to an importance level of the first supervision event, wherein the importance level of the first supervision event is in direct proportion to the corresponding bandwidth allocation priority;
[0097] S3012. When at least two first supervision events have the same importance level, the bandwidth allocation priority of at least two first supervision events is directly proportional to the size of the data stream; specifically, for at least two first supervision events with the same importance level, the larger the amount of data stream required to be uploaded, the higher the corresponding priority. In this way, on the premise of uploading supervision events with greater importance, monitoring data with larger data volume can be preferentially allocated more bandwidth. This can reduce the situation where data loss or data transmission failure occurs due to large data volume but too small allocated bandwidth, and improve the stability and quality of uploading events with high importance.
[0098] S302: Setting the upload time of the second monitoring event to a preset bandwidth idle period, so that the data stream of the second monitoring event is uploaded in the preset bandwidth idle period.
[0099] Among them, the supervision event with an importance level higher than or equal to the preset level is the first supervision event, and the supervision event with an importance level lower than the preset level is the second supervision event. Specifically, in this embodiment, for the second supervision event, it can refer to a supervision event whose event attributes only include conventional attributes, and the corresponding importance value of the supervision event is ω5, and the corresponding importance level is the nth importance level. Then, by setting the preset level, the above-mentioned second supervision event can be screened out. Of course, in view of the different event attributes, the corresponding importance levels are different. In other embodiments, the actual value of the preset level can be set according to actual needs, so as to screen out the required supervision events as the above-mentioned second supervision events.
[0100] It can be seen that the bandwidth allocation priority is directly proportional to the importance level of the supervision event and the size of the data flow.
[0101] S4. After allocating bandwidth to the data stream of the corresponding supervision event according to the bandwidth allocation priority, the data stream of the supervision event is uploaded according to the allocated bandwidth.
[0102] Specifically, according to the bandwidth allocation priority determined in step 3, that is, the scheduling priority, the supervision monitoring data corresponding to the corresponding supervision event is uploaded with the allocated bandwidth.
[0103] Reference Figure 3 The present application also provides a smart supervision data dynamic processing system, which includes:
[0104] A plurality of intelligent terminal devices are used to realize supervision event monitoring and upload the obtained supervision monitoring data to the data transmission and processing device;
[0105] The data transmission processing device includes at least one processor, which is used to execute the steps of implementing the method as described in any one of the above method embodiments.
[0106] The above-mentioned intelligent terminal device may be an intelligent terminal device having only the intelligent monitoring function, or may be an intelligent terminal device having other functions (such as various construction automation functions, automatic voice and video input and recognition functions) in addition to the intelligent monitoring function.
[0107] For the processor, the number can be at least 1, and at least any step in the above method embodiment can be executed. When the number is at least two, at least two processors can be connected to each other by communication, not limited to wired or wireless communication connection, and the at least one processor can be connected to various intelligent terminal devices by communication. In addition, for the processor, it can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0108] In addition, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the above method embodiment.
[0109] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0110] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for dynamic processing of intelligent supervision data, characterized in that: The method includes: Obtain supervision and monitoring data uploaded by multiple smart terminal devices; Determine the importance level of the corresponding supervision event according to the supervision monitoring data; Determining the bandwidth allocation priority of the supervision event according to the importance level of the supervision event and the size of the data stream; After allocating bandwidth to the data stream of the corresponding supervision event according to the bandwidth allocation priority, uploading the data stream of the supervision event according to the allocated bandwidth; Determining the importance level of the corresponding supervision event according to the supervision monitoring data specifically includes: Determining event attributes of corresponding supervision events according to the supervision monitoring data, wherein the event attributes at least include safety attributes, compliance attributes, quality attributes, progress attributes and / or routine attributes; Determining the importance level of the supervision event according to at least one of the event attributes; Among them, the importance of safety attributes > the importance of compliance attributes > the importance of quality attributes > the importance of progress attributes > the importance of routine attributes; Determining the bandwidth allocation priority of the supervision event according to the importance level of the supervision event and the size of the data stream specifically includes: Determining the bandwidth allocation priority of the first supervision event according to the importance level of the first supervision event and the size of the data stream; Setting the upload time of the second monitoring event to the preset bandwidth idle period, so that the data stream of the second monitoring event is uploaded in the preset bandwidth idle period; Supervision events with an importance level higher than or equal to the preset level are the first supervision events, and supervision events with an importance level lower than the preset level are the second supervision events; The obtaining of the supervision monitoring data uploaded by the plurality of intelligent terminal devices specifically includes: when there are at least two pieces of supervision monitoring data uploaded by the intelligent terminal devices corresponding to the same supervision event, filtering out the supervision monitoring data that meets the preset conditions; The intelligent terminal device includes a camera device and a smoke monitoring device. When there are at least two intelligent terminal devices that upload supervision monitoring data corresponding to the same supervision event, the supervision monitoring data that meets the preset conditions is screened out, which specifically includes: When the supervision events determined based on the monitoring data of the camera equipment and the smoke monitoring device belong to the same fire event, the supervision detection data with the highest priority is screened out according to the priority of the file type of the supervision monitoring data, among which the priority of the video file type>the priority of the image file type≥the priority of the audio file type>the priority of the text file type.
2. The method according to claim 1, characterized in that Determining the importance level of the supervision event according to at least one of the event attributes specifically includes: The importance value of the event attribute of the determined supervision event is calculated; the importance value is calculated by the following formula: I=s*ω1+l*ω2+q*ω3+p*ω4+r*ω5 Among them, s represents whether it has the corresponding value of the security attribute; l represents whether it has the corresponding value of the compliance attribute; q represents whether it has the corresponding value of the quality attribute; p represents whether it has the corresponding value of the progress attribute; r represents whether it has the corresponding value of the general attribute; ω1 represents the weight coefficient corresponding to the security attribute; ω2 represents the weight coefficient corresponding to the compliance attribute; ω3 represents the weight coefficient corresponding to the quality attribute; ω4 represents the weight coefficient corresponding to the progress attribute; ω5 represents the weight coefficient corresponding to the general attribute; ω1>ω2+ω3+ω4+ω5; ω2>ω3+ω4+ω5; ω3>ω4+ω5; ω4>ω5; A corresponding importance level is determined according to the importance value of the supervision event.
3. The method according to claim 1, characterized in that Determining the importance level of the supervision event according to at least one of the event attributes specifically includes: Construct an input data matrix of safety attributes, compliance attributes, quality attributes, progress attributes, and general attributes; The input data matrix is input into the training model for processing and then the importance level of the corresponding supervision event is output.
4. The method according to any one of claims 1 to 3, characterized in that: The importance level of the monitoring event and the size of the data stream are both directly proportional to the bandwidth allocation priority.
5. A smart supervision data dynamic processing system, characterized in that: The system includes: Multiple intelligent terminal devices are used to monitor supervision events and upload the obtained supervision monitoring data to the data transmission and processing device; A data transmission processing device, comprising at least one processor, configured to execute the steps of the method according to any one of claims 1 to 4.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
