CN108989358B - Method for acquiring running data of textile machine based on TCP/IP protocol - Google Patents

Method for acquiring running data of textile machine based on TCP/IP protocol Download PDF

Info

Publication number
CN108989358B
CN108989358B CN201811136811.9A CN201811136811A CN108989358B CN 108989358 B CN108989358 B CN 108989358B CN 201811136811 A CN201811136811 A CN 201811136811A CN 108989358 B CN108989358 B CN 108989358B
Authority
CN
China
Prior art keywords
data
information
tcp
protocol
layer
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
Application number
CN201811136811.9A
Other languages
Chinese (zh)
Other versions
CN108989358A (en
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.)
Zhengzhou University of Light Industry
Original Assignee
Zhengzhou University of Light Industry
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 Zhengzhou University of Light Industry filed Critical Zhengzhou University of Light Industry
Priority to CN201811136811.9A priority Critical patent/CN108989358B/en
Publication of CN108989358A publication Critical patent/CN108989358A/en
Application granted granted Critical
Publication of CN108989358B publication Critical patent/CN108989358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • 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]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • 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/22Parsing or analysis of headers

Abstract

The invention provides a method for acquiring running data of a textile machine based on a TCP/IP protocol, which comprises the steps of building a data integration system based on an Ethernet, and connecting an upper computer and a database server to a controller of textile equipment through the Ethernet; the method comprises the steps that a database server is deployed at a textile data acquisition client, the database server sends a command to a controller of textile equipment in a request message mode, and the controller returns a corresponding response message according to the sent message; the response message packages the transmitted data through a TCP/IP protocol, the data is stored in a thread memory in a response message mode, and the memory table is updated to the entity table of the database server in batches; and the user terminal utilizes the information multiplexing system to encode the plurality of feedback information according to the number of the feedback information and the linear block code sequence, thereby realizing information multiplexing. The invention realizes the data state interaction of the known protocol in the Ethernet TCP mode and meets the requirements of comprehensive, accurate and timely data acquisition of the bottom information.

Description

Method for acquiring running data of textile machine based on TCP/IP protocol
Technical Field
The invention relates to the technical field of textile machine operation data acquisition, in particular to a method for acquiring textile machine operation data based on a TCP/IP protocol.
Background
At present, the technological level, the technical level of equipment and the enterprise management level of the textile industry in China are lower than those of foreign countries, and the development of enterprises is severely restricted. At present, a complete set of similar information acquisition system is not available in the field of textile informatization data integration, and the operation data of a textile machine cannot be acquired. The existing spinning machine operation data is mainly realized by matching industrial control integrated acquisition software such as step7 with WinCC, the occupied space is large, a complex installation flow is needed, the maintenance cost is high, the acquisition configuration is complex and the flexibility is insufficient, and the transportability is basically absent. The existing data integration usually adopts a commercial configuration software bottom layer data driving suite to read data, but has great limitation on timeliness of data response and variable number; in addition, the single data acquisition board is used for acquiring the operation information of the bottom layer of the equipment machine, and the method is time-consuming and has small information amount, so that the informatization requirement of modern spinning machine equipment cannot be met.
Disclosure of Invention
Aiming at the technical problems that the prior textile industry has numerous devices and can not realize the quick acquisition of similar information of a textile machine, the invention provides a method for acquiring the running data of the textile machine based on a TCP/IP protocol, which realizes the data state interaction of the known protocol in all Ethernet TCP/IP modes, has flexible acquisition and configuration and cross-platform and portability.
In order to achieve the purpose, the technical scheme of the invention is realized as follows: a method for acquiring running data of a textile machine based on a TCP/IP protocol comprises the following steps:
the method comprises the following steps: the method comprises the steps that an Ethernet-based data integration system is built, a PLC (programmable logic controller) preprocesses acquired equipment information and stores the equipment information in a PLC memory, and an upper computer server is connected to a network port provided by the PLC through the Ethernet;
step two: the upper computer and the database server are deployed at a textile data acquisition client, the upper computer service sends a TCP/IP protocol message form to a PLC controller of the textile equipment, and the PLC controller returns a corresponding message to the upper computer according to the received message;
step three: the response message packages transmitted data through a TCP/IP protocol, the data is stored in a thread memory in a response message mode, an upper computer reads thread internal data and analyzes the data according to the TCP/IP protocol, the analyzed data of the actual production value is stored in a C # queue set, a queue algorithm of each parameter is written into a memory table in a first-in first-out mode, the memory table and the entity table of the database server have the same structure and are mapped to finally update the data in the memory table into the entity table of the database server in batch;
step four: the user terminal utilizes the information multiplexing system to encode a plurality of feedback information according to the number of the feedback information and the linear block code sequence, intercepts corresponding encoded information according to the target length after the feedback information is encoded, sequentially divides the intercepted encoded information into a plurality of feedback information logic units, and multiplexes the plurality of feedback information logic units, the rank indication information logic unit, the control information logic unit and the data information logic unit together.
The data integration system comprises an equipment layer and a control layer, wherein the equipment layer is connected with the control layer through an Ethernet; the equipment layer comprises a plurality of communication modules, the communication modules are connected with the Ethernet, the communication modules complete TCP/IP protocol conversion, and each communication module is connected with a PLC (programmable logic controller) of the spinning machine equipment; the control layer comprises a Web server, a database server and an upper computer, wherein the Web server, the database server and the upper computer are all connected with the Ethernet, collected field information enters the upper computer through the Ethernet, the upper computer stores processed data into the database server, and the Web server publishes the data in the database server to an enterprise management department through a webpage.
The Ethernet is an industrial Ethernet built by network cables and switches.
During communication between computers of the data integration system, data is transmitted layer by layer from an upper layer to a lower layer, and each layer adds different control information to the data and then transmits the data to the next layer; when data is transmitted from the physical medium at the bottommost layer to a destination, the data is transmitted layer by layer from the lower layer to the upper layer, and each layer needs to remove own control information and then transmits the control information to the upper layer.
The sending message comprises a read-write request and an address offset, and the response message comprises a value corresponding to each address; the TCP protocol autonomously acquires and analyzes the analysis data through the switch mirror image according to the data transmission format; the TCP protocol exploits deep information by decoding, analyzing and classifying data, and manages and maintains the network according to the analysis result.
The textile data acquisition client side adopts an MVC three-layer framework to realize the separation of a page and a service side, information such as textile equipment IP addresses and messages of PLC controllers of different manufacturers can be configured on the page for use, the configurable refreshing frequency is realized by adjusting the interval time of threads, and a data integration system performs byte conversion according to conversion rules with different parameters; the textile data acquisition client side adopts a multithreading technology, hundreds of sub threads are called by a main thread to send messages and receive messages, each sub thread is independent and does not influence each other, each message judges data conversion required to be carried out according to a defined parameter format, and the data conversion is analyzed into production parameter values required by an application system through high-low order conversion of parameters.
The TCP protocol performs a series of analysis operations on the value of each parameter according to configuration, parameter name, parameter type, word length, decimal point digit, word bit conversion rule and coefficient in the message: firstly, a TCP protocol acquires a binary sequence of a message, binary interception is carried out according to the type and the word length of parameter data to obtain the binary sequence corresponding to each parameter, high-low bit conversion is carried out according to a conversion rule, then the binary sequence is converted into a decimal actual value, and finally product operation of decimal point digits and coefficients is carried out to write the result into a physical table of a database server.
Through address planning of textile equipment, all processes of textile production use the same address, and all equipment parameters of the process can be acquired by configuring a set of messages in each process, so that information multiplexing is realized; the information multiplexing means that the existing information and the information technology thereof are used for constructing new information resources, and continuous information resources are provided for enterprises; the control information logic unit, the plurality of rank indication information logic units, the data information logic unit and the feedback information logic unit have the same bit number.
The information multiplexing system consists of a base station and a user terminal, wherein the base station is used for sending a data packet to the user terminal and receiving information which is fed back by the user terminal and corresponds to the data packet; and the user terminal is used for generating corresponding information according to the data packet from the base station, multiplexing the generated various different information on the first time slot and the second time slot of the subframe, and feeding back the information to the base station through a TCP protocol message.
The user terminal comprises an information generating module, an information multiplexing module and an information feedback module, wherein the information generating module is used for generating corresponding information according to a data packet from the base station; the information multiplexing module is connected with the information generating module and is used for multiplexing the generated various different information on a first time slot and a second time slot of the subframe; the information feedback module is connected with the information multiplexing module and used for feeding back the information in the subframe to the base station through a TCP protocol message.
The invention has the beneficial effects that: the method comprises the steps that a client server mode is adopted, a data acquisition client transmits a read-write request message to a PLC through an Ethernet built by the server and the PLC, and the PLC performs read-write operation according to a transmitted message and returns a response message; the communication module accesses each device in a polling mode, and updates the communication state in the database when the devices cannot be communicated so as to provide data support for the alarm prompt of the textile information system. The invention realizes information which can be provided or can not be provided independently of equipment machine tables by utilizing a special information multiplexing technology, a multi-channel information acquisition technology and a data processing technology, and simultaneously meets the requirements of an intelligent spinning system on comprehensive, accurate and timely data acquisition of bottom information.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a network configuration diagram of a data acquisition system of the present invention.
Fig. 2 is a hybrid schematic of the TCP protocol in conjunction with the Web of the present invention.
Fig. 3 is a schematic block diagram of an information multiplexing unit according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
A method for acquiring running data of a textile machine based on a TCP/IP protocol comprises the following steps:
the method comprises the following steps: and (2) building a data integration system based on the Ethernet, preprocessing the acquired equipment information by the PLC and storing the equipment information in a PLC memory, and connecting the upper computer server to an internet access provided by the PLC through the Ethernet.
As shown in fig. 1, the data integration system includes a device layer and a control layer, and the device layer and the control layer are connected via an ethernet. The equipment layer comprises a plurality of communication modules, the communication modules are all connected with the Ethernet, each communication module is connected with the PLC of one spinning machine, and multi-channel information can be acquired simultaneously. The PLC controller realizes the tasks of data acquisition, front-end data processing and the like. The communication module is an intelligent device capable of being independently programmed and operated, and completes tasks such as TCP/IP protocol conversion and the like. The Ethernet is an industrial Ethernet built by network cables and switches.
The control layer comprises a Web server, a database server and an upper computer, wherein the Web server, the database server and the upper computer are all connected with the Ethernet, collected field information enters the upper computer through the Ethernet, processed data are stored in the database server, and the Web server issues the data to an enterprise management department in a certain mode.
Step two: the upper computer and the database server are deployed at a textile data acquisition client, the upper computer service sends a TCP/IP protocol message form to a PLC controller of the textile equipment, and the PLC controller returns a corresponding message to the upper computer according to the received message.
As shown in fig. 2, the ethernet uses the TCP protocol, so that reliable data transmission is realized, and the requirement of transmission time is basically met in a real-time system. The PLC packs the collected field data according to a TCP/IP protocol and sends the field data to the Ethernet through the communication module, the upper computer analyzes and processes the collected data and stores the processed data into the database server, and the Web server transmits the data in the database server to the Internet. The client PC machine communicates through the Internet, receives data collected on site, or sends commands to a PLC controller of the field equipment. The control layer of the invention is combined with the WEB mode, and the requirements of more users and different conditions can be met. The PC machine supports the installation and application support of the client machine, and the firewall effectively prevents malicious attacks between networks and network control.
The invention is compiled by adopting a general high-level language based on a Java or C # software platform, uses a bottom layer Ethernet connection function to realize the connection with an Ethernet interface of a PLC controller of a spinning machine device, reads a message by sending data, then receives return data, and analyzes a DU unit according to a message protocol so as to acquire the data.
The upper computer does not have special requirements on an operating system and data application when data reading is carried out, the data state interaction of the known protocol in all Ethernet TCP modes is met, and the data interaction can be rapidly realized. In order to meet the requirements of cross-platform data access data type configuration adjustment, communication abnormity diagnosis and self-recovery, the communication speed and the cycle thread are configurable, a database of data storage is selectable and configurable, logs are automatically recorded, and the method can be transplanted and reused.
Step three: the response message packages transmitted data through a TCP/IP protocol, the data is transmitted to an upper computer through a communication module and an Ethernet, the data is stored in a thread memory in a response message mode, the analyzed data of the actual production value is stored in a C # queue set through thread internal data analysis, a queue algorithm of each parameter is written into a memory table in a first-in first-out mode, the memory table and the entity table structure of the database server are the same and are mapped with each other, and finally the memory table is updated to the entity table of the database server in batch.
The TCP protocol autonomously acquires and analyzes the analysis data through the switch mirror image according to the data sending format. During communication between computers of the data integration system, data is transmitted layer by layer from an upper layer to a lower layer, each layer needs to process the data, adds different control information and then transmits the data to the next layer. When data is transmitted from the physical medium at the bottommost layer to a destination, the data is transmitted layer by layer from the lower layer to the upper layer, and each layer needs to remove own control information and then transmits the control information to the upper layer. Therefore, the process of data submission from top to bottom at the source station is a process of constantly unsealing. The work of the TCP protocol is to unseal data layer by layer to obtain information of different layer protocols. Analysis of the TCP protocol is performed after data is captured, deep information is discovered by decoding, analyzing and classifying the data, and the network is managed and maintained according to the analysis result to ensure normal operation of the network.
The sending message contains read-write request and address offset, and the response message contains the value corresponding to each address. According to configuration, parameter name, parameter type, word length, decimal point digit, word bit conversion rule and coefficient in the message, carrying out a series of analysis operations on the value of each parameter: firstly, a TCP protocol acquires a binary sequence of a message, binary interception is carried out according to the type and the word length of parameter data to obtain the binary sequence corresponding to each parameter, high-low bit conversion is carried out according to a conversion rule, then the binary sequence is converted into a decimal actual value, and finally product operation of decimal point digits and coefficients is carried out to write the result into a physical table of a database server. The data in the thread memory is a binary sequence, the time data in the C # queue set is a production actual value, and a series of storage processes of the data are completed in milliseconds.
The invention realizes data exchange based on the Ethernet protocol, the communication mode of the invention is configurable, analyzable and adjustable in speed, the textile data acquisition client adopts an MVC three-layer framework to realize the separation of a page and a service end, a data acquisition engineer can use information such as textile equipment IP addresses and messages of PLC controllers of different manufacturers configured on the page, the configurable refreshing frequency is realized by adjusting the interval time of threads, and a data integration system can carry out byte conversion according to conversion rules with different parameters.
Through the address planning of the textile equipment, all processes of textile production use the same address, and all equipment parameters of the processes can be acquired by only configuring one set of messages in each process, so that the information multiplexing is realized. The textile data acquisition client side adopts a multithreading technology, hundreds of sub threads are called by a main thread to send messages and receive messages, each sub thread is independent and does not influence each other, each message judges data conversion required to be carried out according to a defined parameter format, and the data conversion is analyzed into production parameter values required by an application system through high-low order conversion of parameters.
Step four: the user terminal utilizes the information multiplexing system to encode a plurality of feedback information according to the number of the feedback information and the linear block code sequence, intercepts corresponding encoded information according to the target length after the feedback information is encoded, sequentially divides the intercepted encoded information into a plurality of feedback information logic units, and multiplexes the plurality of feedback information logic units, the rank indication information logic unit, the control information logic unit and the data information logic unit together.
The information multiplexing means that the existing information and the information technology thereof are used for constructing new information resources, so that continuous information resources are provided for enterprises, and support and power are provided for enterprise innovation. The key technical factors for realizing information multiplexing mainly comprise data mining technology, information sorting technology, data warehouse and database system technology, information architecture and the like.
The information logic units are indicated by a plurality of independent threads through a plurality of ranks, and the hierarchical multiplexing of the information logic units by the control logic units is realized through the calling of random threads. The feedback information is decomposed into smaller information units in the thread, the quantity of the feedback information and the linear block code sequence are reversely analyzed by the coding rule according to the initial quantity of the logic units configured by the acquisition terminal and the quantity of the minimum information units in combination with the linear length, and the feedback information and the linear block code sequence are temporarily stored in the information data queue one by one. The control information logic unit, the plurality of rank indication information logic units, the data information logic unit and the feedback information logic unit have the same bit number.
As shown in fig. 3, the information multiplexing system is composed of a base station and a user terminal. The base station is used for sending a data packet to the user terminal and receiving information which is fed back by the user terminal and corresponds to the data packet, and the base station is connected with the switch in the Ethernet, so that the information multiplexing of the collected data is realized. And the user terminal is used for generating corresponding information according to the data packet from the base station, multiplexing the generated various different information on the first time slot and the second time slot of the subframe, and feeding back the information to the base station through a message. The user terminal comprises an information generating module, an information multiplexing module and an information feedback module, wherein the information generating module is used for generating corresponding information according to the data packet from the base station. The information multiplexing module is connected with the information generating module and is used for multiplexing the generated various information on the first time slot and the second time slot of the subframe. The information feedback module is connected with the information multiplexing module and is used for feeding back the information in the subframes to the base station.
Aiming at similar information acquisition of Ethernet interface spinning machine equipment, the method is different from commercial data interaction driving software, autonomously develops data communication software based on TCP transmission, develops protocol analysis and analysis filing for data, and realizes textile data acquisition and integration of transplantable and configured; any textile informatization item can be transplanted through modification and configuration, and collected data support is provided for the textile informatization system. The invention is independent of the information which can be provided or can not be provided by the equipment machine, and simultaneously meets the requirement of the intelligent spinning system on comprehensive, accurate and timely data acquisition of the bottom information.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for acquiring running data of a textile machine based on a TCP/IP protocol is characterized by comprising the following steps:
the method comprises the following steps: the method comprises the steps that an Ethernet-based data integration system is built, a PLC (programmable logic controller) preprocesses acquired equipment information and stores the equipment information in a PLC memory, and an upper computer is connected to a network port provided by the PLC through the Ethernet;
step two: the upper computer and the database server are deployed at a textile data acquisition client, the upper computer sends a TCP/IP protocol message to a PLC (programmable logic controller) of the textile equipment, and the PLC returns a response message to the upper computer according to the received message;
step three: the response message packages transmitted data through a TCP/IP protocol, the data is stored in a thread memory of an upper computer in a response message mode, the upper computer reads data in the thread and analyzes the data according to the TCP/IP protocol, the analyzed data of the actual production value is stored in a C # queue set, each parameter of the data is written into a memory table according to a first-in first-out queue algorithm, the memory table and an entity table of a database server are identical in structure and are mapped to finally update the data in the memory table to an entity table of the database server in batch;
step four: the PLC utilizes an information multiplexing system to encode a plurality of feedback information according to the number of the feedback information and a linear block code sequence, intercepts corresponding encoded information according to the target length after the feedback information is encoded, sequentially divides the intercepted encoded information into a plurality of feedback information logic units, and multiplexes the plurality of feedback information logic units, the rank indication information logic unit, the control information logic unit and the data information logic unit together.
2. The method for acquiring the running data of the textile machine based on the TCP/IP protocol according to the claim 1, wherein the data integration system comprises an equipment layer and a control layer, and the equipment layer and the control layer are connected through the Ethernet; the equipment layer comprises a plurality of communication modules, the communication modules are connected with the Ethernet, the communication modules complete TCP/IP protocol conversion, and each communication module is connected with a PLC (programmable logic controller) of the spinning machine equipment; the control layer comprises a Web server, a database server and an upper computer, wherein the Web server, the database server and the upper computer are all connected with the Ethernet, collected field information enters the upper computer through the Ethernet, the upper computer stores processed data into the database server, and the Web server publishes the data in the database server to an enterprise management department through a webpage.
3. The TCP/IP protocol-based textile machine operation data acquisition method according to claim 1 or 2, wherein the ethernet is an industrial ethernet built by network cable and switch.
4. The method for acquiring the running data of the textile machine based on the TCP/IP protocol according to the claim 1, characterized in that when the computers of the data integration system communicate with each other, the data is transmitted layer by layer from the upper layer to the lower layer, and each layer adds different control information to the data and then transmits the data to the next layer; when data is transmitted from the physical medium at the bottommost layer to a destination, the data is transmitted layer by layer from the lower layer to the upper layer, and each layer needs to remove own control information and then transmits the control information to the upper layer.
5. The method according to claim 4, wherein the received message includes a read-write request and an address offset, and the response message includes a value corresponding to each address; the TCP protocol autonomously acquires and analyzes the analysis data through the switch mirror image according to the data transmission format; the TCP protocol exploits deep information by decoding, analyzing and classifying data, and manages and maintains the network according to the analysis result.
6. The method for acquiring the running data of the textile machine based on the TCP/IP protocol according to claim 1, wherein the textile data acquisition client adopts an MVC three-layer framework to realize the separation of a page and a service end, the IP address of the textile equipment and the messages and other information of PLC controllers of different manufacturers can be configured on the page, the configurable refreshing frequency is realized by adjusting the interval time of threads, and a data integration system performs byte conversion according to conversion rules with different parameters; the textile data acquisition client side adopts a multithreading technology, hundreds of sub threads are called by a main thread to send messages and receive messages, each sub thread is independent and does not influence each other, each message judges data conversion required to be carried out according to a defined parameter format, and the data conversion is analyzed into production parameter values required by an application system through high-low order conversion of parameters.
7. The method for acquiring the running data of the textile machine based on the TCP/IP protocol according to the claim 6, wherein the TCP protocol carries out a series of analysis operations on the value of each parameter according to the configuration, the parameter name, the parameter type, the word length, the decimal point digit, the word bit conversion rule and the coefficient in the message: firstly, a TCP protocol acquires a binary sequence of a message, binary interception is carried out according to the type and the word length of parameter data to obtain the binary sequence corresponding to each parameter, high-low bit conversion is carried out according to a conversion rule, then the binary sequence is converted into a decimal actual value, and finally product operation of decimal point digits and coefficients is carried out to write the result into a physical table of a database server.
8. The method for acquiring the running data of the textile machine based on the TCP/IP protocol according to the claim 1, characterized in that the upper computer plans the address of the textile equipment, the same address is used in each process of textile production, and each process can acquire all the equipment parameters of the process by configuring a set of messages, thereby realizing information multiplexing; the information multiplexing means that the existing information and the information technology thereof are used for constructing new information resources, and continuous information resources are provided for enterprises; the control information logic unit, the rank indication information logic unit, the data information logic unit and the plurality of feedback information logic units have the same bit number.
9. The method for acquiring the running data of the textile machine based on the TCP/IP protocol according to the claim 1 or 8, characterized in that the information multiplexing system is composed of a base station and a user terminal, the base station is used for sending a data packet to the user terminal and receiving the information corresponding to the data packet fed back by the user terminal; and the user terminal is used for generating corresponding information according to the data packet from the base station, multiplexing the generated various different information on the first time slot and the second time slot of the subframe, and feeding back the information to the base station through a TCP protocol message.
10. The method according to claim 9, wherein the user terminal includes an information generating module, an information multiplexing module, and an information feedback module, the information generating module is configured to generate corresponding information according to a data packet from the base station; the information multiplexing module is connected with the information generating module and is used for multiplexing the generated various different information on a first time slot and a second time slot of the subframe; the information feedback module is connected with the information multiplexing module and used for feeding back the information in the subframe to the base station through a TCP protocol message.
CN201811136811.9A 2018-09-28 2018-09-28 Method for acquiring running data of textile machine based on TCP/IP protocol Active CN108989358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811136811.9A CN108989358B (en) 2018-09-28 2018-09-28 Method for acquiring running data of textile machine based on TCP/IP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811136811.9A CN108989358B (en) 2018-09-28 2018-09-28 Method for acquiring running data of textile machine based on TCP/IP protocol

