CN114390375A - Intelligent data acquisition system and method based on programmable technology - Google Patents

Intelligent data acquisition system and method based on programmable technology Download PDF

Info

Publication number
CN114390375A
CN114390375A CN202210291971.0A CN202210291971A CN114390375A CN 114390375 A CN114390375 A CN 114390375A CN 202210291971 A CN202210291971 A CN 202210291971A CN 114390375 A CN114390375 A CN 114390375A
Authority
CN
China
Prior art keywords
data
acquisition
module
equipment
analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210291971.0A
Other languages
Chinese (zh)
Inventor
魏成行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Second Construction Co Ltd of China Construction Eighth Engineering Division Co Ltd
Original Assignee
Second Construction Co Ltd of China Construction Eighth Engineering Division Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Second Construction Co Ltd of China Construction Eighth Engineering Division Co Ltd filed Critical Second Construction Co Ltd of China Construction Eighth Engineering Division Co Ltd
Priority to CN202210291971.0A priority Critical patent/CN114390375A/en
Publication of CN114390375A publication Critical patent/CN114390375A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the technical field of intelligent park equipment management and control platforms, and particularly relates to an intelligent data acquisition system and method based on a programmable technology, wherein the data acquisition system comprises a state word management module, a state processing definition module, a transmission address programming module, an acquisition mode programming module, a data analysis driving management module, a data analysis driving programming module, a data format packaging programming module, a data acquisition and analysis module and a data storage module; compared with the prior art, the invention applies the programmable technology to process the difficult problem that various data acquisition interfaces acquire data in various formats, has the characteristics of flexibility and expandability, can meet the requirements of acquisition and analysis of various intelligent equipment data, and has the advantage of strong adaptability.

Description

