Wire spindle station-crossing control method and device, electronic equipment and storage medium
The method and device for controlling wire ingot passing through stations address data management and communication stability issues, enhancing production line efficiency by ensuring accurate and timely data transmission and decision-making.
Patent Information
- Application Number
- CN202411370310.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-03
AI Technical Summary
In the production process of ingot products, ensuring efficient and accurate flow through multiple interconnected stations is crucial for maintaining production line efficiency, but existing systems face challenges in data management and communication stability, leading to potential delays and inaccuracies in decision-making.
A method and device for controlling wire ingot passing through stations, utilizing a first controller to manage data from multiple second controllers, ensuring normal communication links before data transfer, and implementing a heartbeat mechanism to verify link status, thereby reducing data errors and enhancing system scalability and stability.
This approach ensures accurate and efficient control of ingot product flow, reducing data processing burdens and improving the overall operation of the production line by ensuring timely and reliable data transmission and decision-making.
Smart Images

Figure CN119247870A_ABST
Abstract
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 workstation, so as to obtain business data related to the wire ingot workstation, and perform a passing station control operation for a wire ingot product located at the wire ingot workstation;
[0005] The method includes:
[0006] Taking each second controller of the plurality of second controllers as a target controller, and receiving target service data sent by the target controller when determining that a communication link from the target controller to the first controller is in a normal state;
[0007] 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;
[0008] receiving the target transit indication sent by the manufacturing execution system;
[0009] 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 station 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; wherein each of the plurality of second controllers has a corresponding wire ingot workstation, so as to obtain business data related to the wire ingot workstation, and perform a station-passing control operation for a wire ingot product located at the wire ingot workstation;
[0011] The device includes:
[0012] a service data receiving unit, configured to receive target service data sent by each second controller of the plurality of second controllers as a target controller and, when determining that a communication link from the target controller to the first controller is in a normal state;
[0013] 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;
[0014] a stop-over indication receiving unit, configured to receive the target stop-over indication sent by the manufacturing execution system;
[0015] A station passing indication sending unit is used to send the target station passing indication 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.
[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 by 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 when it is determined that the communication link from the target controller to the first controller is in a normal state.
[0039] Among them, at least one ingot workstation corresponding to the target controller includes the target workstation, and the target controller can obtain business data related to the target workstation as target business data. Thereafter, the first controller can receive the target business data sent by the target controller when it is determined that the communication link from the target controller to the first controller is in a normal state.
[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: sending the target transit indication 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, since the first controller will receive the target business data sent by the target controller only when it is determined that the communication link from the target controller to itself is in a normal state, in this way, it can be avoided that the first controller starts to receive data when the communication link from the target controller to itself is in an abnormal state and receives damaged, erroneous or invalid data as the target business data, thereby ensuring that the target business data received by the MES is also accurate. Finally, it can be ensured that the MES can obtain accurate target passing station indications based on these target business data, so that the target controller can accurately perform the passing station control operation for the ingot products passing through the target station, that is, to ensure that the ingot products can efficiently and accurately circulate and / or decide whether to pass the station when passing through 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] Further, in an embodiment of the present disclosure, the first controller may generate a heartbeat data packet including a current heartbeat count value (for example, using a random heartbeat count value as the current heartbeat count value), and send the heartbeat data packet to the target controller. Wherein, the target controller is used to obtain the current heartbeat count value carried in the heartbeat data packet after receiving the heartbeat data packet, and perform a "+1" operation on the current heartbeat count value to obtain a heartbeat count response value, and then generate a heartbeat response data packet including the heartbeat count response value. Based on this, in some optional embodiments, step S201, that is, "receiving target business data sent by the target controller when determining that the communication link from the target controller to the first controller is in a normal state" may include:
[0051] Execute a heartbeat data receiving instruction; wherein the heartbeat data receiving instruction is used to instruct the first controller to receive a heartbeat response data packet sent by the target controller;
[0052] When the heartbeat data receiving instruction is successfully executed (ie, the heartbeat response data packet sent by the target controller is successfully received), it is determined that the communication link from the target controller to the first controller is in a normal state, and the target service data sent by the target controller is received.
[0053] In one example, the first controller may execute the heartbeat data receiving instruction at a preset time interval, wherein the preset time interval may be set according to actual application requirements, and the embodiment of the present disclosure does not limit this.
[0054] In addition, in the embodiment of the present disclosure, the heartbeat data receiving instruction may be a "GET instruction". Based on this, in the embodiment of the present disclosure, after executing the heartbeat data receiving 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 receiving 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 receiving instruction is not successfully executed.
[0055] In the above manner, in the embodiment of the present disclosure, the heartbeat data receiving instruction can be executed, and when the heartbeat data receiving instruction is successfully executed, it is determined that the communication link from the target controller to the first controller is in a normal state, and the target business data sent by the target controller is received. This active probing mechanism can confirm in a timely manner when the communication link from the target controller to the first controller is in a normal state, thereby ensuring that the target business data can be received by the first controller in a timely manner, reducing the delayed transmission of the target business data, so as to more effectively maintain the efficient operation of the pipeline.
[0056] In an optional implementation, “when the heartbeat data receiving instruction is successfully executed, determining that the communication link from the target controller to the first controller is in a normal state, and receiving the target service data sent by the target controller” may include:
[0057] When the heartbeat data receiving instruction is successfully executed, the heartbeat count response value carried in the heartbeat response data packet is obtained;
[0058] Obtain the most recent heartbeat count sent value stored in the first controller;
[0059] When the heartbeat count response value and the most recent heartbeat count transmission value satisfy a preset logical relationship, it is determined that the communication link from the target controller to the first controller is in a normal state, and the target service data transmitted by the target controller is received.
[0060] The most recent heartbeat count sent value may be a current heartbeat count value carried in a heartbeat data packet most recently sent by the first controller to the target controller.
[0061] In addition, in one example, the preset logical relationship may be: the heartbeat count response value and the most recent heartbeat count transmission value are not equal. In another example, the preset logical relationship may also be: heartbeat count response value=most recent heartbeat count transmission value+1.
[0062] Through the above manner, in the embodiment of the present disclosure, only when the heartbeat count response value carried in the heartbeat response data packet and the most recent heartbeat count sending value stored in the first controller are obtained, and when the heartbeat count response value and the most recent heartbeat count sending value satisfy the preset logical relationship, will it be determined that the communication link from the target controller to the first controller is in a normal state, and the target business data sent by the target controller will be received, thereby ensuring the reliability of the judgment result of whether the communication link from the target controller to the first controller is in a normal state.
[0063] In another optional implementation, the heartbeat data receiving instruction can be specifically used to instruct the first controller to receive the heartbeat response data packet sent by the target controller through multiple candidate links respectively. The multiple candidate links can be communication links pre-established between the target controller and the first 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.
[0064] Based on the above, in the above implementation mode, “when the heartbeat data receiving instruction is successfully executed, determining that the communication link from the target controller to the first controller is in a normal state, and receiving the target service data sent by the target controller” may also include:
[0065] In the case where there is at least one communicative link among the multiple candidate links, it is determined that the communication link from the target controller to the first controller is in a normal state; wherein the communicative link is a candidate link that successfully receives a heartbeat response data packet sent by the target controller to indicate that a heartbeat data receiving instruction is successfully executed; and the heartbeat count response value carried in the heartbeat response data packet received by the communicative link and the most recent heartbeat count transmission value stored in the first controller satisfy a preset logical relationship;
[0066] Selecting a communicative link with an optimal communication state from at least one communicative link as a target link;
[0067] Receive target service data sent by the target controller through the target link.
[0068] As mentioned above, in the embodiment of the present disclosure, the successful execution of the heartbeat data receiving instruction can be understood as the successful reception of the heartbeat response data packet sent by the target controller. Specifically, in the above embodiment, as long as there is at least one communicative link among the multiple candidate links (that is, a candidate link that successfully receives the heartbeat response data packet sent by the target controller), the heartbeat data receiving instruction is considered to be successfully executed, and when the heartbeat data receiving instruction is successfully executed, it is determined that the communication link from the first controller to the target controller is in a normal state.
[0069] In addition, in the above implementation mode, the most recent heartbeat count sending value can be the current heartbeat count value carried in the heartbeat data packet most recently sent by the first controller to the target controller; the preset logical relationship can be: the heartbeat count response value and the most recent heartbeat count sending value are not equal, or, the preset logical relationship can also be: heartbeat count response value = most recent heartbeat count sending value + 1.
[0070] After determining that the communication link from the target controller to the first controller is in a normal state, the communicative link with the best communication state can be selected from at least one communicative link as the target link, and the target service data sent by the target controller can be received through the target link.
[0071] Further, in an example, “selecting a communicative link with the best communication status from at least one communicative link as the target link, and passing through the target link” may include:
[0072] Identify multiple evaluation indicators;
[0073] Obtain multiple target weights corresponding to multiple evaluation indicators one by one;
[0074] Based on multiple evaluation indicators and multiple target weights, a communicative link with an optimal communication state is selected from at least one communicative link as a target link.
[0075] 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 communicative link; for each communicative link in at least one communicative link, the communication delay of the communicative 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 communicative 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 communicative link; link bandwidth can be used to characterize the maximum single data volume that can be transmitted on the communicative link.
[0076] 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:
[0077] Obtain multiple reference weights corresponding to multiple evaluation indicators one by one;
[0078] Based on the target business data, multiple reference weights are adjusted respectively to obtain multiple target weights corresponding to the multiple evaluation indicators.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] After determining multiple evaluation indicators and obtaining multiple target weights corresponding to the multiple evaluation indicators, a communicative link with the best communication status can be selected from at least one communicative link as a target link based on the multiple evaluation indicators and the multiple target weights.
[0084] In a specific example, each of the at least one communicative link 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:
[0085] V=QA1+DA2+BA3
[0086] 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.
[0087] After obtaining the status evaluation score of each of the at least one communicable link, the communicable link with the highest status evaluation score may be selected from the at least one communicable link as the communicable link with the best communication status, that is, the target link.
[0088] Through the above method, in the embodiment of the present disclosure, when there is at least one communicative link among multiple candidate links, it can be determined that the communication link from the target controller to the first controller is in a normal state, and the communicative link with the best communication state is selected from at least one communicative link as the target link, and then the target business data sent by the target controller is received through the target link. In this way, it can be further ensured that the target business data received by the MES is also accurate, and ultimately, it can be ensured that the MES can obtain accurate target station passing indications based on these target business data, so that the target controller can accurately perform station passing control operations for the silk ingot products passing through the target station, that is, 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 assembly line.
[0089] Further, in the embodiment of the present disclosure, after determining that the communication link from the target controller to the first controller is in a normal state, the target service data sent by the target controller can be received first, and then the heartbeat result flag can be set (that is, HB_OK=1); or, the heartbeat result flag can be set first (that is, HB_OK=1), and then the target service data sent by the target controller can be received; or, while receiving the target service data sent by the target controller, the heartbeat result flag can be set (that is, HB_OK=1). Thereafter, the heartbeat count response value and the most recent heartbeat count transmission value can be cleared.
[0090] In addition, in the embodiment of the present disclosure, after determining that the communication link from the target controller to the first controller is in an abnormal state, the heartbeat result flag can be reset first (ie, set HB_OK=0), and then the heartbeat count response value and the most recent heartbeat count sending value can be cleared.
[0091] In some optional implementations, the method for controlling the ingot passing station may further include:
[0092] In the case where the heartbeat data receiving 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 target controller to the first controller is in an abnormal state;
[0093] Based on the abnormal indication results, a single abnormal record is generated.
[0094] Among them, a single exception record can be identified by error code 3308.
[0095] Through the above method, in the embodiment of the present disclosure, when the heartbeat data receiving instruction is not successfully executed, an abnormal indication result can be generated to characterize that the communication link from the target controller to the first 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 target controller to the first controller, so as to take corresponding processing measures to optimize the communication link from the target controller to the first controller.
[0096] In some optional implementations, “generating a single exception record based on the exception indication result” may include:
[0097] Obtain a target timestamp corresponding to the abnormal indication result;
[0098] Generates a single exception record based on the target timestamp.
[0099] In one example, a timestamp recorded by the first controller when executing a heartbeat data receiving 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.
[0100] 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 specified time period with the target timestamp as the middle point and the 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.
[0101] 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 target controller to the first 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 target controller to the first controller, so as to take corresponding processing measures to optimize the communication link from the first controller to the target controller.
[0102] In another specific example, a single exception record may also be generated in the following manner:
[0103] Based on the target timestamp, get the query time;
[0104] Get the query content;
[0105] Generate a single exception record based on the query time and query content.
[0106] The query time may be generated based only on the target timestamp. For example, the query time including the target timestamp is generated. For another example, the target timestamp is generated as the midpoint, and the specified time period including the second preset time length before and after is generated as a single exception record. The second preset time length can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.
[0107] Furthermore, in the embodiment of the present disclosure, the query content may include at least one of a single communication data volume from the target controller to the first controller, a communication bandwidth of the first controller, a communication bandwidth of the target controller, and an execution cycle of the target controller.
[0108] 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 target controller to the first controller, and based on the 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 target controller to the first 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 and execution cycle of the target controller is queried, so as to more timely locate the potential stability problems in the communication link from the target controller to the first controller, so as to take corresponding processing measures to optimize the communication link from the target controller to the first controller.
[0109] 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.
[0110] Step S301, start the ingot passing station control system.
[0111] Step S302, executing the heartbeat data receiving instruction.
[0112] In one example, the first controller may execute the heartbeat data receiving instruction at a preset time interval, wherein the preset time interval may be set according to actual application requirements, and the embodiment of the present disclosure does not limit this.
[0113] In addition, in the embodiment of the present disclosure, the heartbeat data receiving instruction may be a "GET instruction".
[0114] Step S303, determining whether the heartbeat data receiving instruction is successfully executed.
[0115] As mentioned above, the heartbeat data receiving instruction may be a "GET instruction". Based on this, in the embodiment of the present disclosure, after executing the heartbeat data receiving 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 receiving 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 receiving instruction is not successfully executed.
[0116] In the embodiment of the present disclosure, when the heartbeat data receiving instruction is successfully executed, it can be determined that the communication link from the target controller to the first controller is in a normal state, and the process proceeds to step S304; when the heartbeat data receiving instruction is not successfully executed, it can be determined that the communication link from the target controller to the first controller is in an abnormal state, and the process proceeds to step S307.
[0117] Further, in the embodiment of the present disclosure, the first controller can use each of the multiple second controllers as a target controller, and when determining that the communication link from the target controller to the first controller is in a normal state, receive the target business data sent by the target controller, and then send the target business data to the MES. Wherein, 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 can receive the target station passing indication sent by the MES, and send the target station passing indication 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 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.
[0118] Step S304, determining whether the heartbeat count response value carried in the heartbeat response data packet and the most recent heartbeat count transmission value stored in the first controller satisfy a preset logical relationship.
[0119] The most recent heartbeat count sent value may be a current heartbeat count value carried in a heartbeat data packet most recently sent by the first controller to the target controller.
[0120] In addition, in one example, the preset logical relationship may be: the heartbeat count response value and the most recent heartbeat count transmission value are not equal. In another example, the preset logical relationship may also be: heartbeat count response value=most recent heartbeat count transmission value+1.
[0121] In an embodiment of the present disclosure, when the heartbeat count response value carried in the heartbeat response data packet and the most recent heartbeat count sending value stored in the first controller satisfy a preset logical relationship, it is determined that the communication link from the target controller to the first controller is in a normal state, and the process proceeds to step S305; when the heartbeat count response value carried in the heartbeat response data packet and the most recent heartbeat count sending value stored in the first controller do not satisfy the preset logical relationship, it is determined that the communication link from the target controller to the first controller is in an abnormal state, and the process proceeds to step S306.
[0122] Step S305, setting the heartbeat result flag (ie, setting HB_OK=1).
[0123] In the embodiment of the present disclosure, after executing step S305, step S308 may be entered.
[0124] Step S306, resetting the heartbeat result flag (ie, setting HB_OK=0).
[0125] In the embodiment of the present disclosure, after executing step S306, step S308 may be entered.
[0126] Step S307: Generate an abnormality indication result, and generate a single abnormality record based on the abnormality indication result.
[0127] Among them, the abnormal indication result is used to indicate that the communication link from the target controller to the first controller is in an abnormal state; a single abnormal record can be identified by error code 3308.
[0128] In some optional implementations, “generating a single exception record based on the exception indication result” may include:
[0129] Obtain a target timestamp corresponding to the abnormal indication result;
[0130] Generates a single exception record based on the target timestamp.
[0131] In one example, a timestamp recorded by the first controller when executing a heartbeat data receiving 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.
[0132] 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 specified time period with the target timestamp as the middle point and the 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.
[0133] In another specific example, a single exception record may also be generated in the following manner:
[0134] Based on the target timestamp, get the query time;
[0135] Get the query content;
[0136] Generate a single exception record based on the query time and query content.
[0137] The query time may be generated based only on the target timestamp. For example, the query time including the target timestamp is generated. For another example, the target timestamp is generated as the midpoint, and the specified time period including the second preset time length before and after is generated as a single exception record. The second preset time length can be set according to actual application requirements, and the embodiments of the present disclosure do not limit this.
[0138] Furthermore, in the embodiment of the present disclosure, the query content may include at least one of a single communication data volume from the target controller to the first controller, a communication bandwidth of the first controller, a communication bandwidth of the target controller, and an execution cycle of the target controller.
[0139] In the embodiment of the present disclosure, after executing step S307, the process may return to step S302.
[0140] Step S308: clearing the heartbeat count response value and the most recent heartbeat count transmission value.
[0141] In the embodiment of the present disclosure, after executing step S308, the process may return to step S302.
[0142] 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.
[0143] The ingot passing station control device 400 comprises:
[0144] The service data receiving unit 401 is used to take each second controller of the plurality of second controllers as a target controller, and when it is determined that the communication link from the target controller to the first controller is in a normal state, receive target service data sent by the target controller;
[0145] 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;
[0146] A stop-over indication receiving unit 403, configured to receive a target stop-over indication sent by the MES;
[0147] The station passing indication sending unit 404 is used to send the target station passing indication to the target controller; wherein the target controller is used to perform the station passing control operation for the silk ingot product passing through the target station corresponding to the target controller based on the target station passing indication.
[0148] In some optional implementations, the service data receiving unit 401 is used to:
[0149] Execute a heartbeat data receiving instruction; wherein the heartbeat data receiving instruction is used to instruct the first controller to receive a heartbeat response data packet sent by the target controller;
[0150] When the heartbeat data receiving instruction is successfully executed, it is determined that the communication link from the target controller to the first controller is in a normal state, and the target service data sent by the target controller is received.
[0151] In some optional implementations, the service data receiving unit 401 is used to:
[0152] When the heartbeat data receiving instruction is successfully executed, the heartbeat count response value carried in the heartbeat response data packet is obtained;
[0153] Obtain the most recent heartbeat count sent value stored in the first controller;
[0154] When the heartbeat count response value and the most recent heartbeat count transmission value satisfy a preset logical relationship, it is determined that the communication link from the target controller to the first controller is in a normal state, and the target service data transmitted by the target controller is received.
[0155] In some optional implementations, the heartbeat data receiving instruction is used to instruct the first controller to receive a heartbeat response data packet sent by the target controller through a plurality of candidate links respectively;
[0156] The service data receiving unit 401 is used for:
[0157] In the case where there is at least one communicative link among the multiple candidate links, it is determined that the communication link from the target controller to the first controller is in a normal state; wherein the communicative link is a candidate link that successfully receives a heartbeat response data packet sent by the target controller to indicate that a heartbeat data receiving instruction is successfully executed; and the heartbeat count response value carried in the heartbeat response data packet received by the communicative link and the most recent heartbeat count transmission value stored in the first controller satisfy a preset logical relationship;
[0158] Selecting a communicative link with an optimal communication state from at least one communicative link as a target link;
[0159] Receive target service data sent by the target controller through the target link.
[0160] In some optional implementations, the service data receiving unit 401 is used to:
[0161] Identify multiple evaluation indicators;
[0162] Obtain multiple target weights corresponding to multiple evaluation indicators one by one;
[0163] Based on multiple evaluation indicators and multiple target weights, a communicative link with an optimal communication state is selected from at least one communicative link as a target link.
[0164] In some optional implementations, the service data receiving unit 401 is used to:
[0165] Obtain multiple reference weights corresponding to multiple evaluation indicators one by one;
[0166] Based on the target business data, multiple reference weights are adjusted respectively to obtain multiple target weights corresponding to the multiple evaluation indicators.
[0167] In some optional implementations, the ingot passing station control device 400 further includes a single abnormal record generation unit, which is used to:
[0168] In the case where the heartbeat data receiving 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 target controller to the first controller is in an abnormal state;
[0169] Based on the abnormal indication results, a single abnormal record is generated.
[0170] In some optional implementations, the single exception record generating unit is used to:
[0171] Obtain a target timestamp corresponding to the abnormal indication result;
[0172] Generates a single exception record based on the target timestamp.
[0173] In some optional implementations, the single exception record generating unit is used to:
[0174] Based on the target timestamp, get the query time;
[0175] Get the query content;
[0176] Generate a single exception record based on the query time and query content.
[0177] In some optional implementations, the query content includes at least one of a single communication data volume from the target controller to the first controller, a communication bandwidth, and an execution cycle of the target controller.
[0178] 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.
[0179] 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.
[0180] Figure 5 FIG. 1 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Figure 5As 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.
[0181] 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.
[0182] 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.
[0183] 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.
[0184] 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).
[0185] 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.
[0186] 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.
[0187] 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.
[0188] 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.
[0189] 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.
[0190] 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 of the plurality of second controllers as a target controller, and receiving target service data sent by the target controller when determining that a communication link from the target controller to the first controller is in a normal state; 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; 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 station corresponding to the target controller based on the target station passing indication.
2. The method according to claim 1, wherein: The step of receiving target service data sent by the target controller when it is determined that the communication link from the target controller to the first controller is in a normal state comprises: Execute a heartbeat data receiving instruction; wherein the heartbeat data receiving instruction is used to instruct the first controller to receive a heartbeat response data packet sent by the target controller; When the heartbeat data receiving instruction is successfully executed, it is determined that the communication link from the target controller to the first controller is in a normal state, and the target service data sent by the target controller is received.
3. The method according to claim 2, wherein: In the case where the heartbeat data receiving instruction is successfully executed, determining that the communication link from the target controller to the first controller is in a normal state, and receiving the target service data sent by the target controller, comprises: When the heartbeat data receiving instruction is successfully executed, obtaining the heartbeat count response value carried in the heartbeat response data packet; Obtaining the most recent heartbeat count sent value stored in the first controller; When the heartbeat count response value and the most recent heartbeat count transmission value satisfy a preset logical relationship, it is determined that the communication link from the target controller to the first controller is in a normal state, and the target service data transmitted by the target controller is received.
4. The method according to claim 2, wherein: The heartbeat data receiving instruction is used to instruct the first controller to receive the heartbeat response data packet sent by the target controller through multiple candidate links respectively; Wherein, when the heartbeat data receiving instruction is successfully executed, determining that the communication link from the target controller to the first controller is in a normal state, and receiving the target service data sent by the target controller, includes: In the case where there is at least one communicative link among the multiple candidate links, it is determined that the communication link from the target controller to the first controller is in a normal state; wherein the communicative link is a candidate link that successfully receives a heartbeat response data packet sent by the target controller to indicate that the heartbeat data receiving instruction is successfully executed; the heartbeat count response value carried in the heartbeat response data packet received by the communicative link and the most recent heartbeat count transmission value stored in the first controller meet a preset logical relationship; Selecting a communicative link with the best communication status from the at least one communicative link as the target link; Receive target service data sent by the target controller through the target link.
5. The method according to claim 4, wherein: The step of selecting a communicative link with an optimal communication status from the at least one communicative link as a 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 communicative link with the best communication status is selected from the at least one communicative link as a target link.
6. The method according to claim 5, 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.
7. The method according to any one of claims 2 to 6, further comprising: In the case where the heartbeat data receiving 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 target controller to the first controller is in an abnormal state; Based on the abnormal indication result, a single abnormal record is generated.
8. The method according to claim 7, 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.
9. The method according to claim 8, wherein: The generating the single exception record based on the target timestamp includes: Based on the target timestamp, obtaining a query time; Get the query content; The single exception record is generated based on the query time and the query content.
10. The method according to claim 9, wherein: The query content includes at least one of a single communication data volume from the target controller to the first controller, a communication bandwidth of the first controller, a communication bandwidth of the target controller, and an execution cycle of the target controller.
11. A wire ingot station control device, applied to a first controller included in a wire ingot station control system, wherein the wire ingot 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 device comprises: a service data receiving unit, configured to receive target service data sent by each second controller of the plurality of second controllers as a target controller and, when determining that a communication link from the target controller to the first controller is in a normal state; 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; 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.
12. 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. 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 10.
13. 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 10.
