CN108881002A - A kind of knitting machine gateway and control method - Google Patents

A kind of knitting machine gateway and control method Download PDF

Info

Publication number
CN108881002A
CN108881002A CN201810587755.4A CN201810587755A CN108881002A CN 108881002 A CN108881002 A CN 108881002A CN 201810587755 A CN201810587755 A CN 201810587755A CN 108881002 A CN108881002 A CN 108881002A
Authority
CN
China
Prior art keywords
knitting machine
data
wifi
module
gateway
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
CN201810587755.4A
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.)
Zhejiang Sci Tech University ZSTU
Zhejiang University of Science and Technology ZUST
Original Assignee
Zhejiang Sci Tech University ZSTU
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 Zhejiang Sci Tech University ZSTU filed Critical Zhejiang Sci Tech University ZSTU
Priority to CN201810587755.4A priority Critical patent/CN108881002A/en
Publication of CN108881002A publication Critical patent/CN108881002A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Knitting Machines (AREA)

Abstract

The invention discloses a kind of knitting machine gateway and control methods, including:For receiving the data of knitting machine or sending the serial communication modular of data to knitting machine;For the data received to be parsed and are switched to the MCU processor of the format of unified standard;Data for parsing the MCU processor are sent to the WIFI communication module of Cloud Server;Memory module for storing data;For the power module for the MCU processor and knitting machine power supply;With the display module for being used to indicate the system mode of the knitting machine gateway, power supply status and WIFI connection status.The invention has the beneficial effects that can be realized interconnecting for the knitting machine equipment of different manufacturer's different models, so that production process realizes digitization management.

Description

