CN113691403B - Topology node configuration method, related device and computer program product - Google Patents

Topology node configuration method, related device and computer program product Download PDF

Info

Publication number
CN113691403B
CN113691403B CN202110967687.6A CN202110967687A CN113691403B CN 113691403 B CN113691403 B CN 113691403B CN 202110967687 A CN202110967687 A CN 202110967687A CN 113691403 B CN113691403 B CN 113691403B
Authority
CN
China
Prior art keywords
node
topological
topology
information
self
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110967687.6A
Other languages
Chinese (zh)
Other versions
CN113691403A (en
Inventor
尉安东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110967687.6A priority Critical patent/CN113691403B/en
Publication of CN113691403A publication Critical patent/CN113691403A/en
Application granted granted Critical
Publication of CN113691403B publication Critical patent/CN113691403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Abstract

The disclosure provides a topology node configuration method, a device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical fields of artificial intelligence such as data processing, knowledge maps and topology maps. One embodiment of the method comprises the following steps: after determining relation limiting information according to an upper adjacent node and a lower adjacent node corresponding to position selecting information of a new topological node, determining an alternative topological node set corresponding to the relation limiting information and comprising at least one new topological node which has a connection relation with the upper adjacent node and the lower adjacent node at the same time, responding to receiving node selecting information returned for the alternative topological node set, and adding a target topological node corresponding to the node selecting information between the upper adjacent node and the lower adjacent node. The embodiment provides the method for determining the added newly added topological node based on the relation limiting information among the existing topological nodes, so that the configuration efficiency of the topological node is improved.

Description

Topology node configuration method, related device and computer program product
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical field of artificial intelligence such as data processing, knowledge maps and topological graphs, and especially relates to a topological node configuration method, a device, electronic equipment, a computer readable storage medium and a computer program product.
Background
The topology structure diagram refers to a network structure diagram constituted by network node devices and communication media. Network topologies define the manner in which various computers, printers, network devices, and other devices are connected. In other words, the network topology describes the layout of the cables and network devices and the paths taken during data transmission.
In the prior art, the logic relationship such as communication connection, time sequence and the like between the network node devices can be known through a topological graph.
Disclosure of Invention
The embodiment of the disclosure provides a topology node configuration method, a topology node configuration device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a topology node configuration method, including: acquiring position selection information of a new topology node; determining an upper neighboring node and a lower neighboring node according to the position selection information, and determining relationship restriction information according to the upper neighboring node and the lower neighboring node; determining an alternative topological node set corresponding to the relation limiting information, wherein the alternative topological node set comprises at least one new topological node which has a connection relation with the upper adjacent node and the lower adjacent node at the same time; in response to receiving node selection information returned for the set of alternative topology nodes, a target topology node corresponding to the node selection information is added between the upper neighbor node and the lower neighbor node.
In a second aspect, an embodiment of the present disclosure proposes a topology node configuration apparatus, including: a selection information acquisition unit configured to acquire position selection information of a new topology node; a restriction information acquisition unit configured to determine an upper neighboring node and a lower neighboring node based on the position selection information, and determine relationship restriction information based on the upper neighboring node and the lower neighboring node; an alternative node presenting unit configured to determine an alternative topology node set corresponding to the relationship restriction information, the alternative topology node set including at least one new topology node having a connection relationship with the upper neighboring node and the lower neighboring node at the same time; and the node adding unit is configured to add a target topological node corresponding to the node selection information between the upper adjacent node and the lower adjacent node in response to receiving the node selection information returned for the alternative topological node set.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to implement a topology node configuration method as described in any of the implementations of the first aspect when executed.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement a topology node configuration method as described in any of the implementations of the first aspect when executed.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, is capable of implementing a topology node configuration method as described in any of the implementations of the first aspect.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture in which the present disclosure may be applied;
fig. 2 is a flowchart of a topology node configuration method provided in an embodiment of the present disclosure;
fig. 3 is a flowchart of another topology node configuration method provided by an embodiment of the present disclosure;
FIGS. 4-1, 4-2 and 4-3 are schematic diagrams illustrating the effects of the topology node configuration method under an application scenario provided by the embodiments of the present disclosure;
fig. 5 is a block diagram of a topology node configuration apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to perform a topology node configuration method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
In addition, in the technical scheme related to the disclosure, the related processes of acquiring, storing, using, processing, transporting, providing, disclosing and the like of the personal information of the user all conform to the regulations of related laws and regulations and do not violate the popular regulations of the public order.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the topology node configuration methods, apparatus, electronic devices, and computer-readable storage media of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various applications for implementing information communication between the terminal devices 101, 102, 103 and the server 105, such as a node configuration type application, a remote service type application, an instant messaging type application, and the like, may be installed on the terminal devices.
The terminal devices 101, 102, 103 and the server 105 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smartphones, tablets, laptop and desktop computers, etc.; when the terminal devices 101, 102, 103 are software, they may be installed in the above-listed electronic devices, which may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein. When the server 105 is hardware, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein.
The server 105 may provide various services through various built-in applications, for example, a node configuration class application that may provide topology node configuration, and the server 105 may achieve the following effects when running the node configuration class application: firstly, acquiring position selection information of a new topology node from terminal devices 101, 102 and 103 through a network 104; then, the server 105 determines an upper neighboring node and a lower neighboring node according to the position selection information, and determines relationship restriction information according to the upper neighboring node and the lower neighboring node; next, the server 105 determines an alternative topology node set corresponding to the relationship restriction information, where the alternative topology node set includes at least one new topology node having a connection relationship with the upper neighboring node and the lower neighboring node at the same time; finally, the server 105, in response to receiving the node selection information returned for the set of alternative topology nodes, adds a target topology node corresponding to the node selection information between the upper neighboring node and the lower neighboring node.
Since the configuration information of the topology nodes is saved and the connection relationship between the topology nodes is calculated with a relatively high computing capability, the topology node configuration method provided in the subsequent embodiments of the present disclosure is generally performed by the server 105 having a relatively high computing capability and relatively high computing resources, and accordingly, the topology node configuration device is also generally disposed in the server 105. However, it should be noted that, when the terminal devices 101, 102, 103 also have the required computing capability and computing resources, the terminal devices 101, 102, 103 may also complete each operation performed by the server 105 through the node configuration application installed thereon, and further output the same result as the server 105. Especially in the case that there are a plurality of terminal devices having different computing capabilities at the same time, but when the node configuration class application determines that the terminal device where the node configuration class application is located has a stronger computing capability and more computing resources remain, the terminal device may be allowed to perform the above-mentioned computation, so that the computing pressure of the server 105 is properly reduced, and accordingly, the topology node configuration device may also be provided in the terminal devices 101, 102, 103. In this case, the exemplary system architecture 100 may also not include the server 105 and the network 104.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a topology node configuration method according to an embodiment of the disclosure, wherein a flowchart 200 includes the following steps:
step 201, obtaining position selection information of a new topology node.
In this embodiment, the execution body of the topology node configuration method (for example, the server 105 shown in fig. 1) acquires the location selection information of the new topology node, the location selection information is generally interacted by the execution body and the terminal equipment used by the user (for example, the terminal equipment 101, 102 and 103 shown in fig. 1), the execution body presents the topology map in the current system to the terminal equipment, the user selects according to the topology map presented in the terminal equipment, and after determining the location selection information corresponding to the new topology node, the location selection information is returned to the execution body.
When the position selection is performed based on the topological graph, other topological nodes connected with the new topological node can be respectively clicked based on the position of the new topological node which is expected to be added, and the position selection information can be determined by describing the relation between the function expected to be realized by the current topological node and the functions of the other topological nodes or the time sequence relation between the function expected to be realized by the current topological node and the other topological nodes.
Step 202, determining an upper neighboring node and a lower neighboring node according to the position selection information, and determining relationship restriction information according to the upper neighboring node and the lower neighboring node.
In this embodiment, after determining that there is the location selection information based on the above step 201, two nodes adjacent to the location selected by the location selection information are determined according to the location selection information, and the adjacent node in which the data is transmitted to the selected location is determined as the upper adjacent node, the adjacent node receiving the data transmitted from the selected location is determined as the lower adjacent node, and the common part content (such as the commonly used parameter information, topology node information, consecutive timing information, and the like) in the configuration information of the upper adjacent node and the lower adjacent node is extracted, and the common part content is determined as the relationship restriction information.
Step 203, determining an alternative topological node set corresponding to the relation constraint information.
In this embodiment, after determining that there is relationship restriction information based on the above step 202, a new topology node whose configuration information includes at least the relationship restriction information is queried according to the relationship restriction information, and because the configuration information of the new topology node satisfies the restriction of the relationship restriction information (including the common part content of the upper neighboring node and the lower neighboring node as well), the new topology node may be connected with the upper neighboring node and the lower neighboring node at the same time to form a complete connection relationship between the upper neighboring node and the new topology node and the lower neighboring node, and after determining a corresponding candidate topology node set based on the relationship restriction information, the topology node set is presented to the user, so that the user may select each new topology node in the candidate topology node set according to needs and expectations.
The new topology node (and corresponding configuration information) may be obtained directly from a local storage device by the execution body, or may be obtained from a non-local storage device (for example, the terminal devices 101, 102, 103 shown in fig. 1). The local storage device may be a data storage module, such as a server hard disk, provided in the execution body, in which case the two original pictures and their ordering information may be read out quickly locally; the non-local storage device may also be any other electronic device arranged for storing data, such as some user terminals or the like, in which case the executing entity may acquire the required new topology node (and corresponding configuration information) by sending an acquisition command to the electronic device.
In practice, in order to enrich the sources of the new topology nodes, the new topology nodes (and corresponding configuration information) may be collected by means of an open source database, a cloud platform, etc.
In step 204, in response to receiving the node selection information returned for the set of alternative topology nodes, a target topology node corresponding to the node selection information is added between the upper neighboring node and the lower neighboring node.
In this embodiment, after the user completes the selection of the content in the alternative topology node set in step 203, corresponding node selection information is generated and returned to the executing body, and the executing body responds to the received node selection information to determine a target topology node selected by the user, and then adds the target topology node between an upper neighboring node and a lower neighboring node, and establishes a relationship connection line between the target topology node and the upper neighboring node and the lower neighboring node, so as to indicate a connection relationship between the target topology node and the upper neighboring node and the lower neighboring node.
According to the topology node configuration method provided by the embodiment of the disclosure, after the position selection information of the new topology node is obtained, corresponding relation restriction information is determined according to the upper adjacent node and the lower adjacent node at the position selected by the position selection information, an alternative topology node set of the new topology node which can be added at the position selected by the position selection information is provided according to the relation contact information, a subsequent user can finish the addition of the new topology node based on the content in the alternative topology node set, and the purposes of simplifying the operation steps of the user and improving the configuration efficiency of the topology node are achieved.
In some optional implementations of this embodiment, the topology node configuration method further includes: acquiring an initial topological graph, and analyzing initial nodes existing in the initial topological graph and initial connection relations among all the initial nodes; adding a configuration identifier on a relation connecting line between two initial nodes with initial connection relation; and in response to receiving the trigger information for the configuration identifier, determining position selection information of the new topology node according to the position of the configuration identifier.
Specifically, in order to facilitate the selection of the location where the new topology node is added by the user, the executing body may obtain location selection information more clearly and efficiently, so when the initial topology graph is obtained, the initial nodes existing in the initial topology graph and the initial connection relationship between the initial nodes may be analyzed, a configuration identifier is added to a relationship connection line between two initial nodes having the initial connection relationship, and the subsequent user may trigger the configuration identifier to indicate that the location where the new topology node is selected and added is between two initial nodes on the initial relationship connection line where the configuration identifier is located, and at the same time, the executing body may receive a trigger information of the configuration identifier set in the initial topology graph by the user to determine the corresponding configuration identifier, so as to obtain the corresponding location selection information.
Referring to fig. 3, fig. 3 is a flowchart of another topology node configuration method according to an embodiment of the disclosure, wherein a flowchart 300 includes the following steps:
step 301, obtaining position selection information of a new topology node.
Step 302, determining an upper neighboring node and a lower neighboring node according to the position selection information, and determining relationship restriction information according to the upper neighboring node and the lower neighboring node.
Step 303, determining an alternative topological node set corresponding to the relation constraint information.
In step 304, relationship restriction information is returned in response to receiving the relationship restriction information acquisition request.
In this embodiment, when there is no new topology node satisfying the user requirement in the candidate topology node set determined in step 303, the user may send a constraint relationship acquisition request to the executing body, and the executing body may respond after acquiring the constraint relationship acquisition request, and return the relationship constraint information determined in step 302.
In step 305, in response to returning topology node configuration information based on the relationship constraint information, self-organizing topology nodes are generated according to the topology node configuration information.
In this embodiment, after obtaining the relationship constraint information returned based on the above step 304, the user may perform topology node configuration based on the relationship constraint information to generate corresponding topology node configuration information, and return the topology node configuration information to the execution subject, where the execution subject responds after receiving the topology node configuration information, and generates a self-organized topology node according to the topology node configuration information.
Step 306, adding self-organized topological nodes between the upper adjacent node and the lower adjacent node.
In this embodiment, the self-organizing topology node generated in step 305 is added between the upper neighboring node and the lower neighboring node.
The steps 301 to 303 are consistent with the steps 201 to 202 shown in fig. 2, and the same parts are omitted herein for details of the corresponding parts of the previous embodiment, and in this embodiment, on the basis of the embodiment corresponding to fig. 2, when the new topology node in the existing alternative topology node set cannot meet the actual requirement of the user, the relationship limitation information corresponding to the position selected by the position selection information is presented, so that the user can configure autonomously according to the relationship limitation information to obtain the self-organized topology node, and enrich the source of the new topology node under the condition that the requirement of the user and the limitation requirement of the relationship limitation information are met.
In some optional implementations of this embodiment, the topology node configuration method further includes: determining a set of association locations to which the self-organizing topology node can be added simultaneously based on the relationship constraint information; and in response to receiving the synchronization adding selection information returned for the association position set, synchronously adding the self-organized topological node according to the association position indicated by the synchronization adding selection information.
Specifically, after the self-organized topological nodes are obtained, the connection relation between each topological node and each other in the existing topological graph is analyzed based on the relation limiting information, so that the association position of the topological node can be added simultaneously in the existing topological graph to obtain a corresponding association position set, the execution subject can determine the position for synchronously adding the self-organized topological nodes for synchronous addition selection information returned by a user aiming at the association position set, and the self-organized topological nodes are synchronously added at the position for synchronously adding the self-organized topological nodes, so that the user does not need to add the positions expected to be added with the self-organized topological nodes one by one, and the user operation is simplified.
In some optional implementations of this embodiment, the topology node configuration method further includes: and storing the self-organized topological node into an alternative topological node set corresponding to the relation limiting information.
Specifically, after the self-organized topological node transmitted by the user is obtained, the self-organized topological node is stored in an alternative topological node set corresponding to the relation limiting information, so that the user can directly call the used self-organized topological node according to the alternative topological node set, and the quality of new topological nodes stored in the alternative topological node set is improved.
On the basis of any one of the above embodiments, the topology node configuration method further includes: acquiring at least one associated topological node with the target topological node or the self-organized topological node and the connection relation in the topological graph; and generating a relation connection line between the target topological node or the self-organized topological node and the associated topological node in the topological graph.
Specifically, when a target topological node or a self-organized topological node is added to a topological graph, other topological nodes which are outside an upper adjacent node and a lower adjacent node in the topological graph and have connection relations with the target topological node or the self-organized topological node are determined to be associated topological nodes, and the target topological node or the self-organized topological node is connected with the associated topological nodes in the topological graph to generate corresponding relation connecting lines so as to automatically edit the target topological node or the self-organized topological node into the logic of the existing topological graph, thereby further simplifying the operation of a user.
For deepening understanding, the disclosure further provides a specific implementation scheme in combination with a specific application scenario, which is specifically as follows:
after the initial topology map is obtained, the initial nodes existing in the initial topology map and the initial connection relation among the initial nodes are analyzed, and the initial topology map can be shown in fig. 4-1.
After the analysis of the initial nodes existing in the initial topology and the initial connection relationship between the initial nodes is completed, the configuration identifier is added on the link relationship line between the two nodes having the initial link relationship in the initial topology, as shown in fig. 4-2.
And in response to receiving triggering information of a user aiming at adding the configuration identifier b, determining position selection information of the new topological node according to the position of the configuration identifier.
And determining an upper adjacent node and a lower adjacent node according to the position selection information, acquiring text information according to the function of the upper adjacent node, determining the context of the text information according to the function of the lower adjacent node, and determining that the relation restriction information is text-related content.
And determining an alternative topological node set corresponding to the relation restriction information as the word information, wherein new topological nodes included in the alternative topological node set are used for carrying out normalization processing on the word information and carrying out error correction on the word information.
In response to receiving the node selection information "normalization processing for text information" returned for the alternative topology node set, adding the "normalization processing for text information" between "obtaining text information" and "determining the context in which the text information is located", and correspondingly configuring the identifiers b1 and b2 on the connection relationship lines of the new topology node and the upper neighboring node and the lower neighboring node, as shown in fig. 4-3.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of a topology node configuration apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied in various electronic devices.
As shown in fig. 5, the topology node configuration apparatus 500 of the present embodiment may include: a selection information acquisition unit 501, a restriction information acquisition unit 502, an alternative node presentation unit 503, and a node addition unit 504. Wherein, the selection information obtaining unit 501 is configured to obtain position selection information of a new topology node; a restriction information acquisition unit 502 configured to determine an upper neighboring node and a lower neighboring node according to the position selection information, and determine relationship restriction information according to the upper neighboring node and the lower neighboring node; an alternative node presenting unit 503 configured to determine an alternative topology node set corresponding to the relationship restriction information, the alternative topology node set including at least one new topology node having a connection relationship with the upper neighboring node and the lower neighboring node at the same time; the node adding unit 504 is configured to add a target topology node corresponding to the node selection information between the upper neighboring node and the lower neighboring node in response to receiving the node selection information returned for the alternative topology node set.
In the present embodiment, in the topology node configuration apparatus 500: specific processes of the selection information obtaining unit 501, the constraint information obtaining unit 502, the alternative node presenting unit 503, and the node adding unit 504 and technical effects thereof may refer to the relevant descriptions of steps 201 to 204 in the corresponding embodiment of fig. 2, and are not described herein.
In some optional implementations of this embodiment, the topology node configuring apparatus 500 further includes: a restriction information return unit configured to return the relationship restriction information in response to receiving a relationship restriction information acquisition request; a self-organizing node generating unit configured to generate self-organizing topology nodes according to topology node configuration information in response to returning the topology node configuration information based on the relationship constraint information; and a self-organizing node adding unit configured to add the self-organizing topology node between the upper neighboring node and the lower neighboring node.
In some optional implementations of this embodiment, the topology node configuring apparatus 500 further includes: an associated position set generating unit configured to determine an associated position set to which the self-organizing topological node can be added at the same time based on the relationship restriction information; and the self-organized node synchronization unit is configured to synchronously add the self-organized topological node according to the associated position indicated by the synchronous adding selection information in response to receiving the synchronous adding selection information returned for the associated position set.
In some optional implementations of this embodiment, the topology node configuring apparatus 500 further includes: and the alternative node set updating unit is configured to store the self-organized topological node into an alternative topological node set corresponding to the relation limiting information.
In some optional implementations of this embodiment, the topology node configuring apparatus 500 further includes: the initial topological graph analyzing unit is configured to acquire an initial topological graph and analyze initial nodes existing in the initial topological graph and initial connection relations among the initial nodes; a configuration identifier adding unit configured to add a configuration identifier on a relationship connection line between two initial nodes having an initial connection relationship; and a position selection information generating unit configured to determine position selection information of the new topology node according to the position of the configuration identifier in response to receiving the trigger information for the configuration identifier.
In some optional implementations of this embodiment, the topology node configuring apparatus 500 further includes: the associated node acquisition unit is configured to acquire at least one associated topological node which has a connection relationship with the target topological node or the self-organized topological node in the topological graph; and a relationship link generation unit configured to generate a relationship link between the target topology node or the self-organizing topology node and the associated topology node in the topology map.
The topology node configuration device provided in this embodiment determines corresponding relationship restriction information according to an upper neighboring node and a lower neighboring node at a position selected by the position selection information after obtaining the position selection information of the new topology node, and provides an alternative topology node set capable of adding the new topology node at the position selected by the position selection information according to the relationship contact information, so that a subsequent user can complete the addition of the new topology node based on the content in the alternative topology node set, thereby achieving the purposes of simplifying the operation steps of the user and improving the configuration efficiency of the topology node.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the topology node configuration method. For example, in some embodiments, the topology node configuration method can be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When a computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the topology node configuration method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the topology node configuration method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, 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, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility in the traditional physical host and virtual private server (VPS, virtual Private Server) service. Servers may also be divided into servers of a distributed system or servers that incorporate blockchains.
According to the technical scheme of the embodiment of the disclosure, after the position selection information of the new topology node is obtained, corresponding relation restriction information is determined according to the upper adjacent node and the lower adjacent node at the position selected by the position selection information, an alternative topology node set of the new topology node which can be added at the position selected by the position selection information is provided according to the relation contact information, a subsequent user can finish the addition of the new topology node based on the content in the alternative topology node set, and the purposes of simplifying the operation steps of the user and improving the configuration efficiency of the topology node are achieved.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions provided by the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (14)

1. A topology node configuration method, comprising:
acquiring position selection information of a new topology node;
determining an upper adjacent node and a lower adjacent node according to the position selection information, and determining relation restriction information according to the content of a common part in configuration information of the upper adjacent node and the lower adjacent node;
determining an alternative topological node set corresponding to the relation limiting information, wherein the alternative topological node set comprises at least one new topological node which has a connection relation with the upper adjacent node and the lower adjacent node at the same time;
and in response to receiving node selection information returned for the alternative topology node set, adding a target topology node corresponding to the node selection information between the upper neighboring node and the lower neighboring node.
2. The method of claim 1, further comprising:
responding to a received relation restriction information acquisition request, and returning relation restriction information;
responding to return topology node configuration information based on the relation limiting information, and generating self-organized topology nodes according to the topology node configuration information;
and adding the self-organized topological node between the upper adjacent node and the lower adjacent node.
3. The method of claim 2, further comprising:
determining a set of associated positions to which the self-organizing topology nodes can be added simultaneously based on the relationship constraint information;
and in response to receiving the synchronization adding selection information returned for the association position set, synchronously adding the self-organized topological nodes according to the association positions indicated by the synchronization adding selection information.
4. The method of claim 2, further comprising:
and storing the self-organized topological nodes into an alternative topological node set corresponding to the relation limiting information.
5. The method of claim 1, further comprising:
acquiring an initial topological graph, and analyzing initial nodes existing in the initial topological graph and initial connection relations among all the initial nodes;
adding a configuration identifier on a relation connecting line between two initial nodes with initial connection relation;
and in response to receiving the trigger information for the configuration identifier, determining position selection information of the new topology node according to the position of the configuration identifier.
6. The method of any of claims 2-4, further comprising:
acquiring at least one associated topological node with a connection relation with the target topological node or the self-organized topological node in the topological graph;
and generating a relation connection line between the target topological node or the self-organized topological node and the associated topological node in the topological graph.
7. A topology node configuration apparatus, comprising:
a selection information acquisition unit configured to acquire position selection information of a new topology node;
a restriction information acquisition unit configured to determine an upper neighboring node and a lower neighboring node according to the position selection information, and determine relationship restriction information according to a common part content in configuration information of the upper neighboring node and the lower neighboring node;
an alternative node presenting unit configured to determine an alternative topology node set corresponding to the relationship restriction information, wherein the alternative topology node set includes at least one new topology node having a connection relationship with the upper neighboring node and the lower neighboring node at the same time;
and the node adding unit is configured to add a target topological node corresponding to the node selection information between the upper adjacent node and the lower adjacent node in response to receiving the node selection information returned for the alternative topological node set.
8. The apparatus of claim 7, further comprising:
a restriction information return unit configured to return the relationship restriction information in response to receiving a relationship restriction information acquisition request;
a self-organizing node generating unit configured to generate self-organizing topology nodes according to topology node configuration information in response to returning the topology node configuration information based on the relationship restriction information; and
and the self-organized node adding unit is configured to add the self-organized topological node between the upper adjacent node and the lower adjacent node.
9. The apparatus of claim 8, further comprising:
an associated position set generating unit configured to determine an associated position set to which the self-organizing topological node can be added simultaneously based on the relationship restriction information;
and the self-organized node synchronization unit is configured to synchronously add the self-organized topological nodes according to the associated positions indicated by the synchronous adding selection information in response to receiving the synchronous adding selection information returned for the associated position set.
10. The apparatus of claim 8, further comprising:
and the alternative node set updating unit is configured to store the self-organized topological nodes into an alternative topological node set corresponding to the relation limiting information.
11. The apparatus of claim 7, further comprising:
the device comprises an initial topological graph analyzing unit, a first node and a second node, wherein the initial topological graph analyzing unit is configured to acquire an initial topological graph and analyze initial nodes existing in the initial topological graph and initial connection relations among the initial nodes;
a configuration identifier adding unit configured to add a configuration identifier on a relationship connection line between two initial nodes having an initial connection relationship;
and the position selection information generating unit is configured to respond to the received trigger information aiming at the configuration identifier and determine the position selection information of the new topological node according to the position of the configuration identifier.
12. The apparatus of any of claims 8-10, further comprising:
the associated node acquisition unit is configured to acquire at least one associated topological node with a connection relationship with the target topological node or the self-organized topological node in the topological graph;
and a relationship connection line generating unit configured to generate a relationship connection line between the target topology node or the self-organized topology node and the associated topology node in the topology map.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the topology node configuration method of any of claims 1-6.
14. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the topology node configuration method of any one of claims 1-6.
CN202110967687.6A 2021-08-23 2021-08-23 Topology node configuration method, related device and computer program product Active CN113691403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110967687.6A CN113691403B (en) 2021-08-23 2021-08-23 Topology node configuration method, related device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110967687.6A CN113691403B (en) 2021-08-23 2021-08-23 Topology node configuration method, related device and computer program product

Publications (2)

Publication Number Publication Date
CN113691403A CN113691403A (en) 2021-11-23
CN113691403B true CN113691403B (en) 2023-05-12

Family

ID=78581397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110967687.6A Active CN113691403B (en) 2021-08-23 2021-08-23 Topology node configuration method, related device and computer program product

Country Status (1)

Country Link
CN (1) CN113691403B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041064B (en) * 2023-10-10 2023-12-08 深圳安天网络安全技术有限公司 Topology node connection method, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579728A (en) * 2013-10-17 2015-04-29 中兴通讯股份有限公司 Network element equipment configuration and management method and device as well as network element equipment
CN106233671A (en) * 2014-02-23 2016-12-14 三星电子株式会社 Topological management method and the network system of execution topological management method
CN110703698A (en) * 2018-07-10 2020-01-17 常州信息职业技术学院 Method for detecting equipment fault
CN111133797A (en) * 2018-06-21 2020-05-08 Oppo广东移动通信有限公司 Capability interaction method and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180368049A1 (en) * 2017-06-20 2018-12-20 Qualcomm Incorporated Method and apparatus for gathering network neighborhood information and generating a reduced neighbor report

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579728A (en) * 2013-10-17 2015-04-29 中兴通讯股份有限公司 Network element equipment configuration and management method and device as well as network element equipment
CN106233671A (en) * 2014-02-23 2016-12-14 三星电子株式会社 Topological management method and the network system of execution topological management method
CN111133797A (en) * 2018-06-21 2020-05-08 Oppo广东移动通信有限公司 Capability interaction method and related equipment
CN110703698A (en) * 2018-07-10 2020-01-17 常州信息职业技术学院 Method for detecting equipment fault

Also Published As

Publication number Publication date
CN113691403A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN113568860B (en) Deep learning-based multi-machine cluster topology mapping method and device and program product
CN114202027A (en) Execution configuration information generation method, model training method and device
CN113691403B (en) Topology node configuration method, related device and computer program product
CN112532408A (en) Method, device and storage medium for extracting fault propagation conditions
CN115187821B (en) Method, related device and program product for verifying correctness of model before and after conversion
CN114579311B (en) Method, device, equipment and storage medium for executing distributed computing task
CN115115062B (en) Machine learning model building method, related device and computer program product
CN114816393B (en) Information generation method, device, equipment and storage medium
CN113127357B (en) Unit test method, apparatus, device, storage medium, and program product
CN116126719A (en) Interface testing method and device, electronic equipment and storage medium
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN116016686A (en) Method and device for determining node to be optimized, electronic equipment and medium
CN112860811B (en) Method and device for determining data blood relationship, electronic equipment and storage medium
US10289788B1 (en) System and method for suggesting components associated with an electronic design
CN115186738A (en) Model training method, device and storage medium
CN111030863B (en) Node topology information determination method, device, equipment and storage medium
CN114650222B (en) Parameter configuration method, device, electronic equipment and storage medium
CN112580803B (en) Model acquisition method, apparatus, electronic device, storage medium, and program product
CN113342413B (en) Method, apparatus, device, medium, and article for processing components
US20230065354A1 (en) Method for sharing resource, method for creating service, electronic device, and storage medium
CN112783507B (en) Data stream guiding playback method and device, electronic equipment and readable storage medium
CN113609145B (en) Database processing method, device, electronic equipment, storage medium and product
CN113157360B (en) Method, apparatus, device, medium, and article for processing an API
CN116341663A (en) Extension method, device, equipment and medium of deep learning reasoning framework
CN117278648A (en) Protocol dynamic adaptation method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant