Human-computer interface device identification method and terminal
By obtaining the scanning range and time in industrial automation control scenarios, determining the list of HMI equipment to be scanned, and shaking hands with these devices to solve the problem of inaccurate recognition and low time efficiency in the existing HMI device identification method, realized the realization HMI equipment is accurate, efficient and comprehensive.
Patent Information
- Application Number
- CN202411307986.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-24
AI Technical Summary
The existing HMI device identification methods have problems such as inaccurate identification range, low time efficiency, and incomplete information collection, which affect system performance and user experience.
By obtaining the scanning range and scanning time, determine the list of HMI devices to be scanned, and perform handshake connections with these devices within the scanning time to obtain the list of communicable devices. Then, send a preset data packet based on the communicable device list, wait for the device information to be returned, and save the information to the device list.
The accuracy, efficient and comprehensive recognition of HMI devices have been realized. Compared with the existing one -to -one identification method, the identification time is reduced and the resource occupies too much.
Smart Images

Figure CN119356566A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial automation control, and in particular to a method and a terminal for identifying a human-machine interface device. Background Art
[0002] In industrial automation control scenarios, accurate and efficient identification of HMI (Human Machine Interface) devices is crucial to achieving stable operation and effective operation of the system. However, existing HMI device identification methods often have problems such as inaccurate identification range, low time efficiency, and incomplete information collection, which affects the performance of the entire system and user experience. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method and a terminal for identifying a human-machine interface device, which can accurately, efficiently and comprehensively identify the human-machine interface device.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0005] A method for identifying a human-machine interface device comprises the steps of:
[0006] Get the scanning range and scanning time;
[0007] Determine a list of human-machine interface devices to be scanned according to the scanning range, and perform handshake connection with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices;
[0008] Sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time;
[0009] The device information of all communicative human-machine interface devices is saved in the communicative human-machine interface device list.
[0010] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0011] An identification terminal for a human-machine interface device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0012] Get the scanning range and scanning time;
[0013] Determine a list of human-machine interface devices to be scanned according to the scanning range, and perform handshake connection with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices;
[0014] Sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time;
[0015] The device information of all communicative human-machine interface devices is saved in the communicative human-machine interface device list.
[0016] The beneficial effects of the present invention are as follows: a list of human-machine interface devices to be scanned is determined according to a scanning range, and based on the list of human-machine interface devices to be scanned, a handshake connection is performed with all human-machine interface devices to be scanned within a scanning time to obtain a list of communicable human-machine interface devices, a preset data packet is sent to all communicable human-machine interface devices based on the list of communicable human-machine interface devices, and device information returned by all communicable human-machine interface devices is waited for within a scanning time, and the device information is saved in the list of communicable human-machine interface devices, thereby enabling batch sending and batch receiving of information through the list of human-machine interface devices to be scanned and the list of communicable human-machine interface devices, and compared with the existing one-to-one recognition method, the recognition time is reduced, and there is no need to occupy too many resources, thereby accurately, efficiently and comprehensively identifying human-machine interface devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart of a method for identifying a human-machine interface device according to an embodiment of the present invention;
[0018] Figure 2 The present invention is a schematic diagram of the structure of an identification terminal of a human-machine interface device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0020] Please refer to Figure 1 , a method for identifying a human-machine interface device, comprising the steps of:
[0021] Get the scanning range and scanning time;
[0022] Determine a list of human-machine interface devices to be scanned according to the scanning range, and perform handshake connection with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices;
[0023] Sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time;
[0024] The device information of all communicative human-machine interface devices is saved in the communicative human-machine interface device list.
[0025] From the above description, it can be seen that the beneficial effects of the present invention are: determining a list of human-machine interface devices to be scanned according to the scanning range, and based on the list of human-machine interface devices to be scanned, handshaking connections are performed with all human-machine interface devices to be scanned within the scanning time to obtain a list of communicable human-machine interface devices, sending a preset data packet to all communicable human-machine interface devices based on the list of communicable human-machine interface devices, and waiting for the device information returned by all communicable human-machine interface devices within the scanning time, and saving the device information in the list of communicable human-machine interface devices, thereby enabling batch sending and batch receiving of information through the list of human-machine interface devices to be scanned and the list of communicable human-machine interface devices, which reduces the recognition time and does not need to occupy too many resources compared to the existing one-to-one recognition method, thereby accurately, efficiently and comprehensively identifying human-machine interface devices.
[0026] Further, the obtaining of the scanning range and scanning time includes:
[0027] Get the IP address and scanning time entered by the user;
[0028] Determine whether the IP address is empty. If so, use the IP address of the current network card as the scanning range. If not, determine the legality of the IP address. If legal, use the IP address as the scanning range. If illegal, prompt the user to re-enter.
[0029] From the above description, it can be seen that after the user enters the IP address, if the IP address is empty, the IP address of the current network card of this terminal is directly used as the scanning range. If the IP address is not empty, its legitimacy is verified to ensure the efficiency and reliability of subsequent identification.
[0030] Further, determining a list of human-machine interface devices to be scanned according to the scanning range includes:
[0031] If the last group of digits of the IP address is not 0, generating a list of human-machine interface devices to be scanned according to the IP address;
[0032] If the last group of digits of the IP address is 0, the last group of digits of the IP address are replaced with available host addresses to obtain multiple replaced IP addresses, and a list of human-machine interface devices to be scanned is generated according to the multiple replaced IP addresses.
[0033] From the above description, it can be seen that if the last group of digits of the IP address is not 0, it means that the user has a specific human-machine interface device that he wants to identify, and the list of human-machine interface devices to be scanned is directly generated based on the IP address. If the last group of digits of the IP address is 0, it means that all human-machine interface devices in the entire network segment are to be scanned, so the last group of digits of the IP address are replaced with available host addresses respectively, and the list of human-machine interface devices to be scanned is generated based on multiple replaced IP addresses. There is no need for the user to enter the IP addresses of all network segments one by one, thereby improving the recognition efficiency.
[0034] Furthermore, the handshake connection is performed with all the human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices, including:
[0035] Creating transmission control protocol socket handles respectively according to the scanning port of the human-machine interface device to be scanned and the IP address in the list of human-machine interface devices to be scanned;
[0036] Saving all of the transmission control protocol socket handles to a handle list;
[0037] Sending connection requests to all human-machine interface devices to be scanned respectively according to the handle list;
[0038] monitoring the read / write status of all transmission control protocol socket handles in the handle list within the scanning time, and determining the to-be-scanned human-machine interface device corresponding to the transmission control protocol socket handle with a readable / writable read / write status as a communicable human-machine interface device;
[0039] Generate a communicative human-machine interface device list based on all communicative human-machine interface devices.
[0040] As can be seen from the above description, connection requests are sent to all human-machine interface devices to be scanned according to the handle list, and the read and write status of all transmission control protocol socket handles in the handle list are monitored during the scanning time. The human-machine interface devices to be scanned corresponding to the transmission control protocol socket handles with a readable and writable read and write status are determined as communicative human-machine interface devices. The handle list is used to more quickly and effectively realize the connection with the human-machine interface devices to be scanned, thereby efficiently identifying the communicative human-machine interface devices.
[0041] Furthermore, the sending of a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list includes:
[0042] A preset data packet is sent to all communicable human-machine interface devices based on the communicable human-machine interface device list and the handle list.
[0043] From the above description, it can be seen that based on the communicative human-machine interface device list and the handle list, a preset data packet is sent to all communicative human-machine interface devices. The preset data packet can be used to obtain the device information that the user wants. The device information of all communicative human-machine interface devices can be obtained in batches through the communicative human-machine interface device list and the handle list, which is more efficient.
[0044] Please refer to Figure 2 , an identification terminal of a human-machine interface device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0045] Get the scanning range and scanning time;
[0046] Determine a list of human-machine interface devices to be scanned according to the scanning range, and perform handshake connection with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices;
[0047] Sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time;
[0048] The device information of all communicative human-machine interface devices is saved in the communicative human-machine interface device list.
[0049] From the above description, it can be seen that the beneficial effects of the present invention are: determining a list of human-machine interface devices to be scanned according to the scanning range, and based on the list of human-machine interface devices to be scanned, handshaking connections are performed with all human-machine interface devices to be scanned within the scanning time to obtain a list of communicable human-machine interface devices, sending a preset data packet to all communicable human-machine interface devices based on the list of communicable human-machine interface devices, and waiting for the device information returned by all communicable human-machine interface devices within the scanning time, and saving the device information in the list of communicable human-machine interface devices, thereby enabling batch sending and batch receiving of information through the list of human-machine interface devices to be scanned and the list of communicable human-machine interface devices, which reduces the recognition time and does not need to occupy too many resources compared to the existing one-to-one recognition method, thereby accurately, efficiently and comprehensively identifying human-machine interface devices.
[0050] Further, the obtaining of the scanning range and scanning time includes:
[0051] Get the IP address and scanning time entered by the user;
[0052] Determine whether the IP address is empty. If so, use the IP address of the current network card as the scanning range. If not, determine the legality of the IP address. If legal, use the IP address as the scanning range. If illegal, prompt the user to re-enter.
[0053] From the above description, it can be seen that after the user enters the IP address, if the IP address is empty, the IP address of the current network card of this terminal is directly used as the scanning range. If the IP address is not empty, its legitimacy is verified to ensure the efficiency and reliability of subsequent identification.
[0054] Further, determining a list of human-machine interface devices to be scanned according to the scanning range includes:
[0055] If the last group of digits of the IP address is not 0, generating a list of human-machine interface devices to be scanned according to the IP address;
[0056] If the last group of digits of the IP address is 0, the last group of digits of the IP address are replaced with available host addresses to obtain multiple replaced IP addresses, and a list of human-machine interface devices to be scanned is generated according to the multiple replaced IP addresses.
[0057] From the above description, it can be seen that if the last group of digits of the IP address is not 0, it means that the user has a specific human-machine interface device that he wants to identify, and the list of human-machine interface devices to be scanned is directly generated based on the IP address. If the last group of digits of the IP address is 0, it means that all human-machine interface devices in the entire network segment are to be scanned, so the last group of digits of the IP address are replaced with available host addresses respectively, and the list of human-machine interface devices to be scanned is generated based on multiple replaced IP addresses. There is no need for the user to enter the IP addresses of all network segments one by one, thereby improving the recognition efficiency.
[0058] Furthermore, the handshake connection is performed with all the human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices, including:
[0059] Creating transmission control protocol socket handles respectively according to the scanning port of the human-machine interface device to be scanned and the IP address in the list of human-machine interface devices to be scanned;
[0060] Saving all of the transmission control protocol socket handles to a handle list;
[0061] Sending connection requests to all human-machine interface devices to be scanned respectively according to the handle list;
[0062] monitoring the read / write status of all transmission control protocol socket handles in the handle list within the scanning time, and determining the to-be-scanned human-machine interface device corresponding to the transmission control protocol socket handle with a readable / writable read / write status as a communicable human-machine interface device;
[0063] Generate a communicative human-machine interface device list based on all communicative human-machine interface devices.
[0064] As can be seen from the above description, connection requests are sent to all human-machine interface devices to be scanned according to the handle list, and the read and write status of all transmission control protocol socket handles in the handle list are monitored during the scanning time. The human-machine interface devices to be scanned corresponding to the transmission control protocol socket handles with a readable and writable read and write status are determined as communicative human-machine interface devices. The handle list is used to more quickly and effectively realize the connection with the human-machine interface devices to be scanned, thereby efficiently identifying the communicative human-machine interface devices.
[0065] Furthermore, the sending of a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list includes:
[0066] A preset data packet is sent to all communicable human-machine interface devices based on the communicable human-machine interface device list and the handle list.
[0067] From the above description, it can be seen that based on the communicative human-machine interface device list and the handle list, a preset data packet is sent to all communicative human-machine interface devices. The preset data packet can be used to obtain the device information that the user wants. The device information of all communicative human-machine interface devices can be obtained in batches through the communicative human-machine interface device list and the handle list, which is more efficient.
[0068] The above-mentioned human-machine interface device identification method and terminal of the present invention can be applied to HMI (human-machine interface) device identification scenarios, which are described below through specific implementation methods:
[0069] Please refer to Figure 1 , Embodiment 1 of the present invention is:
[0070] A method for identifying a human-machine interface device comprises the steps of:
[0071] S1. Get the scanning range and scanning time, including S11-S12:
[0072] S11. Obtain the IP address and scanning time input by the user.
[0073] In an optional implementation, the IP address is an IPv4 address. In an optional implementation, the scanning time is 10 seconds. The scanning time is set to ensure that the device scan is completed within a reasonable time.
[0074] S12. Determine whether the IP address is empty. If so, use the IP address of the current network card as the scanning range. If not, determine the legality of the IP address. If legal, use the IP address as the scanning range. If illegal, prompt the user to re-enter.
[0075] The IP address of the current network card is the IP address of the current network card of the identification terminal of the human-machine interface device of the present invention. The determination of the legitimacy of the IP address is to determine whether the IP address complies with the IPv4 address naming rules.
[0076] S2, determining a list of human-machine interface devices to be scanned according to the scanning range, and performing handshake connections with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices, specifically including S21-S27:
[0077] S21. If the last group of digits of the IP address is not 0, a list of human-machine interface devices to be scanned is generated according to the IP address.
[0078] S22. If the last group of digits of the IP address is 0, the last group of digits of the IP address are replaced with available host addresses to obtain multiple replaced IP addresses, and a list of human-machine interface devices to be scanned is generated according to the multiple replaced IP addresses.
[0079] In an optional implementation manner, the available host addresses are 1-254.
[0080] For example, the format of the IPv4 address is four groups of numbers, and the last group of numbers is 0, which represents the entire network segment. Then, 0 is replaced with 1, 2, ..., 254 respectively, so that 254 replaced IP addresses are generated, and a list of human-machine interface devices to be scanned is generated based on the 254 replaced IP addresses.
[0081] S23, creating transmission control protocol (TCP) socket handles respectively according to the scan port of the human-machine interface device to be scanned and the IP address in the list of human-machine interface devices to be scanned.
[0082] S24. Save all the transmission control protocol socket handles to a handle list.
[0083] S25 . Send connection requests to all human-machine interface devices to be scanned respectively according to the handle list.
[0084] S26, monitoring the read / write status of all transmission control protocol socket handles in the handle list within the scanning time, and determining the to-be-scanned human-machine interface device corresponding to the transmission control protocol socket handle with a readable / writable read / write status as a communicative human-machine interface device.
[0085] The monitoring of the read and write status of all transmission control protocol socket handles in the handle list within the scanning time is specifically:
[0086] During the scanning time, select (used to monitor changes in the states of multiple file descriptors) in I / O multiplexing is used to monitor the read and write states of all transmission control protocol socket handles in the handle list.
[0087] S27. Generate a communicative human-machine interface device list based on all communicative human-machine interface devices.
[0088] S3, sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time.
[0089] Specifically, based on the communicative human-machine interface device list and the handle list, a preset data packet is sent to all communicative human-machine interface devices, and device information returned by all communicative human-machine interface devices is waited for within the scanning time.
[0090] The preset data packet includes a session ID, a session data packet ID, device information required by the user, and a CRC (cyclic redundancy) check. For example, if the user wants to know the model and operating status of the HMI device, the device information required by the user in the data packet is the device model and the device operating status. After the communicative human-machine interface device returns the device information, if the user wants to know other device information such as device operation records, the S3 step can be repeated.
[0091] S4. Save the device information of all communicative human-machine interface devices into the communicative human-machine interface device list.
[0092] In an optional implementation, the device information of each communicative human-machine interface device in the communicative human-machine interface device list is displayed visually to facilitate the user to perform subsequent HMI device selection and operation.
[0093] Please refer to Figure 2 , Embodiment 2 of the present invention is:
[0094] A human-machine interface device identification terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the human-machine interface device identification method in the first embodiment is implemented.
[0095] In summary, the present invention provides a method and terminal for identifying a human-machine interface device, which determines a list of human-machine interface devices to be scanned according to a scanning range, and based on the list of human-machine interface devices to be scanned, performs handshake connections with all human-machine interface devices to be scanned within a scanning time to obtain a list of communicable human-machine interface devices, sends a preset data packet to all communicable human-machine interface devices based on the list of communicable human-machine interface devices, and waits for device information returned by all communicable human-machine interface devices within a scanning time, and saves the device information in the list of communicable human-machine interface devices, thereby enabling batch sending and batch receiving of information through the list of human-machine interface devices to be scanned and the list of communicable human-machine interface devices. Compared with the existing one-to-one identification method, the identification time is reduced and there is no need to occupy too many resources, thereby accurately, efficiently and comprehensively identifying human-machine interface devices; in addition, if the last group of digits in the IP address is not 0, it means that the user has a specific human-machine interface device that he wants to identify, and a list of human-machine interface devices to be scanned is directly generated based on the IP address. If the last group of digits in the IP address is 0, it means that all human-machine interface devices in the entire network segment are to be scanned, so the last group of digits in the IP address are replaced with available host addresses, and a list of human-machine interface devices to be scanned is generated based on multiple replaced IP addresses. There is no need for the user to enter the IP addresses of all network segments one by one, thereby improving identification efficiency.
[0096] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for identifying a human-machine interface device, characterized in that: Includes steps: Get the scanning range and scanning time; Determine a list of human-machine interface devices to be scanned according to the scanning range, and perform handshake connection with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices; Sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time; The device information of all communicative human-machine interface devices is saved in the communicative human-machine interface device list.
2. The method for identifying a human-machine interface device according to claim 1, characterized in that: The acquisition of the scanning range and scanning time includes: Get the IP address and scanning time entered by the user; Determine whether the IP address is empty. If so, use the IP address of the current network card as the scanning range. If not, determine the legality of the IP address. If legal, use the IP address as the scanning range. If illegal, prompt the user to re-enter.
3. The method for identifying a human-machine interface device according to claim 2, characterized in that: Determining a list of human-machine interface devices to be scanned according to the scanning range includes: If the last group of digits of the IP address is not 0, generating a list of human-machine interface devices to be scanned according to the IP address; If the last group of digits of the IP address is 0, the last group of digits of the IP address are replaced with available host addresses to obtain multiple replaced IP addresses, and a list of human-machine interface devices to be scanned is generated according to the multiple replaced IP addresses.
4. The method for identifying a human-machine interface device according to claim 1, characterized in that: The handshake connection is performed with all the human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices, including: Creating transmission control protocol socket handles respectively according to the scanning port of the human-machine interface device to be scanned and the IP address in the list of human-machine interface devices to be scanned; Saving all of the transmission control protocol socket handles to a handle list; Sending connection requests to all human-machine interface devices to be scanned respectively according to the handle list; monitoring the read / write status of all transmission control protocol socket handles in the handle list within the scanning time, and determining the to-be-scanned human-machine interface device corresponding to the transmission control protocol socket handle with a readable / writable read / write status as a communicable human-machine interface device; Generate a communicable human-machine interface device list based on all communicable human-machine interface devices.
5. The method for identifying a human-machine interface device according to claim 4, characterized in that: The sending of a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list comprises: A preset data packet is sent to all communicable human-machine interface devices based on the communicable human-machine interface device list and the handle list.
6. An identification terminal for a human-machine interface device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: Get the scanning range and scanning time; Determine a list of human-machine interface devices to be scanned according to the scanning range, and perform handshake connection with all human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices; Sending a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list, and waiting for device information returned by all communicative human-machine interface devices within the scanning time; The device information of all communicative human-machine interface devices is saved in the communicative human-machine interface device list.
7. The identification terminal of a human-machine interface device according to claim 6, characterized in that: The acquisition of the scanning range and scanning time includes: Get the IP address and scanning time entered by the user; Determine whether the IP address is empty. If so, use the IP address of the current network card as the scanning range. If not, determine the legality of the IP address. If legal, use the IP address as the scanning range. If illegal, prompt the user to re-enter.
8. The identification terminal of a human-machine interface device according to claim 7, characterized in that: Determining a list of human-machine interface devices to be scanned according to the scanning range includes: If the last group of digits of the IP address is not 0, generating a list of human-machine interface devices to be scanned according to the IP address; If the last group of digits of the IP address is 0, the last group of digits of the IP address are replaced with available host addresses to obtain multiple replaced IP addresses, and a list of human-machine interface devices to be scanned is generated according to the multiple replaced IP addresses.
9. The identification terminal of a human-machine interface device according to claim 6, characterized in that: The handshake connection is performed with all the human-machine interface devices to be scanned within the scanning time based on the list of human-machine interface devices to be scanned to obtain a list of communicable human-machine interface devices, including: Creating transmission control protocol socket handles respectively according to the scanning port of the human-machine interface device to be scanned and the IP address in the list of human-machine interface devices to be scanned; Saving all of the transmission control protocol socket handles to a handle list; Sending connection requests to all human-machine interface devices to be scanned respectively according to the handle list; monitoring the read / write status of all transmission control protocol socket handles in the handle list within the scanning time, and determining the to-be-scanned human-machine interface device corresponding to the transmission control protocol socket handle with a readable / writable read / write status as a communicable human-machine interface device; Generate a communicable human-machine interface device list based on all communicable human-machine interface devices.
10. The identification terminal of a human-machine interface device according to claim 9, characterized in that: The sending of a preset data packet to all communicative human-machine interface devices based on the communicative human-machine interface device list comprises: A preset data packet is sent to all communicable human-machine interface devices based on the communicable human-machine interface device list and the handle list.