A kind of knitting machine gateway and control method
Technical field
The present invention relates to modern textile equipment interconnection plane field, specifically a kind of knitting machine gateway and control method.
Background technique
Existing knitting machine is not networked each other substantially based on single-unit operation, and general a worker management several Equipment can complete braiding process, style according to the style that re-packs although equipment itself has relatively advanced control system The transmission of file, the report of equipment state, the summarizing of production efficiency, employee's operation supervision be entirely that artificial summarized manner is complete At real-time and poor reliability, efficiency is also very low.
Even knitting machine can be networked, same equipment also tends to be provided by multiple manufacturing enterprises, device controller difference Greatly, and different enterprises all networks according to proprietary protocol, cannot achieve and interconnects, and is unfavorable for production process and carries out number Change management.
Summary of the invention
The main object of the present invention is to provide a kind of knitting machine gateway and control method, to realize that knitting machine interconnects.
The present invention proposes a kind of knitting machine gateway, including:For receiving the data of knitting machine or sending data to knitting machine Serial communication modular;For the data received to be parsed and are switched to the MCU processor of the format of unified standard, is used for WIFI communication module, the memory module for storing data that the data that the MCU processor parses are sent to Cloud Server; For the power module for the MCU processor and knitting machine power supply;Be used to indicate the knitting machine gateway system mode, The display module of power supply status and WIFI connection status;The MCU processor respectively with the serial communication modular, described WIFI communication module, the memory module, the power module, the display module are connected;The display module includes instruction First LED display lamp of the system mode of the knitting machine gateway indicates that the 2nd LED of the power supply status of knitting machine gateway is shown 3rd LED display lamp of the WIFI connection status of lamp and instruction knitting machine gateway.
Further, serial communication modular includes RS422 serial ports, RS232 serial ports, high speed Ethernet serial ports.
Further, memory module includes first memory for storing the operational data of knitting machine and solid for storing Determine information to ease up stored second memory.
Further, the first memory is flash memory;The second memory is ferroelectric memory.
Further, the first LED display lamp and the different each other color of the 2nd LED display lamp and the 3rd LED display lamp.
Further, LED display lamp is respectively red light, green light and amber light, and red light is used to indicate system mode, and system is normal Red light is always on, system exception blinking red lamp, and the inactive red light of system goes out;Green light is used to indicate gateway power supply status, and power supply is connected Green light, power supply access failure green light go out;Amber light is used to indicate WIFI connection status, and WIFI normally connects that then amber light is bright, and WIFI is not Then amber light goes out for connection.
Further, MCU processor reads the previous data in memory module and is transferred to newest data and deposits Memory modules;It is whether identical as previous data to judge the data, if otherwise sending the data to WIFI communication module, if Then postpone 3s and transmits the data to Cloud Server via WIFI communication module.
A kind of control method of knitting machine gateway, includes the following steps:
The WIFI communication block search WIFI signal of knitting machine gateway simultaneously connects WIFI according to the information received;
Judge in preset time WIFI whether successful connection, such as otherwise send connection failure information to knitting machine, in this way then Successful connection information is sent to knitting machine and sends connection request to server;
After knitting machine receives successful connection information, the equipment unique identifier of knitting machine is sent to knitting machine gateway;
Equipment unique identifier is converted to the format of unified standard by the MCU processor of knitting machine gateway, and will be after conversion Unique identifier be transmitted to Cloud Server via WIFI communication module;
Cloud Server authenticates equipment unique identifier and judges whether certification passes through;
If then storing the information to the memory module of knitting machine gateway, if otherwise sending needle to knitting machine gateway again The equipment unique identifier of loom;
The knitting machine interval predetermined time sends a real-time running data to the serial communication modular of knitting machine gateway;
MCU processor reads the previous data in memory module and newest data is transferred to memory module, Latest data is substituted previous data and stored by memory module;
Whether MCU processor judges the data identical as previous data, if otherwise sending the data to WIFI communication Module transmits the data to Cloud Server via WIFI communication module if then postponing preset interval time.
Further, preset interval time 3s.
Further, the timer for timing is equipped in WIFI communication module;The preset time is 18 seconds.
The invention has the beneficial effects that:A kind of gateway that data outlet is unified is provided, includes WIFI networking module.It can incite somebody to action One kind is that the active service for not having networking interface is knitted machine equipment, and another kind of is to have networking interface but with proprietary protocol output data Knitting machine equipment, be connected on the same server, realize different manufacturer's different models knitting machine equipment interconnection it is mutual It is logical.
Detailed description of the invention
Fig. 1 is the structural block diagram of knitting machine gateway of the present invention;
Fig. 2 is the flow chart of the control method of knitting machine gateway of the present invention.
Specific embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail, it is to be understood that protection model of the invention It encloses and is not limited by the specific implementation.
As shown in Figure 1, a kind of knitting machine gateway 100, including:For receiving the data of knitting machine or sending number to knitting machine According to serial communication modular 20;For the data received to be parsed and are switched to the MCU processor of the format of unified standard 10;Data for parsing MCU processor are sent to the WIFI communication module 40 of Cloud Server;Storage for storing data Module 30;For for MCU processor and knitting machine power supply power module 40 and be used to indicate knitting machine gateway system mode, Power supply status and the display module of WIFI connection status 50;MCU processor 10 is communicated with serial communication modular 20, WIFI respectively Module 40, memory module 30, power module 40, display module 50 are connected;Display module 50 includes that instruction knitting machine gateway is First LED display lamp of system state indicates the 2nd LED display lamp and instruction knitting machine of the power supply status of knitting machine gateway 3rd LED display lamp of the WIFI connection status of gateway.
As a kind of specific embodiment, serial communication modular 20 includes RS422 serial ports, RS232 serial ports, high speed Ethernet Serial ports.
Specifically, serial communication module 20 passes through RS422 interface, RS232 interface, high speed Ethernet serial ports and knitting machine Master control borad connection, the Various types of data such as creation data, operation data, equipment configuration parameter for receiving weft-knitting machine, and Data are transmitted to MCU processor 10;It is also used for for the data that MCU processor 10 has been handled being sent to knitting machine equipment, including control System instruction, style file etc..
As a kind of specific embodiment, memory module 30 includes the first storage for storing the operational data of knitting machine Device and ease up stored second memory for storing fix information.
As a kind of specific embodiment, first memory is flash memory;The second memory is ferroelectricity storage Device.
Specifically, flash memory storage time is longer, for when knitting machine gateway and Cloud Server disconnect, The data of knitting machine are preserved, when knitting machine gateway reconnects upper Cloud Server, will be sent out in the data stored It send to Cloud Server.Ferroelectric memory is used to store fix information including knitting machine equipment unique number etc., cache information Newest real time data etc., a newest real time data for processor in MCU are previous in ferroelectric memory by covering Real time data.
As a kind of specific embodiment, the first LED display lamp and the 2nd LED display lamp and the 3rd LED display lamp are each other Different colors.
As a kind of specific embodiment, LED display lamp is respectively red light, green light and amber light, and red light is used to indicate system State, the normal red light of system are always on, and system exception blinking red lamp, the inactive red light of system goes out;Green light is used to indicate gateway power supply State, power supply connect green light, and power supply access failure green light goes out;Amber light is used to indicate WIFI connection status, and WIFI is normally connected then Amber light is bright, and the not connected then amber light of WIFI goes out.
Specifically, the system mode of gateway is whether modules connection relationship is normal condition.
As a kind of specific embodiment, MCU processor reads the previous data in memory module and will be newest Data are transferred to memory module;It is whether identical as previous data to judge the data, if otherwise sending the data to WIFI Communication module 40 transmits the data to Cloud Server via WIFI communication module 40 if then postponing 3s.
As shown in Fig. 2, a kind of control method of knitting machine gateway, includes the following steps:
S110:The WIFI communication module 40 of knitting machine gateway searches for WIFI signal and according to the information connection received WIFI;
S120:Judge in preset time WIFI whether successful connection, such as otherwise send connection failure information to knitting machine, such as It is then to send successful connection information to knitting machine and send connection request to server;
S130:After knitting machine receives successful connection information, the equipment unique identifier of knitting machine is sent to knitting machine net It closes;
S140:Equipment unique identifier is converted to the format of unified standard by the MCU processor 10 of knitting machine gateway, and will Unique identifier after conversion is transmitted to Cloud Server via WIFI communication module 40;
S150:Cloud Server authenticates equipment unique identifier and judges whether certification passes through;
S160:If then storing the information to the memory module 30 of knitting machine gateway, if otherwise again to knitting machine net Close the equipment unique identifier for sending knitting machine;
S170:The knitting machine interval predetermined time sends a real time execution number to the serial communication modular 20 of knitting machine gateway According to;
S180:MCU processor 10 reads the previous data in memory module 30 and is transferred to newest data and deposits Latest data is substituted previous data and stored by memory modules 30, memory module 30;
S190:Whether MCU processor 10 judges the data identical as previous data, if otherwise sending the data to WIFI communication module 40 transmits the data to Cloud Server via WIFI communication module 40 if then postponing preset interval time.
As a kind of specific embodiment, preset interval time 3s.
As a kind of specific embodiment, the timer for timing is equipped in WIFI communication module 40;When described default Between be 18 seconds.
The basic principles, main features and advantages of the invention have been shown and described above.The technical staff of the industry should Understand, the above embodiments do not limit the invention in any form, all obtained by the way of equivalent substitution or equivalent transformation Technical solution is fallen within the scope of protection of the present invention.

