CN109814501B - Information acquisition system and method for flexible access of field detection equipment - Google Patents

Information acquisition system and method for flexible access of field detection equipment Download PDF

Info

Publication number
CN109814501B
CN109814501B CN201811636720.1A CN201811636720A CN109814501B CN 109814501 B CN109814501 B CN 109814501B CN 201811636720 A CN201811636720 A CN 201811636720A CN 109814501 B CN109814501 B CN 109814501B
Authority
CN
China
Prior art keywords
equipment
detection
data
information
self
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811636720.1A
Other languages
Chinese (zh)
Other versions
CN109814501A (en
Inventor
李淑华
李奥伟
潘瑜春
郜允兵
高秉博
郝星耀
黄坤
董士伟
周艳兵
任艳敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Research Center for Information Technology in Agriculture
Original Assignee
Beijing Research Center for Information Technology in Agriculture
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Research Center for Information Technology in Agriculture filed Critical Beijing Research Center for Information Technology in Agriculture
Priority to CN201811636720.1A priority Critical patent/CN109814501B/en
Publication of CN109814501A publication Critical patent/CN109814501A/en
Application granted granted Critical
Publication of CN109814501B publication Critical patent/CN109814501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides an information acquisition system and method for flexible access of field detection equipment, wherein the detection equipment sends a self-description data packet when being accessed into data acquisition management equipment and automatically adapts after being accessed, so that different types of detection equipment are dynamically accessed into one data acquisition management equipment; the method has the advantages that secret data transmission is carried out without using an internet processing technology, functions of local registration, local adaptation, local analysis and the like under the condition of a local data transmission network are realized, secret data information leakage caused by common methods such as network end adaptation, network data processing and the like is avoided, practical problems such as corresponding equipment adaptation, data access and the like can be solved in field detection of portable heavy metal detection equipment, various detection equipment can be flexibly accessed into one data acquisition management equipment in field detection, and a series of operations such as local registration, adaptation, data frame analysis and the like of the detection equipment are completed under the condition of no internet.

Description

Information acquisition system and method for flexible access of field detection equipment
Technical Field
The embodiment of the invention relates to the technical field of communication data services, in particular to a flexible access information acquisition system and method for field detection equipment.
Background
With the attention on prevention and control of heavy metal pollution of soil, the field detection of the heavy metal in the soil becomes an important technical means and an important investigation method for rapid screening and field investigation of suspected polluted areas. Therefore, the importance and the necessity of the site detection of the heavy metal in the soil are increasingly highlighted, and the site detection plays an important role in comprehensively and quickly finding out the pollution condition. The indexes of the field rapid detection of the soil heavy metal are more, and the field detection adopts portable heavy metal detection equipment more. At present, detection devices with different principles, such as X-ray, LIBS, micro-plasma, electrothermal evaporation atomic traps and the like, have different detection sensitivities and accuracies for different indexes, and in actual work, the devices for detecting different excitation sources are often required to cooperate with each other to jointly complete the field detection of the heavy metals in the soil. The field detection devices are various in types, the detection indexes of the detection devices are large in difference, and how to realize the integrated acquisition of detection result data of the same monitoring point in the combined cooperative operation is the technical bottleneck of the current combined operation.
At present, the data acquisition modes of soil heavy metal field detection mainly have two kinds: one is manual recording, namely an equipment integration detection result display module, and workers manually copy detection results and corresponding sample background information, but the mode causes heavy field recording work and higher error rate of acquired data; the other type is one-to-one digital automatic recording, namely, the devices are respectively integrated with matched and customized data acquisition systems, field acquisition data are stored as data recording files, the data files are exported in a wired communication mode for being used by internal processing or directly sent to a background database in a network transmission mode, but the mode belongs to a single-soldier operation mode in field detection, cooperation and interaction operation of the field detection are difficult to realize, each detection device is integrated with an acquisition module, the matched acquisition systems need to be respectively customized and developed, hardware and software resources of the detection devices are wasted, and the multi-module integration device also enables maintenance cost to be higher.
In addition, a static one-to-many automatic data recording method is also adopted as a common method for accessing equipment data in the field other than soil heavy metal field detection: the method can be compatible with data acquisition systems of a plurality of devices, data of different devices are imported or automatically accessed into one data acquisition system on site, automatic recording of detection data of a plurality of detection devices is realized, the plurality of detection devices can be jointly configured with one acquisition device of an operation acquisition system, and the utilization rate of hardware resources is improved. However, such acquisition systems are often developed in a customized manner for specific access devices, and have low system adaptation degree and compatibility, which cannot satisfy universal access, and do not have the characteristic of dynamic system adaptation according to changes of the access devices.
At present, a flexible access technical solution of soil heavy metal field detection equipment is not searched, the search range is expanded to the field of multi-sensor access, and the current widely-applied technical scheme is mainly realized based on an SWE (single wire express) sensing network integration framework, but an SOS (sequence of service) sensor observation service implementation scheme does not have self-adaptive capacity for heterogeneous sensors with different access modes and different data transmission protocols, so that the SOS sensor observation service implementation scheme cannot be dynamically adapted to multi-source heterogeneous detection equipment. In the improvement technology of the above scheme, a technical scheme of accessing a heterogeneous sensor and observation data thereof to an SOS is proposed, which can realize dynamic access of multiple sensors, but the dynamic adaptation and access of the sensors are realized on a network server, and field local devices cannot be adapted and accessed in a field environment.
Therefore, the method and the device for integrated, flexible and autonomous access of various detection devices are lacked at present for rapidly monitoring the soil heavy metal on site, and the requirement of 'plug and play' adapters and terminal data acquisition systems of various heavy metal detection devices during on-site detection is met.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide an information acquisition system and method for flexible access of a field detection device.
According to a first aspect of an embodiment of the present invention, an embodiment of the present invention provides an information acquisition system flexibly accessed by a field detection device, where the system includes: the system comprises a plurality of types of detection equipment and data acquisition management equipment, wherein each detection equipment is respectively connected with the data acquisition management equipment; the detection equipment is used for uploading the self-description data packet and the detection data frame to the data acquisition management equipment; the data acquisition management equipment is used for analyzing the self-description data packet; accessing the detection equipment to generate a class adapter corresponding to each class of detection equipment; and receiving the detection data frame, and calling the corresponding class adapter to analyze the detection data frame.
According to a second aspect of the embodiments of the present invention, an embodiment of the present invention provides an information acquisition method for flexible access of a field detection device, including: s1, the detection device uploads a self-description data packet to the data acquisition management device; s2, the data acquisition management equipment analyzes the self-description data packet and registers the detection equipment; the data acquisition management equipment generates a class adapter corresponding to the detection equipment according to the registration content; s3, the detection device uploads a detection data frame to the data acquisition management device; and the data acquisition management equipment calls the corresponding class adapter according to the detection data frame and analyzes the detection data frame.
The embodiment of the invention provides an information acquisition system and method for flexible access of field detection equipment, wherein the detection equipment sends a self-description data packet when being accessed into data acquisition management equipment and automatically adapts after being accessed, so that different types of detection equipment are dynamically accessed into one data acquisition management equipment; the method has the advantages that secret data transmission is carried out without using an internet processing technology, functions of local registration, local adaptation, local analysis and the like under the condition of a local data transmission network are realized, secret data information leakage caused by common methods such as network end adaptation, network data processing and the like is avoided, practical problems such as corresponding equipment adaptation, data access and the like can be solved in field detection of portable heavy metal detection equipment, various detection equipment can be flexibly accessed into one data acquisition management equipment in field detection, and a series of operations such as local registration, adaptation, data frame analysis and the like of the detection equipment are completed under the condition of no internet.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from these without inventive effort.
FIG. 1 is a schematic structural diagram of an information acquisition system flexibly accessed by field test equipment according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a self-describing packet structure according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating the structure of fields of a self-describing packet according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a data acquisition management device according to an embodiment of the present invention:
FIG. 5 is a block diagram of a class adapter according to an embodiment of the present invention;
FIG. 6 is a schematic general flow chart of a flexible access information acquisition method for a field test device according to an embodiment of the present invention;
fig. 7 is a detailed flowchart of an information acquisition method for flexible access of a field test device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. 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.
At present, a method and a device for integrating and flexibly and independently accessing various detection devices are lacked for rapidly monitoring soil heavy metal on site, and a plug-and-play adapter and a terminal data acquisition system of various heavy metal detection devices are satisfied during site detection.
Fig. 1 is a schematic structural diagram of an information acquisition system according to an embodiment of the present invention, and as shown in fig. 1, an embodiment of the present invention provides an information acquisition system flexibly accessed by a field detection device, where the system includes: the system comprises a plurality of types of detection equipment and data acquisition management equipment, wherein each detection equipment is respectively connected with the data acquisition management equipment; the detection equipment is used for uploading the self-description data packet and the detection data frame to the data acquisition management equipment; the data acquisition management equipment is used for analyzing the self-description data packet and registering the detection equipment; generating a class adapter corresponding to each class of detection equipment according to the registration content; and receiving the detection data frame, and calling the corresponding class adapter to analyze the detection data frame.
Specifically, after the self-description data packet is generated, once the data acquisition management equipment needs to be accessed, the self-description data packet can be transmitted to the accessed data acquisition management equipment, the self-equipment information is described for the data acquisition management equipment, the data acquisition management equipment analyzes the self-description data packet, the self-description data in the self-description data packet is obtained, then the corresponding detection equipment is registered and accessed, so that the detection equipment after being registered and accessed can acquire real-time data when sending data in the future, the manual operation process is simplified, the data can be rapidly guided in, and the problems of data loss and the like in the process of transmitting data among different equipment or submitting different personnel are reduced. The data acquisition management equipment generates a class adapter corresponding to each class of detection equipment in advance according to the registration content of the detection equipment by using the information of the self-description data packet of the detection equipment as the registration content of the detection equipment, namely, the information registration of the class of detection equipment is completed, relevant class adapter adaptation is carried out when the same type of inspection equipment is accessed into the data acquisition management equipment, the complex processes of repeated registration, repeated adaptation and the like are avoided, then the detection data frame uploaded by the detection equipment is received, and the corresponding class adapter is called to analyze the detection data frame.
The embodiment of the invention is suitable for adaptation and data communication between different detection devices and data acquisition management devices. The method solves the flexible access problem of different devices, abandons the method of installing a matching software for each type of device in the data acquisition management device, and provides a universal system for processing. The system can be used for communication identification access and data transmission of portable field real-time detection equipment, a standardized equipment self-description communication identification access system is established, and multi-source heterogeneous equipment access of data information of different types and different protocol types is realized.
Based on the foregoing embodiment, fig. 2 is a schematic structural diagram of a self-description packet according to an embodiment of the present invention, and as shown in fig. 2, the self-description packet includes a device type information layer, a device basic information layer, a device management information layer, and an auxiliary information layer; the device type information layer is used for describing basic information of products of the category to which the detection device belongs; the device basic information layer is used for describing basic information and protocol information of the detection device; the device management information layer is used for describing the use management condition of the detection device; and the auxiliary information layer is used for describing the structural information of the self-description data packet and assisting the data information generated from the self-description data packet.
In particular, the self-description language is a language that structurally describes various types of attribute features of a device using an existing programming language or a related easy-to-structure description format. In the project practice, a detection device self-description scheme based on the SWE basis is provided, and a system module in the detection device packages device information (namely information required by data acquisition management devices) described by a self-description language into data packets in a hierarchical manner, wherein each data packet represents basic information of a device class in which each device is located.
The self-description language structure is extensible, is not limited to the existing equipment, has certain adaptation capability to old equipment and equipment developed in the future, is easy to form standardized equipment structure self-description, and can adopt the currently popular programming language or related easy-to-structure description format to carry out structural description on the equipment during description, such as: extensible markup languages XML, JSON format, and the like.
The data packet refers to the system to carry out hierarchical encapsulation on corresponding information in the development process of the detection equipment to generate an equipment data packet, and the self-description data packet is mainly divided into four layers: a device type information layer, a device basic information layer, a device management information layer and an auxiliary information layer.
The device type information layer mainly describes basic information of a class product to which the device belongs, and is used for constructing classes of the class adapters and acquiring basic information of product classes; the basic information layer of the equipment mainly describes basic information of the access equipment, is used for identifying whether the equipment is accessed or not, and is convenient for a background to record the access condition of the equipment, wherein field information such as protocol rules and the like is used for generating an adapter analysis functional component; the equipment management information layer mainly describes the use management condition of the equipment and is used for links such as equipment problem management, equipment management unit or responsible person change and the like in the whole life cycle of the equipment; the auxiliary information layer mainly relates to the data information such as the size, the rule and the like of an auxiliary generation data packet, such as structural information and the like required to be contained in the construction data packet. The device type information layer mainly corresponds to a device type information field, the device basic information layer mainly corresponds to a device basic information field, the device management information layer mainly corresponds to a device management information field, and the auxiliary information layer mainly corresponds to a packet header identification information field, a check field and a packet tail identification information field.
The self-description data packet is generated to be of a multi-layer structure and comprises basic field information such as a packet header identification information field, an equipment type information field, an equipment basic information field, an equipment management information field, a check field and a packet tail identification information field, wherein the equipment type information field comprises sub fields such as an equipment manufacturer field, a brand field and a model field; the device basic information field comprises a device ID identification field, a protocol mark identification field, a protocol rule field and other subfields; the device management information field includes subfields such as a device responsibility field.
Fig. 3 is a schematic structural diagram of fields of a self-description packet according to an embodiment of the present invention, as shown in fig. 3, table 1 is an example of fields of the self-description packet, as shown in fig. 3 and table 1, where the self-description packet includes a header identification information field, a device type information field, a device basic information field, a device management information field, a check field, and a trailer identification field.
TABLE 1
Figure BDA0001930221870000061
Figure BDA0001930221870000071
It should be noted that the self-description data packet may be generated in advance, the storage location of the self-description data packet may be a storage medium such as an internal memory, an external memory card, etc., the self-description data packet may be flexibly programmed according to the device's own conditions such as the device information amount, the CPU performance, the storage space, etc., and the system is only used to standardize the basic information structure of the device.
Based on the foregoing embodiments, fig. 4 is a schematic block diagram of a data acquisition management device according to an embodiment of the present invention, and as shown in fig. 4, the data acquisition management device includes a self-description data packet parsing module, an adapter generation module, an adapter library management module, and a data frame parsing module; the self-description data packet analyzing module is used for analyzing the self-description data packet and registering the detection equipment; the adapter generation module is used for generating a class adapter corresponding to the detection device according to the registration content; the adapter library management module is used for storing the information of the class adapter; and the data frame analysis module is used for analyzing and detecting the data frame.
Specifically, the self-description data packet contains basic information of the equipment, the self-description data packet has a certain data volume, when the self-description data packet is uploaded in a large quantity, the data acquisition management equipment firstly places the self-description data packet in a specific storage area through a self-description data packet analysis module of the system, for example, a buffer pool is used for buffering a large quantity of short-time registration information data, namely the self-description data packet of the equipment, and the registration information is processed one by one through structural forms such as queues and the like when the data packet is processed, so that the data collision caused by simultaneous registration of a plurality of detection equipment is prevented.
When the data acquisition management device side needs to use certain level information of the self-description data packet, relevant layer contents can be extracted, for example: the system comprises equipment type information layers such as manufacturers, brands and models of equipment, equipment basic information layers such as equipment IDs, protocol types and protocol rule fields, and equipment management information layers such as equipment responsible persons. When a certain type of equipment is registered for the first time, the data acquisition management equipment constructs a multi-level adapter by analyzing an input self-description data packet of a multi-level data structure, the equipment type adapter is not repeatedly generated when the equipment type adapter is accessed again, and only the mapping from the multi-level self-description data packet to the corresponding type adapter is realized. The hierarchical management of the self-description data packet, namely the device type information layer, the device basic information layer, the device management information layer and the auxiliary information layer, reduces the construction complexity of the class adapter, and the generated multi-level class adapter can layer input data according to different requirements.
According to the embodiment of the invention, a plurality of information is packaged into different levels of information through a detection equipment terminal, the different levels of information are subjected to labeling processing and other series of processes, and finally the information is packaged into a self-description data packet which is easy to send and is sent to the data acquisition management equipment for the data acquisition management equipment to register and access the detection equipment, so that the data transmission mode of the detection equipment is simplified. And forming a transmission model of self-description before sending, self-adaptation after accessing and self-transmission of the detection equipment.
Based on the foregoing embodiment, fig. 5 is a schematic structural diagram of a class adapter according to an embodiment of the present invention, and as shown in fig. 5, the class adapter includes a device class adaptation layer, a data protocol adaptation layer, and a data parsing adaptation layer; the device adaptation layer is used for matching and connecting the detection device and importing the detection data frame into the data protocol adaptation layer; the data protocol adaptation layer is used for matching protocol information of the detection equipment and importing the detection data frame into the data protocol adaptation layer; and the data analysis adaptation layer is used for analyzing and detecting the data frame.
Specifically, the class adapters are divided into three layers: the device class adapter layer, the data protocol adapter layer and the data analysis adapter layer are used for completing relevant matching calculation only by calling methods of corresponding layers when different modules call the class adapter, so that the operation efficiency of the device is improved, the logic complexity is reduced, and the hierarchical management and the hierarchical application of the class adapter are better realized.
The device type adaptation layer mainly manages matching and connection operation of access devices, and guides data to enter the data protocol adaptation layer under the condition of data input; the data protocol adaptation layer mainly plays a role in matching data frame protocols and guiding data into a data frame analysis module; the data analysis adaptation layer mainly realizes the analysis processing of the corresponding data frame data by calling a data frame analysis module.
When the adapter generation module generates the equipment adapter, the data frame which is uploaded by the detection equipment and contains heavy metal data is specially processed, the inside of the data analysis adaptation layer contains a heavy metal content unit conversion module, and the conversion processing is mainly unified for the unit of the heavy metal element used by the heavy metal detection instrument produced by different equipment manufacturers, for example: mg/kg, mg/L, ppm, ppb, ppt and the like, reduce the calculation pressure of data acquisition management equipment during data display and storage, and facilitate the unified management of data by a background after unifying units.
The generated equipment adapter meets the equipment adaptation of a certain type of equipment where the detection equipment is located, the adapter is stored in an equipment adapter library, meanwhile, the adapter can directly call the data of the detection equipment adapter library through an adapter library management module when the equipment is accessed again, the registration-free data frame information processing of the same type of equipment is guaranteed, and the registration-free access of the equipment can be finished through the registration and storage of one equipment. The original time-consuming operation of directly reading data from the database of the registered equipment and then processing the data is converted into the multi-level adapter matching operation of a small amount of data calculation.
Based on the above embodiments, the protocols include common device protocols and custom device protocols.
Specifically, in the registration process, the protocol registration part of the detection device is mainly divided into two types:
the first type is the common device protocol. The common equipment protocol can be imported into an equipment protocol library carried by the system for implementation, so that the operation process of the data acquisition management equipment is simplified, the efficiency of generating the equipment adapter by the equipment is improved, and the construction and storage of the adapters of various common protocols in the system are realized in advance.
The second type is a custom device protocol. In order to improve the applicability of the system, a self-defined device protocol registration part is added, and is used for providing protocol information of the device when the relevant adapter is built. Under the condition that the common equipment protocol library is incomplete and related protocols cannot be found, the multi-level class adapter of the new equipment can be constructed through the transmitted self-description data packet information, and the registration of the equipment class is completed after the equipment class adapter is constructed.
Based on the above embodiment, as shown in fig. 1, the detection device is connected to the data acquisition management device through a communication channel, where the communication channel includes a wired communication channel and a wireless communication channel.
Specifically, the data packets transmitted by different connection channels are the same, and the establishment of different channels is mainly to realize task diversification transmission between the detection device and the acquisition management device. The registration and data access of the space, ground and sea three-dimensional space detection equipment can be realized in form, data transmission is facilitated, and the problems that the detection equipment is far away from data acquisition management equipment and the detection equipment is inconvenient to recover, such as data receiving difficulty caused by actual factors such as heavy metal detection equipment arranged in the sea are solved.
The case of wired channel establishment is: and when the detection equipment detects that the wired equipment is accessed, sending a self-description data packet of the detection equipment. The principle is that when the data acquisition management equipment is accessed, the electrical characteristics of the hardware interface of the data acquisition management equipment can be changed, and the detection equipment can detect the change of the electrical characteristics of the interface and simultaneously send the self-description data packet to the related data acquisition management equipment from the interface. The establishment of wired data communication solves the problem that part of precision detection equipment is easily interfered by wireless communication transmission, and more stable data transmission is realized.
The case of radio channel establishment is: the equipment sends equipment data packets to the data acquisition management equipment at regular time under the condition of no connection. And if the detection equipment does not receive the feedback information of the received self-description data packet returned by the data acquisition management equipment within the set time, the self-description data packet is sent again, and the self-description data packet is stopped being sent until the detection equipment receives the feedback information sent by the data acquisition management equipment.
On the other hand, fig. 6 is a schematic general flow chart of an information acquisition method flexibly accessed by a field detection device according to an embodiment of the present invention, and as shown in fig. 6, an embodiment of the present invention provides an information acquisition method, including: s1, the detection device uploads a self-description data packet to the data acquisition management device; s2, the data acquisition management equipment analyzes the self-description data packet and registers the detection equipment; the data acquisition management equipment generates a class adapter corresponding to the detection equipment according to the registration content; s3, the detection device uploads a detection data frame to the data acquisition management device; and the data acquisition management equipment calls the corresponding class adapter according to the detection data frame and analyzes the detection data frame.
Specifically, after the self-description data packet is generated, once the data acquisition management equipment needs to be accessed, the self-description data packet can be transmitted into the accessed data acquisition management equipment, the self-equipment information is described for the data acquisition management equipment, the data acquisition management equipment analyzes the self-description data packet, corresponding detection equipment is registered after analysis, real-time data acquisition can be carried out when the registered detection equipment sends data in the future, the manual operation flow is simplified, rapid data introduction is facilitated, and the problems that data is transmitted among different equipment or data loss in the submitting process of different personnel is reduced. The data acquisition management equipment generates a class adapter corresponding to each class of detection equipment in advance according to the registration content of the detection equipment, relevant class adapter adaptation is carried out when the same type of detection equipment is accessed into the data acquisition management equipment, complex processes such as repeated registration and repeated adaptation are avoided, then a detection data frame uploaded by the detection equipment is received, and the corresponding class adapter is called to analyze the detection data frame.
The embodiment of the invention is suitable for adaptation and data communication between different detection devices and data acquisition management devices. The method solves the flexible access problem of different devices, abandons the method of installing a matching software for each type of device in the data acquisition management device, and provides a universal system for processing. The system can be used for communication identification access and data transmission of portable field real-time detection equipment, a standardized equipment self-description communication identification access system is established, and multi-source heterogeneous equipment access of data information of different types and different protocol types is realized.
Based on the foregoing embodiment, fig. 7 is a detailed flowchart illustrating an information collecting method for flexible access of a field detection device according to an embodiment of the present invention, and as shown in fig. 7, step S1 specifically includes: the detection equipment uploads a self-description data packet to the data acquisition management equipment; if the data acquisition management equipment receives the self-description data packet, the data acquisition management equipment sends feedback information to the detection equipment, and the detection equipment stops uploading the self-description data packet; and if the detection equipment does not receive the feedback information, the detection equipment continuously uploads the self-description data packet.
Based on the above embodiment, as shown in fig. 7, step S2 specifically includes: the data acquisition management equipment analyzes the self-description data packet through a self-description data packet analysis module to acquire registration information of the detection equipment; the data acquisition management device generates a class adapter corresponding to the detection device according to the registration information through the adapter generation module, and stores the information of the class adapter in the adapter management module.
Based on the above embodiment, as shown in fig. 7, step S3 specifically includes: the data acquisition management equipment sends the receivable mark information of the detection data frame to the detection equipment; after receiving the receivable mark information of the detection data frame, the detection equipment sends the detection data frame to the data acquisition management equipment; after the data acquisition management equipment receives the detection data frame, calling a class adapter corresponding to the detection equipment from an adapter library management module to adapt, so that the detection equipment is accessed to the data acquisition management equipment; and the data acquisition management equipment analyzes the detection data frame through the data frame analysis module.
The embodiment of the invention provides an information acquisition system and method for flexibly accessing field detection equipment, which has the following specific effects:
(1) data acquisition management equipment can access check out test set dynamically
The information of the detection equipment is described by applying a multi-level architecture and a self-description mode, a precondition that the detection equipment can be dynamically accessed is formed, dynamic registration and information processing are completed at a data acquisition management equipment end, different types of detection equipment are dynamically accessed into one data acquisition management equipment, the problem of quick and flexible access of new types and new equipment in a field environment is solved, the applicability of a data acquisition system is improved, the investment cost of the equipment and software is reduced, and the subsequent maintenance cost is reduced.
The self-description mode is adopted to describe the detection equipment, so that the problem of difficulty in obtaining relevant information of the detection equipment is solved, the hierarchical self-description data packet of the detection equipment is processed through a hierarchical framework, the analysis efficiency of the equipment description information is improved, the self-description data of the hierarchical framework and the multi-level data frame analysis adapter generated correspondingly are convenient for the data acquisition management equipment to analyze the self-description data packet of the detection equipment, and the rapid adaptation of the detection equipment and the analysis of the data frame are realized.
(2) Multi-class detection equipment capable of being accessed by data acquisition management equipment
The system not only carries out relevant adaptation work aiming at a certain type of equipment, but also can carry out relevant adaptation work on equipment with different types and different protocol structures. The detection equipment with different types and different protocol structures carries out equipment description through a general equipment self-description language, and the data acquisition management equipment analyzes the transmitted self-description data packet to generate a corresponding class adapter. The class adapters of different devices analyze the data frames according to the hierarchical relationship, so that the data acquisition management device not only can be matched with different types of detection devices, but also can receive different protocol type data, a large amount of operation operations are simplified, and one-to-many access of the data acquisition management device and the portable heavy metal detection device is realized.
(3) The information acquisition system can normally operate in the field
Under the condition of not utilizing the internet processing technology to carry out secret data transmission, the functions of local registration, local adaptation, local analysis and the like under the condition of a local area data transmission network are realized. The practical problems of corresponding equipment adaptation, data access and the like can be solved in the field detection of the portable heavy metal detection equipment.
Therefore, the embodiment of the invention finally realizes that in field detection, various detection devices can be flexibly connected to one data acquisition management device, and a series of operations such as local registration, adaptation, data frame analysis and the like of the detection devices are completed under the condition of no internet.
The above-described embodiments of the apparatuses and devices are merely illustrative, and units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. An information acquisition system that on-spot check out test set inserts in a flexible way, its characterized in that includes: the system comprises a plurality of types of detection equipment and data acquisition management equipment, wherein each detection equipment is respectively connected with the data acquisition management equipment;
the detection device is used for uploading a self-description data packet and a detection data frame to the data acquisition management device;
the data acquisition management equipment is used for analyzing the self-description data packet; accessing the detection equipment and generating a class adapter corresponding to each class of detection equipment; receiving the detection data frame, and calling the corresponding class adapter to analyze the detection data frame;
the data acquisition management equipment comprises a self-description data packet analysis module, an adapter generation module, an adapter management module and a data frame analysis module;
the self-description data packet analyzing module is used for analyzing the self-description data packet and registering the detection equipment;
the adapter generation module is used for generating a class adapter corresponding to the detection device;
the adapter library management module is used for storing the information of the class adapter;
the data frame analyzing module is used for analyzing the detection data frame;
the class adapter comprises an equipment class adaptation layer, a data protocol adaptation layer and a data analysis adaptation layer;
the device class adaptation layer is used for matching and connecting the detection device and importing the detection data frame into the data protocol adaptation layer;
the data protocol adaptation layer is used for matching protocol information of the detection equipment and importing the detection data frame into the data protocol adaptation layer;
the data analysis adaptation layer is used for analyzing the detection data frame;
the inside of the data analysis adaptive layer comprises a heavy metal content unit conversion module which is used for carrying out unified conversion processing on units of heavy metal elements;
the detection equipment is connected with the data acquisition management equipment through a communication channel, and the communication channel comprises a wired communication channel and a wireless communication channel;
if the data acquisition management equipment is connected through the wired communication channel and the detection equipment detects the change of the electrical characteristics of a hardware interface when the data acquisition management equipment is accessed, the self-description data packet is sent to the data acquisition management equipment from the hardware interface;
if the wireless communication connection is passed, the detection equipment sends self-description data packets to the data acquisition management equipment continuously and regularly under the condition of no connection; if the detection equipment does not receive the feedback information of the received self-description data packet returned by the data acquisition management equipment within the set time, the self-description data packet is sent again, and the sending of the self-description data packet is stopped until the detection equipment receives the feedback information sent by the data acquisition management equipment;
the self-description data packet comprises an equipment type information layer, an equipment basic information layer, an equipment management information layer and an auxiliary information layer;
the device type information layer is used for describing device type information and device basic information of products of the type to which the detection device belongs, and the device basic information comprises protocol field information;
the device basic information layer is used for describing basic information and protocol information of the detection device;
the device management information layer is used for describing the use management condition of the detection device;
and the auxiliary information layer is used for describing the structural information of the self-description data packet and assisting in generating the data information of the self-description data packet.
2. The system of claim 1, wherein the protocols include a common device protocol and a custom device protocol.
3. An information acquisition method for flexible access of field detection equipment is characterized by comprising the following steps:
s1, the detection device uploads a self-description data packet to the data acquisition management device;
s2, the data acquisition management equipment analyzes the self-description data packet and registers the detection equipment; the data acquisition management equipment generates a class adapter corresponding to the detection equipment according to the registration content;
s3, the detection device uploads a detection data frame to the data acquisition management device; the data acquisition management equipment calls the corresponding class adapter according to the detection data frame and analyzes the detection data frame;
the data acquisition management equipment comprises a self-description data packet analysis module, an adapter generation module, an adapter management module and a data frame analysis module;
the self-description data packet analyzing module is used for analyzing the self-description data packet and registering the detection equipment;
the adapter generation module is used for generating a class adapter corresponding to the detection device;
the adapter library management module is used for storing the information of the class adapter;
the data frame analyzing module is used for analyzing the detection data frame;
the class adapter comprises an equipment class adaptation layer, a data protocol adaptation layer and a data analysis adaptation layer;
the device class adaptation layer is used for matching and connecting the detection device and importing the detection data frame into the data protocol adaptation layer;
the data protocol adaptation layer is used for matching protocol information of the detection equipment and importing the detection data frame into the data protocol adaptation layer;
the data analysis adaptation layer is used for analyzing the detection data frame;
the inside of the data analysis adaptive layer comprises a heavy metal content unit conversion module which is used for carrying out unified conversion processing on units of heavy metal elements;
the detection equipment is connected with the data acquisition management equipment through a communication channel, and the communication channel comprises a wired communication channel and a wireless communication channel;
if the communication channel is a wired communication channel, when the data acquisition management equipment is accessed, the detection equipment detects the change of the electrical characteristics of a hardware interface, and then the self-description data packet is sent to the data acquisition management equipment from the hardware interface;
if the wireless communication connection is passed, the detection equipment sends self-description data packets to the data acquisition management equipment continuously and regularly under the condition of no connection; if the detection equipment does not receive the feedback information of the received self-description data packet returned by the data acquisition management equipment within the set time, the self-description data packet is sent again, and the sending of the self-description data packet is stopped until the detection equipment receives the feedback information sent by the data acquisition management equipment;
the self-description data packet comprises an equipment type information layer, an equipment basic information layer, an equipment management information layer and an auxiliary information layer;
the device type information layer is used for describing device type information and device basic information of products of the type to which the detection device belongs, and the device basic information comprises protocol field information;
the device basic information layer is used for describing basic information and protocol information of the detection device;
the device management information layer is used for describing the use management condition of the detection device;
and the auxiliary information layer is used for describing the structural information of the self-description data packet and assisting in generating the data information of the self-description data packet.
4. The information acquisition method for flexible access of on-site detection device according to claim 3, wherein when the detection device wirelessly communicates with the data acquisition management device, step S1 specifically includes:
the detection equipment uploads a self-description data packet to the data acquisition management equipment;
if the data acquisition management equipment receives the self-description data packet, the data acquisition management equipment sends feedback information to the detection equipment, and the detection equipment stops uploading the self-description data packet;
and if the detection equipment does not receive the feedback information, the detection equipment continuously uploads the self-description data packet.
5. The information acquisition method for flexible access of on-site inspection equipment according to claim 3, wherein the step S2 specifically includes:
the data acquisition management equipment analyzes the self-description data packet through a self-description data packet analysis module to acquire registration information of the detection equipment;
and the data acquisition management equipment generates a class adapter corresponding to the detection equipment through an adapter generation module according to the registration information, and stores the information of the class adapter into an adapter management module.
6. The information acquisition method for flexible access of on-site inspection equipment according to claim 5, wherein the step S3 specifically includes:
the data acquisition management equipment sends detection data frame receivable mark information to the detection equipment;
after receiving the receivable mark information of the detection data frame, the detection equipment sends the detection data frame to the data acquisition management equipment;
after the data acquisition management equipment receives the detection data frame, calling the class adapter adaptation corresponding to the detection equipment from the adapter library management module to enable the detection equipment to be accessed into the data acquisition management equipment;
and the data acquisition management equipment analyzes the detection data frame through a data frame analysis module.
CN201811636720.1A 2018-12-29 2018-12-29 Information acquisition system and method for flexible access of field detection equipment Active CN109814501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811636720.1A CN109814501B (en) 2018-12-29 2018-12-29 Information acquisition system and method for flexible access of field detection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811636720.1A CN109814501B (en) 2018-12-29 2018-12-29 Information acquisition system and method for flexible access of field detection equipment

Publications (2)

Publication Number Publication Date
CN109814501A CN109814501A (en) 2019-05-28
CN109814501B true CN109814501B (en) 2020-03-31

Family

ID=66601515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811636720.1A Active CN109814501B (en) 2018-12-29 2018-12-29 Information acquisition system and method for flexible access of field detection equipment

Country Status (1)

Country Link
CN (1) CN109814501B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111162935B (en) * 2019-12-17 2021-06-04 中国科学院计算技术研究所 Network communication method and system based on packet-level data distribution

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001838A (en) * 2011-09-14 2013-03-27 中国移动通信集团公司 Method and system for generation and use of sensor device identifiers and related devices
KR101783834B1 (en) * 2016-12-27 2017-10-10 서울과학기술대학교 산학협력단 The apparatus and method of transmission protocol with a smart sensor module and serial port protocol module

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201225582A (en) * 2010-12-02 2012-06-16 Inst Information Industry Common server, adaptor, and data conforming method thereof
CN102202093B (en) * 2011-05-12 2016-01-20 南京中兴新软件有限责任公司 A kind of method and system realizing transducer adaptation
CN102333031B (en) * 2011-09-07 2013-10-02 江苏润和软件股份有限公司 Device intelligent access system based on device adaptation technology, and method of the same
RU2012127581A (en) * 2012-07-02 2014-01-10 ЭлЭсАй Корпорейшн SOURCE CODE GENERATOR FOR DEVELOPING AND TESTING SOFTWARE FOR MULTI-PROCESSING MEDIA
CN103200254A (en) * 2013-03-27 2013-07-10 江苏航天智联信息科技发展有限公司 Water conservation Internet of things oriented multi-source heterogeneous data obtaining and transmitting method
CN103825811A (en) * 2013-10-11 2014-05-28 江苏飞尚安全监测咨询有限公司 Implementation scheme for accessing sensor protocol self-identification IOT (internet of things) gateway
CN105812444A (en) * 2014-12-29 2016-07-27 朔联科技(上海)有限公司 Method for making Internet-of-Things cloud gateway compatible with multiple protocols and Internet-of-Things cloud gateway
CN104852845B (en) * 2015-03-11 2018-03-16 佛山职业技术学院 A kind of intelligent networking gateway
CN104809650B (en) * 2015-04-08 2018-12-14 武汉大学 A kind of dynamic adaptation cut-in method of isomery perception data
CN105245445A (en) * 2015-09-08 2016-01-13 浙江风向标科技有限公司 Internet of things gateway
CN106899638B (en) * 2015-12-21 2021-01-19 中国科学院信息工程研究所 Fusion networking system and method for solving data isomerism
CN105933139A (en) * 2016-03-30 2016-09-07 广东凯通软件开发有限公司 Data processing method and device
CN105978715A (en) * 2016-05-09 2016-09-28 国网浙江省电力公司湖州供电公司 Data access interface uniform management method based on real time data center
US10560956B2 (en) * 2017-04-06 2020-02-11 Qualcomm Incorporated Priority indication for communication over shared access systems
CN107193271B (en) * 2017-06-13 2019-04-26 青岛科技大学 Preposition service adapter and trouble-shooter for industrial information physical system
CN107948194B (en) * 2017-12-22 2020-06-30 北京农业信息技术研究中心 Data access method and system
CN108429786A (en) * 2018-01-25 2018-08-21 南京邮电大学 A kind of sensor based on Internet of Things automatically accesses control system
CN108769109B (en) * 2018-04-13 2021-11-30 西安电子科技大学 Unified processing method and system for data of Internet of things heterogeneous equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001838A (en) * 2011-09-14 2013-03-27 中国移动通信集团公司 Method and system for generation and use of sensor device identifiers and related devices
KR101783834B1 (en) * 2016-12-27 2017-10-10 서울과학기술대학교 산학협력단 The apparatus and method of transmission protocol with a smart sensor module and serial port protocol module

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
分布式多源农林物联网感知数据共享平台研发;陈栋;《农业工程学报》;20170228;第33卷(第S1期);第300-304页 *
异构传感器接入框架及其性能优化问题的研究与实现;孔露;《中国优秀硕士学位论文全文数据库信息科技辑》;20180315(第3期);第I140-384页 *

Also Published As

Publication number Publication date
CN109814501A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN110868336B (en) Data management method, device and computer readable storage medium
CN103678093B (en) A kind of automated test frame and method of testing
CN107329890A (en) Test method and device based on Mock and server
US20060058982A1 (en) Data relay device and data management system using the same
CN104660617B (en) A kind of data transmission system and method
CN105208016B (en) The a variety of data transmissions of agriculture Internet of Things and the method for processing
CN103095475A (en) Routing Inspection method and system of multimode communication equipment
CN103178998A (en) Test and control data transmission method and device
CN110912782B (en) Data acquisition method, device and storage medium
CN109379326A (en) XML message rule method of calibration, equipment and storage medium
US20100011374A1 (en) Open framework system for heterogeneous computing and service integration
CN109815286A (en) A kind of adaptive telemetry of launch vehicle system and its implementation
CN110320158A (en) Mobile chemical analysis
CN111107059A (en) Unmanned aerial vehicle multi-protocol transmission data analysis method
CN109460353A (en) UDS auto-check system
CN109814501B (en) Information acquisition system and method for flexible access of field detection equipment
CN107493377B (en) Thermotechnical parameter acquisition device and method based on mobile terminal application
CN101715147A (en) Set-top box performance testing method, application downloading management method and equipment
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN110261554A (en) A kind of food safety detection system and method
CN109460365A (en) A kind of system performance testing method, apparatus, equipment and storage medium
CN116048668B (en) Application plug-in communication system based on web operating system
CN110099033B (en) Lower frame mechanism
JP2018055457A (en) Data acquisition system, acquisition device, information acquisition program, server device and server program
US8949167B2 (en) Method and device for the quality analysis of system models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant