Information processing system

By building a virtual machine in a cloud environment, program debugging can be controlled anywhere and at any time, solving the problem of debugging environment fixity in the existing technology, improving programmer's work flexibility and efficiency, and allowing multiple programmers to edit collaboratively. and debugging.

CN118749100AInactive Publication Date: 2024-10-08KK TOSHIBA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280092581.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-02
Filing Date
2022-12-20
Publication Date
2024-10-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, the debugging of complete sets of equipment control programs requires a fixed PC, real machine or simulator, which limits the programmer's debugging flexibility in time and place, making it impossible to realize program production and debugging everywhere and at any time.

Method used

By building a virtual machine in a cloud environment and providing servers and client devices, programmers can compile and execute control programs through the network at any place and at any time to realize debugging of virtual control devices.

Benefits of technology

It realizes a control program production and debugging environment everywhere and at all times, improves programmers' work flexibility and efficiency, eliminates dependence on fixed equipment, and allows multiple programmers to collaboratively edit and debug the same control program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118749100A_ABST
    Figure CN118749100A_ABST
Patent Text Reader

Abstract

And a better program making and debugging environment is provided. According to one embodiment, an information processing system includes at least one server device and a plurality of client devices, and creates and debugs a control program executed in a control device. The server device operates in a cloud environment via a network from the plurality of client devices, a virtual machine is configured in the cloud environment, the control device is virtually configured as a virtual control device in the virtual machine, the control program is compiled, and the control program is executed in the virtual control device. The client device transmits, to the server device, a request to compile the control program in the virtual machine, and transmits, to the server device, a request to execute the content of the control program in the virtual control device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to an information processing system. Background Art

[0002] The plant control device is controlled by a control program written by a programmer using a graphic language such as LD (Ladder Diagram), FBD (Function Block Diagram), SFC (Sequential Function Chart) and a text language such as IL (Instruction List), ST (Structured Text) specified in the international standard IEC61131-3. The programmer uses the above language to create a program for automatically operating the plant in a control program creation device and provides it to the plant operator. The programmer performs debugging through unit testing, combination testing, etc., and further, debugs the control program when adjusting the plant on site.

[0003] When debugging, the programmer replaces the control program unit in the online state, or forcibly changes the value of the contact or variable to confirm the operation of the control program. For programmers, an environment is required in which the program can be created, debugged and used anywhere, at any time, by anyone, without time or location restrictions.

[0004] However, in the creation and debugging of the above-mentioned programs, a fixed debugging environment of a PC, a real machine of a control machine, or a simulator or emulator is required for the verification of the control program. Since the control device and system development environment are fixed, even when a simulator is used, the work is actually limited by time and location.

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: Japanese Patent Application Publication No. 2018-063594 Summary of the invention

[0008] Problems to be solved by the invention

[0009] An implementation provides a better program creation and debugging environment.

[0010] Means for solving problems

[0011] According to one embodiment, an information processing system includes at least one server device and a plurality of client devices, and creates and debugs a control program executed in a control device. The server device operates in a cloud environment from the plurality of client devices via a network, and in the cloud environment, a virtual machine is configured, and in the virtual machine, the control device is virtually configured as a virtual control device, and the control program is compiled, and the control program is executed in the virtual control device. The client device sends a request to compile the control program in the virtual machine to the server device, and sends a request to execute the content of the control program in the virtual control device to the server device. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is a diagram showing an example of the configuration of an information processing system according to one embodiment.

[0013] Figure 2 This is a diagram showing an example of the configuration of a client device and a control device according to one embodiment.

[0014] Figure 3 This is a diagram showing an example of the configuration of an information processing system according to one embodiment.

[0015] Figure 4 This is a diagram showing an example of a control program for graphic drawing according to one embodiment.

[0016] Figure 5 This is a diagram schematically showing an example of an information processing system according to an embodiment.

[0017] Figure 6 This is a flowchart showing an example of processing of the information processing system according to one embodiment.

[0018] Figure 7 This is a diagram schematically showing an example of an information processing system according to an embodiment.

