Multi-station management method, device and equipment of industrial personal computer, medium and product

By setting up the main process and child process on the industrial control machine and establishing communication connections, the problem of inconvenient operation of multiple stations for a single industrial control machine is solved, and the detection efficiency and simplicity of operation are improved.

CN119917187APending Publication Date: 2025-05-02苏州凌云光工业智能技术有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510008524.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the prior art, a single industrial control machine needs to frequently switch detection software to complete multiple detection tasks, resulting in inconvenient user operation and equipment maintenance.

Method used

By setting up the main process and each work station subprocess on the industrial control machine, establishing a communication connection between the target work station subprocess and the industrial control machine main process, the effective management of multiple workstations by a single industrial control machine is realized, and software switching is avoided.

Benefits of technology

Improve product inspection efficiency, simplify user operation and equipment maintenance, and reduce the frequency of software switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917187A_ABST
    Figure CN119917187A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-station management method, device and equipment of an industrial personal computer, a medium and a product. The method comprises the following steps: if a host process of an industrial personal computer is started, reading a merging configuration file under a preset configuration storage directory, determining each target station, and checking the merging legality of each target station; and if the combination of the target stations is legal, starting each target station sub-process, reading each target station configuration file associated with the combination configuration file, and establishing communication connection between each target station sub-process and the main process of the industrial personal computer so as to manage each target station through the industrial personal computer. According to the technical scheme, the problem that multi-station management operation of a single industrial personal computer is inconvenient is solved, effective management of multiple stations by the single industrial personal computer is achieved by setting the industrial personal computer host process and the station sub-processes and establishing communication connection between the target station sub-processes and the industrial personal computer host process, frequent software switching is avoided, and the working efficiency of the single industrial personal computer is improved. And the product detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic control technology, and in particular to a multi-station management method, device, equipment, medium and product for an industrial computer. Background Art

[0002] With the application and promotion of automatic optical inspection systems (AOI) in the industrial field, manufacturers have higher and higher requirements for the flexibility of inspection equipment. The line design of automatic optical inspection systems is increasingly inclined to multi-station inspection, that is, one station is responsible for one type of inspection task of the product. For example, station 1 is responsible for the front inspection of the appearance of the mobile phone, station 2 is responsible for the back inspection of the appearance of the mobile phone, station 3 is responsible for the inspection of the mobile phone lens, and station 4 is responsible for the inspection of the mobile phone jack.

[0003] The product flows through each station in sequence, and after being tested at each station, the overall product testing is completed. The existing technology usually equips each station with an independent industrial computer, running independent testing software to support the testing task of the station. Due to factors such as cost, design, and user operating habits, the number of industrial computers is usually less than the number of stations, so it is necessary to run multiple testing software on a single industrial computer.

[0004] However, an industrial computer needs to switch detection software back and forth to complete multiple detection tasks, which brings inconvenience to user operation and equipment maintenance. Summary of the invention

[0005] The present invention provides a multi-station management method, device, equipment, medium and product for an industrial computer to solve the problem of inconvenient multi-station management operation of a single industrial computer. By setting the main process of the industrial computer and each station sub-process, a communication connection is established between each target station sub-process and the main process of the industrial computer, so that effective management of multiple stations by a single industrial computer is achieved, frequent software switching is avoided, and product detection efficiency is improved.

[0006] According to one aspect of the present invention, a multi-station management method for an industrial computer is provided, the method comprising:

[0007] If the main process of the industrial computer is started, the merge configuration file is read in the preset configuration storage directory, each target workstation is determined, and the legitimacy of the merge of each target workstation is checked;

[0008] If the merger of each target station is legal, each target station sub-process is started, each target station configuration file associated with the merged configuration file is read, and a communication connection is established between each target station sub-process and the industrial computer main process to manage each target station through the industrial computer.

[0009] According to another aspect of the present invention, a multi-station management device for an industrial computer is provided, the device comprising:

[0010] The target station determination module is used to read the merge configuration file in the preset configuration storage directory if the main process of the industrial control computer is started, determine each target station, and check the legality of the merger of each target station;

[0011] The communication connection establishment module is used to start each target workstation sub-process if the merger of each target workstation is legal, read each target workstation configuration file associated with the merged configuration file, and establish a communication connection between each target workstation sub-process and the main process of the industrial computer, so as to manage each target workstation through the industrial computer.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0013] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the multi-station management method of the industrial computer described in any embodiment of the present invention.

