Device screening method, device, electronic device and storage medium
By using the target filtering configuration interface in the relationship diagram tool to obtain the device filtering configuration information and instantiate the filtered device connection relationship diagram, the problem of complex and inefficient equipment screening process is solved, and more efficient and accurate equipment screening is achieved.
Patent Information
- Application Number
- CN202311835467.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2043-12-28
AI Technical Summary
In relational graph tools, the device screening process is complex and inefficient, especially for inexperienced business personnel, it is difficult to quickly and accurately screen out equipment classes that meet certain conditions.
By determining the type of equipment that needs to be filtered in the target project, using the connection diagram template to represent the target project data, triggering the filtering function to display the target filter configuration interface, and obtaining the target filter configuration information through this interface, and finally instantiating the filtered device connection diagram.
The equipment screening process is simplified, screening efficiency is improved, learning costs are reduced, and users can filter out equipment that meet the conditions more quickly and accurately.
Smart Images

Figure CN117742544B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a device screening method, apparatus, electronic equipment and storage medium. Background Art
[0002] When drawing a relationship diagram in a relationship diagram tool, an important operation before instantiation is to filter the devices, which is to filter only for a specific device class in a type of relationship diagram.
[0003] In the instantiation of the relationship diagram, it is necessary to accurately filter out the equipment classes that meet this system. In this scenario, it is necessary not only to filter out the equipment classes that meet the relationship, but also to filter out the equipment classes that meet the specific information points. Business personnel need to have certain experience to quickly filter out equipment, but it is relatively difficult for inexperienced business personnel. Therefore, how to quickly, rigorously and efficiently filter out a device class is an urgent problem that needs to be solved. Summary of the invention
[0004] The present invention provides a device screening method, an apparatus, an electronic device and a storage medium to solve the problem that the device filtering setting in a relationship diagram drawing tool is difficult and inefficient.
[0005] According to one aspect of the present invention, there is provided a device screening method, comprising:
[0006] Determine the target type of equipment that needs to be screened in the target project, wherein the target project data is represented by a connection relationship diagram template for describing the connection relationship between the equipment;
[0007] In response to a first operation for triggering a filtering function for a target type device, displaying a target filtering configuration interface corresponding to the target type device, and acquiring target filtering configuration information for the target type device through the target filtering configuration interface;
[0008] In response to determining a second operation of target filtering configuration information for target type devices, a connection relationship graph of filtered target type devices is instantiated from a connection relationship graph template corresponding to the target project data based on the target filtering configuration information.
[0009] According to another aspect of the present invention, there is provided a device screening apparatus, comprising:
[0010] A determination module, used for determining target type devices that need to be screened in a target project, wherein the target project data is represented by a connection relationship diagram template for describing the connection relationship between devices;
[0011] an acquisition module, configured to display a target filtering configuration interface corresponding to the target type device in response to a first operation that triggers a filtering function of the target type device, and acquire target filtering configuration information for the target type device through the target filtering configuration interface;
[0012] The screening module is used for responding to the second operation of determining the target filtering configuration information of the target type device, and instantiating the connection relationship diagram of the screened target type device from the connection relationship diagram template corresponding to the target project data based on the target filtering configuration information.
[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the device screening method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the device screening method described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention determines the target type devices that need to be screened in the target project, the target project data is represented by a connection relationship diagram template used to describe the connection relationship between devices, in response to a first operation for triggering the filtering function of the target type device, the target filtering configuration interface corresponding to the target type device is displayed, and the target filtering configuration information of the target type device is obtained through the target filtering configuration interface, in response to a second operation for determining the target filtering configuration information of the target type device, based on the target filtering configuration information, the connection relationship diagram of the screened target type device is instantiated from the connection relationship diagram template corresponding to the target project data. The solution of this application solves the problems of high difficulty and low efficiency in user relationship diagram drawing by combining filtering of the matching relationship of the device class and filtering of the matching information point device, reduces the learning cost for users, and improves the filtering efficiency of devices.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 is a flow chart of a device screening method provided according to an embodiment of the present invention;
[0022] Figure 2 is a screenshot of the device screening method interface applicable to an embodiment of the present invention;
[0023] Figure 3 is a screenshot of an interface of a filtering operation of a device screening method provided according to an embodiment of the present invention;
[0024] Figure 4a is a schematic diagram of a default flow chart of a device screening method provided according to an embodiment of the present invention;
[0025] Figure 4b is a schematic diagram of a process flow of adding a chain device according to a device screening method provided by an embodiment of the present invention;
[0026] Figure 4c is a schematic diagram of a new relationship chain process according to a device screening method provided in an embodiment of the present invention;
[0027] Figure 4d is a schematic diagram of a new relationship group process of a device screening method provided in an embodiment of the present invention;
[0028] Figure 5 This is a screenshot of an interface for adding a chain device in a device screening method provided according to an embodiment of the present invention;
[0029] Figure 6 is a hierarchical illustration of a device screening method provided according to an embodiment of the present invention;
[0030] Figure 7 is a structural schematic diagram of a device screening apparatus provided according to an embodiment of the present invention;
[0031] Figure 8 It is a schematic diagram of the structure of an electronic device for implementing the device screening method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] Figure 1 A flowchart of a device screening method is provided for an embodiment of the present invention. This embodiment is applicable to the situation of screening a specified type of device in the system. The method can be executed by a device screening device. The device screening device can be implemented in the form of hardware and / or software. The device screening device can be configured in any electronic device with network communication function.
[0035] like Figure 1 As shown, the device screening method of this embodiment includes the following process:
[0036] S110, determining target type devices that need to be screened in the target project, wherein the target project data is represented by a connection relationship diagram template for describing the connection relationship between devices.
[0037] The target project is a scene system relationship diagram to be drawn. The target type device is a type of device in the current target relationship diagram. The target project relationship diagram shows the connection relationship and connection direction between devices. Taking the target project data as a water supply relationship diagram of an air-conditioning cooling system as an example, it is determined that the target type device to be selected for the water supply relationship diagram in the air-conditioning cooling system can be the target device cooling tower, and then the cooling tower is screened.
[0038] As an optional but non-limiting implementation method, determining the target type device that needs to be screened in the target project includes the following steps:
[0039] Get the target device legend selected from the device legend template, and use the device of the type corresponding to the target device legend as the target type device.
[0040] See also Figure 2 , on the left is the target equipment legend that can be selected in the relationship diagram drawing tool, including cooling tower #1, cooling tower #2, water collector #1, cooling water pump #2, etc. (Cooling tower #1 and cooling tower #2 are different equipment of the same equipment type, including the connection relationship and connection direction between them and different equipment.) Figure 2 Take the cooling tower in the example, the cooling tower is just one of the target type equipment. Select the target type equipment cooling tower that needs to be screened from the equipment legend template, drag it to the development environment, and operate it as the starting object.
[0041] S120: In response to a first operation for triggering a filtering function for a target type device, display a target filtering configuration interface corresponding to the target type device, and obtain target filtering configuration information for the target type device through the target filtering configuration interface.
[0042] See also Figure 2 , taking cooling tower as an example, cooling tower is just one of the target type equipment. The first operation is to trigger the filtering function of the target type equipment cooling tower in the relationship diagram drawing tool, and after triggering, the filtering configuration interface corresponding to the target type equipment cooling tower is displayed. The filtering configuration interface is the filtering configuration information of the target type cooling tower, including the cooling tower relationship chain, relationship group settings, and relationship filtering setting logic information and logic or logic.
[0043] As an optional but non-limiting implementation method, the first operation is a trigger operation for a configuration function identifier related to a filtering function corresponding to a target type device, and the configuration function identifier related to the filtering function corresponding to the target type device is generated by triggering a device legend corresponding to the target type device.
[0044] See also Figure 2 , taking the cooling tower as an example, the cooling tower is just one of the target type devices. In the development environment, the cooling tower has been selected as the target type device, and the configuration function identifiers corresponding to the cooling tower include filter settings, anchor text, and instantiated layout. The first operation is to trigger the filter settings in the configuration function corresponding to the target device cooling tower. The actual operation is triggered by clicking on the device legend of the target type device cooling tower in the development environment.
[0045] As an optional but non-limiting implementation method, the target filtering configuration information is used to indicate the filtering and screening of target type devices in the target type device set that meet the first filtering condition information and / or the second filtering condition information, the first filtering condition information is used to indicate the different device relationship groups that the target type devices need to satisfy and the logical relationship between different device relationship groups, each device relationship group indicates the different relationship chains corresponding to the target type devices and the logical relationship between different relationship chains, each relationship chain corresponding to the target type device includes the target type device, the reference device connected in sequence with the target type device as the starting device, and the connection direction; the second filtering condition information is used to indicate the device attribute information that the target type device needs to satisfy.
[0046] See also Figure 3 , taking the water inlet pipe as an example, the water inlet pipe is just one of the target type devices. The target filtering configuration information includes the first filtering condition information and the second filtering condition information. The first filtering condition information is also called relationship filtering, which includes different device relationship groups that the target type device water inlet pipe needs to meet and the logical relationship between different device relationship groups. Each device relationship group shows the different relationship chains corresponding to the target type device water inlet pipe and the logical relationship between different relationship chains. The logical relationship is an and relationship or an or relationship. Figure 3 Taking the water inlet pipe as an example, the first filtering condition information includes the related equipment information of the two relationship groups and the logical relationship between the two equipment relationship groups is set to or. Relationship group 1 includes two drainage relationship chains corresponding to the target equipment water inlet pipe as the starting device and the logical relationship between the two drainage relationship chains is set to and. Relationship chain 1 includes the reference equipment water replenishment pump and the whole water treatment instrument connected in sequence with the target type equipment water inlet pipe as the starting device, and the connection direction between the equipment is indicated by '<-'. The second filtering condition information is also called information point filtering, which includes the equipment attribute information that the target type equipment water inlet pipe needs to meet. The equipment attribute information can add filtering conditions by itself. Figure 3 Taking the water inlet pipe as an example, the second filtering condition information is manufacturer, water flow, voltage, and water inlet volume.
[0047] As an optional but non-limiting implementation, obtaining target filtering configuration information for the target type device through a target filtering configuration interface includes the following steps:
[0048] In response to the adding operation of the reference device in the relationship chain corresponding to the target type device, the reference devices and the connection directions connected in sequence starting from the target type device are added to each relationship chain corresponding to the target type device.
[0049] See also Figure 4d, taking the drainage relationship chain corresponding to the water inlet pipe as the starting device as an example, it can correspond to multiple drainage relationship chains with different relationships. The water inlet pipe is just one type of target type device. Obtain the first filter condition configuration information of the target type device water inlet pipe through the target filter configuration interface, and add the reference device of the drainage relationship chain 1 in the relationship group 1 corresponding to the water inlet pipe. See Figure 4a In the default scenario, the selected target device water inlet pipe is the starting device. Click the "+" button to add a chain device. The optional chain device pop-up window can be seen in Figure 5 , select the link device and the relationship type and relationship direction. Figure 4b Add a new chain equipment scenario, the starting device of drainage relationship chain 1 is the water inlet pipe, the reference device connected to the water inlet pipe is selected as the full-process water treatment instrument, the relationship type is set to water inlet relationship, and the relationship direction arrow is set to the left.
[0050] As an optional but non-limiting implementation, obtaining target filtering configuration information for the target type device through the target filtering configuration interface includes the following steps A1-A2:
[0051] Step A1: In response to the logic editing operation on different relationship chains corresponding to target type devices, the logical relationships between different relationship chains corresponding to target type devices in the same device relationship group are configured, and the logical relationships between different relationship chains are AND relationships or OR relationships.
[0052] Step A2: In response to the logic editing operation on different device relationship groups corresponding to the target type device, the logical relationship between the different device relationship groups corresponding to the target type device is configured, and the logical relationship between the different device relationship groups is an AND relationship or an OR relationship.
[0053] See also Figure 6 , in the previous step, the chain device relationship and direction are set, and the first filtering condition information is configured for the target type device through the target filtering configuration interface. The logical relationship between different relationship chains corresponding to the target type devices in the same device relationship group is configured, and the logical relationship between different relationship chains is an and relationship or an or relationship. The logical relationship between different device relationship groups corresponding to the target type devices is configured, and the logical relationship between different device relationship groups is an and relationship or an or relationship. If the relationship groups are in an and relationship, the relationship chains are in an or relationship. If the relationship groups are in an or relationship, the relationship chains are in an and relationship. The and relationship indicates that the filtered target type devices need to satisfy both relationships, and the or relationship indicates that the filtered target type devices only need to satisfy one of the relationships.
[0054] As an optional but non-limiting implementation, obtaining target filtering configuration information for the target type device through the target filtering configuration interface includes the following steps B1-B2:
[0055] Step B1: In response to a relationship chain adding operation on a device relationship group corresponding to a target type device, a relationship chain with the target type device as a starting device is added to the device relationship group corresponding to the target type device.
[0056] Step B2: In response to the operation of adding the device relationship group corresponding to the target type device, a device relationship group corresponding to the target type device is added to the first filtering condition information corresponding to the target type device.
[0057] See also Figure 4d , taking the drainage relationship chain and relationship group corresponding to the water inlet pipe as the starting device as an example, it can correspond to multiple drainage relationship chains with different device connection relationships and relationship groups composed of different relationship chains. The water inlet pipe is just one type of target type device. Get the first filter condition configuration information of the target type device water inlet pipe through the target filter configuration interface, see Figure 4c In the scenario of adding a new relationship chain, add drainage relationship chain 2 to the device relationship group 1 corresponding to the target type device water inlet pipe. The starting device of the new drainage relationship chain 2 is the target type device water inlet pipe. If multiple relationship chains are required, click "+ Add relationship chain" in each device relationship group to add a relationship chain in the device relationship group. The default selected device is the starting device. Figure 4d In the scenario of adding a new relationship group, the device relationship group 2 corresponding to the target type device water inlet pipe is added to the device relationship group 1 corresponding to the target type device water inlet pipe. The relationship chain name is automatically increased by 1, and the newly added relationship group 2 corresponding to the target type device water inlet pipe contains the newly added relationship chain 3 with the water inlet pipe as the starting device.
[0058] S130. In response to determining a second operation of target filtering configuration information for target type devices, instantiate a connection relationship graph of filtered target type devices from a connection relationship graph template corresponding to the target project data based on the target filtering configuration information.
[0059] See also Figure 3 , taking the water inlet pipe as an example, the water inlet pipe is just one type of target device. The second operation is performed on the target type device water inlet pipe target filtering configuration information, also known as information point filtering, which contains the device attribute information that the target type device water inlet pipe needs to meet. The device attribute information can add filtering conditions by itself. Figure 3 Taking the water inlet pipe in as an example, the second filter condition information is manufacturer, water flow, voltage, and water inlet. The second filter condition configuration includes the manufacturer is Guangdong stainless steel cold water pump manufacturer, the water flow is not equal to 75V, the voltage is not equal to 75V, and the water inlet is within a certain range. According to the connection relationship diagram template corresponding to the first and second filter conditions configured above, the connection relationship diagram of the filtered target type equipment is instantiated and displayed in the background, providing an efficient, organized, and accurate filtering method.
[0060] The technical solution of the embodiment of the present invention determines the target type devices that need to be screened in the target project, the target project data is represented by a connection relationship diagram template used to describe the connection relationship between devices, in response to a first operation for triggering the filtering function of the target type device, the target filtering configuration interface corresponding to the target type device is displayed, and the target filtering configuration information of the target type device is obtained through the target filtering configuration interface, in response to a second operation for determining the target filtering configuration information of the target type device, based on the target filtering configuration information, the connection relationship diagram of the screened target type device is instantiated from the connection relationship diagram template corresponding to the target project data. The solution of this application solves the problem of high difficulty and low efficiency when users use relationship diagram tools to draw relationship diagrams by combining filtering of the matching relationship of the equipment class and filtering of the matching information point equipment, reduces the learning cost for users, and improves the filtering efficiency of equipment.
[0061] Figure 7 A schematic diagram of the structure of a device screening device provided by an embodiment of the present invention. This embodiment is applicable to the case of screening a specified type of device in a system, and the device screening device can be implemented in the form of hardware and / or software, and can be configured in any electronic device with network communication function.
[0062] like Figure 7 As shown, the device screening device of this embodiment may include the following:
[0063] A determination module 310 is used to determine target type devices that need to be screened in a target project, wherein the target project data is represented by a connection relationship diagram template for describing the connection relationship between devices;
[0064] An acquisition module 320, configured to display a target filtering configuration interface corresponding to the target type device in response to a first operation that triggers a filtering function of the target type device, and acquire target filtering configuration information for the target type device through the target filtering configuration interface;
[0065] The screening module 330 is used for, in response to determining the second operation of the target filtering configuration information for the target type device, instantiating a connection relationship diagram of the screened target type device from the connection relationship diagram template corresponding to the target project data based on the target filtering configuration information.
[0066] Based on the device technical solution provided in the above embodiment, optionally, the target type devices that need to be screened in the target project include:
[0067] Get the target device legend selected from the device legend template, and use the device of the type corresponding to the target device legend as the target type device.
[0068] Based on the device technical solution provided in the above embodiment, optionally, the first operation is a trigger operation for a configuration function identifier related to a filtering function corresponding to the target type device, and the configuration function identifier related to the filtering function corresponding to the target type device is generated by triggering a device legend corresponding to the target type device.
[0069] Based on the device technical solution provided in the above embodiment, optionally, the target filtering configuration information is used to indicate filtering and screening of target type devices in the target type device set that meet the first filtering condition information and / or the second filtering condition information, and the first filtering condition information is used to indicate different device relationship groups that the target type device needs to satisfy and the logical relationship between different device relationship groups. Each device relationship group indicates different relationship chains corresponding to the target type device and the logical relationship between different relationship chains. Each relationship chain corresponding to the target type device includes the target type device, reference devices connected in sequence with the target type device as the starting device, and the connection direction; the second filtering condition information is used to indicate the device attribute information that the target type device needs to satisfy.
[0070] Based on the device technical solution provided in the above embodiment, optionally, obtaining target filtering configuration information for the target type device through a target filtering configuration interface includes:
[0071] In response to the adding operation of the reference device in the relationship chain corresponding to the target type device, the reference devices and the connection directions connected in sequence starting from the target type device are added to each relationship chain corresponding to the target type device.
[0072] Based on the device technical solution provided in the above embodiment, optionally, obtaining target filtering configuration information for the target type device through a target filtering configuration interface includes:
[0073] In response to the logic editing operation on different relationship chains corresponding to the target type device, the logical relationship between different relationship chains corresponding to the target type device in the same device relationship group is configured, and the logical relationship between different relationship chains is an AND relationship or an OR relationship;
[0074] In response to the logic editing operation on different device relationship groups corresponding to the target type device, the logical relationship between the different device relationship groups corresponding to the target type device is configured, and the logical relationship between the different device relationship groups is an AND relationship or an OR relationship.
[0075] Based on the device technical solution provided in the above embodiment, optionally, obtaining target filtering configuration information for the target type device through a target filtering configuration interface includes:
[0076] In response to an operation of adding a relationship chain to the device relationship group corresponding to the target type device, a relationship chain with the target type device as a starting device is added to the device relationship group corresponding to the target type device;
[0077] In response to the operation of adding the device relationship group corresponding to the target type device, the device relationship group corresponding to the target type device is newly added in the first filtering condition information corresponding to the target type device.
[0078] The technical solution of the embodiment of the present invention determines the target type devices that need to be screened in the target project, the target project data is represented by a connection relationship diagram template used to describe the connection relationship between devices, in response to a first operation for triggering the filtering function of the target type device, the target filtering configuration interface corresponding to the target type device is displayed, and the target filtering configuration information of the target type device is obtained through the target filtering configuration interface, in response to a second operation for determining the target filtering configuration information of the target type device, based on the target filtering configuration information, the connection relationship diagram of the screened target type device is instantiated from the connection relationship diagram template corresponding to the target project data. The solution of this application solves the problem of high difficulty and low efficiency when users use relationship diagram tools to draw relationship diagrams by combining filtering of the matching relationship of the equipment class and filtering of the matching information point equipment, reduces the learning cost for users, and improves the filtering efficiency of equipment.
[0079] The equipment screening device provided in the embodiment of the present invention can execute the equipment screening method provided in any embodiment of the present invention, and has the corresponding functions and beneficial effects of executing the equipment screening method. For detailed process, please refer to the relevant operations of the equipment screening method in the above embodiment.
[0080] Figure 8 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0081] like Figure 8As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0082] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0083] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as method device screening.
[0084] In some embodiments, the method device screening may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method device screening described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method device screening in any other suitable manner (e.g., by means of firmware).
[0085] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0086] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0087] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0088] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0089] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0090] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0091] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0092] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A device screening method, characterized in that: include: Determine the target type of equipment that needs to be screened in the target project, and the target project data is represented by a connection relationship diagram template for describing the connection relationship between the equipment; In response to a first operation for triggering a filtering function for a target type device, displaying a target filtering configuration interface corresponding to the target type device, and acquiring target filtering configuration information for the target type device through the target filtering configuration interface; In response to determining a second operation of target filtering configuration information for target type devices, instantiating a connection relationship graph of filtered target type devices from a connection relationship graph template corresponding to the target project data based on the target filtering configuration information; The target filtering configuration information is used to indicate filtering and screening of target type devices that meet the first filtering condition information and the second filtering condition information in the target type device set, the first filtering condition information is used to indicate different device relationship groups that the target type devices need to satisfy and the logical relationship between different device relationship groups, each device relationship group indicates different relationship chains corresponding to the target type devices and the logical relationship between different relationship chains, each relationship chain corresponding to the target type device includes the target type device, reference devices connected in sequence with the target type device as the starting device, and the connection direction; the second filtering condition information is used to indicate the device attribute information that the target type device needs to satisfy; Wherein, obtaining the target filtering configuration information of the target type device through the target filtering configuration interface includes: In response to the adding operation of the reference device in the relationship chain corresponding to the target type device, the reference devices and the connection directions connected in sequence starting from the target type device are added to each relationship chain corresponding to the target type device.
2. The method according to claim 1, characterized in that Determine the target type of equipment that needs to be screened in the target project, including: Get the target device legend selected from the device legend template, and use the device of the type corresponding to the target device legend as the target type device.
3. The method according to claim 1, characterized in that The first operation is a triggering operation for a configuration function identifier related to a filtering function corresponding to the target type device, and the configuration function identifier related to the filtering function corresponding to the target type device is generated by triggering a device legend corresponding to the target type device.
4. The method according to claim 1, characterized in that: Obtaining target filtering configuration information for the target type device through the target filtering configuration interface includes: In response to the logic editing operation on different relationship chains corresponding to the target type device, the logical relationship between different relationship chains corresponding to the target type device in the same device relationship group is configured, and the logical relationship between different relationship chains is an AND relationship or an OR relationship; In response to the logic editing operation on different device relationship groups corresponding to the target type device, the logical relationship between the different device relationship groups corresponding to the target type device is configured, and the logical relationship between the different device relationship groups is an AND relationship or an OR relationship.
5. The method according to claim 1, characterized in that: Obtaining target filtering configuration information for the target type device through the target filtering configuration interface includes: In response to a relationship chain adding operation on the device relationship group corresponding to the target type device, a relationship chain with the target type device as a starting device is added to the device relationship group corresponding to the target type device; In response to the operation of adding the device relationship group corresponding to the target type device, the device relationship group corresponding to the target type device is newly added in the first filtering condition information corresponding to the target type device.
6. An equipment screening device, characterized in that: include: A determination module is used to determine the target type of equipment that needs to be screened in the target project, and the target project data is represented by a connection relationship diagram template used to describe the connection relationship between the equipment; an acquisition module, configured to display a target filtering configuration interface corresponding to a target type device in response to a first operation for triggering a filtering function of a target type device, and acquire target filtering configuration information of the target type device through the target filtering configuration interface; wherein acquiring target filtering configuration information of the target type device through the target filtering configuration interface comprises: in response to an operation of adding a reference device in a relationship chain corresponding to the target type device, adding a reference device and a connection direction connected in sequence with the target type device as a starting device in each relationship chain corresponding to the target type device; a screening module, configured to, in response to determining a second operation on target filtering configuration information for target type devices, instantiate a connection relationship diagram of the filtered target type devices from a connection relationship diagram template corresponding to the target project data based on the target filtering configuration information; Among them, the target filtering configuration information is used to indicate the filtering and screening of target type devices in the target type device set that meet the first filtering condition information and the second filtering condition information, the first filtering condition information is used to indicate different device relationship groups that the target type devices need to satisfy and the logical relationship between different device relationship groups, each device relationship group indicates different relationship chains corresponding to the target type devices and the logical relationship between different relationship chains, each relationship chain corresponding to the target type device includes the target type device, reference devices connected in sequence with the target type device as the starting device, and the connection direction; the second filtering condition information is used to indicate the device attribute information that the target type device needs to satisfy.
7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the device screening method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the device screening method according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Method for constructing sub-graph model for graph query
CN114817558A