Connection method and device of sensor and acquisition storage medium and computer equipment

Through unified interface specifications and target recognition technology, the complex connection problem of sensors and acquisition storage media is solved, the rapid and automatic identification and configuration of sensors is realized, the compatibility and maintainability of the system are improved, and the accuracy of data acquisition is ensured. reliability.

CN119312823AActive Publication Date: 2025-01-14深圳市南海核电技术有限公司

Patent Information

Application Number
CN202411414900.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-14
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

The connection method between traditional sensors and acquisition storage media has problems such as inconsistent interfaces, difficulty in identification and complex configuration, which affects the flexibility and reliability of the system, especially in scenarios where sensors need to be frequently replaced or added, the efficiency and maintainability are reduced.

Method used

Through the unified interface specification and consistent attribute design, target recognition technology such as QR code, RFID, etc. is used to realize the rapid and automatic identification and configuration of sensors, support a variety of physical connection methods, and automatically generate data collection solutions to ensure the accuracy of data collection. 性和系统的可靠性。

Benefits of technology

It realizes plug-and-play between sensors and acquisition storage media, improves system compatibility and flexibility, reduces manual intervention, improves efficiency and maintainability, and ensures the accuracy of data acquisition and system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119312823A_ABST
    Figure CN119312823A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sensor connection, and discloses a connection method and device for a sensor and an acquisition storage medium and computer equipment, and the method comprises the steps: obtaining a sensor with independent identification information, and configuring a plurality of candidate connection interfaces of the acquisition storage medium to obtain a plurality of connection interfaces with unified attributes; the method comprises the following steps: physically connecting a sensor with any connection interface with unified attributes in an acquisition storage medium to obtain an initial connection state; performing identity recognition by adopting a target recognition technology to obtain recognition information; the sensor information is checked, a data collection scheme is generated, the data collection scheme is used for collecting physical change data of valve operation, and the physical change data is stored through a collection storage medium. The method is applied to the field of valve diagnosis and has a reliable and convenient sensor information management mechanism and a super-convenient sensor use mechanism; and a super-wide standby interface strategy is unified, and more types of sensors can be compatible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sensor connection technology, and in particular to a method and device for connecting a sensor to an acquisition storage medium, and a computer device. Background Art

[0002] Sensors play an increasingly important role as key data acquisition devices. Especially in precision control systems such as valve diagnosis, accurate and reliable data acquisition is essential for equipment operation status monitoring and fault warning. However, there are many limitations in the traditional connection between sensors and acquisition storage media, such as inconsistent interfaces, difficult identification, and complex configuration. These problems seriously affect the flexibility and reliability of the system.

[0003] Currently, there are various types of sensors and acquisition storage media on the market, and the interface standards between them are different, which makes the connection process cumbersome and error-prone. In addition, the identification and configuration of sensors often require manual intervention, which is not only time-consuming and labor-intensive, but also prone to human errors. These problems are particularly prominent in scenarios where sensors need to be frequently replaced or added, greatly reducing the efficiency and maintainability of the system. Summary of the invention

[0004] The present invention provides a method, device and computer equipment for connecting a sensor to a data collection storage medium. The present invention realizes rapid identification and automatic configuration of the sensor, supports a unified interface standard, and can adapt to various physical connection methods. At the same time, considering the data collection requirements in specific application scenarios such as valve diagnosis, it can ensure that the collected data can accurately reflect the operating status of the equipment.

[0005] In a first aspect, the present invention provides a method for connecting a sensor to a collection storage medium, the method for connecting a sensor to a collection storage medium comprising: Acquire sensors with independent identification information, and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes; Physically connecting the sensor to any connection interface with uniform attributes in the acquisition storage medium to obtain an initial connection state; Using target recognition technology, the sensor in the initial connection state is identified to obtain identification information; Sensor information is collated based on the identification information, and a data acquisition scheme for the sensor is generated. The data acquisition scheme is used to acquire physical change data of valve operation through the sensor, and store the physical change data through the acquisition storage medium.

[0006] In a second aspect, the present invention provides a device for connecting a sensor to a collection storage medium, the device for connecting a sensor to a collection storage medium comprising: An acquisition module, used to acquire sensors with independent identification information, and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes; A connection module, used to physically connect the sensor to any connection interface with uniform attributes in the acquisition storage medium to obtain an initial connection state; The identification module is used to identify the sensor in the initial connection state by using target recognition technology to obtain identification information; A generation module is used to calibrate sensor information based on the identification information and generate a data acquisition plan for the sensor, wherein the data acquisition plan is used to acquire physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.

[0007] The third aspect of the present invention provides a computer device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned method for connecting the sensor to the acquisition storage medium.