Intelligent data acquisition system and method based on programmable technology
Technical Field
The invention belongs to the technical field of intelligent park equipment management and control platforms, and particularly relates to an intelligent data acquisition system and method based on a programmable technology.
Background
The conventional data acquisition system can realize the data acquisition function of an MODBUS protocol through a serial port, but when the data of various formats is acquired through various data acquisition interfaces, the data acquisition function of various formats cannot be realized through one device, so that the adaptability of the data acquisition device is poor.
Disclosure of Invention
Aiming at the problem of poor adaptability of the existing data acquisition equipment, the invention provides an intelligent data acquisition system and method based on a programmable technology.
In order to achieve the purpose, the invention adopts the technical scheme that: an intelligent data acquisition system based on programmable technology comprises a state word management module, a state processing definition module, a transmission address programming module, an acquisition mode programming module, a data analysis driving management module, a data analysis driving programming module, a data format packing programming module, a data acquisition and analysis module and a data storage module;
the state word management module defines various states of equipment encountered by the system in the data acquisition process and can send equipment state information to the state processing definition module; the equipment comprises acquisition equipment and a server for receiving data transmitted by the acquisition equipment;
the state processing definition module receives the equipment state information sent by the state word management module and defines corresponding operation aiming at the state of each equipment;
the transmission address programming module is used for programming the address and the port of the server for receiving the data transmitted by the acquisition equipment;
the acquisition mode programming module is used for programming the acquisition mode of the acquisition equipment;
the data analysis driving programming module comprises instruction programming for acquiring data by using acquisition equipment and instruction programming for analyzing the acquired data;
the data packaging format programming module is used for programming a data packaging format;
the data storage module is configured to store data before and after analysis;
the data analysis drive management module comprises a plurality of different data analysis drives; each data analysis driver comprises a transmission address, an acquisition mode, a data acquisition instruction, a data analysis instruction and a data packaging format;
the data acquisition and analysis module calls a corresponding data analysis driver from the data analysis driver management module, sends a data acquisition instruction to acquisition equipment, analyzes acquired data, packages the analyzed data and sends the packaged data to a server.
Preferably, the multiple states of the device include that the device is offline, the device is connected, the terminal is overtime, and no data is returned from the device.
Preferably, the operations defined by the state processing definition module include: if the equipment has no data return, is offline or is overtime, a message is sent to a relevant manager to remind the manager to process the equipment; after the acquisition equipment is connected with the server, judging whether the acquisition equipment and the server are in first data transmission; if the acquisition equipment and the server transmit data for the first time, data analysis driving is newly built and stored in the data analysis driving management module, and then the data acquisition and analysis module calls the newly built data analysis driving in the data analysis driving management module; if the acquisition equipment and the server do not transmit data for the first time, the data acquisition and analysis module directly calls the existing data analysis driver in the data analysis driver management module in the next step.
Preferably, the acquisition mode of the acquisition equipment comprises serial port acquisition, network port acquisition, USB port acquisition and WIFI acquisition.
An intelligent data acquisition method based on the programmable technology based intelligent data acquisition system,
starting a state word management module, and sending the states of acquisition equipment and a server to a state processing definition module;
step two, starting a state processing definition module, and performing subsequent steps if the acquisition equipment is connected with the server; if the acquisition equipment is not connected with the server, reminding a manager to process the equipment until the acquisition equipment is connected with the server;
after the acquisition equipment is connected with the server, the state processing definition module firstly judges whether data transmission between the acquisition equipment and the server is the first time;
if the data is the first time, a new data analysis driver is established, and then the new data analysis driver is stored in the data analysis driver management module; then the data acquisition and analysis module calls a corresponding data analysis drive to complete data acquisition;
if not, the data acquisition and analysis module directly calls the corresponding data analysis drive.
Preferably, the process of establishing the new data analysis driver is as follows: and programming the transmission address, the acquisition mode, the data acquisition instruction, the data analysis instruction and the data packaging format.
Preferably, the delivery address is a server IP address, and is provided to the programmer by a server administrator.
Preferably, the collection mode is provided to a programmer by a collection device manager.
Compared with the prior art, the intelligent data acquisition system and method based on the programmable technology have the advantages and positive effects that:
(1) the system applies the programmable technology to solve the problem that a plurality of data acquisition interfaces acquire data in a plurality of formats, has the characteristics of flexibility and expandability, can meet the requirements of acquisition and analysis of data of various intelligent devices, and has the advantage of strong adaptability;
(2) the method comprises the steps of customizing various states of equipment encountered by a system in a data acquisition process and operations performed aiming at the states of each equipment;
(3) configuring a transmission address, a data acquisition mode and a data acquisition instruction in a programming mode, and carrying out data analysis and data packaging;
(4) the data acquisition function of actively uploading the special binary data to the equipment is flexibly realized;
(5) the data acquisition function under various acquisition modes such as serial port acquisition, internet access acquisition, USB port acquisition and WIFI acquisition is realized flexibly.
Drawings
In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings used in the description of the embodiment will be briefly introduced below, fig. 1 is a schematic diagram of an intelligent data acquisition method based on programmable technology provided in embodiment 1,
FIG. 2 is a schematic diagram of an intelligent data acquisition system based on programmable technology provided in embodiment 1,
figure 3 is a sequence diagram of the operation of the data acquisition system in the first time to acquire whether data transmission between the device and the server is first,
figure 4 is a schematic content diagram of instruction programming for parsing acquired data,
FIG. 5 is a diagram illustrating programming content for packing parsed data.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be further described with reference to the accompanying drawings and examples.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and thus the present invention is not limited to the specific embodiments of the present disclosure.
Example 1
The invention is further described with reference to fig. 1-5, and the technical solution adopted by the invention to solve the technical problem is as follows:
an intelligent data acquisition system based on programmable technology is shown in fig. 2 and comprises a state word management module, a state processing definition module, a transmission address programming module, an acquisition mode programming module, a data analysis driving management module, a data analysis driving programming module, a data format packing programming module, a data acquisition and analysis module and a data storage module.
The state word management module defines various states of the equipment encountered by the system in the data acquisition process and can send equipment state information to the state processing definition module; the device comprises a collecting device and a server for receiving the data transmitted by the collecting device.
And the state processing definition module receives the equipment state information sent by the state word management module and defines corresponding operation aiming at the state of each equipment.
The delivery address programming module programs the server address and port that receives the data delivered by the acquisition device.
The acquisition mode programming module is used for programming the acquisition mode of the acquisition equipment.
The data analysis driving programming module comprises instruction programming for acquiring data by using the acquisition equipment and instruction programming for analyzing the acquired data.
The data packaging format programming module is used for programming the data packaging format.
The data storage module is configured to store data before and after parsing.
The data analysis drive management module comprises a plurality of different data analysis drives; each data analysis driver comprises a transmission address, an acquisition mode, a data acquisition instruction, a data analysis instruction and a data packaging format.
The data acquisition and analysis module calls a corresponding data analysis driver from the data analysis driver management module, sends a data acquisition instruction to the acquisition equipment, analyzes the acquired data, packages the analyzed data and sends the packaged data to the server.
The multiple states of the device include the device being offline, the device being connected, the terminal being timed out, and no data being returned by the device.
The operations defined by the state processing definition module include:
(1) if the equipment has no data return, is offline or is overtime, a message is sent to a relevant manager to remind the manager to process the equipment;
(2) after the acquisition equipment is connected with the server, judging whether the acquisition equipment and the server are in first data transmission; if the acquisition equipment and the server transmit data for the first time, data analysis driving is newly built and stored in the data analysis driving management module, and then the data acquisition and analysis module calls the newly built data analysis driving in the data analysis driving management module; if the acquisition equipment and the server do not transmit data for the first time, the data acquisition and analysis module directly calls the existing data analysis driver in the data analysis driver management module in the next step.
The acquisition mode of the acquisition equipment comprises serial port acquisition, network port acquisition, USB port acquisition and WIFI acquisition.
An intelligent data acquisition method based on the programmable technology based on the above intelligent data acquisition system based on the programmable technology is shown in fig. 1:
starting a state word management module, and sending the states of acquisition equipment and a server to a state processing definition module;
step two, starting a state processing definition module, and performing subsequent steps if the acquisition equipment is connected with the server; if the acquisition equipment is not connected with the server, reminding a manager to process the equipment until the acquisition equipment is connected with the server;
after the acquisition equipment is connected with the server, the state processing definition module firstly judges whether data transmission between the acquisition equipment and the server is the first time;
if the data is the first time, a new data analysis driver is established, and then the new data analysis driver is stored in the data analysis driver management module; then, the data acquisition and analysis module calls a corresponding data analysis driver to complete data acquisition, as shown in fig. 3;
if the data is not the first time, the data acquisition and analysis module directly calls the corresponding data analysis drive to complete the data acquisition, as shown in fig. 1.
As shown in fig. 1, 3, 4 and 5, the process of establishing a new data parsing driver is: and programming the transmission address, the acquisition mode, the data acquisition instruction, the data analysis instruction and the data packaging format. In fig. 4 and 5 temlen is shorthand for temporary length.
The delivery address is a server IP address provided by the server administrator to the programmer.
The collection mode is provided to a programmer by a collection device manager.
By the intelligent data acquisition method based on the programmable technology, the data acquisition function of the special binary data uploading server can be flexibly realized.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in other forms, and any person skilled in the art may apply the above-mentioned technical details to other fields by using the equivalent embodiments with equivalent changes or modifications, but any simple modification and equivalent changes made to the above embodiments according to the technical spirit of the present invention may still fall within the protection scope of the technical solution of the present invention.

