State transition management device, state transition management method, and state transition management program

The state transition management device allows version changes during state transitions, addressing the limitations of existing methods by setting version numbers for each transition and ensuring regulatory compliance, thereby improving state transition management in product distribution.

WO2024176302A1PCT designated stage expired Publication Date: 2024-08-29MITSUBISHI ELECTRIC CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/005999
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In product distribution, existing state transition management methods cannot change versions during an ongoing state transition, limiting the ability to manage state transitions effectively and preventing the addition or deletion of states based on versions.

Method used

A state transition management device and method that allows version changes during state transitions by setting a version number for each state transition, enabling the registration of new versions and confirming compliance with regulations, thus allowing dynamic version management.

Benefits of technology

Enables version changes during state transitions, allowing for the addition or deletion of states and ensuring compliance with specified regulations, enhancing the management of state transitions in product distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023005999_29082024_PF_FP_ABST
    Figure JP2023005999_29082024_PF_FP_ABST
Patent Text Reader

Abstract

When a received state transition rule is a rule for registration, a rule registration unit (112) sets an initial version number as an event for each of one or more state transitions in the rule for registration and registers the rule for registration in a rule storing unit after the setting. When a received state transition rule is an rule for updating, the rule registration unit (112) selects, from the rule storing unit, a state transition rule that is of the same type as the rule for updating; adds, to the selected state transition rule, each state transition among one or more state transitions in the rule for updating which is not present in the selected state transition rule; and, for each of said one or more state transitions in the selected state transition rule, sets as an event the version number which follows the most recent version number in the selected state transition rule.
Need to check novelty before this filing date? Find Prior Art

Description

State transition management device, state transition management method, and state transition management program

[0001] The present disclosure relates to state transition definitions and state management.

[0002] In recent years, product traceability management has become a requirement in product distribution. In product traceability management, the product status is registered. For example, statuses such as "manufacturing," "storage," and "transportation" are registered. By verifying that the status transitions conform to predefined rules when registering the status, it is possible to prevent incorrect status registration.

[0003] Many businesses are involved in the distribution of a product, so it is necessary to consider changing the version of the state transition specification at the start of the state transition or while the state transition is in progress.

[0004] Patent Document 1 discloses a method for workflow control.

[0005] JP 2008-310710 A

[0006] The method of Patent Document 1 is a method for workflow control, not a method for managing state transitions in product distribution. Furthermore, the method of Patent Document 1 does not perform version management. Even if the method of Patent Document 1 is applied to state transitions, it is not possible to add or delete states depending on the version. Furthermore, it is not possible to change the version while a state transition is in progress.

[0007] In product distribution, state transitions related to objects are managed. While it is possible to restart a workflow from the beginning midway, restarting product distribution from the beginning midway is difficult. Therefore, in product distribution, the inability to change versions while a state transition is in progress is an issue.

[0008] The present disclosure aims to enable version changes while a state transition is in progress.

[0009] The state transition management device of the present disclosure includes a reception unit that receives a state transition rule that indicates a series of state transitions, and a rule registration unit that, if the received state transition rule is a registration rule, sets an initial version number as an event for each of one or more state transitions in the series of state transitions, and registers the registration rule after setting in a rule storage unit.

[0010] According to the present disclosure, a version number can be set as an event for each state transition in the state transition rule. By using such a state transition rule, the user can change the version of the state transition by specifying the version number of the state transition they want to use for each state registered during the progress of the state transition. In other words, it is possible to change the version while the state transition is in progress.

[0011] 1 is a configuration diagram of a state transition management device 100 according to a first embodiment. A configuration diagram of a state transition management system 200 according to the first embodiment. A flowchart of rule registration according to the first embodiment. A diagram showing registration rules 201 according to the first embodiment. A flowchart of step S110 according to the first embodiment. A flowchart of step S110 according to the first embodiment. A diagram showing a specific example of step S110 according to the first embodiment. A flowchart of state registration according to the first embodiment. A flowchart of step S130 according to the first embodiment. A diagram showing a specific example of step S130 according to the first embodiment. A diagram showing a specific example of step S124 according to the first embodiment. A flowchart of step S140 according to the first embodiment. A diagram showing a specific example of step S140 according to the first embodiment. A diagram showing a specific example of step S127 according to the first embodiment. A configuration diagram of a state transition management system 200 according to a second embodiment. A flowchart of state registration A according to the second embodiment. A flowchart of state registration B according to the second embodiment. A hardware configuration diagram of a state transition management device 100 according to an embodiment.

[0012] In the embodiments and drawings, the same or corresponding elements are denoted by the same reference numerals. The description of elements denoted by the same reference numerals as those already described will be omitted or simplified as appropriate. Arrows in the drawings primarily indicate the flow of data or the flow of processing.

[0013] First Embodiment A state transition management device 100 will be described with reference to FIGS.