[0019] Figure 8 This is a flowchart showing an example of processing of the information processing system according to one embodiment.

[0020] Fig. 9 This is a diagram schematically showing an example of an information processing system according to an embodiment.

[0021] Fig.10 This is a diagram showing an example of the configuration of a control system according to an embodiment. DETAILED DESCRIPTION

[0022] Hereinafter, embodiments will be described with reference to the drawings.

[0023] Figure 11 is a diagram schematically showing an example of an information processing system according to an embodiment. The information processing system 1 includes a client device 10, a control device 20, a server device 30, and a network 40. In addition, the control device 20 is not essential to the information processing system 1, and the system may be configured to include at least the client device 10 and the server device 30 connected via the network 40.

[0024] The client device 10 is a device that creates a control program and transmits the compiled control program to the control device 20. The client device 10 includes an interface that allows a user to input and output data.

[0025] The control device 20 is a device for controlling the plant. The control device 20 uses the compiled control program received from the client device 10 to control the plant.

[0026] exist Figure 1 In the embodiment, one client device 10 and one control device 20 are shown, but this is only shown as a non-limiting example. It is also possible to configure such that one or more client devices 10 and one or more control devices 20 are provided for at least one server device 30.

[0027] In the present disclosure, the server device 30 constructs a virtual machine environment on the cloud, and the virtual machine environment can be accessed from the client device 10. The server device 30 executes creation and debugging of a control program in the virtual machine environment in response to a request from the client device 10.

[0028] Figure 2 1 is a block diagram schematically showing a non-limiting example of the client device 10 and the control device 20. In addition, in this figure, although one client device 10 and one control device 20 are shown, this is not limited to this, and one or more client devices 10 may be connected to one or more control devices 20.

[0029] The client device 10 includes, for example, a control program management unit 110 and a database unit 120. In addition, the client device 10 is connected to an input device 130 and an output device 140 via an input / output interface, or includes the input device 130 and the output device 140.

[0030] The control program management unit 110 manages the editing (including new creation) of the control program by the programmer. The control program management unit 110 includes an editing unit 112 , a compiling unit 114 , and an object generating unit 116 .

[0031] When the user edits the program via the input device 130, the editing unit 112 performs processing to reflect the edit in the client device 10. The editing unit 112 provides a GUI (Graphical User Interface) for the programmer to edit the program in a graphical manner, and receives the editing request from the programmer. When the programmer edits the program using the GUI, the editing unit 112 can also reflect the edited program and display it on the GUI.

[0032] The editing unit 112 may also register a backup of the program in the database at any timing requested by the program or at any time interval such as a predetermined time interval. That is, the client device 10 may also automatically or manually back up the source file being edited. In the case of automatic backup and manual backup, they may be registered in the database as different files.

[0033] The compiling unit 114 checks the syntax of the source file. The object generating unit 116 converts the source file of the control program into an object file. In addition, these processes may be combined, for example, the compiling unit 114 checks the syntax of the program and then generates an object file as a binary file.

[0034] The database unit 120 registers source files 122 and object files 124. These files may be registered in correspondence with each other. More specifically, the database unit 120 registers the source files 122 of the control program edited and created by the editing unit 112, and the object files 124 of the control program created by the compiling unit 114 and the object creating unit 116.

[0035] The input device 130 is a device that receives input from the user in the client device 10. The input device 130 is, for example, a mouse, a keyboard, a trackball, a touch panel, etc., but is not limited to these, and any device can be used as long as it appropriately receives input from the user.

[0036] The output device 140 is a device in the client device 10 that outputs information to the user. The output device 140 is, for example, a display device such as a display, a printing device such as a printer, but is not limited to these, as long as it can output information to the user appropriately. The client device 10 outputs various information to the user via the output device 140.

[0037] In this configuration, the client device 10 converts the edited program into an object file in the form of an executable file, and downloads the object file to the control device 20 via the network 40 , thereby enabling the control device 20 to control the plant.

[0038] The control device 20 includes an object storage 210 and a processing unit 220. As described above, the control device 20 downloads an object file from the client device 10 and controls the plant by executing the downloaded file.