[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the multi-station management method of an industrial computer described in any embodiment of the present invention when executed.

[0015] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the multi-station management method of an industrial computer according to any embodiment of the present invention is implemented.

[0016] The technical solution of the embodiment of the present invention is that when the main process of the industrial control computer is started, the merged configuration file is read in the preset configuration storage directory, each target workstation is determined, and the legality of the merge of each target workstation is checked; if the merge of each target workstation is legal, each target workstation subprocess is started, each target workstation configuration file associated with the merged configuration file is read, and a communication connection between each target workstation subprocess and the main process of the industrial control computer is established, so as to manage each target workstation through the industrial control computer. This technical solution solves the problem of inconvenient operation of managing multiple workstations with a single industrial control computer. By setting the main process of the industrial control computer and each workstation subprocess, a communication connection between each target workstation subprocess and the main process of the industrial control computer is established, and effective management of multiple workstations by a single industrial control computer is realized, frequent software switching is avoided, and product detection efficiency is improved.

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

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 This is a flow chart of a multi-station management method for an industrial computer provided according to Embodiment 1 of the present invention;

[0020] Figure 2 This is a flow chart of a multi-station management method for an industrial computer provided according to Embodiment 2 of the present invention;

[0021] Figure 3 This is a schematic diagram of the structure of a multi-station management device for an industrial computer provided according to Embodiment 3 of the present invention;

[0022] Figure 4 It is a structural schematic diagram of an electronic device for implementing the multi-station management method of an industrial computer according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0025] Embodiment 1

[0026] Figure 1 A flowchart of a multi-station management method of an industrial computer is provided for the first embodiment of the present invention. This embodiment is applicable to multi-station product inspection scenarios, especially multi-station management of a single industrial computer. The method can be executed by a multi-station management device of an industrial computer, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0027] S110, if the main process of the industrial computer is started, then the merge configuration file is read in the preset configuration storage directory, each target workstation is determined, and the legitimacy of the merge of each target workstation is checked.

[0028] This solution can be executed by an industrial personal computer (IPC), which is a tool for detecting and controlling production processes, electromechanical equipment, and process equipment. An IPC has important computer properties and features, such as a processor, hard disk, memory, peripherals, and interfaces, and is equipped with an operating system, control network and protocol, computing power, and a human-computer interface. An IPC can communicate with one or more workstations to obtain detection information collected by the detection equipment at each workstation. Each workstation can be used to implement a type of detection task.

[0029] In order to save hardware resources, the prior art usually manages multiple workstations by one industrial computer, so it is necessary to install detection software matching each workstation in one industrial computer. The prior art has the following defects:

[0030] (1) After the software is started, the industrial computer needs to run multiple detection software;

[0031] (2) When viewing the collected images and test results, the user needs to switch the test software back and forth on the industrial computer;

[0032] (3) If the user needs to set the detection parameters, such as adjusting the image resolution, the user needs to switch to the detection software corresponding to the workstation, which is inconvenient to operate;

[0033] (4) The inspection software corresponding to each workstation contains a front-end user interface (UI), which requires memory resources, resulting in a waste of memory resources;

[0034] (5) The user interface of a single industrial computer displaying multiple workstations is not aesthetically pleasing.

[0035] In order to overcome the above defects, the industrial computer can split each detection software into two types of processes, namely the foreground process and the background process. The industrial computer can set a main process in the foreground and set sub-processes matching each workstation in the background. Among them, the main process of the industrial computer is responsible for the user interface display and communicates with the sub-processes of each workstation. The sub-process of the industrial computer is responsible for the detection tasks of the workstation and communicates with the main process of the industrial computer. It does not contain a UI interface and only runs silently in the background.

[0036] If the main process of the industrial computer is started, the industrial computer can read the merge configuration file in the preset configuration storage directory, and determine each target station according to the station merge information in the merge configuration file. The station merge information may include the number of merged stations, station identification, station description information, and the operation order of each station. The industrial computer can locate each target station according to the station identification.

[0037] After determining each target workstation, the industrial computer can check the legality of the merger of each target workstation. Specifically, the industrial computer can search for configuration files matching each target workstation in the preset configuration storage directory. If all configuration files of each target workstation exist, it is determined that the merger of each target workstation is legal. If at least one configuration file of the target workstation does not exist, it is determined that the merger of each target workstation is illegal.

[0038] S120, if the merger of each target workstation is legal, start each target workstation subprocess, read each target workstation configuration file associated with the merged configuration file, establish a communication connection between each target workstation subprocess and the industrial computer main process, so as to manage each target workstation through the industrial computer.

[0039] If the merger of each target station is legal, the industrial computer can start each target station sub-process, read each target station configuration file, parse each target station configuration file, and establish a communication connection between each target station sub-process and the industrial computer main process based on the parsing results of each target station configuration file, thereby realizing a single industrial computer to manage multiple target stations. Among them, the target station configuration file may include information such as the target station identification and the target station function. If the merger of each target station is illegal, the industrial computer main process can report an error in the user interface to inform the user to re-set the multi-station merger.

[0040] The technical solution of the embodiment of the present invention is that when the main process of the industrial control computer is started, the merged configuration file is read in the preset configuration storage directory, each target workstation is determined, and the legality of the merge of each target workstation is checked; if the merge of each target workstation is legal, each target workstation subprocess is started, each target workstation configuration file associated with the merged configuration file is read, and a communication connection between each target workstation subprocess and the main process of the industrial control computer is established, so as to manage each target workstation through the industrial control computer. This technical solution solves the problem of inconvenient operation of managing multiple workstations with a single industrial control computer. By setting the main process of the industrial control computer and each workstation subprocess, a communication connection between each target workstation subprocess and the main process of the industrial control computer is established, and effective management of multiple workstations by a single industrial control computer is realized, frequent software switching is avoided, and product detection efficiency is improved.

[0041] Embodiment 2

[0042] Figure 2 This is a flowchart of a multi-station management method for an industrial computer provided in the second embodiment of the present invention. This embodiment is based on the above embodiment and is refined. Figure 2 As shown, the method includes:

[0043] S210: If the main process of the industrial computer detects a multi-station merging operation, then information of each target station to be merged is obtained according to the multi-station merging operation.

[0044] The industrial computer can be configured with one or more user terminals to set the workstations to be managed by the industrial computer. The user can perform a multi-workstation merge operation on the user terminal, for example, after selecting multiple workstations on the display page of the user terminal, click the "Merge Workstations" button. After detecting the multi-workstation merge operation of the user terminal, the industrial computer can use each workstation selected in the multi-workstation merge operation as a target workstation and obtain the information of each target workstation to be merged. The target workstation information may include information such as workstation identification, workstation function, communication port, and information storage location.

[0045] S220 . Generate a merge configuration file and configuration files for each target workstation in a preset configuration storage directory according to the information of each target workstation to be merged.

[0046] The industrial computer can generate a merged configuration file and each target workstation configuration file under a preset configuration storage target according to each target workstation information to be merged. The merged configuration file is used to record the workstation information to be managed by the industrial computer, and the target workstation configuration file is used to record the description information of the target workstation.

[0047] S230: If the main process of the industrial computer is started, the merge configuration file is read in the preset configuration storage directory, each target workstation is determined, and the legitimacy of the merge of each target workstation is checked.

[0048] S240: If the merger of each target workstation is legal, start each target workstation subprocess, read each target workstation configuration file associated with the merged configuration file, and establish a communication connection between each target workstation subprocess and the main process of the industrial computer to manage each target workstation through the industrial computer.

[0049] S250, obtaining templates of each target station, and establishing a communication connection between each target station subprocess and the target station hardware according to the templates of each target station; the target station template is a collection of configuration information required by the detection software matching the target station during operation.

[0050] After starting each target station subprocess, the industrial computer can obtain each target station template, which is a collection of configuration information required by the detection software corresponding to the target station during operation, for example, it may include information such as detection process configuration, camera imaging configuration, and communication transmission configuration. The industrial computer can establish a communication connection between each target station subprocess and the target station hardware according to each target station template. The target station hardware may include hardware devices such as conveyor belts, robotic arms, and cameras.

[0051] In a feasible solution, after establishing the communication connection between each target workstation subprocess and the target workstation hardware, the method further includes:

[0052] If the target station sub-process receives the detection start signal sent by the target station hardware, it sends a first page refresh instruction to the industrial computer main process to refresh the industrial computer page to a display page matching the target station;

[0053] If the target workstation subprocess outputs a detection process change signal, a second page refresh instruction is sent to the industrial computer main process to refresh the industrial computer page to a display page matching the current detection process of the target workstation;

[0054] If the target workstation subprocess outputs a detection completion signal, the target workstation acquisition image is obtained, the target workstation acquisition image is stored in the industrial computer memory, and a third page refresh instruction is sent to the industrial computer main process to refresh the industrial computer page to the target workstation detection completion page.

[0055] After establishing a communication connection between each target station sub-process and the target station hardware, if the target station sub-process running in the background of the industrial computer receives a detection start signal sent by the target station hardware, the target station sub-process can send a first page refresh instruction to the main process of the industrial computer to refresh the industrial computer page to a display page matching the target station. The first page refresh instruction can be used to refresh the current display page to an initial display page matching the target station.

[0056] After the detection starts, if the industrial computer detects that the target station sub-process outputs a detection process change signal, such as the completion of the image acquisition process, the image detection process starts. The target station sub-process can send a second page refresh instruction to the industrial computer main process to refresh the industrial computer page to the display page corresponding to the current detection process of the target station, for example, refreshing the display of the acquired image to display the image detection result.

[0057] If the industrial computer detects that the target workstation sub-process outputs a detection completion signal, the target workstation sub-process can obtain the target workstation acquisition image, store the target workstation acquisition image in the industrial computer memory, and send a third page refresh instruction to the industrial computer main process to refresh the industrial computer page to the target workstation detection completion page.

[0058] It should be noted that the target workstation subprocess and the industrial computer main process can communicate based on the TCP protocol, and the first page refresh instruction, the second page refresh instruction and the third page refresh instruction can be TCP commands. The industrial computer memory can be a shared memory of each target workstation. The industrial computer main process and each target workstation subprocess share memory, which can quickly access the memory and reduce the delay of data transmission. At the same time, multiple processes can read and write the same memory area at the same time, thereby realizing efficient data exchange and synchronization.

[0059] In this embodiment, after establishing the communication connection between each target workstation sub-process and the main process of the industrial computer, the method further includes:

[0060] If the main process of the industrial computer detects a parameter setting operation on the target workstation, a parameter setting request is sent to the sub-process of the target workstation to update the parameter setting through the sub-process of the target workstation.

[0061] After establishing a communication connection between each target station sub-process and the industrial computer main process, if the industrial computer main process detects a parameter setting operation on the target station, such as changing the image compression ratio, the industrial computer main process can send a parameter setting request to the target station sub-process according to the parameter setting operation. The target station sub-process can adjust the operating parameters of the target station hardware according to the parameter setting request.

[0062] Based on the above solution, after sending the parameter setting request to the target workstation subprocess, the method further includes:

[0063] If the main process of the industrial computer receives the parameter setting response result fed back by the target workstation sub-process, the main process of the industrial computer displays the parameter setting response result on the user interface.

[0064] The target workstation subprocess can feed back the response result of parameter setting to the main process of the industrial computer, such as successful parameter setting, failed parameter setting, or parameter cannot be reset, etc. The industrial computer can feed back the response result of parameter setting to the user terminal through the main process of the industrial computer.

[0065] The technical solution of the embodiment of the present invention, when detecting that the main process of the industrial control computer is started, reads the merged configuration file under the preset configuration storage directory, determines each target workstation, and verifies the legality of the merge of each target workstation; if the merge of each target workstation is legal, then start each target workstation subprocess, read each target workstation configuration file associated with the merged configuration file, and establish a communication connection between each target workstation subprocess and the main process of the industrial control computer, so as to manage each target workstation through the industrial control computer. This technical solution solves the problem of inconvenient operation of managing multiple workstations with a single industrial control computer. By setting the main process of the industrial control computer and each workstation subprocess, and establishing a communication connection between each target workstation subprocess and the main process of the industrial control computer, a single industrial control computer can effectively manage multiple workstations, avoid frequent software switching, and improve product testing efficiency.

[0066] Specific application scenario 1

[0067] In a specific example, the process of merging multiple stations of the same industrial computer based on AOI (Automatic Optical Inspection) inspection software is as follows:

[0068] (1) Overall architecture: The merged software runs in a multi-process mode, with one main process exe (mainly responsible for the front-end UI) + multiple background sub-processes exe (responsible for tasks such as image acquisition and detection); each background sub-process is responsible for the machine hardware communication, image acquisition and detection of a workstation, and the background sub-process has a hidden interface and has no interface.

[0069] (2) Modeling software operation: For multi-station machines, users perform modeling according to normal multiple stations. A multi-station merging setting interface is added to the modeling software, and users can choose which stations to merge into the same software.

[0070] (3) Detection software deployment: The user opens the detection software exe in the specified merged directory.

[0071] (4) Inspection software UI: Users use Tab to switch the display of different workstations, such as screen information and statistical information.

[0072] (5) Storage location of images, logs, etc.: Keep it consistent with the original software and the storage location remains unchanged.

[0073] (6) Machine hardware communication: Maintain consistency with the original software, and different workstations can still communicate independently with their own machine hardware.

[0074] Among them, the station merging operation of the modeling software is as follows:

[0075] (1) The user creates templates for each workstation in the original conventional way.

[0076] (2) In the main interface of the modeling software, select the stations to be merged and click Merge to indicate that these stations are merged into one inspection software.

[0077] The merge information is recorded in the process template, and a specific configuration file is generated (or updated) in the template storage root directory, such as shared disk Y, to separately record the workstation merge information for reading and verification when the merge software is started.

[0078] The configuration and deployment of the merged software are as follows:

[0079] (1) The user copies the software release package to the industrial computer where the merged software will run.

[0080] (2) Open the LConfig configuration software in the Publish folder; select the workstations to be merged from the drop-down menu at [Current Station Settings] - [Current Station ID] of LConfig, for example, merge workstation 2 and workstation 4; click Save, and multiple SubConfig_xx configuration folders will be automatically generated in the Publish\Config directory, such as SubConfig_Sta2 and SubConfig_Sta4, which correspond to the configuration folders of workstation 2 and workstation 4 in the merged workstation respectively; update the LocalInitConfig.xml configuration file in the Publish\Config directory to indicate that the workstation merging function is enabled and the workstation numbers of each station are responsible.

[0081] (3) When the main process exe of the industrial computer is started, the industrial computer automatically reads Publish\Config\LocalInitConfig.xml, finds that the industrial computer has enabled the workstation merging function, and determines which workstations it is responsible for; starts each workstation sub-process exe respectively, parses the SubConfig_xx folder corresponding to each workstation to obtain the corresponding configuration file.

[0082] The specific steps for running the merge software are as follows:

[0083] (1) The user double-clicks to start the main process exe of the industrial computer, that is, VisionSurfacePro.exe.

[0084] (2) Read Publish\Config\LocalInitConfig.xml to find out that the merge station function is enabled and that the stations responsible for processing are Station 2 and Station 4. Then read Y:\StationsMerge.xml to check whether there is a record of the merged combination of Station 2 and Station 4. If there is no record, a pop-up window will be displayed with an error message.

[0085] (3) With the main exe as the parent process, two additional VisionSurfacePro_Sta.exe child processes are started to read the configuration files in the SubConfig_Sta2 and SubConfig_Sta4 folders respectively. They read the template configuration of the responsible workstation respectively, establish a communication connection with the machine hardware, and establish TCP communication (for transmitting instructions and non-image data) and shared memory channels (for transmitting image data) with the main exe.

[0086] When the machine hardware notifies the industrial computer that the detection has started, the sub-process exe responsible for the corresponding workstation receives the detection start signal and performs various instructions and data processing in the same process as the original detection software. When the interface needs to be refreshed, the sub-process exe interacts with the main exe through TCP communication to exchange instructions, and the main process exe refreshes the display interface.

[0087] Note that to ensure data transmission efficiency, images with larger storage space need to be stored in shared memory space in the child process exe, and the main process exe only reads its shared memory address to ensure that large images only exist in one copy in the shared memory.

[0088] The user can open the setting interface in the main process exe to make settings. For example, to change the jpg storage compression ratio of a certain picture, the main process exe will communicate with the sub-process exe of the corresponding station through TCP communication to exchange instructions. The sub-process exe will refresh its own configuration variables to take effect and feedback the success or failure to the main process exe.