Claims (10)

1. a kind of knitting machine gateway, which is characterized in that including:
For receiving the data of knitting machine or sending the serial communication modular of data to knitting machine;
For the data received to be parsed and are switched to the MCU processor of the format of unified standard;
Data for parsing the MCU processor are sent to the WIFI communication module of Cloud Server;
Memory module for storing data;
For the power module for the MCU processor and knitting machine power supply;With
It is used to indicate the display module of the system mode of the knitting machine gateway, power supply status and WIFI connection status;
The MCU processor respectively with the serial communication modular, the WIFI communication module, the memory module, the electricity Source module, the display module are connected;
The display module includes the first LED display lamp for indicating the system mode of the knitting machine gateway, indicates knitting machine net 3rd LED display lamp of the WIFI connection status of the 2nd LED display lamp and instruction knitting machine gateway of the power supply status of pass.
2. a kind of knitting machine gateway according to claim 1, which is characterized in that the serial communication modular includes RS422 Serial ports, RS232 serial ports, high speed Ethernet serial ports.
3. a kind of knitting machine gateway according to claim 1, which is characterized in that the memory module includes for storing needle The first memory of the operational data of loom and ease up stored second memory for storing fix information.
4. a kind of knitting machine gateway according to claim 3, which is characterized in that the first memory is flash memory; The second memory is ferroelectric memory.
5. a kind of knitting machine gateway according to claim 1, it is characterised in that the first LED display lamp and the 2nd LED Display lamp and the different each other color of the 3rd LED display lamp.
6. a kind of knitting machine gateway according to claim 5, it is characterised in that the LED display lamp is respectively red light, green Lamp and amber light;
Red light is used to indicate system mode, and the normal red light of system is always on, and system exception blinking red lamp, the inactive red light of system goes out;
Green light is used to indicate gateway power supply status, and power supply connects green light, and power supply access failure green light goes out;
Amber light is used to indicate WIFI connection status, and WIFI normally connects that then amber light is bright, and the not connected then amber light of WIFI goes out.
7. according to claim 1 to a kind of knitting machine gateway described in 6 any one, which is characterized in that MCU processor reading is deposited Newest data are simultaneously transferred to memory module by previous data in memory modules;Judge the data is with previous data It is no identical, if otherwise sending the data to WIFI communication module, if postponing 3s via WIFI communication module to cloud service Device transmits the data.
8. a kind of control method of knitting machine gateway, which is characterized in that include the following steps:
The WIFI communication block search WIFI signal of knitting machine gateway simultaneously connects WIFI according to the information received;
Judge in preset time WIFI whether successful connection, such as otherwise connection failure information is sent to knitting machine, in this way then to needle Loom sends successful connection information and sends connection request to server;
After knitting machine receives successful connection information, the equipment unique identifier of knitting machine is sent to knitting machine gateway;
Equipment unique identifier is converted to the format of unified standard by the MCU processor of knitting machine gateway, and by after conversion only One identification code is transmitted to Cloud Server via WIFI communication module;
Cloud Server authenticates equipment unique identifier and judges whether certification passes through;
If then storing the information to the memory module of knitting machine gateway, if otherwise sending knitting machine to knitting machine gateway again Equipment unique identifier;
The knitting machine interval predetermined time sends a data to the serial communication modular of knitting machine gateway;
MCU processor reads the previous data in memory module and newest data is transferred to memory module;
It is whether identical as previous data to judge the data, if otherwise sending the data to WIFI communication module, if prolonging Slow preset interval time transmits the data to Cloud Server via WIFI communication module.
9. a kind of control method of knitting machine gateway according to claim 8, which is characterized in that the preset interval time For 3s.
10. a kind of control method of knitting machine gateway according to claim 8, which is characterized in that the WIFI communicates mould The timer for timing is equipped in block;The preset time is 18 seconds.
CN201810587755.4A 2018-06-08 2018-06-08 A kind of knitting machine gateway and control method Pending CN108881002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810587755.4A CN108881002A (en) 2018-06-08 2018-06-08 A kind of knitting machine gateway and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810587755.4A CN108881002A (en) 2018-06-08 2018-06-08 A kind of knitting machine gateway and control method

