Smart construction site hardware equipment data collection and operation and maintenance methods, systems, equipment and media

By building an edge gateway structure and deploying plug-in protocol analysis services and double-buffer data structures, the problems of poor access compatibility of equipment for data acquisition and dispersed data processing structures are solved, and unified management of equipment access and stable upload of data are realized.

CN120434313BActive Publication Date: 2025-08-29中亿丰数字科技集团股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510908080.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-08-29
Estimated Expiration
2045-07-02

AI Technical Summary

Technical Problem

The existing smart construction site hardware equipment data acquisition and management methods have poor device access compatibility, dispersed data processing structure, weak upload control mechanism, and difficult to realize unified analysis of device access protocols, data cache scheduling and load balancing upload on the edge side.

Method used

Build an edge gateway structure, deploy plug-in protocol resolution services and double-buffer data structures, realize protocol resolution and data standardization of multiple types of devices through plug-in protocol resolution services, and use double-buffer structure for data cache and upload control.

Benefits of technology

It realizes flexible access and unified management of multiple types of devices, improves device access compatibility and deployment efficiency, solves the unified problem of heterogeneous protocols, and triggers upload through data number and time thresholds, realizing edge-side data cache scheduling and platform-side load balancing upload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434313B_ABST
    Figure CN120434313B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, equipment and medium for data collection and operation and maintenance of hardware equipment on a smart construction site, and relates to the technical fields of edge computing, Internet of Things communication and computing resource load balancing, including collecting data of multiple types of intelligent hardware equipment on the construction site, building an edge gateway structure, classifying and arranging soft gateways and hard gateways, and establishing a mapping relationship between device identifiers and gateway nodes; deploying a plug-in protocol parsing service, matching corresponding plug-ins according to the protocol characteristics of the access data, and performing standardized mapping processing of original fields according to the preset field template of the object model; dividing multiple types of intelligent hardware equipment on the construction site into buffers according to their status, and triggering the packaging and upload process according to the number of data items and time thresholds; the method described in the present invention The data collection and operation and maintenance method for hardware equipment on a smart construction site provided by the present invention realizes a solution for flexible access and unified management of multiple types of equipment by building an edge gateway structure that combines software and hardware.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of edge computing, Internet of Things communications, and computing resource load balancing, and specifically to methods, systems, equipment, and media for data collection and operation and maintenance of hardware equipment on smart construction sites. Background Art

[0002] With the accelerating digital transformation of the construction industry, "smart construction sites" are being widely adopted as a new information-based construction management model. By deploying various intelligent terminal devices, such as video surveillance, crane safety systems, environmental monitoring devices, and personnel real-name gate control systems, full-process perception and data-based management of construction sites can be achieved. These devices typically feature automatic reporting capabilities, continuously collecting on-site images, parameters, operating status, and other information, and uploading it to the platform system for unified processing.

[0003] Currently, smart construction site systems face numerous technical challenges in practical application. The communication protocols, data formats, and upload mechanisms used by different equipment vendors vary significantly, lacking unified standards. This makes interoperability and centralized management of equipment difficult. Construction site networks are complex, with multiple access methods, including 4G private networks, local area networks, and temporary networks. This results in unstable data uploads, frequent device offlines, and message loss. Furthermore, as the number of connected devices continues to increase and the frequency of data collection continues to rise, the platform often experiences overload, slow responses, and even system congestion.

[0004] Building a data collection and operations system that supports efficient device access, standardized data processing, and balanced task distribution, while ensuring multi-protocol compatibility and network adaptability, has become a core issue facing smart construction site systems. Existing technologies lack a unified solution that combines edge computing architecture, plug-in protocol parsing mechanisms, and dual-buffered upload control strategies, making it difficult to achieve stable data collection, efficient processing, and reliable upload of field data. Summary of the Invention

[0005] In view of the above-mentioned problems, the present invention is proposed.

[0006] Therefore, the technical problem solved by the present invention is: the existing smart construction site hardware equipment data collection and management methods have poor equipment access compatibility, decentralized data processing structure, weak upload control mechanism, and how to achieve unified parsing of equipment access protocols, edge-side data cache scheduling and load-balanced upload under the premise of ensuring data collection integrity and real-time performance.