[0008] In the technical solution provided by the present invention, through the unified interface specification and the connection interface design with consistent attributes, different types of sensors can be plug-and-play with the acquisition storage medium, which greatly improves the compatibility and flexibility of the system. A variety of target recognition technologies, such as QR code, RFID, etc., are adopted to realize the rapid and automatic recognition of sensors, simplify the connection and configuration process, reduce manual intervention, and improve efficiency. Through the design of multiple candidate connection interfaces with unified attributes, even if a certain interface is damaged, other interfaces can still be used for connection, which improves the reliability and fault tolerance of the system. Based on the functional attributes, calibration information and corresponding algorithms of the sensor, a targeted data collection scheme is automatically generated to ensure that the collected data on the physical changes of valve operation is more accurate and effective. Supports a variety of physical connection methods, including wireless communication, wired communication, Bluetooth communication and network communication, etc., to meet the connection requirements of different application scenarios. Through the automated identification and configuration process, the workload during system maintenance and upgrading is greatly reduced, and the maintainability of the system is improved. The present invention is applied to the field of valve diagnosis, has a reliable and convenient sensor information management mechanism, a super convenient sensor use mechanism, a unified super broad spare interface strategy, and can be compatible with more types of sensors. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0010] Figure 1 A schematic diagram of the steps of a method for connecting a sensor to a collection storage medium in an embodiment of the present invention; Figure 2 This is a schematic diagram of the location of the ID information storage medium of the sensor in an embodiment of the present invention; Figure 3 A schematic diagram of a connection interface with unified attributes in an embodiment of the present invention; Figure 4 Schematic diagram of the structure of the connection device between the sensor and the acquisition storage medium in an embodiment of the present invention. DETAILED DESCRIPTION

[0011] Embodiments of the present invention provide a method, device and computer equipment for connecting a sensor to an acquisition storage medium. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0012] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the method for connecting the sensor and the acquisition storage medium in the embodiment of the present invention includes: Step S1, obtaining a sensor with independent identification information, and configuring multiple candidate connection interfaces of a collection storage medium to obtain multiple connection interfaces with unified attributes; It is understandable that the execution subject of the present invention may be a connection device between a sensor and a collection storage medium, or may be a terminal or a server, which is not specifically limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.

[0013] Step S2, physically connecting the sensor to any connection interface with unified attributes in the acquisition storage medium to obtain an initial connection state; Step S3: using target recognition technology to identify the sensor in the initial connection state to obtain identification information; Step S4: perform sensor information verification based on the identification information, and generate a data acquisition plan for the sensor, wherein the data acquisition plan is used to acquire physical change data of valve operation through the sensor, and store the physical change data through an acquisition storage medium.

[0014] Specifically, the connection mechanism between the sensor and the acquisition storage medium, such as Figure 2 As shown, Figure 2 The sensor ID information storage medium location, each sensor has independent identification information, the connection interface of the acquisition storage medium is not independent and unique, all acquisition interface attributes are unified (the purpose of attribute unification is to not consider how the sensor and the acquisition storage medium should be connected, just connect them. The sensor can be connected to the acquisition storage medium at will, even if the interface is damaged, it can be connected to other interfaces), interface attributes include but are not limited to acquisition signal type, acquisition signal accuracy, physical connection style, etc. Figure 3As shown. The key to the sensor identification method is to give an identification code to any sensor with standard signal output by binding a unique ID information. The ID information binding method is not limited to the following target identification technologies, such as scanning two-dimensional identification (for example: a QR code label is attached to the sensor, and the collector is equipped with a code scanning device, which can automatically obtain sensor information by scanning the code), chip identification (for example: the sensor signal connection plug or cable is connected with an identification chip / storage circuit element, which can store ID information), communication verification reading information (this place adds commonly used and easy-to-do ones), RFID identification technology (an RFID code is installed inside the sensor, and the ID information of the sensor is stored in the partial code information of the RFID code). The physical connection here includes but is not limited to any communication transmission and physical point-to-point insertion (conventional and universal). After the acquisition storage medium and the sensor are connected, the ID information can be collated to automatically obtain the sensor information and generate the corresponding acquisition strategy. The acquisition strategy includes but is not limited to automatically obtaining the corresponding algorithm, automatically obtaining the functional attributes of the sensor, and automatically obtaining the calibration information. (The key to obtaining the calibration information is to know whether the sensor is within the compliant accuracy time, so as to distinguish whether the collected data is legal.) After obtaining the information, you will know what the sensor can collect. The user can connect the sensor to the valve end. By connecting different types of sensors, all physical changes in the valve operation can be transmitted to the data acquisition storage medium through the connection with the acquisition storage medium. The connection here includes but is not limited to communication transmission (the communication method is not limited to wireless communication, wired communication, Bluetooth communication, network communication), physical point-to-point direct transmission, etc.

[0015] In the embodiment of the present invention, through the unified interface specification and the connection interface design with consistent attributes, different types of sensors can be plug-and-play with the acquisition storage medium, which greatly improves the compatibility and flexibility of the system. A variety of target recognition technologies, such as QR code, RFID, etc., are adopted to realize the rapid and automatic recognition of sensors, simplify the connection and configuration process, reduce manual intervention, and improve efficiency. Through the design of multiple candidate connection interfaces with unified attributes, even if a certain interface is damaged, other interfaces can still be used for connection, which improves the reliability and fault tolerance of the system. Based on the functional attributes, calibration information and corresponding algorithms of the sensor, a targeted data collection scheme is automatically generated to ensure that the collected data on the physical changes of valve operation is more accurate and effective. Support a variety of physical connection methods, including wireless communication, wired communication, Bluetooth communication and network communication, etc., to meet the connection requirements of different application scenarios. Through the automated identification and configuration process, the workload during system maintenance and upgrading is greatly reduced, and the maintainability of the system is improved. The present invention is applied to the field of valve diagnosis, has a reliable and convenient sensor information management mechanism, a super convenient sensor use mechanism, a unified super broad spare interface strategy, and can be compatible with more types of sensors.

[0016] In a specific embodiment, the process of executing step S1 may specifically include the following steps: Binding the unique identification information of the sensor to obtain a sensor with independent identification information, wherein the unique identification information includes the sensor ID; Based on the unified interface specification, multiple candidate connection interfaces of the acquisition storage medium are configured to obtain multiple connection interfaces with unified attributes, wherein the attributes include acquisition signal type, acquisition signal accuracy, and physical connection style; Among them, the unique identification information binding method includes at least one of the following: attaching a QR code label on the sensor; integrating an identification chip or storage circuit element in the sensor signal connection plug or cable; installing an RFID code inside the sensor, and storing the sensor ID information in the partial code information of the RFID code.

[0017] Specifically, In a specific embodiment, collecting the connection interface attributes of the storage medium further includes: The type of collected signal; the accuracy of collected signal; the physical connection style; wherein the properties of all candidate connection interfaces of the collected storage medium are kept consistent, so that the sensor can be connected to any candidate connection interface, and even if any candidate connection interface is damaged, other candidate connection interfaces can still be used for connection.

[0018] Specifically, the unique identification information of the sensor is bound to obtain a sensor with independent identification information, and the unique identification information includes the sensor ID. The specific binding method includes but is not limited to: attaching a QR code label on the sensor, the QR code contains the unique ID information of the sensor. Integrating an identification chip or a storage circuit element in the sensor signal connection plug or cable to store the ID information of the sensor. Installing an RFID code inside the sensor, and storing the ID information of the sensor in the partial code information of the RFID code. Based on the unified interface specification, multiple candidate connection interfaces of the acquisition storage medium are configured to obtain multiple connection interfaces with unified attributes. These unified attributes include but are not limited to: acquisition signal type: such as analog signal, digital signal, etc. Accuracy of acquisition signal: such as 16 bits, 24 bits, etc. Physical connection style: such as DB9 interface, USB interface, etc. Ensure that the attributes of all candidate connection interfaces of the acquisition storage medium are consistent, so that the sensor can be connected to any interface at will. The purpose of this design is to achieve plug-and-play without considering the correspondence between the sensor and the acquisition storage medium. Improve the fault tolerance of the system, even if an interface is damaged, other interfaces can still be used for connection. The connection interface properties of the acquisition storage medium may also include: the frequency range of the acquisition signal; the voltage / current range of the acquisition signal; the type of communication protocol (such as RS-232, RS-485, 4-20mA, etc.); configure the acquisition storage medium to support a variety of connection methods, including but not limited to: wireless communication (such as Wi-Fi, ZigBee, etc.); wired communication (such as Ethernet, CAN bus, etc.); Bluetooth communication; network communication (such as TCP / IP, MQTT, etc.). Integrate the necessary hardware devices on the acquisition storage medium to support various identification technologies: integrate a QR code scanning device to read the QR code label on the sensor. Integrate a chip reader to read the identification chip in the sensor connector. Integrate an RFID reader to read the RFID code inside the sensor. Develop and integrate automatic identification and configuration algorithms so that the acquisition storage medium can: automatically detect newly connected sensors; read the unique identification information of the sensor; query the preset database based on the identification information to obtain detailed information of the sensor. Automatically generate acquisition strategies and data processing algorithms suitable for the sensor. Through the above steps, flexible connection and automatic configuration between sensors and acquisition storage media can be achieved, which greatly improves the usability and adaptability of the system. It is especially suitable for scenarios such as valve diagnosis that require frequent replacement or addition of different types of sensors.

[0019] In a specific embodiment, the process of executing step S2 may specifically include the following steps: Select any connection interface with uniform attributes on the acquisition storage medium, where the connection interface with uniform attributes has an acquisition signal type, acquisition signal accuracy, and physical connection style that are compatible with the sensor; The sensor is connected to the connection interface with the selected unified attributes through a physical connection method, and the physical connection method includes at least one of the following: communication transmission connection, including wireless communication, wired communication, Bluetooth communication and network communication; physical point-to-point direct connection; confirming that the physical connection between the sensor and the acquisition storage medium is completed and establishing an initial connection state.

[0020] Specifically, select any connection interface with uniform attributes on the acquisition storage medium: Check all available connection interfaces on the acquisition storage medium. Confirm that these interfaces have uniform attributes, including but not limited to: acquisition signal type (such as analog signal, digital signal, etc.); acquisition signal accuracy (such as 16 bits, 24 bits, etc.); physical connection style (such as DB9 interface, USB interface, etc.); verify whether these attributes are compatible with the sensor to be connected. Connect the sensor to the selected connection interface with uniform attributes through physical connection: Communication transmission connection: Wireless communication: such as using wireless technologies such as Wi-Fi and ZigBee to establish a connection. Wired communication: such as using Ethernet cables, serial ports, etc. to connect. Bluetooth communication: Establish a short-range wireless connection through the Bluetooth protocol. Network communication: such as establishing a connection on a local area network or the Internet through the TCP / IP protocol. Physical point-to-point direct connection: such as using a standard interface (such as DB9, USB, etc.) to directly insert the sensor into the corresponding port of the acquisition storage medium. Confirm that the physical connection between the sensor and the acquisition storage medium is completed and establish the initial connection state: For wired connections, check whether the connection is firm and whether the signal is transmitted normally. For wireless connections, verify that the signal strength is sufficient and the connection is stable. Perform a simple communication test to ensure that data can be transmitted normally. Automatic configuration process after the connection is established: The acquisition storage medium automatically detects the newly connected sensor. Start the sensor identification program and prepare to read the unique identification information of the sensor. Handling special situations: If the selected interface cannot establish a connection, the system automatically tries other available interfaces. If all interfaces cannot establish a connection, the system gives an error prompt and it is recommended to check whether the sensor or acquisition storage medium is faulty. Connection security considerations: For wireless connections, ensure that appropriate encryption methods are used to protect data transmission security. For wired connections, consider using physical isolation or other security measures to prevent unauthorized access. Connection status monitoring: After the connection is established, the connection status is continuously monitored. If the connection is interrupted, the system should be able to automatically reconnect or give a warning. Through the above steps, a flexible and reliable physical connection between the sensor and the acquisition storage medium can be achieved. This design allows users to connect sensors to any interface of the acquisition storage medium at will, greatly improving the ease of use and adaptability of the system. Even if an interface fails, it can be easily switched to other interfaces to ensure the continuous operation of the system. This connection mechanism is particularly suitable for scenarios where different types of sensors need to be frequently replaced or added, such as valve diagnostic systems.

[0021] In a specific embodiment, the process of executing step S3 may specifically include the following steps: Select a target recognition technology, which is any one of the following recognition technologies: scanning two-dimensional recognition technology, scanning the two-dimensional code label on the sensor by a code scanning device on the acquisition storage medium; chip recognition technology, reading the information in the recognition chip or storage circuit element integrated in the sensor signal connection plug or cable; communication verification reading technology, exchanging data with the sensor through a preset communication protocol to obtain the identification information of the sensor; RFID technology, reading the information stored in the RFID code installed inside the sensor through an RFID reader; The sensor in the initial connection state is scanned or read using the selected target recognition technology; the obtained scanning or reading results are parsed to extract the unique identification information of the sensor; and the extracted unique identification information is used as the identification information of the sensor.

