CN102270141B - Configurable data acquisition software system and designing method - Google Patents
Configurable data acquisition software system and designing method Download PDFInfo
- Publication number
- CN102270141B CN102270141B CN201110249398.9A CN201110249398A CN102270141B CN 102270141 B CN102270141 B CN 102270141B CN 201110249398 A CN201110249398 A CN 201110249398A CN 102270141 B CN102270141 B CN 102270141B
- Authority
- CN
- China
- Prior art keywords
- data acquisition
- data
- description information
- unit
- software system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000011161 development Methods 0.000 claims abstract description 18
- 238000013461 design Methods 0.000 claims abstract description 17
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 238000013480 data collection Methods 0.000 claims description 52
- 238000004891 communication Methods 0.000 claims description 27
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
本发明涉及一种可配置的数据采集软件系统,包括参数配置模块、数据采集模块、采集程序控制模块。其中参数配置模块包括设备添加单元、设备删除单元、设备查询单元和设备修改单元,数据采集模块包括描述信息传输单元、计算机接口初始化单元、数据采集单元、描述信息读写单元和主控单元。本发明还涉及一种可配置的数据采集软件设计方法,采用该种可配置的数据采集软件系统及设计方法,可显著缩短数据采集软件的开发周期,降低软件的开发成本,提高软件的可扩展性、可维护性和易操作性,对数据采集软件系统设计与开发技术的发展具有促进作用。
The invention relates to a configurable data acquisition software system, which includes a parameter configuration module, a data acquisition module and an acquisition program control module. The parameter configuration module includes a device adding unit, a device deleting unit, a device query unit and a device modifying unit, and the data acquisition module includes a description information transmission unit, a computer interface initialization unit, a data acquisition unit, a description information reading and writing unit and a main control unit. The present invention also relates to a configurable data acquisition software design method, adopting the configurable data acquisition software system and design method can significantly shorten the development cycle of the data acquisition software, reduce the development cost of the software, and improve the scalability of the software Performance, maintainability and ease of operation will promote the development of data acquisition software system design and development technology.
Description
技术领域 technical field
本发明涉及计算机软件领域,特别涉及数据采集的软件实现技术领域,具体是指一种可配置的数据采集软件系统及设计方法。The present invention relates to the field of computer software, in particular to the technical field of software realization of data collection, and specifically refers to a configurable data collection software system and a design method.
背景技术 Background technique
传感信息的自动化采集是物联网、传感器网等系统的重要组成部分。目前的数据采集软件系统,针对特定的数据采集设备,能够实现传感信息的自动获取和传输,为传感信息的处理和分析提供了高效和可靠的技术手段。Automatic collection of sensing information is an important part of systems such as the Internet of Things and sensor networks. The current data acquisition software system can realize the automatic acquisition and transmission of sensing information for specific data acquisition equipment, and provides efficient and reliable technical means for the processing and analysis of sensing information.
随着电子信息技术的快速发展,数据采集设备升级换代频繁,应用需求不断更新,导致数据采集软件系统需要不断进行重新研发或升级。采用目前的数据采集软件系统设计方法,开发效率降低、测试周期长、研发成本高,阻碍了数据采集技术的快速应用,在一定程度上影响了相关行业的发展。With the rapid development of electronic information technology, data acquisition equipment is frequently upgraded, and application requirements are constantly updated, resulting in the need for continuous re-development or upgrading of data acquisition software systems. Using the current data acquisition software system design method, the development efficiency is reduced, the test cycle is long, and the research and development cost is high, which hinders the rapid application of data acquisition technology and affects the development of related industries to a certain extent.
发明内容 Contents of the invention
本发明的目的是为克服上述现有技术中的缺点,提供一种具有可移植性强、能够快速适应需求变化、开发过程高效、适用范围较为广泛的可配置的数据采集软件系统及设计方法。The object of the present invention is to overcome the above-mentioned shortcomings in the prior art, and provide a configurable data acquisition software system and design method with strong portability, fast adaptation to changing requirements, efficient development process, and wide application range.
为了实现上述的目的,本发明的可配置的数据采集软件系统及设计方法如下:In order to achieve the above-mentioned purpose, the configurable data acquisition software system and design method of the present invention are as follows:
所述的可配置的数据采集软件系统,其主要特点是,该数据采集软件系统包括参数配置模块、数据采集模块、采集程序控制模块。所述的设备参数配置模块,开发者根据实际需求配置数据采集软件系统所使用的数据采集设备的描述信息,完成相应功能的定制,可以实现添加和删除数据采集设备以及更新数据采集设备描述信息的功能,实现对数据采集设备描述信息的存储;The main feature of the configurable data acquisition software system is that the data acquisition software system includes a parameter configuration module, a data acquisition module, and an acquisition program control module. In the device parameter configuration module, the developer configures the description information of the data acquisition device used by the data acquisition software system according to actual needs, completes the customization of corresponding functions, and can realize adding and deleting data acquisition devices and updating the description information of data acquisition devices Function to realize the storage of description information of data acquisition equipment;
数据采集模块,提供接受通信控制的外部接口,接收外部应用程序的逻辑命令,根据所述的逻辑命令,实现对数据采集设备的通信控制并获取数据采集设备中的传感器数据;The data acquisition module provides an external interface for receiving communication control, receives logic commands from external application programs, and implements communication control on the data acquisition device and acquires sensor data in the data acquisition device according to the logic commands;
采集程序控制模块,提供接受通信控制的外部接口,接收外部应用程序的逻辑命令,根据所述的逻辑命令,实现对数据采集模块的状态控制,包括对数据采集模块的开启控制和关闭控制。The acquisition program control module provides an external interface for receiving communication control, receives logic commands from external application programs, and implements state control of the data acquisition module according to the logic commands, including on-on and off control of the data acquisition module.
该可配置的数据采集软件系统中的数据采集设备描述信息包括,属性信息:描述包括设备名称、生产厂商、设备型号、设备全局编号在内的设备信息。The data collection device description information in the configurable data collection software system includes attribute information: describing device information including device name, manufacturer, device model, and device global serial number.
计算机接口信息:描述初始化计算机RS-232接口、RS-485接口、网络接口、GPIB接口、USB接口所需要的初始化信息。Computer interface information: describe the initialization information needed to initialize the computer's RS-232 interface, RS-485 interface, network interface, GPIB interface, and USB interface.
传感器信息:描述包括传感器名称、传感器数据单位、传感器全局编号、传感器相对编号在内的传感器属性信息。Sensor information: describe sensor attribute information including sensor name, sensor data unit, sensor global number, and sensor relative number.
该可配置的数据采集软件系统中的参数配置模块包括设备添加单元,实现添加一个或相同类型的多个数据采集设备的功能;The parameter configuration module in the configurable data acquisition software system includes a device adding unit to realize the function of adding one or multiple data acquisition devices of the same type;
设备删除单元,实现删除数据采集设备的功能;The device deletion unit realizes the function of deleting the data acquisition device;
设备查询单元,实现查询所有数据采集设备或与输入关键字匹配的数据采集设备的功能;The device query unit realizes the function of querying all data collection devices or data collection devices matching the input keywords;
设备修改单元,实现修改数据采集设备描述信息的功能;The device modification unit realizes the function of modifying the description information of the data acquisition device;
该可配置的数据采集软件系统,其特征在于,主控单元,根据数据采集设备描述信息加载其它单元,对整个模块进行初始化,提供接受外部应用程序的通信控制接口,接收外部应用程序的逻辑命令,并对所述的数据采集模块中的各个单元进行加载配置;The configurable data acquisition software system is characterized in that the main control unit loads other units according to the description information of the data acquisition equipment, initializes the entire module, provides a communication control interface for accepting external application programs, and receives logic commands of external application programs , and load and configure each unit in the data acquisition module;
计算机接口初始化单元,根数据采集设备描述信息,实现对计算机I/O接口的初始化,并提供操作相应计算机I/O接口的实例对象;The computer interface initialization unit is based on the description information of the data acquisition device, realizes the initialization of the computer I/O interface, and provides an instance object for operating the corresponding computer I/O interface;
数据采集单元,实现对数据采集设备的通信控制,并获取数据采集设备中的传感器数据;The data acquisition unit realizes the communication control to the data acquisition equipment, and obtains the sensor data in the data acquisition equipment;
描述信息读写单元,提供数据采集设备描述信息的读写功能,可以读取和修改数据采集设备描述信息中任何标签的值和属性;The description information reading and writing unit provides the reading and writing function of the description information of the data collection equipment, and can read and modify the value and attribute of any tag in the description information of the data collection equipment;
描述信息传输单元,提供数据采集设备描述信息的网络传输功能,能够把数据采集设备描述信息传输给外部应用程序。The description information transmission unit provides the network transmission function of the description information of the data collection equipment, and can transmit the description information of the data collection equipment to an external application program.
该可配置的数据采集软件系统中的采集程序控制模块采用系统服务的形式运行于操作系统中,能够设置开机自启动,具有时刻等待接收外部应用程序的逻辑命令,并控制采集模块的运行状态的功能。The acquisition program control module in the configurable data acquisition software system runs in the operating system in the form of a system service, can be set to start automatically when booting, has the ability to always wait to receive logic commands from external applications, and control the operating status of the acquisition module Function.
该可配置的数据采集软件模块中的数据采集单元是多个数据采集类的集合,每一个数据采集类对应一种型号相同的数据采集设备的采集程序,提供对该型号的数据采集设备的数据采集,所述的数据采集类的类名映射所述的数据采集设备描述信息中数据采集设备型号,每一个数据采集类提供一个供主控单元调用的外部接口,外部接口返回采集到的格式化数据,接口函数由以下三部分组成,发送命令部分、接收数据部分和解析数据部分;需要调用的数据采集类、需要获得的数据采集设备中传感器的数据,由接收的外部逻辑命令和配置信息中的数据采集设备描述信息决定。The data acquisition unit in the configurable data acquisition software module is a collection of multiple data acquisition classes, and each data acquisition class corresponds to an acquisition program of a data acquisition device of the same model, and provides data for the data acquisition device of the type Collection, the class name of the data collection class is mapped to the data collection device model in the data collection device description information, each data collection class provides an external interface for the main control unit to call, and the external interface returns the collected formatted Data, the interface function is composed of the following three parts, the sending command part, the receiving data part and the parsing data part; the data acquisition class that needs to be called, the data of the sensor in the data acquisition device that needs to be obtained, and the received external logic command and configuration information. Descriptive information of the data acquisition device is determined.
该可配置的数据采集软件系统采用可配置的数据采集软件开发方法开发实现,所述的可配置的数据采集软件开发方法,其主要特点包括以下几个步骤:The configurable data acquisition software system is developed and implemented by using a configurable data acquisition software development method. The configurable data acquisition software development method has the main features including the following steps:
(1)参数配置和存储;(1) Parameter configuration and storage;
(2)采集程序控制模块启动;(2) acquisition program control module starts;
(3)数据采集模块启动;(3) The data acquisition module starts;
(4)实现数据采集。(4) Realize data collection.
所述的参数配置用于完成软件系统的信息设置,包括实际需求所需的数据采集设备描述信息的参数设置和与外部应用程序通讯的网络通信参数设置,把设置信息以文件或数据库的形式进行存储;所述的采集程序控制模块启动是操作系统的一个服务进程,每次开机由主机自动启动,采集程序控制模块启动之后等待外部应用程序的逻辑命令来控制数据采集模块的运行状态;所述的采集模块启动是通过采集程序控制模块发送的控制命令,启动数据采集模块;所述的实现数据采集是根据接收的外部应用程序的逻辑命令,然后把所述的逻辑命令与配置信息中的数据采集设备描述信息进行比较、解析,主控单元再根据所述的逻辑命令调用数据采集单元采集数据采集设备中的传感参数数据,来完成数据采集功能。The parameter configuration is used to complete the information setting of the software system, including the parameter setting of the data acquisition device description information required by actual needs and the network communication parameter setting of communicating with the external application program, and the setting information is carried out in the form of a file or a database storage; the start of the acquisition program control module is a service process of the operating system, each boot is automatically started by the host, after the acquisition program control module starts, it waits for the logic command of the external application program to control the operating state of the data acquisition module; The start of the acquisition module is to start the data acquisition module through the control command sent by the acquisition program control module; the realization of data acquisition is based on the logic command of the external application program received, and then the logic command is combined with the data in the configuration information The description information of the collection device is compared and analyzed, and the main control unit calls the data collection unit to collect the sensing parameter data in the data collection device according to the logic command to complete the data collection function.
所述的可配置的数据采集软件设计方法对不同的数据采集软件系统具有通用性,适用于针对各种数据采集设备的数据采集软件系统。The configurable data acquisition software design method is universal to different data acquisition software systems, and is applicable to data acquisition software systems for various data acquisition devices.
所述的可配置的数据采集软件设计方法对不同的外部应用程序具有无关性,只需要具体的外部应用程序按照所述的可配置的数据采集软件系统提供的通信协议可实现对所述的可配置的数据采集软件系统进行通信控制和数据采集。The configurable data acquisition software design method has nothing to do with different external application programs, and only needs specific external application programs to implement the configurable data acquisition software system according to the communication protocol provided by the configurable data acquisition software system. Configured data acquisition software system for communication control and data acquisition.
所述的可配置的数据采集软件设计方法针对某类数据采集软件系统的开发可以通过参数配置满足所述数据采集软件系统的需求,在使用新型数据采集设备的情况下,除了采集模块中的采集单元添加一个类之外,无需编写其它软件代码,其它模块及系统架构保持不变。The configurable data acquisition software design method can meet the requirements of the data acquisition software system through parameter configuration for the development of certain types of data acquisition software systems. In the case of using new data acquisition equipment, in addition to the acquisition module in the acquisition In addition to adding a class to the unit, there is no need to write other software codes, and other modules and system architecture remain unchanged.
采用了该发明的可配置的数据采集软件系统及设计方法,由于其中在实际开发过程中能够根据用户的具体要求,通过修改配置参数来修改数据采集设备描述信息以实现该数据采集软件系统对不同数据采集设备的数据采集,针对不同的外部应用系统,只要按照该软件系统提供的通信协议进行开发,即可完成对该软件系统的通信控制并实现数据的采集,显著缩短了数据采集软件的开发周期,降低了软件的开发成本,提高了软件的可扩展性、可维护性和易操作性,对于可配置的数据采集软件技术的设计和开发具有促进作用。The configurable data acquisition software system and design method of the invention are adopted, because in the actual development process, according to the specific requirements of users, the description information of the data acquisition equipment can be modified by modifying the configuration parameters to realize that the data acquisition software system is compatible with different For the data acquisition of data acquisition equipment, for different external application systems, as long as it is developed according to the communication protocol provided by the software system, the communication control of the software system and data acquisition can be completed, which significantly shortens the development of data acquisition software It reduces the software development cost, improves the scalability, maintainability and ease of operation of the software, and promotes the design and development of configurable data acquisition software technology.
附图说明 Description of drawings
图1为本发明的可配置的数据采集软件系统的功能模块结构示意图。FIG. 1 is a schematic diagram of the functional module structure of the configurable data acquisition software system of the present invention.
图2为本发明的可配置的数据采集软件系统的整体逻辑架构示意图。FIG. 2 is a schematic diagram of the overall logical architecture of the configurable data acquisition software system of the present invention.
图3为本发明的实现可配置的数据采集软件设计方法的流程示意图。FIG. 3 is a schematic flowchart of a method for realizing configurable data acquisition software design according to the present invention.
图4本发明的可配置的数据采集软件系统的工作过程示意图。Fig. 4 is a schematic diagram of the working process of the configurable data acquisition software system of the present invention.
具体实施方式 Detailed ways
为了能够更清楚地理解本发明的技术内容,特举以下实施例详细说明。In order to understand the technical content of the present invention more clearly, the following examples are given in detail.
参照图1,该可配置的数据采集软件系统,包括参数配置模块、数据采集模块、采集程序控制模块。Referring to Fig. 1, the configurable data acquisition software system includes a parameter configuration module, a data acquisition module, and an acquisition program control module.
设备参数配置模块,开发者根据实际需求配置数据采集软件系统所使用的数据采集设备的描述信息,完成相应功能的定制,可以实现添加和删除数据采集设备以及更新数据采集设备描述信息的功能,实现对数据采集设备描述信息的存储;The device parameter configuration module, the developer configures the description information of the data acquisition device used by the data acquisition software system according to the actual needs, completes the customization of the corresponding functions, and can realize the functions of adding and deleting data acquisition devices and updating the description information of the data acquisition device, realizing Storage of description information for data collection equipment;
数据采集模块,提供接受通信控制的外部接口,接收外部应用程序的逻辑命令,根据所述的逻辑命令,实现对数据采集设备的通信控制并获取数据采集设备中的传感器数据;The data acquisition module provides an external interface for receiving communication control, receives logic commands from external application programs, and implements communication control on the data acquisition device and acquires sensor data in the data acquisition device according to the logic commands;
采集程序控制模块,提供接受通信控制的外部接口,接收外部应用程序的逻辑命令,根据所述的逻辑命令,实现对数据采集模块的状态控制,包括对数据采集模块的开启控制和关闭控制。The acquisition program control module provides an external interface for receiving communication control, receives logic commands from external application programs, and implements state control of the data acquisition module according to the logic commands, including on-on and off control of the data acquisition module.
该可配置的数据采集软件系统中的数据采集设备描述信息包括,属性信息:描述包括设备名称、生产厂商、设备型号、设备全局编号在内的设备信息。The data collection device description information in the configurable data collection software system includes attribute information: describing device information including device name, manufacturer, device model, and device global serial number.
计算机接口信息:描述初始化计算机RS-232接口、RS-485接口、网络接口、GPIB接口、USB接口所需要的初始化信息。Computer interface information: describe the initialization information needed to initialize the computer's RS-232 interface, RS-485 interface, network interface, GPIB interface, and USB interface.
传感器信息:描述包括传感器名称、传感器数据单位、传感器全局编号、传感器相对编号在内的传感器属性信息。Sensor information: describe sensor attribute information including sensor name, sensor data unit, sensor global number, and sensor relative number.
该可配置的数据采集软件系统中的设备参数配置模块包括设备添加单元,实现添加一个或相同类型的多个数据采集设备的功能;The device parameter configuration module in the configurable data acquisition software system includes a device adding unit to realize the function of adding one or multiple data acquisition devices of the same type;
设备删除单元,实现删除数据采集设备的功能;The device deletion unit realizes the function of deleting the data collection device;
设备查询单元,实现查询所有数据采集设备或与输入关键字匹配的数据采集设备的功能;The device query unit realizes the function of querying all data collection devices or data collection devices matching the input keywords;
设备修改单元,实现修改数据采集设备描述信息的功能;The device modification unit realizes the function of modifying the description information of the data acquisition device;
该可配置的数据采集软件系统,其特征在于,所述的数据采集模块包括,主控单元,根据数据采集设备描述信息加载其它单元,对整个模块进行初始化,提供接受外部应用程序的通信控制接口,接收外部应用程序的逻辑命令,并对所述的数据采集模块中的各个单元进行加载配置;The configurable data acquisition software system is characterized in that the data acquisition module includes a main control unit, which loads other units according to the description information of the data acquisition equipment, initializes the entire module, and provides a communication control interface for accepting external application programs , receiving a logic command from an external application program, and loading and configuring each unit in the data acquisition module;
计算机接口初始化单元,根数据采集设备描述信息,实现对计算机I/O接口的初始化,并提供操作相应计算机I/O接口的实例对象;The computer interface initialization unit is based on the description information of the data acquisition device, realizes the initialization of the computer I/O interface, and provides an instance object for operating the corresponding computer I/O interface;
数据采集单元,实现对数据采集设备的通信控制,并获取数据采集设备中的传感器数据;The data acquisition unit realizes the communication control to the data acquisition equipment, and obtains the sensor data in the data acquisition equipment;
描述信息读写单元,提供数据采集设备描述信息的读写功能,可以读取和修改数据采集设备描述信息中任何标签的值和属性;The description information reading and writing unit provides the reading and writing function of the description information of the data collection equipment, and can read and modify the value and attribute of any tag in the description information of the data collection equipment;
描述信息传输单元,提供数据采集设备描述信息的网络传输功能,能够把数据采集设备描述信息传输给外部应用程序。The description information transmission unit provides the network transmission function of the description information of the data collection equipment, and can transmit the description information of the data collection equipment to an external application program.
该可配置的数据采集软件系统中的采集程序控制模块采用系统服务的形式运行于操作系统中,能够设置开机自启动,具有时刻等待接收外部应用程序的逻辑命令,并控制采集模块的运行状态的功能。The acquisition program control module in the configurable data acquisition software system runs in the operating system in the form of a system service, can be set to start automatically when booting, has the ability to always wait to receive logic commands from external applications, and control the operating status of the acquisition module Function.
该可配置的数据采集软件模块中的数据采集单元是多个数据采集类的集合,每一个数据采集类代表一种型号相同的数据采集设备的采集程序,提供对该型号的数据采集设备的数据采集,所述的数据采集类的类名映射所述的数据采集设备描述信息中数据采集设备型号,每一个数据采集类提供一个供主控单元调用的外部接口,外部接口返回采集到的格式化数据,接口函数由以下三部分组成,发送命令部分、接收数据部分和解析数据部分;需要调用的数据采集类、需要获得的数据采集设备中传感器的数据,由接收的外部逻辑命令和配置文件中的数据采集设备描述信息决定。The data acquisition unit in the configurable data acquisition software module is a collection of multiple data acquisition classes, each data acquisition class represents an acquisition program for a data acquisition device of the same type, and provides data for the data acquisition device of this type Collection, the class name of the data collection class is mapped to the data collection device model in the data collection device description information, each data collection class provides an external interface for the main control unit to call, and the external interface returns the collected formatted Data, the interface function is composed of the following three parts, the sending command part, the receiving data part and the parsing data part; the data acquisition class that needs to be called, the data of the sensor in the data acquisition device that needs to be obtained, and the received external logic command and configuration file Descriptive information of the data acquisition device is determined.
再请参阅图2和图3所示,该基于上述的软件系统实现可配置的数据采集软件设计方法,其中包括以下步骤:Please refer again to Fig. 2 and shown in Fig. 3, this realizes the configurable data acquisition software design method based on above-mentioned software system, comprises the following steps:
(1)参数配置和存储;(1) Parameter configuration and storage;
(2)采集程序控制模块启动;(2) acquisition program control module starts;
(3)数据采集模块启动;(3) The data acquisition module starts;
(4)实现数据采集。(4) Realize data collection.
所述的参数配置用于完成软件系统的信息设置,包括实际需求所需的数据采集设备描述信息的参数设置和与外部应用程序通信的网络通信参数设置,把设置信息以文件或数据库的形式进行存储;所述的采集程序控制模块启动是操作系统的一个服务进程,每次开机由主机自动启动,采集程序控制模块启动之后等待外部应用程序的逻辑命令来控制数据采集模块的运行状态;所述的采集模块启动是通过采集程序控制模块发送的控制命令,启动数据采集模块;所述的实现数据采集是根据接收的外部应用程序的逻辑命令,然后把所述的逻辑命令与配置文件中的数据采集设备描述信息进行比较、解析,主控单元再根据所述的逻辑命令调用数据采集单元采集数据采集设备中的传感器数据,来完成数据采集的功能。The parameter configuration is used to complete the information setting of the software system, including the parameter setting of the data acquisition device description information required by actual needs and the network communication parameter setting of communicating with the external application program, and the setting information is carried out in the form of a file or a database storage; the start of the acquisition program control module is a service process of the operating system, each boot is automatically started by the host, after the acquisition program control module starts, it waits for the logic command of the external application program to control the operating state of the data acquisition module; The start of the acquisition module is to start the data acquisition module by the control command sent by the acquisition program control module; the realization of the data acquisition is based on the logic command of the external application program received, and then the logic command is combined with the data in the configuration file The collection device description information is compared and analyzed, and the main control unit calls the data collection unit to collect sensor data in the data collection device according to the logic command to complete the data collection function.
所述的可配置的数据采集软件设计方法对不同的数据采集软件系统具有通用性,适用于针对各种数据采集设备的数据采集。The configurable data acquisition software design method is universal to different data acquisition software systems, and is suitable for data acquisition of various data acquisition devices.
所述的可配置的数据采集软件设计方法对不同的外部应用程序具有无关性,只需要具体的外部应用程序按照所述的可配置的数据采集软件系统提供的通信协议可实现对所述的可配置的数据采集软件系统进行通信控制和数据采集。The configurable data acquisition software design method has nothing to do with different external application programs, and only needs specific external application programs to implement the configurable data acquisition software system according to the communication protocol provided by the configurable data acquisition software system. Configured data acquisition software system for communication control and data acquisition.
所述的可配置的数据采集软件设计方法针对某类数据采集软件系统的开发可以通过参数配置满足所述数据采集软件系统的需求,在使用新型数据采集设备的情况下,除了采集模块中的采集单元添加一个类之外,无需编写其它软件代码,其它模块及系统架构保持不变。The configurable data acquisition software design method can meet the requirements of the data acquisition software system through parameter configuration for the development of certain types of data acquisition software systems. In the case of using new data acquisition equipment, in addition to the acquisition module in the acquisition In addition to adding a class to the unit, there is no need to write other software codes, and other modules and system architecture remain unchanged.
最后请参阅图4所示,根据基于上述的软件系统实现可配置的数据采集软件设计方法设计开发的数据采集软件通过计算机接口与数据采集设备相连,实现对采集对象的数据采集,然后再通过网络通信将数据传送给外部应用程序。Finally please refer to Fig. 4, the data acquisition software designed and developed according to the software system based on the above-mentioned configurable data acquisition software design method is connected with the data acquisition equipment through the computer interface to realize the data acquisition of the acquisition object, and then through the network Communication transfers data to external applications.
采用了该发明的可配置的数据采集软件系统及设计方法,由于其中在实际开发过程中能够根据用户的具体要求,通过修改配置参数来修改数据采集设备描述信息以实现该数据采集软件系统对不同数据采集设备的数据采集,针对不同的外部应用系统,只要按照该软件系统提供的通信协议进行开发,即可完成对该软件系统的通信控制并实现数据的采集,显著缩短了数据采集软件的开发周期,降低了软件的开发成本,提高了软件的可扩展性、可维护性和易操作性,对于可配置的数据采集软件技术的设计和开发具有促进作用。The configurable data acquisition software system and design method of the invention are adopted, because in the actual development process, according to the specific requirements of users, the description information of the data acquisition equipment can be modified by modifying the configuration parameters to realize that the data acquisition software system is compatible with different For the data acquisition of data acquisition equipment, for different external application systems, as long as it is developed according to the communication protocol provided by the software system, the communication control of the software system and data acquisition can be completed, which significantly shortens the development of data acquisition software It reduces the software development cost, improves the scalability, maintainability and ease of operation of the software, and promotes the design and development of configurable data acquisition software technology.
在此说明书中,本发明已参照其特定的实施例作了描述。但是,很明显仍可以做出各种修改和变换而不背离本发明的精神和范围。因此,说明书和附图应被认为是说明性的而非限制性的。In this specification, the invention has been described with reference to specific embodiments thereof. However, it is obvious that various modifications and changes can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110249398.9A CN102270141B (en) | 2011-08-21 | 2011-08-21 | Configurable data acquisition software system and designing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110249398.9A CN102270141B (en) | 2011-08-21 | 2011-08-21 | Configurable data acquisition software system and designing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102270141A CN102270141A (en) | 2011-12-07 |
CN102270141B true CN102270141B (en) | 2015-02-18 |
Family
ID=45052452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110249398.9A Active CN102270141B (en) | 2011-08-21 | 2011-08-21 | Configurable data acquisition software system and designing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102270141B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103198165B (en) * | 2012-01-05 | 2016-01-13 | 北京泛华恒兴科技有限公司 | Based on collecting method and the data collector of flexible test technology |
CN102929620B (en) * | 2012-10-19 | 2016-05-25 | 杭州信雅达科技有限公司 | A kind of Flexible Measurement & Control plateform system and development approach |
CN103399881A (en) * | 2013-07-16 | 2013-11-20 | 沈阳中科博微自动化技术有限公司 | Rapid collecting and distributing method of real-time data for integrated circuit production equipment |
CN103546806B (en) * | 2013-10-16 | 2017-04-05 | 小米科技有限责任公司 | A kind of generation method and device of feature list |
CN105743676B (en) * | 2014-12-10 | 2019-02-15 | 北京神州泰岳软件股份有限公司 | A kind of multi-data source synthetical collection device and method |
CN105807730B (en) * | 2014-12-31 | 2019-10-29 | 研祥智能科技股份有限公司 | A kind of digital equipment industrial control method, apparatus and system |
CN105138420A (en) * | 2015-07-31 | 2015-12-09 | 小米科技有限责任公司 | Data backup method, apparatus and system and data recovery method, apparatus and system |
CN106648912B (en) * | 2015-10-30 | 2020-11-03 | 北京国双科技有限公司 | Modularization method and device for data processing in data acquisition platform |
WO2017107159A1 (en) * | 2015-12-25 | 2017-06-29 | 研祥智能科技股份有限公司 | Industrial control method, device, and system for digital equipment |
CN105549437B (en) * | 2015-12-25 | 2018-08-17 | 大连陆海科技股份有限公司 | Ship data acquisition equipment and method |
CN106094578A (en) * | 2016-06-02 | 2016-11-09 | 黄健松 | A kind of method and apparatus processing collection data |
CN110235137A (en) * | 2017-02-24 | 2019-09-13 | 欧姆龙株式会社 | Learning data obtains device and method, program and storage medium |
CN107241385B (en) * | 2017-05-05 | 2021-04-30 | 深圳市汇川技术股份有限公司 | Internet of things data acquisition system and method |
CN111125226B (en) * | 2019-12-24 | 2024-01-30 | 中国建设银行股份有限公司 | Configuration data acquisition method and device |
CN111506392A (en) * | 2020-04-06 | 2020-08-07 | 江苏卓正环保科技有限公司 | Automatic analysis method for pollution source data acquisition |
CN112502909B (en) * | 2020-11-26 | 2023-09-08 | 中车永济电机有限公司 | Wind driven generator fault detection method, data acquisition device, server and system |
CN113434484A (en) * | 2021-06-29 | 2021-09-24 | 青岛海尔科技有限公司 | Method, system, device and electronic device for describing functions of equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833452A (en) * | 2010-04-30 | 2010-09-15 | 中国海洋大学 | Monitor software design method based on sensor |
-
2011
- 2011-08-21 CN CN201110249398.9A patent/CN102270141B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833452A (en) * | 2010-04-30 | 2010-09-15 | 中国海洋大学 | Monitor software design method based on sensor |
Non-Patent Citations (2)
Title |
---|
传感设备模块接口标准化及可重用数据采集中间件设计;陈朋朋等;《计算机研究与发展》;20101231;第288-292页 * |
可配置的智能仪表数据采集系统设计与实现;潘洪华;《中国优秀硕士学位论文全文数据库》;20090315;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN102270141A (en) | 2011-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102270141B (en) | Configurable data acquisition software system and designing method | |
US9823907B2 (en) | Extensible device object model | |
JP6676126B2 (en) | Computer system, programming method and non-transitory computer readable medium | |
CN111984270B (en) | Application deployment method and system | |
CN111984269B (en) | Method for providing application construction service and application construction platform | |
CN101963910A (en) | General USB (Universal Serial Bus) based equipment firmware updating method | |
US20120047239A1 (en) | System and Method for Installation and Management of Cloud-Independent Multi-Tenant Applications | |
CN105793829A (en) | Integrated component interconnect | |
EP2997463B1 (en) | Extraction of operating system-specific characteristics via a communication interface | |
CN106155749A (en) | A kind of monitoring plug-in extension method and device | |
US9886287B2 (en) | Adaptive device driver method and system | |
CN102346456B (en) | Programmable intelligent terminal device and programmable intelligent terminal operation method | |
CN113886731A (en) | Method for routing page jump based on iOS platform and application | |
CN104040517B (en) | A kind of hard-disk system operating method, storage system and processor | |
CN103501341A (en) | Method and device for establishing Web service | |
WO2011035659A1 (en) | Method and apparatus for secondary development of function mobile phone | |
CN109976744A (en) | A visual programming method, system and terminal device | |
CN109165174A (en) | A kind of hardware information acquisition method, system and electronic equipment and storage medium | |
CN107222527A (en) | It is a kind of that the method that internet of things equipment merotype is run is controlled by configuration file | |
CN202083931U (en) | Programmable intelligent terminal device | |
CN114077575B (en) | Format conversion method, equipment and system for memory snapshot file | |
CN111651382A (en) | Parallelization storage implementation method of data acquisition system based on local bus | |
CN115469630A (en) | In-vehicle electric inspection method, device, electronic equipment and storage medium | |
Wu et al. | Design an OSGi extension service for mobile RFID applications | |
CN102436386A (en) | Software upgrading method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |