Disclosure of Invention
In view of the above, the present invention provides a method and a system for collecting and analyzing field data, which are used to solve the problems that in the prior art, hardware and software devices adopted in a smart site in the field data analysis and collection process have no universality, and when a smart site solution is required to be adopted to collect and analyze field data, an original device needs to be replaced, and the collection and analysis method has poor universality, and the specific scheme is as follows:
a method of collecting and analyzing field data, comprising:
when an analysis request for a target project is received, acquiring each acquisition device used by the target project;
registering each acquisition device according to a preset registration rule;
when a registration success signal is detected, receiving field data acquired by each acquisition device;
and analyzing the field data according to the analysis request.
In the foregoing method, preferably, registering each acquisition device according to a preset registration rule includes:
for each acquisition device, when a registration request of the acquisition device is detected, allocating an identification code to the acquisition device;
matching the identification code with each target identification code in a preset target identification code library;
when there is a target identification code matching the identification code, registration is completed.
In the above method, preferably, the analyzing the field data according to the analysis request includes:
converting the field data into a plurality of standard data with preset formats;
screening each standard data to obtain target data;
and analyzing the target data according to the analysis request.
In the above method, preferably, the converting the field data into a plurality of standard data in a preset format includes:
acquiring an identification code corresponding to each field data;
classifying the field data according to the identification codes to obtain a plurality of field data to be processed;
and converting the plurality of field data to be processed into a plurality of standard data with preset formats.
The method preferably further comprises:
and storing the analysis request and the analysis result associated with the analysis request.
A system for collecting and analyzing field data, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring each acquisition device used by a target project when receiving an analysis request of the target project;
the registration module is used for registering each acquisition device according to a preset registration rule;
the receiving module is used for receiving the field data collected by each collecting device when a registration success signal is detected;
and the analysis module is used for analyzing the field data according to the analysis request.
In the above system, preferably, the registration module includes:
the distribution unit is used for distributing an identification code for each acquisition device when the registration request of the acquisition device is detected;
the matching unit is used for matching the identification code with each target identification code in a preset target identification code library;
and the registration unit is used for finishing registration when a target identification code is matched with the identification code.
In the above system, preferably, the analysis module includes:
the conversion unit is used for converting the field data into standard data in a plurality of preset formats;
the screening unit is used for screening each standard data to obtain target data;
and the analysis unit is used for analyzing the target data according to the analysis request.
In the above system, preferably, the conversion unit includes:
the acquisition subunit is used for acquiring an identification code corresponding to each field data;
the classification subunit is used for classifying the field data according to the identification codes to obtain a plurality of field data to be processed;
and the conversion subunit is used for converting the field data to be processed into a plurality of standard data with preset formats.
The system described above is preferably characterized by further comprising:
and the storage module is used for storing the analysis request and the analysis result related to the analysis request.
Compared with the prior art, the invention has the following advantages:
the invention discloses a method for collecting and analyzing field data, which comprises the following steps: when an analysis request for a target project is received, acquiring each acquisition device used by the target project; registering each acquisition device according to a preset registration rule; when a registration success signal is detected, receiving field data acquired by each acquisition device; and analyzing the field data according to the analysis request. According to the method, the collecting device used by the target engineering is directly adopted to collect the field data, so that the problems that the hardware and software devices adopted in the prior art are not universal, the original devices are required to be replaced, and the collecting and analyzing method is poor in universality are solved.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The invention provides a method for collecting and analyzing field data, wherein an execution main body of the method can be a processor, a controller, a data collection, analysis and processing platform and the like. The collecting method is applied to a construction site, a construction site or other places needing management, the flow of the collecting and analyzing method is shown in figure 1, and the collecting and analyzing method comprises the following steps:
s101, when an analysis request for a target project is received, acquiring each acquisition device used by the target project;
in the embodiment of the invention, the target project refers to a project which needs to be subjected to field data collection and analysis at present. The acquisition equipment can be attendance equipment, information reading equipment, video monitoring equipment, mobile terminal equipment, tool monitoring equipment and the like, and is connected with the terminal server through the routing equipment.
S102, registering the acquisition equipment according to a preset registration rule;
in the embodiment of the invention, in order to ensure that each acquisition device in use in a target project can complete data acquisition work and upload the acquired data, each acquisition device needs to be registered.
S103, receiving field data collected by each collecting device when a registration success signal is detected;
and S104, analyzing the field data according to the analysis request.
In the embodiment of the invention, the field data is analyzed according to the analysis request, which means that the field data is counted, analyzed and mined, so that a user is helped to know the field situation, and the management and control of a target engineering field are realized. The analysis result can be displayed by a graph, a curve or the like.
In the embodiment of the present invention, because there are a plurality of types of collecting devices being used in a target project, before collecting and analyzing field data of the target project, each collecting device needs to be added into a preset device database manually, where information stored in the preset device database includes: the type, the brand, the model and the like of the acquisition equipment, and for the acquisition equipment of the same type, if at least one of the brand or the model of the current two equipment is different, the database judges that the current two equipment are different equipment under the same type, for example, the equipment type is a camera, and the current two cameras are two different brands, and then the current two cameras are considered to be different equipment.
The purpose of the above processing manner is to distinguish the devices, and also to distinguish the devices as camera devices, the types of the collected data are different due to differences in brands, models, or other parameters, and therefore, in order to distinguish the devices, an identification code needs to be allocated to each device, the identification code is defined as a target identification code, and the target identification code is unique to the same device, and the identification code is stored in a target identification code library.
In the embodiment of the invention, the method further comprises the following steps: and storing the analysis request and the analysis result associated with the analysis request. When the historical analysis data needs to be called, the calling is directly carried out.
The invention discloses a method for collecting and analyzing field data, which comprises the following steps: when an analysis request for a target project is received, acquiring each acquisition device used by the target project; registering each acquisition device according to a preset registration rule; when a registration success signal is detected, receiving field data acquired by each acquisition device; and analyzing the field data according to the analysis request. According to the method, the collecting device used by the target engineering is directly adopted to collect the field data, so that the problems that the hardware and software devices adopted in the prior art are not universal, the original devices are required to be replaced, and the collecting and analyzing method is poor in universality are solved.
In the embodiment of the present invention, a flow of a method for registering each acquisition device according to a preset registration rule is shown in fig. 2, and the method includes the steps of:
s201, aiming at each acquisition device, when a registration request of the acquisition device is detected, an identification code is distributed to the acquisition device;
in the embodiment of the invention, the principle of distributing the identification codes is as follows: firstly, basic information such as the equipment type, the brand, the model and the like of current acquisition equipment is acquired, and an identification code is distributed according to the basic information.
S202, matching the identification code with each target identification code in a preset target identification code library;
s203, when a target identification code is matched with the identification code, the registration is completed.
In the embodiment of the invention, the actual purpose of the registration process of the acquisition equipment is to provide authority for adding the field data acquired by the acquisition equipment into a data collection, analysis and processing platform to collect and analyze data. However, since the acquisition devices in the engineering site of the target engineering are purchased or replaced due to scale expansion or device damage, the identification code allocated to a certain acquisition device may not match the target identification code in the preset target identification code library, and at this time, the information of the acquisition device that fails to match needs to be fed back, and the acquisition device that fails to match needs to be manually added.
In the embodiment of the present invention, a flowchart of a method for analyzing the field data according to the analysis request is shown in fig. 3, and includes the steps of:
s301, converting the field data into standard data in a plurality of preset formats;
in the embodiment of the invention, each acquisition device corresponds to the field data, and the field data come from different types of data acquisition devices, even if the field data come from the same type of data acquisition devices, the storage formats of the data can be different due to different brands or models, so that all the field data need to be converted into the standard data in the preset format for the convenience of subsequent analysis and processing.
The specific conversion method comprises the following steps: acquiring an identification code corresponding to each field data; classifying the field data according to the identification codes to obtain a plurality of field data to be processed; and converting the plurality of field data to be processed into standard data in a preset format according to a preset format.
S302, screening each standard data to obtain target data;
in the embodiment of the invention, because uncertain factors exist in the data acquisition process, the standard data needs to be screened, abnormal values are filtered, and the accuracy of analysis is ensured.
S303, analyzing the target data according to the analysis request.
In the embodiment of the present invention, the standard data in the preset format may be in one format or in multiple formats.
In the embodiment of the present invention, based on the above collection and analysis method, a data collection, analysis and processing platform is developed, a structural block diagram of which is shown in fig. 4, and the data collection, analysis and processing platform includes: the system comprises four major parts of a peripheral interface library, a data processing program, a data analysis program and a database. After the equipment manufacturer tests and verifies the safety and reliability through the system operation and maintenance project group, the corresponding data transmission interface can be added into the peripheral interface library of the system; after data collected by external equipment enters a system, receiving input of external data through an interface in an external interface library, converting the data into standard data in a preset format for transmission, and transmitting the standard data to a data processing program; and the data processing program carries out data cleaning on the standard data in the preset format and deletes irregular acquired data such as misinformed acquired signals and the like to form final target data. And the data analysis program is used for counting, analyzing and mining the processed data, helping a user to know the situation of the site and carrying out management and control on the site through data dimensionality.
In the embodiment of the invention, the data analysis, collection and processing platform can be regarded as an application program and is directly installed in the terminal computer, and the terminal computer can communicate and transmit data with the remote management terminal through a network transmission protocol, so that remote management of field data is realized.
According to the principle structure and the field service condition of the data collection, analysis and processing platform, the data collection, analysis and processing platform is divided into functional domains, and the functional domains comprise a field management subsystem, a certificate making subsystem, an information visualization subsystem, a personnel gate subsystem, a vehicle gate subsystem and a field information inquiry subsystem, wherein the field management subsystem corresponds to a data cleaning module and a data analysis module, the certificate making subsystem, the information visualization subsystem, the personnel gate subsystem and the vehicle gate subsystem correspond to peripheral data input and data conversion modules, and the field information inquiry subsystem corresponds to a data analysis module.
The field management subsystem realizes personnel and vehicle basic information maintenance, access and evidence management, inquiry statistics, intelligent analysis and system management; the certificate making subsystem is responsible for making certificates for personnel and vehicles to enter and exit; the information visualization subsystem is responsible for displaying the statistical information on the LED screen. The personnel gate subsystem is responsible for managing personnel to enter and exit, and the vehicle gate is responsible for entering and exiting vehicles and recording the time of entering and exiting the vehicles; and the field information inquiry subsystem is responsible for checking the information of field personnel, vehicles, construction machinery and tools by scanning the two-dimensional code.
Further, the basic information management includes: the system comprises a project department personnel registration unit, a packet personnel registration unit, a temporary personnel registration unit, a personnel roster maintenance unit, a common vehicle registration unit, a temporary vehicle registration unit, a vehicle information maintenance unit, a building unit registration unit, a building unit information maintenance unit, a construction machine registration unit, a construction machine information maintenance unit, a construction machine application record filling unit, a tool registration unit, a tool information maintenance unit and a tool application record filling unit.
The said discrepancy and information card management includes: the system comprises a formal personnel access certificate generating unit, a temporary personnel access certificate generating unit, a formal vehicle access certificate generating unit, a temporary vehicle access certificate generating unit, a certificate reprocessing unit, a certificate revocation unit, a construction machine information card generating unit and a tool information card generating unit.
The query statistics include: the system comprises field personnel, a vehicle real-time query unit, a personnel entering and exiting field recording query unit, a vehicle entering and exiting field recording query unit, a construction machinery standing book query unit, a tool standing book query unit, an entering and exiting certificate information query unit and a time-interval statistical report unit.
The intelligent analysis comprises: the personnel form an analysis, simultaneous in and simultaneous out analysis unit and a post-in-place analysis unit.
The system management comprises: the system comprises a system initialization unit, an authority configuration unit, an interface configuration unit, a statistical parameter configuration unit, a system log unit, a data encryption unit, a data backup unit and a code maintenance unit.
The information visualization subsystem includes: and the field personnel and vehicle real-time statistical information display unit.
The personnel lock subsystem comprises: the system comprises an identity authentication unit, a gate control unit, a temporary card access recovery unit and a card swiping record exporting unit.
The vehicle gate subsystem includes: the system comprises a vehicle verification unit, a gate control unit, a temporary card access recovery unit, a card swiping record export unit and a license plate snapshot unit.
The field information inquiry subsystem comprises: the system comprises a personnel information inquiry unit, a vehicle information inquiry unit, a construction machine information inquiry unit and a tool information inquiry unit.
The certification making subsystem comprises: the system comprises an identity card information reading unit, an RFID card reading unit, a head portrait capturing unit and a certificate printing and equipment parameter configuration unit.
The capital construction management system comprises: the system comprises a project progress analysis unit, a supervision side station analysis unit and a project part personnel standardized equipment analysis unit.
Corresponding to the above collecting, analyzing and processing method, the present invention further provides a collecting and analyzing system for field data, and a block diagram of the collecting and analyzing system is shown in fig. 5, and includes:
an acquisition module 401, a registration module 402, a reception module 403 and an analysis module 404.
Wherein,
the obtaining module 401 is configured to obtain, when an analysis request for a target project is received, each collecting device that is being used by the target project;
the registration module 402 is configured to register each acquisition device according to a preset registration rule;
the receiving module 403 is configured to receive field data acquired by each acquisition device when a registration success signal is detected;
the analysis module 404 is configured to analyze the field data according to the analysis request.
The invention discloses a field data collecting and analyzing system, which comprises: when an analysis request for a target project is received, acquiring each acquisition device used by the target project; registering each acquisition device according to a preset registration rule; when a registration success signal is detected, receiving field data acquired by each acquisition device; and analyzing the field data according to the analysis request. According to the system, the collection equipment used by the target engineering is directly adopted to collect the field data, so that the problems that the hardware and software equipment adopted in the prior art are not universal, the original equipment needs to be replaced, and the collection and analysis method is poor in universality are solved.
In this embodiment of the present invention, the registration module 402 includes:
an allocation unit 405, a matching unit 406 and a registration unit 407.
Wherein,
the allocating unit 405 is configured to, for each acquisition device, allocate an identification code to the acquisition device when a registration request of the acquisition device is detected;
the matching unit 406 is configured to match the identification code with each target identification code in a preset target identification code library;
the registration unit 407 is configured to complete registration when there is a target identifier matching the identifier.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should be further noted that, in the present application, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.