[0007] To solve the above technical problems, the present invention provides the following technical solutions: a smart construction site hardware equipment data collection and operation and maintenance method, including collecting data of multiple types of intelligent hardware equipment at the construction site, building an edge gateway structure, classifying and arranging soft gateways and hard gateways, and establishing a mapping relationship between device identifiers and gateway nodes.

[0008] Deploy a plug-in protocol parsing service, match the corresponding plug-in based on the protocol characteristics of the access data, and perform standardized mapping processing of the original fields according to the preset field template of the object model.

[0009] A double-buffered data structure is used to divide various types of intelligent hardware devices on the construction site into buffer zones according to their status, and the packaging and uploading process is triggered based on the number of data items and time thresholds.

[0010] Deploying a plug-in protocol parsing service includes defining the data packets reported by the access device as a structured set, using a plug-in set management method, setting a matching function for each plug-in, representing the parsed fields as a field set, and extracting the original field values ​​through the field parsing function.

[0011] The standardized mapping processing of original fields includes performing field conversion item by item according to the field mapping template bound to the plug-in, using a unified structured definition and organizing it in JSON format. The field mapping process includes unit conversion, offset correction, data type conversion and range verification of the original field value. The converted field value forms a key-value pair according to the standard field name and is encapsulated in a uniformly structured JSON data format.

[0012] As a preferred solution of the smart construction site hardware equipment data collection and operation and maintenance method described in the present invention, the collection of data of multiple types of intelligent hardware devices at the construction site includes classifying and extracting attributes of the intelligent hardware devices deployed at the construction site, and obtaining network communication capabilities and operating status characteristics by performing parameter scanning on the communication method, protocol standard, data reporting frequency, bandwidth occupancy, and deployment location of each type of equipment.

[0013] Smart hardware equipment data includes tower crane monitoring equipment data, environmental detection sensor data, real-name gate machine data, and video surveillance terminal data.

[0014] As a preferred solution of the smart construction site hardware equipment data collection and operation and maintenance method described in the present invention, the construction of the edge gateway structure and the classification and arrangement of the soft gateways and hard gateways include constructing the deployment of soft gateways and hard gateways based on the acquired smart hardware device data and the preset gateway division rules.

[0015] The preset gateway division rules include that smart hardware devices that support high-frequency data collection and have high-definition video streaming capabilities are within the management scope of hard gateways.

[0016] Smart hardware devices deployed in a local area network, using the HTTP lightweight protocol for communication and requiring low computing performance are managed by the soft gateway.

[0017] For intelligent hardware devices that do not have communication modules, add serial ports and RS485 communication relay modules to connect to nearby gateway nodes.

[0018] Establishing a mapping relationship between a device identifier and a gateway node includes, during the deployment process, assigning a unique device identifier to each identified smart hardware device and establishing an access mapping relationship between the smart hardware device and the edge gateway.

[0019] The mapping table includes device identification, IP address, gateway number, protocol used, communication port, and group coding parameters, and the mapping relationship is stored in the local database of the edge gateway.

[0020] As a preferred solution of the smart construction site hardware equipment data collection and operation and maintenance method described in the present invention, the deployment of the plug-in protocol parsing service includes defining the data packets reported by the access device and representing the plug-in as a collection, performing function matching on each plug-in, representing the fields parsed by the plug-in in a collection form, defining each field parsing function, obtaining the original field value through the parsing function, mapping each original field value to a standard field value, and verifying the standard field, providing a field rule set for the plug-in through a field mapping template, unifying the plug-in output and maintaining the plug-in registry through the parsing engine and automatically updating the registry after loading, and adding a registration mechanism in the plug-in.

[0021] Matching the corresponding plug-in includes representing the device uploaded data with a collection, selecting the target plug-in based on the function matching of the device uploaded data collection, calling the field parsing function and reading the field template for field mapping, performing field validity judgment, and outputting standard data structure field items.

[0022] As a preferred solution of the smart construction site hardware equipment data collection and operation and maintenance method described in the present invention, the standardized mapping processing of the original fields includes performing standardized conversion operations on each original field value according to the field mapping template bound to the plug-in for the standard data structure field items.

[0023] The field mapping template includes unit conversion parameters, offset parameters, target data type, and upper and lower limits of the value range. The field mapping template adopts a unified structure definition. The template format supports JSON definition and is referenced internally by the plug-in when the plug-in is loaded.