[0014] ***Description of Configuration*** The configuration of the state transition management device 100 will be described with reference to Fig. 1. The state transition management device 100 is a computer that includes hardware such as a processor 101, a memory 102, an auxiliary storage device 103, a communication device 104, and an input / output interface 105. These pieces of hardware are connected to one another via signal lines.

[0015] The processor 101 is an IC that performs arithmetic processing and controls other hardware. For example, the processor 101 is a CPU. IC is an abbreviation for Integrated Circuit. CPU is an abbreviation for Central Processing Unit.

[0016] The memory 102 is a volatile or non-volatile storage device. The memory 102 is also called a primary storage device or a main memory. For example, the memory 102 is a RAM. Data stored in the memory 102 is saved in the secondary storage device 103 as needed. RAM is an abbreviation for Random Access Memory.

[0017] The auxiliary storage device 103 is a non-volatile storage device. For example, the auxiliary storage device 103 is a ROM, a HDD, a flash memory, or a combination of these. Data stored in the auxiliary storage device 103 is loaded into the memory 102 as needed. ROM is an abbreviation for Read Only Memory. HDD is an abbreviation for Hard Disk Drive.

[0018] The communication device 104 is a receiver and a transmitter. For example, the communication device 104 is a communication chip or a NIC. Communication of the state transition management device 100 is performed using the communication device 104. NIC is an abbreviation for Network Interface Card.

[0019] The input / output interface 105 is a port to which an input device and an output device are connected. For example, the input / output interface 105 is a USB terminal, the input devices are a keyboard and a mouse, and the output device is a display. Input and output to and from the state transition management device 100 are performed using the input / output interface 105. USB is an abbreviation for Universal Serial Bus.

[0020] The state transition management device 100 includes elements such as a reception unit 111, a rule registration unit 112, a state verification unit 113, a state registration unit 114, and an output unit 115. These elements are realized by software.

[0021] The auxiliary storage device 103 stores a state transition management program for causing the computer to function as a reception unit 111, a rule registration unit 112, a state verification unit 113, a state registration unit 114, and an output unit 115. The state transition management program is loaded into the memory 102 and executed by the processor 101. The auxiliary storage device 103 also stores an OS. At least a portion of the OS is loaded into the memory 102 and executed by the processor 101. The processor 101 executes the state transition management program while running the OS. OS is an abbreviation for Operating System.

[0022] Input and output data of the state transition management program is stored in the storage unit 120. The auxiliary storage device 103 functions as the storage unit 120. However, storage devices such as the memory 102, a register in the processor 101, and a cache memory in the processor 101 may function as the storage unit 120 instead of or together with the auxiliary storage device 103.

[0023] The state transition management program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0024] The configuration of the state transition management system 200 will be described with reference to Fig. 2. The state transition management system 200 includes a state transition management device 100, a regulation transmission device 211, a status transmission device 212, and a result display device 213. The regulation transmission device 211, the status transmission device 212, and the result display device 213 are computers used by users. A single computer may function as the regulation transmission device 211, the status transmission device 212, and the result display device 213. The regulation storage unit 121 and the status storage unit 122 are part of the storage unit 120.

[0025] ***Description of Operation*** The operational procedure of state transition management device 100 corresponds to a state transition management method. Also, the operational procedure of state transition management device 100 corresponds to a processing procedure by a state transition management program.

[0026] The provision registration will be described with reference to FIG. 3. The provision registration is part of the state transition management method. In step S101, the reception unit 111 receives provision information. The provision information indicates a provision type and a state transition provision. The provision type is the type of state transition provision. The state transition provision indicates a series of state transitions from the initial state to the final state. The series of state transitions includes one or more state transitions. A state transition is a transition between two states. A state transition occurs in response to a specific event.

[0027] The regulating information is received as follows: The user inputs the regulating information to the regulating transmission device 211. The regulating transmission device 211 transmits the input regulating information to the state transition management device 100. The receiving unit 111 receives the transmitted regulating information.

[0028] In step S102, the rule registration unit 112 receives the rule information from the reception unit 111 and determines the rule use. The rule use means the use of the rule information. There are two types of rule use: rule registration and rule update. In rule registration, the rule information is registered in the rule storage unit 121. In rule update, the rule information is used to update the registered rule. The registered rule is a state transition rule registered in the rule storage unit 121.

[0029] The prescribed use is determined as follows: The user can specify the prescribed use. The specified prescribed use is indicated in the regulation information. If the prescribed use is indicated in the regulation information, the regulation registration unit 112 determines the prescribed use by referring to the regulation information. The regulation registration unit 112 searches the regulation storage unit 121 for a registered regulation of the same type as the regulation type in the regulation information. If not found, the regulation registration unit 112 determines the prescribed use as a prescribed registration. If found, the regulation registration unit 112 determines the prescribed use as a regulation update.

[0030] If the prescribed use is a prescribed registration, the process proceeds to step S103. In this case, the state transition rule in the prescribed information is referred to as a registration rule. If the prescribed use is a prescribed update, the process proceeds to step S105. In this case, the state transition rule in the prescribed information is referred to as an update rule.

[0031] In step S103, the rule registration unit 112 sets the first version number as an event for each of one or more state transitions in the registration rule.

[0032] A specific example of step S103 will be described with reference to FIG. 4. Registration rule 201 is an example of a registration rule. "S" represents the start of a series of state transitions. "E" represents the completion of a series of state transitions. In registration rule 201, the initial state is state a, and the final state is state c. The series of state transitions in registration rule 201 includes a state transition from state a to state b, and a state transition from state b to state c. The rule registration unit 112 sets a version number v1 to each state transition in the series of state transitions. "v1" is the first version number.

[0033] 3, the description will continue from step S104. In step S104, the registration rule 201 registers the registration rule to which the first version number is set, together with the rule type in the rule information, in the rule storage unit 121. After step S104, the process ends.

[0034] In the rule storage unit 121, the registered rules may be in any format as long as the format specifies the rule type, version number, one or more states, and transitions between states.

[0035] In step S105, the rule registration unit 112 selects from the rule storage unit 121 a registered rule of the same type as the rule type in the rule information.

[0036] In step S110, the rule registration unit 112 adds each of the state transitions that do not exist in the selected registered rule, among one or more state transitions in the update rule, to the selected registered rule. Then, the rule registration unit 112 sets the next version number as an event for each of the corresponding transitions in the selected registered rule. The corresponding transition is a state transition that corresponds to the state transition in the update rule. The next version number means the version number next to the latest version number in the registered rule. After step S110, the processing ends.

[0037] Details of step S110 will be described with reference to Figures 5 and 6. The registered rule selected in step S105 is referred to as a selected rule.

[0038] In step S111, the rule registration unit 112 refers to the selection rule and identifies the latest version number in the selection rule. Then, the rule registration unit 112 identifies the next version number based on the latest version number. For example, the rule registration unit 112 identifies the next version number as the latest version number plus 1.

[0039] In step S112, the rule registration unit 112 selects one unselected state in the update rule, starting from the first state. The selected state is referred to as the selected state.

[0040] In step S113, the rule registration unit 112 determines whether the selected state exists in the selection rule. If the selected state exists in the selection rule, the process proceeds to step S115. If the selected state does not exist in the selection rule, the process proceeds to step S114.

[0041] In step S114, the rule registration unit 112 adds the selected state to the selection rule. If the selected state is the first state, the rule registration unit 112 adds the selected state to the selection rule as the first state. If the selected state is the second or subsequent state, the rule registration unit 112 adds the selected state to the selection rule as the state next to the previous state. If the selected state is the final state, the rule registration unit 112 adds the selected state to the selection rule as the final state.

[0042] In step S115, the rule registration unit 112 refers to the update rule and identifies a state transition to the selected state. The identified state transition is called a target transition. The rule registration unit 112 then refers to the selection rule and determines whether the target transition exists in the selection rule. If the target transition exists in the selection rule, the process proceeds to step S117. If the target transition does not exist in the selection rule, the process proceeds to step S116.

[0043] In step S116, the rule registration unit 112 adds the target transition to the selection rule.

[0044] In step S117, the rule registration unit 112 sets the next version number as an event in the target transition in the selected rule.

[0045] In step S118, the rule registration unit 112 determines whether there is an unselected state in the update rule. If there is an unselected state, the process proceeds to step S112. If there is no unselected state, the process ends.

[0046] A specific example of step S110 will be described with reference to FIG. 7 . The update rule 202 is an example of an update rule. The registered rule 203 is an example of a registered rule of the same type as the update rule 202. The latest version number in the registered rule 203 is v2. The version number next to the latest version number v2 is v3. (1) The first state a in the update rule 202 exists in the registered rule 203. The rule registration unit 112 sets the next version number v3 for the state transition from the start to state a in the registered rule 203. (2) The second state b in the update rule 202 exists in the registered rule 203. The state transition from state a to state b in the update rule 202 exists in the registered rule 203. The rule registration unit 112 sets the next version number v3 for the state transition from state a to state b in the registered rule 203. (3) The third state d in the update rule 202 does not exist in the registered rule 203. The rule registration unit 112 adds state d to the registered rule 203, and adds the state transition from state b to state d to the registered rule 203. Then, the rule registration unit 112 sets the next version number v3 to the state transition from state b to state d in the registered rule 203. (4) The final state c in the update rule 202 exists in the registered rule 203. The state transition from state d to state c in the update rule 202 does not exist in the registered rule 203. The rule registration unit 112 adds the state transition from state d to state c to the registered rule 203. Then, the rule registration unit 112 sets the next version number v3 to the state transition from state d to state c in the registered rule 203. (5) The rule registration unit 112 sets the next version number v3 to the state transition from state c to completion in the registered rule 203.

[0047] The state registration will be described with reference to Fig. 8. The state registration is part of the state transition management method. In step S121, the receiving unit 111 receives state information. The state information indicates a new state.

[0048] Status information is received as follows: The user inputs status information to status transmission device 212. Status transmission device 212 transmits the input status information to status transition management device 100. Receiving unit 111 receives the transmitted status information.

[0049] In step S122, the state registration unit 114 receives the state information from the reception unit 111 and determines the state purpose. The state purpose means the purpose of the state information. There are two types of state purpose: state registration and state update. The state information for state registration is called state registration information. The state registration information is registered in the state storage unit 122. The state information for state update is called state update information. The state update information is used to update the registered state information. The registered state information is state information registered in the state storage unit 122.

[0050] The status use is determined as follows: The user can specify the status use. The specified status use is indicated in the status information. If the status use is indicated in the status information, the status registration unit 114 determines the status use by referring to the status information. If the status use is status registration, the user specifies a prescribed type. The specified prescribed type is indicated in the status information. If the prescribed type is indicated in the status information, the status registration unit 114 determines the status use to be status registration. If the status use is status update, the user specifies a registered status identifier. The specified registered status identifier is indicated in the status information. If the registered status identifier is indicated in the status information, the status registration unit 114 determines the status use to be status update. If the registered status identifier is not indicated in the status information, the status registration unit 114 can determine the status use to be status registration.

[0051] If the status use is status registration, the process proceeds to step S130. If the status use is status update, the process proceeds to step S140.

[0052] In step S130, the status verification unit 113 receives the status registration information from the status registration unit 114 and verifies the status registration information.

[0053] Step S130 will be described in detail with reference to Fig. 9. In step S131, the state verification unit 113 selects a registered rule of the same type as the rule type in the state registration information from the rule storage unit 121. The selected registered rule is referred to as a selected rule.

[0054] In step S132, the state verification unit 113 identifies a version number based on the state registration information. The identified version number is referred to as an identification number.

[0055] The specific number is identified as follows: The user can specify a version number. The specified version number is indicated in the status registration information. If a version number is indicated in the status registration information, the status verification unit 113 identifies the version number indicated in the status registration information as the specific number. If a version number is not indicated in the status registration information, the status verification unit 113 identifies the latest version number in the selection rules as the specific number.

[0056] In step S133, the state verification unit 113 selects one or more state transitions to which specific numbers are assigned from the selection rule. Next, the state verification unit 113 selects a leading state from the selected one or more state transitions. Then, the state verification unit 113 compares a new state in the state registration information with the selected leading state.

[0057] If the new state in the state registration information matches the selected top state, the process proceeds to step S134. If the new state in the state registration information does not match the selected top state, the process proceeds to step S135.

[0058] In step S134, the state verification unit 113 determines that the state can be registered, and outputs the verification result indicating information that the state can be registered and the identification number.

[0059] In step S135, the state verification unit 113 determines that the state cannot be registered, and outputs a verification result indicating that the state cannot be registered.

[0060] A specific example of step S130 will be described with reference to FIG. 10 . State registration information 204 is an example of state registration information. Registered rule 203 is a registered rule of the same rule type as rule type α in state registration information 204. (1) The version number is not indicated in state registration information 204. The latest version number in registered rule 203 is v3. In registered rule 203, the initial state of version number v3 is state a. The initial state a of version number v3 matches the new state a in state registration information 204. In this case, state verification unit 113 determines that state registration is possible. (2) The version number in state registration information 204 is v1. In registered rule 203, the initial state of version number v1 is state a. The initial state a of version number v1 matches the new state a in state registration information 204. In this case, state verification unit 113 determines that state registration is possible. (3) The version number in state registration information 204 is v3. In the registered rules 203, the initial state of version number v3 is state a. The initial state a of version number v3 does not match the new state w in the state registration information 204. In this case, the state verification unit 113 determines that the state cannot be registered.

[0061] The description will continue with reference back to Fig. 8. After step S130, the process proceeds to step S123.

[0062] In step S123, the status registration unit 114 receives the verification result from the status verification unit 113 and determines whether the status can be registered by referring to the verification result. If the status can be registered, the process proceeds to step S124. If the status cannot be registered, the process proceeds to step S125.

[0063] In step S124, the state registration unit 114 generates a new registration state identifier. The new registration state identifier is a registration state identifier that does not exist in the state storage unit 122. Then, the state registration unit 114 generates new registration state information based on the state registration information and registers the new registration state information in the state storage unit 122. The new registration state information indicates the new registration state identifier, the new state in the state registration information, the specified type in the state registration information, and the version number in the verification result.

[0064] A specific example of step S124 will be described with reference to Fig. 11. The registration status information 205 has an ID column, a status column, a specified type column, a version number column, and a latest column. The ID column indicates a registration status identifier. The status column indicates a status. The specified type column indicates a specified type. The version number column indicates a version number. The latest column indicates whether the status in the status column is the latest status.

[0065] The status registration unit 114 generates registration status information 205 for ID001 and registers the registration status information 205 for ID001 in the status storage unit 122.

[0066] Returning to Fig. 8, step S125 will be described. In step S125, the output unit 115 receives the registration result from the status registration unit 114 and outputs the registration result. If it is determined in step S123 that status registration is possible, the registration result indicates information that registration is complete and a registration status identifier. If it is determined in step S123 that status registration is not possible, the registration result indicates information that registration is error and a verification result.

[0067] Specifically, the output unit 115 transmits the registration result to the result display device 213. The result display device 213 receives the registration result and displays it on a display. The user checks the displayed registration result.

[0068] After step S125, the process ends.

[0069] The description continues from step S140. In step S140, the state verification unit 113 receives the state update information from the state registration unit 114 and verifies the state update information.

[0070] Details of step S140 will be described with reference to Fig. 12. In step S141, the state verification unit 113 selects registration state information having the same registration state identifier as the registration state identifier in the state update information from the state storage unit 122. The state shown in the state column of the selected registration state information is the latest state. The selected registration state information is referred to as selected state information.

[0071] If the state storage unit 122 does not contain any registration state information with the same registration state identifier as the registration state identifier in the state update information, the state verification unit 113 outputs a verification result indicating that the state cannot be registered because the corresponding registration state information does not exist, and the process then ends.

[0072] In step S142, the state verification unit 113 selects a registered rule of the same type as the rule type in the selection state information from the rule storage unit 121. The selected registered rule is referred to as a selected rule.

[0073] In step S143, the state verification unit 113 identifies a version number based on the state update information. The identified version number is referred to as an identification number.

[0074] The specific number is identified as follows: The user can specify a version number. The specified version number is indicated in the status update information. If a version number is indicated in the status update information, the status verification unit 113 identifies the version number indicated in the status update information as the specific number. If a version number is not indicated in the status update information, the status verification unit 113 identifies the version number in the selected status information as the specific number.

[0075] In step S144, a state transition from the latest state in the selected state information to a new state in the state update information is referred to as a new state transition. First, the state verification unit 113 selects a state transition with a specific number from the selection rule. Then, the state verification unit 113 compares the new state transition with each of the selected state transitions.

[0076] If the new state transition matches any of the selected state transitions, the process proceeds to step S145. If the new state transition does not match any of the selected state transitions, the process proceeds to step S146.

[0077] In step S145, the state verification unit 113 determines that the state can be registered, and outputs a verification result indicating information that the state can be registered and the specified type and specific number in the selected state information.

[0078] In step S146, the state verification unit 113 determines that the state cannot be registered, and outputs a verification result indicating that the state cannot be registered.

[0079] A specific example of step S140 will be described with reference to FIG. 13 . Status update information 206 is an example of status update information. Registration status information 205 is registration status information with the same registration status identifier as registration status identifier 001 in the status update information 206. Registered rule 203 is a registered rule of the same rule type as rule type α in the registration status information 205. (1) A version number is not indicated in the status update information 206. The version number in the selected status information is v1. A state transition from the latest state b in the registration status information 205 to a new state d in the status update information 206 is the new state transition. The new state transition (b → d) does not match any state transition with version number v1 in the registered rule 203. In this case, the state verification unit 113 determines that status registration is not possible. (2) The version number in the status update information 206 is v3. A state transition from the latest state b in the registration status information 205 to a new state d in the status update information 206 is the new state transition. The new state transition (b → d) matches the state transition (b → d) of version number v3 in the registered rules 203. In this case, the state verification unit 113 determines that state registration is possible. (3) The version number in the state update information 206 is v3. The state transition from the latest state b in the registered state information 205 to the new state w in the state update information 206 is the new state transition. The new state transition (b → w) does not match any of the state transitions of version number v3 in the registered rules 203. In this case, the state verification unit 113 determines that state registration is not possible.

[0080] Returning to Figure 8, the description continues. After step S140, the process proceeds to step S126.

[0081] In step S126, the state registration unit 114 receives the verification result from the state verification unit 113 and determines whether the state can be updated by referring to the verification result. If the state can be updated, the process proceeds to step S127. If the state cannot be updated, the process proceeds to step S128.

[0082] In step S127, the status registration unit 114 updates the registration status information having the same registration status identifier as the registration status identifier in the status update information, based on the status update information.

[0083] Specifically, the state registration unit 114 generates new registration state information based on the state update information, and adds the new registration state information to the state storage unit 122. The new registration state information indicates the registration state identifier in the state update information, the new state in the state update information, the specified type in the verification result, and the version number in the verification result.

[0084] A specific example of step S127 will be described with reference to Fig. 14. The status registration unit 114 generates new registration status information 205 for ID001 and adds the new registration status information 205 for ID001 to the status storage unit 122. The status registration unit 114 changes the information in the latest column of the previous registration status information 205 for ID001 to information indicating that the status in the status column is not the latest. As a result, the registration status information 205 for ID001 is updated.

[0085] The registered state information 205 for ID001 indicates the previous state a and the latest state c. The previous state a and the latest state c have different state transition version numbers. The state transition version number may be the same for all states, or may be different for each state. In other words, the user can specify a different version number for each state registration.

[0086] Returning to Fig. 8, step S128 will be described. In step S128, the output unit 115 receives the update result from the status registration unit 114 and outputs the update result. If it is determined in step S126 that the status can be updated, the update result indicates information that the update is complete and a registered status identifier. If it is determined in step S126 that the status cannot be updated, the update result indicates information that an update error has occurred and a verification result.

[0087] Specifically, the output unit 115 transmits the update results to the result display device 213. The result display device 213 receives the update results and displays them on a display. The user checks the displayed update results.

[0088] After step S128, the process ends.

[0089] ***Effects of First Embodiment*** The main features of the first embodiment are the rule registration unit 112 and the state verification unit 113. In particular, a state transition rule in which a state transition version is set as an event (action) is registered. Another feature is that when a new state is input, the new state is registered after confirming that the new state transition conforms to the rule. Conventionally, it has not been possible to add or delete a state depending on the version of a state transition. In the first embodiment, the input state transition rule is added to the registered state transition rule as a new version rule. That is, the first embodiment has the effect of being able to manage the version of a state transition in which a state has been added or deleted. If a state transition in which a state has been added or deleted is managed as a separate state transition rule, it is not possible to change the version of the state transition while the state transition is in progress. In the first embodiment, a state transition rule in which a version is set as an event (action) is referenced. Therefore, the first embodiment has the effect of being able to confirm that the input state conforms to the rule using a specified version of a state transition even while the state transition is in progress.

[0090] ***Example of First Embodiment*** The registered rules and registration state information may be managed by a plurality of state transition management devices 100 that communicate with each other via a network. For example, the registered rules and registration state information are managed using distributed ledger technology or blockchain technology.

[0091] Second Embodiment A second embodiment utilizing a plurality of state transition management devices 100 will be described, focusing mainly on the differences from the first embodiment, with reference to Figs.

[0092] ***Description of Configuration*** The configuration of the state transition management system 200 will be described with reference to Fig. 15. The state transition management system 200 comprises a plurality of state transition management devices (100A, 100B). The state transition management device 100A is a private state transition management device 100. The state transition management device 100B is a public state transition management device 100. There may be two or more state transition management devices 100A and two or more state transition management devices 100B.

[0093] The state transition information managed by state transition management device 100A is used only by a specific user or a specific system, while the state transition information managed by state transition management device 100B is used by an unspecified number of users or other systems.

[0094] ***Explanation of Operation*** We will now explain regulation registration. The user inputs regulation information for registration regulations into both state transition management device 100A and state transition management device 100B. The user inputs regulation information for update regulations into state transition management device 100A or state transition management device 100B.

[0095] The operation of state transition management device 100A to which specification information has been input is the same as the operation of state transition management device 100 in embodiment 1. The state transition specifications in the input specification information are managed by state transition management device 100A. The operation of state transition management device 100B to which specification information has been input is the same as the operation of state transition management device 100 in embodiment 1. The state transition specifications in the input specification information are managed by state transition management device 100B.

[0096] Each state in the state transition rule is marked with a disclosure status, which indicates whether the state can be made public.

[0097] The registration rules are confirmed in advance to ensure that their contents are correct. For example, all or some of the businesses that use the state transition management system 200 confirm in advance that the registration rules are correct state transition rules.

[0098] State registration will now be described. A user inputs state information into state transition management device 100A. The state information indicates a new state.

[0099] State registration A will be described with reference to Fig. 16. State registration A is state registration in state transition management device 100A.

[0100] In step S121, the receiving unit 111 receives state information. In step S122, the state registration unit 114 determines the state use. Steps S121 and S122 are as described in embodiment 1. After step S122, the process proceeds to step S201.

[0101] In step S201, the state registration unit 114 determines whether or not the new state can be made public.

[0102] Whether or not a data item can be made public is determined as follows: The user can specify whether or not it can be made public. The specified whether or not it can be made public is indicated in the state information. If whether or not it can be made public is indicated in the state information, the state registration unit 114 determines whether or not it can be made public by referring to the state information. If whether or not it can be made public is not indicated in the state information, the state registration unit 114 sends the state information and use information to the state transition management device 100B and inquires about whether or not it can be made public. The use information indicates the use of the state. In the state transition management device 100B, the state registration unit 114 selects a state transition rule corresponding to the state information in accordance with the use of the state (similar to S131 or S142). The state registration unit 114 selects a state corresponding to the new state from the selected state transition rule and refers to whether or not it can be made public assigned to the selected state. The state registration unit 114 then responds to the state transition management device 100A with whether or not it can be made public.

[0103] If the new state is not publicly available, the state transition management device 100A performs verification and registration / update. Specifically, if the state use is state registration, step S130 and steps S123 to S125 are executed, and if the state use is state update, step S140 and steps S126 to S128 are executed. Then, the process ends. If the new state is publicly available, the process proceeds to step S202.

[0104] In step S202, state registration unit 114 transmits the state information and application information to state transition management device 100 B. After step S202, state registration B, which will be described later, is executed in state transition management device 100 B, and the process proceeds to step S203.

[0105] In step S203, the state registration unit 114 receives the processing result (registration result or update result) from the state transition management device 100B. If the state use is state registration, the registration result becomes the processing result. If the state use is state update, the update result becomes the processing result.

[0106] The description of step S203 will be continued. The output unit 115 outputs the processing result (similar to step S125 or S128). After step S203, the process proceeds to step S204.

[0107] In step S204, the state registration unit 114 determines the processing result. If the processing result indicates that registration or update is complete, the state transition management device 100A performs verification and registration / update. Then, the processing ends. If the processing result indicates that a registration error or update error occurs, the processing ends.

[0108] State registration B will be described with reference to Fig. 17. State registration B is state registration in state transition management device 100B.

[0109] In step S211, state registration unit 114 receives state information and application information from state transition management device 100 A. After step S211, the process proceeds to step S122.

[0110] In step S122, the status registration unit 114 determines the status use. Step S122 is the same as that described in the first embodiment.

[0111] After step S122, state transition management device 100B executes verification and registration / update. Specifically, if the state use is state registration, steps S130, S123, and S124 are executed, and if the state use is state update, steps S140, S126, and S127 are executed. Then, the process proceeds to step S212.

[0112] In step S212, state registration unit 114 transmits the processing result (registration result or update result) to state transition management device 100 A. After step S212, the processing ends.

[0113] ***Effects of Second Embodiment*** The second embodiment utilizes a plurality of state transition management devices 100. By utilizing a plurality of state transition management devices 100, for example, it becomes possible for a plurality of operators to each perform state transition management. Specifically, depending on the situation, it is possible to selectively use state transitions that are managed only by a specific operator and state transitions that are jointly managed by a large number of operators. This makes it possible to manage shared state transitions while also managing state transitions that are not made public to other operators.

[0114] ***Example of Second Embodiment*** State transition management system 200 may have a function that prevents a new state from being registered in state transition management device 100B if the processing result in state transition management device 100A is a registration error or an update error. For example, if the processing result in state transition management device 100A is a registration error or an update error, state registration unit 114 requests state transition management device 100B to delete the new state. In state transition management device 100B, state registration unit 114 deletes the registered state information of the new state upon receiving the request.

[0115] *** Supplementary Information about the Embodiment *** The hardware configuration of the state transition management device 100 will be described with reference to Fig. 18. The state transition management device 100 includes a processing circuit 109. The processing circuit 109 is hardware that realizes a reception unit 111, a regulation registration unit 112, a state verification unit 113, a state registration unit 114, and an output unit 115. The processing circuit 109 may be dedicated hardware, or may be a processor 101 that executes a program stored in memory 102.

[0116] When the processing circuit 109 is dedicated hardware, the processing circuit 109 may be, for example, a single circuit, a multiple circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field Programmable Gate Array.

[0117] The state transition management device 100 may include a plurality of processing circuits that replace the processing circuit 109 .

[0118] In the processing circuit 109, some functions may be realized by dedicated hardware, and the remaining functions may be realized by software or firmware.

[0119] In this way, the functions of the state transition management device 100 can be realized by hardware, software, firmware, or a combination of these.

[0120] Each embodiment is an example of a preferred embodiment and is not intended to limit the technical scope of the present disclosure. Each embodiment may be implemented in part or in combination with other embodiments. Procedures described using flowcharts, etc. may be modified as appropriate.

[0121] The "part" of each element of the state transition management device 100 may be read as a "process," a "step," a "circuit," or a "circuitry."

[0122] 100 State transition management device, 101 Processor, 102 Memory, 103 Auxiliary storage device, 104 Communication device, 105 Input / output interface, 109 Processing circuit, 111 Reception unit, 112 Rule registration unit, 113 State verification unit, 114 State registration unit, 115 Output unit, 120 Memory unit, 121 Rule storage unit, 122 State storage unit, 200 State transition management system, 201 Registration rules, 202 Update rules, 203 Registered rules, 204 State registration information, 205 Registered state information, 206 State update information, 211 Rule transmission device, 212 State transmission device, 213 Result display device.

Claims

1. A state transition management device comprising: a reception unit that receives a state transition rule that indicates a series of state transitions; and a rule registration unit that, if the received state transition rule is a registration rule, sets an initial version number as an event for each of one or more state transitions in the series of state transitions, and registers the registration rule after setting in a rule storage unit.

2. The state transition management device of claim 1, wherein the rule registration unit, when the received state transition rule is an update rule, selects a state transition rule of the same type as the update rule from the rule storage unit, adds each of the one or more state transitions of the update rule that do not exist in the selected state transition rule to the selected state transition rule, and sets the next version number of the latest version number in the selected state transition rule as an event for each of the one or more state transitions in the selected state transition rule.

3. The state transition management device according to claim 1 or claim 2, comprising a state verification unit and a state registration unit, wherein the reception unit receives state registration information indicating a new state, a regulation type, and a version number, the state verification unit selects from the regulation storage unit a state transition regulation of the same type as the regulation type in the state registration information, and determines that the state can be registered if the leading state of one or more state transitions among the states in the selected state transition regulation that have the same version number as the version number in the state registration information matches the new state in the state registration information, and the state registration unit registers a new registered state identifier and registered state information indicating the state registration information in the state storage unit when it is determined that the state can be registered.

