State machine flow method, device, electronic device and storage medium

By establishing state machine models inside and outside the isolation domain and optimizing the data interaction process, the problem of low efficiency of data interaction inside and outside the isolation domain is solved, and more efficient data exchange and system stability are achieved.

CN114169005BActive Publication Date: 2025-09-05CHINA CONSTRUCTION BANK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111506937.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2025-09-05
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of data interaction between the isolation domain and the outside of the isolation domain is low, which leads to an increased possibility of system instability and data update disorder.

Method used

By establishing a state machine model and utilizing the flow conditions between the state machine input information and output state, state flow across isolation domains can be achieved, optimizing the data interaction process between upstream and downstream systems.

Benefits of technology

The efficiency of data interaction within and outside the isolation domain is improved, and the instability of the system and the possibility of data update errors are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114169005B_ABST
    Figure CN114169005B_ABST
Patent Text Reader

Abstract

The present application provides a state machine flow method, device, electronic device and storage medium, which relate to the field of communication technology. The method includes: determining the flow conditions between the input information and output state of the state machine; using the flow conditions to build a state machine model; receiving input information from the upstream system, updating the state machine to the initialization state, and then using the state machine model to perform state flow of the input information across the isolation domain. The method of the present application, by using the flow conditions between the input information and the output state of the state machine to establish a state machine model, realizes the state flow of input information across the isolation domain between the upstream system and the downstream system using the state machine model, thereby improving the efficiency of data interaction within and outside the isolation domain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a state machine flow method, device, electronic device and storage medium. Background Art

[0002] With the advancement of science and technology and the development of network technology, communications technology has become ubiquitous across all industries. Due to industry characteristics and regulatory requirements, various banking systems employ a similar isolation domain. This domain is a safe, vacuum-like environment for data exchange, separating business data from production environments and operational data from office automation (OA) systems. By deploying all operational business data for both external and internal users within the isolation domain and relocating all other non-production services outside of the isolation domain, user data security is ensured.

[0003] Daily work involves data exchange between isolated domains and outside of them. In existing technologies, this is typically accomplished by performing additional computations between the two systems using scheduled scripts or synchronization strategies, running batch calculations on the order of hundreds of thousands or millions of operations.

[0004] However, in the existing technology, since both systems inside and outside the isolation domain have to bear a lot of computing costs, the instability of the system and the possibility of data update errors are increased, which in turn leads to low data interaction efficiency between the isolation domain and outside the isolation domain. Summary of the Invention

[0005] The present application provides a state machine flow method, device, electronic device and storage medium to solve the technical problem of low data interaction efficiency within and outside the isolation domain in the prior art.

[0006] In a first aspect, the present application provides a state machine flow method, comprising:

[0007] Determine the flow conditions between the input information and output state of the state machine; use the flow conditions to build a state machine model; receive input information from the upstream system and update the state machine to the initialized state; use the state machine model to transfer the input information across isolation domains.

[0008] In an embodiment of the present application, a state machine model is established by utilizing the flow conditions between the input information and the output state of the state machine, and the state machine model is used to realize the state flow of input information across isolation domains between upstream systems and downstream systems, thereby improving the efficiency of data interaction within and outside the isolation domain.

[0009] In one possible implementation, the state machine transfer method provided in an embodiment of the present application includes a state machine model including nodes of the state machine within an isolation domain and nodes of the state machine outside the isolation domain. The state machine model is used to transfer the state of input information across isolation domains, including:

[0010] According to the processing process and flow conditions of the input information, the state machine flows between the nodes outside the isolation domain and the nodes inside the isolation domain to obtain the output state of the input information.

[0011] In one possible implementation, the state machine transfer method provided in the embodiment of the present application transfers the state machine between a node outside the isolation domain and a node within the isolation domain according to the processing process and transfer conditions of the input information, including:

[0012] The input information is used outside the isolation domain to generate requirement items, and the state machine is transferred to the analysis node outside the isolation domain to analyze whether the requirement items are included in the existing projects; if the requirement items are included in the existing projects, the state machine is transferred to the nodes within the isolation domain and flows between the nodes within the isolation domain according to the flow conditions.

[0013] In an embodiment of the present application, by transferring the state machine from the analysis node outside the isolation domain to the node within the isolation domain when the requirement item has been included in the existing project, the flow of the requirement item between the node outside the isolation domain and the node within the isolation domain is achieved.

[0014] In one possible implementation, the state machine flow method provided in the embodiment of the present application further includes:

[0015] If the requirement item is not included in the existing project, determine whether the requirement item is included in the new project; if the requirement item has been included in the new project, transfer the state machine to the node to be implemented outside the isolation domain, and then when the new project establishment process is completed, the state machine flows from the node to be implemented to the node within the isolation domain, and flows between the nodes within the isolated domain according to the flow conditions.

[0016] In an embodiment of the present application, for requirement items that have not been included in existing projects but have been included in new projects, after the new project establishment process is completed, the state machine flows from the node outside the isolation domain to the node within the isolation domain, thereby realizing the flow of requirement items between the nodes outside the isolation domain and the nodes within the isolation domain.

