Wire spindle station-crossing control method and device, electronic equipment and storage medium

By using the communication mechanism of the first controller and the second controller in the wire ingot station control system, the wire ingot products are ensured to efficiently and accurately flow during the wire ingot station, and the flow and flow of wire ingot products in the prior art are solved. The problem of low decision-making efficiency improves the operation efficiency of the assembly line.

CN119270756APending Publication Date: 2025-01-07ZHEJIANG HENGYI PETROCHEMICAL CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411378835.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the production process of wire ingot products, the prior art is difficult to ensure that wire ingot products flow efficiently and accurately when passing through the wire ingot station and/or decide whether to pass through the station, resulting in inefficiency of the assembly line.

Method used

By introducing a first controller and a plurality of second controllers in the wire ingot crossing control system, the first controller is used as an intermediate layer to receive and process service data, generate a station crossing instruction, and under the normal state of the communication link, the first controller is used as an intermediate layer. Send it to the target controller to ensure that the station-passing control operation of the ingot product is performed accurately.

Benefits of technology

It improves the scalability and stability of the wire ingot crossing control system, reduces the data processing burden of the manufacturing execution system, ensures that the wire ingot products are efficiently and accurately flow during the wire ingot station, and maintains the efficient operation of the assembly line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119270756A_ABST
    Figure CN119270756A_ABST
Patent Text Reader

Abstract

The invention relates to the field of computers and automatic control, in particular to a wire spindle station-crossing control method and device, electronic equipment and a storage medium. The method comprises the following steps: taking each second controller in a plurality of second controllers as a target controller, and receiving target business data sent by the target controller; sending the target business data to a manufacturing execution system; wherein the manufacturing execution system is used for obtaining a target station-crossing indication based on target business data, and sending the target station-crossing indication to the first controller; receiving a target station crossing instruction sent by the manufacturing execution system; when it is determined that the communication link from the first controller to the target controller is in a normal state, sending a target station crossing indication to the target controller; wherein the target controller is used for executing the station-crossing control operation on the wire ingot product passing through the target station corresponding to the target controller based on the target station-crossing instruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computers and automatic control, and in particular to a method, device, electronic equipment and storage medium for controlling a spinning ingot passing through a station. Background Art

[0002] In the production process of ingot products, building an efficient production line is an indispensable core link to ensure production capacity and production efficiency. There are multiple closely connected ingot stations that require high coordination on this production line. Each ingot station is responsible for performing specific production operations on ingot products. Ensuring that ingot products can flow efficiently and accurately when passing through the ingot stations and / or decide whether to pass through the stations is the key to maintaining efficient operation of the production line. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for controlling a wire ingot passing through a station, so as to solve or alleviate one or more technical problems in the prior art.

[0004] In a first aspect, the present disclosure provides a method for controlling a wire ingot passing station, which is applied to a first controller included in a wire ingot passing station control system, wherein the wire ingot passing station control system further includes a manufacturing execution system and a plurality of second controllers communicating with the first controller; wherein each of the plurality of second controllers has a corresponding wire ingot station, so as to obtain business data related to the wire ingot station, and perform a passing station control operation for a wire ingot product passing through the wire ingot station;

[0005] The method includes:

[0006] Taking each second controller among the plurality of second controllers as a target controller, and receiving target service data sent by the target controller;

[0007] Sending the target business data to a manufacturing execution system; wherein the manufacturing execution system is used to obtain a target stop-over indication based on the target business data, and send the target stop-over indication to the first controller;

[0008] Receive target transit instructions sent by the manufacturing execution system;

[0009] When it is determined that the communication link from the first controller to the target controller is in a normal state, a target station passing indication is sent to the target controller; wherein the target controller is used to perform a station passing control operation for the silk ingot product passing through the target workstation corresponding to the target controller based on the target station passing indication.

[0010] In a second aspect, the present disclosure provides a wire ingot station-passing control device, which is applied to a first controller included in a wire ingot station-passing control system, wherein the wire ingot station-passing control system further includes a manufacturing execution system and a plurality of second controllers communicating with the first controller; each of the plurality of second controllers has a corresponding wire ingot station, so as to obtain business data related to the wire ingot station, and perform a station-passing control operation for a wire ingot product located at the wire ingot station;

[0011] The device includes:

[0012] A service data receiving unit, configured to use each of the plurality of second controllers as a target controller and receive target service data sent by the target controller;

[0013] A business data sending unit, used to send the target business data to the manufacturing execution system; wherein the manufacturing execution system is used to obtain a target station passing indication based on the target business data, and send the target station passing indication to the first controller;

[0014] A station-passing instruction receiving unit, used for receiving a target station-passing instruction sent by a manufacturing execution system;

[0015] A station passing indication sending unit is used to send a target station passing indication to a target controller when it is determined that the communication link from the first controller to the target controller is in a normal state; wherein the target controller is used to perform a station passing control operation for the silk ingot product passing through the target workstation corresponding to the target controller based on the target station passing indication.

[0016] In a third aspect, an electronic device is provided, including:

[0017] at least one processor; and

[0018] a memory communicatively connected to the at least one processor; wherein,

[0019] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.

[0020] In a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute any method according to the embodiments of the present disclosure.

[0021] The technical solution provided by the present disclosure can ensure that the silk ingot products can flow efficiently and accurately when passing through the silk ingot station and decide whether to pass the station, so as to maintain the efficient operation of the assembly line.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments provided according to the present disclosure and should not be regarded as limiting the scope of the present disclosure.

[0024] Figure 1 A schematic structural block diagram of a spindle passing station control system provided in an embodiment of the present disclosure;

[0025] Figure 2 A schematic flow chart of a method for controlling a spinning ingot passing station provided by an embodiment of the present disclosure;

[0026] Figure 3 A schematic diagram of part of the flow chart involved in a method for controlling a spinning ingot passing station provided in an embodiment of the present disclosure;

[0027] Figure 4 A schematic structural block diagram of a spindle passing station control device provided in an embodiment of the present disclosure;

[0028] Figure 5 A schematic structural block diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] The present disclosure will be further described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0030] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present disclosure.

[0031] As described in the background technology, in the production process of silk ingot products, building an efficient production line is an indispensable core link to ensure production capacity and production efficiency. There are multiple closely connected and highly coordinated silk ingot stations distributed on this production line, and each silk ingot station is responsible for performing specific production operations on the silk ingot products. Among them, multiple silk ingot stations may include a weighing station for weighing silk ingot products, an external inspection station for intelligent external inspection of silk ingot products, a bagging station for bagging silk ingot products, etc. Ensuring that the silk ingot products can efficiently and accurately circulate and / or decide whether to pass the station when passing through the silk ingot station is the key to maintaining the efficient operation of the production line. Based on this, in order to ensure that the silk ingot products can efficiently and accurately circulate and / or decide whether to pass the station when passing through the silk ingot station, so as to maintain the efficient operation of the production line, the embodiment of the present disclosure provides a silk ingot passing station control method.

[0032] Before describing the ingot passing station control method provided by the embodiment of the present disclosure, it should be noted that, in the embodiment of the present disclosure, the main types of ingot products may include at least one of Partially Oriented Yarns (POY), Fully Drawn Yarns (FDY), Draw Textured Yarns (DTY) (or low-elastic yarn), etc. For example, the types of ingot products may specifically include polyester Partially Oriented Yarns, polyester Fully Drawn Yarns, polyester Drawn Yarns, polyester low-elastic yarns (Polyester Draw Textured Yarns), etc.

[0033] The following will be combined Figure 1 and Figure 2 , a method for controlling the passing of a silk ingot through a station provided in an embodiment of the present disclosure is described.

[0034] first, Figure 1A schematic structural block diagram of a wire ingot passing station control system provided for an embodiment of the present disclosure includes a first controller, a manufacturing execution system (MES) and multiple second controllers communicating with the first controller. The first controller may be a programmable logic controller (PLC); the second controller may also be a PLC; the MES may be applied to a terminal device or a server. Here, the terminal device may be a workbench, a mainframe computer, a conventional computer (e.g., a desktop computer, a laptop computer) or other similar computing devices.

[0035] In the embodiment of the present disclosure, each of the plurality of second controllers has a corresponding ingot station (the number is at least one) for obtaining business data related to the ingot station. Among them, the business data may include the equipment status, quality control reference data, etc. obtained by the production control equipment during the production process of the ingot product, and may also include the production progress, etc. Here, the equipment status may include the operating status, fault record, maintenance status, etc. of the production control equipment; the quality control reference data may include the weight of the ingot of the ingot product, the results of the external inspection of the ingot, etc.; the production progress may include the completion time of each production stage, the current output statistics, etc. For example, if the ingot station is a weighing station, the business data related to the weighing station may include the weight of the ingot obtained by the weighing sensor (belonging to the production control equipment) during the production process of the ingot product (belonging to the quality control reference data). For another example, if the ingot station is an external inspection station, the business data related to the external inspection station may include the results of the external inspection of the ingot obtained by the external inspection equipment (belonging to the production control equipment) during the production process of the ingot product (belonging to the quality control reference data).

[0036] For each of the multiple second controllers, after the second controller obtains the business data related to the silk ingot station corresponding to itself and sends the business data to the first controller, and then the first controller sends the business data to the MES, the MES can obtain the station-passing indication related to the silk ingot station based on the business data, and send the station-passing indication to the first controller, and then the first controller sends the station-passing indication to the second controller, so that the second controller can perform the station-passing control operation for the silk ingot product passing through the silk ingot station based on the station-passing indication. Among them, the station-passing control operation can be realized by the station-passing control equipment (for example, silk ingot diversion equipment, transfer robot, etc.) set at the silk ingot station; the station-passing control operation is used to control the flow of the silk ingot product passing through the silk ingot station and / or control whether to pass the station (allowing the station-passing or prohibiting the station-passing).

[0037] Please combine Figure 2, which is a flow chart of a method for controlling a wire ingot passing station provided by an embodiment of the present disclosure, and is applied to a first controller included in a wire ingot passing station control system. In addition, it should be noted that, although a logical sequence is shown in the flow chart, in some cases, the steps shown or described may also be performed in other sequences.

[0038] Step S201: taking each second controller among the plurality of second controllers as a target controller, and receiving target service data sent by the target controller.

[0039] Among them, at least one ingot station corresponding to the target controller includes the target station, and the target controller can obtain business data related to the target station. In the embodiment of the present disclosure, for the convenience of description, the business data related to the target station can be used as the target business data.

[0040] Step S202: Send the target business data to MES.

[0041] The first controller may establish a communication link with the MES through a network or a management interface (MI) communication method. After receiving the target business data sent by the target controller, the first controller may convert the target business data according to a preset data format to obtain the target business data after format conversion that can be processed by the MES, and send the target business data after format conversion to the MES.

[0042] In addition, in the embodiment of the present disclosure, the MES is used to obtain a target station-passing indication based on the target business data (e.g., the target business data after format conversion), and send the target station-passing indication to the first controller. The target station-passing indication is used to instruct the target controller to perform a station-passing control operation for the silk ingot product passing through the target station.

[0043] Step S203, receiving the target transit indication sent by the MES.

[0044] Step S204: When it is determined that the communication link from the first controller to the target controller is in a normal state, a target transit indication is sent to the target controller.

[0045] The target controller is used to perform a station-passing control operation for the silk ingot product passing through the target station based on the target station-passing indication. Here, the station-passing control operation can be implemented by a station-passing control device set at the target station corresponding to the target controller; the station-passing control operation is used to control the flow of the silk ingot product passing through the target station and / or whether to pass the station.

[0046] By adopting the ingot passing station control method provided by the embodiment of the present disclosure, on the one hand, by using the first controller as the middle layer between multiple second controllers and MES, the first controller can be used to realize centralized management and integration of business data, thereby reducing the data processing burden of MES, and can also enhance the scalability and security of the ingot passing station control system. At the same time, the network structure of the ingot passing station control system can be simplified, thereby improving the stability of the ingot passing station control system; on the other hand, after receiving the target passing station indication sent by MES, the first controller will only send the target passing station indication to the target controller when it is determined that the communication link from the first controller to the target controller is in a normal state. In this way, it can be avoided that the target passing station indication is sent to the target controller when the communication link from the first controller to the target controller is in an abnormal state, causing the target passing station indication to be damaged or lost, thereby ensuring that the target passing station indication can be accurately received by the target controller, and then ensuring that the target controller can accurately perform the passing station control operation for the ingot product passing the target station based on the target passing station indication, that is, ensuring that the ingot product can efficiently and accurately circulate and / or decide whether to pass the station when passing the ingot station, so as to maintain the efficient operation of the assembly line.

[0047] In addition, it should be noted that in the embodiment of the present disclosure, after receiving the target business data, the MES can determine the transit evaluation mechanism corresponding to the target business data based on the data attributes of the target business data, and obtain the target transit indication based on the target business data according to the transit evaluation mechanism.

[0048] For example, the target business data is the external inspection result of the silk ingot, and the pass-station evaluation mechanism corresponding to the target business data may be: when the external inspection result of the silk ingot indicates that the silk ingot product is an S-grade product, a first pass-station indication is obtained (the pass-station control operation corresponding to the first pass-station indication is to divert the silk ingot product from the mainstream pipeline to the first pipeline); when the external inspection result of the silk ingot indicates that the silk ingot product is an A-grade product, a second pass-station indication is obtained (the pass-station control operation corresponding to the second pass-station indication is to divert the silk ingot product from the mainstream pipeline to the second pipeline); when the external inspection result of the silk ingot indicates that the silk ingot product is a B-grade product, a third pass-station indication is obtained (the pass-station control operation corresponding to the third pass-station indication is to divert the silk ingot product from the mainstream pipeline to the third pipeline).

[0049] For another example, the target business data is the weight of the silk ingot, and the station passing evaluation mechanism corresponding to the target business data may be: when the silk ingot weight is within the preset weight range, a first station passing indication is obtained (the station passing control operation corresponding to the first station passing indication is to allow the station passing); when the silk ingot weight exceeds the preset weight range, a second station passing indication is obtained (the station passing control operation corresponding to the second station passing indication is to prohibit the station passing). The preset weight range can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0050] In some optional implementations, step S204, namely, "sending a target transit indication to the target controller when determining that the communication link from the first controller to the target controller is in a normal state" may include:

[0051] Update the historical heartbeat count value to obtain the current heartbeat count value;

[0052] Generate a heartbeat data packet including a current heartbeat count value;

[0053] Execute a heartbeat data sending instruction; wherein the heartbeat data sending instruction is used to instruct the first controller to send a heartbeat data packet to a target controller;

[0054] When the heartbeat data sending instruction is successfully executed (ie, the heartbeat data packet is successfully sent to the target controller), it is determined that the communication link from the first controller to the target controller is in a normal state, and a target transit indication is sent to the target controller.

[0055] In the disclosed embodiment, the historical heartbeat count value can be updated to obtain the current heartbeat count value when the preset heartbeat sending requirement is met. The preset heartbeat sending requirement may include that the heartbeat sending mechanism is enabled (i.e., HB_ENABLED=1), and the timing duration of the heartbeat timer is greater than or equal to the preset heartbeat interval (i.e., HB_TIMER>=HB_INTERVAL).

[0056] In addition, in the embodiment of the present disclosure, the historical heartbeat count value can be obtained in the following way:

[0057] When the first controller does not receive the heartbeat response data packet sent by the target controller, it randomly generates a first heartbeat count value as the historical heartbeat count value; when the first controller receives the heartbeat response data packet sent by the target controller, it obtains the historical heartbeat count value carried in the heartbeat response data packet.

[0058] In one example, after obtaining the historical heartbeat count value, the historical heartbeat count value can be operated with "+1" to obtain the current heartbeat count value, and a heartbeat data packet including the current heartbeat count value is generated, and then the heartbeat data sending instruction is executed to try to send the heartbeat data packet to the target controller, so that when the heartbeat data sending instruction is successfully executed, it is determined that the communication link from the first controller to the target controller is in a normal state, and the target transit indication is sent to the target controller. Among them, the heartbeat data sending instruction can be a "PUT instruction". Based on this, in the embodiment of the present disclosure, after executing the heartbeat data sending instruction, a first status code (for example, an Error status code) and a second status code (for example, a "Status status code") can be obtained, and when the first status code and the second status code are both 0, it is determined that the heartbeat data sending instruction is successfully executed; when at least one of the first status code and the second status code is not 0, it is determined that the heartbeat data sending instruction is not successfully executed.

[0059] In addition, it should be noted that, in the embodiment of the present disclosure, after the target controller receives the heartbeat data packet sent by the first controller, it can obtain the current heartbeat count value carried in the heartbeat data packet, and perform a "+1" operation on the current heartbeat count value to obtain a new historical heartbeat count value. Thereafter, a heartbeat response data packet including the new historical heartbeat count value can be generated, and the heartbeat response data packet can be sent to the first controller.

[0060] Through the above method, in the embodiment of the present disclosure, the historical heartbeat count value can be updated to obtain the current heartbeat count value, and a heartbeat data packet including the current heartbeat count value can be generated, and then the heartbeat data sending instruction can be executed, so as to determine that the communication link from the first controller to the target controller is in a normal state when the heartbeat data sending instruction is successfully executed. This active probing mechanism can confirm in a timely manner when the communication link from the first controller to the target controller is in a normal state, thereby ensuring that the target station passing indication can be sent to the target controller in a timely manner, reducing the delayed transmission of the target station passing indication, so as to more effectively maintain the efficient operation of the pipeline.

[0061] Further, in the embodiment of the present disclosure, after determining that the communication link from the first controller to the target controller is in a normal state, the target station passing indication can be sent to the target controller first, and then the heartbeat result flag bit is set (that is, HB_OK=1); or, the heartbeat result flag bit is set first (that is, HB_OK=1), and then the target station passing indication is sent to the target controller. Thereafter, the timing duration of the heartbeat timer is reset (that is, HB_TIMER=0).

[0062] In some optional implementations, the heartbeat data sending instruction can be specifically used to instruct the first controller to send the heartbeat data packet to the target controller through multiple candidate links respectively. Among them, the multiple candidate links can be communication links pre-established between the first controller and the target controller. In one example, the multiple candidate links can include an Ethernet communication link, a serial communication link established based on a serial communication protocol, a wireless local area network communication link, and a wireless sensor network link composed of distributed sensor nodes, etc.

[0063] Based on the above, in the above implementation mode, “when the heartbeat data sending instruction is successfully executed, determining that the communication link from the first controller to the target controller is in a normal state, and sending the target transit indication to the target controller” may include:

[0064] In the case where the heartbeat data sending instruction is successfully executed, determining that the communication link from the first controller to the target controller is in a normal state;

[0065] Selecting a candidate link with the best communication status from at least one candidate link that successfully sends a heartbeat data packet to the target controller as the target link;

[0066] The target transit indication is sent to the target controller via the target link.

[0067] As mentioned above, in the embodiment of the present disclosure, the successful execution of the heartbeat data sending instruction can be understood as the heartbeat data packet being successfully sent to the target controller. Specifically to the above implementation, as long as the first controller successfully sends the heartbeat data packet to the target controller through at least one candidate link among multiple candidate links, it is considered that the heartbeat data sending instruction is successfully executed, and when the heartbeat data sending instruction is successfully executed, it is determined that the communication link from the first controller to the target controller is in a normal state. Thereafter, the candidate link with the best communication status can be selected from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link, and the target transit indication is sent to the target controller through the target link.

[0068] Further, in an example, “selecting a candidate link with the best communication status from at least one candidate link that successfully sends a heartbeat data packet to the target controller as the target link” may include:

[0069] Identify multiple evaluation indicators;

[0070] Obtain multiple target weights corresponding to multiple evaluation indicators one by one;

[0071] Based on multiple evaluation indicators and multiple target weights, a candidate link with the best communication status is selected from at least one candidate link that successfully sends a heartbeat data packet to a target controller as a target link.

[0072] Among them, multiple evaluation indicators may include signal quality, communication delay, link bandwidth, etc. Here, signal quality can be used to characterize the bit error rate (BER), signal to noise ratio (SNR), etc. of the communication signal transmitted on the candidate link; for each candidate link in at least one candidate link, the communication delay of the candidate link can be the time difference between the first time point and the second time point, and the first time point can be the time point when the first controller sends the heartbeat data packet to the target controller through the candidate link, and the second time point can be the time point when the first controller receives the heartbeat response data packet fed back by the target controller after sending the heartbeat data packet to the target controller through the candidate link; link bandwidth can be used to characterize the single maximum amount of data that can be transmitted on the candidate link.

[0073] In addition, in a specific example, multiple target weights corresponding to multiple evaluation indicators can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this. In another specific example, multiple target weights corresponding to multiple evaluation indicators can also be dynamically obtained. For example, multiple target weights corresponding to multiple evaluation indicators can be dynamically obtained in the following manner:

[0074] Obtain multiple reference weights corresponding to multiple evaluation indicators one by one;

[0075] Based on the target business data, multiple reference weights are adjusted respectively to obtain multiple target weights corresponding to multiple evaluation indicators.

[0076] Among them, multiple reference weights corresponding to multiple evaluation indicators can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0077] After obtaining multiple reference weights corresponding to multiple evaluation indicators, the multiple reference weights can be adjusted based on the target business data to obtain multiple target weights corresponding to the multiple evaluation indicators. Specifically, the equipment status and production progress can be extracted from the target business data, and based on the equipment status and production progress, the multiple reference weights can be adjusted to obtain multiple target weights corresponding to the multiple evaluation indicators.

[0078] Exemplarily, the reference weight corresponding to signal quality is 4 / 10; the reference weight corresponding to communication delay is 3 / 10; and the reference weight corresponding to link bandwidth is 3 / 10. When the equipment state is poor and the production progress is slow, the reference weight corresponding to signal quality can be increased to obtain a target weight corresponding to signal quality, for example, 6 / 10, and the reference weight corresponding to communication delay can be used as the target weight corresponding to communication delay, that is, the target weight corresponding to communication delay is 3 / 10, and the reference weight corresponding to link bandwidth can be lowered to obtain a target weight corresponding to link bandwidth, for example, 1 / 10; when the equipment state is poor and the production progress is fast, the reference weight corresponding to signal quality can be increased to obtain a target weight corresponding to signal quality, for example, 6 / 10; the reference weight corresponding to communication delay can be lowered to obtain a target weight corresponding to communication delay, for example, 2 / 10, and the reference weight corresponding to link bandwidth can be lowered to obtain a target weight corresponding to link bandwidth, for example, 2 / 10; when the equipment state is good and the production progress is slow In this case, the reference weight corresponding to the signal quality can be used as the target weight corresponding to the signal quality, that is, the target weight corresponding to the communication delay is 4 / 10, the reference weight corresponding to the communication delay is increased to obtain the target weight corresponding to the communication delay, for example, 4 / 10, and the reference weight corresponding to the link bandwidth is lowered to obtain the target weight corresponding to the link bandwidth, for example, 2 / 10; when the equipment state is good and the production progress is fast, the reference weight corresponding to the signal quality can be used as the target weight corresponding to the signal quality, that is, the target weight corresponding to the communication delay is 4 / 10, the reference weight corresponding to the communication delay is used as the target weight corresponding to the communication delay, that is, the target weight corresponding to the communication delay is 3 / 10, and the reference weight corresponding to the link bandwidth is used as the target weight corresponding to the link bandwidth, that is, the target weight corresponding to the link bandwidth is 3 / 10.

[0079] Among them, the poor equipment status may be that the operating status of the production control equipment is unstable (specifically, it can be determined by the temperature fluctuation, voltage fluctuation, error rate, etc. of the production control equipment) and / or there are many fault records (for example, the number of faults is greater than or equal to the record number threshold). On the contrary, the good equipment status may be that the operating status of the production control equipment is stable (specifically, it can be determined by the temperature fluctuation, voltage fluctuation, error rate, etc. of the production control equipment) and there are fewer fault records (for example, the number of faults is less than the record number threshold); the slow production progress may be that the current output statistical result does not meet the preset output requirement (for example, the current output statistical result is less than the preset ratio threshold of the total output plan). On the contrary, the fast production progress may be that the current output statistical result meets the preset output requirement (for example, the current output statistical result is greater than the preset ratio threshold of the total output plan). Here, the record number threshold and the preset ratio threshold can be set according to actual application requirements, and the embodiments of the present disclosure are not limited to this.

[0080] After determining multiple evaluation indicators and obtaining multiple target weights corresponding to the multiple evaluation indicators, based on the multiple evaluation indicators and the multiple target weights, the candidate link with the best communication status can be selected as the target link from at least one candidate link that successfully sends the heartbeat data packet to the target controller.

[0081] In a specific example, each candidate link in at least one candidate link that successfully sends a heartbeat data packet to the target controller can be used as a link to be evaluated, and evaluation result characterization values ​​of the link to be evaluated under multiple evaluation indicators are obtained respectively to obtain multiple evaluation result characterization values ​​related to the link to be evaluated, and based on the multiple evaluation result characterization values ​​related to the link to be evaluated and multiple target weights, the state evaluation score of the link to be evaluated is obtained. Exemplarily, the state evaluation score of the link to be evaluated can be obtained specifically through the following logic:

[0082] V=QA1+DA2+BA3

[0083] Among them, V is used to represent the status evaluation score of the link to be evaluated; Q is used to represent the first evaluation result characterization value of the link to be evaluated under the evaluation index of signal quality (the higher the first evaluation result characterization value, the higher the signal quality of the link to be evaluated, and conversely, the lower the first evaluation result characterization value, the lower the signal quality of the link to be evaluated); A1 is used to represent the target weight corresponding to the signal quality; D is used to represent the second evaluation result characterization value of the link to be evaluated under the evaluation index of communication delay (the higher the second evaluation result characterization value, the shorter the communication delay of the link to be evaluated, and conversely, the lower the evaluation result characterization value, the longer the communication delay of the link to be evaluated); A2 is used to represent the target weight corresponding to the communication delay; B is used to represent the third evaluation result characterization value of the link to be evaluated under the evaluation index of link bandwidth (the higher the third evaluation result characterization value, the larger the link bandwidth of the link to be evaluated, and conversely, the lower the evaluation result characterization value, the smaller the link bandwidth of the link to be evaluated); A3 is used to represent the target weight corresponding to the link bandwidth.

[0084] After obtaining the status evaluation score of each candidate link among at least one candidate link that successfully sends the heartbeat data packet to the target controller, the candidate link with the highest status evaluation score can be selected from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the candidate link with the best communication status, that is, the target link.

[0085] Through the above method, in the embodiment of the present disclosure, when the heartbeat data sending instruction is successfully executed, it can be determined that the communication link from the first controller to the target controller is in a normal state, and the candidate link with the best communication state is selected from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link, and then the target station passing indication is sent to the target controller through the target link. In this way, it can be further ensured that the target station passing indication can be accurately received by the target controller, and then ensure that the target controller can accurately perform the station passing control operation for the silk ingot product passing through the target station based on the target station passing indication, that is, to ensure that the silk ingot product can efficiently and accurately circulate and / or decide whether to pass the station when passing the silk ingot station, so as to maintain the efficient operation of the assembly line.

[0086] In some optional implementations, the method for controlling the ingot passing station may further include:

[0087] In the case where the heartbeat data sending instruction is not successfully executed, an abnormal indication result is generated; wherein the abnormal indication result is used to indicate that the communication link from the first controller to the target controller is in an abnormal state;

[0088] Based on the abnormal indication results, a single abnormal record is generated.

[0089] Among them, a single exception record can be identified by error code 3573.

[0090] Through the above method, in the embodiment of the present disclosure, when the heartbeat data sending instruction is not successfully executed, an abnormal indication result can be generated to characterize that the communication link from the first controller to the target controller is in an abnormal state, and a single abnormal record can be generated based on the abnormal indication result. In this way, when a single abnormal record is detected to be generated, it can be determined that there is a potential stability problem in the communication link from the first controller to the target controller, so as to take corresponding processing measures to optimize the communication link from the first controller to the target controller.

[0091] In some optional implementations, “generating a single exception record based on the exception indication result” may include:

[0092] Obtain a target timestamp corresponding to the abnormal indication result;

[0093] Generates a single exception record based on the target timestamp.

[0094] In one example, a timestamp recorded by the first controller when executing a heartbeat data sending instruction corresponding to the abnormal indication result can be obtained as a target timestamp corresponding to the abnormal indication result, and a single abnormal record can be generated based on the target timestamp.

[0095] In a specific example, a single exception record can be generated based only on the target timestamp. For example, a single exception record including the target timestamp is generated. For another example, a first specified time period with the target timestamp as the middle point and a first preset time length before and after is generated as a single exception record. The first preset time length can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0096] Based on the above examples, in an embodiment of the present disclosure, when it is detected that a single abnormal record has been generated, it can be determined that there may be potential stability problems in the communication link from the first controller to the target controller, and based on the target timestamp included in the single abnormal record, the work log of the first controller is queried, and the work log of the target controller is queried, so as to timely and accurately locate the potential stability problems in the communication link from the first controller to the target controller, so as to take corresponding processing measures to optimize the communication link from the first controller to the target controller.

[0097] In another specific example, a single exception record may also be generated in the following manner:

[0098] Based on the target timestamp, obtain the first query time;

[0099] Get the first query content;

[0100] A single exception record is generated based on the first query time and the first query content.

[0101] The first query time may be generated based only on the target timestamp. For example, the first query time including the target timestamp is generated. For another example, the target timestamp is generated as the middle point, and the second specified time period including the second preset time length before and after is generated as the first query time. The second preset time length may be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0102] Furthermore, in the embodiment of the present disclosure, the first query content may include at least one of a single communication data volume from the first controller to the target controller, a communication bandwidth of the first controller, and a communication bandwidth of the target controller.

[0103] Based on the above examples, in an embodiment of the present disclosure, when it is detected that a single abnormal record has been generated, it can be determined that there may be potential stability problems in the communication link from the first controller to the target controller, and based on the first query time included in the single abnormal record, the part of the work log of the first controller related to the single communication data volume from the first controller to the target controller and the communication bandwidth of the first controller is queried, and the part of the work log of the target controller related to the communication bandwidth of the target controller is queried, so as to more timely accurately locate the potential stability problems in the communication link from the first controller to the target controller, so as to take corresponding processing measures to optimize the communication link from the first controller to the target controller.

[0104] Furthermore, in the embodiment of the present disclosure, the first total number of single abnormal records occurring within the preset working period of the ingot passing control can also be counted, and when the first total number is greater than or equal to the first preset number threshold, a first operation and maintenance message is generated, and the first operation and maintenance message is sent to the target object. The first operation and maintenance message may include the first total number and the first operation and maintenance suggestion. Here, the first operation and maintenance suggestion may include at least one of the single communication data volume from the first controller to the target controller, the communication bandwidth of the first controller, and the communication bandwidth of the target controller.

[0105] In some optional implementations, the method for controlling the ingot passing station may further include:

[0106] Based on the single abnormal record, the historical abnormal number M is updated to obtain the current abnormal number M+1; wherein M≥0 and is an integer, and the current abnormal number M+1 is used to indicate that M+1 single abnormal records have been generated, and the M+1 single abnormal records correspond to the M+1 abnormal indication results one by one;

[0107] When the current number of exceptions M+1 is greater than or equal to the preset number threshold, a continuous exception record is generated based on the M+1 single exception records.

[0108] The historical abnormal number M can be obtained in the following ways:

[0109] When the single abnormality number storage space of the first controller is empty, the historical abnormality number M is determined to be 0; when the single abnormality number storage space of the first controller is not empty, the single abnormality number value stored in the single abnormality number storage space is used as the historical abnormality number M.

[0110] In one example, after obtaining the historical number of exceptions M, the historical number of exceptions M can be "+1" operated to obtain the current number of exceptions M+1, and when the current number of exceptions M+1 is greater than or equal to the preset number threshold, a continuous exception record is generated based on the M+1 single exception records. Here, the continuous exception record can be identified by the error code 3307.

[0111] It can be understood that in the embodiment of the present disclosure, when the historical number of exceptions M is updated based on the single exception record to obtain the current number of exceptions M+1, the current number of exceptions M+1 can also be used as a new number of single exceptions value and stored in the single exception number storage space to overwrite the old number of single exceptions value stored in the single exception number storage space with the new number of single exceptions value.

[0112] In addition, in the embodiment of the present disclosure, the preset number threshold can be set according to actual application requirements, for example, it can be set to 3, and the embodiment of the present disclosure does not limit this.

[0113] Through the above method, in the embodiment of the present disclosure, the historical number of abnormalities M can be updated based on a single abnormality record to obtain the current number of abnormalities M+1, and when the current number of abnormalities M+1 is greater than or equal to the preset number threshold, a continuous abnormality record is generated based on M+1 single abnormality records. In this way, when it is detected that continuous abnormality records are generated, it can be determined that the communication link from the first controller to the target controller has a stability problem, so that corresponding processing measures can be taken to optimize the communication link from the first controller to the target controller.

[0114] Further, in the embodiment of the present disclosure, based on a single exception record, the historical number of exceptions M is updated to obtain the current number of exceptions M+1, and when the current number of exceptions M+1 is greater than or equal to the preset number threshold, after generating continuous exception records based on M+1 single exception records, continuous exception records can be generated based on the M+1 single exception records, and then the heartbeat result flag can be reset (that is, HB_OK=0); or, the heartbeat result flag can be reset first (that is, HB_OK=0), and then continuous exception records can be generated based on the M+1 single exception records.

[0115] In addition, it should be noted that in the embodiment of the present disclosure, after the historical number of exceptions M is updated based on a single exception record to obtain the current number of exceptions M+1, the heartbeat data sending instruction can continue to be executed if the current number of exceptions M+1 is less than the preset number threshold.

[0116] In some optional implementations, “generating continuous exception records based on M+1 single exception records” may include:

[0117] Based on the M+1 abnormal indication results corresponding to the M+1 single abnormal records, a second query time is obtained;

[0118] Obtaining the second query content;

[0119] Based on the second query time and the second query content, a continuous exception record is generated.

[0120] In the embodiment of the present disclosure, each of the M+1 abnormal indication results corresponding to the M+1 single abnormal records can be used as the target indication result, and the timestamp recorded by the first controller when executing the heartbeat data sending instruction corresponding to the target indication result is obtained as the target timestamp corresponding to the target indication result, thereby obtaining M+1 target timestamps corresponding to the M+1 abnormal indication results one by one. Based on this, in the embodiment of the present disclosure, the earliest first standby timestamp and the latest second standby timestamp can be determined from the M+1 target timestamps, and a specified time period is formed with the first standby timestamp as the starting time point and the second standby timestamp as the ending time point as the second query time.

[0121] In addition, in the embodiment of the present disclosure, the second query content may include the workload of the first controller.

[0122] Based on the above examples, in an embodiment of the present disclosure, when it is detected that continuous abnormal records have been generated, it can be determined that there is a stability problem in the communication link from the first controller to the target controller, and based on the second query time included in the continuous abnormal records, the part of the work log of the first controller related to the workload of the first controller is queried, thereby more timely and accurately locating the stability problem that already exists in the communication link from the first controller to the target controller, so as to take corresponding processing measures to optimize the communication link from the first controller to the target controller.

[0123] Furthermore, in the embodiment of the present disclosure, the second total number of continuous abnormal records occurring during the preset working period of the ingot passing station control can also be counted, and when the second total number is greater than or equal to the second preset number threshold, a second operation and maintenance message is generated, and the second operation and maintenance message is sent to the target object. The second operation and maintenance message may include the second total number and the second operation and maintenance suggestion. Here, the second operation and maintenance suggestion may include the workload of the first controller to indicate the need to add the first controller.

[0124] The following, combined with Figure 3 , some processes involved in a wire ingot passing station control method provided in an embodiment of the present disclosure are described.

[0125] Step S301, start the ingot passing station control system.

[0126] Step S302, setting preconditions.

[0127] In the embodiment of the present disclosure, the precondition includes the preset heartbeat sending requirement which may include the heartbeat sending mechanism being enabled (ie, HB_ENABLED=1), and the timing duration of the heartbeat timer being greater than or equal to the preset heartbeat interval (ie, HB_TIMER>=HB_INTERVAL).

[0128] Step S303: Update the historical heartbeat count value to obtain the current heartbeat count value, and generate a heartbeat data packet including the current heartbeat count value.

[0129] In the embodiment of the present disclosure, the historical heartbeat count value can be obtained by:

[0130] When the first controller does not receive the heartbeat response data packet sent by the target controller, it randomly generates a first heartbeat count value as the historical heartbeat count value; when the first controller receives the heartbeat response data packet sent by the target controller, it obtains the historical heartbeat count value carried in the heartbeat response data packet.

[0131] In one example, after obtaining the historical heartbeat count value, a "+1" operation may be performed on the historical heartbeat count value to obtain the current heartbeat count value, and a heartbeat data packet including the current heartbeat count value is generated.

[0132] In addition, it should be noted that, in the embodiment of the present disclosure, after the target controller receives the heartbeat data packet sent by the first controller, it can obtain the current heartbeat count value carried in the heartbeat data packet, and perform a "+1" operation on the current heartbeat count value to obtain a new historical heartbeat count value. Thereafter, a heartbeat response data packet including the new historical heartbeat count value can be generated, and then the heartbeat response data packet can be sent to the first controller.

[0133] Step S304, executing the heartbeat data sending instruction.

[0134] The heartbeat data sending instruction is used to instruct the first controller to send a heartbeat data packet to the target controller; the heartbeat data sending instruction may be a "PUT instruction".

[0135] Step S305, determining whether the heartbeat data sending instruction is successfully executed.

[0136] As mentioned above, in the embodiment of the present disclosure, the heartbeat data sending instruction may be a "PUT instruction". Based on this, in the embodiment of the present disclosure, after executing the heartbeat data sending instruction, a first status code (e.g., Error status code) and a second status code (e.g., "Status status code") may be obtained, and when both the first status code and the second status code are 0, it is determined that the heartbeat data sending instruction is successfully executed; when at least one of the first status code and the second status code is not 0, it is determined that the heartbeat data sending instruction is not successfully executed.

[0137] In the embodiment of the present disclosure, when the heartbeat data sending instruction is successfully executed, it can be determined that the communication link from the first controller to the target controller is in a normal state, and the process proceeds to step S306; when the heartbeat data sending instruction is not successfully executed, it can be determined that the communication link from the first controller to the target controller is in an abnormal state, and the process proceeds to step S307.

[0138] Furthermore, in an embodiment of the present disclosure, the first controller may use each of the multiple second controllers as a target controller, receive target business data sent by the target controller, and then send the target business data to the MES. The MES is used to obtain a target station-passing indication based on the target business data, and send the target station-passing indication to the first controller. Thereafter, the first controller may receive the target station-passing indication sent by the MES, and send the target station-passing indication to the target controller when it is determined that the communication link from the first controller to the target controller is in a normal state. The target controller is used to perform a station-passing control operation for the silk ingot product passing through the target station based on the target station-passing indication. Here, the station-passing control operation can be implemented by a station-passing control device set at the target station corresponding to the target controller; the station-passing control operation is used to control the flow of the silk ingot product passing through the target station and / or whether it passes through the station.

[0139] Step S306, setting the heartbeat result flag (ie, setting HB_OK=1).

[0140] In the embodiment of the present disclosure, after executing step S306 , step S312 may be entered.

[0141] Step S307: Generate an abnormality indication result, and generate a single abnormality record based on the abnormality indication result.

[0142] Among them, the abnormal indication result is used to indicate that the communication link from the first controller to the target controller is in an abnormal state; a single abnormal record can be identified by error code 3573.

[0143] In some optional implementations, “generating a single exception record based on the exception indication result” may include:

[0144] Obtain a target timestamp corresponding to the abnormal indication result;

[0145] Generates a single exception record based on the target timestamp.

[0146] In one example, a timestamp recorded by the first controller when executing a heartbeat data sending instruction corresponding to the abnormal indication result can be obtained as a target timestamp corresponding to the abnormal indication result, and a single abnormal record can be generated based on the target timestamp.

[0147] In a specific example, a single exception record can be generated based only on the target timestamp. For example, a single exception record including the target timestamp is generated. For another example, a first specified time period with the target timestamp as the middle point and a first preset time length before and after is generated as a single exception record. The first preset time length can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0148] In another specific example, a single exception record may also be generated in the following manner:

[0149] Based on the target timestamp, obtain the first query time;

[0150] Get the first query content;

[0151] A single exception record is generated based on the first query time and the first query content.

[0152] The first query time may be generated based only on the target timestamp. For example, the first query time including the target timestamp is generated. For another example, the target timestamp is generated as the middle point, and the second specified time period including the second preset time length before and after is generated as the first query time. The second preset time length may be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.

[0153] Furthermore, in the embodiment of the present disclosure, the first query content may include at least one of a single communication data volume from the first controller to the target controller, a communication bandwidth of the first controller, and a communication bandwidth of the target controller.

[0154] Step S308: Based on the single abnormality record, the historical abnormality number M is updated to obtain the current abnormality number M+1.

[0155] The historical abnormal number M can be obtained in the following ways:

[0156] When the single abnormality number storage space of the first controller is empty, the historical abnormality number M is determined to be 0; when the single abnormality number storage space of the first controller is not empty, the single abnormality number value stored in the single abnormality number storage space is used as the historical abnormality number M.

[0157] In one example, after obtaining the historical number of exceptions M, a "+1" operation may be performed on the historical number of exceptions M to obtain the current number of exceptions M+1.

[0158] It can be understood that in the embodiment of the present disclosure, when the historical number of exceptions M is updated based on the single exception record to obtain the current number of exceptions M+1, the current number of exceptions M+1 can also be used as a new number of single exceptions value and stored in the single exception number storage space to overwrite the old number of single exceptions value stored in the single exception number storage space with the new number of single exceptions value.

[0159] Step S309, determining whether the current abnormal number M+1 is greater than or equal to a preset number threshold.

[0160] The preset number threshold may be set according to actual application requirements, for example, it may be set to 3, and the embodiments of the present disclosure do not impose any limitation on this.

[0161] In the embodiment of the present disclosure, when the current number of abnormalities M+1 is greater than or equal to the preset number threshold, the process may proceed to step S310; when the current number of abnormalities M+1 is less than or equal to the preset number threshold, the process may return to step S304.

[0162] Step S310: Generate continuous exception records based on M+1 single exception records.

[0163] Among them, continuous abnormal records can be identified by error code 3307.

[0164] In some optional implementations, “generating continuous exception records based on M+1 single exception records” may include:

[0165] Based on the M+1 abnormal indication results corresponding to the M+1 single abnormal records, a second query time is obtained;

[0166] Obtaining the second query content;

[0167] Based on the second query time and the second query content, a continuous exception record is generated.

[0168] In the embodiment of the present disclosure, each of the M+1 abnormal indication results corresponding to the M+1 single abnormal records can be used as the target indication result, and the timestamp recorded by the first controller when executing the heartbeat data sending instruction corresponding to the target indication result is obtained as the target timestamp corresponding to the target indication result, thereby obtaining M+1 target timestamps corresponding to the M+1 abnormal indication results one by one. Based on this, in the embodiment of the present disclosure, the earliest first standby timestamp and the latest second standby timestamp can be determined from the M+1 target timestamps, and a specified time period is formed with the first standby timestamp as the starting time point and the second standby timestamp as the ending time point as the second query time.

[0169] In addition, in the embodiment of the present disclosure, the second query content may include the workload of the first controller.

[0170] Step S311, resetting the heartbeat result flag (ie, setting HB_OK=0).

[0171] Step S312, resetting the timing duration of the heartbeat timer (ie, setting HB_TIMER=0).

[0172] In the embodiment of the present disclosure, after executing step S312, that is, after resetting the timing duration of the heartbeat timer (that is, setting HB_TIMER=0), the process may return to step S302.

[0173] In order to better implement the above ingot passing station control method, the embodiment of the present disclosure also provides an ingot passing station control device, which is applied to the first controller included in the ingot passing station control system. Figure 4 The structural schematic diagram shown is used to illustrate a spindle passing station control device 400 provided in the disclosed embodiment.

[0174] The ingot passing station control device 400 comprises:

[0175] The service data receiving unit 401 is used to take each second controller among the plurality of second controllers as a target controller and receive target service data sent by the target controller;

[0176] The service data sending unit 402 is used to send the target service data to the MES; wherein the MES is used to obtain a target transit indication based on the target service data, and send the target transit indication to the first controller;

[0177] A stop-over indication receiving unit 403, configured to receive a target stop-over indication sent by the MES;

[0178] The station passing indication sending unit 404 is used to send a target station passing indication to the target controller when it is determined that the communication link from the first controller to the target controller is in a normal state; wherein the target controller is used to perform a station passing control operation for the silk ingot product passing through the target workstation corresponding to the target controller based on the target station passing indication.

[0179] In some optional implementations, the stop-over indication sending unit 404 is configured to:

[0180] Update the historical heartbeat count value to obtain the current heartbeat count value;

[0181] Generate a heartbeat data packet including a current heartbeat count value;

[0182] Execute a heartbeat data sending instruction; wherein the heartbeat data sending instruction is used to instruct the first controller to send a heartbeat data packet to a target controller;

[0183] When the heartbeat data sending instruction is successfully executed, it is determined that the communication link from the first controller to the target controller is in a normal state, and a target transit indication is sent to the target controller.

[0184] In some optional implementations, the heartbeat data sending instruction is used to instruct the first controller to send the heartbeat data packet to the target controller through multiple candidate links respectively;

[0185] The stop-over indication sending unit 404 is used for:

[0186] In the case where the heartbeat data sending instruction is successfully executed, determining that the communication link from the first controller to the target controller is in a normal state;

[0187] Selecting a candidate link with the best communication status from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link;

[0188] The target transit indication is sent to the target controller via the target link.

[0189] In some optional implementations, the stop-over indication sending unit 404 is configured to:

[0190] Identify multiple evaluation indicators;

[0191] Obtain multiple target weights corresponding to multiple evaluation indicators one by one;

[0192] Based on the multiple evaluation indicators and the multiple target weights, a candidate link with the best communication status is selected from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link.

[0193] In some optional implementations, the stop-over indication sending unit 404 is configured to:

[0194] Obtain multiple reference weights corresponding to multiple evaluation indicators one by one;

[0195] Based on the target business data, multiple reference weights are adjusted respectively to obtain multiple target weights corresponding to multiple evaluation indicators.

[0196] In some optional implementations, the ingot passing station control device 400 further includes a single abnormal record generation unit, which is used to:

[0197] In the case where the heartbeat data sending instruction is not successfully executed, an abnormal indication result is generated; wherein the abnormal indication result is used to indicate that the communication link from the first controller to the target controller is in an abnormal state;

[0198] Based on the abnormal indication results, a single abnormal record is generated.

[0199] In some optional implementations, the single exception record generating unit is used to:

[0200] Obtain a target timestamp corresponding to the abnormal indication result;

[0201] Generates a single exception record based on the target timestamp.

[0202] In some optional implementations, the single exception record generating unit is used to:

[0203] Based on the target timestamp, obtain the first query time;

[0204] Get the first query content;

[0205] A single exception record is generated based on the first query time and the first query content.

[0206] In some optional implementations, the first query content includes at least one of a single communication data volume from the first controller to the target controller, a communication bandwidth of the first controller, and a communication bandwidth of the target controller.

[0207] In some optional implementations, the ingot passing station control device 400 further includes a continuous abnormality record generating unit, which is used to:

[0208] Based on the single abnormal record, the historical abnormal number M is updated to obtain the current abnormal number M+1; wherein M≥0 and is an integer, and the current abnormal number M+1 is used to indicate that M+1 single abnormal records have been generated, and the M+1 single abnormal records correspond to the M+1 abnormal indication results one by one;

