Instruction state linkage method and apparatus, electronic device, and storage medium

CN120653650BActive Publication Date: 2026-09-22QI-ANXIN LEGENDSEC INFORMATION TECH (BEIJING) INC +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410295062.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-14
Publication Date
2026-09-22
Estimated Expiration
2044-03-14

AI Technical Summary

Technical Problem

[0003]现有技术中,业务系统的业务数据状态与指令系统中的指令数据状态之间联动不够灵活,导致业务指令处理效率低下

Benefits of technology

[0010]本申请实施例通过设置规则联动信息表,该规则联动信息表中设置有指令状态和业务状态的关联关系,因此,当指令状态发生变化时,会联动业务状态也跟着变化,同样地,当业务状态发生变化时,会联动指令状态发生变化,提高了指令系统中的指令状态与业务系统中的业务状态的及时联动,从而提高了业务指令处理的效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120653650B_ABST
    Figure CN120653650B_ABST
Patent Text Reader

Abstract

The application provides an instruction state linkage method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving an instruction sent by a business system, wherein the instruction comprises an instruction identifier; reading a rule linkage information table based on the instruction identifier to obtain an instruction state and a business state corresponding to the instruction identifier; the rule linkage information table comprises an instruction state and a business state corresponding to the instruction identifier; the instruction state is used to represent state information of the instruction in a processing process; the business state is used to represent state information of business data corresponding to the instruction in the processing process; receiving a processing operation for processing the instruction; and updating the instruction state and the business state in the rule linkage information according to the processing operation. By setting the rule linkage information table, the application sets an association between the instruction state and the business state in the rule linkage information table, improves the timely linkage between the instruction state in the instruction system and the business state in the business system, and improves the efficiency of business instruction processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to an instruction state linkage method, apparatus, electronic device, and storage medium. Background Technology

[0002] The command system is a system used to define and execute various command operations for supervising clients. 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 existing technologies, the linkage between the business data status of the business system and the instruction data status of the instruction system is not flexible enough, resulting in low efficiency in processing business instructions. Summary of the Invention

[0004] The purpose of this application is to provide an instruction status linkage method, apparatus, electronic device, and storage medium to improve the efficiency of business instruction processing.

[0005] In a first aspect, embodiments of this application provide an instruction status linkage method applied to an instruction processing system. The instruction processing system has a pre-configured rule linkage information table and is communicatively connected to a business system. The method includes:

[0006] Receive instructions sent by the business system, including an instruction identifier;

[0007] The rule linkage information table is read 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 characterize the status information of the instruction during the processing. The business status is used to characterize the status information of the business data corresponding to the instruction during the processing.

[0008] Receive and process instructions;

[0009] The instruction status and business status in the rule linkage information are updated according to the processing operation to achieve linkage update of instruction status and business status.

[0010] This application embodiment sets up a rule linkage information table, which sets the association between instruction status and business status. 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 accordingly. 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 includes:

[0012] Receive update information for the associated business fields corresponding to the instructions sent by the business system;

[0013] Update the linked information table according to the updated information rules.

[0014] In this embodiment, by pre-configuring the update information of associated business fields, the business system can send the most recent associated business fields to the instruction system, thereby improving the accuracy of business instruction processing.

[0015] In any embodiment, the rule linkage information table further includes at least one of the following: instruction operation, business operation, linkage interface address, linkage interface request parameters, interface request type, whether linkage rule is started, rule description, and interface for dynamic Feign request callback.

[0016] In this embodiment, the rule linkage information table may also include other related parameters to collaboratively complete the instruction processing.

[0017] In any embodiment, the method further includes:

[0018] Receive instruction type configuration request, which includes the instruction type to be configured;

[0019] Retrieve the business fields to be associated with the instruction type based on the instruction type, and display the business fields;

[0020] Receive 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] This application provides an instruction type configuration page, allowing users to visually configure the required business fields through this page, and provides an interface to the business system, enabling users to obtain the page corresponding to the instruction type by calling the interface through the business system, thereby reducing the configuration threshold.

[0023] In any embodiment, the configuration information includes a business description, whether it is a default module, the default fields of the module, the business system identifier, the business field protocol, the business operation, the business key value, the business fields to be displayed, the path to obtain business instance data, whether the business fields are automatically updated, the update cycle, and multiple fields in the business to be obtained.

[0024] This application embodiment includes multiple fields in the generated configuration information to meet the user's requirements for describing 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, actual field name, field format, dictionary value, and value path of the associated business field in the business system.

[0026] This application embodiment configures the protocol type followed by each associated business field, so that the correct field style can be displayed on the business system when the user initiates a command.

[0027] In any embodiment, the method further includes:

[0028] Receive instruction generation request, which includes the instruction type;

[0029] Retrieve the corresponding target configuration information based on the instruction type;

[0030] Send the target configuration information to the business system so that the business system can display the command creation page on the interface based on the target configuration information.

[0031] This application embodiment 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 to complete the instruction generation.

[0032] Secondly, embodiments of this application provide an instruction status linkage device applied to an instruction processing system. The instruction processing system has a pre-configured rule linkage information table and is communicatively connected to a business system. The device includes:

[0033] The instruction receiving module is used to receive instructions sent by the business system. The instructions include an instruction identifier.

[0034] The 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 characterize the status information of the instruction during the processing; the business status is used to characterize the status information of the business data corresponding to the instruction during the processing.

[0035] The operation receiving module is used to receive processing operations that process instructions;

[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, so as to realize the linkage update of instruction status and business status.

[0037] Thirdly, embodiments of this application provide an electronic device, including: 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] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium, comprising:

[0041] The non-transitory computer-readable storage medium stores computer instructions that cause the computer to perform the method of the first aspect.

[0042] Fifthly, embodiments of this application provide a computer program product, including computer program instructions, which, when read and executed by a processor, perform the method of the first aspect.

[0043] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0044] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 This is a schematic flowchart of an instruction status linkage method provided in an embodiment of this application;

[0046] Figure 2 This is a diagram of the initiation command page provided in an embodiment of this application;

[0047] Figure 3 This application provides an embodiment of a rule-linked information representation intent;

[0048] Figure 4 This is a schematic diagram of the configuration interface provided in an embodiment of this application;

[0049] Figure 5 This is a schematic diagram of the configuration information provided in the embodiments of this application;

[0050] Figure 6 This is a schematic diagram illustrating the overall execution flow of a business system initiating an instruction, provided in an embodiment of this application.

[0051] Figure 7 A schematic diagram of an instruction status linkage device provided in an embodiment of this application;

[0052] Figure 8 This is a schematic diagram of the physical structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0053] The embodiments of the technical solution of this application will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of this application and are therefore merely examples, and should not be used to limit the scope of protection of this application.

[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0055] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0056] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0057] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0058] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0059] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0060] This application provides a method, apparatus, electronic device, and storage medium for linking instruction states, aiming to solve the problem of insufficient flexibility and over-customization in linking instruction states in instruction systems and business states in business systems in the field of network security, which leads to low business processing efficiency.

[0061] For ease of understanding, the relevant terms used in the embodiments of this application are explained below:

[0062] Command system: This is a system used to define and execute various command operations for regulatory clients. It is not a language system of computer hardware, but rather a convenient and efficient channel operation and management system provided by regulatory agencies. It supports the command and coordination operations of regulatory departments, providing an efficient and smooth command channel to complete various command tasks (such as event reporting, risk reporting, and public warnings). This includes the standardization of the transmission, parsing, and execution of commands, ensuring that regulatory agencies can conduct command and coordination work efficiently and accurately. The command system plays a crucial role here. As a command system in network security, it supports the command operations of regulatory departments and provides effective business process control methods.