[0039] The object memory 210 is a memory for storing information related to objects of the control program. The object memory 210 includes a data memory 212 and a code memory 214 .

[0040] The data memory 212 is an area for expanding the object file downloaded from the client device 10. By referring to the object file expanded in the data memory 212, the control device 20 controls the plant.

[0041] The code memory 214 downloads and stores source codes corresponding to the program developed in the data memory 212. The code memory 214 is not an essential component of the control device 20 but is an optional component.

[0042] The processing unit 220 writes and reads information stored in the object memory 210 and controls the plant. The processing unit 220 includes a loader 222 , an execution unit 224 , and a process input / output unit 226 .

[0043] The loader 222 places the object program of the control program transmitted via the network in the data memory 212 and the code memory 214 .

[0044] The execution unit 224 executes an appropriately configured object program to control the plant based on the control program.

[0045] The process input / output unit 226 notifies the control program of the process signal from the plant. The process input / output unit 226 notifies the execution unit 224 of the information received from the plant, so that the execution unit 224 can perform appropriate control according to the status of the plant.

[0046] In such a configuration of the client device 10 and the control device 20, the user can control the plant through the client device 10. The client device 10 and the control device 20 only need to be connected via the network 40. For example, the control device 20 may be arranged in a factory where the plant is arranged, and the client device 10 may be provided in a location different from the factory.

[0047] A control program for controlling a plant may be prepared and edited by multiple programmers. Therefore, the client device 10 may be not one but multiple. Similarly, the control device 20 that can be controlled from the client device 10 may be multiple.

[0048] In this way, when a plurality of users control the same program, debugging is usually performed in the client device 10 operated by each programmer. In the control program of the plant control, it is preferable to configure so that each programmer can edit the control program in the client device 10 connected remotely.

[0049] In this disclosure, based on Figure 1 The information processing system 1 shown is implemented so that editing and debugging can be performed from a plurality of client devices 10 .

[0050] (First embodiment)

[0051] In one embodiment, the server device 30 can perform a portion of the functions of the client device 10 described above.

[0052] Figure 3 is Figure 1 The figure shows the information processing system 1 of one embodiment in more detail. As described above, the client device 10 and the control device 20 are connected to the server device 30 via the network 40. In this embodiment, it is not essential that the client device 10 and the server device 30 are connected to the control device 20 via the network 40.

[0053] The server device 30 builds a virtual machine 300 on the cloud that is at least connectable from the client device 10. As shown by the dotted line, the virtual machine 300 builds a part or all of the functions of the control program management unit 110 and database unit 120 of the client device 10, the object storage 210 and the processing unit 220 of the control device 20.

[0054] Figure 4 1 is a diagram showing an example of a graphical display of a control program edited by a user via the editing unit 112. The editing unit 112 has a configuration in which the user can create an LD language specified in IEC61131-3 using a graphical language. Specifically, the editing unit 112 may also Figure 4 The image shown is displayed on a display device serving as the output device 140 .

[0055] The programmer adds, deletes, and moves component images corresponding to the programming language by observing the display device and operating the input device 130 to record the control program. For example, C1 to C7 correspond to instruction words written in the graphic language. The editing unit 112 creates and edits the control program according to the request from the user. In this way, the user edits the control program through the editing unit 112.

[0056] In this embodiment, the editing of the control program is executed on the virtual machine 300 .

[0057] Figure 5Schematically showing the information processing system 1 of the present embodiment. The server device 30 constructs a virtual machine 300 on the cloud. In the virtual machine 300, the control program management unit 110 (including GUI) and the database unit 120 of the client device 10 are virtually constructed.

[0058] The client device 10 accesses the virtual machine 300 constructed on the cloud via the network 40. The access method may also be via Figure 3 The server access unit 150 of the embodiment of the present invention is executed. As described above, as an example, the server access unit 150 can also use the remote desktop function to connect. As another example, the server access unit 150 can also access the virtual machine 300 via an application such as a browser.