[0024] Field items include original field identifier, standard field name, data type, unit conversion factor, offset correction value, value range, and default processing rules.

[0025] The standardization conversion operation includes marking the original value, writing the converted field item as a candidate value into the key-value pair corresponding to the standard field name, performing data type conversion on the field item, formatting the field value according to the target data type and encapsulating it into a structured data dictionary, and outputting a JSON data packet with a unified structure.

[0026] As a preferred solution of the smart construction site hardware equipment data collection and operation and maintenance method described in the present invention, the division into buffer zones includes classified storage according to equipment type, and setting a maximum number of cache entries and a cache expiration time limit for each type of data. If the cache capacity is exceeded, the earliest data entry is eliminated using a first-in-first-out method.

[0027] The main cache area is constructed as a multi-queue data cache area using a memory structure. Each queue corresponds to a data type one-to-one. When each data is written to the cache queue, the unique number of the data source device, the original data collection time, the number of fields and the data integrity check mark are recorded, and an index record is generated and registered in the cache metadata table. Before the data is stored in the buffer, the data format verification process is executed.

[0028] The verification process includes field quantity check, data type check, field naming validity check and structural integrity check.

[0029] Data entries that fail verification are not written into the cache, but transferred to the exception cache and an error log is generated and recorded in the edge log module.

[0030] As a preferred solution of the smart construction site hardware equipment data collection and operation and maintenance method described in the present invention, the triggering package upload process includes sorting the current data entries in the main cache area by timestamp, grouping them according to the device ID and organizing them into a unified data structure, transferring the unified data structure to the secondary cache area, and adding device identification, timestamp range, field integrity label, and hash check value to each group of data. The upload scheduler calls the message transmission component and determines whether to report through the HTTP protocol based on the current network status.

[0031] Another object of the present invention is to provide a smart construction site hardware equipment data acquisition and operation and maintenance system, which can solve the problems of current smart construction site data acquisition technology, such as inconsistent communication protocols for multiple devices, fragmented data processing structure, and uncontrollable upload control, by constructing an edge gateway architecture that combines software and hardware, and combining plug-in protocol parsing services with a double-buffered data scheduling mechanism.

[0032] As a preferred solution of the smart construction site hardware equipment data acquisition and operation and maintenance system described in the present invention, it includes: a structure construction and equipment mapping configuration module, a protocol analysis and field standardization mapping module, and a cache structure and data upload trigger module.

[0033] The structure construction and device mapping configuration module is used to collect data of multiple types of intelligent hardware devices in the engineering site, build the edge gateway structure, classify and arrange soft gateways and hard gateways, and establish a mapping relationship between device identification and gateway nodes.

[0034] The protocol parsing and field standardization mapping module is used to deploy plug-in protocol parsing services, match corresponding plug-ins according to the protocol characteristics of access data, and perform standardized mapping processing of original fields according to the preset field template of the object model.

[0035] The cache structure and data upload trigger module are used to adopt a double-buffered data structure to divide multiple types of intelligent hardware devices in the engineering site into buffer zones according to their status, and trigger the packaging and uploading process based on the number of data items and time thresholds.

[0036] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a step of a method for data collection and operation and maintenance of hardware equipment on a smart construction site.

[0037] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for data collection and operation and maintenance of hardware equipment on a smart construction site.

[0038] Beneficial effects of the present invention: The data collection and operation and maintenance method for hardware equipment in a smart construction site provided by the present invention realizes a flexible access and unified management solution for multiple types of equipment by constructing an edge gateway structure that combines software and hardware, thereby correspondingly improving the compatibility and deployment efficiency of equipment access; by deploying a plug-in protocol parsing service, a standardized conversion solution for raw data under different communication protocols is realized, thereby correspondingly solving the problem of difficulty in unifying heterogeneous protocols; by adopting a double buffering structure combined with a solution for triggering upload based on the number of data items and time thresholds, edge-side data cache scheduling and platform-side load balancing upload control are effectively realized. The present invention achieves better results in terms of equipment access flexibility, data parsing consistency, and upload transmission stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 This is an overall flow chart of the smart construction site hardware equipment data collection and operation and maintenance method provided by the first embodiment of the present invention.

[0041] Figure 2 Schematic diagram of the functional architecture of the smart construction site hardware equipment data collection and operation and maintenance method provided in the first embodiment of the present invention.

