CN114911629A - Loom data acquisition method and device, storage medium and processor - Google Patents

Loom data acquisition method and device, storage medium and processor Download PDF

Info

Publication number
CN114911629A
CN114911629A CN202210677115.9A CN202210677115A CN114911629A CN 114911629 A CN114911629 A CN 114911629A CN 202210677115 A CN202210677115 A CN 202210677115A CN 114911629 A CN114911629 A CN 114911629A
Authority
CN
China
Prior art keywords
data
loom
collector
data acquisition
user
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
CN202210677115.9A
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.)
Shanghai Zhijing Information Technology Co ltd
Original Assignee
Shanghai Zhijing Information Technology 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 Shanghai Zhijing Information Technology Co ltd filed Critical Shanghai Zhijing Information Technology Co ltd
Priority to CN202210677115.9A priority Critical patent/CN114911629A/en
Publication of CN114911629A publication Critical patent/CN114911629A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/502Proximity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Looms (AREA)

Abstract

The embodiment of the invention provides a method and a device for collecting loom data, a processor and a storage medium. The method comprises the following steps: adjusting the shift file of the service system to be consistent with the shift file of the loom; binding a data acquisition device with a service system; starting a data acquisition device; the data acquisition unit reports the acquired loom data to the edge end so as to calculate the loom data through the edge end; writing the calculated loom data into a message queue of a service system according to a preset rule; the service system acquires the loom data through the consumption message queue. Through the technical scheme, the management cost of the mill is reduced, and the digital transformation and digital intelligent upgrading of the mill are optimized.

Description

一种织机数据的采集方法、装置、存储介质及处理器A method, device, storage medium and processor for collecting loom data

技术领域technical field

本发明涉及计算机技术领域,具体地涉及一种织机数据的采集方法、装置、存储介质及处理器。The invention relates to the technical field of computers, and in particular to a method, device, storage medium and processor for collecting data of a loom.

背景技术Background technique

目前越来越多的纺织企业正在进行数字化改造和智能化升级,现有技术中心主要改造方式都是安装采集器,通过采集织机电信号并转换为相应的的圈数、转速、状态等数据,对采集报文进行计算及相关处理后转化为客户业务数据,但由于网络丢包、数据延迟、数据统计逻辑差异等,导致采集数据与机台面板数据有差异,增加了织厂管理成本,阻碍了纺织行业的技术发展。At present, more and more textile enterprises are undergoing digital transformation and intelligent upgrading. The main transformation method of the existing technology center is to install collectors. After calculating and processing the collected packets, they are converted into customer business data. However, due to network packet loss, data delay, and differences in data statistics logic, the collected data is different from the machine panel data, which increases the management cost of the weaving factory and hinders technological development in the textile industry.

发明内容SUMMARY OF THE INVENTION

本发明实施例的目的是提供一种织机数据的采集方法、装置、存储介质及处理器。The purpose of the embodiments of the present invention is to provide a method, device, storage medium and processor for collecting data of a loom.

为了实现上述目的,本发明第一方面提供一种织机数据的采集方法,包括:In order to achieve the above purpose, a first aspect of the present invention provides a method for collecting data of a loom, including:

将业务系统的班次档案调整至与织机的班次档案一致;Adjust the shift file of the business system to be consistent with the shift file of the loom;

将数据采集器与业务系统绑定;Bind the data collector to the business system;

启动数据采集器;Start the data collector;

数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算;The data collector reports the collected loom data to the edge end, so as to calculate the loom data through the edge end;

将计算后的织机数据按照预设的规则写入至业务系统的消息队列;Write the calculated loom data to the message queue of the business system according to the preset rules;

业务系统通过消费消息队列,以获取织机数据。The business system obtains the loom data by consuming the message queue.

在本申请的实施例中,织机数据的采集方法还包括:在获取织机数据后,将织机数据与工厂的业务数据进行匹配;将业务数据与织机数据进行组装,以得到完整的用户数据;对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据。In the embodiment of the present application, the method for collecting loom data further includes: after acquiring the loom data, matching the loom data with the business data of the factory; assembling the business data and the loom data to obtain a complete User data; persists user data so that users can view user data through a third-party interface.

在本申请的实施例中,将数据采集器与业务系统绑定包括:通过移动端登录业务系统的客户端;进入业务系统的客户端的设备绑定界面;在设备绑定界面输入数据采集器的设备编号,以将数据采集器与业务系统绑定。In the embodiment of the present application, binding the data collector with the business system includes: logging in to the client of the business system through a mobile terminal; entering the device binding interface of the client of the business system; inputting the data collector's information on the device binding interface Device number to bind the data collector with the business system.

在本申请的实施例中,对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据包括:对用户数据进行持久化处理,以使用户可通过第三方界面查看织机的监控数据、织机的工况日报和月报数据中的至少一者。In the embodiment of the present application, performing persistence processing on the user data so that the user can view the user data through a third-party interface includes: performing persistent processing on the user data, so that the user can view the monitoring of the loom through the third-party interface Data, at least one of daily and monthly data of operating conditions of the loom.

在本申请的实施例中,织机数据包括织机的转速、效率、产量、班次、纬密、品种、故障类型中的至少一者。In the embodiment of the present application, the loom data includes at least one of the rotation speed, efficiency, output, shift, weft density, variety, and failure type of the loom.

在本申请的实施例中,织机数据的采集方法还包括:在将数据采集器与业务系统绑定之前,将数据采集器注册到硬件管理平台;在数据采集器中安装数据网络信号卡,并将数据采集器与织机连接以完成数据采集器的安装。In the embodiment of the present application, the method for collecting loom data further includes: before binding the data collector with the business system, registering the data collector to the hardware management platform; installing a data network signal card in the data collector, And connect the data collector with the loom to complete the installation of the data collector.

在本申请的实施例中,织机数据的采集方法还包括:在启动数据采集器后,检测数据采集器的信号指示灯;在信号指示灯为正常指示灯的情况下,确定数据采集器处于网络连通的状态;在信号指示灯为异常指示灯的情况下,发送警示提示至对应的技术人员,以对数据采集器的异常情况进行处理。In the embodiment of the present application, the method for collecting loom data further includes: after starting the data collector, detecting the signal indicator light of the data collector; in the case that the signal indicator light is a normal indicator light, determining that the data collector is in The state of network connectivity; if the signal indicator is an abnormal indicator, send a warning to the corresponding technician to deal with the abnormal situation of the data collector.

本发明第二方面提供一种处理器,被配置成执行上织机数据的采集方法。A second aspect of the present invention provides a processor configured to perform a method of collecting data on an upper loom.

本发明第三方面提供一种织机数据的采集装置装置,所述织机数据的采集装置装置包括处理器。A third aspect of the present invention provides a device for collecting data from a loom, the device for collecting data from a loom includes a processor.

本发明第四方面提供一种机器可读存储介质,该机器可读存储介质上存储有指令,该指令在被处理器执行时使得所述处理器被配置成执行上述的织机数据的采集方法。A fourth aspect of the present invention provides a machine-readable storage medium, where instructions are stored on the machine-readable storage medium, the instructions, when executed by a processor, cause the processor to be configured to execute the above-mentioned method for collecting loom data .

上述织机数据的采集方法、装置、存储介质及处理器,通过将业务系统的班次档案调整至与织机的班次档案一致;将数据采集器与业务系统绑定;启动数据采集器;数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算;将计算后的织机数据按照预设的规则写入至业务系统的消息队列;业务系统通过消费消息队列,以获取织机数据。通过上述技术方案,减少了织厂的管理成本,优化织厂数字化改造和数字化智能升级。The above-mentioned loom data collection method, device, storage medium and processor, by adjusting the shift file of the business system to be consistent with the shift file of the loom; binding the data collector with the business system; starting the data collector; data collection The controller reports the collected loom data to the edge, so as to calculate the loom data through the edge; writes the calculated loom data to the message queue of the business system according to the preset rules; the business system consumes messages by Queue to get loom data. Through the above technical solutions, the management cost of the weaving factory is reduced, and the digital transformation and digital intelligent upgrade of the weaving factory are optimized.

本发明实施例的其它特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of embodiments of the present invention will be described in detail in the detailed description section that follows.

附图说明Description of drawings

附图是用来提供对本发明实施例的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明实施例,但并不构成对本发明实施例的限制。在附图中:The accompanying drawings are used to provide a further understanding of the embodiments of the present invention, and constitute a part of the specification, and are used to explain the embodiments of the present invention together with the following specific embodiments, but do not constitute limitations to the embodiments of the present invention. In the attached image:

图1示意性示出了根据本申请实施例的织机数据的采集方法的流程示意图;FIG. 1 schematically shows a flow chart of a method for collecting data of a loom according to an embodiment of the present application;

图2示意性示出了根据本申请实施例的协议采集链路示意图;FIG. 2 schematically shows a schematic diagram of a protocol acquisition link according to an embodiment of the present application;

图3示意性示出了根据本发明实施例的计算机设备的内部结构图。FIG. 3 schematically shows an internal structure diagram of a computer device according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本申请实施例的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本申请实施例,并不用于限制本申请实施例。The specific implementations of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific implementation manners described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application.

图1示意性示出了根据本申请实施例的织机数据的采集方法的流程示意图。如图1所示,在本申请实施例中,提供了一种织机数据的采集方法,包括以下步骤:FIG. 1 schematically shows a schematic flowchart of a method for collecting data of a loom according to an embodiment of the present application. As shown in FIG. 1 , in the embodiment of the present application, a method for collecting data of a loom is provided, which includes the following steps:

步骤101,将业务系统的班次档案调整至与织机的班次档案一致。Step 101: Adjust the shift file of the business system to be consistent with the shift file of the loom.

步骤102,将数据采集器与业务系统绑定。Step 102, bind the data collector with the business system.

步骤103,启动数据采集器。Step 103, start the data collector.

步骤104,数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算。In step 104, the data collector reports the collected loom data to the edge end, so as to calculate the loom data through the edge end.

步骤105,将计算后的织机数据按照预设的规则写入至业务系统的消息队列。Step 105: Write the calculated loom data to the message queue of the business system according to a preset rule.

步骤106,业务系统通过消费消息队列,以获取织机数据。Step 106, the business system obtains the loom data through the consumption message queue.

业务系统包括网页端、小程序、APP端,班次档案指机台各班次开始时间。比如,夜班是00:00至08点,白班是08:00至16:00,中班是16:00至00:00。The business system includes a web page, a small program, and an APP. The shift file refers to the start time of each shift of the machine. For example, the night shift is from 00:00 to 08:00, the day shift is from 08:00 to 16:00, and the middle shift is from 16:00 to 00:00.

