CN112487271A - Data acquisition method, system, equipment and medium - Google Patents

Data acquisition method, system, equipment and medium Download PDF

Info

Publication number
CN112487271A
CN112487271A CN202011341713.6A CN202011341713A CN112487271A CN 112487271 A CN112487271 A CN 112487271A CN 202011341713 A CN202011341713 A CN 202011341713A CN 112487271 A CN112487271 A CN 112487271A
Authority
CN
China
Prior art keywords
data
configuration information
access service
service configuration
equipment
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
CN202011341713.6A
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.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software 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 Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN202011341713.6A priority Critical patent/CN112487271A/en
Publication of CN112487271A publication Critical patent/CN112487271A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method, a system, equipment and a storage medium for data acquisition, wherein the method comprises the following steps: setting equipment access service configuration information, and packaging the equipment access service configuration information; generating a query message according to the equipment identification, the function code, the register address and the value type in the equipment access service configuration information, and embedding the query message into a data frame to form a data request; sending a data request to a target object according to the equipment address and the equipment port in the equipment access service configuration information; and receiving and analyzing a response message returned by the target object, and storing data in the response message into a database. According to the method and the device, the equipment access service configuration information is set, automatic data query is achieved, the Modbus query messages with similar register addresses are combined, the number of concurrent requests and the occupied request bandwidth are reduced, and the communication efficiency is improved.

Description