4. The state transition management device of claim 3, wherein the reception unit receives state registration information indicating a new state that can be made public, the state registration unit transmits the received state registration information to a public state transition management device, and when both the public state transition management device and the state verification unit determine that the state can be registered, registers the registered state information indicating the received state registration information in the state storage unit.

5. The state transition management device of claim 3 or claim 4, wherein the reception unit receives state update information indicating a registration state identifier, a new state, and a version number, the state verification unit selects from the state storage unit registration state information having a registration state identifier that is the same as the registration state identifier in the state update information, selects from the regulation storage unit a state transition regulation of the same type as the regulation type in the selected registration state information, and determines that the state update is possible if the state transition from the latest state in the selected registration state information to the new state in the state update information matches any of the state transitions in the selected state transition regulation having a version number that is the same as the version number in the state update information, and the state registration unit updates the selected registration state information based on the state update information when it is determined that the state update is possible.

6. The state transition management device of claim 5, wherein the reception unit receives state update information indicating a new state that can be made public, and the state registration unit transmits the received state update information to a public state transition management device, and updates the registered state information based on the received state update information when both the public state transition management device and the state verification unit determine that the state update is possible.

7. A state transition management device comprising: a reception unit that receives state registration information indicating a new state, a regulation type, and a version number; a state verification unit that selects a state transition regulation of the same type as the regulation type in the state registration information from a regulation storage unit, and determines that the state can be registered if the leading state of one or more state transitions in the selected state transition regulation that have the same version number as the version number in the state registration information matches the new state in the state registration information; and a state registration unit that registers a new registered state identifier and registered state information indicating the state registration information in the state storage unit if it is determined that the state can be registered.

8. The state transition management device of claim 7, wherein the reception unit receives state registration information indicating a new state that can be made public, the state registration unit transmits the received state registration information to a public state transition management device, and when both the public state transition management device and the state verification unit determine that the state can be registered, registers the registered state information indicating the received state registration information in the state storage unit.

9. A state transition management device as described in claim 7 or claim 8, wherein the reception unit receives state update information indicating a registration state identifier, a new state, and a version number, the state verification unit selects from the state storage unit registration state information having a registration state identifier that is the same as the registration state identifier in the state update information, selects from the regulation storage unit a state transition regulation of the same type as the regulation type in the selected registration state information, and determines that the state update is possible if a state transition from the latest state in the selected registration state information to the new state in the state update information matches any of the state transitions in the selected state transition regulation having a version number that is the same as the version number in the state update information, and the state registration unit updates the selected registration state information based on the state update information when it is determined that the state update is possible.

10. The state transition management device of claim 9, wherein the reception unit receives state update information indicating a new state that can be made public, and the state registration unit transmits the received state update information to a public state transition management device, and updates the registered state information based on the received state update information when both the public state transition management device and the state verification unit determine that the state update is possible.

11. A state transition management method comprising: receiving a state transition rule indicating a series of state transitions; if the received state transition rule is a rule for registration, setting an initial version number as an event for each of one or more state transitions in the series of state transitions; and registering the set rule for registration in a rule storage unit.

12. A state transition management method comprising: receiving state registration information indicating a new state, a regulation type, and a version number; selecting a state transition regulation of the same type as the regulation type in the state registration information from a regulation storage unit; determining that the state can be registered if the leading state of one or more state transitions in the selected state transition regulation that have the same version number as the version number in the state registration information matches the new state in the state registration information; and registering a new registered state identifier and registered state information indicating the state registration information in the state storage unit if it is determined that the state can be registered.

13. A state transition management program for causing a computer to execute the following steps: an acceptance process for accepting a state transition rule indicating a series of state transitions; and a rule registration process for, if the accepted state transition rule is a rule for registration, setting an initial version number as an event for each of one or more state transitions in the series of state transitions, and registering the set registration rule in a rule storage unit.

14. A state transition management program for causing a computer to execute the following steps: a reception process for receiving state registration information indicating a new state, a regulation type, and a version number; a state verification process for selecting a state transition regulation of the same type as the regulation type in the state registration information from a regulation storage unit, and determining that the state can be registered if the leading state of one or more state transitions among the states in the selected state transition regulation that have the same version number as the version number in the state registration information matches the new state in the state registration information; and a state registration process for registering a new registered state identifier and registered state information indicating the state registration information in the state storage unit if it is determined that the state can be registered.

Citation Information

Patent Citations

  • Control method and device of state machine, electronic equipment and storage medium

    CN114461691A

  • Extracting device for difference of state transition diagram

    JP1993127882A

  • Method and device for information access control and record medium recording information access control program

    JP2000215165A

  • Data-Driven Finite State Machine Engine for Flow Control

    US20080164908A1

  • System and method for state machine management

    US20180189096A1