[0017] In one possible implementation, the state machine flow method provided in the embodiment of the present application further includes:

[0018] If the requirement item is not included in the new project, the state machine will be transferred to the application node outside the isolation domain; when the requirement item in the application node receives the project notification, the requirement item is included in the project, and the state machine will flow from the application node to the node in the isolation domain, and flow between the nodes in the isolation domain according to the flow conditions.

[0019] In an embodiment of the present application, for requirement items that are not included in existing projects or new projects, after receiving the issued project notification and incorporating the requirement items into the project, the state machine flows from the node outside the isolation domain to the node within the isolation domain, thereby realizing the flow of requirement items between the nodes outside the isolation domain and the nodes within the isolation domain.

[0020] In one possible implementation, the state machine transfer method provided in the embodiment of the present application transfers the state machine to the unaccepted node in the isolation domain after the requirement item is included in the project, and transfers between the nodes in the isolation domain according to the transfer conditions, including:

[0021] After the demand item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node; when the baseline plan status mapped to the target task is to be put into production or already put into production, the state machine flows from the accepted node to the put into production node; when the production date of the target task is reached, the state machine flows from the put into production node to the completed node, and the state machine operation ends.

[0022] The embodiment of the present application realizes the flow of the state machine between nodes in the isolation domain.

[0023] In one possible implementation, the state machine flow method provided in the embodiment of the present application further includes:

[0024] When the state machine flows to an accepted node, a production node, or a completed node in the isolation domain, if the requirement item is disassociated from the target task, the state machine flows to an unaccepted node.

[0025] In an embodiment of the present application, the adjustment of the demand item is achieved by transferring the state machine flow to the unaccepted node when the demand item is disassociated from the target task.

[0026] In one possible implementation, the state machine flow method provided in the embodiment of the present application, wherein the requirement item is a business requirement item, the method further includes:

[0027] When the state machine flows to any node in the isolation domain, if the business requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the node to be implemented outside the isolation domain.

[0028] In an embodiment of the present application, by unbinding the business requirements of the requirement items from the project, the state machine that flows to any node within the isolation domain flows from the node within the isolation domain to the node to be implemented outside the isolation domain, thereby achieving the unbinding of business requirement items from the project.

[0029] In one possible implementation, the state machine flow method provided in the embodiment of the present application has technical requirements and further includes:

[0030] When the state machine flows to any node in the isolation domain, if the technical requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the canceled node outside the isolation domain, and the state machine operation ends.

[0031] In an embodiment of the present application, by unbinding the technical requirements of the requirement items from the project, the state machine flows from the node within the isolation domain to the canceled node outside the isolation domain, thereby realizing the cancellation of technical requirement items when the state machine is at the node within the isolation domain.

[0032] The following introduces the state machine flow device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Their content and effects can refer to the state machine flow method provided in the embodiments of the present application and will not be repeated here.

[0033] In a second aspect, the present application provides a state machine flow device, comprising:

[0034] The determination module is used to determine the flow conditions between the input information and the output state of the state machine.

[0035] The building block is used to build a state machine model using flow conditions.

[0036] The receiving module is used to receive input information from the upstream system and update the state machine to the initialization state.

[0037] The processing module is used to use the state machine model to transfer the input information across the isolation domain.

[0038] In one possible implementation, in the state machine flow device provided in an embodiment of the present application, the state machine model includes nodes of the state machine within the isolation domain and nodes of the state machine outside the isolation domain, and the processing module is specifically configured to:

[0039] According to the processing process and flow conditions of the input information, the state machine flows between the nodes outside the isolation domain and the nodes inside the isolation domain to obtain the output state of the input information.

[0040] In one possible implementation, the state machine flow device and processing module provided in the embodiment of the present application are specifically configured to:

[0041] The input information is used outside the isolation domain to generate requirement items, and the state machine is transferred to the analysis node outside the isolation domain to analyze whether the requirement items are included in the existing projects; if the requirement items are included in the existing projects, the state machine is transferred to the nodes within the isolation domain and flows between the nodes within the isolation domain according to the flow conditions.

[0042] In one possible implementation, the state machine flow device provided in the embodiment of the present application, the processing module is further configured to:

[0043] If the requirement item is not included in the existing project, determine whether the requirement item is included in the new project; if the requirement item has been included in the new project, transfer the state machine to the node to be implemented outside the isolation domain, and then when the new project establishment process is completed, the state machine flows from the node to be implemented to the node within the isolation domain, and flows between the nodes within the isolated domain according to the flow conditions.

[0044] In one possible implementation, the state machine flow device and processing module provided in the embodiment of the present application are further configured to:

[0045] If the requirement item is not included in the new project, the state machine will be transferred to the application node outside the isolation domain; when the requirement item in the application node receives the project notification, the requirement item is included in the project, and the state machine will flow from the application node to the node in the isolation domain, and flow between the nodes in the isolation domain according to the flow conditions.

[0046] In one possible implementation, the state machine transfer device provided in the embodiment of the present application transfers the state machine to an unaccepted node in the isolation domain after the requirement item is included in the project. The processing module is specifically configured to:

[0047] After the demand item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node; when the baseline plan status mapped to the target task is to be put into production or already put into production, the state machine flows from the accepted node to the put into production node; when the production date of the target task is reached, the state machine flows from the put into production node to the completed node, and the state machine operation ends.

[0048] In one possible implementation, the state machine flow device and processing module provided in the embodiment of the present application are further configured to:

[0049] When the state machine flows to an accepted node, a production node, or a completed node in the isolation domain, if the requirement item is disassociated from the target task, the state machine flows to an unaccepted node.

[0050] In one possible implementation, the state machine flow device provided in the embodiment of the present application, the requirement item is a business requirement item, and the processing module is further configured to:

[0051] When the state machine flows to any node in the isolation domain, if the business requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the node to be implemented outside the isolation domain.

[0052] In one possible implementation, the state machine flow device provided in the embodiment of the present application has a technical requirement, and the processing module is further configured to:

[0053] When the state machine flows to any node in the isolation domain, if the technical requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the canceled node outside the isolation domain, and the state machine operation ends.

[0054] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0055] a processor, and a memory communicatively coupled to the processor;

[0056] Memory stores computer-executable instructions;

[0057] The processor executes the computer-executable instructions stored in the memory to implement the first aspect or provide a state machine flow method in an implementable manner of the first aspect.

[0058] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the state machine flow method provided in the first aspect or the implementable method of the first aspect.

[0059] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising computer-executable instructions, which, when executed by a processor, are used to implement the state machine flow method provided in the first aspect or the implementable manner of the first aspect.

[0060] The state machine flow method, device, electronic device and storage medium provided in the present application determine the flow conditions between the input information and the output state of the state machine and use the flow conditions to construct a state machine model. Receive input information from the upstream system, update the state machine to the initialization state, and then use the state machine model to perform state flow of the input information across the isolation domain. Since the state machine model is established by using the flow conditions between the input information and the output state of the state machine, the state machine model is used to realize the state flow of the input information across the isolation domain between the upstream system and the downstream system, thereby improving the efficiency of data interaction within and outside the isolation domain. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0062] Figure 1 This is an exemplary application scenario architecture diagram provided by an embodiment of the present application;

[0063] Figure 2 This is a flow chart of a state machine flow method provided in one embodiment of the present application;

[0064] Figure 3 This is a flow chart of a state machine flow method provided by another embodiment of the present application;

[0065] Figure 4 This is a schematic diagram of the structure of a state machine model provided in one embodiment of the present application;

[0066] Figure 5 is a structural diagram of a state machine model provided by another embodiment of the present application;

[0067] Figure 6 is a structural diagram of a state machine model provided in another embodiment of the present application;

[0068] Figure 7 is a structural diagram of a state machine model provided in yet another embodiment of the present application;

[0069] Figure 8 This is a structural diagram of a state machine flow device provided in one embodiment of the present application;

[0070] Figure 9 It is a structural diagram of an electronic device provided in an embodiment of the present application.

[0071] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0072] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

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

[0074] With the advancement of science and technology and the development of network technology, communications technology has become ubiquitous across all industries. Due to the unique characteristics of different industries and regulatory requirements, various banking systems often have a similar isolation domain. This isolation domain is a safe, vacuum zone for data exchange, acting as a barrier to isolate business data from production environments and operational data from OA systems. By deploying all business data that provides production services to external customers and internal users within the isolation domain, and all other non-production-related services outside the isolation domain, user data security is ensured. Daily work involves data exchange between these two domains. In existing technologies, data exchange between these two domains typically involves additional computational work performed between the two systems, using additional scheduled scripts or synchronization strategies. This involves running batch calculations on the order of hundreds of thousands or even millions of operations. This imposes significant computational overhead on both systems, increasing system instability and the potential for data update errors, leading to lower efficiency in data exchange between the two domains.

[0075] In order to solve the above technical problems, the inventive concept of the state machine flow method, device, electronic device and storage medium provided in this application is to establish a state machine model by utilizing the flow conditions between the state machine input information and the output state, and utilize the state machine model to realize the state flow of input information across isolation domains between upstream systems and downstream systems, which can improve the efficiency of data interaction within and outside the isolation domain.

[0076] The following describes exemplary application scenarios of the embodiments of the present application.

[0077] The state machine transfer method provided in the embodiment of the present application can be executed by the state machine transfer device provided in the embodiment of the present application. The state machine transfer device provided in the embodiment of the present application can be integrated into a server, or the state machine transfer device can be the server itself. The embodiment of the present application does not limit the specific type of server.