[0042] Figure 3 A data flow diagram of the smart construction site hardware equipment data collection and operation and maintenance method provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0043] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the following detailed description of the specific embodiments of the present invention is given in conjunction with the accompanying drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in this field without creative work should fall within the scope of protection of the present invention.

[0044] Example 1, with reference to Figure 1-Figure 3 , as one embodiment of the present invention, provides a method for collecting and operating data of hardware equipment on a smart construction site, comprising:

[0045] S1: Collect data from various types of intelligent hardware devices at the project site, build an edge gateway structure, classify and arrange soft gateways and hard gateways, and establish a mapping relationship between device identifiers and gateway nodes.

[0046] The intelligent hardware devices deployed at the project site are classified and their attributes extracted. By performing parameter scanning on the communication method, protocol standard, data reporting frequency, bandwidth occupancy, and deployment location of each type of device, the network communication capability and operating status characteristics are obtained.

[0047] Smart hardware equipment data includes tower crane monitoring equipment data, environmental detection sensor data, real-name gate machine data, and video surveillance terminal data.

[0048] Based on the acquired smart hardware device data and the preset gateway division rules, the deployment of soft gateways and hard gateways is constructed.

[0049] The preset gateway division rules include that smart hardware devices that support high-frequency data collection and have high-definition video streaming capabilities are within the management scope of hard gateways.

[0050] Smart hardware devices deployed in a local area network, using the HTTP lightweight protocol for communication and requiring low computing performance are managed by the soft gateway.

[0051] For intelligent hardware devices that do not have communication modules, add serial ports and RS485 communication relay modules to connect to nearby gateway nodes.

[0052] A preferred solution for the preset gateway division rule is:

[0053] ,

[0054] in, Indicates the The gateway type that matches the device. Indicates the high-frequency acquisition threshold, Indicates the high bandwidth load threshold, Indicates whether the device has a communication module. Indicates the hardware gateway type. Indicates the software gateway type. Indicates the extended gateway type.

[0055] Establishing a mapping relationship between a device identifier and a gateway node includes, during the deployment process, assigning a unique device identifier to each identified smart hardware device and establishing an access mapping relationship between the smart hardware device and the edge gateway.

[0056] A preferred solution for establishing an access mapping relationship between intelligent hardware devices and edge gateways is:

[0057] ,

[0058] in, Indicates the The communication capability evaluation value of each device, represents the complexity of the protocol, Indicates the data reporting frequency, Indicates the unit data bandwidth requirement, Indicates the average delay from the device deployment location to the access gateway. 、 、 、 、 represents the weight coefficient, Indicates the The comprehensive access score of a device.

[0059] The mapping table includes device identification, IP address, gateway number, protocol used, communication port, and group coding parameters, and the mapping relationship is stored in the local database of the edge gateway.

[0060] S2: Deploy a plug-in protocol parsing service, match the corresponding plug-in based on the protocol characteristics of the access data, and perform standardized mapping processing of the original fields according to the preset field template of the object model.

[0061] The overall architecture of the present invention to realize the data collection and operation and maintenance functions of the hardware equipment of the smart construction site is as follows Figure 2 As shown, through Figure 2The specific construction process description of S2 clearly demonstrates the overall architecture of the present invention.

[0062] Define the data packets reported by the access device and represent the plug-ins as a collection. Match each plug-in with a function. Represent the fields parsed by the plug-in in a collection form. Define a parsing function for each field and obtain the original field value through the parsing function.

[0063] A preferred solution for obtaining the original field value through the parsing function is:

[0064] ,

[0065] in, Indicates the Original field values, Indicates the Field parsing functions, Indicates the data packet uploaded by the device. Indicates the data packet Perform a field extraction operation.

[0066] Map each original field value to a standard field value and validate the standard field. Provide a set of field rules for the plug-in through the field mapping template. Unify the plug-in output and maintain the plug-in registry through the parsing engine and automatically update the registry after loading. Add a registration mechanism in the plug-in.

[0067] A preferred approach to mapping each primitive field value to a standard field value is:

[0068] ,

[0069] in, Indicates the Standard field values, Represents the original field value, Indicates the unit conversion factor, Indicates the offset correction value.

[0070] Matching the corresponding plug-in includes representing the device uploaded data with a collection, selecting the target plug-in based on the function matching of the device uploaded data collection, calling the field parsing function and reading the field template for field mapping, performing field validity judgment, and outputting standard data structure field items.