Claims (8)

1. An intelligent data acquisition system based on programmable technology is characterized by comprising a state word management module, a state processing definition module, a transmission address programming module, an acquisition mode programming module, a data analysis driving management module, a data analysis driving programming module, a data format packing programming module, a data acquisition and analysis module and a data storage module;
the state word management module defines various states of equipment encountered by the system in the data acquisition process and can send equipment state information to the state processing definition module; the equipment comprises acquisition equipment and a server for receiving data transmitted by the acquisition equipment;
the state processing definition module receives the equipment state information sent by the state word management module and defines corresponding operation aiming at the state of each equipment;
the transmission address programming module is used for programming the address and the port of the server for receiving the data transmitted by the acquisition equipment;
the acquisition mode programming module is used for programming the acquisition mode of the acquisition equipment;
the data analysis driving programming module comprises instruction programming for acquiring data by using acquisition equipment and instruction programming for analyzing the acquired data;
the data packaging format programming module is used for programming a data packaging format;
the data storage module is configured to store data before and after analysis;
the data analysis drive management module comprises a plurality of different data analysis drives; each data analysis driver comprises a transmission address, an acquisition mode, a data acquisition instruction, a data analysis instruction and a data packaging format;
the data acquisition and analysis module calls a corresponding data analysis driver from the data analysis driver management module, sends a data acquisition instruction to acquisition equipment, analyzes acquired data, packages the analyzed data and sends the packaged data to a server.
2. The intelligent data acquisition system based on programmable technology as claimed in claim 1, wherein the multiple states of the device include device offline, device connected, terminal timeout, no data return from the device.
3. The intelligent programmable-technology-based data acquisition system according to claim 2, wherein the operations defined by the state-process definition module include:
if the equipment has no data return, is offline or is overtime, a message is sent to a relevant manager to remind the manager to process the equipment;
after the acquisition equipment is connected with the server, judging whether the acquisition equipment and the server are in first data transmission; if the acquisition equipment and the server are used for data transmission for the first time, a data analysis driver is newly built and stored in a data analysis driver management module, and then the data acquisition and analysis module calls the newly built data analysis driver in the data analysis driver management module; if the acquisition equipment and the server do not transmit data for the first time, the data acquisition and analysis module directly calls the existing data analysis driver in the data analysis driver management module in the next step.
4. The intelligent data acquisition system based on programmable technology as claimed in claim 3, wherein the acquisition device acquires data in serial port, internet port, USB port and WIFI.
5. An intelligent data acquisition method based on programmable technology based on intelligent data acquisition system based on programmable technology as claimed in claim 4,
starting a state word management module, and sending the states of acquisition equipment and a server to a state processing definition module;
step two, starting a state processing definition module, and performing subsequent steps if the acquisition equipment is connected with the server; if the acquisition equipment is not connected with the server, reminding a manager to process the equipment until the acquisition equipment is connected with the server;
after the acquisition equipment is connected with the server, the state processing definition module firstly judges whether data transmission between the acquisition equipment and the server is the first time;
if the data is the first time, a new data analysis driver is established, and then the new data analysis driver is stored in the data analysis driver management module; then the data acquisition and analysis module calls a corresponding data analysis drive to complete data acquisition;
if not, the data acquisition and analysis module directly calls the corresponding data analysis drive to complete the data acquisition.
6. The intelligent data acquisition method based on programmable technology as claimed in claim 5, wherein the process of establishing the new data analysis drive is as follows: and programming the transmission address, the acquisition mode, the data acquisition instruction, the data analysis instruction and the data packaging format.
7. The intelligent data acquisition method based on programmable technology as claimed in claim 6, wherein the transmission address is a server IP address, and is provided to a programmer by a server manager.
8. An intelligent programmable-technology-based data acquisition method according to claim 6, wherein the acquisition mode is provided to a programmer by an acquisition-equipment manager.
CN202210291971.0A 2022-03-24 2022-03-24 Intelligent data acquisition system and method based on programmable technology Pending CN114390375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210291971.0A CN114390375A (en) 2022-03-24 2022-03-24 Intelligent data acquisition system and method based on programmable technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210291971.0A CN114390375A (en) 2022-03-24 2022-03-24 Intelligent data acquisition system and method based on programmable technology