[0209] When the current number of exceptions M+1 is greater than or equal to the preset number threshold, a continuous exception record is generated based on the M+1 single exception records.

[0210] In some optional implementations, the continuous exception record generating unit is used to:

[0211] Based on the M+1 abnormal indication results corresponding to the M+1 single abnormal records, a second query time is obtained;

[0212] Obtaining the second query content;

[0213] Based on the second query time and the second query content, a continuous exception record is generated.

[0214] In some optional implementations, the second query content includes the workload of the first controller.

[0215] The specific functions and examples of each unit in the ingot passing station control device 400 provided in the embodiment of the present disclosure can be described by referring to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.

[0216] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0217] Figure 5 FIG. 1 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Figure 5 As shown, the electronic device includes: a memory 501 and a processor 502, and the memory 501 stores a computer program that can be run on the processor 502. The number of memories 501 and processors 502 can be one or more. The memory 501 can store one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device executes the method provided by the above method embodiment. The electronic device may also include: a communication interface 503, which is used to communicate with external devices and perform data exchange transmission.

[0218] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the memory 501, the processor 502 and the communication interface 503 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0219] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0220] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.

[0221] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0222] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (for example: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (for example: infrared, Bluetooth, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc. It is worth noting that the computer-readable storage medium mentioned in the present disclosure may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0223] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0224] In the description of the embodiments of the present disclosure, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0225] In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or, for example, A / B can mean A or B. "And / or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0226] In the description of the embodiments of the present disclosure, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more.

[0227] The above description is only an exemplary embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for controlling a wire ingot passing station, applied to a first controller included in a wire ingot passing station control system, wherein the wire ingot passing station control system further includes a manufacturing execution system and a plurality of second controllers communicating with the first controller; wherein: Each of the plurality of second controllers has a corresponding ingot station, so as to obtain business data related to the ingot station and perform a station control operation for the ingot product passing through the ingot station; The method comprises: Taking each second controller among the plurality of second controllers as a target controller, and receiving target service data sent by the target controller; Sending the target business data to the manufacturing execution system; wherein the manufacturing execution system is used to obtain a target stop-over indication based on the target business data, and send the target stop-over indication to the first controller; receiving the target transit indication sent by the manufacturing execution system; When it is determined that the communication link from the first controller to the target controller is in a normal state, the target station passing indication is sent to the target controller; wherein the target controller is used to perform a station passing control operation for the silk ingot product passing through the target workstation corresponding to the target controller based on the target station passing indication.

2. The method according to claim 1, wherein: The step of sending the target transit indication to the target controller when it is determined that the communication link from the first controller to the target controller is in a normal state comprises: Update the historical heartbeat count value to obtain the current heartbeat count value; Generate a heartbeat data packet including the current heartbeat count value; Execute a heartbeat data sending instruction; wherein the heartbeat data sending instruction is used to instruct the first controller to send the heartbeat data packet to the target controller; When the heartbeat data sending instruction is successfully executed, it is determined that the communication link from the first controller to the target controller is in a normal state, and the target transit indication is sent to the target controller.

3. The method according to claim 2, wherein: The heartbeat data sending instruction is used to instruct the first controller to send the heartbeat data packet to the target controller through multiple candidate links respectively; The step of determining, when the heartbeat data sending instruction is successfully executed, that the communication link from the first controller to the target controller is in a normal state, and sending the target transit indication to the target controller comprises: determining, when the heartbeat data sending instruction is successfully executed, that the communication link from the first controller to the target controller is in a normal state; Selecting a candidate link with the best communication status from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link; The target transit indication is sent to the target controller via the target link.

4. The method according to claim 3, wherein: The step of selecting a candidate link with the best communication status from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link comprises: Identify multiple evaluation indicators; Obtaining multiple target weights corresponding to the multiple evaluation indicators one by one; Based on the multiple evaluation indicators and the multiple target weights, a candidate link with the best communication status is selected from at least one candidate link that successfully sends the heartbeat data packet to the target controller as the target link.

5. The method according to claim 4, wherein: The obtaining of a plurality of target weights corresponding one-to-one to the plurality of evaluation indicators comprises: Acquire a plurality of reference weights corresponding one-to-one to the plurality of evaluation indicators; Based on the target business data, the multiple reference weights are adjusted respectively to obtain multiple target weights corresponding to the multiple evaluation indicators.

6. The method according to claim 2, further comprising: In the case where the heartbeat data sending instruction is not successfully executed, an abnormal indication result is generated; wherein the abnormal indication result is used to indicate that the communication link from the first controller to the target controller is in an abnormal state; Based on the abnormal indication result, a single abnormal record is generated.

7. The method according to claim 6, wherein: The generating a single abnormality record based on the abnormality indication result includes: Obtaining a target timestamp corresponding to the abnormal indication result; Based on the target timestamp, the single exception record is generated.

8. The method according to claim 7, wherein: The generating the single exception record based on the target timestamp includes: Based on the target timestamp, obtaining a first query time; Get the first query content; The single exception record is generated based on the first query time and the first query content.

9. The method according to claim 8, wherein: The first query content includes at least one of a single communication data volume from the first controller to the target controller, a communication bandwidth of the first controller, and a communication bandwidth of the target controller.

10. The method according to any one of claims 6 to 9, further comprising: Based on the single exception record, the historical exception number M is updated to obtain the current exception number M+1; wherein M≥0 and is an integer, and the current exception number M+1 is used to indicate that M+1 single exception records have been generated, and the M+1 single exception records correspond one-to-one to the M+1 exception indication results; When the current number of exceptions M+1 is greater than or equal to a preset number threshold, a continuous exception record is generated based on the M+1 single exception records.

11. The method according to claim 10, wherein: The generating of continuous exception records based on the M+1 single exception records includes: Obtaining a second query time based on the M+1 abnormal indication results corresponding to the M+1 single abnormal records; Obtaining the second query content; The continuous exception record is generated based on the second query time and the second query content.

12. The method according to claim 11, wherein: The second query content includes the workload of the first controller.

13. A wire ingot station control device, applied to a first controller included in a wire ingot station control system, the wire ingot station control system also includes a manufacturing execution system and a plurality of second controllers communicating with the first controller; each of the plurality of second controllers has a corresponding wire ingot station, so as to obtain business data related to the wire ingot station, and perform a station control operation for a wire ingot product located at the wire ingot station; The device comprises: a service data receiving unit, configured to take each of the plurality of second controllers as a target controller and receive target service data sent by the target controller; A service data sending unit, configured to send the target service data to the manufacturing execution system; wherein the manufacturing execution system is configured to obtain a target stop-over indication based on the target service data, and send the target stop-over indication to the first controller; a stop-over indication receiving unit, configured to receive the target stop-over indication sent by the manufacturing execution system; A station passing indication sending unit is used to send the target station passing indication to the target controller when it is determined that the communication link from the first controller to the target controller is in a normal state; wherein the target controller is used to perform a station passing control operation for the silk ingot product passing through the target workstation corresponding to the target controller based on the target station passing indication.

14. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 12.

15. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 12.