[0059] The user edits the control program described in a graphical format output from the control program management unit 110 built on the virtual machine 300 via the client device 10. The virtual control program management unit 110 registers the edited control program in the virtual database unit 120.

[0060] The virtual machine 300 may also control only one user to edit the control program. As a further example of limitation, the virtual machine 300 may limit the number of users who can simultaneously edit to one by limiting the number of users who can access the control program management unit 110 on the virtual machine 300 to one.

[0061] The server device 30 may start a predetermined OS (Operating System), such as Linux (registered trademark) or Windows (registered trademark), as the virtual machine 300 .

[0062] When another user accesses the virtual control program management unit 110 and the database unit 120 while a certain user is accessing the virtual control program management unit 110 and the database unit 120 , the virtual machine 300 may cut off access to the virtual control program management unit 110 and the database unit 120 , or may allow only reading.

[0063] Furthermore, the server device 30 may restrict access to the virtual machine 300 so that only users permitted by an access restriction method such as an ID and a password can access it.

[0064] Figure 6 This is a flowchart showing an overview of the processing of the information processing system 1 according to one embodiment.

[0065] First, the server device 30 constructs a virtual machine 300 (Ss100) as a virtual environment. Figure 5 As shown, in the virtual environment, for example, a control program management unit 110 and a database unit 120 may be formed. An editing interface for editing the control program is also formed at this stage.

[0066] In addition, the construction of the virtual environment may be executed in response to a request from the client device 10. That is, a method may be adopted in which a request for the construction of the virtual environment is received from the client device 10 before the processing of Ss100.

[0067] In this state, the client device 10 accesses the virtual environment via the server access unit 150 based on a request from the user ( Sc100 ).

[0068] The server device 30 may also limit the users so that when the user accessing is a permitted user, the user's access is allowed, and other users are not allowed to access (Ss100). As described above, it may also be a state where only one user can edit and read. This access control may also be performed by a general method.

[0069] The server device 30 transmits an appropriate portion of the constructed virtual environment, for example, an editing interface related to the editing unit 112 of the control program management unit 110 to the client device 10 ( Ss120 ).

[0070] The client device 10 uses the received editing interface to accept editing of the control program from the user ( Sc110 ).

[0071] The client device 10 transmits the edited program to the server device 30 at any timing (Sc120). The transmitted control program information may be backed up to a storage unit provided in the cloud via the server device 30 at any timing.

[0072] The server device 30 reflects the edit received from the client device 10 at least in the edit interface (Ss130). At this timing, the server device 30 may back up the edited source code. In addition, the backup may also be reflected in the client device 10 at any timing.

[0073] When the editing is not completed (Ss140: No), the server device 30 may transmit an interface reflecting the editing to the client device 10, and the information processing system 1 may repeat the processes from Ss120 to Ss130 and from Sc110 to Ss120.

[0074] When it is determined that the editing is completed (Ss140: Yes), the server device 30 removes the user's restriction (Ss150) and ends the process. The completion of the editing can be determined based on any conditions such as receiving a notification of the completion of the editing from the client device 10 or receiving no response from the client device 10 within a specified time.

[0075] As described above, the information processing system 1 according to the present embodiment can edit the source code in the server device 30 in response to the editing request from the client device 10. This editing can be shared by multiple users, so multiple programmers can arbitrarily edit the source file of the same control program from different terminals at different timings. It is also possible to lock so that only one user can edit at the same time. In this case, the editing results of each programmer can be reflected in the server device 30 without conflict.

[0076] (Second embodiment)

[0077] In the first embodiment, the source code can be edited from any terminal at any timing, but the information processing system 1 may have a debugging function instead of an editing function. Of course, the editing function of the first embodiment may be provided, but the following description will focus on the debugging function.

[0078] Figure 7 1 is a diagram schematically showing an example of the information processing system 1 according to one embodiment. The server device 30 may construct the object storage 210 and the processing unit 220 of the control device 20 on the virtual machine 300 as a virtual environment.

