CN111339017A - Detector selection method and interface equipment - Google Patents

Detector selection method and interface equipment Download PDF

Info

Publication number
CN111339017A
CN111339017A CN202010088000.7A CN202010088000A CN111339017A CN 111339017 A CN111339017 A CN 111339017A CN 202010088000 A CN202010088000 A CN 202010088000A CN 111339017 A CN111339017 A CN 111339017A
Authority
CN
China
Prior art keywords
data
interface
target
detector
target detector
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.)
Pending
Application number
CN202010088000.7A
Other languages
Chinese (zh)
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010088000.7A priority Critical patent/CN111339017A/en
Publication of CN111339017A publication Critical patent/CN111339017A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a detector selection method and interface equipment, which are used for solving the problem that different detectors cannot be butted in the prior art. The method is applied to interface equipment, the interface equipment is connected with at least one detector, and the interface equipment is connected with processing equipment; the method comprises the following steps: determining a target detector in at least one detector, and conducting a data link between the target detector and the processing equipment; and acquiring the detection data sent by the target detector, and sending the detection data to the processing equipment through the data link so that the processing equipment processes the detection data.

Description

Detector selection method and interface equipment
Technical Field
The invention relates to the technical field of thermal imaging, in particular to a detector selection method and interface equipment.
Background
The thermal imaging technology utilizes an infrared detector to acquire data and accesses processing equipment to analyze the data. The detectors used for thermal imaging data acquisition are various, and different detectors have different interface protocols, so that different interface modules need to be designed for butting different detectors.
At present, the corresponding detectors are usually provided with matched processing equipment for analyzing the acquired data, and the processing equipment cannot be butted with different detectors, so that the data acquired by the detectors are mutually independent, and the data acquired by different detectors cannot be analyzed uniformly.
Disclosure of Invention
The invention provides a detector selection method and interface equipment, which are used for solving the problem that different detectors cannot be butted in the prior art.
In a first aspect, an embodiment of the present invention provides a probe selection method, which is applied to an interface device, where the interface device is connected to at least one probe, and the interface device is connected to a processing device; the method comprises the following steps:
determining a target detector in the at least one detector, and conducting a data link between the target detector and the processing equipment;
and acquiring the detection data sent by the target detector, and sending the detection data to the processing equipment through the data link so that the processing equipment processes the detection data.
In an optional implementation manner, an I/O multiplexing selector and a plurality of I/O interfaces associated with the IO multiplexing selector are disposed in the interface device, and the plurality of I/O interfaces are respectively connected to the at least one detector;
the switching on the data link between the object detector and the processing device includes:
and conducting a data link between the target detector and the processing equipment through the I/O multiplexing selector.
In an optional implementation manner, a data interface selector and a plurality of data interfaces associated with the data interface selector are arranged in the interface device, and the interface device is connected with the processing device through the data interface selector;
the conducting a data link between the object detector and a processing device through the I/O multiplexing selector includes:
determining a target I/O interface connected with the target detector in the plurality of I/O interfaces;
selecting a target data interface corresponding to the target detector from the plurality of data interfaces through the data interface selector;
and conducting the target I/O interface and the target data interface through the I/O multiplexing selector.
In an optional implementation manner, the acquiring the detection data sent by the target detector includes:
when the type of the target data interface is a passive interface, receiving detection data sent by the target detector; alternatively, the first and second electrodes may be,
when the type of the target data interface is an active interface, sending an acquisition request to the target detector, wherein the acquisition request is used for indicating the target detector to send detection data; and receiving detection data sent by the target detector after receiving the acquisition request.
In an optional implementation manner, before acquiring the detection data sent by the target detector, the method further includes:
and configuring correction data for the target detector so that the target detector corrects the acquired original data according to the correction data to obtain detection data.
In an optional implementation, the configuring the calibration data to the target detector includes:
configuring preset correction data to the target detector; alternatively, the first and second electrodes may be,
comparing the detection data sent by the target detector in the current period with the standard data every other preset period; and determining correction data corresponding to the next period according to the comparison result, and configuring the determined correction data to the target detector so that the target detector corrects the original data acquired in the next period according to the correction data to obtain detection data.
In a second aspect, an embodiment of the present invention provides an interface device, which is disposed in the interface device, and the interface device is connected to at least one detector, and the interface device is connected to a processing device; the interface device includes:
a determination module for determining a target probe among the at least one probe;
the conducting module is used for conducting a data link between the target detector and the processing equipment;
an acquisition module for acquiring the detection data sent by the target detector;
a sending module, configured to send the probe data to the processing device through the data link, so that the processing device processes the probe data.
In an optional implementation manner, an I/O multiplexing selector and a plurality of I/O interfaces associated with the IO multiplexing selector are disposed in the interface device, and the plurality of I/O interfaces are respectively connected to the at least one detector; the conduction module is specifically configured to:
and conducting a data link between the target detector and the processing equipment through the I/O multiplexing selector.
In an optional implementation manner, a data interface selector and a plurality of data interfaces associated with the data interface selector are arranged in the interface device, and the interface device is connected with the processing device through the data interface selector;
the conduction module is specifically configured to:
determining a target I/O interface connected with the target detector in the plurality of I/O interfaces;
selecting a target data interface corresponding to the target detector from the plurality of data interfaces through the data interface selector;
and conducting the target I/O interface and the target data interface through the I/O multiplexing selector.
In an optional implementation manner, the obtaining module is specifically configured to:
when the type of the target data interface is a passive interface, receiving detection data sent by the target detector; alternatively, the first and second electrodes may be,
when the type of the target data interface is an active interface, sending an acquisition request to the target detector, wherein the acquisition request is used for indicating the target detector to send detection data; and receiving detection data sent by the target detector after receiving the acquisition request.
In an optional implementation manner, the interface device further includes a configuration module;
the configuration module is configured to configure correction data for the target detector, so that the target detector corrects the acquired original data according to the correction data to obtain detection data.
In an optional implementation manner, the configuration module is specifically configured to:
configuring preset correction data to the target detector; alternatively, the first and second electrodes may be,
comparing the detection data sent by the target detector in the current period with the standard data every other preset period; and determining correction data corresponding to the next period according to the comparison result, and configuring the determined correction data to the target detector so that the target detector corrects the original data acquired in the next period according to the correction data to obtain detection data.
In a third aspect, an embodiment of the present invention provides an interface device, including:
a memory and a processor;
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of any implementation mode of the first aspect according to the obtained program.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the above method.
In the embodiment of the invention, through interface equipment connected with at least one detector and a processor, a target detector is determined in the at least one detector, and a data link between the target detector and processing equipment is conducted; and acquiring detection data sent by the target detector, and sending the detection data to the processing equipment through the data link. Can switch different detectors according to actual conditions and insert same processing apparatus for processing apparatus can dock multiple different detectors, handles its detection data to different detectors, perhaps integrates the unified processing to the detection data of the different detectors that receive, reduces the hardware cost, promotes data analysis's flexibility.
Drawings
Fig. 1 is a schematic view of a connection structure according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for selecting a detector according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a first hardware structure according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a second hardware structure according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a third hardware configuration according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a fourth hardware structure according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a fifth hardware structure according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a sixth hardware structure according to an embodiment of the present invention;
fig. 9 is a block diagram of an interface device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another interface device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 plurality of the present invention means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, it should be understood that although the terms first, second, etc. may be used to describe various data in embodiments of the present invention, these data should not be limited by these terms. These terms are only used to distinguish the data from each other.
The embodiment of the invention provides a detector selection method and interface equipment, which are used for solving the problem that different detectors cannot be butted in the prior art. The method and the device are based on the same inventive concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
The embodiment of the present invention may be applied to thermal imaging data analysis, as shown in fig. 1, the embodiment of the present invention provides a connection structure, which illustrates an interface device, a processing device connected to the interface device, and at least one detector connection connected to the interface device, and exemplarily, fig. 1 shows three detectors.
At least one of the detectors, which may be implemented as an infrared detector, is used to collect data, such as infrared images, for analysis by thermal imaging techniques.
And the interface device is used for selecting the target detector from the at least one detector and conducting a data link between the target detector and the processing device connected with the target detector.
And the processing equipment is used for processing and analyzing the data acquired by the interface equipment.
In the embodiment of the invention, independent interface equipment is arranged and connected with at least one detector and a processor to serve as intermediate switching equipment between the detector and the processing equipment, so that different detectors can be selected to be connected to the processing equipment, and the processing equipment can be in butt joint with different detectors.
Further, for convenience of understanding, referring to fig. 2, an embodiment of the present invention provides a probe selection method applied to an interface device, including:
step S201, determining a target detector in at least one detector, and conducting a data link between the target detector and the processing device.
In particular, the target detector may be determined as follows: receiving a selection instruction triggered by a user, wherein the selection instruction carries an identifier of a target detector; and determining a target detector in the at least one detector according to the identifier carried in the selection instruction.
Step S202, acquiring the detection data sent by the target detector, and sending the detection data to the processing device through the data link, so that the processing device processes the detection data.
In specific implementation, the detection data sent by the target detector can be sent to the processing equipment after being obtained; or caching the acquired detection data sent by the target detector, and sending the cached detection data to the processing equipment when the preset time length is reached or the acquired detection data reaches the preset data volume.
In the embodiment of the invention, through interface equipment connected with at least one detector and a processor, a target detector is determined in the at least one detector, and a data link between the target detector and processing equipment is conducted; and acquiring detection data sent by the target detector, and sending the detection data to the processing equipment through the data link. Can switch different detectors according to actual conditions and insert same processing apparatus for processing apparatus can dock multiple different detectors, handles its detection data to different detectors, perhaps integrates the unified processing to the detection data of the different detectors that receive, reduces the hardware cost, promotes data analysis's flexibility.
In an optional embodiment, an Input/Output (I/O) multiplexing selector and a plurality of I/O interfaces associated with the I/O multiplexing selector are disposed in the interface device, and the plurality of I/O interfaces are respectively connected to at least one detector; the above data link between the continuity target detector and the processing device includes: and the data link between the target detector and the processing equipment is conducted through the I/O multiplexing selector.
The type and number of I/O interfaces may be set according to actual situations, such as a Transistor-Transistor Logic (TTL) interface and a Low Voltage Differential Signaling (LVDS) interface, which are configured with a certain number of Transistor-Transistor Logic (TTL) interfaces and are configured to transmit data in a parallel manner.
In the embodiment of the invention, the I/O multiplexing selector is adopted to distribute chip pins (I/O PADs) required by the corresponding connected data lines to realize input and output for each detector when a plurality of detectors need to be simultaneously butted, thereby realizing the multiplexing of the I/O PADs. Compared with the method that independent I/O PADs are respectively configured for different detectors, the method can avoid the problem that the cost is higher because the number of the detectors is increased and the I/O PADs need to be additionally expanded; and the problem that resources are wasted due to redundant I/O PADs caused by low requirements on the butt joint detectors is solved.
Furthermore, considering that different detectors support different modes of sending detection data, for example, some detectors need to receive external requests such as corresponding excitation, and then send detection data to the outside; and part of the detectors can actively send detection data to the outside.
In an optional implementation manner, the interface device is provided with a data interface selector and a plurality of data interfaces associated with the data interface selector, and the interface device is connected with the processing device through the data interface selector; different data interfaces correspond to different types of detectors, and the data interfaces are used for indicating a mode for acquiring detection data sent by the detectors corresponding to the data interfaces; the data interface comprises a passive interface and an active interface, wherein the passive interface is used for indicating that the mode for acquiring the detection data sent by the detector corresponding to the passive interface is passive acquisition, and the active interface is used for indicating that the mode for acquiring the detection data sent by the detector corresponding to the active interface is active acquisition.
The above-mentioned conducting a data link between the target detector and the processing device through the I/O multiplexing selector may be implemented specifically by referring to the following manner:
(1) determining a target I/O interface connected with a target detector in the plurality of I/O interfaces;
(2) selecting a target data interface corresponding to the target detector from a plurality of data interfaces through a data interface selector;
the specific implementation comprises the steps that firstly, the mode of sending detection data supported by a target detector is determined, and if the detection data needs to be sent after an external request is received, an active interface is selected as a target data interface; and if the passive interface can actively send the detection data to the outside, the passive interface is selected as the target data interface.
(3) And the target I/O interface and the target data interface are conducted through the I/O multiplexing selector.
Based on this, the above-mentioned acquisition of the detection data transmitted by the target detector includes:
when the type of the target data interface is a passive interface, receiving detection data sent by a target detector; alternatively, the first and second electrodes may be,
when the type of the target data interface is an active interface, sending an acquisition request to a target detector, wherein the acquisition request is used for indicating the target detector to send detection data; and receiving detection data sent by the target detector after receiving the acquisition request. In specific implementation, an acquisition period may be set, and an acquisition request is sent to the target detector every other acquisition period to acquire the detection data.
Further, in an optional implementation manner, the data interface may further include a test type interface, so that a user may input test data to perform a related simulation experiment, or perform related debugging on interface equipment, processing equipment, and the like.
Further, in an optional implementation manner, before determining the target detector and acquiring the detection data sent by the target detector, the method further includes: and configuring correction data for the target detector, so that the target detector corrects the acquired original data according to the correction data to obtain detection data.
The method for configuring the correction data to the target detector can be implemented by referring to the following modes:
configuring preset correction data to a target detector; alternatively, the first and second electrodes may be,
comparing the detection data sent by the target detector in the current period with the standard data every other preset period; and determining correction data corresponding to the next period according to the comparison result, and configuring the determined correction data to the target detector so that the target detector corrects the original data acquired in the next period according to the correction data to obtain detection data.
In a specific implementation, after the target detector is determined, the corresponding default correction data may be configured to the target detector, so that the target detector corrects the acquired original data according to the default correction data to obtain detection data; in another embodiment, the default correction data may be configured to the target detector, and when the detection data sent by the target detector is obtained at preset intervals, the default correction data is compared with the standard data set by the user for the target detector, the correction data used in the current period of the target detector is adjusted according to the comparison result, and the adjusted correction data is configured to the target detector, so that the target detector corrects the original data collected in the next period according to the adjusted correction data to obtain the detection data, and iteration is performed, so that the detection data sent by the target detector can be close to the corresponding standard data.
For ease of understanding, the embodiments of the present invention take the example of the image data acquired by the detector in the thermal imaging technology, and the manner of determining the correction data in the above embodiments is described in detail.
Setting corresponding default correction data for different detectors, wherein the default correction data comprise default correction values corresponding to the heat values of all pixel points on image data acquired by the detectors; and setting a standard value for the heat value of each pixel point.
In particular, different ways may be provided for different detectors to determine their corresponding calibration data. For example, the correction data is determined by a hardware configuration mode, namely, an algorithm configured in advance in the interface device; or, the correction data is determined by adopting a software configuration mode, namely, external software is handed in by calling an external interface. In practical application, the correction data can be configured in a hardware configuration mode for a detector which is linearly related between the image data corrected by the current correction data and the current correction data; and configuring the correction data for the detector with a complex relationship between the image data corrected by the current correction data and the current correction data by adopting a software configuration mode.
Based on this, if the mode corresponding to the target detector is determined to be the hardware configuration mode, the interface device determines the correction data for the next cycle according to the default correction data of the target detector, or the image data sent by the target detector and the correction data used in the current cycle.
Specifically, assuming that the preset period is one frame, the correction value of a certain pixel point on the image data acquired by the detector configured by the current frame is Cn, the heat value of the pixel point in the image data sent by the detector after Cn correction is Pn, comparing Pn with a standard value corresponding to the pixel point, and if Cn is positively correlated with Pn and Pn is smaller than the standard value, increasing Cn to determine the adjusted correction value; if Cn is positively correlated with Pn and Pn is greater than the standard value, Cn is decreased to determine the correction value for the next frame; if Cn is negatively correlated with Pn and Pn is smaller than the norm, Cn is decreased to determine the correction value for the next frame; if Cn is negatively correlated with Pn and Pn is greater than the norm, Cn is increased to determine the correction for the next frame. After the iteration is carried out for several frames, Pn is close to a standard value, so that the corrected image data sent to the processing equipment is ensured to be stable, and the subsequent analysis and processing of the data are facilitated. In addition, in practical application, a standard range may also be set for the heat value of each pixel point, and Pn may be iteratively adjusted to the standard range according to the above manner, which is not described herein again.
For convenience of implementation, the embodiments of the present invention further describe the interaction among the above-mentioned detector, the interface device, and the processing device, and the interaction among the components such as the I/O multiplexing selector and the data interface selector in the above-mentioned interface device in detail.
First, referring to fig. 3, a first hardware structure diagram is provided in the embodiment of the present invention. As shown in fig. 3, the interface device is hung on the control bus and the data bus to communicate with the external device, and receives an instruction sent from the CPU or other master controller, such as the selection instruction triggered by the user, through the control bus; data interaction is carried out through the data bus, an external storage device, an external processing system and the like, for example, an interface of the external processing system is called to determine correction data in a software configuration mode. The interface equipment is connected with the detector on the left side through an I/O interface, and is connected with the processing equipment on the right side through a data interface selector; the interface device is internally provided with a control component, an I/O multiplexing selector, a data interface selector and a correction data configuration component.
The control component is configured to control the I/O multiplexing selector to select, from at least one I/O interface associated with the I/O multiplexing selector, a target I/O interface connected to a target probe indicated by a selection instruction when receiving the selection instruction triggered by a user through the control bus, where fig. 3 specifically illustrates an input interface (RX _ DATA) and an output interface (TX _ DATA) included in the target I/O interface corresponding to the target probe; controlling a data interface selector to select a target data interface corresponding to a target detector from at least one data interface associated with the data interface selector; and the I/O multiplexing selector is used for connecting an input/output data link between the target I/O interface and the target data interface, and the detection data sent by the target detector is sent to the processing equipment through the connected data line.
The control component is also used for informing the correction data configuration component to configure the correction data to the target detector according to the configuration mode indicated by the user when the configuration mode of the correction data indicated by the user for the target detector is received through the control bus.
When the user indicates a hardware configuration mode, firstly accessing an external memory device from the local or through a data bus, and acquiring default correction data corresponding to a target detector to configure the default correction data to the target detector; and then in the process that the target detector sends the detection data in real time, adjusting the correction data to determine the correction data of the next period at intervals of a preset period according to the comparison result of the detection data sent by the target detector and the standard data and the correlation between the detection data and the correction data in the current period. Considering that data is more, in order to avoid occupying the memory space of the interface device to affect the operating efficiency thereof, the correction data corresponding to each cycle is optionally uploaded to an external memory device such as a DDR for storage through a data bus.
Based on this, as shown in the second hardware structure diagram shown in fig. 4, in the process of sending the detection data by the target detector in real time, the correction data configuration component may download the correction data of the current cycle from the external memory device by downloading the arbitration occupied data bus, and then, after determining the correction data of the next cycle by adopting the hardware configuration mode, upload the correction data of the next cycle to the external memory device by uploading the arbitration occupied data bus. The arbitration mode may be a polling mode according to a preset priority level or other modes, and may be set according to actual situations, which is not limited herein.
When the user indicates a software configuration mode, as shown in a third schematic diagram of a hardware structure shown in fig. 5, in a process of sending the detection data by the target detector in real time, the correction data configuration component occupies the data bus by the upload arbitration, and uploads the detection data acquired by the interface device to the external memory device, so that the external processing system can analyze the detection data, for example, compare the detection data with the preset standard data, and determine the correction data according to the comparison result, and the correction data configuration component can download the correction data from the external memory device to the target detector by downloading the arbitration occupancy data bus. Furthermore, when the target probe corresponds to a passive interface, the interface device may send calibration data to the target probe via a protocol such as I2C/SPI.
Further, the sending of the detection data sent by the target detector to the processing device may be in a direct mode as shown in fig. 4 to 5, that is, in real time; or, a non-direct mode may be adopted, that is, when the detection data sent by the target detector is obtained, the detection data is uploaded to the external storage device for storage through the upload arbitration occupied data bus, and when the sending period is reached, that is, the preset duration or the stored detection data amount reaches the preset amount, the detection data is downloaded from the external storage device and sent to the processing device through the download arbitration occupied data bus.
For convenience of understanding, as shown in fig. 6, the embodiment of the present invention, on the basis of fig. 4, illustrates a fourth hardware structure diagram in a case where a hardware configuration manner is combined with a non-direct mode; as shown in fig. 7, the embodiment of the present invention illustrates a fifth hardware structure diagram in the case of combining a software configuration mode with a non-pass-through mode on the basis of fig. 5. In a specific implementation, the transmission period may be set by the processing device, and the purpose of the setting is to control the transmission rate to be averaged, so as to avoid that the processing device is subjected to a huge processing amount in a short time due to a high instantaneous data transmission rate caused by data concentration.
Further, to be suitable for interfacing with various detectors, the hardware structures inside the interface device described in fig. 4 to fig. 7 may be integrated together, that is, the sixth hardware structure diagram shown in fig. 8. The control component controls other components to realize corresponding data flow directions under different conditions, and when a digital circuit is actually designed, the working clocks of corresponding component modules can be determined by dividing the clock domains corresponding to different components, control buses, data buses and the like, so that the components execute related operations according to the respective working clocks.
Based on the same inventive concept as the method embodiment, an embodiment of the present invention provides an interface device 900, the interface device 900 is connected to at least one detector, the interface device 900 is connected to a processing device, as shown in fig. 9, the interface device 900 includes:
a determining module 901, configured to determine a target probe among the at least one probe;
a conducting module 902, configured to conduct a data link between the target detector and the processing device;
an obtaining module 903, configured to obtain detection data sent by a target detector;
a sending module 904, configured to send the probe data to the processing device through the data link, so that the processing device processes the probe data.
In the embodiment of the invention, through an interface device which is separately designed and connected with at least one detector and a processor, a target detector is determined in the at least one detector, and a data link between the target detector and a processing device is conducted; and acquiring detection data sent by the target detector, and sending the detection data to the processing equipment through the data link. Can switch different detectors according to actual conditions and insert same processing apparatus for processing apparatus can dock multiple different detectors, handles its detection data to different detectors, perhaps integrates the unified processing to the detection data of the different detectors that receive, reduces the hardware cost, promotes data analysis's flexibility.
In an optional implementation manner, the interface device 900 is provided with an I/O multiplexing selector and a plurality of I/O interfaces associated with the IO multiplexing selector, where the plurality of I/O interfaces are respectively connected to at least one detector; the conducting module 902 is specifically configured to:
and the data link between the target detector and the processing equipment is conducted through the I/O multiplexing selector.
In an optional implementation manner, the interface device is provided with a data interface selector and a plurality of data interfaces associated with the data interface selector, and the interface device is connected with the processing device through the data interface selector;
the conducting module 902 is specifically configured to:
determining a target I/O interface connected with a target detector in the plurality of I/O interfaces;
selecting a target data interface corresponding to the target detector from a plurality of data interfaces through a data interface selector;
and the target I/O interface and the target data interface are conducted through the I/O multiplexing selector.
In an optional implementation manner, the obtaining module 903 is specifically configured to:
when the type of the target data interface is a passive interface, receiving detection data sent by a target detector; alternatively, the first and second electrodes may be,
when the type of the target data interface is an active interface, sending an acquisition request to a target detector, wherein the acquisition request is used for indicating the target detector to send detection data; and receiving detection data sent by the target detector after receiving the acquisition request.
In an alternative embodiment, the interface device further comprises a configuration module 905,
a configuration module 905, configured to configure correction data for the target detector, so that the target detector corrects the acquired raw data according to the correction data to obtain detection data.
In an optional implementation, the configuration module 905 is specifically configured to:
configuring preset correction data to a target detector; alternatively, the first and second electrodes may be,
comparing the detection data sent by the target detector in the current period with the standard data every other preset period; and determining correction data corresponding to the next period according to the comparison result, and configuring the determined correction data to the target detector so that the target detector corrects the original data acquired in the next period according to the correction data to obtain detection data.
An embodiment of the present invention further provides a schematic structural diagram of another interface device 1000, and referring to fig. 10, the interface device 1000 includes:
a communication interface 1001, a memory 1002, and a processor 1003;
the processor 1003 communicates with other devices through the communication interface 1001, for example, the other devices may be processing devices, and the processor 1003 may send probe data to the processing devices through the communication interface 1001; a memory 1002 for storing program instructions; the processor 1003 is configured to invoke the program instructions stored in the memory 1002, and execute the method executed by the access network device (or the base station) in the foregoing embodiment according to the obtained program.
In the embodiment of the present application, the specific connection medium among the communication interface 1001, the memory 1002, and the processor 1003 is not limited, for example, a bus may be divided into an address bus, a data bus, a control bus, and the like.
In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory may be a non-volatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory (e.g., a random-access memory (RAM)). The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Further, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the above-mentioned method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A detector selection method is characterized by being applied to interface equipment, wherein the interface equipment is connected with at least one detector, and the interface equipment is connected with processing equipment; the method comprises the following steps:
determining a target detector in the at least one detector, and conducting a data link between the target detector and the processing equipment;
and acquiring the detection data sent by the target detector, and sending the detection data to the processing equipment through the data link so that the processing equipment processes the detection data.
2. The method of claim 1, wherein an I/O multiplexing selector and a plurality of I/O interfaces associated with the IO multiplexing selector are disposed in the interface device, the plurality of I/O interfaces being respectively connected to the at least one detector;
the switching on the data link between the object detector and the processing device includes:
and conducting a data link between the target detector and the processing equipment through the I/O multiplexing selector.
3. The method of claim 2, wherein a data interface selector and a plurality of data interfaces associated with the data interface selector are provided in the interface device, the interface device being connected to the processing device through the data interface selector;
the conducting a data link between the object detector and a processing device through the I/O multiplexing selector includes:
determining a target I/O interface connected with the target detector in the plurality of I/O interfaces;
selecting a target data interface corresponding to the target detector from the plurality of data interfaces through the data interface selector;
and conducting the target I/O interface and the target data interface through the I/O multiplexing selector.
4. The method of claim 3, wherein said acquiring detection data transmitted by said object detector comprises:
when the type of the target data interface is a passive interface, receiving detection data sent by the target detector; alternatively, the first and second electrodes may be,
when the type of the target data interface is an active interface, sending an acquisition request to the target detector, wherein the acquisition request is used for indicating the target detector to send detection data; and receiving detection data sent by the target detector after receiving the acquisition request.
5. The method of any of claims 1-4, wherein prior to acquiring the detection data transmitted by the object detector, further comprising:
and configuring correction data for the target detector so that the target detector corrects the acquired original data according to the correction data to obtain detection data.
6. The method of claim 5, wherein said configuring correction data to said object detector comprises:
configuring preset correction data to the target detector; alternatively, the first and second electrodes may be,
comparing the detection data sent by the target detector in the current period with the standard data every other preset period; and determining correction data corresponding to the next period according to the comparison result, and configuring the determined correction data to the target detector so that the target detector corrects the original data acquired in the next period according to the correction data to obtain detection data.
7. An interface device, wherein said interface device is connected to at least one detector, and wherein said interface device is connected to a processing device; the interface device includes:
a determination module for determining a target probe among the at least one probe;
the conducting module is used for conducting a data link between the target detector and the processing equipment;
an acquisition module for acquiring the detection data sent by the target detector;
a sending module, configured to send the probe data to the processing device through the data link, so that the processing device processes the probe data.
8. The interface device according to claim 7, wherein an I/O multiplexing selector and a plurality of I/O interfaces associated with the IO multiplexing selector are provided in the interface device, and the plurality of I/O interfaces are respectively connected to the at least one detector; the conduction module is specifically configured to:
and conducting a data link between the target detector and the processing equipment through the I/O multiplexing selector.
9. The interface device of claim 8, wherein a data interface selector and a plurality of data interfaces associated with the data interface selector are provided in the interface device, the interface device being connected to the processing device through the data interface selector;
the conduction module is specifically configured to:
determining a target I/O interface connected with the target detector in the plurality of I/O interfaces;
selecting a target data interface corresponding to the target detector from the plurality of data interfaces through the data interface selector;
and conducting the target I/O interface and the target data interface through the I/O multiplexing selector.
10. The interface device of claim 9, wherein the obtaining module is specifically configured to:
when the type of the target data interface is a passive interface, receiving detection data sent by the target detector; alternatively, the first and second electrodes may be,
when the type of the target data interface is an active interface, sending an acquisition request to the target detector, wherein the acquisition request is used for indicating the target detector to send detection data; and receiving detection data sent by the target detector after receiving the acquisition request.
11. The interface device of any of claims 7-10, wherein the interface device further comprises a configuration module,
the configuration module is configured to configure correction data for the target detector, so that the target detector corrects the acquired original data according to the correction data to obtain detection data.
12. The interface device of claim 11, wherein the configuration module is specifically configured to:
configuring preset correction data to the target detector; alternatively, the first and second electrodes may be,
comparing the detection data sent by the target detector in the current period with the standard data every other preset period; and determining correction data corresponding to the next period according to the comparison result, and configuring the determined correction data to the target detector so that the target detector corrects the original data acquired in the next period according to the correction data to obtain detection data.
13. An interface device, comprising:
a memory and a processor;
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method of any one of claims 1 to 6 according to the obtained program.
14. A computer readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-6.
CN202010088000.7A 2020-02-12 2020-02-12 Detector selection method and interface equipment Pending CN111339017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010088000.7A CN111339017A (en) 2020-02-12 2020-02-12 Detector selection method and interface equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010088000.7A CN111339017A (en) 2020-02-12 2020-02-12 Detector selection method and interface equipment