Publications (1)

Publication Number Publication Date
CN108881002A true CN108881002A (en) 2018-11-23

Family

ID=64337409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810587755.4A Pending CN108881002A (en) 2018-06-08 2018-06-08 A kind of knitting machine gateway and control method

Country Status (1)

Country Link
CN (1) CN108881002A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069873A (en) * 2021-11-29 2022-02-18 嘉兴华炳物联网科技有限公司 Power consumption safety intelligent monitoring system based on secondary circuit

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684943A (en) * 2012-04-18 2012-09-19 北京经纬纺机新技术有限公司 Textile industrial ethernet monitoring system and method thereof
CN103139059A (en) * 2013-02-19 2013-06-05 中国矿业大学 Coal mine electromechanical equipment data acquisition and analysis gateway
CN104063611A (en) * 2014-07-02 2014-09-24 苏州市叶绣工艺厂 Textile fabric embroidered sample simulation system
US20150106484A1 (en) * 2013-10-16 2015-04-16 Power-All Networks Limited Gateway management system, and method thereof
CN205992168U (en) * 2016-08-31 2017-03-01 浙江日发纺织机械股份有限公司 A kind of spinning equipment Internet of Things network control system
WO2017107798A1 (en) * 2015-12-25 2017-06-29 江南大学 Knitting production management system terminal
CN107635008A (en) * 2017-10-09 2018-01-26 浙江理工大学 A kind of knitting machine interconnection plane system and operational process
CN207218727U (en) * 2017-07-13 2018-04-10 诸暨越博企业管理咨询有限公司 A kind of detachable wall inserted computer gateway

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684943A (en) * 2012-04-18 2012-09-19 北京经纬纺机新技术有限公司 Textile industrial ethernet monitoring system and method thereof
CN103139059A (en) * 2013-02-19 2013-06-05 中国矿业大学 Coal mine electromechanical equipment data acquisition and analysis gateway
US20150106484A1 (en) * 2013-10-16 2015-04-16 Power-All Networks Limited Gateway management system, and method thereof
CN104063611A (en) * 2014-07-02 2014-09-24 苏州市叶绣工艺厂 Textile fabric embroidered sample simulation system
WO2017107798A1 (en) * 2015-12-25 2017-06-29 江南大学 Knitting production management system terminal
CN205992168U (en) * 2016-08-31 2017-03-01 浙江日发纺织机械股份有限公司 A kind of spinning equipment Internet of Things network control system
CN207218727U (en) * 2017-07-13 2018-04-10 诸暨越博企业管理咨询有限公司 A kind of detachable wall inserted computer gateway
CN107635008A (en) * 2017-10-09 2018-01-26 浙江理工大学 A kind of knitting machine interconnection plane system and operational process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069873A (en) * 2021-11-29 2022-02-18 嘉兴华炳物联网科技有限公司 Power consumption safety intelligent monitoring system based on secondary circuit