在一个实施例中,将业务系统的班次档案调整至与织机的班次档案一致,将数据采集器与业务系统绑定;将数据采集器与业务系统绑定包括:通过移动端登录业务系统的客户端;进入业务系统的客户端的设备绑定界面;在设备绑定界面输入数据采集器的设备编号,以将数据采集器与业务系统绑定,启动数据采集器,数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算,将计算后的织机数据按照预设的规则写入至业务系统的消息队列。可以获取织机的班次档案数据,在业务系统中调整班次档案数据和织机的班次档案数据一致,再将数据采集器注册到硬件管理平台,在数据采集器中安装数据网络信号卡,并将数据采集器设备与织机连接以完成数据采集器设备的安装。In one embodiment, the shift file of the business system is adjusted to be consistent with the shift file of the loom, and the data collector is bound to the business system; binding the data collector to the business system includes: logging in to the business system through a mobile terminal Client; enter the device binding interface of the client of the business system; enter the device number of the data collector in the device binding interface to bind the data collector with the business system, start the data collector, and the data collector will collect the The loom data is reported to the edge, so that the loom data can be calculated by the edge, and the calculated loom data is written to the message queue of the business system according to the preset rules. The shift file data of the loom can be obtained, the shift file data of the loom can be adjusted in the business system to be consistent with the shift file data of the loom, and then the data collector is registered to the hardware management platform, the data network signal card is installed in the data collector, and the The data collector device is connected with the loom to complete the installation of the data collector device.

在一个实施例中,织机数据的采集方法还包括:在将数据采集器与业务系统绑定之前,将数据采集器注册到硬件管理平台;在数据采集器中安装数据网络信号卡,并将数据采集器与织机连接以完成数据采集器的安装。In one embodiment, the method for collecting loom data further includes: before binding the data collector with the business system, registering the data collector to the hardware management platform; installing a data network signal card in the data collector, and connecting the data collector to the hardware management platform; The data collector is connected with the loom to complete the installation of the data collector.

每个数据采集器设备都有唯一的设备编号,数据采集器设备编号可以通过扫描数据采集器的二维码获取,将数据采集器设备的设备编号和基本信息上传到硬件管理平台,即完成数据采集器设备到硬件管理平台的注册。其中,硬件管理平台是硬件统一管理平台,硬件管理平台可以对硬件的基本信息进行维护,硬件的基本信息包括硬件的参数详情、硬件的使用说明、硬件的使用情况等。数据采集器是基于Modbus TCP协议的采集设备,ModbusTCP协议是应用层报文传输协议,数据采集器采集到的数据通过Modbus TCP协议传输数据。数据网络信号卡包括4G信号卡、5G信号卡和连接WIFI的信号卡。Each data collector device has a unique device number. The data collector device number can be obtained by scanning the QR code of the data collector. Upload the device number and basic information of the data collector device to the hardware management platform, that is, to complete the data The registration of the collector device to the hardware management platform. Among them, the hardware management platform is a unified management platform for hardware, and the hardware management platform can maintain the basic information of the hardware. The data collector is a collection device based on the Modbus TCP protocol. The Modbus TCP protocol is an application layer message transmission protocol. The data collected by the data collector is transmitted through the Modbus TCP protocol. Data network signal cards include 4G signal cards, 5G signal cards and signal cards connected to WIFI.

在一个实施例中,将数据采集器与业务系统绑定包括:通过移动端登录业务系统的客户端;进入业务系统的客户端的设备绑定界面;在设备绑定界面输入数据采集器的设备编号,以将数据采集器与业务系统绑定。In one embodiment, binding the data collector with the business system includes: logging in to the client of the business system through a mobile terminal; entering a device binding interface of the client of the business system; inputting the device number of the data collector on the device binding interface , to bind the data collector with the business system.

数据采集器设备安装数据网络信号卡后,将数据采集器设备与织机连通过线路连接,当确认所有线路连接成功后即完成数据采集器设备的安装。将数据采集器与业务系统绑定,其中,用户通过移动端登录业务系统的客户端,进入业务系统的客户端的设备绑定界面,可以在设备绑定界面输入数据采集器的设备编号,以将数据采集器与业务系统绑定。具体的,每个采集器设备都有唯一的设备编号,采集器设备编号可以通过扫描采集器的二维码获取,在设备绑定界面输入数据采集器的设备编号,再输入采集原因,以将数据采集器与业务系统绑定。After the data collector equipment is installed with the data network signal card, connect the data collector equipment to the loom through a line connection, and complete the installation of the data collector equipment after confirming that all lines are connected successfully. Bind the data collector to the business system, in which the user logs in to the client of the business system through the mobile terminal, enters the device binding interface of the client of the business system, and can enter the device number of the data collector on the device binding interface to connect the data collector. The data collector is bound to the business system. Specifically, each collector device has a unique device number. The collector device number can be obtained by scanning the QR code of the collector. Enter the device number of the data collector on the device binding interface, and then enter the collection reason to The data collector is bound to the business system.

在一个实施例中,织机数据的采集方法还包括:在启动数据采集器后,检测数据采集器的信号指示灯;在信号指示灯为正常指示灯的情况下,确定数据采集器处于网络连通的状态;在信号指示灯为异常指示灯的情况下,发送警示提示至对应的技术人员,以对数据采集器的异常情况进行处理。In one embodiment, the method for collecting data of a loom further includes: after starting the data collector, detecting the signal indicator light of the data collector; and in the case that the signal indicator light is a normal indicator light, determining that the data collector is connected to the network If the signal indicator is an abnormal indicator, send a warning to the corresponding technician to deal with the abnormal situation of the data collector.

在启动数据采集器后,检测数据采集器设备的信号指示灯。在信号指示灯为正常指示灯的情况下,确定数据采集器设备处于网络连通的状态;在信号指示灯为异常指示灯的情况下,发送数据采集器设备警示提示至对应的技术人员,技术人员对数据采集器设备的异常情况进行处理。After starting the data collector, check the signal indicator of the data collector device. When the signal indicator is a normal indicator, it is determined that the data collector device is connected to the network; when the signal indicator is an abnormal indicator, a warning prompt of the data collector device is sent to the corresponding technicians. Handle the abnormal situation of the data collector equipment.