Publications (1)

Publication Number Publication Date
CN114390375A true CN114390375A (en) 2022-04-22

Family

ID=81205957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210291971.0A Pending CN114390375A (en) 2022-03-24 2022-03-24 Intelligent data acquisition system and method based on programmable technology

Country Status (1)

Country Link
CN (1) CN114390375A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108615348A (en) * 2018-07-26 2018-10-02 中建八局第二建设有限公司 A kind of data concentrator and collecting method based on WSN wireless sensor technologies
CN108810126A (en) * 2018-06-04 2018-11-13 中建八局第二建设有限公司 A kind of open type data acquisition system
CN108965385A (en) * 2018-06-06 2018-12-07 中建八局第二建设有限公司 A kind of wireless data acquisition system and acquisition method based on WSN
US10311076B1 (en) * 2016-10-26 2019-06-04 Open Invention Network, Llc Automated file acquisition, identification, extraction and transformation
CN111132060A (en) * 2019-12-16 2020-05-08 中建八局第二建设有限公司 Internet of things-based hardware automatic test tool and test method
CN111596974A (en) * 2020-04-24 2020-08-28 中建八局第二建设有限公司 Intelligent acquisition system and method based on finite-state machine algorithm

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10311076B1 (en) * 2016-10-26 2019-06-04 Open Invention Network, Llc Automated file acquisition, identification, extraction and transformation
CN108810126A (en) * 2018-06-04 2018-11-13 中建八局第二建设有限公司 A kind of open type data acquisition system
CN108965385A (en) * 2018-06-06 2018-12-07 中建八局第二建设有限公司 A kind of wireless data acquisition system and acquisition method based on WSN
CN108615348A (en) * 2018-07-26 2018-10-02 中建八局第二建设有限公司 A kind of data concentrator and collecting method based on WSN wireless sensor technologies
CN111132060A (en) * 2019-12-16 2020-05-08 中建八局第二建设有限公司 Internet of things-based hardware automatic test tool and test method
CN111596974A (en) * 2020-04-24 2020-08-28 中建八局第二建设有限公司 Intelligent acquisition system and method based on finite-state machine algorithm