[0022] Specifically, select the target recognition technology: Scanning two-dimensional recognition technology: The acquisition storage medium is equipped with an integrated code scanning device. A two-dimensional code label containing its unique ID information is attached to the sensor. The code scanning device can be a small camera or a dedicated two-dimensional code scanner. Chip recognition technology: The signal connection plug or cable of the sensor is integrated with an identification chip or storage circuit element. The acquisition storage medium is equipped with a corresponding chip reader. The identification chip can be an EEPROM, RFID chip or other small storage device. Communication verification reading technology: The acquisition storage medium is preset with a variety of commonly used communication protocols. Data is exchanged with the sensor by trying different protocols. The protocol may include but is not limited to: Modbus, HART, Profibus and other industrial communication protocols. RFID technology: An RFID tag is installed inside the sensor. The acquisition storage medium is equipped with an RFID reader. The ID information of the sensor is stored in the partial code information of the RFID tag. Use the selected target recognition technology to scan or read the sensor in the initial connection state: For scanning two-dimensional recognition technology: Activate the code scanning device on the acquisition storage medium. Scan the two-dimensional code label on the sensor. Get the raw data of the scan result. For chip identification technology: Activate the chip reader on the acquisition storage medium. Establish a connection with the identification chip in the sensor connector or cable. Read the information stored in the chip. For communication verification reading technology: The acquisition storage medium attempts to communicate with the sensor using the preset communication protocol. Send a standard identification request command. Receive the data returned by the sensor. For RFID technology: Activate the RFID reader on the acquisition storage medium. Scan the RFID tag inside the sensor. Read the information stored in the RFID tag. Parse the acquired scan or read results to extract the unique identification information of the sensor: For QR code scanning results: Use the QR code decoding algorithm to parse the scanned image data. Extract relevant information such as the sensor ID from the decoded data. For chip reading results: Parse the raw data read from the chip according to the predefined data structure. Extract structured data including the sensor ID, model, calibration information, etc. For communication verification reading results: Parse the received data packet according to the communication protocol used. Extract the sensor identification information from the data packet. For RFID reading results: Decode the data in the RFID tag. Extract the sensor ID information from the decoded data. Use the extracted unique identification information as the sensor identification information: Verify the integrity and validity of the extracted identification information. Temporarily store the verified identification information in the memory of the acquisition storage medium. Prepare to use this identification information for subsequent sensor information verification and acquisition strategy generation. Error handling and abnormal situations: If the selected recognition technology fails, the system automatically tries other available recognition methods. If all recognition methods fail, the system gives an error prompt. It is recommended to check whether the sensor identification is intact or try to manually enter the identification information.Security considerations for identification information: Encrypt the data transmitted during the identification process to prevent illegal interception. Use secure data storage methods when storing identification information to prevent unauthorized access. Through this diverse and automated identification mechanism, the system can quickly and accurately identify various types of sensors without human intervention. This greatly improves the flexibility and efficiency of the system, and is particularly suitable for scenarios where different types of sensors need to be frequently replaced or added, such as complex valve diagnostic systems. At the same time, this approach also facilitates the expansion of new sensor types in the future. It only needs to implement compatible identification methods on new sensors to easily integrate them into existing systems.

[0023] In a specific embodiment, the process of executing step S4 may specifically include the following steps: Retrieve sensor-related information from a preset database based on the identification information to obtain the sensor's functional attributes, calibration information, and corresponding algorithms; generate an acquisition strategy based on the functional attributes, calibration information, and corresponding algorithms, including: determining the sensor's acquisition signal type and accuracy; setting the sensor's sampling frequency and sampling duration; and configuring the sensor's signal processing and data conversion parameters; Formulate a data collection plan based on the collection strategy, including: setting the collection items and collection sequence of valve operation physical change data; determining the triggering and termination conditions for data collection; configuring the data storage format and storage cycle; Send the data collection plan to the collection storage medium to guide the collection storage medium to collect the physical change data of the valve operation through the sensor; A data storage module is configured with a collection storage medium, and is used to store the collected physical change data in a preset format and period.

[0024] Specifically, sensor-related information is retrieved from a preset database based on the identification information: a preset database containing various sensor information is established and maintained. The unique identification information obtained in step S3 is used as a search keyword. The following information is retrieved and obtained from the database: functional properties of the sensor (such as measurement range, response time, etc.); calibration information (such as calibration date, calibration coefficient, etc.); corresponding data processing algorithm. Generate an acquisition strategy based on functional properties, calibration information and corresponding algorithms: Determine the acquisition signal type and accuracy of the sensor: Determine the signal type (such as analog, digital, etc.) based on the functional properties of the sensor; Set the appropriate acquisition accuracy (such as 16 bits, 24 bits, etc.). Set the sampling frequency and sampling duration of the sensor: Set a suitable sampling frequency based on the valve operation characteristics and sensor response time; Set an appropriate sampling duration based on diagnostic requirements. Configure the signal processing and data conversion parameters of the sensor: Set signal filtering parameters (such as low-pass filtering, median filtering, etc.), configure signal amplification or attenuation coefficients, and set linearization or other necessary data conversion parameters. Formulate data collection scheme according to collection strategy: Set the collection items and collection sequence of valve operation physical change data: Determine the physical quantities (such as position, pressure, temperature, etc.) to be collected according to valve type and diagnostic requirements, and set the collection priority and sequence of these physical quantities. Determine the trigger and termination conditions for data collection: Set the trigger conditions for the start of collection (such as valve start, timing trigger, etc.), and set the conditions for the end of collection (such as the collection time reaches the preset value, a specific event occurs, etc.). Configure data storage format and storage cycle: Select an appropriate data storage format (such as CSV, binary file, etc.), and set the data storage cycle (such as real-time storage, batch storage, etc.). Send the data collection scheme to the collection storage medium: Package the generated data collection scheme into an executable instruction set. Transmit the instruction set to the collection storage medium through the preset communication interface. The collection storage medium receives and parses the instruction set and prepares to execute the data collection task. Configure the data storage module of the collection storage medium: Configure the parameters of the storage module according to the storage requirements in the data collection scheme. Set the data storage path, file naming rules, etc. Configure data backup and synchronization mechanisms to ensure data security. Acquisition storage medium performs data acquisition and storage: According to the configured acquisition strategy, the physical change data of the valve operation is collected through the sensor. The collected raw data is processed in real time (such as filtering, calibration, etc.). The processed data is stored in the specified location according to the preset format and cycle. Acquisition process monitoring and exception handling: Real-time monitoring of the data acquisition process to detect whether there are any abnormal conditions (such as signal interruption, data abnormality, etc.). If an abnormality is detected, the preset alarm mechanism is triggered and corresponding processing measures are taken (such as re-acquisition, switching to backup sensors, etc.). Data quality control: Regularly evaluate the quality of the collected data. If the data quality is found to be degraded, the acquisition parameters are automatically adjusted or the sensor calibration is prompted.System adaptability adjustment: Regularly evaluate the effectiveness of the acquisition strategy based on the collected data and system operation. Automatically optimize the acquisition parameters when necessary to adapt to changes in the valve operation status. Through this flexible and intelligent data acquisition and storage mechanism, the system can automatically generate the optimal acquisition strategy and storage solution based on the characteristics of different sensors and the needs of valve diagnosis. This not only improves the efficiency and accuracy of data acquisition, but also provides high-quality data support for subsequent valve diagnosis and analysis. At the same time, the system's adaptive ability ensures that performance can be continuously optimized in long-term operation to adapt to different working environments and diagnostic needs.

[0025] In a specific embodiment, after obtaining the functional attributes of the sensor, the following steps are performed: Determine whether the functional properties of the sensor meet the physical change data collection requirements for valve diagnosis; If the requirements are met, connect the sensor to the valve end; Collect data on physical changes in valve operation through sensors; The collected physical change data is transmitted to a collection storage medium; wherein the transmission method of the physical change data includes at least one of the following: wireless communication, wired communication, Bluetooth communication and network communication.

[0026] Specifically, determine whether the functional properties of the sensor meet the requirements for physical change data collection required for valve diagnosis: establish a list of physical change data collection requirements required for valve diagnosis, including but not limited to: measurement range (such as pressure range, temperature range, etc.), measurement accuracy, response time, anti-interference ability, applicable environmental conditions (such as explosion-proof, anti-corrosion, etc.). Compare the functional properties of the sensor with the requirements list one by one: check whether the measurement range of the sensor covers the working range of the valve, verify whether the accuracy of the sensor meets the diagnostic requirements, confirm whether the response time of the sensor is fast enough to capture the instantaneous changes of the valve, evaluate whether the anti-interference ability of the sensor meets the requirements of the on-site environment, check whether the protection level of the sensor meets the requirements of the installation environment, comprehensively evaluate the applicability of the sensor, and draw a judgment result. If the requirements are met, connect the sensor to the valve end: determine the best installation position of the sensor on the valve: select key measurement points according to the valve type and diagnostic requirements, and consider the accessibility and maintenance convenience of the installation position. Design and implement the installation plan of the sensor: select appropriate installation accessories (such as flanges, threaded joints, etc.), ensure that the installation does not affect the normal operation of the valve, and take necessary sealing and protective measures. Make physical connections to the sensors: Install the sensors to the designated locations of the valves according to the design plan, ensure that the connections are firm, and avoid loosening due to factors such as vibration. Perform preliminary functional tests: Check whether the output signals of the sensors are normal, and verify whether the sensors can correctly respond to changes in the valve state. Collect data on the physical changes in the operation of the valves through sensors: According to the previously formulated data collection plan, start the data collection process: Start data collection at the set sampling frequency, monitor the collection process in real time, and ensure the continuity and integrity of the data. The collected physical change data may include, but are not limited to: valve position information, changes in valve internal pressure, changes in fluid temperature, force or torque of the actuator, valve switching time, and valve internal leakage rate. Perform preliminary processing on the collected raw data: Apply previously configured signal processing parameters (such as filtering, amplification, etc.) to perform necessary unit conversion and standardization. Transfer the collected physical change data to the collection storage medium: Select the appropriate data transmission method according to the site conditions and needs: Wireless communication: such as using Wi-Fi, ZigBee or other industrial wireless protocols; Wired communication: such as using RS-485, 4-20mA analog signal or industrial Ethernet; Bluetooth communication: suitable for short-distance, low-power scenarios; Network communication: such as using TCP / IP protocol to transmit data through industrial gateways. Implement data transmission: Configure the communication parameters of the sensor and the collection storage medium; Establish a stable communication link; Transmit data according to the preset data format and protocol. Ensure the security and reliability of data transmission: Encrypt the transmitted data to prevent unauthorized access; Implement a data verification mechanism to ensure the integrity of the data during transmission; Set up an automatic retransmission mechanism to deal with possible communication interruptions.Monitor the data transmission process: monitor the transmission rate and quality in real time; record transmission anomalies and trigger the corresponding alarm mechanism. Data reception and storage: collect storage media to receive the transmitted data: verify the integrity and correctness of the received data, and perform necessary decryption and decompression processing on the received data. Save data according to the preset storage strategy: store data in the specified storage location (such as local hard disk, cloud storage, etc.), organize and index data according to the predefined format, and facilitate subsequent retrieval and analysis. Data backup and management: perform data backup regularly to ensure data security. Implement data lifecycle management, including data archiving and cleaning. Through this flexible and intelligent sensor deployment and data acquisition mechanism, the system can automatically select and configure appropriate sensors according to the characteristics and diagnostic requirements of different valves, and efficiently collect and transmit key physical change data. This not only improves the accuracy and efficiency of valve diagnosis, but also provides a reliable data basis for subsequent predictive maintenance and fault analysis. At the same time, the system's adaptive capabilities and diverse communication options ensure stable operation in various complex industrial environments and meet the valve monitoring needs in different scenarios.