数据采集器还可以将采集到的织机数据上报至边缘端,通过边缘端对织机数据进行计算。数据采集器采集的织机数据包括织机的转速、效率、产量、班次、纬密、品种、故障类型中的至少一者。其中,转速是指织机在开机生成是的转速,效率是指织机在单位时间内的生产量,产量是指织机的生成数量,班次是指当前织机所属的班次,纬密是当前织机的织物密度,品种是指当前织机生成的织物品种,故障类型是指当前织机的故障类型包括织机损坏等。The data collector can also report the collected loom data to the edge, and calculate the loom data through the edge. The loom data collected by the data collector includes at least one of rotation speed, efficiency, output, shift, weft density, variety, and failure type of the loom. Among them, the rotation speed refers to the rotation speed of the loom when it is turned on, the efficiency refers to the production volume of the loom in unit time, the output refers to the production quantity of the loom, the shift refers to the shift to which the current loom belongs, and the weft density is the current The fabric density of the loom, the variety refers to the fabric variety generated by the current loom, and the failure type refers to the failure type of the current loom, including loom damage.

在一个实施例中,织机数据的采集方法还包括:在获取织机数据后,将织机数据与工厂的业务数据进行匹配;将业务数据与织机数据进行组装,以得到完整的用户数据;对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据。In one embodiment, the method for collecting loom data further includes: after acquiring the loom data, matching the loom data with the business data of the factory; assembling the business data and the loom data to obtain complete user data ; Persist user data so that users can view user data through a third-party interface.

在一个实施例中,对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据包括:对用户数据进行持久化处理,以使用户可通过第三方界面查看织机的监控数据、织机的工况日报和月报数据中的至少一者。In one embodiment, the persistent processing of the user data so that the user can view the user data through a third-party interface includes: performing persistent processing on the user data, so that the user can view the monitoring data of the loom through the third-party interface, At least one of daily and monthly data of operating conditions of the loom.

边缘端是具有网络、计算、存储、应用核心能力的平台,在数据采集器获取到织机数据后,将织机数据与工厂的业务数据进行匹配。将业务数据与织机数据进行组装,以得到完整的用户数据,对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据。数据进行持久化处理是指将数据保存到数据库进行存储。第三方界面包括浏览器、小程序、APP端等。The edge terminal is a platform with core capabilities of network, computing, storage, and application. After the data collector obtains the loom data, it matches the loom data with the factory's business data. Assemble business data and loom data to obtain complete user data, and perform persistent processing on user data, so that users can view user data through a third-party interface. Data persistence refers to saving data to the database for storage. Third-party interfaces include browsers, mini programs, APPs, etc.

在一个实施例中,织机数据包括织机的转速、效率、产量、班次、纬密、品种、故障类型中的至少一者。数据采集器将采集到的机台生成的转速、效率、产量、班次、纬密、品种、故障类型等数据上报至边缘端计算、存储处理,将数据按相应的规则流程处理写入到对应的业务系统消息队列中,各业务系统通过消费消息队列,获取机台数据并匹配织厂订单、原料等业务数据,组装成完整的数据并进行持久化处理。用户通过浏览器、小程序、APP端登录到系统中查看数据,具体数据包括织机的监控数据、织机的工况日报和月报数据,将织机的监控数据按照年份进行划分得到至少一年监控数据,然后将年监控数据按照月份进行划分得到至少一月监控数据,然后将月监控数据按照该月的天数进行划分得到至少一日监控数据,将日监控数据与其当日的工况日报数据建立映射关系,将月监控数据与其当月的工况月报数据建立映射关系。In one embodiment, the loom data includes at least one of rotational speed, efficiency, output, shift, weft density, variety, and failure type of the loom. The data collector reports the speed, efficiency, output, shift, weft density, variety, fault type and other data generated by the collected machine to the edge for calculation, storage and processing, and writes the data to the corresponding data according to the corresponding rule process. In the message queue of the business system, each business system obtains the machine data and matches the business data such as orders and raw materials of the weaving factory through the consumption message queue, assembles the complete data and performs persistent processing. Users log in to the system through a browser, applet, or APP to view data. The specific data includes the monitoring data of the loom, the daily and monthly report data of the working conditions of the loom, and the monitoring data of the loom is divided according to the year to obtain at least one. Annual monitoring data, then divide the annual monitoring data by month to get at least January monitoring data, then divide the monthly monitoring data according to the number of days in the month to obtain at least one day monitoring data, and divide the daily monitoring data with the daily operating condition data of that day. Establish a mapping relationship, and establish a mapping relationship between the monthly monitoring data and the monthly report data of the current month.

在一个实施例中,织机数据还包括:经密;所述故障类型包括:电机过载、断纬故障和断经故障;通过电机的电压电流信号能够检测出电机是否过载,在电压电流信号超过预设的电压电流阈值的情况下,则判断电机过载,在电机过载的情况下,控制织机停机并发出第一报警信号,通过织机数据的纬密能够判断织机是否断纬,在纬密小于预设纬密阈值的情况下,则判断织机出现断纬故障,控制织机停机,并发出第二报警信号,通过织机数据的经密能够判断织机是否断经,在经密小于预设经密阈值的情况下,则判断织机出现断经故障,控制织机停机,并发出第三报警信号,便于用户根据不同的报警信号知悉织机的故障,以便于根据织机的故障对织机进行及时的修理。In one embodiment, the loom data further includes: warp density; the fault types include: motor overload, weft breaking fault and warp breaking fault; whether the motor is overloaded can be detected through the voltage and current signals of the motor, and when the voltage and current signals exceed In the case of the preset voltage and current thresholds, the motor is judged to be overloaded. In the case of motor overload, the loom is controlled to stop and the first alarm signal is sent. The weft density of the loom data can be used to judge whether the loom is broken or not. When the density is less than the preset weft density threshold, it is judged that the loom has a weft breakage fault, the loom is controlled to stop, and a second alarm signal is issued. Through the warp density of the loom data, it can be judged whether the loom is broken. If it is less than the preset warp density threshold, it will be judged that the loom has a warp breakage fault, the loom will be controlled to stop, and a third alarm signal will be issued, so that the user can know the fault of the loom according to different alarm signals. Repair the loom in a timely manner.

