Data communication method, lower computer and upper computer

By introducing the overflow queue and priority sorting mechanism into the control system of semiconductor process equipment, the problem of data loss caused by overflow of the lower computer's sending queue is solved, and the reliability and integrity of data transmission are improved.

CN118740772APending Publication Date: 2024-10-01BEIJING NAURA MICROELECTRONICS EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310324312.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the control system of semiconductor process equipment, when communicating between the upper computer and the lower computer, data is easily lost when the sending queue of the lower computer overflows, resulting in low reliability and integrity of data transmission.

Method used

By introducing an overflow queue in the lower computer, the overflow data of the sending queue is temporarily stored. When the sending queue is idle, the overflow data is transferred to the sending queue and processed according to the data priority and time order to ensure the integrity and reliability of the data. transmission.

Benefits of technology

It effectively avoids data loss, improves the reliability and integrity of data transmission between the host computer and the slave computer, and ensures the accuracy of data during the process of semiconductor process equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740772A_ABST
    Figure CN118740772A_ABST
Patent Text Reader

Abstract

The invention provides a data communication method, a lower computer and an upper computer, and relates to the technical field of equipment communication, and the equipment communication control method comprises the following steps: obtaining subscription data sent by the upper computer, and monitoring operation state data corresponding to the subscription data; wherein the operation state data comprises process operation data generated by the semiconductor process equipment in the process; if the running state data is changed, judging whether a sending queue for sending data to the upper computer is full or not; and if the sending queue is full, taking the changed running state data as new overflow data and adding the new overflow data into the overflow queue. According to the method, data loss caused by discarding the data overflowing from the sending queue when more data are transmitted can be avoided, the integrity of the running state data is ensured as much as possible, and the data transmission reliability of the upper computer and the lower computer is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment communication, and in particular to a data communication method, a lower computer and a host computer. Background Art

[0002] The control systems of current industrial equipment such as etcher, PVD (Physical Vapor Deposition) equipment and CVD (Chemical Vapor Deposition) and other semiconductor process equipment (i.e., control software for semiconductor process equipment) are usually divided into two parts: a host computer and a slave computer. The host computer reads the operating data of the slave computer and the semiconductor process equipment from the slave computer to write the scheduling algorithm and display the interface. The slave computer sends a control signal to the semiconductor process equipment to control the operation of the semiconductor process equipment. The host computer and the slave computer mainly use two-way synchronous communication.

[0003] The lower computer usually uses a sending queue to send the changed operation data of the lower computer and the operation data of the semiconductor process equipment to the upper computer. However, in the communication method between the upper computer and the lower computer, when the sending queue is full, the lower computer usually discards the changed operation data. Therefore, when the amount of communication data is large, data loss is prone to occur, which reduces the reliability of data transmission between the upper computer and the lower computer. Summary of the invention

[0004] In view of this, the object of the present invention is to provide a data communication method, a lower computer and an upper computer, which can temporarily store the overflow data of the sending queue in the lower computer to the overflow queue, so as to avoid discarding the overflow data of the sending queue when the communication data volume is large and causing data loss, and to ensure the integrity of the operating status data sent by the lower computer to the upper computer as much as possible, thereby improving the reliability of data transmission between the upper computer and the lower computer.

[0005] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a data communication method, which is applied to a lower computer of a semiconductor process equipment control system, and the data communication method includes: obtaining subscription data sent by an upper computer, and monitoring operating status data corresponding to the subscription data; wherein the operating status data includes process operating data generated by the semiconductor process equipment during the process; if the operating status data changes, determining whether a sending queue for sending data to the upper computer is full; if the sending queue is full, adding the changed operating status data as new overflow data to the overflow queue.

[0007] Further, an embodiment of the present invention provides a first possible implementation method of the first aspect, wherein the device communication control method also includes: if there are vacancies in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, adding the changed operating status data as new overflow data to the end of the overflow queue; starting from the head of the overflow queue, taking out a target number of overflow data in sequence and adding them to the end of the sending queue; wherein the target number is less than or equal to the number of vacancies.

[0008] Furthermore, an embodiment of the present invention provides a second possible implementation of the first aspect, wherein the sending priority of the process operation data is the highest priority; the data communication method also includes: if there is a vacant position in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, take out the target overflow data at the head of the overflow queue, and add the target overflow data to the corresponding position of the sending queue based on the sending priority of the target overflow data, so that the data in the sending queue is sorted in descending order according to the sending priority; wherein the data with the same sending priority in the sending queue is sorted according to the data change time.

[0009] Furthermore, an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the device communication control method also includes: if there is a vacancy in the sending queue and there is no overflow data in the overflow queue, adding the changed running status data to the corresponding position of the sending queue based on the changed sending priority of the running status data, so that the data in the sending queue is sorted in descending order according to the sending priority; wherein the data with the same sending priority in the sending queue is sorted according to the data change time.

[0010] Further, an embodiment of the present invention provides a fourth possible implementation method of the first aspect, wherein the device communication control method also includes: when sending the operating status data to the host computer, judging whether the communication status with the target host computer is normal; wherein the target host computer is the host computer corresponding to the head data of the sending queue; if normal, sending the head data of the sending queue to the target host computer; if the communication status with the target host computer continues to be abnormal within a preset time period, marking the target host computer as a lost host computer, deleting each head data corresponding to the lost host computer and transferring it to the temporary storage queue corresponding to the lost host computer.

[0011] Furthermore, an embodiment of the present invention provides a fifth possible implementation of the first aspect, wherein the device communication control method also includes: when it is detected that the communication status with the lost host computer has returned to normal, all the temporarily stored data in the temporary storage queue corresponding to the lost host computer are taken out, and all the temporarily stored data are sent to the lost host computer whose communication status has returned to normal.