[0027] The above describes the method for connecting the sensor and the acquisition storage medium in the embodiment of the present invention. The following describes the device for connecting the sensor and the acquisition storage medium in the embodiment of the present invention. Figure 4 , an embodiment of the device for connecting the sensor and the acquisition storage medium in the embodiment of the present invention includes: An acquisition module, used to acquire sensors with independent identification information, and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes; A connection module, used to physically connect the sensor to any connection interface with uniform properties in the acquisition storage medium to obtain an initial connection state; The identification module is used to identify the sensor in the initial connection state by using target recognition technology to obtain identification information; A generation module is used to calibrate sensor information based on identification information and generate a data acquisition plan for the sensor. The data acquisition plan is used to collect physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.

[0028] Through the collaborative cooperation of the above-mentioned components, through the unified interface specification and the connection interface design with consistent attributes, different types of sensors can be plug-and-play with the acquisition storage medium, which greatly improves the compatibility and flexibility of the system. A variety of target recognition technologies, such as QR code, RFID, etc., are adopted to realize the rapid and automatic recognition of sensors, simplify the connection and configuration process, reduce manual intervention, and improve efficiency. Through the design of multiple candidate connection interfaces with unified attributes, even if an interface is damaged, other interfaces can still be used for connection, which improves the reliability and fault tolerance of the system. Based on the functional attributes, calibration information and corresponding algorithms of the sensor, a targeted data acquisition scheme is automatically generated to ensure that the collected data on the physical changes of valve operation is more accurate and effective. Support a variety of physical connection methods, including wireless communication, wired communication, Bluetooth communication and network communication, etc., to meet the connection requirements of different application scenarios. Through the automated identification and configuration process, the workload during system maintenance and upgrading is greatly reduced, and the maintainability of the system is improved. The present invention is applied to the field of valve diagnosis, has a reliable and convenient sensor information management mechanism, a super convenient sensor use mechanism, a unified super broad spare interface strategy, and can be compatible with more types of sensors.

[0029] The present invention also provides a computer device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the method for connecting the sensor to the acquisition storage medium in the above-mentioned embodiments.

[0030] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0031] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0032] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for connecting a sensor to a collection storage medium, characterized in that: The method comprises: Acquire sensors with independent identification information, and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes; Physically connecting the sensor to any connection interface with uniform attributes in the acquisition storage medium to obtain an initial connection state; Using target recognition technology, the sensor in the initial connection state is identified to obtain identification information; Sensor information is collated based on the identification information, and a data acquisition scheme for the sensor is generated. The data acquisition scheme is used to acquire physical change data of valve operation through the sensor, and store the physical change data through the acquisition storage medium.

2. The method for connecting a sensor to a collection storage medium according to claim 1, characterized in that: The method of acquiring a sensor with independent identification information and configuring a plurality of candidate connection interfaces of the acquisition storage medium to obtain a plurality of connection interfaces with uniform attributes includes: Binding the unique identification information of the sensor to obtain a sensor with independent identification information, wherein the unique identification information includes a sensor ID; Based on the unified interface specification, multiple candidate connection interfaces of the acquisition storage medium are configured to obtain multiple connection interfaces with unified attributes, wherein the attributes include acquisition signal type, acquisition signal accuracy, and physical connection style; Among them, the unique identification information binding method includes at least one of the following: attaching a QR code label on the sensor; integrating an identification chip or storage circuit element in the sensor signal connection plug or cable; installing an RFID code inside the sensor, and storing the sensor ID information in the partial code information of the RFID code.

3. The method for connecting a sensor to a collection storage medium according to claim 2, characterized in that: The connection interface attributes of the acquisition storage medium also include: The type of collected signal; the accuracy of collected signal; the physical connection style; wherein the properties of all candidate connection interfaces of the collected storage medium remain consistent, so that the sensor can be connected to any candidate connection interface, and even if any candidate connection interface is damaged, other candidate connection interfaces can still be used for connection.