[0089] It should be noted that after the industrial computer merges the detection software of multiple stations, its software architecture is a multi-process architecture. Compared with a single process, abnormal situations may be more complicated and need to be properly handled when they occur.

[0090] Abnormal scenarios and their handling methods may include the following:

[0091] (1) Abnormal scenario: The user merges hardware such as cameras that are distributed on different PCs together in the modeling software.

[0092] Exception handling method: If the workstation IPs to be merged are different or the ports are the same, a prompt will be displayed and further operations will be blocked; when the merging software is started, if the camera initialization fails, a pop-up window will be displayed to warn the user and remind the user to check whether the camera is actually connected to the industrial computer.

[0093] (2) Abnormal scenario: the background child process crashes.

[0094] Exception handling method: A clear prompt needs to pop up in the front-end UI process to notify the PLC to issue an alarm prompt, and the interface supports one-click manual start and restart of the rear terminal process.

[0095] (3) Abnormal scenario: The foreground main process crashes.

[0096] Exception handling method: The PLC can be notified to issue an alarm prompt (through a certain back-end process), and the system can be restored after the personnel manually starts the front-end process.

[0097] (4) Abnormal scenario: A background process gets stuck when the merging software is started.

[0098] Exception handling method: The front-end UI displays text prompts of progress and background process status during the startup process. The progress can reach 100% only after all background processes are initialized. If a background process cannot be initialized within the timeout period, a pop-up window will be displayed to remind personnel to check the software version and deployment issues, but at this time, they still need to wait for the background process and provide a termination button.

[0099] (5) Abnormal scenario: When the background process sends log information (for log window) to the foreground process too frequently, it may cause delays in the command communication of key processes.

[0100] Exception handling method: Send log information to the front-end at a fixed time instead of in real time. For example, all the information to be sent within 500ms is sent only once to reduce the communication frequency. At the same time, make appropriate special processing for logs with higher levels such as Error and Warning, and send them as quickly as possible.

[0101] Embodiment 3

[0102] Figure 3 This is a schematic diagram of the structure of a multi-station management device for an industrial computer provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0103] The target workstation determination module 310 is used to read the merge configuration file in the preset configuration storage directory, determine each target workstation, and check the legitimacy of the merge of each target workstation if the main process of the industrial control computer is started;

[0104] The communication connection establishment module 320 is used to start each target workstation sub-process if the merger of each target workstation is legal, read each target workstation configuration file associated with the merged configuration file, and establish a communication connection between each target workstation sub-process and the industrial computer main process to manage each target workstation through the industrial computer.

[0105] In this solution, the device also includes:

[0106] The workstation information acquisition module is used to obtain the information of each target workstation to be merged according to the multi-workstation merge operation if the main process of the industrial computer detects a multi-workstation merge operation before reading the merge configuration file in the preset configuration storage directory;

[0107] The configuration file generation module is used to generate a merge configuration file and configuration files of each target station in a preset configuration storage directory according to the information of each target station to be merged.

[0108] Optionally, the device further comprises:

[0109] The platform connection establishment module is used to obtain each target workstation template after starting each target workstation subprocess, and establish a communication connection between each target workstation subprocess and the target workstation hardware according to each target workstation template; the target workstation template is a collection of configuration information required by the detection software matching the target workstation during operation.

[0110] On the basis of the above scheme, the device further comprises:

[0111] A first page refresh module is used for, after establishing a communication connection between each target station sub-process and the target station hardware, if the target station sub-process receives a detection start signal sent by the target station hardware, sending a first page refresh instruction to the industrial computer main process to refresh the industrial computer page to a display page matching the target station;

[0112] A second page refresh module is used to send a second page refresh instruction to the industrial computer main process if the target station sub-process outputs a detection process change signal, so as to refresh the industrial computer page to a display page matching the current detection process of the target station;

[0113] The third page refresh module is used to obtain the target workstation acquisition image if the target workstation sub-process outputs a detection completion signal, store the target workstation acquisition image in the industrial computer memory, and send a third page refresh instruction to the industrial computer main process to refresh the industrial computer page to the target workstation detection completion page.

[0114] In a feasible solution, the device further includes:

[0115] The parameter setting module is used to send a parameter setting request to the target workstation subprocess after establishing a communication connection between each target workstation subprocess and the industrial computer main process, if the industrial computer main process detects a parameter setting operation on the target workstation, so as to update the parameter setting through the target workstation subprocess.