[0012] Furthermore, an embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the overflow queue and the temporary queue are stored in a database, and the database is a memory-type database; the process operation data includes process action data and reaction chamber status information.

[0013] Furthermore, an embodiment of the present invention provides a seventh possible implementation of the first aspect, wherein, before the step of obtaining the subscription data sent by the host computer, the data communication method also includes: after establishing a network connection with the host computer, receiving device connection information sent by the host computer; wherein the device connection information includes the network connection status of the host computer; and monitoring the communication status with the host computer based on the network connection status in the device connection information.

[0014] In a second aspect, an embodiment of the present invention further provides a data communication method, which is applied to a host computer of a semiconductor process equipment control system, and the data communication method comprises: establishing a network connection with a lower computer, sending device connection information to the lower computer, so that the lower computer monitors the communication status with the upper computer based on the network connection status in the device connection information; sending subscription data to the lower computer, so that the lower computer monitors the operation status data corresponding to the subscription data; wherein the operation status data includes the process operation data generated by the semiconductor process equipment during the process; when communicating with the lower computer When the communication status of the upper computer is normal, the operating status data sent by the sending queue of the lower computer is received; wherein, when the sending queue in the lower computer is full, the changed operating status data is added to the overflow queue as new overflow data; when the communication status with the lower computer is restored to normal from an abnormal state, all temporary storage data stored in the temporary storage queue corresponding to the upper computer and sent by the lower computer are received; wherein, all the temporary storage data include: all the operating status data that the lower computer attempts to send to the upper computer during the period when the communication status with the lower computer is in an abnormal state.

[0015] In the third aspect, an embodiment of the present invention further provides a lower computer for executing the data communication method as described in any one of the first aspects, the lower computer comprising: a network monitoring module, a first communication interface and an in-memory database; the network monitoring module is used to monitor the communication status with the upper computer based on the device connection information sent by the upper computer; the first communication interface is used to receive the device connection information sent by the upper computer device; wherein the first communication interface comprises a network communication engine interface; the in-memory database is used to store overflow queues and temporary queues.

[0016] In the third aspect, an embodiment of the present invention also provides a host computer for executing the data communication method as described in the second aspect, the host computer comprising: a second communication interface; the second communication interface is used to receive all temporary data stored in the temporary queue corresponding to the host computer sent by the lower computer; wherein the second communication interface comprises a network communication engine interface.

[0017] In a fourth aspect, an embodiment of the present invention further provides a semiconductor process equipment control system, comprising: the lower computer described in the third aspect and the upper computer described in the fourth aspect.

[0018] The embodiment of the present invention provides a data communication method, a lower computer and a host computer, the method comprising: obtaining subscription data sent by the host computer, monitoring the operation status data corresponding to the subscription data; wherein the operation status data includes process operation data generated by semiconductor process equipment during the process; if the operation status data changes, judging whether the sending queue for sending data to the upper computer is full; if the sending queue is full, adding the changed operation status data as new overflow data to the overflow queue. The present invention temporarily stores the overflowed data of the sending queue to the overflow queue when the sending queue for sending operation status data to the upper computer is full, thereby avoiding discarding the overflowed data of the sending queue when the amount of data communicated with the upper computer is large, causing data loss, and ensuring the integrity of the operation status data sent by the lower computer to the upper computer as much as possible, thereby improving the reliability of data transmission between the upper computer and the lower computer.

[0019] Other features and advantages of the embodiments of the present invention will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned techniques of the embodiments of the present invention.