Publications (1)

Publication Number Publication Date
CN111339017A true CN111339017A (en) 2020-06-26

Family

ID=71183348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010088000.7A Pending CN111339017A (en) 2020-02-12 2020-02-12 Detector selection method and interface equipment

Country Status (1)

Country Link
CN (1) CN111339017A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329734A1 (en) * 2014-10-27 2017-11-16 Beijing Yuanlong Yato Culture Dissemination Co., Ltd. Multifunctional Portable Data Card and Data Transmission Method
CN107966923A (en) * 2017-11-13 2018-04-27 珠海格力电器股份有限公司 Sensor interface circuitry and data channel system of selection, storage medium, data collecting system
CN108320428A (en) * 2017-12-12 2018-07-24 成都才智圣有科技有限责任公司 Fire detector
CN108351251A (en) * 2015-10-06 2018-07-31 唯景公司 Multisensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329734A1 (en) * 2014-10-27 2017-11-16 Beijing Yuanlong Yato Culture Dissemination Co., Ltd. Multifunctional Portable Data Card and Data Transmission Method
CN108351251A (en) * 2015-10-06 2018-07-31 唯景公司 Multisensor
CN107966923A (en) * 2017-11-13 2018-04-27 珠海格力电器股份有限公司 Sensor interface circuitry and data channel system of selection, storage medium, data collecting system
CN108320428A (en) * 2017-12-12 2018-07-24 成都才智圣有科技有限责任公司 Fire detector