[0116] On the basis of the above scheme, the device further comprises:

[0117] The response result feedback module is used to display the parameter setting response result on the user interface through the main process of the industrial computer after sending a parameter setting request to the target workstation subprocess and if the main process of the industrial computer receives the parameter setting response result fed back by the target workstation subprocess.

[0118] The multi-station management device for an industrial computer provided in an embodiment of the present invention can execute the multi-station management method for an industrial computer provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0119] Embodiment 4

[0120] Figure 4 A schematic diagram of an electronic device 410 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0121] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.

[0122] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0123] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 executes the various methods and processes described above, such as a multi-station management method for an industrial computer.

[0124] In some embodiments, the multi-station management method of the industrial computer can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the multi-station management method of the industrial computer described above can be executed. Alternatively, in other embodiments, the processor 411 can be configured to execute the multi-station management method of the industrial computer in any other appropriate manner (for example, by means of firmware).

[0125] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] The computer programs for implementing the method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a multi-station management device of a general-purpose computer, a special-purpose computer or other programmable industrial computer, so that when the computer programs are executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0127] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0128] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0129] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0130] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0131] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0132] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-station management method for an industrial computer, characterized in that: The method comprises: If the main process of the industrial computer is started, the merge configuration file is read in the preset configuration storage directory, each target workstation is determined, and the legitimacy of the merge of each target workstation is checked; If the merger of each target station is legal, each target station sub-process is started, each target station configuration file associated with the merged configuration file is read, and a communication connection is established between each target station sub-process and the industrial computer main process to manage each target station through the industrial computer.

2. The method according to claim 1, characterized in that Before reading the merged configuration file in the preset configuration storage directory, the method further includes: If the main process of the industrial computer detects a multi-station merging operation, then according to the multi-station merging operation, information of each target station to be merged is obtained; According to the information of each target station to be merged, a merge configuration file and configuration files of each target station are generated in a preset configuration storage directory.

3. The method according to claim 1, characterized in that After starting each target workstation subprocess, the method further includes: Obtain each target station template, and establish a communication connection between each target station subprocess and the target station hardware according to each target station template; the target station template is a collection of configuration information required by the detection software matching the target station during operation.

4. The method according to claim 3, characterized in that After establishing the communication connection between each target workstation subprocess and the target workstation hardware, the method further includes: If the target station sub-process receives the detection start signal sent by the target station hardware, it sends a first page refresh instruction to the industrial computer main process to refresh the industrial computer page to a display page matching the target station; If the target workstation subprocess outputs a detection process change signal, a second page refresh instruction is sent to the industrial computer main process to refresh the industrial computer page to a display page matching the current detection process of the target workstation; If the target workstation subprocess outputs a detection completion signal, the target workstation acquisition image is obtained, the target workstation acquisition image is stored in the industrial computer memory, and a third page refresh instruction is sent to the industrial computer main process to refresh the industrial computer page to the target workstation detection completion page.

5. The method according to claim 1, characterized in that After establishing a communication connection between each target workstation subprocess and the industrial computer main process, the method further includes: If the main process of the industrial computer detects a parameter setting operation on the target workstation, a parameter setting request is sent to the sub-process of the target workstation to update the parameter setting through the sub-process of the target workstation.

6. The method according to claim 5, characterized in that After sending the parameter setting request to the target workstation subprocess, the method further includes: If the main process of the industrial computer receives the parameter setting response result fed back by the target workstation sub-process, the main process of the industrial computer displays the parameter setting response result on the user interface.

7. A multi-station management device for an industrial computer, characterized in that: The device comprises: The target station determination module is used to read the merge configuration file in the preset configuration storage directory if the main process of the industrial control computer is started, determine each target station, and check the legality of the merger of each target station; The communication connection establishment module is used to start each target workstation sub-process if the merger of each target workstation is legal, read each target workstation configuration file associated with the merged configuration file, and establish a communication connection between each target workstation sub-process and the main process of the industrial computer, so as to manage each target workstation through the industrial computer.

8. An electronic device, characterized in that: The electronic device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the multi-station management method for an industrial computer according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the multi-station management method for an industrial computer according to any one of claims 1 to 6 when executed.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the multi-station management method for an industrial computer according to any one of claims 1 to 6.