Data acquisition method, system, equipment and medium
Technical Field
The present invention relates to the field of data acquisition, and more particularly, to a method, a system, a computer device, and a readable medium for data acquisition.
Background
Currently, global manufacturing is in a deep revolution, and intelligent manufacturing is an important development target no matter the industry 4.0 project proposed in germany, the united states industry internet alliance, or china manufacturing 2025. Intelligent manufacturing transformation is a necessary trend in industrial development and is also an important direction for future development of manufacturing industry.
Traditional manufacturing enterprises face a number of problems in the intelligent manufacturing transformation and upgrade process. Firstly, workshop equipment has multiple types and complex working conditions, and the situations that multiple field bus standards compete with each other and are incompatible exist, so that the problem of networking among industrial controllers with different communication protocols must be solved to realize the access of equipment of various models of various manufacturers; secondly, the existing equipment access service is complex in operation, cannot meet the access requirements of a large number of equipment with different models, and is high in implementation, operation and maintenance cost.
The field device is accessed to an industrial network, collects and stores device data in real time, realizes unified management of the device data, and is the basis of application technologies such as device running state monitoring, life cycle management, predictive maintenance and the like. In the prior art, the data acquisition equipment is complex in operation and various in standard.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data acquisition method, a data acquisition system, a computer device, and a computer readable storage medium, which implement automatic data query by setting device access service configuration information, effectively reduce difficulty in data acquisition, and greatly reduce time spent, and merge Modbus query messages with similar register addresses, thereby reducing the number of concurrent requests and request bandwidth occupation, and improving communication efficiency.
Based on the above object, an aspect of the embodiments of the present invention provides a data acquisition method, including the following steps: setting equipment access service configuration information, and packaging the equipment access service configuration information; generating a query message according to the equipment identification, the function code, the register address and the value type in the equipment access service configuration information, and embedding the query message into a data frame to form a data request; sending the data request to a target object according to the equipment address and the equipment port in the equipment access service configuration information; and receiving and analyzing a response message returned by the target object, and storing data in the response message into a database.
In some embodiments, said embedding said query message into a data frame to form a data request comprises: and merging the query messages with the difference of the register addresses smaller than a preset range.
In some embodiments, sending the data request to the target object comprises: and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
In some embodiments, the saving the data in the response message to a database includes: and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database.
In another aspect of the embodiments of the present invention, there is also provided a data acquisition system, including: the encapsulation module is configured to set equipment access service configuration information and encapsulate the equipment access service configuration information; the query module is configured to generate a query message according to the device identifier, the function code, the register address and the value type in the device access service configuration information, and embed the query message into a data frame to form a data request; a sending module configured to send the data request to a target object according to the device address and the device port in the device access service configuration information; and the receiving module is configured to receive and analyze a response message returned by the target object, and store data in the response message in a database.
In some embodiments, the query module is configured to: and merging the query messages with the difference of the register addresses smaller than a preset range.
In some embodiments, the system further comprises a timing module configured to: and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
In some embodiments, the receiving module is configured to: and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: by setting the equipment access service configuration information, the automatic data query is realized, the difficulty of data acquisition is effectively reduced, the time spent is greatly reduced, and Modbus query messages with similar register addresses are combined, so that the quantity of concurrent requests and the occupation of request bandwidth are reduced, and the communication efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a method of data acquisition provided by the present invention;
FIG. 2 is a schematic diagram of an embodiment of a system for data acquisition provided by the present invention;
fig. 3 is a schematic hardware structure diagram of an embodiment of a data acquisition computer device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above, a first aspect of the embodiments of the present invention provides an embodiment of a method for data acquisition. Fig. 1 is a schematic diagram of an embodiment of a data acquisition method provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, setting equipment access service configuration information, and packaging the equipment access service configuration information;
s2, generating a query message according to the device identification, the function code, the register address and the value type in the device access service configuration information, and embedding the query message into a data frame to form a data request;
s3, sending the data request to the target object according to the device address and the device port in the device access service configuration information; and
and S4, receiving and analyzing the response message returned by the target object, and storing the data in the response message into a database.
The Modbus communication protocol follows the communication steps of the Master and the Slave, the Master sends an inquiry message to the Slave in an active inquiry mode, and then the Slave prepares a response message according to the content of the received inquiry message and returns the response message to the Master. In the embodiment of the invention, the Master is an equipment acquisition service terminal, the Slave is target acquisition equipment and mainly comprises various PLC programmable logic controllers.
The Modbus communication message is divided into an inquiry message and a response message and consists of a message header MBAP and a frame structure PDU. The message header MBAP takes seven bytes, wherein the third byte and the fourth byte are protocol identifiers, and 0000 represents a Modbus TCP protocol. The first byte and the second byte are transaction processing marks which can be understood as serial numbers of messages, Modbus inquiry messages initiated by the host computer are generated, Modbus response messages returned by the slave computer are copied, beginning from 0000, and 1 is added after each communication to distinguish different communication data messages. The fifth and sixth bytes are length, which indicates the data length of the following frame structure PDU, and the unit is byte. The seventh byte is an element identifier, and the field is configured by the device identification in the device access service configuration information. The unit identifier occupies a byte value range from 0 to 255, and can be uniquely positioned to a Modbus slave address by matching with a device address and a device port in the configuration information. The frame structure PDU consists of functional codes and data. The function code is 1 byte, the data length is not fixed, and the function code is determined by the specific function. The function codes are generated by the function code field configuration in the configuration information, and the function codes corresponding to the coil reading, the input reading state, the storage reading register reading and the input reading register are 01, 02, 03 and 04 respectively. The reading coil and the reading input state are bit operation, and the bit operation data of eight adjacent register addresses occupy one byte. The read save register and the read input register are 16-bit operation, and one 16-bit operation occupies two bytes. The data segment of the query message frame structure PDU consists of a start register and byte numbers, wherein the start register and the byte numbers respectively account for two bytes, and the value range is 00001-65536. The response message frame structure consists of two parts of byte number and data field, the byte number is one byte to express the length of the database, and the data field with the byte number length is followed.
Modbus communication message example:
requesting: MBAP function code initial address number (total 12 bytes)
Responding: MBAP functional code data length data (common operation digit/8 +9 bytes)
For example: the method comprises the steps of a message 0000, a Modbus TCP protocol identifier 0000, the number of subsequent bytes 0006, a slave station 01, coil reading operation 01, a register starting address of 0002 and a register reading position of 0008, wherein the request is 000000000006010100020008; returning: the response message is 000000000004010101 FF, where the message 0000 is a Modbus TCP protocol identifier 0000, the number of bytes in the subsequent sequence is 0004, the slave station 01 reads the coil operation 01, the data length is 01 bytes, and the data is FF (binary number is 11111111, that is, all 8 coil states are ON).
And setting equipment access service configuration information, and packaging the equipment access service configuration information. The device access service configuration information includes, but is not limited to, a collection frequency, a device identifier, a function code, a register address, and a value type, and may be encapsulated to enable simultaneous transmission of multiple data requests and to prevent interaction between the multiple requests. After a user configures Web end equipment access service configuration information and starts acquisition service, the equipment acquisition service information is sent to a service address and a Modbus TCP/IP equipment acquisition service end where a service port is located along with a starting command, and the equipment acquisition service end automatically analyzes the equipment access service.
In some embodiments, sending the data request to the target object comprises: and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
And generating a query message according to the equipment identifier, the function code, the register address and the value type in the equipment access service configuration information, and embedding the query message into a data frame to form a data request. And generating a Modbus query message according to the equipment identifier, the function code, the register address and the value type in the configuration information, and embedding the Modbus query message into a TCP/IP data frame to form a data request.
In some embodiments, said embedding said query message into a data frame to form a data request comprises: and merging the query messages with the difference of the register addresses smaller than a preset range. Modbus inquiry messages with similar register addresses are combined, the quantity of concurrent requests and the occupation of request bandwidth are reduced, and the communication efficiency is improved.
And sending the data request to the target object according to the equipment address and the equipment port in the equipment access service configuration information. The request is sent to the Modbus slave according to the device address and device port (according to the Modbus TCP/IP protocol, generally 502) in the configuration information.
And receiving and analyzing a response message returned by the target object, and storing data in the response message into a database.
In some embodiments, the saving the data in the response message to a database includes: and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database. The equipment acquisition server side analyzes the Modbus response message from the returned TCP/IP data frame, acquires binary equipment data from the response message, analyzes the binary equipment data into decimal equipment data according to the value type in the configuration information, and stores the decimal equipment data and the decimal equipment data into a real-time data and time sequence database together with the unit in the configuration information.
In some embodiments, a timeout management policy for device access services may be configured. When using the Modbus TCP/IP protocol, a timeout management mechanism should be configured to avoid responses that may not occur due to non-deadline wait. When the time of connecting the Modbus slave station exceeds the connection timeout and the idle time of the Modbus master station exceeds the idle timeout, the equipment is automatically disconnected from the service connection.
It should be particularly noted that, the steps in the embodiments of the data acquisition method described above can be mutually intersected, replaced, added, or deleted, and therefore, the method of data acquisition based on these reasonable permutation and combination transformations shall also belong to the scope of the present invention, and shall not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides a system for data acquisition, including: the encapsulation module is configured to set equipment access service configuration information and encapsulate the equipment access service configuration information; the query module is configured to generate a query message according to the device identifier, the function code, the register address and the value type in the device access service configuration information, and embed the query message into a data frame to form a data request; a sending module configured to send the data request to a target object according to the device address and the device port in the device access service configuration information; and the receiving module is configured to receive and analyze a response message returned by the target object, and store data in the response message in a database.
In some embodiments, the query module is configured to: and merging the query messages with the difference of the register addresses smaller than a preset range.
In some embodiments, the system further comprises a timing module configured to: and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
In some embodiments, the receiving module is configured to: and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database.
Fig. 2 is a schematic diagram of an embodiment of a data acquisition system provided by the present invention. As shown in fig. 2, service configuration information, device configuration information, and parameter configuration information are input at the user interface and encapsulated. The service configuration information comprises service information, service configuration, overtime management and acquisition frequency; the device configuration information comprises device information and device configuration; the parameter configuration information includes parameter information and parameter configuration. And reading a service address and a service port in the service configuration information, reading a device address, a device port and a device identifier in the device configuration information, and reading a function code and a register address in the parameter configuration information.
The embodiment of the invention can flexibly configure the information of the equipment access service according to the equipment point list information and the actual application requirement; one-key automatic encapsulation of Modbus TCP/IP protocol data acquisition services to provide a management interface with encapsulated services to support editing, starting and stopping of data acquisition service functions. The device is generally referred to as an industrial information device, including but not limited to, the current mainstream PLC devices. The Modbus TCP/IP protocol is a protocol which combines a TCP/IP protocol with a Modbus communication protocol, adopts a five-layer framework of an Ethernet TCP/IP communication protocol model, adopts the Modbus communication protocol on an application layer, and realizes the transmission of equipment data of a bottom layer to the Ethernet by embedding a Modbus protocol data frame in a TCP protocol data frame.
A device can be newly built in the encapsulation module to access the service, and a service address and a service port can be input. The system supports the data acquisition modules of a plurality of equipment access services to be distributed and deployed under a plurality of different IP addresses and ports, uniformly manages through an equipment access service management interface, and supports the functions of adding, modifying and deleting the equipment acquisition services and starting and stopping the equipment acquisition services by one key.
And adding a device record in the packaging module, and inputting a device address, a device port and a device identifier. One device under the industrial Ethernet can be uniquely determined by the device address, the device port and the device identification in the Modbus TCP/IP protocol, and the device address, the device port and the device identification fields recorded by each device under the same device acquisition service are not completely the same
And adding a parameter record in the packaging module, and inputting the function code and the register address. The Modbus protocol acquires data by using four objects, namely a coil, an input state, a storage register and an input register, wherein the coil and the discrete quantity are respectively an output bit and an input bit of the PLC and are switching quantities; the input register and the holding register are a register changed from an analog input terminal and a register outputting an analog signal in the PLC, respectively. The function codes corresponding to the coil reading, the input reading state, the storage register reading and the input register reading are respectively 01, 02, 03 and 04. The reading coil and the reading input state are bit operation, the reading storage register and the reading input register are 16 bit operation, and the data of the functional code corresponding to the operation bit number after the register address is read through the Modbus protocol, so that the data value of one equipment parameter can be obtained. And after the configuration is finished, clicking a save button to automatically package the equipment access service.
And starting and stopping the data acquisition service in the equipment access service management interface. If the configuration of the data acquisition service needs to be changed, the data acquisition service can be edited or deleted through the equipment access service management interface.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, setting equipment access service configuration information, and packaging the equipment access service configuration information; s2, generating a query message according to the device identification, the function code, the register address and the value type in the device access service configuration information, and embedding the query message into a data frame to form a data request; s3, sending the data request to the target object according to the device address and the device port in the device access service configuration information; and S4, receiving and analyzing the response message returned by the target object, and storing the data in the response message into the database.
In some embodiments, said embedding said query message into a data frame to form a data request comprises: and merging the query messages with the difference of the register addresses smaller than a preset range.
In some embodiments, sending the data request to the target object comprises: and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
In some embodiments, the saving the data in the response message to a database includes: and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database.
Fig. 3 is a schematic hardware structure diagram of an embodiment of the computer device for data acquisition according to the present invention.
Taking the apparatus shown in fig. 3 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 3 illustrates the connection by a bus as an example.
The memory 302 is a non-volatile computer-readable storage medium and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the data collection method in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 302, that is, implements the method for data collection of the above method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of data acquisition, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods of data acquisition are stored in the memory 302 and, when executed by the processor 301, perform the methods of data acquisition in any of the method embodiments described above.
Any embodiment of a computer device for performing the above-described method for data acquisition may achieve the same or similar effects as any of the above-described method embodiments corresponding thereto.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method of data acquisition can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method of data acquisition, comprising the steps of:
setting equipment access service configuration information, and packaging the equipment access service configuration information;
generating a query message according to the equipment identification, the function code, the register address and the value type in the equipment access service configuration information, and embedding the query message into a data frame to form a data request;
sending the data request to a target object according to the equipment address and the equipment port in the equipment access service configuration information; and
and receiving and analyzing a response message returned by the target object, and storing data in the response message into a database.
2. The method of claim 1, wherein embedding the query message into a data frame to form a data request comprises:
and merging the query messages with the difference of the register addresses smaller than a preset range.
3. The method of claim 1, wherein sending the data request to a target object comprises:
and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
4. The method of claim 1, wherein saving the data in the response message to a database comprises:
and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database.
5. A system for data acquisition, comprising:
the encapsulation module is configured to set equipment access service configuration information and encapsulate the equipment access service configuration information;
the query module is configured to generate a query message according to the device identifier, the function code, the register address and the value type in the device access service configuration information, and embed the query message into a data frame to form a data request;
a sending module configured to send the data request to a target object according to the device address and the device port in the device access service configuration information; and
and the receiving module is configured to receive and analyze a response message returned by the target object, and store data in the response message in a database.
6. The system of claim 5, wherein the query module is configured to:
and merging the query messages with the difference of the register addresses smaller than a preset range.
7. The system of claim 5, further comprising a timing module configured to:
and sending a data request once every preset time according to the acquisition frequency in the equipment access service configuration information.
8. The method of claim 5, wherein the receiving module is configured to:
and acquiring binary device data in the response message, analyzing the binary device data into decimal device data according to the value type in the device access service configuration information, and storing the decimal device data into a real-time data and time sequence database.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202011341713.6A 2020-11-25 2020-11-25 Data acquisition method, system, equipment and medium Pending CN112487271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011341713.6A CN112487271A (en) 2020-11-25 2020-11-25 Data acquisition method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011341713.6A CN112487271A (en) 2020-11-25 2020-11-25 Data acquisition method, system, equipment and medium

Publications (1)

Publication Number Publication Date
CN112487271A true CN112487271A (en) 2021-03-12

Family

ID=74934464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011341713.6A Pending CN112487271A (en) 2020-11-25 2020-11-25 Data acquisition method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN112487271A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301182A (en) * 2021-05-26 2021-08-24 绵阳市维博电子有限责任公司 Networking communication system based on PLC bus
CN113778415A (en) * 2021-11-11 2021-12-10 深圳市越疆科技有限公司 ModBus communication script generation method and device based on graphical programming
CN113905107A (en) * 2021-10-20 2022-01-07 云镝智慧科技有限公司 Method and device for acquiring point list data of industrial equipment and gateway
CN114070732A (en) * 2021-11-17 2022-02-18 远景智能国际私人投资有限公司 Data processing method, device, equipment and medium based on Internet of things
CN114528319A (en) * 2022-02-22 2022-05-24 厦门四信通信科技有限公司 Method, device and equipment for acquiring data of multiple PLCs (programmable logic controllers) and readable storage medium
CN115174373A (en) * 2022-06-30 2022-10-11 山东有人智能科技有限公司 Modbus device point table generation method, device and storage medium
CN115904719A (en) * 2022-12-02 2023-04-04 杭州义益钛迪信息技术有限公司 Data acquisition method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989358A (en) * 2018-09-28 2018-12-11 郑州轻工业学院 One kind being based on ICP/IP protocol frame operation data acquisition methods
CN109743301A (en) * 2018-12-24 2019-05-10 武汉工程大学 A kind of data receiving-transmitting system and method based on Modbus agreement
US20190373535A1 (en) * 2018-05-29 2019-12-05 Charter Communications Operating, Llc Lte network extension (lne) system, methods, and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190373535A1 (en) * 2018-05-29 2019-12-05 Charter Communications Operating, Llc Lte network extension (lne) system, methods, and apparatus
CN108989358A (en) * 2018-09-28 2018-12-11 郑州轻工业学院 One kind being based on ICP/IP protocol frame operation data acquisition methods
CN109743301A (en) * 2018-12-24 2019-05-10 武汉工程大学 A kind of data receiving-transmitting system and method based on Modbus agreement

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301182A (en) * 2021-05-26 2021-08-24 绵阳市维博电子有限责任公司 Networking communication system based on PLC bus
CN113905107A (en) * 2021-10-20 2022-01-07 云镝智慧科技有限公司 Method and device for acquiring point list data of industrial equipment and gateway
CN113778415A (en) * 2021-11-11 2021-12-10 深圳市越疆科技有限公司 ModBus communication script generation method and device based on graphical programming
CN114070732A (en) * 2021-11-17 2022-02-18 远景智能国际私人投资有限公司 Data processing method, device, equipment and medium based on Internet of things
CN114070732B (en) * 2021-11-17 2024-01-05 远景智能国际私人投资有限公司 Data processing method, device, equipment and medium based on Internet of things
CN114528319A (en) * 2022-02-22 2022-05-24 厦门四信通信科技有限公司 Method, device and equipment for acquiring data of multiple PLCs (programmable logic controllers) and readable storage medium
CN115174373A (en) * 2022-06-30 2022-10-11 山东有人智能科技有限公司 Modbus device point table generation method, device and storage medium
CN115174373B (en) * 2022-06-30 2024-04-30 山东有人智能科技有限公司 Modbus device point table generation method, device, equipment and storage medium
CN115904719A (en) * 2022-12-02 2023-04-04 杭州义益钛迪信息技术有限公司 Data acquisition method and device, electronic equipment and storage medium
CN115904719B (en) * 2022-12-02 2023-12-08 杭州义益钛迪信息技术有限公司 Data acquisition method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112487271A (en) Data acquisition method, system, equipment and medium
CN112187632B (en) Industrial equipment integration model and construction method, edge gateway device and industrial equipment integration system
CN106547709B (en) The method and device of flexible configuration multi-channel DMA controller
CN101083557B (en) SNMP based IP network cluster managerial approach
CN101262473B (en) EPA industrial Ethernet and HART field bus interconnection method
CN105989539A (en) Financial trading condition acquisition system and method
CN110933146A (en) Data conversion method and device and server
CN107065813A (en) A kind of workshop appliance data monitoring system and method
CN106982222A (en) The multi-protocol data cut-in method and device that can configure under a kind of industrial 4.0 environment
EP4184831A1 (en) Data collection method and apparatus, modbus system, and storage medium
CN102438017A (en) Routing function-based conversion apparatus of Modbus protocol and BACnet Ethernet protocol and conversion method thereof
CN113986985B (en) IO reading method, system, equipment and storage medium for energy management
CN109672668B (en) Mapping method of GDA interface and OPC UA service
CN201163782Y (en) Intelligent network gateway used for EPA/HART interconnection
CN114095535A (en) Method for automatically mapping time sequence variable of physical equipment into digital model
CN117319525A (en) Substation heterogeneous data fusion method and system based on CMS and MMS
CN112636473A (en) Modbus data acquisition method applied to micro-grid industry
CN116743886A (en) Industrial control equipment data acquisition system based on Internet of things
CN101094099A (en) Configuration system and method for multiple exchanges
CN110134086B (en) Data acquisition and control device for realizing middleware function in digital workshop
CN108805741B (en) Fusion method, device and system of power quality data
CN106953771B (en) Role transformation and management method for master and slave equipment
CN111708521A (en) Software construction method and software construction device for intelligent terminal of power system distribution room
CN111970128B (en) High-speed socket receiving method and system
CN111125004B (en) File collection method and device

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: 20210312

RJ01 Rejection of invention patent application after publication