Publications (2)

Publication Number Publication Date
CN108989358A CN108989358A (en) 2018-12-11
CN108989358B true CN108989358B (en) 2020-04-17

Family

ID=64544100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811136811.9A Active CN108989358B (en) 2018-09-28 2018-09-28 Method for acquiring running data of textile machine based on TCP/IP protocol

Country Status (1)

Country Link
CN (1) CN108989358B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471362A (en) * 2019-07-31 2019-11-19 经纬智能纺织机械有限公司 A kind of integrated control system of the thin network connection of spinning frame
CN113075901B (en) * 2020-05-18 2022-09-16 上海嘉九信息技术有限公司 PLC data acquisition method and acquisition system
CN112311661B (en) * 2020-11-24 2023-09-26 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium
CN112487271A (en) * 2020-11-25 2021-03-12 浪潮通用软件有限公司 Data acquisition method, system, equipment and medium
CN113296462A (en) * 2021-05-13 2021-08-24 天海欧康科技信息(厦门)有限公司 Multithreading PLC query optimization method based on IP grouping
CN113542273B (en) * 2021-07-15 2023-07-18 北京润科通用技术有限公司 Data transmission method and related equipment
CN114095554B (en) * 2021-12-01 2024-01-12 浙江国利网安科技有限公司 Industrial control data processing method and device, storage medium and industrial control gateway
CN114827143B (en) * 2022-04-11 2023-12-12 广东省离散智造科技创新有限公司 Discrete data acquisition method, system, cloud server and edge computing terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201203797Y (en) * 2008-06-26 2009-03-04 中国药科大学制药有限公司 Remote monitoring apparatus for GSM platform of water processor
CN201226103Y (en) * 2008-06-10 2009-04-22 郑州轻工业学院 Experiment debugging platform based on bus technology
CN102981465A (en) * 2012-11-08 2013-03-20 合肥工大高科信息科技股份有限公司 Integration processing system and processing method of mine monitoring system data based on internet of things structure
CN104808616A (en) * 2015-03-04 2015-07-29 上海兰宝传感科技股份有限公司 PLC data acquisition system
CN106348391A (en) * 2016-08-29 2017-01-25 天津膜天膜科技股份有限公司 Membrane water treatment equipment remote monitoring platform
CN107146111A (en) * 2017-05-15 2017-09-08 佛山市南方数据科学研究院 Weaving data managing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2804954C (en) * 2010-07-23 2020-06-30 Saudi Arabian Oil Company Machines, computer program products, and computer-implemented methods providing an integrated node for data acquisition and control

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201226103Y (en) * 2008-06-10 2009-04-22 郑州轻工业学院 Experiment debugging platform based on bus technology
CN201203797Y (en) * 2008-06-26 2009-03-04 中国药科大学制药有限公司 Remote monitoring apparatus for GSM platform of water processor
CN102981465A (en) * 2012-11-08 2013-03-20 合肥工大高科信息科技股份有限公司 Integration processing system and processing method of mine monitoring system data based on internet of things structure
CN104808616A (en) * 2015-03-04 2015-07-29 上海兰宝传感科技股份有限公司 PLC data acquisition system
CN106348391A (en) * 2016-08-29 2017-01-25 天津膜天膜科技股份有限公司 Membrane water treatment equipment remote monitoring platform
CN107146111A (en) * 2017-05-15 2017-09-08 佛山市南方数据科学研究院 Weaving data managing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Modbus TCP/IP通信协议的空压机数据采集系统;付文韬;《2012年全国工业控制计算机年会》;20121231;第207-210页 *
纺织生产过程数据集成与处理系统的开发;王永华,何胜科,江豪,李建军,陈世权;《棉纺织技术》;20101130;第702-702页 *

Also Published As

Publication number Publication date
CN108989358A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108989358B (en) Method for acquiring running data of textile machine based on TCP/IP protocol
US8190284B1 (en) Auto discovery of embedded historians in network
JP2006164233A (en) Directory structure in distributed data driven architecture environment
CN109257208A (en) A kind of information integrated system and method based on OPC UA
CN111242807B (en) Method for accessing substation data into ubiquitous power Internet of things
AU2002258019A1 (en) Method and device for management of tree data exchange
CN113176948B (en) Edge gateway, edge computing system and configuration method thereof
CN108306804A (en) A kind of Ethercat main station controllers and its communication means and system
CN113179190B (en) Edge controller, edge computing system and configuration method thereof
CN102185860A (en) Standardized bottom layer control driving system for integrated circuit manufacturing equipment
CN104468274A (en) Cluster monitor and management method and system
US9170579B1 (en) System, method and computer program product for monitoring and controlling industrial energy equipment
CN107171892A (en) A kind of cross-platform data communication means and system based on QT
CN112214541A (en) Deep decoupling and data cooperation method for power monitoring data
CN114401284A (en) Real-time data acquisition and transmission system and method for fixed pollution source treatment working condition
CN110008267B (en) Data processing system and method
CN102904967A (en) Intelligent Internet of things data exchange platform scheme based on hardware electromechanical field
CN110320837A (en) It is a kind of can edge calculations industrial computer
CN104270432B (en) Based on drilling well industry Real-time Data Service system and data interactive method
CN107948005B (en) Internet of things protocol updating method and device
CN208903126U (en) A kind of information integrated system based on OPC UA
CN116431324A (en) Edge system based on Kafka high concurrency data acquisition and distribution
CN113625667B (en) Adapting a data model for data communication with an external platform
CN114387124A (en) Time sequence data storage method of nuclear power industry internet platform
CN113848834A (en) Workshop equipment access system and method based on edge cloud cooperation

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
GR01 Patent grant
GR01 Patent grant