[0071] A preferred solution for field validity judgment is:

[0072] ,

[0073] in, Indicates the upper and lower limits of the field value domain.

[0074] The standard data structure field items are based on the field mapping template bound to the plug-in, and a standardized conversion operation is performed on each original field value.

[0075] The field mapping template includes unit conversion parameters, offset parameters, target data type, and upper and lower limits of the value range. The field mapping template adopts a unified structure definition. The template format supports JSON definition and is referenced internally by the plug-in when the plug-in is loaded.

[0076] Field items include original field identifier, standard field name, data type, unit conversion factor, offset correction value, value range, and default processing rules.

[0077] The standardization conversion operation includes marking the original value, writing the converted field item as a candidate value into the key-value pair corresponding to the standard field name, performing data type conversion on the field item, formatting the field value according to the target data type and encapsulating it into a structured data dictionary, and outputting a JSON data packet with a unified structure.

[0078] A preferred method for performing data type conversion on field items is:

[0079] ,

[0080] in, Represents the original value of a standard field, Indicates the The target data type of each field defined in the template, Indicates type The conversion function, Indicates the field value after type conversion.

[0081] A preferred method for writing standard fields is:

[0082] ,

[0083] in, Indicates the Standard field structure, Indicates the The field identifier and code name of each field in the original device data, Indicates the The field name in the standard object model, Indicates the The data type of each field, Indicates the default processing rule. Indicates the unit conversion factor, Indicates the offset correction value, Indicates the The minimum value allowed for a field, Indicates the The maximum value allowed for a field.

[0084] S3: Using a double-buffered data structure, various types of intelligent hardware devices on the construction site are divided into buffers according to their status, and the packaging and uploading process is triggered based on the number of data items and time thresholds.

[0085] The data transfer process of the present invention is as follows Figure 3 As shown, through Figure 3 The data flow process description of S3 clearly shows the specific data flow process of the present invention.

[0086] Storage is classified by device type, and a maximum number of cache entries and cache expiration time limit are set for each type of data. If the cache capacity is exceeded, the earliest data entry is eliminated using a first-in-first-out method.

[0087] The main cache area is constructed as a multi-queue data cache area using a memory structure. Each queue corresponds to a data type one-to-one. When each data is written to the cache queue, the unique number of the data source device, the original data collection time, the number of fields and the data integrity check mark are recorded, and an index record is generated and registered in the cache metadata table. Before the data is stored in the buffer, the data format verification process is executed.

[0088] The verification process includes field quantity check, data type check, field naming validity check and structural integrity check.

[0089] Data entries that fail verification are not written into the cache, but transferred to the exception cache and an error log is generated and recorded in the edge log module.

[0090] The current data entries in the main cache are sorted by timestamp, grouped by device ID and organized into a unified data structure. The unified data structure is transferred to the secondary cache, and the device identification, timestamp range, field integrity tag and hash check value are added to each group of data.

[0091] A preferred solution for adding a hash check value is:

[0092] ,

[0093] in, express A hash digest of the group data, Indicates the packaged standard data. Represents a hash function.

[0094] The upload scheduler then calls the message transmission component to determine whether to report through the HTTP protocol based on the current network status. If the network status is normal, the upload task is started to report the contents of the secondary buffer area to the local cloud or remote cloud in a JSON structure, and listen for the cloud to return ACK confirmation. After successful confirmation, the secondary buffer area is immediately cleared.

[0095] A preferred solution for the upload trigger condition is:

[0096] ,

[0097] in, Indicates the upload trigger status. Indicates the number of data entries in the current main cache. Indicates the entry trigger threshold, Indicates the timestamp of the last upload. Indicates the time threshold.

[0098] If the ACK fails to be received or times out, the data in the secondary buffer is transferred to the upload failure buffer and written to the failed retransmission index table, waiting for the retransmission mechanism to poll. The entire process is executed asynchronously under the control of the task scheduler, and the upload process supports compressed transmission to reduce bandwidth load.

[0099] Example 2 is an embodiment of the present invention, which provides a smart construction site hardware equipment data acquisition and operation and maintenance system, including a structure construction and equipment mapping configuration module, a protocol parsing and field standardization mapping module, and a cache structure and data upload trigger module.