Similar Documents

Publication Publication Date Title
CN106487589B (en) Terminal automatic access and configuration management method
CN109254789A (en) The automatically controlled firmware programming method of smart machine, system, smart machine and server
CN104052631A (en) Equipment information collecting method, device and system
CN108717282A (en) A kind of embedded rapier loom dedicated control system based on cloud platform
CN110445682B (en) Method, server, equipment and system for monitoring survival state of networking node
CN104811339A (en) Intelligent networking method based on arbitration-free bus
CN108572634A (en) Intelligent coal preparation plant's TOCOM total communication breath system and its data acquisition and the method that exchanges
CN105137928A (en) Full-automatic production line data collection method and system thereof
CN101593128B (en) Intelligent platform management controller (IPMC) in ATCA system based on real-time operating system and construction method thereof
CN111030867B (en) Communication acquisition device based on dial switch and communication protocol configuration-free method
CN108881002A (en) A kind of knitting machine gateway and control method
CN104639358B (en) batch network port switching method and switching system
CN108683590A (en) The data transmission method of industrial Internet of Things and intelligent gateway therein, intelligent gateway
CN108107794A (en) LED street lamp information terminal and information gathering and processing method with transporting function
CN101587351B (en) Reliable communication method of intelligent electronic device
CN101977078A (en) Method and system for processing remote failure device in optical transfer network
CN112291091A (en) Resource sharing method for substation data communication gateway machine
CN208569355U (en) A kind of embedded rapier loom dedicated control system based on cloud platform
CN100505970C (en) Control system and method for light emitting network
CN105759697A (en) Informatization monitoring management system for elevator
CN207560418U (en) A kind of building intelligent illumination control apparatus
CN109687985B (en) Automatic configuration method and system for process level network of transformer substation
CN109495597A (en) System and method, the equipment on-line management method of online modification device target address
CN104580507A (en) Field station data transmission and integration method
CN201178508Y (en) Lamp control system

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