Linkage function design method and device, equipment and storage medium
By interactively operating on the linkage design interface to determine linkage sub-actions and logical relationships, the problem of high design threshold in the existing technology is solved, and efficient linkage function design is achieved.
Patent Information
- Application Number
- CN202510723043.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, the design of linkage functions requires the use of scripting language configuration, which leads to a high design threshold. The operator needs to have a computer professional background, which increases the difficulty of design.
By interactively operating on the linkage design interface, the target linkage sub-actions and logical relationships can be determined, lowering the design threshold and improving design efficiency.
It realizes linkage function design without script language configuration, lowers the design threshold and improves design efficiency.
Smart Images

Figure CN120653233A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of linkage function management technology, and in particular to a linkage function design method, apparatus, device, and storage medium. Background Art
[0002] The integrated urban rail transit monitoring system integrates the functions of independently managed systems within the metro system through integration or interconnection, enabling complete monitoring and control of station and line equipment within a single system. Linkage, a key foundational function of the integrated monitoring system, enables automatic or semi-automatic (i.e., requiring manual confirmation) issuance of a series of predefined action commands to other systems when certain conditions, such as specific point status, designated time, or specific cycle, are met.
[0003] In order to ensure the flexibility of trigger conditions, the existing linkage trigger configuration method often uses computer professional scripting language engines such as Lua and Python for processing. This requires the operator to have a certain computer professional background to complete the linkage configuration, which increases the design threshold of the linkage function. Summary of the Invention
[0004] The embodiments of the present invention provide a linkage function design method, apparatus, device and storage medium, which can design linkage functions through interactive operations on a linkage design interface, lowering the design threshold of linkage functions and improving linkage function design efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a linkage function design method, the method comprising:
[0006] When a linkage design trigger instruction is received, a linkage design interface is displayed on a preset interactive interface; based on the linkage action design operation on the linkage design interface, multiple target linkage sub-actions are determined; based on the logic editing operation on the linkage design interface, the execution logical relationship between the multiple target linkage sub-actions is determined, and the target linkage action is determined according to the target linkage action and the execution logical relationship.
[0007] In a second aspect, an embodiment of the present invention provides a linkage function design device, the device comprising:
[0008] A design trigger module is used to display a linkage design interface on a preset interactive interface when a linkage design trigger instruction is received; a linkage sub-action determination module is used to determine multiple target linkage sub-actions based on the linkage action design operation on the linkage design interface; a linkage action determination module is used to determine the execution logical relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logical relationship.
[0009] In a third aspect, an embodiment of the present invention provides a computer device, the computer device comprising:
[0010] one or more processors;
[0011] a memory for storing one or more programs;
[0012] When the one or more programs are executed by the one or more processors, the one or more processors implement the linkage function design method described in any embodiment.
[0013] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the linkage function design method described in any embodiment.
[0014] The technical solution provided by the embodiment of the present invention is to display a linkage design interface on a preset interactive interface when a linkage design trigger instruction is received; determine multiple target linkage sub-actions based on the linkage action design operation on the linkage design interface; determine the execution logical relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logical relationship. The technical solution of the embodiment of the present invention solves the problem in the prior art that in the process of designing linkage functions, the configuration needs to be performed with the help of a scripting language, and the design threshold of the linkage function is relatively high. The linkage function can be designed through interactive operations on the linkage design interface, thereby lowering the design threshold of the linkage function and improving the design efficiency of the linkage function. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a flow chart of a linkage function design method provided by an embodiment of the present invention;
[0016] Figure 2 This is a flow chart of another linkage function design method provided by an embodiment of the present invention;
[0017] Figure 3 This is a flow chart of a method for executing linkage actions provided by an embodiment of the present invention;
[0018] Figure 4 This is a workflow diagram for designing linkage functions provided by an embodiment of the present invention;
[0019] Figure 5 Schematic diagram of the structure of a linkage function design device provided by an embodiment of the present invention;
[0020] Figure 6 It is a structural diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0022] Figure 1 This is a flow chart of a linkage function design method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to scenarios in which linkage functions are designed. The method can be executed by a linkage function design device, which can be implemented by software and / or hardware.
[0023] like Figure 1 As shown, the linkage function design method includes the following steps:
[0024] S110: When a linkage design trigger instruction is received, a linkage design interface is displayed on a preset interactive interface.
[0025] The linkage design trigger instruction may be a trigger instruction for performing linkage function design. Specifically, the linkage design trigger instruction may be issued by a user. For example, the user may click a design trigger control on a preset interactive interface to thereby issue the linkage design trigger instruction. Furthermore, the linkage design interface may be an interactive interface for performing linkage function design. The user may subsequently implement the linkage function design through interactive operations on this interface.
[0026] S120: Determine a plurality of target linkage sub-actions based on the linkage action design operation on the linkage design interface.
[0027] The linkage action design operation can be an interactive operation used to configure linkage actions. Specifically, users can initiate linkage action design operations through interactive actions such as clicking, dragging, manual input, and handwriting. The target linkage sub-action can be an automatic action used to construct the linkage function. Subsequently, multiple target linkage sub-actions can be linked to generate a complete set of linkage actions, thereby implementing the linkage function design process.
[0028] S130. Determine the execution logic relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logic relationship.
[0029] The logic editing operation can be an interactive operation that edits the execution logic between sub-actions. Specifically, a user can initiate a logic editing operation on the linkage design interface by clicking, dragging, or manually entering the logic. Furthermore, the execution logic relationship between the target linkage sub-actions can be determined based on the logic editing operation. The target linkage action can be the final linkage action. Specifically, multiple target linkage sub-actions can be associated based on the execution logic relationship to obtain the target linkage action.
[0030] The technical solution provided by the embodiment of the present invention is to display a linkage design interface on a preset interactive interface when a linkage design trigger instruction is received; determine multiple target linkage sub-actions based on the linkage action design operation on the linkage design interface; determine the execution logical relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logical relationship. The technical solution of the embodiment of the present invention solves the problem in the prior art that in the process of designing linkage functions, the configuration needs to be performed with the help of a scripting language, and the design threshold of the linkage function is relatively high. The linkage function can be designed through interactive operations on the linkage design interface, thereby lowering the design threshold of the linkage function and improving the design efficiency of the linkage function.
[0031] Figure 2 This is another flow chart of a linkage function design method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to scenarios in which linkage functions are designed. Based on the above embodiment, this embodiment further explains how to determine multiple target linkage sub-actions based on the linkage action design operation on the linkage design interface; and how to execute the linkage action. The device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.
[0032] like Figure 2 As shown, the linkage function design method includes the following steps:
[0033] S210: When a linkage design trigger instruction is received, a linkage design interface is displayed on a preset interactive interface.
[0034] S220: When an action selection instruction is received, multiple linkage action types are displayed on the linkage design interface.
[0035] Among them, the action selection instruction can be a trigger instruction for starting the linkage action selection. Specifically, the action selection instruction can be issued by the user on the linkage design interface. For example, the user can click on the action selection control on the interface to issue the action selection instruction. Furthermore, after receiving the action selection instruction, a variety of linkage action types can be displayed in the linkage design interface for the user to select, and the user can select the corresponding linkage action type according to needs. Among them, the various linkage action types displayed on the linkage design interface can be set in advance by humans. For example, in the case of fire linkage in the background, the linkage action types may include: controlling tunnel ventilation, turning on relevant station broadcasts, turning on in-vehicle broadcasts, and adjusting evacuation indicator lights.
[0036] S230: Determine a plurality of initial linkage sub-actions based on the action selection operation for the linkage action type.
[0037] Among them, the action selection operation can be an interactive operation for selecting the type of linkage action. Exemplarily, the user can issue an action selection operation on the linkage design interface by clicking or manually inputting. Furthermore, the initial linkage sub-action can be an original sub-action without parameter adjustment. Specifically, the corresponding initial linkage sub-action can be generated according to the linkage action type selected by the action selection operation. For example, if the action selection operation selects three types of linkage actions, three corresponding initial linkage sub-actions can be generated. Among them, the number of actions for each initial linkage sub-action can also be selected by the user. Furthermore, multiple initial linkage actions can be subsequently associated to generate a complete set of linkage actions, thereby realizing the design process of the linkage function.
[0038] S240 : Adjust the action parameters of each initial linkage sub-action based on the action editing operation to obtain multiple target linkage sub-actions.
[0039] The action editing operation can be an interactive operation for editing the action parameters of the initial linkage sub-action. Specifically, the user can initiate the action editing operation by selecting and dragging or manually inputting on the linkage design interface. The target linkage action can be a sub-action obtained after parameter adjustment. Specifically, based on the action editing operation, the action parameters of each initial linkage sub-action can be adjusted separately to obtain multiple target linkage sub-actions.
[0040] Optionally, the acquisition of an action editing operation regarding the initial linkage sub-action, and adjustment of the action parameters of each initial linkage sub-action based on the action editing operation to obtain multiple target linkage sub-actions, includes: for each initial linkage sub-action, upon receiving a conditional editing instruction, displaying a trigger condition editing item corresponding to the initial linkage sub-action on the linkage design interface; determining at least one action triggering condition according to the trigger condition editing operation corresponding to the trigger condition editing item; and in the case of multiple action triggering conditions, determining a conditional association relationship between the multiple action triggering conditions based on a trigger association editing operation to obtain a target linkage sub-action corresponding to the initial linkage sub-action.
[0041] Among them, the condition editing instruction can be an instruction to start editing the action trigger condition. Exemplarily, the user can click on the condition editing control on the linkage design interface to issue a condition editing instruction. Further, the trigger condition editing item can be an editable item of the trigger condition corresponding to the initial linkage sub-action. Exemplarily, the trigger condition editing item can include the trigger time, trigger position, trigger target value and target value calculation method (equal to, not equal to, greater than or less than), etc. Further, the action trigger condition can be the trigger condition corresponding to the execution of the sub-action. Exemplarily, the user can determine the action trigger condition corresponding to each initial linkage sub-action through trigger condition editing operations such as selection or manual input.
[0042] Furthermore, a conditional association relationship can be an association relationship between multiple action trigger conditions. Specific conditional association relationships include trigger priority, simultaneous triggering, or any triggering relationship. For example, a conditional association relationship between multiple action trigger conditions can be determined based on a trigger association edit operation, and then multiple initial linkage sub-actions can be associated based on the conditional association relationship to obtain a target linkage sub-action.
[0043] S250: Based on the logic editing operation on the linkage design interface, determine the execution logical relationship between the multiple target linkage sub-actions, and determine the target linkage action according to the target linkage action and the execution logical relationship.
[0044] Optionally, when a multi-linkage action configuration instruction is received, a multi-linkage action configuration table can be displayed on the linkage design interface; wherein the multi-linkage action configuration table includes an action table and a scene table; based on the table editing operation for the multi-linkage action configuration table, the target action configuration table is determined; and the target linkage action is determined according to the target action configuration table.
[0045] Among them, the multi-linkage action configuration instruction can be a trigger instruction that requires configuration of multiple linkage actions. The multi-linkage action configuration table can be a table for configuring parameters for multiple linkage actions. Users can configure multiple linkage actions to action parameters in the multi-linkage action configuration table at the same time. Among them, the multi-linkage action configuration table includes an action table and a scene table. The action table includes: at least one of: action type, action execution method, action execution order, execution delay information, command-to-station and specialty, control point, and target value information; the scene table includes: at least one of: linkage scene, trigger method, and trigger location.
[0046] Furthermore, the target action configuration table can be a table generated after parameter configuration. Specifically, the action parameters in the multi-linkage action configuration table can be configured through the table editing operation issued by the user, and then the target action configuration table can be obtained. Among them, the target action configuration table can include action parameters of multiple linkage actions, and finally multiple target linkage actions can be automatically exported according to the target action configuration table. Exemplarily, after the operation personnel need to fill in the action table and the scenario table according to the predetermined rules according to the operation requirements, they can automatically convert them into parameter files that can be imported into the integrated monitoring system. These files can be imported with one click and there is no need to restart the integrated monitoring system. The new linkage configuration will take effect immediately, realizing the online update function of the linkage configuration.
[0047] Optionally, after determining the target linkage action, it also includes: determining at least one indicator to be monitored and an indicator trigger condition corresponding to the indicator to be monitored based on the target linkage action, and for each indicator to be monitored, when the indicator to be monitored meets the indicator trigger condition, executing the target linkage sub-action corresponding to the indicator trigger condition.
[0048] Among them, the indicator to be monitored can be an indicator that needs to be state monitored. The indicator trigger condition can be a trigger condition for executing a linkage action associated with the indicator to be monitored. Specifically, after determining the target linkage action, the indicator designed in the target linkage action can be used as the indicator to be monitored. Then, according to the trigger condition of the sub-action, the trigger condition corresponding to each indicator to be monitored is determined respectively, and the determined trigger condition is used as the indicator trigger condition. Furthermore, the indicator parameters of each indicator to be monitored can be monitored in real time, and when the indicator to be monitored meets the indicator trigger condition, the target linkage sub-action corresponding to the indicator trigger condition is executed.
[0049] Optionally, when the indicator to be monitored satisfies multiple indicator triggering conditions, target linkage sub-actions corresponding to multiple indicator triggering conditions may also be executed simultaneously.
[0050] For example, Figure 3This is a flow chart of a method for executing linkage actions provided by an embodiment of the present invention. Figure 3 As shown in the figure, we first establish an association relationship between a linkage condition and a linkage based on the linkage parameters. When the data collected by the comprehensive monitoring (such as the interval fire status of the interval fire linkage; the CCTV abnormal scene threshold of the large passenger flow warning linkage) changes, it will actively check whether this point is associated with the linkage configuration (that is, whether this point is a trigger condition for a certain linkage). If it is not a trigger condition, the linkage trigger check ends; otherwise, it only calculates whether the linkage associated with this point meets the trigger condition to complete the monitoring function of the linkage trigger.
[0051] The existing scanning trigger detection process for linkage is as follows: the scanning process loops through each trigger condition of the linkage configuration. If the time required to check one linkage is t, then a total of N scans will take N*t time. A significant increase in N will dramatically increase the time required for a single scan. According to prior art experience, the time required for a linkage trigger check is much longer than the time required to determine whether a point is associated with a linkage. The algorithm time complexity is basically improved from O(n) to O(1). Therefore, the technical solution of the embodiment of the present invention can eliminate the linkage trigger check process that is not related to the linkage data, solve the problem of detecting a large number of linkage trigger conditions, and ensure that the system can respond promptly after the linkage is triggered.
[0052] For example, in order to better understand the technical solution provided by the present invention, a specific embodiment is introduced below:
[0053] The linkage setting configuration method includes the following steps:
[0054] (1) Add a new linkage setting
[0055] (2) Select the linkage definition that has been configured (a group of linkage actions and their execution methods are called a linkage definition), that is, configure the control action information that needs to be completed in this linkage
[0056] For example, the section fire linkage requires that when a section fire occurs, a series of equipment behaviors such as controlling tunnel ventilation, turning on relevant station broadcasts, turning on in-car broadcasts, and adjusting evacuation indicator lights can be quickly and accurately implemented based on information such as the train position; for example, when a station detects a large passenger flow, it automatically turns on the corresponding CCTV surveillance screen for the duty officer to quickly deal with it.
[0057] (3) Set the linkage trigger mode to conditional trigger
[0058] (4) Add a new linkage input parameter
[0059] For example, the input parameter of the interval fire linkage is the corresponding fire alarm point of the FAS profession, and the parameter is the point name in the ISCS of this point; the input point of the large passenger flow linkage is the analysis result of the CCTV intelligent analysis system.
[0060] (5) You can set the parameter input point, target value, target value operation method (equal to, not equal to, greater than, less than, etc.) according to the station, major, type and keyword. If you continue to set, go to (6), otherwise go to (8)
[0061] (6) Select the next logical operation (AND, OR) and priority setting
[0062] (7) Repeat steps (4) and (5) until all input configurations are completed.
[0063] (8) Save linkage setting information
[0064] Associate the "linkage setting" with the linkage action definition to achieve semi-automatic / automatic execution of the linkage action after all input parameter states are met.
[0065] After the linkage configuration is successfully saved, the linkage trigger detection service running on the server will receive the changes and compile the generated text-format source code into a binary operation file. The server can then call this file to check the linkage trigger conditions. Compiling the linkage conditions from text (similar to a script) into a unified binary file format can compensate for the performance loss caused by using a script parsing engine while retaining the flexibility of the script method.
[0066] The technical solution provided by the embodiment of the present invention is to display a linkage design interface on a preset interactive interface when a linkage design trigger instruction is received; to display a plurality of linkage action types on the linkage design interface when an action selection instruction is received; to determine a plurality of initial linkage sub-actions based on an action selection operation for the linkage action type; to adjust the action parameters of each initial linkage sub-action based on the action editing operation to obtain a plurality of target linkage sub-actions; to determine the execution logical relationship between the plurality of target linkage sub-actions based on the logic editing operation on the linkage design interface, and to determine the target linkage action according to the target linkage action and the execution logical relationship. The technical solution of the embodiment of the present invention solves the problem in the prior art that in the process of designing linkage functions, the scripting language needs to be used for configuration, and the design threshold of the linkage function is relatively high. The linkage function can be designed through interactive operations on the linkage design interface, thereby lowering the design threshold of the linkage function and improving the design efficiency of the linkage function.
[0067] Figure 5 This is a structural diagram of a linkage function design device provided in an embodiment of the present invention. The embodiment of the present invention can be applied to scenarios in which linkage functions are designed. The device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.
[0068] like Figure 5As shown, the linkage function design device includes: a design trigger module 310 , a linkage sub-action determination module 320 and a linkage action determination module 330 .
[0069] Among them, the design trigger module is used to display the linkage design interface on the preset interactive interface when a linkage design trigger instruction is received; the linkage sub-action determination module is used to determine multiple target linkage sub-actions based on the linkage action design operation on the linkage design interface; the linkage action determination module is used to determine the execution logical relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logical relationship.
[0070] The technical solution provided by the embodiment of the present invention is to display a linkage design interface on a preset interactive interface when a linkage design trigger instruction is received; determine multiple target linkage sub-actions based on the linkage action design operation on the linkage design interface; determine the execution logical relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logical relationship. The technical solution of the embodiment of the present invention solves the problem in the prior art that in the process of designing linkage functions, the configuration needs to be performed with the help of a scripting language, and the design threshold of the linkage function is relatively high. The linkage function can be designed through interactive operations on the linkage design interface, thereby lowering the design threshold of the linkage function and improving the design efficiency of the linkage function.
[0071] In an optional embodiment, the linkage sub-action determination module 320 is specifically used to: display a plurality of linkage action types on the linkage design interface when an action selection instruction is received; determine a plurality of initial linkage sub-actions based on the action selection operation for the linkage action type; and adjust the action parameters of each initial linkage sub-action based on the action editing operation to obtain a plurality of target linkage sub-actions.
[0072] In an optional embodiment, the linkage sub-action determination module 320 includes: an action parameter adjustment unit, which is used to: for each initial linkage sub-action, when a conditional editing instruction is received, display the trigger condition editing item corresponding to the initial linkage sub-action on the linkage design interface; determine at least one action trigger condition according to the trigger condition editing operation corresponding to the trigger condition editing item; in the case of multiple action trigger conditions, determine the conditional association relationship between the multiple action trigger conditions based on the trigger association editing operation, and obtain the target linkage sub-action corresponding to the initial linkage sub-action.
[0073] In an optional embodiment, the linkage function design device also includes: a linkage action configuration module, which is used to: display a multi-linkage action configuration table on the linkage design interface when a multi-linkage action configuration instruction is received; wherein the multi-linkage action configuration table includes an action table and a scene table; based on the table editing operation for the multi-linkage action configuration table, determine the target action configuration table; determine the target linkage action according to the target action configuration table.
[0074] In an optional embodiment, the linkage function design device also includes: a linkage action execution module, which is used to: after determining the target linkage action, determine at least one indicator to be monitored and an indicator trigger condition corresponding to the indicator to be monitored according to the target linkage action, and for each indicator to be monitored, when the indicator to be monitored meets the indicator trigger condition, execute the target linkage sub-action corresponding to the indicator trigger condition.
[0075] In an optional embodiment, the linkage action execution module includes: a multi-indicator monitoring unit, which is used to: when the indicator to be monitored meets multiple indicator triggering conditions, simultaneously execute target linkage sub-actions corresponding to multiple indicator triggering conditions.
[0076] In an optional embodiment, the action table includes: action type, action execution method, action execution order, execution delay information, command station and profession, control point and at least one of target value information; the scene table includes: linkage scene, trigger method and trigger location.
[0077] The linkage function design device provided in the embodiment of the present invention can execute the linkage function design method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0078] Figure 6 A schematic structural diagram of a computer device provided in an embodiment of the present invention. Figure 6 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 6 The computer device 12 shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capabilities and can be configured in the linkage function design device.
[0079] like Figure 6 As shown, computer device 12 is implemented as a general-purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0080] The bus 18 may be one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0081] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0082] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 6 Not shown, often called a "hard drive"). Although Figure 6 Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0083] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0084] The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may occur through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. Figure 6 As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0085] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the linkage function design method provided in an embodiment of the present invention, which includes:
[0086] When a linkage design trigger instruction is received, a linkage design interface is displayed on a preset interactive interface; based on the linkage action design operation on the linkage design interface, multiple target linkage sub-actions are determined; based on the logic editing operation on the linkage design interface, the execution logical relationship between the multiple target linkage sub-actions is determined, and the target linkage action is determined according to the target linkage action and the execution logical relationship.
[0087] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for designing a linkage function as provided in any embodiment of the present invention is implemented, including:
[0088] When a linkage design trigger instruction is received, a linkage design interface is displayed on a preset interactive interface; based on the linkage action design operation on the linkage design interface, multiple target linkage sub-actions are determined; based on the logic editing operation on the linkage design interface, the execution logical relationship between the multiple target linkage sub-actions is determined, and the target linkage action is determined according to the target linkage action and the execution logical relationship.
[0089] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0090] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0091] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0092] The computer program code for performing the operations of the present invention can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0093] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
[0094] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments, and substitutions are possible for those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A linkage function design method, characterized in that: include: When a linkage design trigger instruction is received, the linkage design interface is displayed on the preset interactive interface; Determining a plurality of target linkage sub-actions based on the linkage action design operation on the linkage design interface; Based on the logic editing operation on the linkage design interface, the execution logic relationship between the multiple target linkage sub-actions is determined, and the target linkage action is determined according to the target linkage action and the execution logic relationship.
2. The method according to claim 1, characterized in that The step of determining a plurality of target linkage sub-actions based on the linkage action design operation on the linkage design interface includes: When an action selection instruction is received, multiple linkage action types are displayed on the linkage design interface; determining a plurality of initial linkage sub-actions based on an action selection operation for the linkage action type; Based on the action editing operation, the action parameters of each initial linkage sub-action are adjusted respectively to obtain multiple target linkage sub-actions.
3. The method according to claim 2, characterized in that The action parameters of each initial linkage sub-action are adjusted based on the action editing operation to obtain multiple target linkage sub-actions, including: For each initial linkage sub-action, when a condition editing instruction is received, a trigger condition editing item corresponding to the initial linkage sub-action is displayed on the linkage design interface; Determining at least one action triggering condition according to the triggering condition editing operation corresponding to the triggering condition editing item; In the case of including multiple action triggering conditions, the conditional association relationship between the multiple action triggering conditions is determined based on the trigger association editing operation to obtain the target linkage sub-action corresponding to the initial linkage sub-action.
4. The method according to claim 1, wherein The method further comprises: When a multi-linkage action configuration instruction is received, a multi-linkage action configuration table is displayed on the linkage design interface; wherein the multi-linkage action configuration table includes an action table and a scene table; Determining a target action configuration table based on a table editing operation on the multi-linked action configuration table; The target linkage action is determined according to the target action configuration table.
5. The method according to claim 1, wherein After determining the target linkage action, the method further includes: Determine at least one indicator to be monitored and an indicator trigger condition corresponding to the indicator to be monitored according to the target linkage action; For each indicator to be monitored, when the indicator to be monitored meets the indicator triggering condition, the target linkage sub-action corresponding to the indicator triggering condition is executed.
6. The method according to claim 5, characterized in that When the indicator to be monitored meets the indicator trigger condition, executing the target linkage sub-action corresponding to the indicator trigger condition includes: In the case that the indicator to be monitored meets multiple indicator triggering conditions, target linkage sub-actions corresponding to multiple indicator triggering conditions are executed simultaneously.
7. The method according to claim 4, characterized in that The action table includes: action type, action execution method, action execution order, execution delay information, command station and profession, control point and target value information; the scene table includes: linkage scene, trigger method and trigger location.
8. A linkage function design device, characterized in that: The device comprises: The design trigger module is used to display the linkage design interface on the preset interactive interface when receiving the linkage design trigger instruction; A linkage sub-action determination module, configured to determine a plurality of target linkage sub-actions based on the linkage action design operation on the linkage design interface; The linkage action determination module is used to determine the execution logical relationship between the multiple target linkage sub-actions based on the logic editing operation on the linkage design interface, and determine the target linkage action according to the target linkage action and the execution logical relationship.
9. A computer device, characterized in that: The computer device comprises: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the linkage function design method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the linkage function design method according to any one of claims 1 to 7 is implemented.