[0100] Among them: the structure construction and device mapping configuration module is used to collect data of multiple types of intelligent hardware devices at the project site, build the edge gateway structure, classify and arrange soft gateways and hard gateways, and establish a mapping relationship between device identification and gateway nodes.

[0101] It should also be noted that the structure construction and device mapping configuration module completes device attribute extraction, communication capability assessment, gateway allocation and device identification registration. The protocol parsing and field standardization mapping module uses the device identification and protocol type provided by the structure construction and device mapping configuration module as the parsing premise, and dynamically loads the corresponding protocol plug-in and field template.

[0102] The protocol parsing and field standardization mapping module is used to deploy plug-in protocol parsing services, match corresponding plug-ins based on the protocol characteristics of the access data, and perform standardized mapping processing of the original fields according to the preset field templates of the object model.

[0103] It should also be noted that the protocol parsing and field standardization mapping module parses the original data packet, performs field extraction, unit conversion, offset correction and type conversion, and outputs structured data. The output standard field data is directly received by the cache structure and data upload trigger module, and written into the queue of the device type corresponding to the main buffer. At the same time, the field verification result is output to decide whether to write to the main cache or transfer to the exception cache area.

[0104] The cache structure and data upload trigger module are used to adopt a double-buffered data structure to divide various types of intelligent hardware devices on the project site into buffer zones according to their status, and trigger the packaging and uploading process based on the number of data items and time thresholds.

[0105] It should also be noted that the cache structure and data upload trigger module determines whether to start the package upload process based on the cache status, and the packaged data is accompanied by the device identification, timestamp interval, field integrity tag, and hash check value. After the upload is successful, ACK information is fed back. The ACK status and task record are returned to the cache structure and data upload trigger module through the platform for cache cleanup and retransmission strategy decision. If multiple uploads fail, the structure construction and device mapping configuration module can be returned to update the device status or reconfigure the mapping table.

Claims

1. A method for data collection and operation of hardware equipment on a smart construction site, characterized in that: include: Collect data from various types of intelligent hardware devices at the project site, build an edge gateway structure, classify and arrange soft gateways and hard gateways, and establish a mapping relationship between device identifiers and gateway nodes; Deploy a plug-in protocol parsing service, match the corresponding plug-in based on the protocol characteristics of the access data, and perform standardized mapping of original fields according to the preset field template of the object model; A double-buffered data structure is used to divide various types of intelligent hardware devices on the construction site into buffers according to their status, and the packaging and uploading process is triggered based on the number of data items and time thresholds. Deploying a plug-in protocol parsing service involves defining data packets reported by access devices as structured collections, using plug-in collection management, setting matching functions for each plug-in, representing parsed fields as field collections, and extracting original field values ​​through field parsing functions. Standardized mapping of original fields involves performing field conversions item by item based on the field mapping template bound to the plug-in. This process uses a unified structured definition and is organized in JSON format. The field mapping process includes unit conversion, offset correction, data type conversion, and range checking of the original field values. The converted field values ​​form key-value pairs based on standard field names and are encapsulated in a uniformly structured JSON data format. The construction of the edge gateway structure and the classification and arrangement of the soft gateway and the hard gateway include: Based on the acquired smart hardware device data and the preset gateway division rules, the deployment of soft gateways and hard gateways is constructed; The preset gateway division rules include that intelligent hardware devices that support high-frequency data collection and have high-definition video streaming capabilities are managed by hard gateways; Smart hardware devices deployed in a local area network and using the HTTP lightweight protocol for communication, which have low computing performance requirements, are managed by the soft gateway. For intelligent hardware devices that do not have communication modules, add serial ports and RS485 communication relay modules to connect to nearby gateway nodes; Establishing a mapping relationship between a device identifier and a gateway node includes, during the deployment process, assigning a unique device identifier to each identified smart hardware device and establishing an access mapping relationship between the smart hardware device and the edge gateway; The mapping table includes device identification, IP address, gateway number, protocol used, communication port, and group coding parameters, and the mapping relationship is stored in the local database of the edge gateway.

2. The method for collecting and maintaining data on smart construction site hardware equipment according to claim 1, wherein: The data collected from various types of intelligent hardware devices at the engineering site include: Classify and extract attributes of the intelligent hardware devices deployed at the project site. Scan parameters for each type of device, including communication mode, protocol standard, data reporting frequency, bandwidth usage, and deployment location, to obtain network communication capabilities and operating status characteristics. Smart hardware equipment data includes tower crane monitoring equipment data, environmental detection sensor data, real-name gate machine data, and video surveillance terminal data.

