Version management device, version management method, and program
The version management device uses a generation AI to acquire and store change content information, addressing the challenge of managing changes in multi-user environments, enabling effective version management of information types such as product catalogs, drawings, and program sources.
Patent Information
- Application Number
- JP2024117539
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2026-02-04
AI Technical Summary
Existing version management systems struggle to effectively manage and understand changes in information, particularly in multi-user development environments, making it difficult to grasp the content that has been changed.
A version management device that includes an information receiving unit, a change content acquisition unit, and a change content storage unit, utilizing a generation AI to acquire and store change content information, along with feature information, and optionally incorporating viewpoint management to manage changes based on the type of information.
Enables appropriate and automatic version management of information, allowing clear understanding of changes and facilitating efficient management of product catalogs and drawings, as well as program sources.
Smart Images

Figure 2026016973000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a version management device or the like that manages versions of information. [Background technology]
[0002] Conventionally, there has been a programmable device that allows for easy version control in a development environment involving multiple people (see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 7462860 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the prior art, it has been difficult to appropriately manage versions of information that may be changed, and in particular, it has not been easy to grasp the content that has been changed. [Means for solving the problem]
[0005] The version management device of the first invention is a version management device that includes an information receiving unit that receives first information and second information, which is information resulting from changes made to the first information, or difference information regarding the difference between the first information and the second information; a change content acquisition unit that acquires change content information, which is information regarding the changes made to the second information relative to the first information, from a generation AI based on the first information and the second information or the difference information; and a change content storage unit that stores the change content information acquired by the change content acquisition unit in association with the second information.
[0006] This configuration allows for appropriate version management of information, and in particular makes it easy to understand what has been changed.
[0007] In addition, the version management device of the second invention is a version management device in which, compared to the first invention, the change content acquisition unit passes a prompt to the generation AI to acquire first feature information that explains the characteristics of the first information compared to the second information, and acquires change content information including the first feature information from the generation AI.
[0008] This configuration allows for appropriate version management of information.
[0009] Furthermore, the version control device of the third invention is a version control device in which, compared to the first or second invention, the change content acquisition unit passes a prompt to the generation AI to acquire second feature information that describes the characteristics of the second information compared to the first information, and acquires change content information including the second feature information from the generation AI.
[0010] This configuration allows for appropriate version management of information.
[0011] Furthermore, the version control device of the fourth invention is a version control device in which, compared to any one of the first to third inventions, the information receiving unit receives second information that has been changed in response to a change instruction for the first information, the change content acquisition unit automatically acquires change content information from the generation AI in response to the acceptance of the second information, and the change content storage unit automatically stores the change content information acquired by the change content acquisition unit in association with the first information and the second information.
[0012] This configuration allows appropriate version management of information to be performed automatically.
[0013] Furthermore, the version control device of the fifth invention is a version control device in which, compared to the fourth invention, the change content acquisition unit includes a judgment means for judging whether the second information satisfies the change conditions relative to the first information, and when the judgment means judges that the change conditions are satisfied, acquires change content information from the generation AI.
[0014] Such an arrangement allows for proper versioning of information to occur automatically and where appropriate.
[0015] In addition, the version control device of the sixth invention, compared to any one of the first to fifth inventions, further comprises a viewpoint management unit in which two or more viewpoint information are stored, each having a type identifier that identifies the type of the first information and the second information and one or more viewpoint identifiers that identify the viewpoint, and the change content acquisition unit comprises a type determination means that acquires a type identifier that identifies the type of the first information or the second information, a viewpoint identifier acquisition means that acquires one or more viewpoint identifiers that pair with the type identifier acquired by the type determination means, a prompt acquisition means that assigns the one or more viewpoint identifiers acquired by the viewpoint identifier acquisition means to variables of a prompt template that has a variable to which the viewpoint identifier is assigned, and acquires a prompt, an answer acquisition means that passes the prompt acquired by the prompt acquisition means to the generation AI and acquires an answer from the generation AI, and a change content acquisition means that acquires change content information from the answer acquired by the answer acquisition means.
[0016] This configuration enables more appropriate version management according to the type of information. In particular, it is possible to acquire and manage change content information that clearly indicates the differences between the old version information and the new version information from a perspective according to the type of information.
[0017] Furthermore, a version management device according to a seventh aspect of the present invention is the version management device according to any one of the first to sixth aspects of the present invention, wherein the first information and the second information are information on product or service catalogs.
[0018] This configuration allows for automatic and appropriate version management of the catalog.
[0019] Furthermore, the version management device of the eighth invention is the version management device of any one of the first to sixth inventions, wherein the first information and the second information are drawings.
[0020] This configuration allows for automatic and appropriate version management of drawings.
[0021] Furthermore, a version management device according to a ninth aspect of the present invention is the version management device according to any one of the first to sixth aspects of the present invention, wherein the first information and the second information are program sources.
[0022] With this configuration, appropriate version management of the program source can be performed automatically. [Effects of the Invention]
[0023] The version management device according to the present invention enables appropriate version management of information that may be changed. [Brief explanation of the drawings]
[0024] [Figure 1] Conceptual diagram of version control system A in embodiment 1 [Figure 2] An example of a block diagram of version control system A. [Figure 3] FIG. 1 shows an example of a block diagram of the version management device 1. [Figure 4] A flowchart illustrating an example of the operation of the version management device 1. [Figure 5] A flowchart illustrating an example of the prompt configuration process. [Figure 6] A flowchart illustrating an example of the determination process [Figure 7] A flowchart illustrating an example of the operation of the terminal device 2 [Figure 8] A diagram showing an example of the prompt template [Figure 9] A diagram showing an example of the prompt template [Figure 10] FIG. 10 is a diagram showing an example of a viewpoint management table. [Figure 11] FIG. 10 is a diagram showing an example of the change condition management table. [Figure 12] A diagram showing an example of the program version management table [Figure 13] A diagram showing an example of the catalog version control table [Figure 14] An example of the prompt is shown below. [Figure 15] An example of the prompt is shown below. [Figure 16] Block diagram of the computer system DETAILED DESCRIPTION OF THE INVENTION
[0025] Hereinafter, embodiments of a version management device and the like will be described with reference to the drawings. Note that components with the same reference numerals in the embodiments perform similar operations, and therefore repeated description may be omitted.
[0026] (Embodiment 1) In this embodiment, a version management device that performs version management when first information is changed and second information is acquired will be described. The version management device acquires change content information, which is information explaining the change content, from a generation AI and stores the change content information in association with the second information or the first information and the second information. The change content information includes, for example, first feature information that explains the characteristics of the first information compared to the second information. The change content information includes, for example, second feature information that explains the characteristics of the second information compared to the first information.
[0027] In this embodiment, a version management device that automatically acquires change information will be described, particularly a version management device that automatically acquires change information when a change condition is satisfied.
[0028] In this embodiment, a version management device that acquires and stores change content information from different perspectives depending on the types of first information and second information will be described.
[0029] In this specification, information X being associated with information Y means that information Y can be obtained from information X, or information X can be obtained from information Y, and the method of association is not important. Information X and information Y may be linked, may exist in the same buffer, information X may be included in information Y, or information Y may be included in information X, etc.
[0030] Furthermore, in this specification, selecting or determining information Z means obtaining information Z, obtaining a pointer to information Z, obtaining the ID of information Z, setting a flag on information Z, etc., and it is sufficient if information Z can be accessed.
[0031] 1 is a conceptual diagram of a version control system A according to this embodiment. The version control system A comprises a version control device 1, one or more terminal devices 2, and a generating AI device 3.
[0032] The version management device 1 is a device that manages the version of information. The version management device may be, for example, a cloud server or an ASP server, but the type is not important. The version management device 1 may also be a terminal. If the version management device 1 is a terminal, the version management system A does not require a terminal device 2, or the version management device 1 may also serve as the terminal device 2. If the version management device 1 is a terminal, the version management device 1 may be, for example, a personal computer, a smartphone, or a tablet terminal, but the type is not important.
[0033] The terminal device 2 is a terminal used by a user. A user is typically a person who changes information. A user is typically a person who uses the version management function of information. The terminal device 2 is, for example, a so-called personal computer, a smartphone, or a tablet terminal, but the type is not important.
[0034] The generation AI device 3 is a device that has the function of a generation AI. Here, the generation AI device 3 typically has the function of a text generation AI. The generation AI may be, for example, ChatGPT or Google Bard, but this does not matter. Google is a registered trademark. The generation AI device 3 may be, for example, a cloud server or an ASP server, but the type does not matter. The generation AI device 3 will be referred to as a generation AI as appropriate. The version management device 1 may also have the function of a generation AI. In such a case, the generation AI device 3 is not necessary.
[0035] 2 is an example of a block diagram of a version management system A according to this embodiment. FIG. 3 is an example of a block diagram of a version management device 1.
[0036] The version management device 1 includes a storage unit 11, a reception unit 12, a processing unit 13, and an output unit 14. The storage unit 11 includes a prompt template storage unit 111, a viewpoint management unit 112, and an information management unit 113. The reception unit 12 includes an information reception unit 121 and an instruction reception unit 122. The processing unit 13 includes a change unit 130, a change content acquisition unit 131, a change content storage unit 132, and an information acquisition unit 133. The change content acquisition unit 131 includes a judgment means 1310, a type determination means 1311, a viewpoint identifier acquisition means 1312, a prompt acquisition means 1313, an answer acquisition means 1314, and a change content acquisition means 1315.
[0037] The terminal device 2 includes a terminal storage unit 21, a terminal reception unit 22, a terminal processing unit 23, a terminal transmission unit 24, a terminal reception unit 25, and a terminal output unit 26.
[0038] Various types of information are stored in the storage unit 11 constituting the version management device 1. The various types of information include, for example, a prompt template (described later), viewpoint information (described later), first information (described later), second information (described later), difference information (described later), and various conditions. The various conditions include, for example, change conditions (described later). It goes without saying that the various conditions may be embedded in the program.
[0039] The prompt template storage unit 111 stores one or more prompt templates. A prompt template is information that serves as the basis for constructing a prompt to be given to the generation AI. A prompt template usually has one or more variables. The variables are, for example, a variable into which a viewpoint identifier (described later) is assigned, a variable into which first information and second information are assigned, and a variable into which difference information is assigned.
[0040] The first information is information before the update. The first information is information of an older version than the second information. The second information is information after the update. The second information is information of a newer version than the first information. The first information and the second information are, for example, program source (hereinafter referred to as "program" as appropriate), electronic catalog (hereinafter referred to as "catalog" as appropriate), electronic drawing (hereinafter referred to as "drawing" as appropriate), web page, and design document, but the type does not matter. Drawings are, for example, design drawings, illustration drawings, etc. The first information and the second information may be anything that can be edited. The first information and the second information may be anything that can be subject to version control. The first information and the second information are, for example, files, but may also be attribute values in a database, etc., and the data structure, etc. does not matter.
[0041] The difference information is information that identifies the changed information between the first information and the second information. The difference information may be the information itself or a set of commands issued when the information is edited. The difference information may be information for obtaining the second information using the first information and the difference information.
[0042] The viewpoint management unit 112 stores two or more pieces of viewpoint information. The viewpoint information is information that identifies a viewpoint. The viewpoint here is the viewpoint of the changes made to the second information from the first information. The viewpoint information has a type identifier and one or more viewpoint identifiers. The type identifier is the type of the first information and the second information. Examples of the type identifier are "program," "catalog," and "drawing." The viewpoint identifier is information that identifies a viewpoint. Examples of the viewpoint are "program function," "algorithm," "type of product," "layout," "listed information," and "type of drawing."
[0043] The information management unit 113 stores one or more pieces of information. The information is, for example, first information before change, second information after change, and difference information. In the information management unit 113, it is preferable that the first information and second information obtained by changing the first information or difference information between the first information and the second information are managed in association with each other. It is preferable that the information management unit 113 also manages change content information, which will be described later. The change content information is associated with the second information. The association with the second information may also mean association with the difference information. It is preferable that the change content information is associated with the first information. It is preferable that the change content information is associated with the first information and the second information.
[0044] The reception unit 12 receives various information and instructions. The various information and instructions are, for example, first information, second information, difference information, change instructions (described later), and accumulation instructions (described later). The reception unit 12 receives various information and instructions from, for example, the terminal device 2. Note that "receiving various information and instructions" means simply acquiring various information and instructions.
[0045] The information receiving unit 121 receives, for example, the first information and the second information, and the difference information.
[0046] The information receiving unit 121 may receive the second information that has been changed in response to an instruction to change the first information.
[0047] Reception usually refers to reception from the terminal device 2, but it may also be a concept that includes reception of information input from an input device such as a keyboard, mouse, or touch panel, reception of information transmitted from a device other than the terminal device 2 via a wired or wireless communication line, and reception of information read from a recording medium such as an optical disk, magnetic disk, or semiconductor memory.
[0048] The instruction receiving unit 122 receives various instructions. The various instructions are a change instruction, a storage instruction, or an information output instruction. A change instruction is an instruction to change the first information. A change instruction may also be called an editing instruction. Examples of change instructions are "delete," "append," and "update." A storage instruction is an instruction to store change content information, which will be described later. An information output instruction is an instruction to output information. An information output instruction includes information that specifies the information to be output.
[0049] The processing unit 13 performs various types of processing. The various types of processing are, for example, processing performed by the change unit 130, the change content acquisition unit 131, the change content storage unit 132, or the information acquisition unit 133.
[0050] The change unit 130 changes the first information and acquires the second information in accordance with the received change instruction. The change unit 130 performs a process of changing the information.
[0051] The change content acquisition unit 131 acquires change content information from the generation AI based on the first information and the second information. "Based on the first information and the second information" is synonymous with "based on difference information," and "based on a part of the first information and a part of the second information."
[0052] The change information is information about the changes made to the second information relative to the first information. The change information is typically text. The change information is typically a natural language sentence that outlines the changes made to the second information relative to the first information.
[0053] The change content acquisition unit 131, for example, passes a prompt to the generation AI to acquire first feature information that explains the characteristics of the first information compared to the second information, and acquires change content information including the first feature information from the generation AI.
[0054] The change content acquisition unit 131, for example, passes a prompt to the generation AI to acquire second feature information that explains the features of the second information compared to the first information, and acquires change content information including the second feature information from the generation AI.
[0055] It is preferable that the change content acquisition unit 131 automatically acquires the change content information from the generation AI in response to the acceptance of the second information. The acceptance of the second information may be acceptance of a change instruction, change of the first information, and acquisition of the second information.
[0056] The determining means 1310 determines whether or not the change condition is satisfied. The determining means 1310 normally determines whether or not the second information satisfies the change condition with respect to the first information.
[0057] The change condition is a condition under which the change content acquisition unit 131 acquires change content information. The change condition is, for example, that the amount of change to the first information is equal to or greater than a threshold value. The second information is that a predetermined change has been made to the first information. The predetermined change is, for example, the addition of a new program file, the addition of a new function or method, the deletion of a program file, the deletion of a function or method, the addition of one or more pieces of product information to a catalog, the deletion of one or more pieces of product information to a catalog, the addition of a new diagram, or the deletion of a diagram.
[0058] The type determination means 1311 acquires a type identifier that identifies the type of the first information or the second information. The type identifier may be, for example, a "program," a "catalog," or a "drawing." For example, the type determination means 1311 acquires a file extension of the first information or the second information and acquires a type identifier based on the extension. For example, the type determination means 1311 acquires a data structure of the first information or the second information and acquires a type identifier corresponding to the data structure. For example, the type determination means 1311 analyzes the first information or the second information to acquire a type identifier. For example, the type determination means 1311 provides a learning model and the first information, the second information, or the difference information to a machine learning prediction module, executes the prediction module, and acquires a type identifier. Note that the learning model is a model acquired by providing two or more pieces of training data having the first information, the second information, or the difference information and a type identifier to a machine learning learning module, executes the learning module, and executes the learning module. Note that the machine learning algorithm may be deep learning, random forest, or the like. There are various methods for the type determination means 1311 to acquire a type identifier.
[0059] The viewpoint identifier acquisition means 1312 acquires, from the viewpoint management unit 112, one or more viewpoint identifiers that are paired with the type identifier acquired by the type determination means 1311.
[0060] The prompt acquisition means 1313 acquires a prompt using a prompt template stored in the prompt template storage unit 111 .
[0061] The prompt acquisition means 1313 acquires a prompt by, for example, substituting one or more viewpoint identifiers acquired by the viewpoint identifier acquisition means 1312 into variables of a prompt template having variables into which viewpoint identifiers are substituted.
[0062] The prompt acquisition means 1313 acquires a prompt, for example, by substituting the first information and second information received by the information receiving unit 121 into variables of a prompt template having variables into which the first information and second information are substituted.
[0063] The prompt acquisition unit 1313 acquires a prompt by, for example, substituting the difference information into a variable of a prompt template having a variable for substituting the difference information. Note that the difference information is, for example, information accepted by the information accepting unit 121 or information extracted by the prompt acquisition unit 1313 from the first information and the second information.
[0064] The answer acquisition means 1314 passes the prompt acquired by the prompt acquisition means 1313 to the generation AI and acquires an answer from the generation AI. The answer includes information about the changes made. The answer may also consist of only the information about the changes made.
[0065] The change content acquisition means 1315 acquires change content information from the response acquired by the response acquisition means 1314 .
[0066] The change content accumulation unit 132 accumulates the change content information acquired by the change content acquisition unit 131 in association with the second information. The change content accumulation unit 132 accumulates the change content information acquired by the change content acquisition unit 131 in association with, for example, the first information and the second information. Note that association with the second information and association between the first information and the second information may be considered to be association with difference information.
[0067] It is preferable that the change content storage unit 132 automatically stores the change content information acquired by the change content acquisition unit 131 in association with the first information and the second information.
[0068] It is preferable that the change content storage unit 132 stores the change content information acquired by the change content acquisition unit 131 only when it is determined that the change conditions are met.
[0069] The change content storage unit 132 may store the change content information only when a storage instruction is received from the user.
[0070] The information acquisition unit 133 acquires information corresponding to the received information output instruction from the information management unit 113. This information is, for example, change content information, first information, second information, and difference information.
[0071] The output unit 14 outputs various types of information. The various types of information include, for example, change content information, first information, second information, and difference information. The output unit 14 outputs the information acquired by the information acquisition unit 133.
[0072] Here, output typically means transmission to terminal device 2, but it may also be a concept that includes display on a display, projection using a projector, printing on a printer, sound output, transmission to an external device other than terminal device 2, storage on a recording medium, and handing over processing results to other processing devices or other programs.
[0073] Various types of information are stored in the terminal storage unit 21 included in the terminal device 2. The various types of information include, for example, a user identifier, first information, and second information.
[0074] The terminal reception unit 22 receives input of instructions, information, etc. from the user. The instructions, information, etc. are, for example, first information, second information, change instructions, information output instructions, and version management instructions.
[0075] A version management instruction is an instruction to perform version management of edited information. Based on the version management instruction, for example, first information and second information can be obtained. Based on the version management instruction, for example, difference information can be obtained.
[0076] The means for inputting instructions and information may be any means, such as a touch panel, keyboard, mouse, or menu screen.
[0077] The device processing unit 23 performs various types of processing, such as processing to change the structure of instructions, information, etc. received by the terminal receiving unit 22 to instructions, information, etc., for transmission, processing to change the structure of information received by the terminal receiving unit 25 to output, etc.
[0078] The terminal transmission unit 24 transmits various types of information, instructions, etc. to the version management device 1. The various types of information, instructions, etc. include, for example, a user identifier, first information, second information, difference information, change instructions, and information output instructions. The terminal transmission unit 24 transmits, for example, information constructed by the terminal processing unit 23 to the version management device 1.
[0079] The terminal receiving unit 25 receives various types of information from the version management device 1. The various types of information include, for example, change content information, first information, and second information.
[0080] The terminal output unit 26 outputs various types of information. The various types of information include, for example, change content information, first information, and second information. Here, output refers to, for example, display on a display, but may also include projection using a projector, printing with a printer, sound output, storage on a recording medium, transmission to another processing device, and delivery of processing results to another processing device, another program, etc.
[0081] The storage unit 11, the prompt template storage unit 111, the viewpoint management unit 112, the information management unit 113, and the terminal storage unit 21 are preferably non-volatile recording media, but may also be realized as volatile recording media.
[0082] There is no restriction on the process by which information is stored in the storage unit 11 etc. For example, information may be stored in the storage unit 11 etc. via a recording medium, information transmitted via a communication line etc. may be stored in the storage unit 11 etc., or information input via an input device may be stored in the storage unit 11 etc.
[0083] The reception unit 12, the information reception unit 121, or the instruction reception unit 122 is preferably realized by a wireless or wired communication means, but may also be realized by a means for receiving broadcasts, a device driver for an input means such as a touch panel or keyboard, or control software for a menu screen.
[0084] The processing unit 13, the change unit 130, the change content acquisition unit 131, the change content storage unit 132, the information acquisition unit 133, the judgment means 1310, the type determination means 1311, the viewpoint identifier acquisition means 1312, the prompt acquisition means 1313, the answer acquisition means 1314, the change content acquisition means 1315, or the terminal processing unit 23 can usually be realized by a processor, a memory, or the like. The processing procedures of the processing unit 13, etc. are usually realized by software, and the software is recorded on a recording medium such as a ROM. However, they may also be realized by hardware (dedicated circuit). The processor may be a CPU, MPU, GPU, or the like, and the type does not matter.
[0085] The output unit 14 is preferably realized by a wireless or wired communication means, but may also be realized by driver software for an output device such as a display or speaker, or by a combination of driver software for an output device and the output device.
[0086] The terminal reception unit 22 can be realized by a device driver for an input means such as a touch panel or a keyboard, or control software for a menu screen.
[0087] The terminal transmitting unit 24 is usually realized by a wireless or wired communication means, but may also be realized by a broadcasting means.
[0088] The terminal receiving unit 25 is usually realized by a wireless or wired communication means, but may also be realized by a means for receiving broadcasts.
[0089] The terminal output unit 26 may or may not include an output device such as a display, a speaker, etc. The terminal output unit 26 may be realized by driver software for an output device, or by a combination of driver software for an output device and the output device, etc.
[0090] Next, an example of the operation of the version management device 1 will be described with reference to the flowchart of FIG.
[0091] (Step S401) The information receiving unit 121 determines whether or not the first information and the second information have been received. If the first information and the second information have been received, the process proceeds to step S402, and if the first information and the second information have not been received, the process proceeds to step S411.
[0092] In this step, for example, the information receiving unit 121 determines whether or not the first information and the second information have been received from the terminal device 2.
[0093] (Step S402) The processing unit 13 stores the first information and the second information received in step S401.
[0094] (Step S403) The changes acquisition unit 131 composes a prompt. An example of such a prompt composition process will be described with reference to the flowchart in FIG.
[0095] (Step S404) The answer acquisition means 1314 passes the prompt constructed in step S403 to the generation AI.
[0096] (Step S405) The answer acquisition means 1314 determines whether an answer has been acquired from the generation AI. If an answer has been acquired, the process proceeds to step S406, and if an answer has not been acquired, the process returns to step S405.
[0097] (Step S406) The change content acquisition means 1315 acquires change content information from the response acquired in step S405.
[0098] (Step S407) The output unit 14 outputs the change content information acquired in step S406. Note that in this step, the output unit 14 transmits the change content information to the terminal device 2, for example.
[0099] (Step S408) The instruction receiving unit 122 determines whether or not a storage instruction has been received. If a storage instruction has been received, the process proceeds to step S409, and if not, the process returns to step S408. The storage instruction is received, for example, from the terminal device 2 of the user who has viewed the change content information.
[0100] (Step S409) If the storage instruction received in step S408 is "store", the change content storage unit 132 proceeds to step S410, and if it is "not store", the change content storage unit 132 returns to step S401.
[0101] (Step S410) The change content storage unit 132 stores the change content information in association with the second information. Return to step S401. The change content information is stored in the information management unit 113, for example.
[0102] (Step S411) The information receiving unit 121 determines whether or not difference information has been received. If difference information has been received, the process proceeds to step S412, and if not, the process proceeds to step S415.
[0103] (Step S412) The processing unit 13 stores the difference information in association with the first information corresponding to the difference information. The difference information is stored in the information management unit 113, for example.
[0104] (Step S413) The determining means 1310 performs a determination process. An example of the determination process will be described using the flowchart in Fig. 6. The determination process is a process of determining whether or not the change condition is satisfied.
[0105] (Step S414) If the determination result is "the change condition is satisfied", the process proceeds to step S403, and if the determination result is "the change condition is not satisfied", the process returns to step S401.
[0106] (Step S415) The instruction receiving unit 122 determines whether or not a change instruction has been received. If a change instruction has been received, the process proceeds to step S416, and if not, the process proceeds to step S418.
[0107] (Step S416) The processing unit 13 acquires second information obtained by changing the first information in response to the change instruction.
[0108] (Step S417) The output unit 14 outputs the second information. The process proceeds to step S413. Note that in this step, for example, the output unit 14 transmits the second information to the terminal device 2.
[0109] (Step S418) The instruction receiving unit 122 determines whether or not an information output instruction has been received. If an information output instruction has been received, the process proceeds to step S419, and if not, the process returns to step S401.
[0110] (Step S419) The processing unit 13 acquires information corresponding to the information output instruction accepted in step S418 from the information management unit 113. The output unit 14 outputs the information. The process returns to step S401.
[0111] In the flowchart of FIG. 4, the process ends when the power is turned off or an interrupt occurs to end the process.
[0112] Next, an example of the prompt configuration process in step S403 will be described with reference to the flowchart in FIG.
[0113] (Step S501) The type determination means 1311 acquires a type identifier that identifies the type of the first information, the second information, or the difference information.
[0114] (Step S502) The viewpoint identifier acquisition means 1312 acquires from the viewpoint management unit 112 one or more viewpoint identifiers that are paired with the type identifier acquired in step S501.
[0115] (Step S 503 ) The prompt acquiring unit 1313 acquires a prompt template from the prompt template storage unit 111 .
[0116] (Step S504) The prompt acquiring means 1313 assigns 1 to the counter i.
[0117] (Step S505) The prompt acquisition means 1313 determines whether or not the i-th variable exists in the prompt template. If the i-th variable exists, the process proceeds to step S506, and if not, the process returns to the upper process.
[0118] (Step S506) The prompt acquiring unit 1313 acquires information to be substituted into the i-th variable. Note that this information is, for example, one or more of the type identifier acquired in step S501, one or more viewpoint identifiers acquired in step S502, the first information, the second information, or the difference information.
[0119] (Step S507) The prompt acquiring means 1313 replaces the information acquired in step S506 with the i-th variable in the prompt template.
[0120] (Step S508) The prompt acquiring means 1313 increments the counter i by 1. The process returns to step S505.
[0121] Next, an example of the determination process in step S413 will be described with reference to the flowchart in FIG.
[0122] (Step S601) The decision means 1310 assigns 1 to the counter i.
[0123] (Step S602) The determination means 1310 determines whether or not the i-th change condition exists in the storage unit 11. If the i-th change condition exists, the process proceeds to step S603, and if not, the process proceeds to step S608.
[0124] (Step S603) The decision means 1310 acquires the i-th change condition.
[0125] (Step S604) The determination means 1310 acquires information used to determine the i-th change condition. This information includes, for example, difference information, the data amount of the difference information, added files, deleted files, whether a file has been added, whether a file has been deleted, added product information, deleted product information, whether product information has been added, and whether product information has been deleted.
[0126] (Step S605) The determination means 1310 determines whether or not the information acquired in step S604 satisfies the i-th change condition. If the i-th change condition is satisfied, the process proceeds to step S606, and if not, the process proceeds to step S607.
[0127] (Step S606) The determination means 1310 assigns the value "change condition satisfied" to the variable "determination result." The process returns to the upper level process.
[0128] (Step S607) The determination means 1310 increments the counter i by 1. The process returns to step S602.
[0129] (Step S608) The determination means 1310 assigns the value "change condition not satisfied" to the variable "determination result." The process returns to the upper level process.
[0130] Next, an example of the operation of the terminal device 2 will be described with reference to the flowchart of FIG.
[0131] (Step S701) The terminal reception unit 22 determines whether or not a version management instruction has been received. If a version management instruction has been received, the process proceeds to step S702, and if not, the process proceeds to step S703.
[0132] (Step S702) The terminal processing unit 23 acquires the first information and second information corresponding to the version management instruction received in step S701, or the difference information corresponding to the version management instruction. The terminal transmission unit 24 transmits the acquired first information and second information, or the difference information, to the version management device 1. Return to step S701.
[0133] (Step S703) The terminal reception unit 22 determines whether or not a change instruction has been received. If a change instruction has been received, the process proceeds to step S704, and if not, the process proceeds to step S707.
[0134] (Step S704) The terminal processing unit 23 determines whether or not to change the first information on the terminal device 2. If the first information is to be changed on the terminal device 2, the process proceeds to step S705, and if the first information is not to be changed on the terminal device 2, the process proceeds to step S706. Note that whether the change is to be made on the terminal device 2 or on the version management device 1 is usually determined in advance.
[0135] (Step S705) The device processing unit 23 changes the first information in accordance with the change instruction received in step S703, and acquires the second information. The process returns to step S701.
[0136] (Step S706) The terminal transmitting unit 24 transmits the change instruction accepted in step S703 to the version management device 1. The process returns to step S701.
[0137] (Step S707) The terminal reception unit 22 determines whether or not another instruction has been received. If another instruction has been received, the process proceeds to step S708, and if not, the process proceeds to step S709.
[0138] (Step S708) The device processing unit 23 performs processing according to other instructions. Return to step S701.
[0139] (Step S709) Terminal receiving unit 25 determines whether or not second information has been received from version management device 1. If second information has been received, the process proceeds to step S710, and if not, the process proceeds to step S711.
[0140] (Step S710) The terminal output unit 26 outputs the second information received in step S709. The process returns to step S701.
[0141] (Step S711) The terminal receiving unit 25 determines whether or not change content information has been received. If change content information has been received, the process proceeds to step S712, and if not, the process proceeds to step S715.
[0142] (Step S712) The terminal output unit 26 outputs the change content information received in step S711.
[0143] (Step S713) The terminal reception unit 22 determines whether or not a storage instruction has been received. If a storage instruction has been received, the process proceeds to step S713, and if not, the process returns to step S712.
[0144] (Step S714) The terminal transmitting unit 24 transmits a storage instruction to the version management device 1. The process returns to step S701.
[0145] (Step S715) The terminal receiving unit 25 determines whether or not other information has been received. If other information has been received, the process proceeds to step S716, and if not, the process returns to step S701.
[0146] (Step S716) The terminal output unit 26 outputs other information. The process returns to step S701.
[0147] In the flowchart of FIG. 7, after the change content information is output, a storage instruction is accepted, so that the user can decide whether or not to manage the change content information.
[0148] In the flowchart of FIG. 7, the process ends when the power is turned off or an interrupt occurs to end the process.
[0149] A specific example of the operation of the version control system A according to this embodiment will be described below.
[0150] 8 and 9 are stored in prompt template storage unit 111, which constitutes version management device 1. In the prompt templates, character strings enclosed in "<" and ">" are variables. In Fig. 8, <program 1>, <program 2>, and <viewpoint identifier> are variables.
[0151] The viewpoint management unit 112 stores a viewpoint management table shown in FIG. 10. The viewpoint management table is a table for managing viewpoint information. The viewpoint management table has two or more records each having an "ID," a "type identifier," and a "viewpoint identifier." The "ID" is information for identifying a record. The "type identifier" indicates the type of document that is the object of version management. The "viewpoint identifier" indicates the viewpoint. Here, when the object of version management is a program source, the viewpoint given to the generation AI is "function." When the object of version management is a catalog, the viewpoints given to the generation AI are "product type" and "image."
[0152] It is assumed that the storage unit 11 stores the change condition management table shown in FIG. 11. The change condition management table is a table that manages change conditions for each type identifier. When the type identifier is "program source," the change condition is "addition of function" or "deletion of function." That is, change content information is acquired and stored only when a function is added to or deleted from the program source. When the type identifier is "catalog," the change condition is "-," indicating that there is no change condition. That is, change content information is always acquired and stored when there is a change in the catalog. When the type identifier is "drawing," the change condition is "change in data volume >= threshold." That is, change content information is acquired and stored only when the change in data volume for a drawing is equal to or greater than the threshold.
[0153] It is also assumed that the information management unit 113 stores a program version management table having the structure shown in Fig. 12. The program version management table is a table for managing the versions of program sources. The program version management table manages records that have "ID," "update date and time," "old program," "new program," and "change content information." The "update date and time" is the date and time the "new program" was updated.
[0154] It is also assumed that the information management unit 113 stores a catalog version management table having the structure shown in FIG. 13. The catalog version management table is a table for managing catalog versions. The catalog version management table manages records having "ID," "update date and time," "catalog difference information," and "change content information." "Update date and time" indicates the date and time when the "catalog difference information" was created. "Update date and time" is the date and time when the new version of the catalog was updated. "Catalog difference information" is information indicating the difference between the old version of the catalog and the new version of the catalog.
[0155] In the above situation, the following two specific examples will be explained. Specific Example 1 is a case where the object of version control is a program. Specific Example 2 is a case where the object of version control is a catalog.
[0156] (Example 1) Assume that User X downloads program file "prg11.c" from the version management device 1 to terminal device 2 and is developing a program in C language. User X then edits program file "prg11.c" and issues an update instruction (for example, by typing "CTRL S") at the date and time "2024 / 7 / 19 10:18:53." Terminal device 2 then writes program file "prg11.c" to disk with the new file name "prg12.c." Terminal device 2 also transmits the new file "prg12.c" and the update date and time "2024 / 7 / 19 10:18:53" to version management device 1 for version management. Terminal device 2 obtains the update date and time from a clock (not shown).
[0157] The information receiving unit 121 of the version management device 1 receives the file “prg12.c” and the update date and time from the terminal device 2.
[0158] Next, the processing unit 13 stores the file "prg12.c" and the update date and time "2024 / 7 / 19 10:18:53" as a pair with the file "prg11.c" before the update.
[0159] Next, the type determination means 1311 acquires the type identifier "program" based on the extension ".c" of the file "prg12.c." Next, the judgment means 1310 acquires the change conditions "function addition" and "function deletion" that are paired with the type identifier "program." Next, the judgment means 1310 acquires "prg11.c" and "prg12.c" from the storage unit 11, and acquires the difference information between the two files. Next, the judgment means 1310 determines that the difference information does not correspond to either of the change conditions "function addition" and "function deletion." Then, the judgment means 1310 determines that the change content information should not be acquired. As a result, the change content information is not acquired, and the "change content information" for "ID=1" in FIG. 12 becomes "-(NULL)." If the change content information is not acquired, the processing unit 13 does not need to store the new file "prg12.c" and the update date and time "2024 / 7 / 19 10:18:53".
[0160] Next, assume that User X further advances development and issues an update instruction (for example, by typing "CTRL S") at the date and time "2024 / 7 / 19 10:39:21." Terminal device 2 then writes the program file being edited to disk with a new file name "prg13.c." Terminal device 2 also transmits the new file "prg13.c" and the date and time "2024 / 7 / 19 10:39:21" to version management device 1 for version management.
[0161] The information receiving unit 121 of the version management device 1 receives the file “prg13.c” and the update date and time from the terminal device 2.
[0162] Next, the processing unit 13 stores the file "prg13.c" and the update date and time "2024 / 7 / 19 10:39:21" as a pair with the file "prg12.c" before the update.
[0163] Next, the type determination means 1311 obtains the type identifier "program" from the extension ".c" of the file "prg13.c". Next, the judgment means 1310 obtains the change conditions "add function" and "delete function" that are paired with the type identifier "program". Next, the judgment means 1310 obtains "prg12.c" and "prg13.c" from the storage unit 11, and obtains the difference information between the two files. Next, the judgment means 1310 determines that the difference information corresponds to the change condition "add function". Then, the judgment means 1310 determines that the change content information should be obtained.
[0164] Next, the viewpoint identifier acquisition means 1312 acquires the viewpoint identifier "function" paired with the type identifier "program" from the viewpoint management table (FIG. 10).
[0165] Next, prompt acquisition means 1313 acquires the prompt template of FIG. 8 that pairs with the type identifier "program" from prompt template storage unit 111. Then, prompt acquisition means 1313 assigns data to the variables of the prompt template of FIG. 8 to construct the prompt of FIG. 14. Prompt acquisition means 1313 also acquires program source files "prg12.c" and "prg13.c" and pastes them below the prompt of FIG. 14. Through the above processing, the prompt to be given to the generation AI is completed.
[0166] Next, the answer acquisition means 1314 passes the constructed prompt to the generation AI, and then acquires an answer from the generation AI.
[0167] Next, the change content acquisition means 1315 acquires the change content information "A sorting function has been added" from the response acquired by the response acquisition means 1314.
[0168] Next, the output unit 14 stores the acquired change information "A sorting function has been added" in the record "ID=2" of the version control table (Figure 12) in a pair with the new program "prg13.c".
[0169] User X can view the stored change information, new programs, etc. by accessing the version management device 1. As a result, version management of software programs becomes easier, which supports software development.
[0170] In Example 1, if no change information is acquired, it is not necessary to store the new program. In such a case, for example, the record with "ID=1" in Fig. 12 is not written, and the old program of the record with "ID=2" is "prg11.c" and the new program is "prg12.c".
[0171] (Example 2) Assume that user Y, the creator of the electronic catalog, opens a catalog file identified by the catalog identifier "KTG01" and edits the file using terminal device 2. In this case, immediately after opening, terminal device 2 temporarily stores the file in a buffer or terminal storage unit 21 (not shown).
[0172] Then, it is assumed that user Y continues editing the catalog, and when the editing is completed, inputs an instruction to update the catalog file (for example, CTRL S) into terminal device 2.
[0173] The terminal device 2 then updates the catalog file in the terminal storage unit 21. Next, the terminal device 2 reads the file before the update from a buffer (not shown), reads the updated file, and creates difference information "file11" between the file before the update and the file after the update. The terminal device 2 also obtains the date and time "2024 / 7 / 18 11:56:28" from a clock (not shown). Next, the terminal device 2 transmits the catalog identifier "KTG01", the date and time "2024 / 7 / 18 11:56:28", and the difference information "file11" to the version management device 1.
[0174] Next, the information receiving unit 121 of the version management device 1 receives the catalog identifier "KTG01", the date and time "2024 / 7 / 18 11:56:28", and the difference information "file11", and stores the date and time "2024 / 7 / 18 11:56:28" and the catalog difference information "file11" in the version management table (Figure 13) in pairs with the catalog identifier "KTG01".
[0175] Next, the type determination means 1311 acquires the type identifier "catalog" based on the catalog identifier "KTG01".
[0176] Next, the determination means 1310 acquires the change condition "-" that is paired with the type identifier "catalog" from the change condition management table (FIG. 11). Then, the determination means 1310 determines that change content information should be acquired.
[0177] Next, the viewpoint identifier acquiring means 1312 acquires viewpoint identifiers "product type" and "image" that are paired with the type identifier "catalog".
[0178] Next, the prompt acquisition means 1313 acquires a file (not shown) of the previous version of the catalog corresponding to the catalog identifier "KTG01" from the storage unit 11. Assume that this file is "electronic catalog 10." The prompt acquisition means 1313 also acquires a new version file, "electronic catalog 11," from "electronic catalog 10" and the catalog difference information "file 11."
[0179] Next, the prompt acquisition means 1313 replaces the variable <electronic catalog 1> of the prompt template (FIG. 9) with "electronic catalog 10", the variable <electronic catalog 2> with "electronic catalog 11", and the variable <viewpoint identifier> with "product type, image". As a result, the prompt acquisition means 1313 acquires the prompt of FIG.
[0180] Next, the answer acquisition means 1314 passes the constructed prompt (FIG. 15) to the generation AI, and then the answer acquisition means 1314 acquires an answer from the generation AI.
[0181] Next, the change content acquisition means 1315 acquires the change content information "(1) A retro image... (2) A modern image..." from the answer acquired by the answer acquisition means 1314.
[0182] Next, the output unit 14 stores the acquired change content information "(1) Retro image... (2) Modern image..." in the top record of "ID=1" in the version control table (Figure 13) in a pair with the catalog difference information "file11."
[0183] As described above, according to this embodiment, appropriate version management of information that can be changed becomes possible.
[0184] Furthermore, according to this embodiment, appropriate version management of information that may be changed can be automatically performed.
[0185] Furthermore, according to this embodiment, more appropriate version management can be performed according to the type of information that can be changed.
[0186] Furthermore, according to this embodiment, appropriate version management of the catalog can be performed automatically.
[0187] Furthermore, according to this embodiment, appropriate version management of drawings can be performed automatically.
[0188] Furthermore, according to this embodiment, appropriate version management of the program source can be performed automatically.
[0189] The processing in this embodiment may be implemented by software. This software may be distributed by software download or the like. Furthermore, this software may be recorded on a recording medium such as a CD-ROM and distributed. This also applies to other embodiments in this specification. The software implementing the version management device 1 in this embodiment is the following program. Specifically, this program causes a computer to function as: an information receiving unit that receives first information and second information, which is information resulting from changes made to the first information, or difference information regarding the difference between the first information and the second information; a change acquisition unit that acquires, from a generation AI, change information regarding changes made to the second information relative to the first information, based on the first information and the second information or the difference information; and a change storage unit that stores the change information acquired by the change acquisition unit in association with the second information.
[0190] FIG. 16 is a block diagram of a computer system 300 that executes the programs described in this specification to realize the version management device 1 and the like according to the various embodiments described above.
[0191] In FIG. 16, a computer system 300 includes a computer 301 including a CD-ROM drive, a keyboard 302, a mouse 303, and a monitor 304.
[0192] 16, computer 301 includes, in addition to CD-ROM drive 3012, MPU 3013, bus 3014 connected to CD-ROM drive 3012 etc., ROM 3015 for storing programs such as a boot-up program, RAM 3016 connected to MPU 3013 for temporarily storing instructions of application programs and providing temporary storage space, and hard disk 3017 for storing application programs, system programs, and data. Although not shown here, computer 301 may further include a network card for providing connection to a LAN.
[0193] A program that causes computer system 300 to execute functions such as those of version management device 1 of the above-described embodiment may be stored on CD-ROM 3101, inserted into CD-ROM drive 3012, and then transferred to hard disk 3017. Alternatively, the program may be transmitted to computer 301 via a network (not shown) and stored on hard disk 3017. The program is loaded into RAM 3016 when executed. The program may also be loaded directly from CD-ROM 3101 or the network.
[0194] The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 301 to execute the functions of the version management device 1 of the above-described embodiment. The program need only include instructions that call appropriate functions (modules) in a controlled manner to achieve the desired results. How the computer system 300 operates is well known, and a detailed description thereof will be omitted.
[0195] In addition, in the above program, the steps of transmitting information and receiving information do not include processing performed by hardware, such as processing performed by a modem or interface card in the transmission step (processing that can only be performed by hardware).
[0196] The computer that executes the program may be a single computer or a plurality of computers, that is, it may perform centralized processing or distributed processing.
[0197] Furthermore, in each of the above embodiments, it goes without saying that two or more communication means present in one device may be physically realized by one medium.
[0198] Furthermore, in each of the above embodiments, each process may be realized by centralized processing in a single device, or may be realized by distributed processing in a plurality of devices.
[0199] The present invention is not limited to the above-described embodiment, and various modifications are possible, and it goes without saying that these modifications are also included within the scope of the present invention. [Industrial Applicability]
[0200] As described above, the version management device 1 according to the present invention has the effect of enabling appropriate version management of changeable information, and is useful as a server or the like that performs version management. [Explanation of symbols]
[0201] A Version Control System 1 Version control device 2. Terminal Device 3 Generation AI device 11 Storage area 12 Reception 13 Processing section 14 Output section 21 Terminal storage section 22 Terminal Reception 23 Terminal processing section 24 Terminal transmitter 25 Terminal receiving section 26 Terminal Output Unit 111 Prompt template storage section 112 Perspective Management Department 113 Information Management Department 121 Information Reception Department 122 Instruction Reception Department 130 Changes 131 Changes Acquisition Section 132 Change Contents Storage Unit 132 Answer acquisition part 133 Information Acquisition Department 1310 Judgment means 1311 Type determination means 1312 viewpoint identifier acquisition means 1313 Prompt Acquisition Method 1314 Answer acquisition means 1315 Changes Acquisition Method
Claims
1. an information receiving unit that receives first information and second information that is information resulting from a change made to the first information, or difference information regarding a difference between the first information and the second information; a change content acquisition unit that acquires change content information, which is information regarding changes to the second information relative to the first information, from a generation AI based on the first information and the second information or the difference information; a change content storage unit that stores the change content information acquired by the change content acquisition unit in association with the second information.
2. The change content acquisition unit A version management device as described in claim 1, which passes a prompt to the generation AI to obtain first feature information that explains the characteristics of the first information compared to the second information, and obtains the change content information including the first feature information from the generation AI.
3. The change content acquisition unit A version management device as described in claim 1 or claim 2, which passes a prompt to the generation AI to obtain second feature information that explains the characteristics of the second information compared to the first information, and obtains the change content information including the second feature information from the generation AI.
4. The information receiving unit receiving the second information changed in response to a change instruction for the first information; The change content acquisition unit In response to receiving the second information, automatically acquire the change content information from the generation AI; The change content accumulation unit 4. The version management device according to claim 1, wherein the change content information acquired by the change content acquisition unit is automatically stored in association with the first information and the second information.
5. The change content acquisition unit a determination means for determining whether the second information satisfies a change condition with respect to the first information; 5. The version management device according to claim 4, wherein when said determining means determines that said change condition is satisfied, said change content information is obtained from said generating AI.
6. a viewpoint management unit in which two or more viewpoint information pieces each having a type identifier for identifying a type of the first information and the second information and one or more viewpoint identifiers for identifying a viewpoint are stored; The change content acquisition unit a type determination means for acquiring a type identifier for identifying the type of the first information or the second information; a viewpoint identifier acquisition means for acquiring one or more viewpoint identifiers paired with the type identifier acquired by the type determination means; a prompt acquisition means for acquiring a prompt by substituting the one or more viewpoint identifiers acquired by the viewpoint identifier acquisition means into variables of a prompt template having variables into which viewpoint identifiers are substituted; an answer acquisition means for transferring the prompt acquired by the prompt acquisition means to a generation AI and acquiring an answer from the generation AI; 6. The version management device according to claim 1, further comprising: a change content acquisition unit that acquires the change content information from the response acquired by the response acquisition unit.
7. 7. The version management device according to claim 1, wherein the first information and the second information are catalog information of a product or service.
8. The version management device according to claim 1 , wherein the first information and the second information are drawings.
9. 7. The version management device according to claim 1, wherein the first information and the second information are program sources.
10. A version management method implemented by an information receiving unit, a change content acquisition unit, and a change content storage unit, comprising: an information receiving step in which the information receiving unit receives first information and second information that is information resulting from a change made to the first information, or difference information regarding a difference between the first information and the second information; a change content acquisition step in which the change content acquisition unit acquires change content information, which is information regarding changes made to the second information relative to the first information, from a generation AI based on the first information and the second information or the difference information; a change content storage step in which the change content storage unit stores the change content information acquired by the change content acquisition unit in association with the second information.
11. Computer, an information receiving unit that receives first information and second information that is information resulting from a change made to the first information, or difference information regarding a difference between the first information and the second information; a change content acquisition unit that acquires change content information, which is information regarding changes to the second information relative to the first information, from a generation AI based on the first information and the second information or the difference information; a program for causing the program to function as a change content storage unit that stores the change content information acquired by the change content acquisition unit in association with the second information;
Citation Information
Patent Citations
PROGRAMMABLE DEVICE, VERSION MANAGEMENT SYSTEM, VERSION MANAGEMENT METHOD AND PROGRAM
JP7462860B1