Similar Documents

Publication Publication Date Title
CN110928511A (en) Screen projection method and device and electronic equipment
CN110659151B (en) Data verification method and device and storage medium
US10298453B2 (en) Adaptive method and device based on FPGA RRU interface protocol
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
CN111294385A (en) Data transmission method and device, readable medium and electronic equipment
CN104216312A (en) Method for providing a generic interface and microcontroller having a generic interface
CN108600675B (en) Channel path number expansion method, device, network video recorder and storage medium
CN107360036B (en) Network fault positioning method, terminal and server
CN106297628A (en) Brightness of display screen control method and device
CN110312140B (en) Live broadcast data processing method, device and system and computer readable storage medium
CN104426793A (en) Apparatus For Controlling Network Traffic
CN112311585A (en) Method and device for selecting management node, equipment and storage medium thereof
CN111339017A (en) Detector selection method and interface equipment
CN111371593B (en) Service deployment method, device, electronic equipment and storage medium
CN113055933A (en) Cell access method, user equipment and base station
US20220141115A1 (en) Gateway, communication system, and communication method
CN111866500A (en) Image testing device based on FPGA, Intel CPU and WIFI6
CN109360142B (en) Multi-channel graphic output control method based on ZYNQ
CN110166835B (en) Page display method and device and storage medium
CN108737378B (en) Dual-mode communication networking method and system based on medium access control layer
CN108090004B (en) Hardware resource sharing system and operation method of connection bridging platform
CN115017864A (en) Authentication method, authentication apparatus, electronic device, and computer-readable storage medium
CN113033752B (en) Communication fault detection method, master machine and slave machine
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN115225652A (en) Method and system for determining edge service platform, electronic equipment and storage medium

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