[0063] Business data includes, but is not limited to, events, risks, warnings, and vulnerabilities. In this embodiment, business data is interconnected with the command system. Commands are initiated through the business system, and the status of business data is linked, enabling dynamic monitoring and adjustment of command operations. Business systems, such as event management, risk management, and asset vulnerability monitoring, contain corresponding business data. A command is initiated through one or more pieces of business data to the command system.

[0064] Business data status and instruction data status: For example, in the business system, there will be event data. For a network attack system event, its event status will be pending submission, pending processing, processed, etc. For event-type instructions, its status may be pending review, pending signature, pending verification, pending archiving.

[0065] Business Registration Mechanism: A mechanism based on an instruction system for managing and flexibly controlling the flow of instructions and business data from monitored clients. This mechanism achieves flexibility in the interaction between the instruction system and business data by configuring the field selection and update methods of the business system.

[0066] It is understood that the instruction status linkage method provided in this application embodiment can be applied to an instruction processing system, which can be a terminal or a server; the terminal can specifically be a smartphone, tablet computer, computer, 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. The instruction identifier is used to characterize the uniqueness of the instruction; that is, different instructions correspond to different instruction identifiers.

[0067] Figure 1 This is a flowchart illustrating an instruction status linkage method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes:

[0068] Step 101: Receive instructions sent by the business system. The instructions include an instruction identifier.

[0069] In practice, users can initiate commands through the business system. The business system performs real-time security monitoring, and when a security risk occurs, it generates an alarm. Based on this alarm, the user initiates a command through the business system. The purpose of this command is to address the security risk mentioned in the alarm. It's understood that a security risk can be a specific security event or risk information, etc. When initiating a command, the user does so through the business system. Figure 2 The diagram of the instruction initiation page provided in this application embodiment illustrates that the page for initiating instructions for users on the business system is obtained by the business system through an interface exposed by the instruction system. Users can pre-configure associated fields corresponding to a certain instruction type on the instruction system, such as: title, receiving unit, notification content, and business information. After the user fills in the corresponding content on the business system and clicks a button indicating completion, such as the "Submit" button, an instruction is generated, and the business system sends the generated instruction to the instruction system.

[0070] The instruction identifier is used to uniquely identify the instruction; each generated instruction 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 characterize the status information of the instruction during the processing; the business status is used to characterize the status information of the business data corresponding to the instruction during the processing; the instruction status and the business status are related.

[0072] In the specific implementation process, the instruction system maintains a rule-based linkage information table. This table records the instruction status and business status corresponding to each instruction. The instruction status characterizes the state of the instruction during processing and can include instruction creation, instruction initiation, in progress, pending review, and pending signature. The business status refers to the status of this alarm information in the business system, such as pending submission, pending processing, and processed. The instruction status and business status are correlated, meaning there is a corresponding relationship between them. For example, instruction creation in the instruction status corresponds to pending submission in the business status; instruction initiation, in progress, and pending review in the instruction status correspond to pending processing in the business status; and signature on behalf of another in the instruction status corresponds to processed in the business status.

[0073] For example, after the system initiates an event-type instruction, the event status changes from pending to being processed, and the instruction status changes to pending review. To achieve this linkage, the rule linkage information table will maintain a record where process_action = create represents instruction creation, business_action = NOTIFICATION represents the action of initiating the instruction, and business_status = processing.

[0074] Step 103: Receive the processing operation to process the instruction.

[0075] Users can process instructions on the instruction system, and the instruction system can receive processing operations for these instructions. Understandably, different users may perform different processing operations for different instructions. For example, regarding the handling of a security event, after receiving a processing instruction for that security event, the user processes the event through the instruction system. Therefore, the instruction system can monitor the user's processing and thus receive processing operations for the instructions.

[0076] Step 104: Update the instruction status and business status in the rule linkage information according to the processing operation to realize the linkage update of instruction status and business status.

[0077] In the specific implementation process, the instruction system queries the corresponding records in the linkage information according to the processing operation query rules and updates the instruction status and business status synchronously. It should be noted that there may be multiple instruction statuses corresponding to one business status. For example, the instruction statuses "in progress" and "pending review" may both correspond to the business status "pending processing".