[0079] When the server device 30 constructs the processing unit 220 of the control device 20 in the virtual environment, it may also use a simulator or emulator of the processing unit 220. By using a simulator, etc., the server device 30 can execute an object file generated according to the edited control program in the virtual environment. The server device 30 may also construct a stub corresponding to the plant as needed.

[0080] Figure 8 1 is a flowchart showing an example of processing of the information processing system 1 according to one embodiment. Figure 6 Processes with the same reference numerals perform substantially the same processing, and thus detailed descriptions thereof are omitted.

[0081] After defining the users who are allowed to debug (Ss110), the server device 30 sends the execution interface related to the execution to the client device 10 (Ss200). The execution interface can also be integrated with the above-mentioned editing interface. In this case, it can be used with Figure 6 The processing is the same as that of Ss120.

[0082] The client device 10 outputs the execution interface from the output device 140, and selects a file to be debugged (virtually executed) based on a request from the user (Sc200). The client device 10 sends information about the selected file to the server device 30 (Sc210). Through this process, the programmer can file and request the execution of the control program in the virtual environment.

[0083] The server device 30 that receives the information of the selected file compiles the execution file and generates the object file in the control program management unit 110 of the virtual environment, and virtually downloads and executes it in the control device 20 of the virtual environment (Ss210). The server device 30 may also appropriately send the execution process or execution result to the client device 10, and the client device 10 outputs the received execution process and execution result via the output device 140.

[0084] When the debugging is not completed (Ss220: No), the server device 30 continues the debugging process. When the debugging is completed (Ss220: Yes), the server device 30 removes the user restriction (Ss150) and ends the process.

[0085] Thus, according to the information processing system 1, a file selected by a programmer can be executed in a virtual environment, and the execution process and results in the simulator can be obtained. As a result, the user can virtually execute any file and confirm its operation.

[0086] In addition, as described above, it is also possible to adopt a method that can not only debug (execute the program) but also edit in parallel. Figure 8 The processing of the client device 10 can be performed at any timing after receiving the timing of the editing interface from the server device 30 Figure 6 It can be achieved by processing Sc110 and Sc120.

[0087] In addition, although the example of constructing a simulator etc. on the same virtual machine has been described, the construction of the simulator etc. is not limited to this. For example, the simulator etc. of the control device 20 may be constructed on a virtual machine different from the virtual machine 300 that constructs the virtual client device 10. In this case, there may be a plurality of server devices 30 themselves, and a virtual machine that virtually constructs the client device 10 and the simulator etc. is formed in each server device 30.

[0088] According to the above two embodiments, it is possible to realize editing and debugging of a control program by a plurality of programmers at any timing from any terminal.

[0089] (Third embodiment)

[0090] Fig. 91 is a diagram schematically showing an example of an information processing system 1 according to an embodiment. The information processing system 1 may be a system capable of transmitting and receiving data between the server device 30 and the control device 20 via the network 40 .

[0091] exist Fig. 9 In the illustrated embodiment, as described above, the object file currently downloaded to the control device 20 is debugged, but the configuration is not limited to this.

[0092] As another example, the control program transmitted from the client device 10 or the control program stored in the server device 30 may be edited and debugged in the virtual environment, and the debugged object file may be downloaded to the control device 20 via the network 40 .

[0093] By performing this processing, the target file to be debugged using a simulator or the like in the virtual environment can be appropriately downloaded to the control device 20, thereby improving the control accuracy of the plant.

[0094] (Fourth embodiment)

[0095] Fig.10 1 is a diagram showing an example of a system configuration according to an embodiment. For example, system A includes control devices A and B as two control devices 20. Control device A includes controller A and controller B, and control programs in the respective controllers are arranged as shown in the diagram.

[0096] In the information processing system 1 of the present disclosure, such a system configuration can be constructed in a virtual environment. For example, the server device 30 constructs virtual control devices 20 corresponding to the control devices A and B in the virtual environment, and constructs an appropriate virtual network environment connecting these control devices.

[0097] In this way, after a plurality of control devices 20 are constructed, it is possible to simulate whether these control devices 20 cooperate and operate appropriately.

