Information processing device, information processing method, and computer-readable recording medium
By designing the difference extraction, storage and response part in the information processing device, rapid difference display between FA device action setting data is realized, which solves the problem of time-consuming comparison process in the existing technology and improves the response efficiency of user requests.
Patent Information
- Application Number
- CN201980092212.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-02-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2039-02-21
AI Technical Summary
The existing FA device action setting data comparison process requires a lot of time, and it is difficult to quickly display the differences between action setting data, which affects the response efficiency when user requests are made.
An information processing device is designed, which includes a difference extraction part, a difference information storage part and a request response part. The difference between the action setting data is compared and stored in advance, and the difference information can be quickly output when the user requests it.
It realizes the real-time display of the difference between action setting data when the user requests it, reduces the time overhead of the comparison process, and improves the user experience and work efficiency.
Smart Images

Figure CN113490912B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a technique for extracting the differences between two programs. Background Art
[0002] Next, we will explain project management of FA (Factory Automation) engineering software.
[0003] Generally, FA equipment manufacturers use FA engineering software to create projects. Furthermore, FA equipment manufacturers write the programs and setting data managed in the projects into FA equipment to set the actions of FA equipment. Thus, in FA engineering software, programs executed by the CPU (Central Processing Unit) mounted on FA equipment and setting data such as parameters used by the CPU are managed in units such as projects. That is, a project is a management unit for programs and setting data. In addition, FA equipment is, for example, a programmable controller or a display.
[0004] In the following description, "program" and "setting data" are referred to as "action setting data" for setting the action of FA equipment. Hereinafter, "action setting data" refers to a single "program", a single "setting data", or any one of the two "program" and "setting data".
[0005] In addition, the details of setting data will be described later.
[0006] In order to efficiently improve the operation of FA equipment or correct a fault, there is a technology for comparing programs before and after editing or programs with different installation targets.
[0007] For example, Patent Document 1 discloses that in order to efficiently generate multiple programs from a common source file, components extracted from the common source file according to the target are compared with each other. Furthermore, Patent Document 1 discloses that as a result of the comparison, programs are grouped according to the target for each common part, and the range to be debugged is clarified. Through such a process, according to the technology of Patent Document 1, the burden of debugging work can be reduced.
[0008] Patent Document 1: Japanese Patent Application Publication No. 2002-108652 Summary of the invention
[0009] Equipment manufacturers including FA equipment manufacturers generate action setting data according to various loading targets. In addition, equipment manufacturers accumulate action setting data generated in the past. However, the description content of these action setting data varies depending on the action conditions of the equipment used as the loading target. In addition, there are a large number of similar action setting data. Therefore, it is difficult to grasp the differences between existing action setting data and the common parts between existing action setting data, and it is impossible to organize the action setting data well. The technology of Patent Document 1 can efficiently generate new programs, but it is impossible to compare existing action setting data and efficiently organize the existing action setting data.
[0010] When comparing the operation setting data, the engineering software (for example, FA engineering software) used for generating the project is started, and the comparison function of the engineering software is executed to compare the operation setting data.
[0011] However, it takes a lot of time to start the engineering software. After the engineering software is started, the action setting data is compared. As mentioned above, in the current state, it takes a lot of time to display the difference between the action setting data to the user.
[0012] The main object of the present invention is to solve such a problem. More specifically, the main object of the present invention is to enable the difference between the operation setting data to be displayed immediately when there is a request from the user.
[0013] The information processing device according to the present invention comprises:
[0014] a difference extracting unit that extracts a difference between two pieces of action setting data, which are data for setting an action for the device, before a request from the user is made, and generates difference information indicating the extracted difference;
[0015] a difference information storage unit that stores the difference information generated by the difference extraction unit in an arbitrary storage device; and
[0016] A request response unit is configured to acquire the difference information from the storage device when there is a request from the user, and output the acquired difference information to an arbitrary display device.
[0017] Effects of the Invention
[0018] According to the present invention, when there is a request from the user, the difference between the operation setting data can be immediately displayed. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a diagram showing an example of a system configuration according to the first embodiment.
[0020] Figure 2 This is a diagram showing a functional configuration example of a personal computer according to the first embodiment.
[0021] Figure 3 This is a flowchart showing an example of the operation of the personal computer according to the first embodiment.
[0022] Figure 4 This is a diagram showing an example of selection of a program according to the first embodiment.
[0023] Figure 5 This is a flowchart showing an example of the operation of the personal computer according to the first embodiment.
[0024] Figure 6 This is a diagram showing an example of a program selection screen according to the first embodiment.
[0025] Figure 7 This is a diagram showing an example of a revision selection screen according to the first embodiment.
[0026] Figure 8 This is a diagram showing an example of a comparison result screen according to the first embodiment.
[0027] Fig. 9 This is a diagram showing an example of software for each installation target involved in Implementation Example 2.
[0028] Fig.10 This is a diagram showing an example of the consistency rate involved in Implementation Example 2.
[0029] Fig.11 This is a diagram showing an example of the comparison sequence involved in Implementation Example 2.
[0030] Fig.12 This is a diagram showing an example of screen design using the display engineering software involved in the first embodiment.
[0031] Fig.13 This is a diagram showing an example of screen design data according to the first embodiment.
[0032] Fig.14 This is a diagram showing an example of a comparison result screen according to the first embodiment. DETAILED DESCRIPTION
[0033] Hereinafter, embodiments of the present invention will be described using the drawings. In the following description of the embodiments and the drawings, the same reference numerals are used to represent the same or corresponding parts.
[0034] Implementation method 1.
[0035] In this embodiment, a structure is described in which the difference between the action setting data can be immediately displayed when there is a request from the user. More specifically, in this embodiment, before there is a request from the user, the difference between the action setting data is compared in advance, and the comparison result information indicating the difference between the action setting data is stored in an arbitrary storage device. Then, when there is a request from the user, the comparison result information is obtained from the storage device, and the obtained comparison result information is output to an arbitrary display device.
[0036] In the following description, "control" and "comparison" have the same meaning.
[0037] In addition, the following describes a configuration in which the differences between the "programs" in the "operation setting data" are compared in advance, and the comparison result information indicating the differences between the "programs" is stored in an arbitrary storage device.
[0038] ***Structure description***
[0039] Figure 1 A system configuration example according to the present embodiment is shown.
[0040] In this embodiment, if Figure 1 As shown, a system is assumed in which a plurality of personal computers 100 are connected to a repository server 200 via a network 301. The network 301 is, for example, Ethernet (registered trademark).
[0041] When it is necessary to distinguish the individual personal computers 100, a suffix is added like the personal computer 100-1 to distinguish the individual personal computers 100. When it is not necessary to distinguish the individual personal computers 100, they are simply described as personal computers 100.
[0042] Figure 1 The hardware configuration example of the repository server 200 and the hardware configuration example of the personal computer 100-1 are shown. The hardware configuration example of the personal computer 100 other than the personal computer 100-1 is also shown. Figure 1 In addition, the following description about the personal computer 100-1 is also applicable to other personal computers 100.
[0043] The repository server 200 is composed of a processor 210 , a memory 220 , and a storage device 250 .
[0044] The processor 210 executes an OS (Operating System) 230 and version management software 240 stored in the memory 220 . The version management software 240 generates a repository 260 in the storage device 250 .
[0045] The repository 260 includes a project database 261 and a change history information database 262 .
[0046] Project information and programs used in a project are stored in the project database 261. Details of the project are described in the project information.
[0047] The change history information of the program used in the project is stored in the change history information database 262. The change history information shows the history of changes of the program used in the project.
[0048] Registration in the project database 261 and the change history information database 262 is performed by each personal computer 100 .
[0049] The memory 220 stores the OS 230 and the version management software 240 loaded from the storage device 250 .
[0050] The processor 210 is, for example, a CPU. The memory 220 is, for example, a RAM (Random Access Memory). The storage device 250 is, for example, a HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like.
[0051] In addition, a comparison result information database may exist in the repository server 200. The comparison result information database stores the comparison result information. The comparison result information shows the comparison result between the operation setting data.
[0052] The existence of the matching result information database enables the personal computer 100-1 to access the repository server 200 and retrieve desired matching result information at an arbitrary timing. It is assumed that the matching result information is registered in the matching result information database at a fixed period.
[0053] The personal computer 100 - 1 is an example of an information processing device. In addition, the operation performed by the personal computer 100 - 1 is an example of an information processing method.
[0054] The personal computer 100 - 1 includes a processor 110 , a memory 120 , a storage device 150 , an input device 160 , and a display device 170 .
[0055] The processor 110 executes the OS 130 and the application 140 stored in the memory 120. When the processor 110 executes the OS 130, task management, memory management, file management, communication control, and the like are performed.
[0056] The application 140 includes version management software 141 and FA engineering software 142. The version management software 141 and FA engineering software 142 are examples of information processing programs.
[0057] The memory 120 stores the OS 130 , the version management software 141 , and the FA engineering software 142 loaded from the storage device 150 .
[0058] The storage device 150 includes a project database 151 , a change history information database 152 , and a comparison result information database 153 .
[0059] The comparison result information is stored in the comparison result information database 153. The comparison result information shows the comparison result between the operation setting data.
[0060] The input device 160 obtains a request or instruction from a user of the personal computer 100 - 1 .
[0061] The display device 170 displays the execution results of the processor 110 and the like.
[0062] The processor 110 is, for example, a CPU. The memory 120 is, for example, a RAM. The storage device 150 is, for example, an HDD, an SSD, etc. The input device 160 is, for example, a mouse, a keyboard, etc. The display device 170 is, for example, a display, etc.
[0063] The FA engineering software 142 creates and changes a project. More specifically, the FA engineering software 142 creates and changes a program used in a project. In addition, the FA engineering software 142 compares programs.
[0064] The version management software 141 generates change history information in conjunction with the creation and modification of a project. In addition, the version management software 141 stores the generated change history information in the change history information database 152. The change history information shows the change history of the program used in the project.
[0065] Furthermore, the version management software 141 uses the comparison result information to display the comparison result on the display device 170. The comparison result between programs is shown in the comparison result information.
[0066] The version management software 141 registers the program, project information, change history information, and comparison result information in the repository 260. The version management software 141 also obtains the program, project information, change history information, and comparison result information from the repository 260.
[0067] Figure 2 A functional configuration example of the personal computer 100 is shown.
[0068] Right now, Figure 2Show Figure 1 Details of the version management software 141 and the FA engineering software 142 are shown.
[0069] The version management software 141 includes a project management unit 11 , an operation unit 12 , a comparison request unit 13 , a comparison result management unit 15 , and a display unit 16 .
[0070] The FA engineering software 142 includes a comparison unit 14 .
[0071] The comparison unit 14 is an example of a difference extraction unit. The processing performed by the comparison unit 14 is an example of a difference extraction processing. The comparison result management unit 15 is an example of a difference information storage unit. The processing performed by the comparison result management unit 15 is an example of a difference information storage processing. The display unit 16 is an example of a request response unit. The processing performed by the display unit 16 is an example of a request response processing.
[0072] When a new project is registered, the project management department 11 registers the program and project information in the project database 151. In addition, when a new project is registered, the project management department 11 registers the change history information in the change history information database 152. In addition, when a change occurs in a project, that is, when a change occurs in a program, the project management department 11 updates the change history information to reflect the change, and registers the updated change history information in the change history information database 152. In addition, the project management department 11 obtains the program and the change history information from the storage device 150.
[0073] The operation unit 12 acquires two programs of two projects to be compared from the project database 151 via the project management unit 11. That is, the operation unit 12 acquires two programs from the project database 151. Then, the operation unit 12 outputs the acquired two programs to the comparison request unit 13.
[0074] For example, the operation unit 12 acquires a program as a derived source and a program as a derived target. In addition, the operation unit 12 acquires two programs that use a common code module, for example. Furthermore, the operation unit 12 acquires two programs that are common to the target, for example. For example, the user of the personal computer 100 can arbitrarily determine what kind of program the operation unit 12 acquires.
[0075] When comparing a program with a revision described later, the operation unit 12 obtains the program to be compared from the project database 151 and obtains the change history information from the change history information database 152 via the project management unit 11. The operation unit 12 then outputs the program to be compared and the change history information to the comparison request unit 13.
[0076] The comparison requesting unit 13 outputs the acquired two programs or the acquired program and the change history information to the comparison unit 14 , and requests the comparison unit 14 to perform an inquiry between items, that is, an inquiry between programs.
[0077] The comparison unit 14 compares the items. That is, when the comparison unit 14 obtains two programs from the comparison request unit 13, the comparison unit 14 compares the two programs obtained and extracts the difference between the two programs.
[0078] Furthermore, when obtaining the program and change history information from the comparison requesting unit 13, that is, when comparing the program and the revision, the comparison unit 14 compares the program and the change history information and extracts the difference between the program obtained from the change history information and the obtained program.
[0079] Revision is a change event for a program. The change history information shows the changes made in the program. Assume that program y is obtained by making changes s, t, and u to program x. In this case, changes s, t, and u are shown in the change history information. The comparison unit 14 compares program x with changes s, t, and u shown in the change history information, and extracts the difference between program x and program y obtained by making changes s, t, and u to program x.
[0080] Then, the comparison unit 14 generates comparison result information indicating the extracted differences. The comparison unit 14 includes the name of the program to be compared in the comparison result information. In addition, when the comparison unit 14 compares the program with the revision, the comparison result information also includes the revision number.
[0081] The matching unit 14 outputs the generated matching result information to the matching result management unit 15 .
[0082] The matching result management unit 15 stores the matching result information acquired from the matching unit 14 in the matching result information database 153 .
[0083] Furthermore, the matching result management unit 15 acquires matching result information from the matching result information database 153 .
[0084] The display unit 16 acquires the matching result information from the storage device 150 via the matching result management unit 15 when there is a request from the user of the personal computer 100. Then, the display unit 16 outputs the acquired matching result information to the display device 170.
[0085] ***Action description***
[0086] Next, an operation example of the personal computer 100 according to the present embodiment will be described.
[0087] First, refer to Figure 3 The flowchart of FIG. 1 will explain an example of the operation of the personal computer 100 when storing the comparison result information.
[0088] The project management department 11 registers the project's change history information in the change history information database 152 (step S101) at any time when a new project is registered in the project database 151 (when a new program and program information are registered in the project database 151) or when a registered project is changed (when a registered program is changed).
[0089] Furthermore, when registering a new project, the project management unit 11 also registers the program and project information in the project database 151 .
[0090] Next, the project management unit 11 registers the change history information registered in step S101 in the library server 200 (step S102 ).
[0091] Furthermore, when a new project is registered in step S101 , the project management unit 11 also registers the project information and the program in the library server 200 .
[0092] Next, the project management unit 11 obtains the project information and change history information of other personal computers 100 from the library server 200, and updates the project database 151 and the change history information database 152 (step S103).
[0093] More specifically, the project management unit 11 registers the project information of the other personal computers 100 obtained from the repository server 200 in the project database 151, and updates the project database 151. In addition, the project management unit 11 registers the change history information of the other personal computers 100 obtained from the repository server 200 in the change history information database 152, and updates the change history information database 152. In addition, if there is a newly registered program of the other personal computer 100 in the repository server 200, the project management unit 11 obtains the program from the repository server 200, and registers the obtained program in the project database 151. By performing step S103, the project management unit 11 can reflect the generation of the program in the other personal computer 100 and the change to the program in the project database 151 and the change history information database 152.
[0094] The item management unit 11 performs step S103 at a fixed period such as every minute, every hour, or every day. Alternatively, the item management unit 11 may perform step S103 when a user makes a request at an arbitrary timing.
[0095] When there is a data update and the version management software 141 is able to generate a branch based on the revision, when a change occurs in the program as a derived source managed in the branch, the program as the derived source and the program as the derived target can also be set as comparison objects. By expanding the same change level as the program as the derived source to the program as the derived target, a new revision can be generated.
[0096] Next, the operation unit 12 selects a program to be compared (step S104).
[0097] The operation unit 12 selects two programs to be compared. The operation unit 12 may select two programs of two items or may select a program before revision and a program after revision of one item. The operation unit 12 can select programs to be compared in any way.
[0098] Figure 4 An example of selecting a program by the operation unit 12 in step S104 is shown.
[0099] exist Figure 4 There are two projects, a project for target A and a project for target B. In the project for target A, a new program is generated at revision number 1. The program generated at revision number 1 is hereinafter referred to as the original program. Moreover, in the project for target A, changes of revision numbers 2, 3, and 4 are generated relative to the original program. In the project for target B, changes of revision numbers 2 and 3 are generated relative to the original program. Different changes are generated in revision number 2 of the project for target A and revision number 2 of the project for target B. Similarly, different changes are generated in revision number 3 of the project for target A and revision number 3 of the project for target B.
[0100] In step S104, the operation unit 12 uses the object of comparison between programs as follows: Figure 4 As shown by the dotted arrows, the changed program of the revision number 4 of the item of the loading target A and the changed program of the revision number 3 of the item of the loading target B can be selected. In addition, in step S104, the operation unit 12 can select the program before revision and the program after revision as the object of comparison between revisions. For example, the operation unit 12 Figure 4 As shown by the solid arrow of , the original program and the modified program of the revision number 2 of the target A item can be selected. The operation unit 12 selects all combinations of revisions belonging to the same item.
[0101] Furthermore, the operation unit 12 acquires the program and the change history information corresponding to the selection in step S104 from the project database 151 and the change history information database 152 via the project management unit 11 .
[0102] exist Figure 4 In the revision comparison, the operation unit 12 obtains the change history information of the original program and the installation target A project from the project database 151.
[0103] exist Figure 4 In the program comparison, since the original program is common, the operating unit 12 obtains the original program from the project database 151, and also obtains the change history information of the target A project and the change history information of the target B project from the change history information database 152.
[0104] Then, the operation unit 12 outputs the program and change history information acquired from the project management unit 11 to the matching request unit 13 .
[0105] Next, the matching requesting unit 13 requests the matching unit 14 to perform matching (step S105).
[0106] When the comparison request unit 13 obtains one program and one change history information from the operation unit 12, it requests the comparison unit 14 to Figure 4 Comparison between revisions shown.
[0107] When one program and two change history information are obtained from the operation unit 12, the comparison unit 14 is requested to Figure 4 Comparison between programs illustrated.
[0108] Next, the comparison unit 14 performs the comparison requested by the comparison request unit 13 (step S106). Then, the comparison unit 14 generates comparison result information indicating the comparison result. Since the comparison result information indicates the difference between the two programs to be compared, the comparison result information corresponds to the difference information.
[0109] The comparison unit 14 includes the name and revision number of the program in the comparison result information. The comparison unit 14 extracts the name of the program from the acquired program or the change history information, for example. Also, the comparison unit 14 extracts the revision number from the acquired change history information, for example.
[0110] The matching unit 14 outputs the generated matching result information to the matching result management unit 15 .
[0111] Furthermore, the comparison unit 14 can generate the comparison result information in any format. For example, the comparison unit 14 can generate the comparison result information as an image file. For example, if the comparison unit 14 generates the comparison result information as an image file, the display unit 16 can display the comparison result at a high speed. In addition, if the comparison unit 14 generates the comparison result information as an image file in JPEG format, the name and revision number of the program can be processed as tag information.
[0112] Next, the matching result management unit 15 acquires the matching result information from the matching unit 14 and stores the acquired matching result information in the matching result information database 153 (step S107 ).
[0113] Finally, the project management unit 11 determines whether the comparison is completed for all programs generated or updated by the personal computer 100 (step S108). If the comparison is not completed for all programs (NO in step S108), the process from step S104 to step S107 is performed again. On the other hand, if the comparison is completed for all programs (YES in step S108), the process ends.
[0114] When the comparison is completed for all programs, the display unit 16 may display a completion notification on the display device 170 to notify the user that the comparison is completed. In this way, the user can refer to the comparison result information at an early stage.
[0115] For example, program i, program j, and program k are generated by the personal computer 100. The comparison unit 14 compares program i and program j, and extracts the difference between program i and program j. In addition, the comparison unit 14 compares program i and program k, and extracts the difference between program i and program k. In addition, the comparison unit 14 compares program j and program k, and extracts the difference between program j and program k. Then, the project management unit 11 stores the comparison result information indicating the difference between program i and program j, the comparison result information indicating the difference between program i and program k, and the comparison result information indicating the difference between program j and program k in the comparison result information database 153.
[0116] As described above, in the present embodiment, by performing comparison between programs in all combinations, it is possible to obtain comparison result information for all combinations of programs before a request is made from the user.
[0117] Next, an operation example of the personal computer 100 when displaying the comparison result will be described.
[0118] The user of personal computer 100 uses input device 160 to select whether to perform the comparison between programs or the comparison between revisions.
[0119] When the user selects the former, the display unit 16 displays the program selection screen on the display device 170. On the other hand, when the user selects the latter, the display unit 16 displays the revision selection screen on the display device 170. Figure 6 An example of a program selection screen is shown. Figure 7 An example of a revision selection screen is shown.
[0120] When the program selection screen is displayed, the user specifies one of the programs to be compared in the program designation area 410 of the program selection screen. Specifically, the user can specify one of the programs to be compared by inputting the name of one of the programs to be compared at the name 412 of the program designation area 410. After inputting the name at the name 412, the user presses the execution button 430. In addition, the user can specify one of the programs to be compared in more detail by inputting the date and time at the update date and time 413. In addition, if the name of the program is input at the name 412, the icon of the program is displayed at the icon 411.
[0121] When the user presses the execute button 430, a list of names of programs corresponding to the program specified by the user is displayed in the corresponding program list 420. The user can select another program to be compared by, for example, clicking the name of any program with a mouse from the names of the programs displayed in the corresponding program list 420. The user can select the names of a plurality of programs. After selecting another program to be compared, when the user presses the execute button 430, the comparison result is displayed.
[0122] In addition, the programs displayed in the corresponding program list 420 may be limited by the range of program update date and time or the conditions inherent in the FA engineering software, so that the user can easily select another program as a comparison object. In the case where the FA engineering software is software for generating sequence programs, as a limitation implemented by the conditions inherent in the FA engineering software, it is possible to limit the items whose number of POUs (Program Organization Units) is less than or equal to a certain specified number not to be displayed in the corresponding program list 420.
[0123] On the other hand, when the revision selection screen is displayed, the user specifies one of the revisions to be compared in revision designation area 510 of the revision selection screen. Specifically, the user can specify one of the revisions to be compared by inputting the name of the program to be compared at name 512 in revision designation area 510 and inputting a revision number corresponding to revision number 513. After inputting name 512 and revision number 513, the user presses execution button 530. In addition, the user can specify one of the revisions to be compared in more detail by inputting the date and time at update date and time 514. Furthermore, if the name of the program is input at name 512, the icon of the program is displayed at icon 511.
[0124] If the user presses the execute button 530, a list of revision numbers of revisions corresponding to the revision specified by the user is displayed in the corresponding revision list 520. The user can select another revision to be compared by, for example, clicking on any revision number with a mouse from among the revision numbers displayed in the corresponding revision list 520. The user can select a plurality of revision numbers. After selecting another revision to be compared, if the user presses the execute button 530, the comparison result is displayed.
[0125] In addition to the revision number, the update date and time, comments, etc. may be displayed in the corresponding revision list 520 .
[0126] exist Figure 5 2 shows an example of the operation of the personal computer 100 after the user designates one of the programs to be compared or one of the revisions to be compared.
[0127] Next, follow Figure 5 The operation of the personal computer 100 will be described.
[0128] When the user specifies one of the programs to be compared in program designation area 410 of the program selection screen or specifies one of the revisions to be compared in revision designation area 510 of the revision selection screen, display unit 16 requests comparison result management unit 15 to obtain the corresponding program or revision (step S201).
[0129] More specifically, the display unit 16 notifies the comparison result management unit 15 of the name of the program designated in the name 412 of the program designation area 410 , and requests the matching result management unit 15 to acquire a program corresponding to the program.
[0130] Furthermore, the display unit 16 notifies the comparison result management unit 15 of the name of the program specified in the name 512 of the revision designation area 510 and the revision number specified in the revision number 513 , and requests the acquisition of the revision corresponding to the program.
[0131] Next, the comparison result management unit 15 acquires the corresponding program or revision (step S202).
[0132] Specifically, when the name of the program is obtained from the display unit 16, the comparison result management unit 15 extracts the comparison result information in which the name of the program obtained from the display unit 16 is recorded from the comparison result information accumulated in the comparison result information database 153. Then, the comparison result management unit 15 extracts the name of another program recorded in the extracted comparison result information. In addition, the comparison result management unit 15 stores the comparison result information in which the name of the program obtained from the display unit 16 is recorded, which is extracted, in a cache memory or the like.
[0133] On the other hand, when the name and revision number of the program are obtained from the display unit 16, the comparison result management unit 15 extracts the comparison result information in which the name and revision number of the program obtained from the display unit 16 are recorded from the comparison result information accumulated in the comparison result information database 153. Then, the comparison result management unit 15 extracts the revision number other than the revision number obtained from the display unit 16 recorded in the extracted comparison result information. In addition, the comparison result management unit 15 stores the comparison result information in which the name and revision number of the program obtained from the display unit 16 are recorded extracted in a cache memory or the like.
[0134] Next, the display unit 16 determines whether the process of step S202 has been completed for all the matching result information in the matching result information database 153 (step S203).
[0135] If the process of step S202 has been completed for all the matching result information in the matching result information database 153 (YES in step S203), the matching result management unit 15 outputs the name or revision number of the program extracted in step S202 to the display unit 16. Then, the process proceeds to step S204. On the other hand, if the process of step S202 has not been completed for all the matching result information in the matching result information database 153 (NO in step S203), the process of step S202 is performed.
[0136] If YES in step S203 , the display unit 16 displays the list of program names or the list of revision numbers acquired from the comparison result management unit 15 on the display device 170 (step S204 ).
[0137] When the display unit 16 obtains the program name from the comparison result management unit 15, it lists the obtained program name on the program selection screen ( Figure 6 ) corresponding program list 420.
[0138] In addition, when the revision number is acquired from the comparison result management unit 15, the display unit 16 lists the acquired revision number on the revision selection screen ( Figure 7 ) corresponding revision list 520.
[0139] When the user selects any program name or revision number from the program names or revision numbers displayed in step S204 (YES in step S205 ), the display unit 16 requests the comparison result management unit 15 to obtain the comparison result information (step S206 ).
[0140] When the user selects a program name, the display unit 16 outputs the program name selected by the user to the matching result management unit 15. On the other hand, when the user selects a revision number, the display unit 16 outputs the revision number selected by the user to the matching result management unit 15.
[0141] Next, the matching result management unit 15 obtains the corresponding matching result information from the matching result information database 153 (step S207).
[0142] When the program name is notified from the display unit 16 , the matching result management unit 15 acquires matching result information in which the program name notified from the display unit 16 is described from the matching result information extracted in step S202 (matching result information stored in the cache memory or the like).
[0143] When the revision number is notified from the display unit 16 , the matching result management unit 15 obtains matching result information in which the revision number notified from the display unit 16 is described from the matching result information extracted in step S202 (matching result information stored in the cache memory or the like).
[0144] Then, the matching result management unit 15 outputs the acquired matching result information to the display unit 16 .
[0145] Next, the display unit 16 displays the matching result on the display device 170 based on the matching result information acquired from the matching result management unit 15 (step S208 ).
[0146] Figure 8 An example of the comparison result screen displayed in step S208 is shown.
[0147] Figure 8 The comparison result screen 600 shows a comparison result screen when the program to be compared is a sequence program.
[0148] The comparison result screen 600 includes a scrollable program view 610 and a program view 620. The program view 610 and the program view 620 show the sequence program to be compared.
[0149] Display unit 16 displays program view 610 and program view 620 side by side on comparison result screen 600 so that the user can easily understand the differences between the programs to be compared. Display unit 16 may also display program view 610 and program view 620 side by side.
[0150] In addition, the display unit 16 may also be Figure 8 As shown in the example, the difference between the programs is emphasized by changing the color. The display unit 16 may emphasize the difference between the programs by a method other than color distinction.
[0151] **Description of the effects of the implementation method**
[0152] As described above, according to the present embodiment, when there is a request from the user, the difference between programs can be immediately displayed.
[0153] Conventionally, when the program to be compared is a sequence program that cannot be expressed in a text format, it is necessary to start up FA engineering software and execute calculations with a high processing load in order to compare the sequence program. Therefore, the comparison takes a lot of time.
[0154] In the present embodiment, when a new program is generated or when there is a change in a program, the comparison unit 14 performs a comparison between programs. Then, the comparison result management unit 15 stores the comparison result information in the storage device 150. That is, since the comparison result information already exists in the storage device 150 before the user requests the comparison, when the user requests the comparison, the display unit 16 can display the comparison result without wasting time by acquiring the comparison result information in the storage device 150.
[0155] User passes Figure 8 The differences between programs in the illustrated comparison result screen 600 are highlighted, so that the common parts between the programs can be understood. Figure 8 In the example of FIG. 1 , the parts indicated by reference numerals 611 and 621 are common parts between programs (hereinafter referred to as common circuit modules). By componentizing the common circuit modules, the common circuit modules can be reused when generating subsequent programs.
[0156] In the display Figure 8After obtaining the comparison results between programs as illustrated, the user sometimes wants to know the usage frequency of the common circuit module in other programs. That is, when the common circuit module is used in large quantities in other programs, the user wants to componentize the common circuit module and reuse the common circuit module when generating subsequent programs. On the other hand, when the common circuit module is not used much in other programs, the user will not think of componentizing the common circuit module. In order to study whether to componentize the common circuit module, the user sometimes wants to know the usage frequency of the common module in other programs. In this case, in order to confirm the usage frequency of the common part in other programs, it is necessary to perform comparisons with other programs multiple times. In the past, in such a case, it took a long time to perform comparisons with other programs each time until the usage frequency in other programs was obtained.
[0157] In the present embodiment, since the comparison between programs is performed in advance and the comparison result information is stored in the storage device 150, the display unit 16 can display the comparison result without wasting time by acquiring the comparison result information from the storage device 150. Therefore, the user can confirm the frequency of use of the common part in other programs in advance, and the workload can be reduced and the work efficiency can be improved.
[0158] Furthermore, when the comparison result is displayed in step S208 , the FA engineering software 142 may be started from the comparison result screen 600 so that the user can check or edit the details of the program to be compared.
[0159] In this case, the display unit 16 may notify the project management unit 11 of the names of the two programs included in the comparison result information obtained from the comparison result management unit 15, and obtain the program corresponding to the program name notified by the project management unit 11 from the project database 151. Furthermore, the FA engineering software 142 may start the obtained program.
[0160] Furthermore, the above describes the processing for the "program" in the "operation setting data".
[0161] By replacing "program" with "setting data" in the above description, the above flow can be applied to "setting data".
[0162] In addition, here, the details of "setting data" are described.
[0163] Next, screen design data for a display will be described as an example of setting data.
[0164] When users use the display engineering software, Fig.12 When designing a screen displayed on a monitor, for example, Fig.13 When performing the screen design data comparison, the comparison unit 14 compares the screen design data as the comparison source and the screen design data as the comparison target. Fig.14 The comparison result screen is displayed. Fig.14 As shown, Figure 8 Similarly, it is assumed that the difference between the comparison source and the comparison target is emphasized by coloring. For example, Switch2 has a width (one of the items set for the component (recorded in Fig.13 )) are different. In addition, Lamp2 is a component that does not exist in the comparison source but exists in the comparison target. Therefore, the color of the different parts is changed in the display of Switch2 and Lamp2. Fig.13 In, with Figure 8 The situation is different and does not correspond to a common circuit module.
[0165] In addition, the setting data is generated by the display engineering software, but the setting data is the data that the project has internally, and it is not necessary for the user to see the data (from the software point of view, the setting data is a simple reference object, and the result is that as long as the user sees it Fig.13 The comparison result screen will be displayed).
[0166] Implementation method 2.
[0167] Generally, the operation of FA equipment is controlled using a variety of software with different purposes, such as PLC (Programmable Logic Controller) engineering software and display engineering software.
[0168] Here, it is assumed that PLC engineering software and display engineering software unique to each installation target of FA equipment are prepared. For example, when the consistency rate between PLC engineering software is high, the user may want to know whether the consistency rate between display engineering software is also high.
[0169] In the present embodiment, the comparison unit 14 calculates the consistency rate between three or more programs. Furthermore, the comparison unit 14 determines the extraction order when extracting the differences between three or more related programs that are one-to-one associated with the three or more programs based on the calculated consistency rate. Furthermore, the comparison unit 14 extracts the differences between the three or more related programs according to the determined extraction order.
[0170] In the above-mentioned example of PLC engineering software and display engineering software, the comparison unit 14 calculates the consistency rate between three or more PLC engineering software. Moreover, the comparison unit 14 determines the extraction order when extracting the differences between three or more display engineering software that are one-to-one associated with three or more PLC engineering software based on the calculated consistency rate. Moreover, the comparison unit 14 extracts the differences between three or more display engineering software according to the determined extraction order. Thus, the comparison result information is sequentially generated starting from the display engineering software pair expected to have a high consistency rate.
[0171] Fig. 9 PLC engineering software and display engineering software installed in FA equipment for each mounting target are shown.
[0172] PLC engineering software A and display engineering software A are installed in the FA device equipped with target A. That is, PLC engineering software A and display engineering software A are associated with each other in the FA device equipped with target A. In addition, PLC engineering software B and display engineering software B are installed in the FA device equipped with target B. That is, PLC engineering software B and display engineering software B are associated with each other in the FA device equipped with target B. In addition, PLC engineering software C and display engineering software C are installed in the FA device equipped with target C. That is, PLC engineering software C and display engineering software C are associated with each other in the FA device equipped with target C. In addition, PLC engineering software D and display engineering software D are installed in the FA device equipped with target D. That is, PLC engineering software D and display engineering software D are associated with each other in the FA device equipped with target D.
[0173] In the present embodiment, the comparison unit 14 extracts the difference between PLC engineering software A and PLC engineering software B, and calculates the consistency rate between PLC engineering software A and PLC engineering software B. In addition, the comparison unit 14 extracts the difference between PLC engineering software A and PLC engineering software C, and calculates the consistency rate between PLC engineering software A and PLC engineering software C. Similarly, the comparison unit 14 extracts the difference between the four PLC engineering software, and calculates the consistency rate between the four PLC engineering software.
[0174] Fig.10 An example of the calculation result of the consistency rate is shown.
[0175] exist Fig.10 In the example, the consistency rate between PLC engineering software A and PLC engineering software B (equipped with target A and equipped with target B) is the highest, at 60%. On the other hand, the consistency rate between PLC engineering software C and PLC engineering software D (equipped with target C and equipped with target D) is the lowest, at 10%.
[0176] The comparison unit 14 determines the comparison order between the display engineering software, that is, the order of extracting the differences between the display engineering software, in descending order of the coincidence rate.
[0177] exist Fig.10 In the case of a coincidence rate of Fig.11 As shown, the following order is determined, that is, the display engineering software A and the display engineering software B (mounted target A and mounted target B) are compared first, and the display engineering software C and the display engineering software D (mounted target C and mounted target D) are compared last.
[0178] Thus, in the present embodiment, the comparison unit 14 calculates the consistency rate between programs (e.g., PLC engineering software), determines the comparison order of related programs (e.g., display engineering software) based on the calculated consistency rate, and compares the related programs in the determined comparison order. Therefore, the comparison result information between related programs that are expected to have a high consistency rate is generated preferentially. In addition, each time the comparison result information is generated, the display unit 16 displays a completion notification on the display device 170, thereby notifying the user of the generation of the comparison result information. As a result, the user can refer to the comparison result information between related programs that are expected to have a high consistency rate in advance.
[0179] Thus, even without waiting for the completion of the comparison of all related programs, the comparison result information between related programs expected to have a high coincidence rate desired by the user can be displayed. Therefore, the time required to display the comparison result information can be shortened, and the work efficiency can be improved.
[0180] In the above description, the comparison unit 14 determines the comparison order of the display engineering software in descending order of the agreement rate between the PLC engineering software. The comparison unit 14 may determine the comparison order of the display engineering software in ascending order of the agreement rate between the PLC engineering software.
[0181] In the above description, the comparison unit 14 determines the comparison order of software based on the matching rate of one of the two types of software. The comparison unit 14 may determine the comparison order of other software based on a matching rate greater than or equal to one of the three types of software.
[0182] In the above description, the comparison unit 14 also compares the display engineering software corresponding to the combination of PLC engineering software with low consistency. The comparison unit 14 may not compare the display engineering software corresponding to the combination of PLC engineering software with consistency less than or equal to the threshold.
[0183] In addition, in this embodiment, the difference from Embodiment 1 is mainly described. Matters not described in this embodiment are the same as those in Embodiment 1.
[0184] Although the embodiment of the present invention has been described above, the two embodiments may be combined and implemented.
[0185] Alternatively, one of these two embodiments may be partially implemented.
[0186] Alternatively, these two embodiments may be partially combined and implemented.
[0187] In addition, the present invention is not limited to these embodiments, and various modifications can be made according to needs.
[0188] ***Description of hardware structure***
[0189] Finally, a supplementary description of the hardware structure of the personal computer 100 will be given.
[0190] As described above, the processor 110 executes the version management software 141 and the FA engineering software 142. Furthermore, at least any one of the information, data, signal values, and variable values representing the execution results of the version management software 141 and the FA engineering software 142 is stored in at least any one of the memory 120, the storage device 150, the register in the processor 110, and the cache memory.
[0191] In addition, the version management software 141 and the FA engineering software 142 may be stored in a removable recording medium such as a magnetic disk, a floppy disk, an optical disk, a high-density disk, a Blu-ray (registered trademark) disk, or a DVD. Furthermore, the removable recording medium storing the version management software 141 and the FA engineering software 142 may be commercially circulated.
[0192] In addition, the "units" of the project management unit 11, operation unit 12, comparison entrustment unit 13, comparison unit 14, comparison result management unit 15 and display unit 16 included in the version management software 141 and the FA engineering software 142 can also be renamed as "circuit" or "process" or "flow" or "processing".
[0193] In addition, the personal computer 100 may be realized by a processing circuit, such as a logic IC (Integrated Circuit), a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field-Programmable Gate Array).
[0194] In addition, in this specification, the general concept of a processor and a processing circuit is referred to as a "processing circuit".
[0195] That is, a processor and a processing circuit are each specific examples of a "processing circuit."
[0196] Description of the label
[0197] 11 project management department, 12 operation department, 13 comparison entrusting department, 14 comparison department, 15 comparison result management department, 16 display department, 100 personal computer, 110 processor, 120 memory, 130 OS, 140 application, 141 version management software, 142 FA engineering software, 150 storage device, 151 project database, 152 change history information database, 153 comparison result information database, 160 input device, 170 display device, 200 repository server, 210 processor, 220 memory, 230 OS, 240 version management software, 250 storage device, 260 repository, 261 project database, 262 change history information database, 301 network.
Claims
1. An information processing device, comprising: a difference extraction unit, which extracts differences between three or more action setting data each used to set an action for a device before a request is made from a user, calculates a consistency rate between the three or more action setting data, determines an extraction order when extracting differences between three or more associated action setting data one-to-one associated with the three or more action setting data based on the calculated consistency rate, extracts differences between the three or more associated action setting data according to the determined extraction order, and generates difference information indicating the extracted differences between the three or more associated action setting data; a difference information storage unit that stores the difference information generated by the difference extraction unit in any storage device; as well as A request response unit is configured to acquire the difference information from the storage device when there is a request from the user, and output the acquired difference information to an arbitrary display device.
2. The information processing device according to claim 1, wherein: The difference extraction unit determines the extraction order in either descending order of the consistency rate or ascending order of the consistency rate.
3. An information processing device, comprising: a difference extraction unit that calculates a consistency rate between three or more action setting data each used to set an action for a device before a request from a user is made, determines an extraction order for extracting differences between three or more associated action setting data that are one-to-one associated with the three or more action setting data based on the calculated consistency rate, extracts differences between the associated action setting data in accordance with the determined extraction order in a manner that does not extract a difference between two associated action setting data associated with two data of the three or more action setting data whose consistency rate is less than a threshold, and generates difference information representing the extracted differences; a difference information storage unit that stores the difference information generated by the difference extraction unit in any storage device; as well as A request response unit is configured to acquire the difference information from the storage device when there is a request from the user, and output the acquired difference information to an arbitrary display device.
4. An information processing method, in which a computer extracts differences between three or more action setting data each used to set an action for a device before a request from a user is made, calculates a consistency rate between the three or more action setting data, determines an extraction order for extracting differences between three or more associated action setting data one-to-one associated with the three or more action setting data based on the calculated consistency rate, extracts differences between the three or more associated action setting data in accordance with the determined extraction order, and generates difference information indicating the extracted differences between the three or more associated action setting data. The computer stores the generated difference information in any storage device, When there is a request from the user, the computer acquires the difference information from the storage device, and outputs the acquired difference information to an arbitrary display device.
5. A computer-readable recording medium having an information processing program recorded thereon, the information processing program causing a computer to execute: Difference extraction processing, before there is a request from the user, extracting differences between three or more action setting data each used to set an action for the device, calculating a consistency rate between the three or more action setting data, determining an extraction order when extracting differences between three or more associated action setting data one-to-one associated with the three or more action setting data based on the calculated consistency rate, extracting differences between the three or more associated action setting data according to the determined extraction order, and generating difference information indicating the extracted differences between the three or more associated action setting data; a difference information storage process for storing the difference information generated by the difference extraction process in an arbitrary storage device; as well as The request response process acquires the difference information from the storage device when there is a request from the user, and outputs the acquired difference information to an arbitrary display device.
Citation Information
Patent Citations
Detector of program correlation
JP2002108652A
Image processor and image processing method
CN101561877A
Information processing apparatus and information processing method, and program
CN101808210A
Dynamic display of open source software compliance information
CN107045440A
Method and system for evaluating matching between content item and image based on similarity scores
CN107480158A