图2是协议采集链路图,如图所示,业务系统包括网页端、小程序、APP端,云端业务包括边缘端及云端服务、服务系统、消息队列。班次档案指机台各班次开始时间。比如,夜班是00:00至08点,白班是08:00至16:00,中班是16:00至00:00。可以获取织机的班次档案数据,在业务系统中调整班次档案数据和织机的班次档案数据一致,将数据采集器与业务系统绑定;用户可通过浏览器、小程序、APP端登录到业务系统的客户端,进入业务系统的客户端的设备绑定界面,用户在设备绑定界面输入数据采集器的设备编号,或者扫描采集器的二维码获取采集器编号,并输入采集器编号,再输入采集原因,以将数据采集器与业务系统绑定,启动数据采集器,数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算,将计算后的织机数据按照预设的规则写入至业务系统的消息队列,对用户数据进行持久化处理,以使用户可通过第三方界面查看织机的监控数据、织机的工况日报和月报数据中的至少一者;其中对用户数据进行持久化处理,可以将用户数据保存到数据库中,用户可以通过浏览器、小程序、APP端登录到系统中查看用户数据,具体数据包括织机的监控数据、织机的工况日报和月报数据。Figure 2 is a diagram of the protocol collection link. As shown in the figure, the business system includes a web page, an applet, and an APP, and the cloud business includes edge and cloud services, service systems, and message queues. The shift file refers to the start time of each shift of the machine. For example, the night shift is from 00:00 to 08:00, the day shift is from 08:00 to 16:00, and the middle shift is from 16:00 to 00:00. The shift file data of the loom can be obtained, the shift file data of the loom can be adjusted in the business system to be consistent with the shift file data of the loom, and the data collector can be bound to the business system; users can log in to the business through browser, applet, and APP. The client of the system, enter the device binding interface of the client of the business system, the user enters the device number of the data collector on the device binding interface, or scans the QR code of the collector to obtain the collector number, and then enters the collector number, and then Enter the collection reason to bind the data collector with the business system, start the data collector, and the data collector will report the collected loom data to the edge, so that the loom data can be calculated through the edge, and the calculated loom data can be calculated. The data of the loom is written to the message queue of the business system according to the preset rules, and the user data is processed persistently, so that the user can view the monitoring data of the loom, the daily and monthly report data of the loom through the third-party interface At least one of them; where the user data is persistently processed, the user data can be saved in the database, and the user can log in to the system through a browser, applet, or APP to view the user data, and the specific data includes the monitoring of the loom. Data, daily and monthly report data of loom conditions.

在一个实施例中,将业务系统的班次档案调整至与织机的班次档案一致,将数据采集器与业务系统绑定,启动数据采集器,在启动数据采集器后,检测数据采集器的信号指示灯;在信号指示灯为正常指示灯的情况下,确定数据采集器处于网络连通的状态;在信号指示灯为异常指示灯的情况下,发送警示提示至对应的技术人员,以对数据采集器的异常情况进行处理,数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算,将计算后的织机数据按照预设的规则写入至业务系统的消息队列,对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据包括:对用户数据进行持久化处理,以使用户可通过第三方界面查看织机的监控数据、织机的工况日报和月报数据中的至少一者。In one embodiment, the shift file of the business system is adjusted to be consistent with the shift file of the loom, the data collector is bound to the business system, the data collector is started, and after the data collector is started, the signal of the data collector is detected Indicator light; if the signal indicator is a normal indicator, it is determined that the data collector is in a state of network connectivity; if the signal indicator is an abnormal indicator, a warning is sent to the corresponding technician to collect data. The abnormal situation of the loom is processed, and the data collector reports the collected loom data to the edge end, so as to calculate the loom data through the edge end, and write the calculated loom data to the business system according to the preset rules. The message queue for user data is persistently processed so that users can view user data through a third-party interface, including: Persistent processing of user data so that users can view the monitoring data of the loom through a third-party interface, At least one of the daily and monthly operating condition data.