4. The method for connecting a sensor to a collection storage medium according to claim 1, characterized in that: The step of physically connecting the sensor to any connection interface with uniform attributes in the acquisition storage medium to obtain an initial connection state includes: Selecting any connection interface with uniform attributes on the acquisition storage medium, wherein the connection interface with uniform attributes has an acquisition signal type, acquisition signal accuracy, and physical connection style that are compatible with the sensor; The sensor is connected to a connection interface with a unified selected attribute through a physical connection method, and the physical connection method includes at least one of the following: communication transmission connection, including wireless communication, wired communication, Bluetooth communication and network communication; physical point-to-point direct connection; confirming that the physical connection between the sensor and the acquisition storage medium is completed and establishing an initial connection state.

5. The method for connecting a sensor to a collection storage medium according to claim 1, characterized in that: The target recognition technology is used to identify the sensor in the initial connection state to obtain identification information, including: Select a target recognition technology, which is any one of the following recognition technologies: scanning two-dimensional recognition technology, scanning the two-dimensional code label on the sensor by a code scanning device on the acquisition storage medium; chip recognition technology, reading the information in the recognition chip or storage circuit element integrated in the sensor signal connection plug or cable; communication verification reading technology, exchanging data with the sensor through a preset communication protocol to obtain the identification information of the sensor; RFID technology, reading the information stored in the RFID code installed inside the sensor through an RFID reader; The sensor in the initial connection state is scanned or read using the selected target recognition technology; the obtained scanning or reading results are parsed to extract the unique identification information of the sensor; and the extracted unique identification information is used as the identification information of the sensor.

6. The method for connecting a sensor to a collection storage medium according to claim 1, characterized in that: The sensor information is collated based on the identification information, and a data acquisition scheme for the sensor is generated, wherein the data acquisition scheme is used to acquire physical change data of valve operation through the sensor, and store the physical change data through the acquisition storage medium, including: Retrieving sensor related information from a preset database according to the identification information to obtain functional attributes, calibration information and corresponding algorithms of the sensor; generating an acquisition strategy based on the functional attributes, calibration information and corresponding algorithms, including: determining the acquisition signal type and accuracy of the sensor; setting the sampling frequency and sampling duration of the sensor; configuring the signal processing and data conversion parameters of the sensor; Formulate a data collection plan according to the collection strategy, including: setting the collection items and collection sequence of the physical change data of the valve operation; determining the triggering conditions and termination conditions of the data collection; configuring the data storage format and storage period; Sending the data acquisition plan to the acquisition storage medium to instruct the acquisition storage medium to acquire the physical change data of the valve operation through the sensor; The data storage module configured in the acquisition storage medium is used to store the acquired physical change data in a preset format and period.

7. The method for connecting a sensor to a collection storage medium according to claim 6, characterized in that: The method further comprises: After obtaining the functional properties of the sensor, perform the following steps: Determining whether the functional properties of the sensor meet the physical change data collection requirements for valve diagnosis; If the requirements are met, the sensor is connected to the valve end; Collecting the physical change data of the valve operation through the sensor; The collected physical change data is transmitted to the collection storage medium; wherein the transmission method of the physical change data includes at least one of the following: wireless communication, wired communication, Bluetooth communication and network communication.

8. A device for connecting a sensor to a collection storage medium, characterized in that: The device is used to perform the method for connecting a sensor to an acquisition storage medium according to any one of claims 1 to 7, the device comprising: An acquisition module, used to acquire sensors with independent identification information, and configure multiple candidate connection interfaces of the acquisition storage medium to obtain multiple connection interfaces with unified attributes; A connection module, used to physically connect the sensor to any connection interface with uniform attributes in the acquisition storage medium to obtain an initial connection state; The identification module is used to identify the sensor in the initial connection state by using target recognition technology to obtain identification information; A generation module is used to calibrate sensor information based on the identification information and generate a data acquisition plan for the sensor, wherein the data acquisition plan is used to acquire physical change data of valve operation through the sensor and store the physical change data through the acquisition storage medium.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the method for connecting the sensor and the acquisition storage medium according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Wireless sensor network technology based container monitoring system

    CN102829826A

  • Information collection method and terminal device

    CN107807891A

  • Plug-and-play high-voltage equipment online state detection system

    CN107947967A

  • Sensor monitoring system based on electronic identifier and cloud platform, convenient detection data acquisition system and method

    CN109189008A

  • Equipment monitoring method for bridge monitoring system, device, equipment and storage medium

    CN110243408A

Cited By

  • Sensor abstraction layer design method, device and equipment based on annular buffer

    CN119962266A

  • Meter equipment management method, server and system

    CN120151378A