Instruction state linkage method and device, electronic equipment and storage medium
By configuring the rule linkage information table in the instruction processing system, the instruction status and business status can be updated synchronously, which solves the problem of inflexible linkage between the business system and the instruction system and improves the efficiency and accuracy of business instruction processing.
Patent Information
- Application Number
- CN202410295062.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-14
- Publication Date
- 2025-09-16
AI Technical Summary
In the prior art, the linkage between the business data status of the business system and the instruction data status in the instruction system is not flexible enough, resulting in low efficiency in business instruction processing.
By pre-configuring the rule linkage information table in the instruction processing system, the linkage update of the instruction status and the business status is realized, including receiving the status information of the instruction and business system, and synchronously updating the status according to the processing operation.
It improves the timely linkage between the instruction status in the instruction system and the business status in the business system, and improves the efficiency and accuracy of business instruction processing.
Smart Images

Figure CN120653650A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device, and storage medium for linking instruction states. Background Art
[0002] The command system is a system used to define and execute various command businesses for regulatory customers. That is, the business system communicates with the command system, the business system sends business instructions to the command system, and the command system processes the business instructions.
[0003] In the prior art, the linkage between the business data status of the business system and the instruction data status in the instruction system is not flexible enough, resulting in low efficiency in business instruction processing. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a command status linkage method, device, electronic device and storage medium to improve the efficiency of business command processing.
[0005] In a first aspect, an embodiment of the present application provides an instruction status linkage method, which is applied to an instruction processing system, wherein a rule linkage information table is pre-configured in the instruction processing system, and the instruction processing system is in communication with a business system, the method comprising:
[0006] Receive instructions sent by the business system, the instructions including instruction identifiers;
[0007] Read the rule linkage information table based on the instruction identifier to obtain the instruction status and business status corresponding to the instruction identifier; the rule linkage information table includes the instruction status and business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process;
[0008] receiving a processing operation to process the instruction;
[0009] The instruction status and business status in the rule linkage information are updated according to the processing operation to achieve linkage update of the instruction status and the business status.
[0010] The embodiment of the present application sets up a rule linkage information table, in which the association relationship between the instruction status and the business status is set. Therefore, when the instruction status changes, the business status will also change accordingly. Similarly, when the business status changes, the instruction status will also change. This improves the timely linkage between the instruction status in the instruction system and the business status in the business system, thereby improving the efficiency of business instruction processing.
[0011] In any embodiment, the method further comprises:
[0012] Receive updated information of the associated business fields corresponding to the instructions sent by the business system;
[0013] Update the rule linkage information table according to the updated information.
[0014] In the embodiment of the present application, by pre-configuring update information of the associated business field, the business system can send the latest associated business field to the instruction system, thereby improving the accuracy of business instruction processing.
[0015] In any embodiment, the rule linkage information table also includes at least one of the following: instruction operation, business operation, linkage interface address, linkage interface request parameter, interface request type, whether to start the linkage rule, rule description, and dynamic feign request callback interface.
[0016] In the embodiment of the present application, the rule linkage information table may also include other relevant parameters to collaboratively complete the processing of the instructions.
[0017] In any embodiment, the method further comprises:
[0018] receiving an instruction type configuration request, the instruction type configuration request including an instruction type to be configured;
[0019] Get the business fields to be associated with the instruction type according to the instruction type, and display the business fields;
[0020] Receiving the associated business fields determined by the user based on the business fields to be associated;
[0021] Generate configuration information corresponding to the instruction type based on the associated business fields.
[0022] The embodiment of the present application provides an instruction type configuration page, allowing users to visually configure the required business fields through the page, and provides an interface to the business system, allowing users to call the interface through the business system to obtain the page corresponding to the instruction type, thereby lowering the configuration threshold.
[0023] In any embodiment, the configuration information includes business description, whether it is a default module, module default fields, business system identifier, business field protocol, business operation, business key value, displayed business fields, path for obtaining business instance data, whether the business field is automatically updated, update cycle, and multiple fields in the obtained business.
[0024] In the embodiment of the present application, the generated configuration information includes multiple fields to meet the user's description requirements for instructions.
[0025] In any embodiment, the business field protocol stores the schema protocol corresponding to the associated business field; the schema protocol includes the Chinese name corresponding to the associated business field, the actual field name, the field format, the dictionary value and the value path of the associated business field in the business system.
[0026] The embodiment of the present application configures the protocol type followed by each associated business field so that when the user initiates an instruction, the correct field style can be displayed on the business system.
[0027] In any embodiment, the method further comprises:
[0028] receiving an instruction generation request, the instruction generation request including an instruction type;
[0029] Get the corresponding target configuration information according to the instruction type;
[0030] Send the target configuration information to the business system so that the business system displays the instruction creation page on the interface based on the target configuration information.
[0031] The embodiment of the present application sends target configuration information to the business system so that an instruction creation page is displayed on the business system interface, allowing the user to fill in relevant information on the instruction creation page, thereby completing the generation of the instruction.
[0032] In a second aspect, an embodiment of the present application provides an instruction status linkage device, which is applied to an instruction processing system. The instruction processing system is pre-configured with a rule linkage information table, and the instruction processing system is communicatively connected to a business system. The device includes:
[0033] An instruction receiving module is used to receive instructions sent by the business system, and the instructions include instruction identifiers;
[0034] An information reading module is used to read the rule linkage information table based on the instruction identifier to obtain the instruction status and business status corresponding to the instruction identifier; the rule linkage information table includes the instruction status and business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process;
[0035] An operation receiving module, configured to receive a processing operation for processing the instruction;
[0036] The status linkage module is used to update the instruction status and business status in the rule linkage information according to the processing operation to achieve the linkage update of the instruction status and the business status.
[0037] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a bus, wherein:
[0038] The processor and the memory communicate with each other via the bus;
[0039] The memory stores program instructions that can be executed by the processor, and the processor can execute the method of the first aspect by calling the program instructions.
[0040] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, comprising:
[0041] The non-transitory computer-readable storage medium stores computer instructions that cause the computer to execute the method of the first aspect.
[0042] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising computer program instructions, which, when read and executed by a processor, execute the method of the first aspect.
[0043] Other features and advantages of the present application will be described in the following description and, in part, will become apparent from the description or be understood by practicing the embodiments of the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 A flowchart of a command status linkage method provided in an embodiment of the present application;
[0046] Figure 2 The initiation instruction page diagram provided in the embodiment of the present application;
[0047] Figure 3 Provides a rule linkage information representation intent for the embodiment of this application;
[0048] Figure 4 A schematic diagram of the configuration interface provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of configuration information provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of the overall execution flow of the instructions initiated by the business system provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of the structure of an instruction state linkage device provided in an embodiment of the present application;
[0052] Figure 8 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.
[0055] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.
[0056] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0057] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0058] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0059] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.
[0060] The embodiments of the present application provide a command status linkage method, device, electronic device and storage medium, aiming to solve the problem of insufficient flexibility and customization in the linkage between the command status in the command system and the business status in the business system in the field of network security, thereby leading to low business processing efficiency.
[0061] For ease of understanding, the following terms are explained in detail:
[0062] The command system is a system used to define and execute various command operations for regulatory clients. It is not a computer hardware language system, but rather a system that provides regulatory agencies with a convenient and efficient channel operation and management system. It is used to support the command and coordination operations of regulatory departments and provide an efficient and smooth command channel to complete various command operations (such as incident notification, risk notification, public warning, etc.). This includes the standardization of the transmission, parsing, and execution of commands to ensure that regulatory agencies can conduct command and collaborative work efficiently and accurately. The command system plays a key role here. As a command system in network security, it supports the command operations of regulatory agencies and provides an effective means of business process control.
[0063] Business data: including but not limited to events, risks, warnings, vulnerabilities, etc. In the embodiments of this application, business data is interconnected with the command system. By initiating commands through the business system and linking the business data status, dynamic monitoring and adjustment of command operations are achieved. Business systems such as event management, risk management, and asset vulnerability have corresponding business data. One or more pieces of business data are used to initiate a command to the command system.
[0064] Business data status and instruction data status: For example, the event business system will contain event data. For example, a network attack system event may have statuses such as "to be submitted," "to be handled," or "handled." For event-type instructions, their statuses may be "to be reviewed," "to be signed," "to be verified," or "to be archived."
[0065] Business Registration Mechanism: A mechanism based on the instruction system that manages and flexibly controls the flow of customer instructions and business data. This mechanism enables flexible interaction between the instruction system and business data by configuring the field selection and update methods of the business system.
[0066] It is understandable that the instruction status linkage method provided in the embodiment of the present application can be applied to an instruction processing system, which is a terminal or a server; wherein the terminal can specifically be a smart phone, a tablet computer, a computer, a personal digital assistant (PDA), etc.; the server can specifically be an application server or a web server. A rule linkage information table is pre-configured on the instruction processing system. The rule linkage information table includes the instruction status and business status corresponding to the instruction identifier. Among them, the instruction identifier is used to characterize the uniqueness of the instruction, that is, different instructions correspond to different instruction identifiers.
[0067] Figure 1 A flow chart of a method for linking command status provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method includes:
[0068] Step 101: Receive an instruction sent by a business system, where the instruction includes an instruction identifier.
[0069] In the specific implementation process, users can initiate instructions through the business system, and the business system can perform real-time security monitoring. When a security risk occurs, the business system will generate an alarm message. Based on the alarm message, the user can initiate instructions through the business system. The purpose of the instruction is to deal with the security risk in the alarm message. It can be understood that the security risk can be a security event or risk information. When initiating an instruction, the user initiates the instruction through the business system. Figure 2 The initiation page diagram provided in this embodiment of the present application shows a page for initiating a command on a business system. The page for initiating a command is accessed by the business system through an interface exposed by the command system. Users can pre-configure the associated fields corresponding to a specific command type on the command system, such as the title, recipient, notification content, and business information. The user fills in the corresponding information on the business system and, after completing the form, clicks a button indicating completion, such as the "Submit" button. This generates the command, which the business system then sends to the command system.
[0070] The instruction identifier is used to uniquely identify the instruction. Each instruction generated carries a unique identifier.
[0071] Step 102: Read the rule linkage information table based on the instruction identifier to obtain the instruction status and business status corresponding to the instruction identifier; the rule linkage information table includes the instruction status and business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process; the instruction status and the business status have an associated relationship.
[0072] During the specific implementation process, a rule linkage information table is maintained in the instruction system, which records the instruction status and business status corresponding to each instruction. The instruction status is used to represent the status of the instruction during the processing, which may include instruction creation, instruction initiation, processing, pending review, pending receipt, etc. The business status refers to the status of this alarm information in the business system, for example, it may include pending submission, pending disposal, disposed of, etc. The instruction status and the business status have an associated relationship, which means that the instruction status and the business status have a corresponding relationship, for example: instruction creation in the instruction status corresponds to pending submission in the business status; instruction initiation, processing, and pending review in the instruction status correspond to pending disposal in the business status; receipt on behalf of the instruction status corresponds to disposed of in the business status.
[0073] For example, after the event system initiates an event-type instruction, the event status changes from pending to be processed to being processed, and the instruction status changes to pending review. To implement this linkage relationship, a record is maintained in the rule linkage information table, where process_action = create represents instruction creation, business_action = NOTIFICATION represents the action of the event-initiated instruction, and business_status = being processed.
[0074] Step 103: Receive a processing operation for processing the instruction.
[0075] The user who processes the instruction can process the instruction on the instruction system, and the instruction system can receive the processing operation of the instruction. It is understandable that different processing instructions may correspond to different processing operations. For example, when handling a security incident, after a user receives the processing instruction for the security incident, the user processes the security incident on the instruction system. Therefore, the instruction system can monitor the user's processing process and thus receive the processing operation of the instruction.
[0076] Step 104: Update the instruction status and service status in the rule linkage information according to the processing operation to achieve linkage update of the instruction status and service status.
[0077] During implementation, the instruction system links the corresponding records in the information based on the processing operation query rules and synchronizes the instruction status with the business status. It should be noted that multiple instruction statuses may correspond to one business status. For example, the instruction statuses "Processing" and "Awaiting Review" both correspond to the business status "Awaiting Processing."
[0078] The embodiment of the present application sets up a rule linkage information table, in which the association relationship between the instruction status and the business status is set. Therefore, when the instruction status changes, the business status will also change accordingly. Similarly, when the business status changes, the instruction status will also change. This improves the timely linkage between the instruction status in the instruction system and the business status in the business system, thereby improving the efficiency of business instruction processing.
[0079] Based on the above embodiment, the method further includes:
[0080] Receive updated information of the associated business fields corresponding to the instructions sent by the business system;
[0081] Update the rule linkage information table according to the updated information.
[0082] During the specific implementation process, when the user configures the associated business fields of a certain instruction type, he can choose whether to update the associated fields. If the update is turned on, when the instruction of this instruction type is initiated, the business system will read the latest associated field information according to the update cycle, and send the associated field information to the instruction system, which will be stored in the business data copy associated with the instruction in the rule linkage information table in the instruction system.
[0083] Figure 3 This embodiment of the present application provides a rule linkage information representation intent, such as Figure 3As shown, through the process_key (instruction process identifier), process_action (instruction operation), business_action (business operation), business_status (business status), process_status (instruction process status), business_module_url (linkage interface address), request_parameter (linkage interface request parameter), request_type (interface request type such as: POST GET), enable (whether this linkage rule is started), direction (describes whether this rule is a business linkage instruction, or an instruction linkage business business_to_process, process_to_business), operation (what is the purpose of this linkage rule behavior, currently only for changing the status of the data, i.e. change_status) field to realize flexible state transformation, dynamic feign request callback interface, through the form_config (execution form field information) configured in the linkage process, it means that in the process of instruction flow, some execution forms in the business system (such as Figure 2 The fields shown in the table are used as input information.
[0084] It is understandable that the above fields may be deleted according to actual conditions, or other required fields may be added. The embodiment of the present application does not limit the specific fields in the rule linkage information table.
[0085] Scenario example: After the event's business system initiates an event-type instruction, the event status changes from pending to be processed to being processed, and the instruction status changes to pending review. To implement this linkage relationship, the registry maintains a record where process_action = create represents instruction creation, business_action = NOTIFICATION represents the action of the event-initiated instruction, and business_status = being processed.
[0086] In the embodiment of the present application, by pre-configuring update information of the associated business field, the business system can send the latest associated business field to the instruction system, thereby improving the accuracy of business instruction processing.
[0087] Based on the above embodiment, the method further includes:
[0088] receiving an instruction type configuration request, the instruction type configuration request including an instruction type to be configured;
[0089] Get the business fields to be associated with the instruction type according to the instruction type, and display the business fields;
[0090] Receiving the associated business fields determined by the user based on the business fields to be associated;
[0091] Generate configuration information corresponding to the instruction type based on the associated business fields.
[0092] In the specific implementation process, Figure 4 This is a schematic diagram of the configuration interface provided in an embodiment of the present application. A user can send a configuration request of a certain instruction type to the instruction system. Figure 4 The configuration event is shown through the disposal instruction, in Figure 4 In the event field, users can set whether business fields are automatically updated. If automatic update is selected, they can also set the update cycle. The left column lists the associated business fields that users can select, and the selected associated fields are displayed on the right. For example, the user may select the event title, first-level event category, second-level event category, incident unit and system function description, event development overview and preliminary cause, response and disposal requirements, and discovery time. In actual application, users can select associated fields from the left column according to their actual needs.
[0093] The instruction types in the configuration request may include host vulnerability handling instructions, general instructions, event notification handling instructions, web vulnerability handling instructions, etc. It is understandable that different instruction types correspond to different optional associated fields, and the specific associated fields corresponding to each instruction type can be pre-configured.
[0094] After completing the selection of the associated business fields, the user can complete the configuration of the instruction type by clicking buttons such as "Submit" or "Save".
[0095] After completing the configuration, generate the configuration information of this instruction type. Figure 5 This is a schematic diagram of the configuration information provided in the embodiment of the present application, such as Figure 5As shown, the configuration information includes multiple fields such as business_desc (business description), is_default (whether the module is the default), default_field (module default field), business_module (business system identifier), business_action (business operation), process_key (instruction type key associated with the business system), display_fields (displayed business fields), all_fields (all fields of the business system), business_instance_url (URL for obtaining business instance data), auto_update (whether the business field is automatically updated), update_cycle (update cycle), business_fields_url (URL for obtaining business module field), and belong_module (belonging module). It is understandable that the fields in the configuration information can be pre-configured according to actual conditions.
[0096] The embodiment of the present application provides an instruction type configuration page, allowing users to visually configure the required business fields through the page, and provides an interface to the business system, allowing users to call the interface through the business system to obtain the page corresponding to the instruction type, thereby lowering the configuration threshold. If you want to add a new business field display or change or add a stateful joint rule, you only need to click on the page to maintain the registered configuration information, without having to change a lot of code.
[0097] Based on the above embodiment, the business field protocol stores the schema protocol corresponding to the associated business field; the schema protocol includes the Chinese name corresponding to the associated business field, the actual field name, the field format, the dictionary value and the value path of the associated business field in the business system.
[0098] In the specific implementation process, each field in the configuration information can maintain its own schema protocol, as follows:
[0099] {
[0100] "id":"last_time",
[0101] "cname":"Last discovered time",
[0102] "name":"last_time",
[0103] "inputMethod":"dateTime",
[0104] "dictKey":"",
[0105] "path":"abstract_info.last_time"
[0106] }
[0107] Here, cname represents the Chinese name of the field, name is the actual field name in the business field data, and inputMethod represents the format of the field. Currently defined types include string (String), time (dataTime), dictionary (dict), and attachment (attachment). dictKey is the dictionary value of the field, and path is the value path of the field in the business data. Through the above protocol definitions, business field information can be flexibly displayed after instructions are initiated from the business system, achieving a scalable and dynamically changeable format. The schema protocol of each of the above fields is stored in the business field protocol as a JSON string.
[0108] The embodiment of the present application configures the protocol type followed by each associated business field so that when the user initiates an instruction, the correct field style can be displayed on the business system.
[0109] In a specific implementation process, the method further includes:
[0110] receiving an instruction generation request, the instruction generation request including an instruction type;
[0111] Get the corresponding target configuration information according to the instruction type;
[0112] Send the target configuration information to the business system so that the business system displays the instruction creation page on the interface based on the target configuration information.
[0113] In the specific implementation process, the user sends an instruction generation request to the instruction system through the business system, and the instruction generation request includes the instruction type. Among them, the instruction type is used to characterize the type of instruction, which can include event notification processing instructions, threat alarm processing instructions, etc. Different instruction types correspond to different configuration information. After receiving the instruction generation request, the instruction system obtains the corresponding configuration information based on the included instruction type, that is, the target configuration information, and then sends the target configuration information to the business system, so that the business system displays the instruction creation page on the interface based on the target configuration information for the user to fill in, for example Figure 2 shown.
[0114] The embodiment of the present application sends target configuration information to the business system so that an instruction creation page is displayed on the business system interface, allowing the user to fill in relevant information on the instruction creation page, thereby completing the generation of the instruction.
[0115] Figure 6The overall execution flow diagram of the business system initiating instructions provided in the embodiment of the present application is as follows: Figure 6 As shown in the figure, the process of initiating instructions from the business system presents a flexible and coordinated mechanism. The user first maintains the configuration information of the instruction type through the instruction system (such as the configuration field update method, the business fields to be displayed, and the preset data configuration of the linkage rule background). Then, after the business system initiates a request to create an instruction, the business system requests the interface to read the configuration information, obtains the target configuration information, and displays the configuration information in accordance with the protocol specifications. After the user enters the data required for initiating the instruction on the business system interface (such as filling in the title of the instruction and selecting the executor of each link of the instruction), clicks the "Submit" button to complete the creation of the instruction. The instruction system will read the rule linkage information table to achieve two-way linkage between the instruction and the business entity, so that the instruction data status and the business data status respond to each other. The entire process completes the business closed loop through the registered configuration information. It achieves a close integration of the instruction system and the business system, providing a precise and flexible management method for regulatory business.
[0116] The embodiments of the present application have the following beneficial effects:
[0117] 1. Flexibility and Efficiency of the Instruction System: This embodiment of the application allows for configuration of field selection and update methods in the business system, making the interaction between the instruction system and business data more flexible. This feature improves the efficiency of instruction transmission, parsing, and execution, providing supervisory units with efficient and accurate means of command and collaborative work.
[0118] 2. Innovation in the Business Linkage Rule Table: Through the design of rule linkage information, the maintenance of registration information for the linkage between instructions and business states is achieved. This registration mechanism not only improves the flexibility of linkage between states, but also provides an effective way to manage and control the reverse linkage between business entity action execution and instructions.
[0119] 3. Field Protocol Constraints and Scalability: By introducing field protocol constraints, the definition of business system fields is more standardized. This protocol definition includes information such as the Chinese name of the field, the actual field name, and the field format. This allows the system to flexibly display business field information after initiating instructions. This scalable and dynamically changeable format makes the system more adaptable to the ever-changing regulatory environment.
[0120] 4. Optimization of the overall execution process: The optimization of the overall execution process of instructions initiated by the business system reflects the present invention's focus on business processing efficiency. By rationally configuring the linkage function between instructions and business data, the time delay of state linkage is reduced, making regulatory business processing faster and more efficient.
[0121] Figure 7This is a schematic diagram of the structure of a command state linkage device provided in an embodiment of the present application. The device can be a module, program segment or code on an electronic device. It should be understood that the device is similar to the above-mentioned Figure 1 The method embodiment corresponds to the embodiment that can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device can be found in the description above. To avoid repetition, detailed description is omitted here. The device includes: an instruction receiving module 701, an information reading module 702, an operation receiving module 703 and a status linkage module 704, wherein:
[0122] The instruction receiving module 701 is used to receive instructions sent by the business system, and the instructions include instruction identifiers;
[0123] The information reading module 702 is used to read the rule linkage information table based on the instruction identifier to obtain the instruction status and business status corresponding to the instruction identifier; the rule linkage information table includes the instruction status and business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process;
[0124] The operation receiving module 703 is used to receive a processing operation for processing the instruction;
[0125] The status linkage module 704 is used to update the instruction status and service status in the rule linkage information according to the processing operation, so as to realize the linkage update of the instruction status and the service status.
[0126] Based on the above embodiment, the device further includes an updating module, which is used to:
[0127] receiving update information of the associated business field corresponding to the instruction sent by the business system;
[0128] The rule linkage information table is updated according to the update information.
[0129] Based on the above embodiment, the rule linkage information table also includes at least one of instruction operation, business operation, linkage interface address, linkage interface request parameter, interface request type, whether to start linkage rule, rule description, and dynamic feign request callback interface.
[0130] Based on the above embodiment, the device further includes a configuration module, which is used to:
[0131] receiving an instruction type configuration request, wherein the instruction type configuration request includes an instruction type to be configured;
[0132] Acquire a business field to be associated with the instruction type according to the instruction type, and display the business field;
[0133] receiving an associated business field determined by a user based on the business field to be associated;
[0134] Configuration information corresponding to the instruction type is generated based on the associated business field.
[0135] Based on the above embodiment, the configuration information includes business description, whether it is a default module, module default field, business system identifier, business field protocol, business operation, business key value, displayed business field, path for obtaining business instance data, whether the business field is automatically updated, update cycle and multiple fields in obtaining the business.
[0136] Based on the above embodiment, the business field protocol stores the schema protocol corresponding to the associated business field; the schema protocol includes the Chinese name, actual field name, field format, dictionary value and the value path of the associated business field in the business system corresponding to the associated business field.
[0137] Based on the above embodiment, the device further includes a page display module for:
[0138] receiving an instruction generation request, wherein the instruction generation request includes an instruction type;
[0139] Obtain corresponding target configuration information according to the instruction type;
[0140] The target configuration information is sent to the business system, so that the business system displays an instruction creation page on an interface based on the target configuration information.
[0141] Figure 8 The physical structure diagram of the electronic device provided in the embodiment of the present application is as follows: Figure 8 As shown, the electronic device includes: a processor (processor) 801, a memory (memory) 802 and a bus 803; wherein,
[0142] The processor 801 and the memory 802 communicate with each other via the bus 803;
[0143] The processor 801 is used to call the program instructions in the memory 802 to execute the methods provided by the above-mentioned method embodiments, for example, including: receiving an instruction sent by the business system, the instruction including an instruction identifier; reading the rule linkage information table based on the instruction identifier to obtain the instruction status and business status corresponding to the instruction identifier; the rule linkage information table includes the instruction status and business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process; receiving a processing operation for processing the instruction; updating the instruction status and the business status in the rule linkage information according to the processing operation to realize the linkage update of the instruction status and the business status.
[0144] The processor 801 can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 801 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0145] The memory 802 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0146] This embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: receiving an instruction sent by the business system, the instruction including an instruction identifier; reading a rule linkage information table based on the instruction identifier to obtain an instruction status and a business status corresponding to the instruction identifier; the rule linkage information table includes an instruction status and a business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process; receiving a processing operation for processing the instruction; and updating the instruction status and the business status in the rule linkage information according to the processing operation to achieve a linkage update of the instruction status and the business status.
[0147] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: receiving an instruction sent by the business system, the instruction including an instruction identifier; reading a rule linkage information table based on the instruction identifier to obtain an instruction status and a business status corresponding to the instruction identifier; the rule linkage information table includes an instruction status and a business status corresponding to the instruction identifier; the instruction status is used to represent the state information of the instruction during the processing process; the business status is used to represent the state information of the business data corresponding to the instruction during the processing process; the instruction status and the business status have an associated relationship; receiving a processing operation for processing the instruction; updating the instruction status and the business status in the rule linkage information according to the processing operation to achieve a linkage update of the instruction status and the business status.
[0148] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0149] In addition, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0150] Furthermore, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0151] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.
[0152] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A command status linkage method, characterized in that: Applied to an instruction processing system, wherein a rule linkage information table is pre-configured in the instruction processing system and the instruction processing system is in communication with a business system, the method includes: receiving an instruction sent by the business system, wherein the instruction includes an instruction identifier; Reading a rule linkage information table based on the instruction identifier to obtain an instruction status and a business status corresponding to the instruction identifier; the rule linkage information table includes an instruction status and a business status corresponding to the instruction identifier; the instruction status is used to represent state information of the instruction during processing; the business status is used to represent state information of business data corresponding to the instruction during processing; receiving a processing operation to process the instruction; The instruction status and the service status in the rule linkage information are updated according to the processing operation to achieve linkage update of the instruction status and the service status.
2. The method according to claim 1, characterized in that The method further comprises: receiving update information of the associated business field corresponding to the instruction sent by the business system; The rule linkage information table is updated according to the update information.
3. The method according to claim 1, characterized in that The rule linkage information table also includes at least one of the following: instruction operation, business operation, linkage interface address, linkage interface request parameter, interface request type, whether to start the linkage rule, rule description, and dynamic feign request callback interface.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: receiving an instruction type configuration request, wherein the instruction type configuration request includes an instruction type to be configured; Acquire a business field to be associated with the instruction type according to the instruction type, and display the business field; receiving an associated business field determined by a user based on the business field to be associated; Configuration information corresponding to the instruction type is generated based on the associated business field.
5. The method according to claim 4, characterized in that The configuration information includes business description, whether the module is the default, module default fields, business system identifier, business field protocol, business operation, business key value, displayed business fields, path for obtaining business instance data, whether the business field is automatically updated, update cycle and multiple fields in the obtained business.
6. The method according to claim 5, characterized in that The business field protocol stores the schema protocol corresponding to the associated business field; the schema protocol includes the Chinese name, actual field name, field format, dictionary value and the value path of the associated business field in the business system corresponding to the associated business field.
7. The method according to claim 4, characterized in that The method further comprises: receiving an instruction generation request, wherein the instruction generation request includes an instruction type; Obtain corresponding target configuration information according to the instruction type; The target configuration information is sent to the business system, so that the business system displays an instruction creation page on an interface based on the target configuration information.
8. A command status linkage device, characterized in that: Applied to an instruction processing system, wherein a rule linkage information table is pre-configured in the instruction processing system, and the instruction processing system is in communication with a business system, the device comprises: An instruction receiving module, configured to receive an instruction sent by the business system, wherein the instruction includes an instruction identifier; an information reading module, configured to read a rule linkage information table based on the instruction identifier to obtain an instruction status and a service status corresponding to the instruction identifier; the rule linkage information table includes an instruction status and a service status corresponding to the instruction; the instruction status is used to represent status information of the instruction during processing; the service status is used to represent status information of service data corresponding to the instruction during processing; an operation receiving module, configured to receive a processing operation for processing the instruction; A status linkage module is used to update the instruction status and the business status in the rule linkage information according to the processing operation, so as to realize the linkage update of the instruction status and the business status.
9. An electronic device, characterized in that: include: processor, memory, and bus, wherein, The processor and the memory communicate with each other via the bus; The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium stores computer instructions, which, when executed by a computer, enable the computer to perform the method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The method comprises computer program instructions, and when the computer program instructions are read and executed by a processor, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Business management method, release management device, medium and electronic equipment
CN107862480A
Business progress processing method and device
CN110390500A
Process approval method and device
CN111882294A
Rule management method and system in business systems, computer equipment and medium
CN114418554A
Service state synchronization method, device and equipment and computer storage medium
CN114765770A