业务系统包括网页端、小程序、APP端,班次档案指机台各班次开始时间。比如,夜班是00:00至08点,白班是08:00至16:00,中班是16:00至00:00。可以获取织机的班次档案数据,在业务系统中调整班次档案数据和织机的班次档案数据一致,将数据采集器与业务系统绑定,用户可通过浏览器、小程序、APP端登录到业务系统的客户端,进入业务系统的客户端的设备绑定界面,在设备绑定界面输入数据采集器的设备编号,或者扫描采集器的二维码获取采集器编号,并输入采集器编号,再输入采集原因,以将数据采集器与业务系统绑定,启动数据采集器,在启动数据采集器后,检测数据采集器的信号指示灯;在信号指示灯为正常指示灯的情况下,确定数据采集器处于网络连通的状态,在信号指示灯为异常指示灯的情况下,发送警示提示至对应的技术人员,以对数据采集器的异常情况进行处理,采集的织机数据包括织机的转速、效率、产量、班次、纬密、品种、故障类型中的至少一者,在获取织机数据后,将织机数据与工厂的业务数据进行匹配;将业务数据与织机数据进行组装,以得到完整的用户数据;对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据;具体的;采集机台生成的转速、效率、产量、班次、纬密、品种、故障类型等对织厂管理有价值参考的数据项,将数据报文上抛至边缘端计算、存储处理,并经过规则引擎,将数据按相应的规则流程处理写入到对应的业务系统消息队列中,各业务系统通过消费消息队列,获取机台数据并匹配织厂订单、原料等业务数据,组装成完整的用户数据并进行持久化处理,用户通过浏览器、小程序、APP端登录到系统中,通过查询查看机台生产数据,用户可通过第三方界面查看织机的监控数据、织机的工况日报和月报数据中的至少一者;其中对用户数据进行持久化处理,可以将用户数据保存到数据库中,用户可以通过浏览器、小程序、APP端登录到系统中查看用户数据,具体数据包括织机的监控数据、织机的工况日报和月报数据。The business system includes a web page, a small program, and an APP. The shift file refers to the start time of each shift of the machine. For example, the night shift is from 00:00 to 08:00, the day shift is from 08:00 to 16:00, and the middle shift is from 16:00 to 00:00. The shift file data of the loom can be obtained, the shift file data of the loom can be adjusted in the business system to be consistent with the shift file data of the loom, and the data collector can be bound to the business system. The client of the system, enter the device binding interface of the client of the business system, enter the device number of the data collector on the device binding interface, or scan the QR code of the collector to obtain the collector number, enter the collector number, and then enter The reason for collection is to bind the data collector with the business system, start the data collector, and after starting the data collector, check the signal indicator of the data collector; if the signal indicator is a normal indicator, determine the data collection The data collector is in the state of network connection. When the signal indicator is abnormal indicator, a warning prompt is sent to the corresponding technician to deal with the abnormal situation of the data collector. The collected loom data includes the speed of the loom, At least one of efficiency, output, shift, weft density, variety, and failure type, after acquiring the loom data, match the loom data with the factory's business data; assemble the business data and the loom data to get Complete user data; Persistent processing of user data so that users can view user data through a third-party interface; Concretely; Collect the rotational speed, efficiency, output, shift, weft density, variety, fault type, etc. generated by the machine. The weaving mill manages valuable reference data items, throws data packets to the edge for computing, storage and processing, and through the rule engine, writes the data into the corresponding business system message queues according to the corresponding rule process. Through the consumption message queue, the system obtains machine data and matches business data such as weaving factory orders and raw materials, and assembles complete user data for persistent processing. To view the production data of the machine, the user can view at least one of the monitoring data of the loom, the daily and monthly report data of the loom through the third-party interface; the user data is persistently processed, and the user data can be saved to In the database, users can log in to the system through a browser, applet, or APP to view user data. The specific data includes the monitoring data of the loom, and the daily and monthly report data of the working condition of the loom.

上述织机数据的采集方法、装置、存储介质及处理器,通过将业务系统的班次档案调整至与织机的班次档案一致;将数据采集器与业务系统绑定;启动数据采集器;数据采集器将采集到的织机数据上报至边缘端,以通过边缘端对织机数据进行计算;将计算后的织机数据按照预设的规则写入至业务系统的消息队列;业务系统通过消费消息队列,以获取织机数据。通过上述技术方案,减少了织厂的管理成本,优化织厂数字化改造和数字化智能升级。The above-mentioned loom data collection method, device, storage medium and processor, by adjusting the shift file of the business system to be consistent with the shift file of the loom; binding the data collector with the business system; starting the data collector; data collection The controller reports the collected loom data to the edge, so as to calculate the loom data through the edge; writes the calculated loom data to the message queue of the business system according to the preset rules; the business system consumes messages by Queue to get loom data. Through the above technical solutions, the management cost of the weaving factory is reduced, and the digital transformation and digital intelligent upgrade of the weaving factory are optimized.

本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述织机数据的采集方法。An embodiment of the present invention provides a processor for running a program, wherein the above-mentioned method for collecting data of a loom is executed when the program is running.

在一个实施例中,提供了一种织机数据的采集装置,所述织机数据的采集装置包括处理器。In one embodiment, a device for collecting data from a loom is provided, and the device for collecting data on a loom includes a processor.

本发明实施例提供了一种存储介质,其上存储有程序,该程序被处理器执行时实现上述一种织机数据的采集方法。An embodiment of the present invention provides a storage medium on which a program is stored, and when the program is executed by a processor, the above-mentioned method for collecting data of a loom is implemented.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图3所示。该计算机设备包括通过系统总线连接的处理器A01、网络接口A02、显示屏A04、输入装置A05和存储器(图中未示出)。其中,该计算机设备的处理器A01用于提供计算和控制能力。该计算机设备的存储器包括内存储器A03和非易失性存储介质A06。该非易失性存储介质A06存储有操作系统B01和计算机程序B02。该内存储器A03为非易失性存储介质A06中的操作系统B01和计算机程序B02的运行提供环境。该计算机设备的网络接口A02用于与外部的终端通过网络连接通信。该计算机程序被处理器A01执行时以实现一种织机数据的采集方法。该计算机设备的显示屏A04可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置A05可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 3 . The computer equipment includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected by a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The nonvolatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the nonvolatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, a method for collecting data of a loom is realized. The display screen A04 of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device A05 of the computer equipment can be a touch layer covered on the display screen, or a button, a trackball or a touch screen set on the shell of the computer equipment. It can also be an external keyboard, trackpad or mouse.