3. The method for collecting and maintaining data on smart construction site hardware equipment according to claim 2, wherein: The deployment of plug-in protocol parsing service includes: Define the data packets reported by the access device and represent the plug-in as a collection. Perform function matching on each plug-in and represent the fields parsed by the plug-in as a collection. Define a parsing function for each field and obtain the original field value through the parsing function. Map each original field value to a standard field value and verify the standard field. Provide a field rule set for the plug-in through a field mapping template. Unify the plug-in output and maintain the plug-in registry through the parsing engine. Automatically update the registry after loading. Add a registration mechanism to the plug-in. Matching the corresponding plug-in includes representing the device uploaded data with a collection, selecting the target plug-in based on the function matching of the device uploaded data collection, calling the field parsing function and reading the field template for field mapping, performing field validity judgment, and outputting standard data structure field items.

4. The method for collecting and maintaining data on smart construction site hardware equipment according to claim 3, wherein: The standardization mapping process of the original fields includes: Perform standardized conversion operations on each original field value based on the field mapping template bound to the plug-in. The field mapping template includes unit conversion parameters, offset parameters, target data type, and upper and lower limits of the value range. The field mapping template adopts a unified structure definition. The template format supports JSON definition and is referenced internally by the plug-in when the plug-in is loaded. Field items include original field identifier, standard field name, data type, unit conversion factor, offset correction value, value range, and default processing rules; The standardization conversion operation includes marking the original value, writing the converted field item as a candidate value into the key-value pair corresponding to the standard field name, performing data type conversion on the field item, formatting the field value according to the target data type and encapsulating it into a structured data dictionary, and outputting a JSON data packet with a unified structure.

5. The method for collecting and maintaining data on smart construction site hardware equipment according to claim 4, wherein: The division into buffer zones includes: Categorize storage by device type, and set a maximum number of cache entries and cache expiration time limit for each type of data. If the cache capacity is exceeded, the oldest data entry will be eliminated using a first-in-first-out method. The main cache uses a memory structure to construct a multi-queue data cache. Each queue corresponds to a data type. When each data is written to the cache queue, the unique number of the data source device, the original data acquisition time, the number of fields and the data integrity check mark are recorded, and an index record is generated and registered in the cache metadata table. Before the data is stored in the buffer, the data format verification process is executed; The verification process includes checking the number of fields, data types, field naming validity, and structural integrity. Data entries that fail verification are not written into the cache, but transferred to the exception cache and an error log is generated and recorded in the edge log module.

6. The method for collecting and maintaining data on smart construction site hardware equipment according to claim 5, wherein: The triggering package upload process includes: The current data entries in the main cache are sorted by timestamp, grouped by device ID and organized into a unified data structure, which is then transferred to the secondary cache. The device identification, timestamp range, field integrity tag, and hash check value are added to each set of data. The upload scheduler calls the message transmission component and determines whether to report via the HTTP protocol based on the current network status.

7. A system using the smart construction site hardware equipment data acquisition and operation method according to any one of claims 1 to 6, characterized in that: Including structure construction and device mapping configuration module, protocol parsing and field standardization mapping module, cache structure and data upload trigger module; The structure construction and device mapping configuration module is used to collect data of multiple types of intelligent hardware devices in the engineering site, build the edge gateway structure, classify and arrange the soft gateways and hard gateways, and establish the mapping relationship between the device identification and the gateway node; The protocol parsing and field standardization mapping module is used to deploy plug-in protocol parsing services, match corresponding plug-ins according to the protocol characteristics of the access data, and perform standardized mapping processing of original fields according to the preset field template of the object model; The cache structure and data upload trigger module are used to adopt a double-buffered data structure to divide multiple types of intelligent hardware devices in the engineering site into buffer zones according to their status, and trigger the packaging and uploading process based on the number of data items and time thresholds.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the smart construction site hardware equipment data collection and operation and maintenance method described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the smart construction site hardware equipment data collection and operation and maintenance method described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data transmission method and device applied to smart home system, equipment and medium

    CN115766310A

  • Soft gateway system supporting data exchange among multiple devices

    CN119728796A