[0098] This configuration is basically the same as the above-described embodiments, and can be realized by compiling a control program, creating an object file, and downloading and executing the control program to a virtual control device 20 in a virtual environment.

[0099] As described above, according to the present embodiment, it is also possible to simulate the operation of a virtually constructed control system in a virtual space, and further implement editing and debugging of a control program based on the simulation result.

[0100] In addition, in the virtual structure of the control system, the items required for complete equipment control such as the library, network, protocol, unit, module, I / O node, memory configuration, task management, etc. can be installed separately, and debugging operations can be performed on these at the same time.

[0101] Each information processing device (client device 10, control device 20, and server device 30) of each of the above-mentioned embodiments can be implemented using a processing circuit (processor, etc.) and a storage circuit (memory, memory, etc.). The processing circuit can use a general-purpose processor, or at least a part of it can use a dedicated processor such as ASIC (Application Specified Integrated Circuitry). These structures can be installed as a general IC (Integrated Circuitry) or the like, or can be installed through a rewritable circuit such as FPGA (Field Programable Gate Array).

[0102] Part or all of the information processing of the information processing device of each of the above-mentioned embodiments can also be specifically implemented by using hardware devices to implement software-based information processing. In this case, the program required for software-based information processing can also be stored in the storage area (non-transitory computer-readable medium) of the client device 10 and the server device 30 not shown, or stored in the object memory 210 of the control device 20. The processing circuit of the processor, etc., appropriately configures the program stored in the storage area in each information processing device, and can specifically implement software-based information processing. In addition, the program can be distributed, sold, or transferred, etc. through a non-transitory computer-readable medium.

[0103] Several embodiments of the present invention have been described, but these embodiments are presented as examples and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the scope of the invention. These embodiments and their variations are included in the scope and purpose of the invention, and are included in the invention described in the scope of the patent claim and the scope equivalent thereto.

[0104] Explanation of symbols:

[0105] 1: information processing system; 10: client device; 110: control program management unit; 112: editing unit; 114: compilation unit; 116: object generation unit; 120: database unit; 122: source file; 124: object file; 130: input device; 140: output device; 150: server access unit; 20: control device; 210: object memory; 212: data memory; 214: code memory; 220: processing unit; 222: loading unit; 224: execution unit; 226: process input and output unit; 30: server device; 40: network.

Claims

1. An information processing system comprising at least one server device and a plurality of client devices, for producing and debugging a control program executed in a control device, wherein: The server device operates in a cloud environment via a network from the plurality of client devices. In the above cloud environment, virtual machines are formed. In the virtual machine, the control device is virtually configured as a virtual control device. Compile the above control program, executing the control program in the virtual control device, The client device is: sending a request for compiling the control program in the virtual machine to the server device, A request for executing the content of the control program in the virtual control device is sent to the server device.

2. The information processing system according to claim 1, wherein: The server device is: In the above virtual machine, the editing interface of the above control program is constituted, sending the editing interface to the client device, editing the control program based on a request received from the client device, Compile the above control program, The client device is: A request for editing the control program is made to the server device via the editing interface of the virtual machine.

3. The information processing system according to claim 1 or 2, wherein: The server device is: In the virtual machine, an environment is constructed in which the hardware structure, network structure and at least one of the structures of the other control devices are constructed, and the compiled control program is executed. In the above-described constructed configuration, the above-described control program is executed.

4. The information processing system according to claim 1 or 2, wherein: The server device sends the compiled control program to the control device. The client device backs up the content edited in the virtual machine.

5. The information processing system according to claim 1 or 2, wherein: The client device constructs a remote desktop to access the virtual machine.

6. An information processing system comprising at least one server device and a plurality of client devices, for producing and debugging a control program executed in a control device, wherein: The server device operates in a cloud environment via a network from the plurality of client devices. In the above cloud environment, virtual machines are formed. In the above virtual machine, the editing interface of the above control program is constituted, sending the editing interface to the client device, editing the control program based on a request received from the client device, The client device makes an editing request for the control program to the server device via the editing interface of the virtual machine.