本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:将业务系统的班次档案调整至与所述织机的班次档案一致;将所述数据采集器与所述业务系统绑定;启动所述数据采集器;所述数据采集器将采集到的织机数据上报至边缘端,以通过所述边缘端对所述织机数据进行计算;将计算后的织机数据按照预设的规则写入至所述业务系统的消息队列;所述业务系统通过消费所述消息队列,以获取所述织机数据。An embodiment of the present invention provides a device. The device includes a processor, a memory, and a program stored in the memory and running on the processor. When the processor executes the program, the following steps are implemented: adjusting the shift profile of the business system to be the same as that of all the programs. The shift file of the loom is consistent; the data collector is bound to the business system; the data collector is activated; the data collector reports the collected loom data to the edge to pass the The edge end calculates the loom data; writes the calculated loom data to the message queue of the business system according to preset rules; the business system obtains the weave by consuming the message queue. machine data.

在一个实施例中,织机数据的采集方法还包括:在获取织机数据后,将织机数据与工厂的业务数据进行匹配;将业务数据与织机数据进行组装,以得到完整的用户数据;对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据。In one embodiment, the method for collecting loom data further includes: after acquiring the loom data, matching the loom data with the business data of the factory; assembling the business data and the loom data to obtain complete user data ; Persist user data so that users can view user data through a third-party interface.

在一个实施例中,将数据采集器与业务系统绑定包括:通过移动端登录业务系统的客户端;进入业务系统的客户端的设备绑定界面;在设备绑定界面输入数据采集器的设备编号,以将数据采集器与业务系统绑定。In one embodiment, binding the data collector with the business system includes: logging in to the client of the business system through a mobile terminal; entering a device binding interface of the client of the business system; inputting the device number of the data collector on the device binding interface , to bind the data collector with the business system.

在一个实施例中,对用户数据进行持久化处理,以使用户可通过第三方界面查看用户数据包括:对用户数据进行持久化处理,以使用户可通过第三方界面查看织机的监控数据、织机的工况日报和月报数据中的至少一者。In one embodiment, the persistent processing of the user data so that the user can view the user data through a third-party interface includes: performing persistent processing on the user data, so that the user can view the monitoring data of the loom through the third-party interface, At least one of daily and monthly data of operating conditions of the loom.

在一个实施例中,织机数据包括织机的转速、效率、产量、班次、纬密、品种、故障类型中的至少一者。In one embodiment, the loom data includes at least one of rotational speed, efficiency, output, shift, weft density, variety, and failure type of the loom.

在一个实施例中,织机数据的采集方法还包括:在将数据采集器与业务系统绑定之前,将数据采集器注册到硬件管理平台;在数据采集器中安装数据网络信号卡,并将数据采集器与织机连接以完成数据采集器的安装。In one embodiment, the method for collecting loom data further includes: before binding the data collector with the business system, registering the data collector to the hardware management platform; installing a data network signal card in the data collector, and connecting the data collector to the hardware management platform; The data collector is connected with the loom to complete the installation of the data collector.

在一个实施例中,织机数据的采集方法还包括:在启动数据采集器后,检测数据采集器的信号指示灯;在信号指示灯为正常指示灯的情况下,确定数据采集器处于网络连通的状态;在信号指示灯为异常指示灯的情况下,发送警示提示至对应的技术人员,以对数据采集器的异常情况进行处理。In one embodiment, the method for collecting data of a loom further includes: after starting the data collector, detecting the signal indicator light of the data collector; and in the case that the signal indicator light is a normal indicator light, determining that the data collector is connected to the network If the signal indicator is an abnormal indicator, send a warning to the corresponding technician to deal with the abnormal situation of the data collector.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (10)

1. A method for acquiring loom data is characterized in that a data acquisition unit is installed on a loom, and the method comprises the following steps:
adjusting the shift file of the service system to be consistent with the shift file of the loom;
binding the data acquisition device with the service system;
starting the data acquisition device;
the data acquisition unit reports the acquired loom data to the edge end so as to calculate the loom data through the edge end;
writing the calculated loom data into a message queue of the service system according to a preset rule;
and the service system acquires the loom data by consuming the message queue.
2. The method of claim 1, further comprising:
after the loom data are obtained, the loom data are matched with service data of a factory;
assembling the service data and the loom data to obtain complete user data;
and carrying out persistence processing on the user data so that a user can view the user data through a third-party interface.
3. The method of claim 1, wherein binding the data collector with the business system comprises:
logging in a client of the service system through a mobile terminal;
entering a device binding interface of a client of the service system;
and inputting the equipment number of the data collector on the equipment binding interface so as to bind the data collector with the service system.
4. The method of claim 1, wherein persisting the user data such that a user can view the user data through a third-party interface comprises:
and carrying out persistence processing on the user data so that a user can view at least one of the monitoring data of the weaving machine, the working condition daily report and the monthly report data of the weaving machine through a third-party interface.
5. The method of claim 1, wherein the loom data comprises at least one of a rotational speed, an efficiency, a production, a shift, a weft density, a variety, a fault type of the loom.
6. The method of claim 1, further comprising:
registering the data collector to a hardware management platform before binding the data collector with the service system;
and installing a data network signal card in the data acquisition unit, and connecting the data acquisition unit with the loom to complete the installation of the data acquisition unit.
7. The method of claim 1, further comprising:
after the data acquisition unit is started, detecting a signal indicator light of the data acquisition unit;
under the condition that the signal indicator lamp is a normal indicator lamp, determining that the data acquisition unit is in a network communication state;
and sending a warning prompt to a corresponding technician under the condition that the signal indicator lamp is an abnormal indicator lamp so as to process the abnormal condition of the data acquisition unit.
8. A processor, characterized by being configured to perform the method of loom data acquisition according to any one of claims 1 to 7.
9. A device for collecting loom data, characterized in that the device comprises a processor according to claim 8.
10. A machine-readable storage medium having instructions stored thereon, which when executed by a processor causes the processor to be configured to perform the method of acquiring loom data according to any one of claims 1 to 7.
CN202210677115.9A 2022-06-15 2022-06-15 Loom data acquisition method and device, storage medium and processor Pending CN114911629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210677115.9A CN114911629A (en) 2022-06-15 2022-06-15 Loom data acquisition method and device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210677115.9A CN114911629A (en) 2022-06-15 2022-06-15 Loom data acquisition method and device, storage medium and processor