[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 The relevant communication flow chart between the upper computer and the lower computer is shown;

[0023] Figure 2 A flow chart of a data communication method provided by an embodiment of the present invention is shown;

[0024] Figure 3 Another data communication method flow chart provided by an embodiment of the present invention is shown;

[0025] Figure 4 A communication flow chart between a host computer and a slave computer provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be described below in conjunction with the drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.

[0027] The control software of current semiconductor process equipment, such as etcher, PVD, CVD and other equipment, is divided into two parts: the host computer and the slave computer. The slave computer uses a time-sharing operating system to read the equipment hardware data and perform process control, while the host computer uses the Windows time-sharing system to control the scheduling sequence of the equipment and has functions such as interface display.

[0028] See Figure 1The related upper computer and lower computer communication flow chart shown in the figure, after the upper computer and the lower computer establish a connection, the upper computer subscribes to the lower computer data, and the lower computer monitors the lower computer operation data after receiving the subscription information. If the operation status data changes, it is determined whether the current sending queue is full. If so, the current lower computer operation data is discarded; if not, the changed lower computer operation data is added to the end of the sending queue, and the lower computer takes out the head data of the sending queue and sends it to the upper computer, and waits for the processing result of the upper computer to determine whether the current data taken out is sent successfully. If the sending fails, it is determined whether the number of retransmissions of the current data exceeds the preset number. If so, the current data is discarded. If not, the current data is added to the head of the sending queue. If the sending is successful, it is determined whether there is still data in the sending queue. If there is no data in the sending queue, it ends. If there is still data in the sending queue, it returns to execute the step of taking out the head data and sending it to the upper computer. The related upper computer and lower computer communication still has the following deficiencies:

[0029] 1. When the communication data volume between the lower computer and the upper computer is large and the sending queue is full, data loss is likely to occur.

[0030] 2. When the communication between the lower computer and the upper computer is blocked or disconnected, each failed data will be retransmitted in large quantities, a large amount of resources will be occupied ineffectively, and the system burden will be greatly increased.

[0031] 3. The reliability and data integrity of communication between the lower computer and the upper computer are low.

[0032] To improve the above problems, the embodiments of the present invention provide a data communication method, a lower computer and a host computer, and the technology can be applied to improve the reliability and data integrity of the communication between the lower computer and the host computer. The embodiments of the present invention are described in detail below.

[0033] This embodiment provides a data communication method, which can be applied to a lower computer of a semiconductor process equipment control system. Figure 2 The data communication method flow chart shown in the figure mainly includes the following steps:

[0034] Step S202, obtaining subscription data sent by the host computer, and monitoring the running status data corresponding to the subscription data.

[0035] After the upper computer device establishes a communication connection with the lower computer device, the upper computer device sends subscription data to the lower computer device, and the subscription data includes the data type subscribed by the upper computer device. After receiving the subscription data sent by the upper computer device, the lower computer device monitors the operation status data of various data types subscribed by the upper computer device. The operation status data may include process operation data generated by the semiconductor process equipment during the process and status display data of the lower computer. The status display data may include UI (User Interface) data of the lower computer, such as the status of the drive switch (I / O drive) and the network status.

[0036] Step S204: if the running status data changes, determine whether the sending queue for sending data to the upper computer is full.

[0037] When it is monitored that the running status of any data type subscribed by the host computer has changed, in order to send the changed running status data to the host computer, the changed running status data needs to be added to the sending queue. Before adding the sending queue, first determine whether the amount of data in the sending queue has reached the preset number. When the amount of data in the sending queue reaches the preset number, determine that the sending queue is full. In a specific embodiment, the above preset number is the maximum data capacity of the sending queue. The value range of the preset number can be 1000 to 3000, preferably 2000. Determine whether the amount of data in the sending queue is greater than or equal to the preset number. If yes, determine that the sending queue is full. If not, determine that the sending queue is not full, that is, there is space in the sending queue.

[0038] Step S206: If the sending queue is full, the changed running status data is added to the overflow queue as new overflow data.

[0039] If the sending queue is full, the changed running status data is added to the overflow queue as overflow data of the sending queue. In a specific implementation, the overflow queue can be stored in a database of the lower computer device to facilitate fast reading or storage of data from the overflow queue.

[0040] In the process of process control of semiconductor process equipment, taking etching products as an example, in the etching process, the lower computer needs to send the lower computer's interface data (usually including the state of the drive switch and the network state), process APC data (referring to a batch of operation data currently changing within a certain time interval) and job-related data (including data generated during process operation, such as pressure, oxygen concentration, flow, valve switch, wafer position, grasping direction and robot position data) and other operation status data to the upper computer for processing. After receiving the operation status data, the upper computer distributes the data to various modules such as interface, APC and job. By applying the above data communication method to the lower computer in the control system of semiconductor process equipment, the process operation data generated by the semiconductor process equipment during the process can be completely sent to the upper computer to avoid data loss affecting the process effect.

[0041] The data communication method provided in this embodiment temporarily stores the overflowed data of the sending queue into the overflow queue when the sending queue for sending running status data to the upper computer is full, thereby avoiding discarding the overflowed data of the sending queue and causing data loss when the amount of data communicated with the upper computer is large, and ensuring the integrity of the running status data sent by the lower computer to the upper computer as much as possible, thereby improving the data transmission reliability between the upper computer and the lower computer.

[0042] In one embodiment, if there are remaining spaces in the sending queue, the data communication method provided in this embodiment also includes: if there are spaces in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, the changed operating status data is added as new overflow data to the end of the overflow queue.

[0043] If there are remaining spaces in the sending queue, it is further determined whether the overflow queue is not empty. When there is overflow data in the overflow queue, it indicates that the overflow data in the overflow queue has not been transferred to the empty space in the sending queue in time. In order to send the changed operating status data in sequence according to the time number, the changed operating status data is added to the end of the overflow queue.

[0044] If there are remaining spaces in the sending queue and the overflow queue is empty, the changed running status data will be added to the end of the sending queue so that it can be sent to the host computer in the order in which the running data changes.

[0045] When there is a vacancy in the sending queue but there is overflow data in the overflow queue, the changed running status data is added to the overflow queue to avoid directly adding it to the sending queue and affecting the order in which the running status data is sent in chronological order, thereby improving the reliability of data transmission between the upper computer and the lower computer.

[0046] If there are vacancies in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, a target number of overflow data is taken out from the head of the overflow queue and added to the tail of the sending queue; wherein the target number is less than or equal to the number of vacancies.

[0047] When the overflow queue is not empty, it is detected in real time whether the amount of data in the sending queue is less than the preset amount. If so, it is determined that there are vacancies in the sending queue, and the overflow data equal to or less than the number of vacancies is taken from the head of the overflow queue and added to the end of the sending queue, so that the sending queue can send the running status data to the host computer in time, and ensure that the sending queue can send the running status data to the host computer in strict time sequence. For example, when there are 5 remaining vacancies in the sending queue, and the number of overflow data in the overflow queue is greater than 5, the first 5 overflow data in the overflow queue are added to the end of the sending queue in sequence; if the number of overflow data in the overflow queue is less than 5, all overflow data in the overflow queue are added to the end of the sending queue in sequence.

[0048] By transferring the overflow data in the overflow queue to the sending queue in time when the sending queue is not full and has vacancies, the running status data subscribed by the upper computer can be sent to the upper computer in full, ensuring the integrity of the data subscribed by the upper computer as much as possible, and improving the data transmission reliability between the upper computer and the lower computer.

[0049] In one embodiment, in order to prevent the process operation data in the process from being affected by the process progress due to the inability to send the process operation data to the host computer in time, the present embodiment divides the operation status data sent to the host computer into multiple priorities according to the degree of influence on the process. The data communication method provided by the present embodiment also includes:

[0050] If there is a vacant position in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, take out the target overflow data at the head of the overflow queue, and add the target overflow data to the corresponding position of the sending queue based on the sending priority of the target overflow data, so that the data in the sending queue is sorted in descending order according to the sending priority; among which, the data with the same sending priority in the sending queue is sorted according to the data change time.

[0051] After taking out the head data of the overflow queue, each data in the overflow queue automatically moves one position forward toward the head of the queue to generate new head data, and repeats the above steps of taking out the target overflow data at the head of the overflow queue, and adding the target overflow data to the corresponding position of the sending queue based on the sending priority of the target overflow data, until the sending queue is full, or until there is no overflow data in the overflow queue.

[0052] The process operation data includes process action data and reaction chamber status information, such as wafer position and robot position, reaction chamber pressure, valve switch and gas flow rate, etc. The head data of the overflow queue is taken out as the target overflow data, and the sending priority of the target overflow data is compared with the sending priority of the head data of the sending queue. If it is higher than the sending priority of the head data of the sending queue, the data in the sending queue is moved back by one position to make the head position of the sending queue vacant, and the target overflow data is placed at the head of the sending queue.

[0053] If the sending priority of the target overflow data is lower than the sending priority of the head data of the sending queue, the sending priority of the target overflow data is compared with the sending priority of the data following the head data in turn, so that the data in the sending queue are sorted in descending order according to the sending priority, so that the data with high priority in the sending queue is sent to the host computer first, and the data with low priority is sent to the host computer later.

[0054] If the sending priority of the target overflow data is equal to the sending priority of the head data of the sending queue, compare the collection time of the target overflow data (i.e. the time when the data changes) with the collection time of the head data, so that the data with the same sending priority in the sending queue are sorted in the order of collection time, so that the running data that changes first in the same priority level can be sent to the host computer first.

[0055] In one embodiment, the above-mentioned operation status data includes status display data of the lower computer and process operation data, the sending priority of the process operation data is the highest priority, and the sending priority of the status display data is lower than the sending priority of the process operation data.

[0056] Exemplarily, suppose there are vacancies in the sending queue, and the data in the sending queue are, from the head of the queue, the first valve state, the first gas flow rate, the first pressure, and the first network state of the lower computer. There are two vacancies in the sending queue. Suppose the data in the overflow queue are, from the head of the queue, the first wafer position, the second network state of the lower computer, and the second pressure. Take the first wafer position, the head data in the overflow queue, as the target overflow data, and compare the sending priority of the first wafer position with the sending priority of the first valve state, both of which belong to process operation data and have the same sending priority. Compare the acquisition time. If the acquisition time of the first wafer position is later than the acquisition time of the first valve state; compare the sending priority of the first wafer position with the sending priority of the first gas flow rate. If the sending priorities are the same, compare the acquisition time. If the acquisition time of the first wafer position is later than the acquisition time of the first gas flow rate; and so on. Assume that the acquisition time of the first wafer position is later than the acquisition time of the first pressure. Since the sending priority of the first wafer position is greater than the sending priority of the first network state, the data in the sending queue are, starting from the head of the queue, in the following order: the first valve state, the first gas flow rate, the first pressure, the first wafer position, and the first network state of the lower computer.

[0057] After taking out the first wafer position of the head data in the overflow queue, the second network state of the lower computer in the overflow queue is automatically moved to the head of the queue. Since there are two vacancies in the sending queue, the second network state of the lower computer with the new head data in the overflow queue is taken out as the new target overflow data, and the sending priority of the new target overflow data is compared with the sending priority of each data in the sending queue in turn. When the sending priorities are the same, the acquisition time is compared. If the acquisition time of the second network state of the lower computer is later than the acquisition time of the first network state, the data in the sending queue are, starting from the head of the queue, the first valve state, the first gas flow rate, the first pressure, the first wafer position, the first network state of the lower computer and the second network state of the lower computer.

[0058] In one embodiment, when the running status data includes data of multiple sending priorities, the data communication method provided by this embodiment also includes: if there is a vacant position in the sending queue and there is no overflow data in the overflow queue, the changed running status data is added to the corresponding position of the sending queue based on the sending priority of the changed running status data, so that the data in the sending queue is sorted in descending order according to the sending priority; wherein, the data with the same sending priority in the sending queue is sorted according to the data change time.

[0059] When the data transmission volume is small, the sending queue is not full, and there is no overflow data in the overflow queue, in order to make the sending queue always keep the sending priority sorted from high to low, when adding the changed running status data to the sending queue, it is necessary to compare the sending priority of the running status data with the sending priority of each data in the sending queue, so that the sending queue is sorted in order from high to low according to the sending priority, and the data with the same sending priority is sorted in order from first to last according to the collection time.

[0060] In a specific embodiment, the above-mentioned operation status data includes the status display data of the lower computer and the process operation data, the sending priority of the process operation data is the highest priority, and the sending priority of the status display data is lower than the sending priority of the process operation data. Exemplarily, it is assumed that there is a vacancy in the sending queue, and there is no overflow data in the overflow queue, and the data in the sending queue are the first valve state, the first gas flow rate, the first pressure, and the first network state of the lower computer from the head of the queue. When it is detected that the network state of the lower computer has changed to the third network state, the third network state is added to the sending queue, and the acquisition time of the third network state is later than the acquisition time of the first network state. Since the sending priorities of the first valve state, the first gas flow rate, and the first pressure are all higher than the sending priority of the third network state, the data in the sending queue are the first valve state, the first gas flow rate, the first pressure, the first network state of the lower computer, and the third network state from the head of the queue. When it is detected that the manipulator position has changed to the first manipulator position, the first manipulator position is added to the sending queue. Assuming that the acquisition time of the first manipulator position is later than the acquisition time of the first pressure, the data in the sending queue are, starting from the head of the queue, in the following order: the first valve state, the first gas flow rate, the first pressure, the first manipulator position, the first network state of the lower computer, and the third network state.

[0061] In one embodiment, in order to facilitate communication with multiple host computers, the lower computer provided in this embodiment includes a network monitoring module. Before the above-mentioned step S202, the method provided in this embodiment also includes: after establishing a network connection with the host computer, receiving device connection information sent by the host computer; wherein the device connection information includes the network connection status of the host computer; and monitoring the communication status with the host computer based on the network connection status in the device connection information.

[0062] The above-mentioned device connection information may include the communication ID, connection time and network connection status of the host device; the device connection information is stored in the network monitoring module, so that the network monitoring module monitors the communication status with the host device based on the device connection information.

[0063] When the lower computer (also known as the server) is turned on, the network monitoring module is automatically started and waits for connection with the upper computer (also known as the client). If a connection is established between the upper computer and the lower computer, the upper computer sends device connection information to the lower computer to register the local unique communication ID to the lower computer device. The lower computer receives the device connection information sent by the upper computer device based on the first communication interface (the communication interface can be a network communication engine interface), and stores the received network connection information in the network monitoring module. The upper computer then sends the subscription data information to the lower computer through the network connection. The network monitoring module is used to monitor the connection status of the upper computer. When the network connection status of the upper computer is normal, it indicates that the communication status with the upper computer is normal. When the network connection status of the upper computer is abnormal, it indicates that the communication status with the upper computer is abnormal.

[0064] In a specific implementation, the network monitoring module may mark the communication status corresponding to each host computer, so that when the sending queue pushes data to the host computer, it can promptly determine whether the communication status of the host computer is normal.

[0065] In one embodiment, in order to monitor the network status at any time, the lower computer device provided in this embodiment includes a network monitoring module, and the network monitoring module is used to monitor the communication status with each upper computer device. The device communication control method provided in this embodiment also includes the following steps (1) to (3):

[0066] Step (1): When sending the operation status data to the host computer, determine whether the communication status with the target host computer is normal.

[0067] The above-mentioned target host computer is the host computer corresponding to the head data of the sending queue. The lower computer provided in this embodiment can communicate data with multiple host computer devices. Each data in the sending queue carries the communication ID of the host computer that subscribes to the data. According to the communication ID of the host computer carried by the head data in the sending queue, the host computer corresponding to the head data (i.e., the host computer that receives the head data) can be determined and recorded as the target host computer.

[0068] Before sending the head data, the sending queue will first determine whether the communication status between the lower computer and the target upper computer is normal. In a specific implementation, it can directly detect whether the communication status currently marked by the network monitoring module for the target upper computer is normal.

[0069] Step (2): If normal, send the head data of the sending queue to the target host computer.

[0070] If the communication status between the lower computer and the target upper computer corresponding to the head of the queue data is normal, that is, the lower computer and the target upper computer can communicate normally, the current head of the queue in the sending queue is sent to the target upper computer, and new head of the queue is generated in the sending queue. When the sending queue sends the new head of the queue data to the upper computer device, it is determined again whether the communication status with the new target upper computer is normal until all the data in the sending queue are sent to the corresponding upper computer.

[0071] Step (3): If the communication status with the target host computer continues to be abnormal within the preset time, the target host computer is marked as a lost host computer, and each queue head data corresponding to the lost host computer is deleted and transferred to the temporary storage queue corresponding to the lost host computer in the database.

[0072] If the communication status between the lower computer and the target upper computer corresponding to the head of the team data is abnormal for a preset period of time (the preset period of time may be one minute, for example), the upper computer with abnormal communication status will be marked as a lost connection state and recorded as a lost upper computer. The head of the team data corresponding to the lost connection state will be removed from the sending queue and transferred to the temporary storage queue corresponding to the lost upper computer in the database (the above database may include multiple temporary storage queues, and each upper computer corresponds to a temporary storage queue). In the process of sending data, when the sending queue encounters a head of the team data corresponding to the lost upper computer, the head of the team data will be removed from the sending queue and transferred to the temporary storage queue corresponding to the lost upper computer in the database.

[0073] By transferring the data sent to the host computer to a temporary storage queue when the host computer network is abnormal, compared with the solution in the related art that a large number of failed customer data will be retransmitted when the network is blocked or disconnected, this embodiment can handle the host computer network abnormality in a timely manner and give the data push opportunity to other host computers with normal network connections, avoiding the waste of server resources caused by constantly re-pushing data, avoiding the impact of normal communication with other host computers due to the abnormality of the host computer network, and improving the real-time performance of data communication with the host computer.

[0074] In one embodiment, in order to prevent the host computer from losing the subscribed operating status data due to network abnormalities, the method provided in this embodiment also includes: when it is detected that the communication status with the lost host computer has returned to normal, all the temporarily stored data in the temporary storage queue corresponding to the lost host computer are taken out, and all the temporarily stored data are sent to the lost host computer whose communication status has returned to normal.

[0075] The network monitoring module detects the network connection status of each host computer in real time. When it is detected that the network connection status of the lost host computer changes from abnormal to normal, the communication status of the lost host computer is marked as normal. When it is detected that the communication status of the lost host computer changes from abnormal to normal, it indicates that the network status of the lost host computer has returned to normal. All the temporary data in the temporary storage queue corresponding to the lost host computer are taken out at one time and pushed to the lost host computer whose communication status has returned to normal. The lost host computer receives the cached data pushed by the lower computer device through a specific interface.

[0076] After the network status of the upper computer is restored, the corresponding cached data is sent to the upper computer at one time. The upper computer receives all the temporarily stored data accumulated during the network abnormality sent by the lower computer through the second communication interface, thereby avoiding the loss of the subscribed operating status data due to the network abnormality of a certain upper computer. By adding a communication interface for receiving cached data in the upper computer device, the normal data sending process of the sending queue is avoided from being affected by the reception of cached data, thereby improving the communication efficiency with the upper computer device.

[0077] In one embodiment, the overflow queue and temporary storage queue are both stored in the database of the lower computer to facilitate the reading of data from the overflow queue and the temporary storage queue, wherein the overflow queue stores the operating status data that needs to be sent to the upper computer due to overflow of the sending queue being full; the temporary storage queue stores the data that the sending queue cannot receive due to abnormal communication status of a certain upper computer when sending data. The data in the overflow queue needs to wait for vacancies in the sending queue, and then be transferred to the sending queue and sent in order; while the data in the temporary storage queue needs to wait for the communication status of the disconnected upper computer corresponding to the temporary storage queue to return to normal, and then all of them are sent to the disconnected upper computer whose communication status has returned to normal at one time.

[0078] The above-mentioned lower computer can adopt Linux real-time operating system, and the above-mentioned database can be a memory database, such as, the memory database can be a Redis database (Remote Dictionary Server, remote dictionary service database). Related data storage technologies (such as mysql, sqlserver and Oracle) are usually stored in the hard disk, and each read and write operation is equivalent to an IO operation, and the operation performance is low. In this embodiment, by storing the overflow queue and the temporary queue in the memory database, the data of the overflow queue and the temporary queue can be stored in the memory, which improves the read and write speed of the overflow data and the cache data (more than 100,000 read and write operations can be processed per second), and there is no coupling between the data of Redis, which is easy to expand horizontally. In addition, due to the limited memory size of Redis, Redis will have a corresponding elimination strategy accurate to milliseconds to ensure that it does not exceed the threshold of the memory, and there are operations such as persistence.

[0079] The data communication method provided in this embodiment introduces a Redis database to store the overflow data of the sending queue, so that the lower computer does not need to discard the overflow data of the overflow sending queue, thereby ensuring the integrity of data transmission as much as possible;

[0080] By setting up a network monitoring module in the lower computer, the network status of each upper computer can be monitored at any time, so that the upper computer operation data can be cached in time when the upper computer is disconnected from the network, so as to wait for the network of the upper computer to be restored;

[0081] When the host computer network is abnormal, the data subscribed by the abnormal host computer is transferred to the temporary storage queue, and the data sending opportunity is given to other normal host computers, thus avoiding the waste of lower computer resources caused by multiple retransmissions of disconnected data;

[0082] By using a real-time operating system on the lower computer, the data in the sending queue is pushed to the upper computer in a timely manner, and the overflow data is added to the sending queue in a timely manner, thus ensuring the integrity of the data sent to the upper computer and improving the communication efficiency with the upper computer.

[0083] Corresponding to the data communication method provided in the above embodiment, an embodiment of the present invention provides a lower computer for executing the data communication method provided in the above embodiment. The lower computer includes: a network monitoring module, a first communication interface and a memory-type database.

[0084] The network monitoring module is used to monitor the communication status with the host computer based on the device connection information sent by the host computer.

[0085] The first communication interface is used to receive device connection information sent by the host device; wherein the first communication interface may be an ICE (internet communication engine) interface.

[0086] The memory database is used to store the overflow queue and the temporary queue. The memory database may be a Redis database (Remote Dictionary Server, remote dictionary service database).

[0087] Corresponding to the data communication method provided in the above embodiment, this embodiment provides another data communication method, which is applied to the host computer of the semiconductor process equipment control system, see Figure 3 Another data communication method flow chart shown in FIG. 1 , the data communication method comprises the following steps:

[0088] Step S302, establishing a network connection with the lower computer, and sending device connection information to the lower computer, so that the lower computer monitors the communication status with the upper computer based on the network connection status in the device connection information.

[0089] After the upper computer is started, it establishes a network connection with the lower computer and sends device connection information to the lower computer. The device connection information includes a communication ID to register the local unique communication ID to the lower computer.

[0090] Step S304: sending the subscription data to the lower computer so that the lower computer monitors the running status data corresponding to the subscription data.

[0091] The above-mentioned operation status data includes the status display data of the lower computer and the process operation data generated by the semiconductor process equipment during the process. The upper computer sends the subscription data to the lower computer through the network link, so that the lower computer monitors the operation status data corresponding to the subscription data.

[0092] Step S306, when the communication status with the lower computer is normal, receiving the operation status data sent by the sending queue of the lower computer.

[0093] When the communication status between the upper computer and the lower computer is normal, the changed operation status data sent by the sending queue of the lower computer is received at any time. When the sending queue in the lower computer is full, the changed operation status data is added to the overflow queue as new overflow data.

[0094] Step S308, when the communication state with the lower computer is restored from the abnormal state to the normal state, all the temporary storage data stored in the temporary storage queue corresponding to the upper computer and sent by the lower computer are received.

[0095] When the communication status between the upper computer and the lower computer is restored from an abnormal state to a normal state, the upper computer receives all the temporary data cached during the network abnormality pushed by the lower computer through a specific interface (ice interface). The above-mentioned all temporary data include: all the operating status data that the lower computer attempts to send to the upper computer during the period when the communication status with the lower computer is in an abnormal state.

[0096] In the above-mentioned data communication method provided in this embodiment, the upper computer sends device connection information to the lower computer, so that the lower computer can monitor the communication status of the upper computer in real time, so as to store data in a temporary queue when the network is abnormal, avoiding repeated sending of data and occupying resources.

[0097] Corresponding to the other data communication method provided in the above embodiment, an embodiment of the present invention provides a host computer for executing the other data communication method provided in the above embodiment, the host computer comprising: a second communication interface;

[0098] The second communication interface is used to receive all temporary storage data stored in the temporary storage queue corresponding to the upper computer and sent by the lower computer; wherein the second communication interface may be an ice (internet communication engine) interface.

[0099] Corresponding to the upper computer and the lower computer provided in the above embodiment, an embodiment of the present invention provides a semiconductor process equipment control system, including: the lower computer provided in the above embodiment and the upper computer provided in the above embodiment.

[0100] Based on the above embodiment, this embodiment provides an example of applying the above data communication method to increase the communication reliability of semiconductor process equipment. Figure 4 The communication flow chart between the upper computer and the lower computer shown in the figure can be executed by referring to the following steps:

[0101] Lower machine (server):

[0102] Step 1: The lower computer (server) starts, starts the network monitoring module, starts the communication service and waits for the client to connect. If there is a client connection, the connection information sent by the client, such as the client's unique communication ID, connection time and network status, is put into the network monitoring module. The network monitoring module monitors the client's network connection status and marks the client's communication status.

[0103] Introduce a network monitoring module in the lower computer to monitor the network status of the client (upper computer, etc.) connected to the server (lower computer), such as Figure 4 As shown, detect whether the client network is normal. If so, determine whether the client is in a disconnected state. If so, mark the client ID as normal, determine whether there is cached data in the temporary storage queue of the client in the Redis database, if so, take out all the temporary storage data corresponding to the client in the Redis database, and push the cached data to the client as a whole at one time; if the client network is detected to be abnormal, detect whether the client is in an abnormal state within one minute, if so, mark the client as disconnected.

[0104] Step 2: The server receives the subscription data information from the client, such as job and other related data, and monitors the running data related to the subscription information. When the running data corresponding to the subscription data changes, the changed running data is added to the sending queue.

[0105] Step 3: If the client network connection is normal and the sending queue is not overflowed, data is sent to the client as normal. Introduce the redis cache module, that is, the redis database, into the lower computer.

[0106] Step 4: If the client network connection is normal, determine whether there is overflow data in the redis overflow queue. If the sending queue overflows, add the overflow data to the corresponding overflow queue in the redis database. When there are remaining vacancies in the sending queue, take out the overflow data of the same size as the remaining vacancies from the redis overflow queue in order, add it to the end of the sending queue, and wait for sending.

[0107] like Figure 3 As shown in the figure, when there is overflow data in the redis overflow queue, if there is no remaining space in the current sending queue, the changed running data is added to the redis overflow queue; if there is remaining space in the current sending queue, the changed running data is added to the redis overflow queue, and the overflow data with the remaining space quantity is taken out from the redis overflow queue and added to the end of the sending queue. If there is no overflow data in the redis overflow queue, the changed running data is added to the end of the sending queue.

[0108] When the data in the sending queue exceeds 2000 or the corresponding overflow queue of redis is not empty (such as the dataQueue queue), the overflowed data in the sending queue is added to the data queue of the corresponding key (such as dataQueue) of redis in sequence;

[0109] When there are remaining spaces in the sending data queue and the corresponding overflow queue in redis (such as dataQueue queue) is not empty, the overflow data chain of the corresponding size or less than the number of remaining spaces is taken out from the corresponding overflow queue in redis (such as dataQueue) and added to the end of the sending queue in sequence.

[0110] Step 5. When taking out the head data of the sending queue and preparing to send it, determine whether the communication status of the client corresponding to the current head data is marked as normal. If normal, determine whether the head data is sent successfully. If it is sent successfully, determine whether there is any data to be sent in the sending queue. If so, take out the head data of the sending queue and prepare to send it; if the head data fails to be sent, re-add the data to the head of the sending queue.

[0111] Before taking out the head data from the sending queue for sending, first determine whether the network status of the client corresponding to the current head data (managed by the above-mentioned network monitoring module) is normal.

[0112] Step 6: If the client network connection is abnormal, the client is marked as disconnected. When the sending queue encounters the client disconnection mark, the running data corresponding to the client is added to the temporary storage queue of the corresponding client in redis. When the network is restored or the client is reconnected, the cached data of the client in redis is pushed to the client at one time.

[0113] If the client network status is abnormal, the first data of this queue will be added to the data queue corresponding to the client key (such as client id1) in redis (recorded as the temporary storage queue); and when the network status of this client returns to normal, the cached data of the corresponding redis client key (such as client id1) will be taken out at one time and pushed to the corresponding client.

[0114] By introducing the redis database, the data in the sending queue that exceeds 2000 is discarded. It is improved to put it into the redis database for further cache processing to avoid data loss due to queue overflow. By introducing the network monitoring module, when a certain data fails to be sent, it will be continuously resent until it is discarded after reaching a certain number of times. It is improved to first determine the network status of the client. If the status is abnormal, it is directly put into the redis temporary storage queue. After waiting for the network status to recover, the cached data is sent uniformly at one time to avoid the loss of data of a certain client due to network problems, and the data of other clients cannot be pushed normally, and the server resources are occupied in large quantities. By changing the lower computer from the previous time-sharing operating system to a real-time operating system, the program can respond and serve more quickly by preempting or resident in the kernel by increasing the priority.

[0115] Host computer (client):

[0116] Step 1), the host computer (client) starts, first establishes a network connection with the server, registers the local unique communication ID to the server, and then sends the subscribed data information to the server through the network link.

[0117] Step 2), process and receive the operation data sent by the server at any time.

[0118] In step 3), the client also needs to process the cached data pushed by the server when receiving the network exception through a specific interface (ice interface).

[0119] In this embodiment, redis is introduced for caching. The server does not need to discard the overflowed sending queue data, and the server can ensure the integrity of the data as much as possible. The server is equipped with a network monitoring module to monitor the network status at any time, and cache key data in time when the network is disconnected to facilitate system recovery. When the client network is abnormal, it is processed in time and the sending opportunity is given to other clients, avoiding the waste of server resources caused by continuous data retransmission operations. The server adopts a real-time operating system, data is released and pushed in time, and communication efficiency is improved.

[0120] An embodiment of the present invention provides a computer-readable medium, wherein the computer-readable medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method described in the above embodiment.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned embodiment, and will not be repeated here.

[0122] The data communication method, the computer program product of the lower computer and the upper computer provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiments. The specific implementation can be referred to the method embodiments, which will not be repeated here.

[0123] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0124] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0125] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0126] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A data communication method, characterized in that: Applied to a lower computer of a semiconductor process equipment control system, the data communication method comprises: Acquire subscription data sent by the host computer, and monitor the operation status data corresponding to the subscription data; wherein the operation status data includes process operation data generated by the semiconductor process equipment during the process; If the running status data changes, determine whether the sending queue for sending data to the host computer is full; If the sending queue is full, the changed running status data is added to the overflow queue as new overflow data.

2. The data communication method according to claim 1, characterized in that: Also includes: If there is a vacancy in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, adding the changed running status data as new overflow data to the end of the overflow queue; A target number of overflow data is sequentially taken out from the head of the overflow queue and added to the tail of the sending queue; wherein the target number is less than or equal to the number of vacancies.

3. The data communication method according to claim 1, characterized in that: The transmission priority of the process operation data is the highest priority; the data communication method further includes: If there is a vacant position in the sending queue and there is overflow data in the overflow queue corresponding to the sending queue, take out the target overflow data at the head of the overflow queue, and add the target overflow data to the corresponding position of the sending queue based on the sending priority of the target overflow data, so that the data in the sending queue is sorted in descending order according to the sending priority; wherein, the data with the same sending priority in the sending queue is sorted according to the data change time.

4. The data communication method according to claim 3, characterized in that: Also includes: If there is a vacant position in the sending queue and there is no overflow data in the overflow queue, the changed running status data is added to the corresponding position of the sending queue based on the sending priority of the changed running status data, so that the data in the sending queue are sorted in descending order according to the sending priority; wherein, the data with the same sending priority in the sending queue are sorted according to the data change time.

5. The data communication method according to claim 1, characterized in that: Also includes: When sending the running status data to the host computer, judging whether the communication status with the target host computer is normal; wherein the target host computer is the host computer corresponding to the head data of the sending queue; If normal, the head data of the sending queue is sent to the target host computer; If the communication status with the target host computer continues to be abnormal within a preset time, the target host computer is marked as a lost host computer, and each queue head data corresponding to the lost host computer is deleted and transferred to the temporary storage queue corresponding to the lost host computer.

6. The data communication method according to claim 5, characterized in that: Also includes: When it is detected that the communication status with the lost host computer is restored to normal, all temporarily stored data in the temporary storage queue corresponding to the lost host computer are taken out, and all the temporarily stored data are sent to the lost host computer whose communication status is restored to normal.

7. The data communication method according to claim 5, characterized in that: The overflow queue and the temporary queue are stored in a database, and the database is a memory-type database; The process operation data includes process action data and reaction chamber status information.

8. The data communication method according to any one of claims 1 to 7, characterized in that: Before the step of obtaining the subscription data sent by the host computer, the data communication method further includes: After establishing a network connection with the host computer, receiving device connection information sent by the host computer; wherein the device connection information includes the network connection status of the host computer; The communication status with the host computer is monitored based on the network connection status in the device connection information.

9. A data communication method, characterized in that: Applied to a host computer of a semiconductor process equipment control system, the data communication method comprises: Establishing a network connection with a lower computer, and sending device connection information to the lower computer, so that the lower computer monitors the communication status with the upper computer based on the network connection status in the device connection information; Sending the subscription data to the lower computer so that the lower computer monitors the operation status data corresponding to the subscription data; wherein the operation status data includes process operation data generated by the semiconductor process equipment during the process; When the communication state with the lower computer is normal, receiving the running state data sent by the sending queue of the lower computer; wherein, when the sending queue in the lower computer is full, adding the changed running state data as new overflow data to the overflow queue; When the communication status with the lower computer is restored from an abnormal state to a normal state, all the temporarily stored data stored in the temporary storage queue corresponding to the upper computer and sent by the lower computer are received; wherein, all the temporarily stored data include: all the operating status data that the lower computer attempts to send to the upper computer during the period when the communication status with the lower computer is in an abnormal state.

10. A lower computer, characterized in that: Used to execute the data communication method according to any one of claims 1 to 8, the lower computer comprises: a network monitoring module, a first communication interface and a memory-type database; The network monitoring module is used to monitor the communication status with the host computer based on the device connection information sent by the host computer; The first communication interface is used to receive the device connection information sent by the host device; wherein the first communication interface includes a network communication engine interface; The memory database is used to store overflow queues and temporary queues.

11. A host computer, characterized in that: For executing the data communication method according to claim 9, the host computer comprises: a second communication interface; The second communication interface is used to receive all temporary storage data stored in the temporary storage queue corresponding to the upper computer and sent by the lower computer; wherein the second communication interface includes a network communication engine interface.

12. A semiconductor process equipment control system, characterized in that: include: The lower computer as claimed in claim 10 and the upper computer as claimed in claim 11.