[0078] This application embodiment sets up a rule linkage information table, which sets the association between instruction status and business status. 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 accordingly. 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 embodiments, the method further includes:

[0080] Receive update information for the associated business fields corresponding to the instructions sent by the business system;

[0081] Update the linked information table according to the updated information rules.

[0082] In the specific implementation process, when configuring the associated business fields of a certain instruction type, users can choose whether to update the associated fields. If the update is enabled, when the instruction of that 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 store the business data copy associated with the instruction in the rule linkage information table of the instruction system.

[0083] Figure 3 This application provides an embodiment of a rule-based linkage information representation intent, such as... Figure 3As shown, the rule linkage table (t_business_dispatch_rules table) uses the following fields to achieve flexible status changes and dynamic Feign request callback interfaces. These fields include: process_key (instruction flow identifier), process_action (instruction operation), business_action (business operation), business_status (business status), process_status (instruction flow status), business_module_url (linked interface address), request_parameter (linked interface request parameters), request_type (interface request type, e.g., POST GET), enable (whether the linkage rule is enabled), direction (describes whether the rule is a business linkage instruction, or an instruction linkage business (business_to_process, process_to_business), and operation (the purpose of the linkage rule's behavior; currently, it only modifies the data status, i.e., change_status). The form_config (execution form field information) configured during the linkage process indicates that during the instruction flow, certain execution forms in the business system (such as...) need to be... Figure 2 The fields shown are used as input information.

[0084] It is understood that the above fields can be deleted or added as needed, depending on the actual situation. This application embodiment does not limit the specific fields in the rule linkage information table.

[0085] Example scenario: After an event-type instruction is initiated in the business system, the event status changes from pending to being processed, and the instruction status is pending review. To achieve this linkage, the registry will maintain a record like this: process_action = create represents instruction creation, business_action = NOTIFICATION represents the action of initiating the instruction, and business_status = processing.

[0086] In this embodiment, by pre-configuring the update information of associated business fields, the business system can send the most recent associated business fields to the instruction system, thereby improving the accuracy of business instruction processing.

[0087] Based on the above embodiments, the method further includes:

[0088] Receive instruction type configuration request, which includes the instruction type to be configured;

[0089] Retrieve the business fields to be associated with the instruction type based on the instruction type, and display the business fields;

[0090] Receive 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 this application. Users can send a configuration request of a certain command type to the command system. Figure 4 This shows the configuration event handled by the processing command. Figure 4 In this system, users can configure whether business fields are automatically updated. If automatic updates are selected, the update cycle can also be set. The left sidebar lists the associated business fields that users can select, and the selected associated fields are displayed on the right. For example, if the user selects the event title, primary event category, secondary event category, incident unit and system function description, overview of the situation and initial cause, response and handling requirements, and discovery time, the user can select associated fields from the left sidebar according to their actual needs.

[0093] The command types in the configuration request can include host vulnerability handling commands, general commands, event notification handling commands, web vulnerability handling commands, etc. It is understood that different command types have different optional associated fields, and the specific associated fields for each command type can be pre-configured.

[0094] After selecting the associated business fields, users can complete the configuration of this instruction type by clicking the "Submit" or "Save" button.

[0095] After the configuration is completed, the configuration information for this command type is generated. Figure 5 This is a schematic diagram of the configuration information provided in the embodiments of this application, such as... Figure 5As shown, this configuration information includes multiple fields such as business_desc (business description), is_default (whether it is the default module), default_field (default field of the module), 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 retrieving business instance data), auto_update (whether business fields are automatically updated), update_cycle (update cycle), business_fields_url (url for retrieving business module fields), and belong_module (belonging module). It can be understood that the fields in the configuration information can be pre-configured according to actual needs.

[0096] This application provides an instruction type configuration page, allowing users to visually configure the required business fields through this page. It also provides an interface to the business system, enabling users to obtain the page corresponding to the instruction type by calling the interface through the business system. This lowers the configuration threshold. If users want to add new business fields or change or add stateful joint rules, they only need to click on the page to maintain the registered configuration information, without needing to modify much code.

[0097] Based on the above embodiments, 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 value path of the associated business field in the business system.

[0098] In the actual implementation process, a separate schema protocol can be maintained for each field in the configuration information, 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 data, `inputMethod` represents the format of the field (currently defined as String, `dateTime`, Dictionary, and Attachment), `dictKey` is the dictionary value for the field, and `path` is the path to the field's value in the business data. Through the definition of this protocol, information about the business fields can be flexibly displayed after a command is initiated from the business system, achieving an extensible and dynamically changeable form. The schema protocols for each of the above fields are stored as JSON strings in the business field protocol.

[0108] This application embodiment configures the protocol type followed by each associated business field, so that the correct field style can be displayed on the business system when the user initiates a command.

[0109] In its specific implementation, this method also includes:

[0110] Receive instruction generation request, which includes the instruction type;

[0111] Retrieve the corresponding target configuration information based on the instruction type;

[0112] Send the target configuration information to the business system so that the business system can display the command creation page on the interface based on the target configuration information.

[0113] In the specific implementation process, users send instruction generation requests to the instruction system through the business system. These requests include the instruction type. The instruction type identifies the type of instruction and can include event notification processing instructions, threat alarm processing instructions, etc. Different instruction types correspond to different configuration information. Upon receiving the instruction generation request, the instruction system retrieves the corresponding configuration information, i.e., the target configuration information, based on the included instruction type. It then sends the target configuration information to the business system, enabling the business system to display an instruction creation page on the interface for the user to fill in, for example... Figure 2 As shown.

[0114] This application embodiment 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 to complete the instruction generation.

[0115] Figure 6This is a schematic diagram of the overall execution flow of the business system initiating the instruction provided in the embodiments of this application, as follows: Figure 6 As shown, the process of initiating commands by the business system presents a flexible and coordinated mechanism. Users first maintain configuration information for command types through the command system (such as configuration field update methods, business fields to be displayed, and pre-configured data for linkage rules in the backend). Then, after the business system initiates a command creation request, it requests an interface to read the configuration information, obtains the target configuration information, and displays the configuration information according to the protocol specifications. After the user enters the data required for command initiation on the business system interface (such as filling in the command title and selecting the executor for each stage of the command), they click the "Submit" button to complete the command creation. The command system reads the rule linkage information table, achieving bidirectional linkage between the command and the business entity, enabling the command data status and business data status to respond to each other. The entire process completes the business loop through the registered configuration information. This achieves a tight integration between the command system and the business system, providing a precise and flexible management tool for monitoring business operations.

[0116] The embodiments of this application have the following beneficial effects:

[0117] I. Flexibility and Efficiency of the Command System: This application embodiment enables more flexible interaction between the command system and business data by allowing the configuration of field selection and update methods in the business system. This feature improves the efficiency of command transmission, parsing, and execution, providing regulatory authorities with efficient and accurate command and collaborative work tools.

[0118] II. Innovation in Business Linkage Rule Tables: Through the design of rule-linkage information, the maintenance of registration information for the linkage between instructions and business states is realized. This registration mechanism not only improves the flexibility of linkage between states, but also provides an effective management and control method for the execution of actions by business entities and the reverse linkage of instructions.

[0119] III. Constraints and Extensibility of Field Protocols: By introducing constraints from field protocols, the definition of fields in the business system becomes more standardized. These protocol definitions include information such as the Chinese name of the field, the actual field name, and the field format, enabling the system to flexibly display information about the business fields after the business system initiates a command. This extensible and dynamically changeable approach makes the system more adaptable to the ever-changing regulatory environment.

[0120] IV. Optimization of the Overall Execution Process: The optimization of the overall execution process of instructions initiated by the business system reflects the invention's focus on business processing efficiency. By rationally configuring the linkage function between instructions and business data, the time delay of status linkage is reduced, making the monitoring business processing faster and more efficient.

[0121] Figure 7This is a schematic diagram of an instruction status linkage device provided in an embodiment of this application. The device can be a module, program segment, or code on an electronic device. It should be understood that this device is similar to the one described above. Figure 1 The method implementation corresponds to this and can be executed. Figure 1 The specific functions of the device involved in the method embodiment can be found in the description above; to avoid repetition, detailed descriptions are 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 an instruction identifier;

[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 characterize the status information of the instruction during the processing; the business status is used to characterize the status information of the business data corresponding to the instruction during the processing.

[0124] The operation receiving module 703 is used to receive processing operations that process instructions;

[0125] The status linkage module 704 is used to update the instruction status and business status in the rule linkage information according to the processing operation, so as to realize the linkage update of instruction status and business status.

[0126] Based on the above embodiments, the device further includes an update module, used for:

[0127] Receive update information of the associated business field corresponding to the instruction sent by the business system;

[0128] The rule linkage information table is updated based on the updated information.

[0129] Based on the above embodiments, the rule linkage information table further includes at least one of the following: instruction operation, business operation, linkage interface address, linkage interface request parameters, interface request type, whether linkage rule is started, rule description, and interface for dynamic Feign request callback.

[0130] Based on the above embodiments, the device further includes a configuration module for:

[0131] Receive an instruction type configuration request, wherein the instruction type configuration request includes the instruction type to be configured;

[0132] Based on the instruction type, obtain the business field to be associated corresponding to the instruction type, and display the business field;

[0133] Receive the associated business field determined by the user based on the business field to be associated;

[0134] Based on the associated business fields, configuration information corresponding to the instruction type is generated.

[0135] Based on the above embodiments, the configuration information includes business description, whether it is a default module, default fields of the module, business system identifier, business field protocol, business operation, business key value, business fields to be displayed, path to obtain business instance data, whether business fields are automatically updated, update cycle, and multiple fields in the business to be obtained.

[0136] Based on the above embodiments, 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 value path of the associated business field in the business system.

[0137] Based on the above embodiments, the device further includes a page display module, used for:

[0138] Receive an instruction generation request, wherein the instruction generation request includes an instruction type;

[0139] Obtain the corresponding target configuration information based on the instruction type;

[0140] The target configuration information is sent to the business system so that the business system can display an instruction creation page on the interface based on the target configuration information.

[0141] Figure 8 This is a schematic diagram of the physical structure of the electronic device provided in the embodiments of this application, such as... Figure 8 As shown, the electronic device includes: a processor 801, a memory 802, and a bus 803; wherein,

[0142] The processor 801 and the memory 802 communicate with each other through the bus 803;

[0143] The processor 801 is used to call program instructions in the memory 802 to execute the methods provided in the above-described method embodiments, including, for example, 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 the instruction status and business status corresponding to the instruction identifier; the rule linkage information table including the instruction status and business status corresponding to the instruction identifier; the instruction status being used to characterize the status information of the instruction during processing; the business status being used to characterize the status information of the business data corresponding to the instruction during processing; receiving a processing operation to process the instruction; and updating the instruction status and business status in the rule linkage information according to the processing operation to achieve linkage updating of the instruction status and the business status.

[0144] The processor 801 can be an integrated circuit chip with signal processing capabilities. The 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, or 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 any conventional processor.

[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. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided in the above-described method embodiments, such as: 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 the instruction status and business status corresponding to the instruction identifier; the rule linkage information table including the instruction status and business status corresponding to the instruction identifier; the instruction status being used to characterize the status information of the instruction during processing; the business status being used to characterize the status information of the business data corresponding to the instruction during processing; receiving a processing operation to process the instruction; and updating the instruction status and 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 storing computer instructions. These computer instructions cause the computer to execute the methods provided in the above-described method embodiments, including, for example,: 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 including the instruction status and the business status corresponding to the instruction identifier; the instruction status representing the state information of the instruction during processing; the business status representing the state information of the business data corresponding to the instruction during processing; the instruction status and the business status having an association relationship; receiving a processing operation to process the instruction; and updating the instruction status and the business status in the rule linkage information according to the processing operation to achieve a linked update of the instruction status and the business status.

[0148] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0149] Furthermore, the units described as separate components may or may not be physically separate. 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 can be selected to achieve the purpose of this embodiment according to actual needs.

[0150] Furthermore, the functional modules in the various embodiments of this 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 are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.

[0152] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for linking instruction states, characterized in that, The method, applied to an instruction processing system pre-configured with a rule-linked information table and communicatively connected to a business system, includes: Receive instructions sent by the business system, the instructions including an instruction identifier; Based on the instruction identifier, the rule linkage information table is read 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 characterize the status information of the instruction during processing; the business status is used to characterize the status information of the business data corresponding to the instruction during processing; Receive processing operations that process the instructions; The instruction status and the service status in the rule linkage information are updated according to the processing operation to realize the linkage update of the instruction status and the service status. The rule linkage information table also includes at least one of the following: instruction operation, business operation, linkage interface address, linkage interface request parameters, interface request type, whether linkage rule is started, rule description, and interface for dynamic Feign request callback. The linkage update between the instruction status and the service status means that when the instruction status changes, the service status will also change accordingly; when the service status changes, the instruction status will also change accordingly.

2. The method according to claim 1, characterized in that, The method further includes: Receive update information of the associated business field corresponding to the instruction sent by the business system; Update the rule linkage information table according to the updated information.

3. The method according to any one of claims 1-2, characterized in that, The method further includes: Receive an instruction type configuration request, wherein the instruction type configuration request includes the instruction type to be configured; Based on the instruction type, obtain the business field to be associated corresponding to the instruction type, and display the business field; Receive the associated business field determined by the user based on the business field to be associated; Based on the associated business fields, configuration information corresponding to the instruction type is generated.

4. The method according to claim 3, characterized in that, The configuration information includes business description, whether it is a default module, default fields of the module, business system identifier, business field protocol, business operation, business key value, business fields to be displayed, path to obtain business instance data, whether business fields are automatically updated, update cycle, and multiple fields to be obtained from the business.

5. The method according to claim 4, 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 value path of the associated business field in the business system.

6. The method according to claim 3, characterized in that, The method further includes: Receive an instruction generation request, wherein the instruction generation request includes an instruction type; Obtain the corresponding target configuration information based on the instruction type; The target configuration information is sent to the business system so that the business system can display an instruction creation page on the interface based on the target configuration information.

7. A command status linkage device, characterized in that, The device is applied to an instruction processing system, which is pre-configured with a rule-linked information table. The instruction processing system is communicatively connected to a business system. The device includes: An instruction receiving module is used to receive instructions sent by the business system, wherein the instructions include an instruction identifier; The 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; the instruction status is used to characterize the status information of the instruction during the processing; the business status is used to characterize the status information of the business data corresponding to the instruction during the processing. An operation receiving module is used to receive processing operations that process the instructions; The 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. The rule linkage information table also includes at least one of the following: instruction operation, business operation, linkage interface address, linkage interface request parameters, interface request type, whether linkage rule is started, rule description, and interface for dynamic Feign request callback. The linkage update between the instruction status and the service status means that when the instruction status changes, the service status will also change accordingly; when the service status changes, the instruction status will also change accordingly.

8. An electronic device, characterized in that, include: Processor, memory, and bus, among which, 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 can execute the method as described in any one of claims 1-6 by calling the program instructions.

9. 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, cause the computer to perform the method as described in any one of claims 1-6.

10. A computer program product, characterized in that, It includes computer program instructions, which, when read and executed by a processor, perform the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Process approval method and device

    CN111882294A

  • Rule management method and system in business systems, computer equipment and medium

    CN114418554A