Program online upgrading method of single-spindle single-control thread spinner control system and control system
Through the online upgrade method based on the equipment digital twin model, the textile machine control system is customized and upgraded, which solves the problem of being unable to upgrade according to the equipment operation status and user needs in the existing technology, and achieves the performance improvement of the textile machine control system. and improvement of management efficiency.
Patent Information
- Application Number
- CN202410791658.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-29
AI Technical Summary
The existing program upgrade method for a textile machine control system containing multiple single-spindle controller modules cannot be customized and upgraded based on the actual operating conditions of the controlled equipment and user needs, resulting in the inability to fully improve the control performance.
Using an online upgrade method based on the equipment digital twin model, by receiving the equipment data to be upgraded, marking and customizing the twin model, generating an upgrade interface, receiving and applying the upgrade program data to customize the upgrade of the controlled equipment, multiple controlled equipment can be realized unified management.
The digital twin model enables customized upgrades of controlled equipment, improves the control performance and user management efficiency of the textile machinery control system, and provides a more flexible upgrade solution.
Smart Images

Figure CN118860435A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of textile machinery, and in particular to a program online upgrading technology of a textile machinery control system. Background Art
[0002] With the rapid advancement of science and technology and the continuous improvement of production technology, textile production equipment is increasingly used in the textile industry. As the core of the intelligence of textile production equipment, the textile machinery control system plays a vital role and can monitor, control and optimize the operation of textile equipment. Program upgrades of textile machinery control systems are an important means to maintain the continuous operation and sustainable development of the system, and can continuously improve the system's functions, safety, performance and adaptability to meet the ever-changing production needs and technical challenges. In the prior art, for program upgrades of textile machinery control systems containing multiple single-spindle controller modules, traditional upgrade methods are often comprehensive and cannot be customized according to the actual operation of the controlled equipment and the specific needs of users. Summary of the invention
[0003] The main technical problem solved by the embodiments of the present invention is how to customize and upgrade the control system of a single-spindle single-control textile machine, thereby improving the control performance of the textile machine control system.
[0004] In order to solve the above technical problems, a technical solution adopted in an embodiment of the present invention is: to provide a program online upgrade method for a single-spindle single-control textile machine control system, which is applied to a textile machine control system, wherein the textile machine control system is respectively connected to an external communication device and multiple controlled devices, and the textile machine control system includes an upgrade control end, and the upgrade control end sets a device digital twin model. The method includes: receiving device data to be upgraded in the multiple controlled devices, marking the device to be upgraded in the device digital twin model according to the device data to be upgraded, obtaining the marked device, customizing the device digital twin model based on the marked device, generating a customized twin model, receiving a conversion instruction, calling a conversion strategy according to the conversion instruction to perform interface conversion processing on the customized twin model, generating an upgrade interface, responding to an upgrade instruction triggered by a user through the upgrade interface, receiving the upgrade program data sent by the external communication device, and upgrading the device to be upgraded in the multiple controlled devices according to the upgrade program data.
[0005] Optionally, the textile machinery control system includes multiple single-section controllers, and the receiving of the upgrade program data sent by the external communication device and upgrading the devices to be upgraded among the multiple controlled devices according to the upgrade program data include: receiving the upgrade program data, determining that the upgrade program data is single-section upgrade data, storing the single-section upgrade data to a first preset storage location, wherein the first preset storage location is set in the single-section controller, upgrading the target single-section controller according to the single-section upgrade data, and upgrading the devices to be upgraded among the multiple controlled devices.
[0006] Optionally, the multiple single-section controllers are all set with a first preset guide position. Before receiving the upgrade program data, the method includes: switching the target single-section controller to an upgrade mode according to the upgrade instruction, and running an upgrade boot program based on the upgrade mode, wherein the upgrade boot program is stored in the first preset guide position.
[0007] Optionally, the textile machinery control system also includes multiple single spindle controller modules, which are connected to the multiple single-section controllers in a one-to-one correspondence, and the single spindle controller modules include multiple single spindle controllers. The receiving of the upgrade program data sent by the external communication device and upgrading the devices to be upgraded among the multiple controlled devices according to the upgrade program data also include: receiving the upgrade program data, determining that the upgrade program data is single spindle upgrade data, storing the single spindle upgrade data in a second preset storage location, wherein the second preset storage location is set in the single-section controller, transmitting an upgrade instruction to a target single spindle controller based on the single spindle upgrade data, switching the target single spindle controller to an upgrade mode, verifying the single spindle upgrade data based on the upgrade mode, acquiring the verified single spindle upgrade data, and upgrading the target single spindle controller according to the verified single spindle upgrade data, thereby upgrading the devices to be upgraded among the multiple controlled devices.
[0008] Optionally, before upgrading the target single spindle controller according to the verified single spindle upgrade data, the method further includes: storing the verified single spindle upgrade data to a third preset storage location, wherein the third preset storage location is set in the single spindle controller.
[0009] Optionally, the receiving conversion instruction, calling the conversion strategy according to the conversion instruction, performing interface conversion processing on the customized twin model, and generating an upgrade interface, includes: generating a human-computer interaction interface according to the customized twin model, responding to the conversion instruction triggered by the user based on the human-computer interaction interface, obtaining a target contour according to the customized twin model, and generating an upgrade interface based on the human-computer interaction interface and the target contour.
[0010] Optionally, obtaining the target contour according to the customized twin model includes: switching the customized twin model to a top-down perspective to generate a demand twin model, obtaining the top contour of the marking device in the demand twin model, and using the top contour as the target contour.
[0011] Optionally, the target outline includes a single-section target outline and a single-spindle target outline, and generating an upgrade interface based on the human-computer interaction interface and the target outline includes: associating the human-computer interaction interface with the single-section target outline to generate a first connection line, associating the single-section target outline with the single-spindle target outline to generate a second connection line, and generating an upgrade interface based on the human-computer interaction interface, the single-section target outline, the single-spindle target outline, the first connection line, and the second connection line.
[0012] Optionally, the method further includes: obtaining a transmission progress of the upgrade program data, and displaying a progress indicator line on the first connection line and the second connection line according to the transmission progress, wherein the progress indicator line is perpendicular to the first connection line and the second connection line.
[0013] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: to provide a textile machinery control system, which includes: a data receiving module, which is used to receive the data of devices to be upgraded in multiple controlled devices, a model customization module, which is used to mark the devices to be upgraded in the digital twin model of the device according to the data of the devices to be upgraded, obtain the marked devices, customize the digital twin model of the device based on the marked devices, and generate a customized twin model, an interface conversion module, which is used to receive conversion instructions, call the conversion strategy according to the conversion instructions, perform interface conversion processing on the customized twin model, and generate an upgrade interface, and a device upgrade module, which is used to respond to the upgrade instructions triggered by the user through the upgrade interface, receive the upgrade program data sent by the external communication device, and upgrade the devices to be upgraded in the multiple controlled devices according to the upgrade program data.
[0014] The beneficial effects of the embodiments of the present invention are as follows: Different from the prior art, the present invention realizes customized upgrades of controlled devices based on digital twin models. The device digital twin model is a virtualized model of the controlled device, which simulates and reflects the operating status and performance of the actual device in real time through mathematical modeling and simulation technologies. The present invention specifically identifies the device to be upgraded in the device digital twin model by marking, so as to distinguish the device to be upgraded from other controlled devices. The upgrade interface of the present invention performs data processing and interface display design on the customized twin model to generate a human-computer interaction interface between the user and the textile machinery control system. The interface may include virtual buttons, input boxes, status displays, etc., which facilitates users to trigger upgrade instructions to uniformly manage the devices to be upgraded. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.
[0016] Figure 1 It is a method flow chart of a method for online program upgrade of a single-spindle single-control textile machine control system provided by an embodiment of the present application; Figure 2 It is a structural diagram of the upgrade interface provided in the embodiment of the present application; Figure 3 It is a structural schematic diagram of a textile machinery control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0018] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.
[0019] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0020] An embodiment of the present invention provides a method for online program upgrade of a single-spindle single-control textile machinery control system, which is applied to a textile machinery control system, wherein the textile machinery control system is respectively connected to an external communication device and a plurality of controlled devices, and the textile machinery control system includes an upgrade control terminal, and the upgrade control terminal is provided with a device digital twin model.
[0021] Among them, the textile machinery control system is a system for managing and controlling the operation of the textile machinery; the external communication equipment is a tool for communicating and exchanging data with the textile machinery control system, including but not limited to U disk, Ethernet, and 4G module; the controlled equipment is a device controlled and managed by the textile machinery control system, and the controlled equipment runs and operates according to the instructions of the textile machinery control system to realize the automatic control of the textile machinery production line; the upgrade control end is the machine head, which is the core component of the textile machinery control system. It undertakes the main control and data receiving and sending tasks of the textile machinery control system, and can receive program upgrade tasks and manage the program upgrade process; the equipment digital twin model is a virtualized model of the controlled equipment, which simulates and reflects the operating status and performance of the actual equipment in real time through mathematical modeling and simulation technologies.
[0022] The textile machinery control system also includes a plurality of single-section controllers and a plurality of single-spindle controller modules, wherein the plurality of single-section controllers are all connected to the upgrade control end, and the plurality of single-section controllers are also connected one-to-one with the plurality of single-spindle controller modules, and the single-spindle controller module includes a plurality of single-spindle controllers, that is, each single-section controller is connected to a plurality of single-spindle controllers in its corresponding single-spindle controller module. The single-section controller is responsible for communicating with the upgrade control end and for controlling the functions of a group of spindles; the single-spindle controller is responsible for communicating with the single-section controller and for controlling the functions of a single spindle.
[0023] It should be noted that each controlled device is connected to a single-section controller or a single-spindle controller, that is, each controlled device runs and operates according to the instructions sent by the single-section controller or single-spindle controller connected to it, and the single-section controller and the single-spindle controller are both built into their corresponding controlled devices, and each controlled device and the single-section controller or single-spindle controller connected to it are uniquely bound.
[0024] Specifically, the upgrade control terminal is provided with a USB interface, a network port and a serial port, a U disk is connected to the USB interface, an Ethernet is connected to the network port, and a 4G module is connected to the serial port, and any of the above methods can be used to realize the communication and data exchange between the upgrade control terminal and the external communication device. The upgrade control terminal is also provided with a 485 interface, and each single-section controller is connected to the 485 interface of the upgrade control terminal through a 485 bus, and each single-section controller is also connected to multiple single-spindle controllers in the corresponding single-spindle controller module through a 485 bus.
[0025] See also Figure 1 , Figure 1 It is a method flow chart of a method for online program upgrade of a single-spindle single-control textile machine control system provided in an embodiment of the present application, comprising: S11. Receive device data to be upgraded from the plurality of controlled devices.
[0026] The device data to be upgraded represents relevant data of the controlled device that needs to be upgraded, including but not limited to a unique identifier and version information of the device to be upgraded.
[0027] Specifically, each controlled device is equipped with an information collector, and a unique QR code is generated for each controlled device in advance, and the QR code is bound to the relevant information of the device. When a user needs to upgrade a controlled device, he can use a terminal device, such as a smart phone, to scan the QR code on the controlled device. After the information collector receives the signal of scanning the QR code, it sends the collected unique identifier and version information of the controlled device to the server. The server receives the device data to be upgraded and sends the data to the upgrade control terminal.
[0028] In some other embodiments, when the user uses a terminal device to scan the QR code on the controlled device to be upgraded, the terminal device can receive the device data to be upgraded and send the device data to the server. The server receives the device data to be upgraded and sends the data to the upgrade control end.
[0029] S12. Mark the device to be upgraded in the device digital twin model according to the data of the device to be upgraded, obtain the marked device, customize the device digital twin model based on the marked device, and generate a customized twin model.
[0030] Among them, marking means to specifically identify the device to be upgraded in the device digital twin model, so as to distinguish the device to be upgraded from other controlled devices. For example, the device to be upgraded is highlighted in blue, and the marked device represents the controlled device that needs to be distinguished; customization means to extract the data of the marked controlled device separately, and generate an independent digital twin model based on these data, that is, a customized twin model. It should be noted that the position of the device to be upgraded in the customized twin model is consistent with its position in the device digital twin model.
[0031] S13. Receive a conversion instruction, call a conversion strategy according to the conversion instruction, perform interface conversion processing on the customized twin model, and generate an upgrade interface.
[0032] Among them, the conversion instruction represents the confirmation instruction issued by the user to confirm the upgrade operation of the device to be upgraded in the customized twin model; the conversion strategy represents the pre-established processing rules for the customized twin model; the interface conversion processing represents operations such as data processing and interface display design for the customized twin model, and the upgrade interface represents the user interface generated after data processing and interface display design for the customized twin model, which is convenient for users to trigger the upgrade instruction for unified management of the devices to be upgraded.
[0033] The receiving of the conversion instruction, calling the conversion strategy according to the conversion instruction, performing interface conversion processing on the customized twin model, and generating an upgrade interface includes: A human-machine interaction interface is generated according to the customized twin model, wherein the human-machine interaction interface is an interface for interaction between a user and a textile machine control system, and the interface may include virtual buttons, input boxes, status displays, and the like.
[0034] In response to a conversion instruction triggered by a user based on the human-computer interaction interface, a target profile is obtained according to the customized twin model, wherein the target profile represents a specific profile or feature of the device to be upgraded obtained according to the data in the customized twin model.
[0035] The obtaining the target contour according to the customized twin model includes: The customized twin model is subjected to a top-down perspective switching process to generate a demand twin model. The devices to be upgraded in the customized twin model are all three-dimensional, so the top-down perspective switching process is used to adjust the customized twin model from different angles or viewing angles to a top-down perspective, so as to better obtain the specific contours or features of the device to be upgraded. For example, the viewing angle is adjusted from a horizontal or upward viewing angle to a top-down viewing angle. The demand twin model is the customized twin model after the viewing angle is adjusted to a top-down viewing angle.
[0036] The top contour of the marked device in the demand twin model is obtained, and the top contour is used as the target contour. The top contour represents the contour features visible on the device to be upgraded when the demand twin model is viewed from above. The device to be upgraded is converted from three-dimensional to two-dimensional, which simplifies the data and makes data processing and visualization more convenient.
[0037] An upgrade interface is generated based on the human-computer interaction interface and the target profile. Among them, the target profile includes a single-section target profile and a single-spindle target profile. It can be understood that each controlled device is connected to a single-section controller or a single-spindle controller, and each controlled device is uniquely bound to the single-section controller or single-spindle controller connected to it. Therefore, based on the position of the target profile in the demand twin model, it can be determined whether the device to be upgraded corresponding to the target profile has a built-in single-section controller or a single-spindle controller. If the device to be upgraded has a built-in single-section controller, its corresponding target profile is set to a single-section target profile; if the device to be upgraded has a built-in single-spindle controller, its corresponding target profile is set to a single-spindle target profile.
[0038] The step of generating an upgrade interface based on the human-computer interaction interface and the target profile includes: The human-computer interaction interface is associated with the single-section target outline to generate a first connection line. The first connection line can connect the controls, information, etc. in the human-computer interaction interface with the single-section target outline to achieve information interaction between the human-computer interaction interface and the single-section target outline. The first connection line can be marked with a specific color, for example, green.
[0039] The single-section target profile is associated with the single-spindle target profile to generate a second connection line. The second connection line can connect the single-section target profile with the single-spindle target profile to achieve information interaction between the single-section target profile and the single-spindle target profile. The second connection line can be distinguished by a color different from the first connection line, for example, yellow.
[0040] Generate an upgrade interface based on the human-computer interaction interface, the single-section target outline, the single-spindle target outline, the first connection line and the second connection line. Figure 2 , Figure 2 : is a schematic diagram of the structure of the upgrade interface provided by the embodiment of the present application. Specifically, the human-computer interaction interface, the single-section target outline, the single-spindle target outline and the related connection line information are integrated to create a comprehensive interface, including but not limited to the device outline, the visual presentation of the connection line, the human-computer interaction control, etc., which is the upgrade interface, and the upgrade interface can be displayed on the interactive display screen of the upgrade control terminal and the terminal device used by the user.
[0041] S14, in response to an upgrade instruction triggered by a user through an upgrade interface, receiving upgrade program data sent by the external communication device, and upgrading the device to be upgraded among the multiple controlled devices according to the upgrade program data. The upgrade instruction is an instruction triggered by a user through an upgrade interface, which is used to start the upgrade process of the device to be upgraded; and the upgrade program data is data required to perform device upgrade.
[0042] The receiving the upgrade program data sent by the external communication device, and upgrading the device to be upgraded among the plurality of controlled devices according to the upgrade program data, comprises: Receive the upgrade program data, and determine that the upgrade program data is a single-section upgrade data. The single-section upgrade data indicates that the data is upgrade data for a single-section controller. Specifically, after the upgrade control terminal receives the upgrade program data sent by the external communication device, the upgrade program data is sent to the single-section controller to be upgraded. The single-section controller to be upgraded parses the upgrade program data and determines the data type of the upgrade program data, that is, determines whether it is upgrade program data for a single-section controller or a single-spindle controller, which can be identified by a specific identifier in the data packet, a protocol header, etc. If the received data is for a single-section controller, the upgrade program data is determined to be a single-section upgrade data.
[0043] The single-section upgrade data is stored in a first preset storage location, wherein the first preset storage location is set in the single-section controller. The first preset storage location represents a preset location for storing the single-section upgrade data, which can be specifically an APP1 area of the single-section controller, for storing the upgrade data of the single-section controller to be upgraded.
[0044] The target single-section controller is upgraded according to the single-section upgrade data to upgrade the device to be upgraded among the multiple controlled devices. The target single-section controller represents the single-section controller that needs to be upgraded. The device to be upgraded can be upgraded by performing an upgrade operation on the single-section controller.
[0045] The plurality of single-section controllers are each set to a first preset guide position, and before receiving the upgrade program data, the method comprises: The upgrade instruction switches the target single-section controller to an upgrade mode. The upgrade mode is a working mode of the single-section controller, in which the single-section controller can receive and process upgrade data and perform upgrade operations.
[0046] An upgrade boot program is run based on the upgrade mode, wherein the upgrade boot program is stored in the first preset boot location. The upgrade boot program is used to guide the target single-section controller to prepare to receive and process upgrade program data; the first preset boot location represents a specific area where the upgrade boot program is stored, which may be a BOOT area of the single-section controller.
[0047] The receiving the upgrade program data sent by the external communication device, and upgrading the device to be upgraded among the plurality of controlled devices according to the upgrade program data further comprises: The upgrade program data is received, and the upgrade program data is determined to be single spindle upgrade data. The single spindle upgrade data indicates that the data is upgrade data for a single spindle controller. After the single-section controller receives the upgrade program data sent by the upgrade control terminal, if it is identified that the data is upgrade program data for a single spindle controller, the upgrade program data is determined to be single spindle upgrade data.
[0048] The single spindle upgrade data is stored in a second preset storage location, wherein the second preset storage location is set in the single-section controller. The second preset storage location refers to a preset location for storing the single spindle upgrade data, which is usually set in the target single-section controller, specifically the APP2 area of the single-section controller, for storing the data required for the single spindle upgrade.
[0049] Based on the single spindle upgrade data, an upgrade instruction is transmitted to the target single spindle controller, and the target single spindle controller is switched to the upgrade mode. The upgrade instruction refers to an instruction sent by the single-section controller to the target single spindle controller, which is used to start the upgrade mode of the single spindle controller; the upgrade mode is a working mode of the single spindle controller, in which the single spindle controller can receive and process the upgrade data and perform the upgrade operation. A second preset boot position is set for multiple single spindle controllers, which can be specifically the BOOT area of the single spindle controller. When the target single spindle controller enters the upgrade mode, the upgrade boot program stored in the second preset boot position of the target single spindle controller is run to prepare the target single spindle controller to receive and process the single spindle upgrade data.
[0050] The single spindle upgrade data is verified based on the upgrade mode to obtain the verified single spindle upgrade data. The single spindle upgrade data is verified to ensure the integrity of the upgrade data.
[0051] The verified single spindle upgrade data is stored in a third preset storage location, wherein the third preset storage location is set in the single spindle controller. The third preset storage location refers to a preset location for storing the verified single spindle upgrade data, which is usually set in the target single spindle controller, specifically the APP area of the single spindle controller, for storing the verified upgrade data.
[0052] The target single spindle controller is upgraded according to the verified single spindle upgrade data to upgrade the device to be upgraded among the multiple controlled devices. The target single spindle controller represents the single spindle controller that needs to be upgraded. The upgrade operation on the single spindle controller can upgrade the device to be upgraded.
[0053] The program online upgrade method of the single-spindle single-control textile machine control system also includes: The transmission progress of the upgrade program data is obtained, wherein the transmission progress refers to the proportion of the upgrade program data that has been completed during the transmission process.
[0054] A progress indicator line is displayed on the first connection line and the second connection line according to the transmission progress, wherein the progress indicator line is perpendicular to the first connection line and the second connection line. The progress indicator line moves accordingly as the transmission progress increases to display the progress of the transmission.
[0055] Acquiring the transmission progress of the upgrade program data and displaying the progress indicator line can enable the user to understand the upgrade process in real time and provide the user with a visual progress prompt.
[0056] In an embodiment of the present invention, a method for online program upgrade of a single-spindle single-control textile machine control system is provided, which is applied to a textile machine control system, wherein the textile machine control system is connected to an external communication device and a plurality of controlled devices respectively, and the textile machine control system includes an upgrade control terminal, and the upgrade control terminal sets a device digital twin model, and the method includes: receiving the device data to be upgraded in the plurality of controlled devices; marking the device to be upgraded in the device digital twin model according to the device data to be upgraded, obtaining the marked device, customizing the device digital twin model based on the marked device, and generating a customized twin model; receiving a conversion instruction, and performing interface conversion processing on the customized twin model by calling a conversion strategy according to the conversion instruction, and generating an upgrade interface; in response to an upgrade instruction triggered by a user through the upgrade interface, receiving the upgrade program data sent by the external communication device, and upgrading the device to be upgraded in the plurality of controlled devices according to the upgrade program data. The embodiment of the present invention realizes customized upgrade of controlled devices based on the digital twin model.
[0057] See also Figure 3 , Figure 3 2 is a schematic diagram of a structure of a textile machinery control system provided by an embodiment of the present invention. The embodiment of the present invention provides a textile machinery control system, and the textile machinery control system 200 includes: The data receiving module 21 is used to receive device data to be upgraded from multiple controlled devices.
[0058] The model customization module 22 is used to mark the device to be upgraded in the device digital twin model according to the device data to be upgraded, obtain the marked device, customize the device digital twin model based on the marked device, and generate a customized twin model.
[0059] The interface conversion module 23 is used to receive a conversion instruction, call a conversion strategy according to the conversion instruction, perform interface conversion processing on the customized twin model, and generate an upgrade interface.
[0060] The device upgrade module 24 is used to respond to the upgrade instruction triggered by the user through the upgrade interface, receive the upgrade program data sent by the external communication device, and upgrade the device to be upgraded among the multiple controlled devices according to the upgrade program data.
[0061] It should be noted that the above-mentioned textile machinery control system can execute the online program upgrade method of the single-spindle single-control textile machinery control system provided in the embodiment of the present invention. For technical details and beneficial effects that are not fully described in the textile machinery control system embodiment, please refer to the online program upgrade method of the single-spindle single-control textile machinery control system provided in the embodiment of the present invention.
[0062] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A program online upgrade method for a single-spindle single-control textile machine control system, applied to a textile machine control system, wherein the textile machine control system is connected to an external communication device and a plurality of controlled devices respectively, and the textile machine control system comprises an upgrade control terminal, wherein the upgrade control terminal is provided with a device digital twin model, and is characterized in that: The method comprises: Receiving device data to be upgraded from the plurality of controlled devices; Marking the device to be upgraded in the device digital twin model according to the data of the device to be upgraded, obtaining the marked device, customizing the device digital twin model based on the marked device, and generating a customized twin model; Receiving a conversion instruction, calling a conversion strategy according to the conversion instruction, performing interface conversion processing on the customized twin model, and generating an upgrade interface; In response to an upgrade instruction triggered by a user through an upgrade interface, the upgrade program data sent by the external communication device is received, and the devices to be upgraded among the multiple controlled devices are upgraded according to the upgrade program data.
2. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 1 is characterized in that: The textile machinery control system includes a plurality of single-section controllers, and the receiving of the upgrade program data sent by the external communication device and upgrading the devices to be upgraded among the plurality of controlled devices according to the upgrade program data include: receiving the upgrade program data, and determining that the upgrade program data is single-section upgrade data; Storing the single-section upgrade data in a first preset storage location, wherein the first preset storage location is set in the single-section controller; The target single-node controller is upgraded according to the single-node upgrade data, so as to upgrade the devices to be upgraded among the multiple controlled devices.
3. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 2 is characterized in that: The plurality of single-section controllers are each provided with a first preset guide position, and before receiving the upgrade program data, the method comprises: switching the target single-section controller to an upgrade mode according to the upgrade instruction; An upgrade boot program is run based on the upgrade mode, wherein the upgrade boot program is stored in the first preset boot location.
4. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 2 is characterized in that: The textile machinery control system further comprises a plurality of single spindle controller modules, the plurality of single spindle controller modules are connected to the plurality of single-section controllers in a one-to-one correspondence, the single spindle controller module comprises a plurality of single spindle controllers, the receiving of the upgrade program data sent by the external communication device, and upgrading the to-be-upgraded device among the plurality of controlled devices according to the upgrade program data further comprises: receiving the upgrade program data, and determining that the upgrade program data is single spindle upgrade data; Storing the single spindle upgrade data in a second preset storage location, wherein the second preset storage location is set in the single-section controller; Transmitting an upgrade instruction to a target single spindle controller based on the single spindle upgrade data, and switching the target single spindle controller to an upgrade mode; Verifying the single spindle upgrade data based on the upgrade mode, and acquiring the verified single spindle upgrade data; The target single spindle controller is upgraded according to the verified single spindle upgrade data, so as to upgrade the device to be upgraded among the multiple controlled devices.
5. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 4 is characterized in that: Before upgrading the target single spindle controller according to the verified single spindle upgrade data, the method further includes: The verified single spindle upgrade data is stored in a third preset storage location, wherein the third preset storage location is set in the single spindle controller.
6. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 1 is characterized in that: The receiving of the conversion instruction, calling the conversion strategy according to the conversion instruction, performing interface conversion processing on the customized twin model, and generating an upgrade interface includes: generating a human-computer interaction interface according to the customized twin model; In response to a conversion instruction triggered by a user based on the human-computer interaction interface, acquiring a target contour according to the customized twin model; An upgrade interface is generated based on the human-computer interaction interface and the target profile.
7. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 6 is characterized in that: The obtaining the target contour according to the customized twin model includes: Switching the customized twin model to a top-down perspective to generate a demand twin model; Obtain a top contour of the marking device in the demand twin model, and use the top contour as a target contour.
8. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 7 is characterized in that: The target profile includes a single-section target profile and a single-spindle target profile, and the generation of an upgrade interface based on the human-computer interaction interface and the target profile includes: Associating the human-computer interaction interface with the single-section target outline to generate a first connection line; Associating the single-section target profile with the single-spindle target profile to generate a second connecting line; An upgrade interface is generated based on the human-computer interaction interface, the single-section target outline, the single-spindle target outline, the first connection line, and the second connection line.
9. The program online upgrade method of the single-spindle single-control textile machine control system according to claim 8 is characterized in that: The method further comprises: Obtaining the transmission progress of the upgrade program data; A progress indication line is displayed on the first connection line and the second connection line according to the transmission progress, wherein the progress indication line is perpendicular to the first connection line and the second connection line.
10. A textile machinery control system, characterized in that: The textile machinery control system comprises: A data receiving module, used for receiving device data to be upgraded from multiple controlled devices; A model customization module, used to mark the device to be upgraded in the device digital twin model according to the device data to be upgraded, obtain the marked device, customize the device digital twin model based on the marked device, and generate a customized twin model; An interface conversion module, used to receive a conversion instruction, call a conversion strategy according to the conversion instruction, perform interface conversion processing on the customized twin model, and generate an upgrade interface; The device upgrade module is used to respond to the upgrade instruction triggered by the user through the upgrade interface, receive the upgrade program data sent by the external communication device, and upgrade the device to be upgraded among the multiple controlled devices according to the upgrade program data.
Citation Information
Patent Citations
Controller upgrading method, main controller and upper computer
CN111124457A
End platform upgrading method and system corresponding to energy storage equipment
CN114385201A
Digital twin resource data library building management method and device
CN116756837A
Software updating method and device of satellite service computer, electronic equipment and storage medium
CN117632182A