[0078] The embodiments of this application can be applied in the fields of enterprise-level Internet technology (IT) technology management and IT implementation management, where the IT technology management system is located outside the isolated domain, while the IT implementation management system is located within the isolated domain. Upstream and downstream systems exchange data, carrying the outputs of upstream feasibility studies and business requirements, and providing data support for various downstream systems. Figure 1 This is an exemplary application scenario architecture diagram provided by the embodiment of the present application. Figure 1 As shown, the system in the server includes upstream and downstream systems. There are two areas between the upstream and downstream systems: the isolation domain and the isolation domain. Services unrelated to the production environment are deployed outside the isolation domain, and the business data of the production environment is deployed inside the isolation domain. The server includes a state machine ( Figure 1 (Not shown), a state machine is typically a directed graph consisting of a set of state nodes and a set of corresponding trigger conditions and transition functions. The state machine in the server uses the state machine model to implement data flow between nodes within the isolation domain and nodes outside the isolation domain, thereby enabling cross-isolation domain data flow between upstream and downstream systems.

[0079] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0080] Figure 2 This is a flow chart of a state machine transfer method provided by an embodiment of the present application. This method can be executed by a state machine transfer device, which can be implemented by software and / or hardware. The state machine transfer method is described below with the server as the execution subject. Figure 2 As shown, the state machine flow method provided in the embodiment of the present application may include:

[0081] Step S101: Determine the flow conditions between the input information and the output state of the state machine.

[0082] The upstream system generates input information, which can be user data, organizational information, etc. Based on the input information, project requirements, new tasks, etc. can be proposed. After a series of processing, the output state is generated. In the process of processing the input information, it involves the flow between multiple nodes. When flowing from one node to another, or from one node to the same node, certain flow conditions need to be met, among which the flow conditions can be trigger conditions or transfer functions, etc.

[0083] For example, when the demand item at node 1 meets transfer condition 1, it is transferred to node 2, and when it meets transfer condition 2, it is transferred to node 3. This embodiment of the present application is merely an example and is not limited to this. The number of nodes, transfer conditions, etc. may vary depending on different user needs, and this embodiment of the present application does not impose any restrictions on this. Specifically, the transfer conditions between the input information and output state of the state machine can be determined based on the needs.

[0084] Step S102: construct a state machine model using the flow conditions.

[0085] After determining the flow conditions, the server can construct a state machine model based on the flow conditions. The embodiment of the present application does not limit the specific structure and flow conditions of the state machine model. In one possible implementation, the state machine model includes nodes outside the isolation domain and nodes within the isolation domain of the state machine. The flow conditions include flow conditions between nodes within the isolation domain of the state machine, flow conditions between nodes outside the isolation domain of the state machine, and flow conditions between nodes within the isolation domain of the state machine and nodes outside the isolation domain of the state machine.

[0086] Step S103: Receive input information from the upstream system and update the state machine to the initialization state.

[0087] Step S104: using the state machine model to transfer the input information across the isolation domain.

[0088] Receive input information from the upstream system, update the state machine to the initialized state, and then use the state machine model to transfer the input information across the isolation domain. The embodiment of the present application does not limit the specific implementation method of using the state machine model to transfer the input information across the isolation domain. It can be implemented based on the structure of the state machine model and the content of the input information.

[0089] In one possible implementation, the state machine transfer method provided in an embodiment of the present application includes a state machine model including nodes of the state machine within an isolation domain and nodes of the state machine outside the isolation domain. The state machine model is used to transfer the state of input information across isolation domains, including:

[0090] According to the processing process and flow conditions of the input information, the state machine flows between the nodes outside the isolation domain and the nodes inside the isolation domain to obtain the output state of the input information.

[0091] In an embodiment of the present application, through the process of processing the input information, for example, establishing a requirement item based on the input information, performing status judgment or process processing on the requirement item, combining the status judgment result of the requirement item and the process processing result, setting the flow conditions, and then realizing the state machine to flow between nodes outside the isolation domain and nodes within the isolation domain, and finally obtaining the output state of the input information, and the state machine operation ends.

[0092] In an embodiment of the present application, a state machine model is established by utilizing the flow conditions between the input information and the output state of the state machine, and the state machine model is used to realize the state flow of input information across isolation domains between upstream systems and downstream systems, thereby improving the efficiency of data interaction within and outside the isolation domain.

[0093] Figure 2 Based on the embodiment shown, the above-mentioned state machine model includes nodes of the state machine in the isolation domain and nodes of the state machine outside the isolation domain, and the state machine model is used to transfer the state of input information across the isolation domain, including: according to the processing process and flow conditions of the input information, the state machine flows between the nodes outside the isolation domain and the nodes within the isolation domain to obtain the output state of the input information. In one possible implementation, Figure 3 This is a flow chart of a state machine transfer method provided by another embodiment of the present application. This method can be executed by a state machine transfer device, which can be implemented by software and / or hardware. The state machine transfer method is described below with the server as the execution subject. Figure 3 As shown, the state machine flow method provided in the embodiment of the present application, step S104: using the state machine model to perform state flow of input information across isolation domains, may include:

[0094] Step S201: Generate a requirement item using input information outside the isolation domain, and the state machine flows to the analysis node outside the isolation domain to analyze whether the requirement item is included in the existing project.

[0095] Step S202: If the requirement item is included in the existing project, the state machine flows to the node in the isolation domain, and flows between the nodes in the isolation domain according to the flow conditions.

[0096] For ease of introduction, Figure 4 This is a schematic diagram of the structure of the state machine model provided in one embodiment of the present application. Figure 4 As shown, based on the input information from the upstream system, in the IT technology management system, that is, outside the isolation domain, a process requirement for issuing a requirement item is initiated, and the state machine flows from the initialization state to the analysis node to analyze whether the requirement item is included in the existing project.

[0097] If, after analysis, the requirement item has been included in the existing project, the state machine flows from the analysis node to the node of the IT implementation management system, that is, the node within the isolation domain, and flows between the nodes within the isolation domain according to the flow conditions.

[0098] In an embodiment of the present application, by transferring the state machine from the analysis node outside the isolation domain to the node within the isolation domain when the requirement item has been included in the existing project, the flow of the requirement item between the node outside the isolation domain and the node within the isolation domain is achieved.

[0099] In another possible implementation, if it is determined that the requirement item is not included in the existing project, it is necessary to determine whether the requirement item should be included in the new project, and migrate the state machine based on the determination result. Based on this, the state machine flow method provided in the embodiment of the present application further includes:

[0100] If the requirement item is not included in the existing project, determine whether the requirement item is included in the new project; if the requirement item has been included in the new project, transfer the state machine to the node to be implemented outside the isolation domain, and then when the new project establishment process is completed, the state machine flows from the node to be implemented to the node within the isolation domain, and flows between the nodes within the isolated domain according to the flow conditions.

[0101] like Figure 4 As shown, after judgment, the requirement item has been included in the new project, and the state machine will be transferred to the node to be implemented outside the isolation domain. At this time, the requirement item is in the state of waiting for implementation, waiting for the new project establishment process. After the new project establishment process is completed, the state machine will flow from the node to be implemented to the node in the isolation domain, and flow between the nodes in the isolated domain according to the flow conditions.

[0102] In an embodiment of the present application, for requirement items that have not been included in existing projects but have been included in new projects, after the new project establishment process is completed, the state machine flows from the node outside the isolation domain to the node within the isolation domain, thereby realizing the flow of requirement items between the nodes outside the isolation domain and the nodes within the isolation domain.

[0103] In another possible implementation, if the requirement item is not included in an existing project and is not included in a new project, it is necessary to apply for a new project for the requirement item. Based on this, the state machine flow method provided in the embodiment of the present application further includes:

[0104] If the requirement item is not included in the new project, the state machine will be transferred to the application node outside the isolation domain; when the requirement item in the application node receives the project notification, the requirement item is included in the project, and the state machine will flow from the application node to the node in the isolation domain, and flow between the nodes in the isolation domain according to the flow conditions.

[0105] like Figure 4 As shown in the figure, after determining that the requirement item is not included in the new project, the state machine is transferred to the application node outside the isolation domain to apply for a new project and wait for the project notification to be issued. Upon receiving the notification that the requirement item has been issued, the requirement item is included in the new project. At this time, the state machine is transferred from the application node to a node within the isolation domain, and then transferred between nodes within the isolation domain according to the transfer conditions.

[0106] In an embodiment of the present application, for requirement items that are not included in existing projects or new projects, after receiving the issued project notification and incorporating the requirement items into the project, the state machine flows from the node outside the isolation domain to the node within the isolation domain, thereby realizing the flow of requirement items between the nodes outside the isolation domain and the nodes within the isolation domain.

[0107] The embodiments of the present application do not limit the specific implementation manner in which the state machine transfers between nodes within the isolated domain according to the transfer conditions. In one possible implementation, the state machine transfer method provided in the embodiments of the present application, after the requirement item is included in the project, transfers the state machine to the unaccepted node within the isolated domain, and transfers between the nodes within the isolated domain according to the transfer conditions, including:

[0108] After the demand item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node; when the baseline plan status mapped to the target task is to be put into production or already put into production, the state machine flows from the accepted node to the put into production node; when the production date of the target task is reached, the state machine flows from the put into production node to the completed node, and the state machine operation ends.

[0109] like Figure 4 As shown in the figure, after a requirement item is included in the project, the state machine flows from a node outside the isolation domain to an unaccepted node within the isolation domain, waiting for the requirement item to be scheduled. After the requirement item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node. When the baseline plan status mapped to the target task is pending or already in production, the state machine flows from the accepted node to the already in production node. When the target task's production date is reached, the state machine flows from the already in production node to the completed node, completing the state machine operation. This completes the flow of state machines between nodes within the isolation domain.

[0110] The above embodiments are combined Figure 4 , introduced the forward state machine flow process of the whole life cycle of the requirement item, but in the actual flow operation process of the whole life cycle of the requirement item, there may be other special cases. Based on this, in a possible implementation method, Figure 5 This is a structural diagram of a state machine model provided by another embodiment of the present application. Figure 5 As shown, the state machine flow method provided in the embodiment of the present application also includes:

[0111] When the state machine flows to an accepted node, a production node, or a completed node in the isolation domain, if the requirement item is disassociated from the target task, the state machine flows to an unaccepted node.

[0112] like Figure 5As shown, when the demand item has been scheduled to the target task, or the baseline plan status mapped to the target task of the demand item is to be put into production or has been put into production, or the production date of the target task has been reached, it is possible that the demand item and the target task will be de-associated. In the above cases, the state machine flows from the undertaken node, the put into production node, or the completed node in the isolation domain to the unaccepted node in the isolation domain. In the embodiment of the present application, the adjustment of the demand item is achieved by transferring the state machine to the unaccepted node when the demand item and the target task are de-associated.

[0113] In one possible implementation, the demand item has entered the scope of the IT implementation management system and is even close to the production stage, but it is necessary to initiate an operation to adjust the project within the scope of the IT technology management system.

[0114] Based on this, in a possible implementation, the requirement item is a business requirement item. Figure 6 This is a structural diagram of a state machine model provided by another embodiment of the present application. Figure 6 As shown, the state machine flow method provided in the embodiment of the present application also includes:

[0115] When the state machine flows to any node in the isolation domain, if the business requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the node to be implemented outside the isolation domain.

[0116] like Figure 6 As shown, in any case where a business requirement item is included in the project, has been scheduled to the target task, the baseline plan status mapped to the target task of the requirement item is to be put into production or has been put into production, or the production date of the target task has been reached, the business requirement of the business requirement item is untied from the project, the business requirement item will be returned to the requirement pool, and the state machine will flow from the unaccepted node, the accepted node, the put into production node, or the completed node within the isolation domain to the node to be implemented outside the isolation domain.

[0117] In an embodiment of the present application, by unbinding the business requirements of the requirement items from the project, the state machine that flows to any node within the isolation domain flows from the node within the isolation domain to the node to be implemented outside the isolation domain, thereby achieving the unbinding of business requirement items from the project.

[0118] In another possible implementation, the requirement item is a technical requirement item. Figure 7 This is a structural diagram of a state machine model provided in another embodiment of the present application. Figure 7 As shown, the state machine flow method provided in the embodiment of the present application also includes:

[0119] When the state machine flows to any node in the isolation domain, if the technical requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the canceled node outside the isolation domain, and the state machine operation ends.

[0120] like Figure 7 As shown in the figure, if a technical requirement is included in a project, scheduled to a target task, the baseline plan status mapped to the target task is in the To Be Started or Started state, or the target task's start date is reached, the technical requirements of the technical requirement are unbound from the project and will not be returned to the demand pool. The technical requirement is canceled. The state machine flows from the Unaccepted, Accepted, Started, or Completed nodes within the isolation domain to the Cancelled node outside the isolation domain.

[0121] In an embodiment of the present application, by unbinding the technical requirements of the requirement items from the project, the state machine flows from the node within the isolation domain to the canceled node outside the isolation domain, thereby realizing the cancellation of technical requirement items when the state machine is at the node within the isolation domain.

[0122] In the scenario where the requirement item is disassociated from the target task, or the requirement item is untied from the project, compared to the existing technology, the existence of shared variables between the isolation domain and the current synchronization through additional scripts or policies will cause a certain time state deviation of the requirement items between the two sets of services or systems inside and outside the isolation domain, and relatively high manpower costs will be borne in terms of maintenance and support. The state machine flow method provided in the embodiment of the present application has a lower maintenance cost.

[0123] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0124] Figure 8 This is a schematic diagram of the structure of a state machine flow device provided in an embodiment of the present application. The device can be implemented by software and / or hardware, for example, it can be implemented by a server, such as Figure 8 As shown, the state machine flow device provided in the embodiment of the present application may include: a determination module 41, a construction module 42, a receiving module 43 and a processing module 44.

[0125] The determination module 41 is used to determine the flow conditions between the input information and the output state of the state machine.

[0126] The construction module 42 is used to construct a state machine model using the flow conditions.

[0127] The receiving module 43 is used to receive input information from the upstream system and update the state machine to the initialization state.

[0128] The processing module 44 is used to use the state machine model to perform state flow on the input information across the isolation domain.

[0129] In one possible implementation, in the state machine flow device provided in an embodiment of the present application, the state machine model includes nodes of the state machine within the isolation domain and nodes of the state machine outside the isolation domain, and the processing module 44 is specifically configured to:

[0130] According to the processing process and flow conditions of the input information, the state machine flows between the nodes outside the isolation domain and the nodes inside the isolation domain to obtain the output state of the input information.

[0131] The device of this embodiment can perform the above Figure 2 The technical principles and technical effects of the method embodiment shown are similar to those of the above embodiment and will not be repeated here.

[0132] On the basis of the above embodiment, further, in a possible implementation manner, the state machine flow device provided in the embodiment of the present application, the processing module 44, is specifically configured to:

[0133] The input information is used to generate requirement items outside the isolation domain, and the state machine flows to the analysis node outside the isolation domain to analyze whether the requirement items are included in the existing projects; if the requirement items are included in the existing projects, the state machine flows to the nodes within the isolation domain and flows between the nodes within the isolation domain according to the flow conditions.

[0134] In a possible implementation, in the state machine flow device provided in the embodiment of the present application, the processing module 44 is further configured to:

[0135] If the requirement item is not included in the existing project, determine whether the requirement item is included in the new project; if the requirement item has been included in the new project, transfer the state machine to the node to be implemented outside the isolation domain, and then when the new project establishment process is completed, the state machine flows from the node to be implemented to the node within the isolation domain, and flows between the nodes within the isolated domain according to the flow conditions.

[0136] In one possible implementation, the state machine flow device provided in the embodiment of the present application, the processing module 44, is further configured to:

[0137] If the requirement item is not included in the new project, the state machine will be transferred to the application node outside the isolation domain; when the requirement item in the application node receives the project notification, the requirement item is included in the project, and the state machine will flow from the application node to the node in the isolation domain, and flow between the nodes in the isolation domain according to the flow conditions.

[0138] Based on the above embodiment, in one possible implementation, the state machine transfer device provided in the embodiment of the present application transfers the state machine to the unaccepted node in the isolation domain after the requirement item is included in the project. The processing module 44 is specifically configured to:

[0139] After the demand item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node; when the baseline plan status mapped to the target task is to be put into production or already put into production, the state machine flows from the accepted node to the put into production node; when the production date of the target task is reached, the state machine flows from the put into production node to the completed node, and the state machine operation ends.

[0140] In one possible implementation, the state machine flow device provided in the embodiment of the present application, the processing module 44, is further configured to:

[0141] When the state machine flows to an accepted node, a production node, or a completed node in the isolation domain, if the requirement item is disassociated from the target task, the state machine flows to an unaccepted node.

[0142] In a possible implementation, in the state machine flow device provided in an embodiment of the present application, the requirement item is a business requirement item, and the processing module 44 is further configured to:

[0143] When the state machine flows to any node in the isolation domain, if the business requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the node to be implemented outside the isolation domain.

[0144] In a possible implementation, the state machine flow device provided in the embodiment of the present application has a technical requirement, and the processing module 44 is further configured to:

[0145] When the state machine flows to any node in the isolation domain, if the technical requirements of the requirement item are unbound from the project, the state machine flows from the node in the isolation domain to the canceled node outside the isolation domain, and the state machine operation ends.

[0146] The device embodiments provided in this application are merely illustrative. Figure 8 The module division in the description is merely a logical functional division; other division methods may be used in actual implementation. For example, multiple modules may be combined or integrated into another system. The coupling between the modules may be achieved through some interfaces, which are usually electrical communication interfaces, but mechanical interfaces or other forms of interfaces are not excluded. Therefore, the modules described as separate components may or may not be physically separate and may be located in the same place or distributed in different locations on the same or different devices.

[0147] Figure 9is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a server, such as Figure 9 As shown, the electronic device includes:

[0148] A receiver 50, a transmitter 51, a processor 52, a memory 53, and a computer program; wherein the receiver 50 and the transmitter 51 implement data transmission between other devices, the computer program is stored in the memory 53, and is configured to be executed by the processor 52, the computer program includes instructions for executing the above-mentioned state machine flow method, and its content and effect please refer to the method embodiment.

[0149] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When at least one processor of a user device executes the computer-executable instructions, the user device executes the various possible methods described above.

[0150] Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of computer programs from one location to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium can be located in an ASIC. Alternatively, the ASIC can be located in a user device. Of course, the processor and storage medium can also exist as discrete components in a communication device.

[0151] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0152] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the various steps in the state machine flow method in the above embodiment.

[0153] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0154] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A state machine flow method, characterized in that: include: Determine the flow conditions between the input information and output state of the state machine; Using the flow conditions, construct a state machine model; receiving the input information from the upstream system and updating the state machine to an initialized state; Using the state machine model to transfer the input information across isolation domains; The state machine model includes nodes of the state machine within the isolation domain and nodes of the state machine outside the isolation domain, and using the state machine model to perform state flow on the input information across the isolation domain includes: Generating a requirement item using the input information outside the isolation domain, transferring the state machine to an analysis node outside the isolation domain, and analyzing whether the requirement item is included in an existing project; If the requirement item is included in an existing project, the state machine flows to the node in the isolation domain, and flows between the nodes in the isolation domain according to the flow condition; If the requirement item is not included in the existing project, determine whether the requirement item is included in the new project; If the requirement item has been included in the new project, the state machine is transferred to the to-be-implemented node outside the isolation domain. When the new project establishment process is completed, the state machine is transferred from the to-be-implemented node to the node within the isolation domain, and is transferred between the nodes within the isolation domain according to the transfer conditions. If the requirement item is not included in the new project, the state machine flow is transferred to the application node outside the isolation domain; When the requirement item of the application node receives a project notification, the requirement item is included in the project, and the state machine flows from the application node to the node in the isolation domain, and flows between the nodes in the isolation domain according to the flow conditions; Among them, services unrelated to the production environment are deployed outside the isolation domain, and business data of the production environment are deployed within the isolation domain.

2. The method according to claim 1, characterized in that After the requirement item is included in the project, the state machine flows to the unaccepted node in the isolation domain, and the flow between the nodes in the isolation domain according to the flow condition includes: After the demand item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node; When the baseline plan status mapped to the target task is a state to be put into production or a state already put into production, the state machine flows from the undertaken node to the put into production node; When the production date of the target task is reached, the state machine flows from the production-ready node to the completed node, and the state machine ends its operation.

3. The method according to claim 2, characterized in that Also includes: When the state machine flows to the undertaken node, the produced node, or the completed node in the isolation domain, if the requirement item is disassociated from the target task, the state machine flows to the unaccepted node.

4. The method according to claim 3, characterized in that The requirement item is a business requirement item, and the method further includes: When the state machine flows to any node within the isolation domain, if the business requirements of the requirement item are unbound from the project, the state machine flows from the node within the isolation domain to the node to be implemented outside the isolation domain.

5. The method according to claim 3, characterized in that The requirement item is a technical requirement item, and the method further includes: When the state machine flows to any node within the isolation domain, if the technical requirements of the requirement item are unbound from the project, the state machine flows from the node within the isolation domain to the canceled node outside the isolation domain, and the state machine operation ends.

6. A state machine flow device, characterized in that: include: A determination module, used to determine the flow conditions between the input information and output state of the state machine; A construction module, configured to construct a state machine model using the flow conditions; A receiving module, configured to receive the input information from an upstream system and update the state machine to an initialized state; A processing module, configured to perform state transfer of the input information across isolation domains using the state machine model; The state machine model includes nodes of the state machine within the isolation domain and nodes of the state machine outside the isolation domain, and the processing module is specifically used to: According to the processing of the input information and the flow condition, the state machine flows between the node outside the isolation domain and the node inside the isolation domain to obtain the output state of the input information; The processing module is specifically used to: Generating a requirement item using the input information outside the isolation domain, the state machine goes to an analysis node outside the isolation domain, and analyzes whether the requirement item is included in an existing project; If the requirement item is included in an existing project, the state machine flows to the node in the isolation domain, and flows between the nodes in the isolation domain according to the flow condition; The processing module is further configured to: If the requirement item is not included in the existing project, determine whether the requirement item is included in the new project; If the requirement item has been included in the new project, the state machine is transferred to the to-be-implemented node outside the isolation domain. When the new project establishment process is completed, the state machine is transferred from the to-be-implemented node to the node within the isolation domain, and is transferred between the nodes within the isolation domain according to the transfer conditions. The processing module is further configured to: If the requirement item is not included in the new project, the state machine flow is transferred to the application node outside the isolation domain; When the requirement item of the application node receives a project notification, the requirement item is included in the project, and the state machine flows from the application node to the node in the isolation domain, and flows between the nodes in the isolation domain according to the flow conditions; Among them, services unrelated to the production environment are deployed outside the isolation domain, and business data of the production environment are deployed within the isolation domain.

7. The device according to claim 6, characterized in that After the requirement item is included in the project, the state machine flows to the unaccepted node in the isolation domain, and the processing module is specifically configured to: After the demand item is scheduled to the target task, the state machine flows from the unaccepted node to the accepted node; When the baseline plan status mapped to the target task is a state to be put into production or a state already put into production, the state machine flows from the undertaken node to the put into production node; When the production date of the target task is reached, the state machine flows from the production-ready node to the completed node, and the state machine ends its operation.

8. The device according to claim 7, characterized in that The processing module is further configured to: When the state machine flows to the undertaken node, the produced node, or the completed node in the isolation domain, if the requirement item is disassociated from the target task, the state machine flows to the unaccepted node.

9. The device according to claim 8, characterized in that The requirement item is a business requirement item, and the processing module is further used to: When the state machine flows to any node within the isolation domain, if the business requirements of the requirement item are unbound from the project, the state machine flows from the node within the isolation domain to the node to be implemented outside the isolation domain.

10. The device according to claim 8, characterized in that The requirement item is a technical requirement item, and the processing module is further used to: When the state machine flows to any node within the isolation domain, if the technical requirements of the requirement item are unbound from the project, the state machine flows from the node within the isolation domain to the canceled node outside the isolation domain, and the state machine operation ends.

11. An electronic device comprising: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.

13. A computer program product comprising computer-executable instructions, wherein when the computer-executable instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Cloud space information product circulation method based on extended finite-state machine model

    CN113112230A