Similar Documents

Publication Publication Date Title
CN102780613A (en) Method and device for communication of boards of distributed device
CN108833565A (en) A kind of method, apparatus of monitoring server, server and storage medium
CN109547162B (en) Data communication method based on two sets of one-way boundaries
CN113452667A (en) Edge Internet of things terminal access method suitable for multiple protocol types
CN101964923A (en) Configuration system and method for interactive commands
CN1068480C (en) radio communication system
CN101739575A (en) Data processing method for multi-hardware equipment centralized management in radio frequency identification system
CN110932393B (en) Substation information protection master station system and data initialization method thereof
CN114390375A (en) Intelligent data acquisition system and method based on programmable technology
CN109039427B (en) Ship monitoring management device
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN114338270B (en) Data communication method, device, electronic equipment and storage medium
CN115361263A (en) AT command processing system and method based on embedded system
CN114722099A (en) Method and equipment for transmitting and storing working condition data of engineering machinery
CN109814871B (en) Node management method and system based on DDS bus
CN100492982C (en) A network equipment driving system and method for implementing message management
CN105681892A (en) Differential data transmission method, device and system
CN115174552B (en) Local area network communication and file transmission method and system based on WEB operating system
CN1293712C (en) Transmission method of control message in monitoring system
CN114827188B (en) Platform equipment management method, system, terminal and storage medium
CN100403688C (en) Business data packet tracing realizing method
CN2450713Y (en) Monitoring module in RS-485 bus type monitoring system
CN102075452B (en) Method, device and system for transmitting information
CN112448952B (en) Method and device for remotely receiving and storing intelligent equipment parameters
CN112291357B (en) Virtual multi-channel intelligent data communication processing system and computing platform thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220422

RJ01 Rejection of invention patent application after publication