Publications (1)

Publication Number Publication Date
CN114911629A true CN114911629A (en) 2022-08-16

Family

ID=82770065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210677115.9A Pending CN114911629A (en) 2022-06-15 2022-06-15 Loom data acquisition method and device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN114911629A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346861A (en) * 2023-04-12 2023-06-27 上海致景信息科技有限公司 High-redundancy edge computing method, system, equipment and storage medium
CN116679655A (en) * 2023-07-10 2023-09-01 上海致景信息科技有限公司 Method, system, medium and computer for issuing process parameters and reporting data of two-for-one twister
CN117521922A (en) * 2024-01-08 2024-02-06 江苏恒力化纤股份有限公司 Loom time prediction method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109933505A (en) * 2019-03-14 2019-06-25 深圳市珍爱捷云信息技术有限公司 Log processing method, device, computer equipment and storage medium
CN109951326A (en) * 2019-02-28 2019-06-28 北京互金新融科技有限公司 Data processing method, device, storage medium and processor
CN111224817A (en) * 2020-04-21 2020-06-02 重庆鲲量科技有限公司 Distributed micro-acquisition system and method thereof
CN113127732A (en) * 2021-03-23 2021-07-16 金蝶蝶金云计算有限公司 Method and device for acquiring service data, computer equipment and storage medium
CN114090301A (en) * 2021-11-29 2022-02-25 上海致景信息科技有限公司 Weaving factory warp knitting machine equipment control method and device based on cloud management and processor
CN114187250A (en) * 2021-12-03 2022-03-15 上海致景信息科技有限公司 Real-time detection method, device and system for cloth and processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951326A (en) * 2019-02-28 2019-06-28 北京互金新融科技有限公司 Data processing method, device, storage medium and processor
CN109933505A (en) * 2019-03-14 2019-06-25 深圳市珍爱捷云信息技术有限公司 Log processing method, device, computer equipment and storage medium
CN111224817A (en) * 2020-04-21 2020-06-02 重庆鲲量科技有限公司 Distributed micro-acquisition system and method thereof
CN113127732A (en) * 2021-03-23 2021-07-16 金蝶蝶金云计算有限公司 Method and device for acquiring service data, computer equipment and storage medium
CN114090301A (en) * 2021-11-29 2022-02-25 上海致景信息科技有限公司 Weaving factory warp knitting machine equipment control method and device based on cloud management and processor
CN114187250A (en) * 2021-12-03 2022-03-15 上海致景信息科技有限公司 Real-time detection method, device and system for cloth and processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346861A (en) * 2023-04-12 2023-06-27 上海致景信息科技有限公司 High-redundancy edge computing method, system, equipment and storage medium
CN116679655A (en) * 2023-07-10 2023-09-01 上海致景信息科技有限公司 Method, system, medium and computer for issuing process parameters and reporting data of two-for-one twister
CN117521922A (en) * 2024-01-08 2024-02-06 江苏恒力化纤股份有限公司 Loom time prediction method
CN117521922B (en) * 2024-01-08 2024-03-19 江苏恒力化纤股份有限公司 Loom time prediction method

Similar Documents

Publication Publication Date Title
CN114911629A (en) Loom data acquisition method and device, storage medium and processor
CN110086666B (en) Alarm method, device and system
US5668944A (en) Method and system for providing performance diagnosis of a computer system
CN107992398B (en) Monitoring method and monitoring system of service system
WO2021196521A1 (en) Remote operation and maintenance management system and method
JP5571847B2 (en) Anomaly detection system that detects anomalies in multiple control systems
US20120272308A1 (en) Management system, management method and management program for managing industrial control system
EP2184681A1 (en) Capacity control
CN106649071B (en) Method and device for reporting log in process
CN112527599A (en) Intelligent monitoring method and device, electronic equipment and readable storage medium
CN111522703A (en) Method, apparatus and computer program product for monitoring access requests
CN112615737B (en) Method and system for automatically monitoring service system
CN111199464B (en) Processing system of collection data, processing method, device and medium of collection data
JP5007247B2 (en) Job processing system and job management method
WO2025103085A1 (en) Log processing method and system, log management platform, and electronic device
CN113110977B (en) Safety monitoring method based on block chain system
CN107357809A (en) Magnanimity platform Hisoon real-time database metric data access system
CN113434473A (en) Distributed log processing method, device, medium and electronic equipment
US5559726A (en) Method and system for detecting whether a parameter is set appropriately in a computer system
CN117874674A (en) Network about vehicle order monitoring and alarming method and device, computer equipment and storage medium
CN115757045A (en) Transaction log analysis method, system and device
WO2019241199A1 (en) System and method for predictive maintenance of networked devices
CN116112367A (en) Method and system for generating traffic topology
CN115827405A (en) Host performance analysis method and device, computer equipment and readable storage medium
CN113703974A (en) Method and device for predicting server capacity

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