CN113868111B - Mutual access relation adjusting method and device based on service node and electronic equipment - Google Patents

Mutual access relation adjusting method and device based on service node and electronic equipment Download PDF

Info

Publication number
CN113868111B
CN113868111B CN202111472614.6A CN202111472614A CN113868111B CN 113868111 B CN113868111 B CN 113868111B CN 202111472614 A CN202111472614 A CN 202111472614A CN 113868111 B CN113868111 B CN 113868111B
Authority
CN
China
Prior art keywords
service node
service
access
matrix
performance parameter
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
CN202111472614.6A
Other languages
Chinese (zh)
Other versions
CN113868111A (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.)
Jinrui Tongchuang Beijing Technology Co ltd
Original Assignee
Jinrui Tongchuang Beijing 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 Jinrui Tongchuang Beijing Technology Co ltd filed Critical Jinrui Tongchuang Beijing Technology Co ltd
Priority to CN202111472614.6A priority Critical patent/CN113868111B/en
Publication of CN113868111A publication Critical patent/CN113868111A/en
Application granted granted Critical
Publication of CN113868111B publication Critical patent/CN113868111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization

Abstract

According to the technical scheme provided by the embodiment of the application, a service monitoring interface can be displayed, and a plurality of service nodes corresponding to a target service are displayed on the service monitoring interface. When the access condition of the first service node is required to be checked, the first service node is directly clicked. And displaying the performance parameters between the first service node and the second service node on a service monitoring interface. Meanwhile, the performance parameters are input into an access quality determination model, and prediction is carried out through the access quality determination model to obtain quality parameters. And under the condition that the quality parameter indicates that the access quality between the first service node and the second service node is deteriorated, adjusting the mutual access relation of the first service node. Through the mode, the problems can be found and adjusted in time without the experience of workers, and the stability of the target service is ensured.

Description

Mutual access relation adjusting method and device based on service node and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for adjusting an inter-access relationship based on a service node, and an electronic device.
Background
In a common service monitoring system, performance indexes of a certain service (service a, service B or service C) can only be monitored, and analysis of the performance indexes requires abundant experience of workers, so that problems can be found and processed in time.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for adjusting an inter-access relationship based on a service node, and an electronic device.
In one aspect, an embodiment of the present application provides a method for adjusting an inter-access relationship based on a service node, where the method includes:
displaying a service monitoring interface of a target service, wherein a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes with a mutual access relationship;
in response to a first service node in the plurality of service nodes being selected on the service monitoring interface, displaying a performance parameter between the first service node and a second service node on the service monitoring interface, wherein the performance parameter is used for indicating a mutual access condition between the first service node and the second service node, and the first service node and the second service node have a mutual access relationship;
inputting the performance parameters into an access quality determination model, processing the performance parameters through the access quality determination model, and outputting quality parameters corresponding to the performance parameters, wherein the quality parameters are used for indicating the access quality between the first service node and the second service node after a target time length, and the access quality determination model is obtained based on sample performance parameters and corresponding sample quality parameters;
under the condition that the quality parameter output by the access quality determination model meets a first target condition, adjusting the mutual access relationship between the first service node and the second service node into the mutual access relationship established between the first service node and a third service node, wherein the third service node is a standby service node corresponding to the first service node;
and displaying prompt information on the service monitoring interface, wherein the prompt information is used for prompting that the second service node is replaced by the third service node.
In one possible embodiment, the displaying, on the traffic monitoring interface, the performance parameter between the first service node and the second service node in response to the first service node being selected from the plurality of service nodes on the traffic monitoring interface includes:
responding to click operation of a first service node in the plurality of service nodes on the service monitoring interface, and marking the first service node as a selected state;
and displaying the performance parameters between the first service node and the second service node on the service monitoring interface.
In a possible implementation, the displaying, on the service monitoring interface, the performance parameter between the first service node and the second service node includes:
displaying a connecting line between the first service node and the second service node, wherein the connecting line is used for indicating that the first service node and the second service node have a mutual access relationship;
and displaying the performance parameters between the first service node and the second service node below or below the connecting line.
In one possible embodiment, the method further comprises:
and responding to the clicking operation of the connecting line, and displaying historical performance parameters between the first service node and the second service node in the service monitoring interface, wherein the historical performance parameters are used for indicating the historical mutual access condition between the first service node and the second service node.
In a possible implementation manner, the inputting the performance parameter into an access quality determination model, and processing the performance parameter through the access quality determination model, and the outputting the quality parameter corresponding to the performance parameter includes:
generating a performance parameter matrix based on the performance parameters;
inputting the performance parameter matrix into the access quality determination model;
performing, by the access quality determination model, the steps of:
extracting the characteristics of the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix; and mapping the characteristic matrix and outputting quality parameters corresponding to the performance parameters.
In a possible implementation manner, the extracting the features of the performance parameter matrix to obtain the feature matrix corresponding to the performance parameter matrix includes any one of the following:
performing convolution processing on the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix;
coding the performance parameter matrix based on an attention mechanism to obtain a characteristic matrix corresponding to the performance parameter matrix;
and multiplying the performance parameter matrix with a target mapping matrix to obtain a characteristic matrix corresponding to the performance parameter matrix, wherein the size of the target mapping matrix is the same as that of the performance parameter matrix.
In a possible implementation manner, the mapping the feature matrix and outputting the quality parameter corresponding to the performance parameter includes:
carrying out full connection processing on the feature matrix to obtain a full connection matrix corresponding to the feature matrix;
performing pooling treatment on the full connection matrix to obtain a pooling matrix corresponding to the full connection matrix;
and normalizing the pooling matrix, and outputting the quality parameters corresponding to the performance parameters.
In a possible implementation, the adjusting the mutual access relationship between the first service node and the second service node to establish the mutual access relationship between the first service node and a third service node in the case that the quality parameter output by the access quality determination model meets a first target condition includes:
under the condition that the quality parameter output by the access quality determination model meets a first target condition, establishing a mutual access relation between the first service node and the third service node and a mutual access relation between the second service node and the third service node;
controlling the second service node to transmit data associated with the first service node to the third service node;
and under the condition that the second service node finishes transmitting the data related to the first service node to the third service node, disconnecting the mutual access relation between the first service node and the second service node.
In one possible embodiment, the method further comprises:
displaying the third service node on the service monitoring interface under the condition that the quality parameter output by the access quality determination model meets a first target condition, wherein the display colors of the first service node and the third service node are the same;
adjusting the color of the second service node to a target color, the target color being more conspicuous than the color of the first service node.
In one aspect, an apparatus for adjusting an inter-access relationship based on a service node is provided, including:
the interface display module is used for displaying a service monitoring interface of a target service, a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes with a mutual access relationship;
a performance parameter display module, configured to display, on the service monitoring interface, a performance parameter between a first service node and a second service node in response to a first service node of the plurality of service nodes being selected on the service monitoring interface, where the performance parameter is used to indicate a mutual access condition between the first service node and the second service node, and the first service node and the second service node have a mutual access relationship;
a quality parameter output module, configured to input the performance parameter into an access quality determination model, process the performance parameter through the access quality determination model, and output a quality parameter corresponding to the performance parameter, where the quality parameter is used to indicate an access quality between the first service node and the second service node after a target duration, and the access quality determination model is obtained based on a sample performance parameter and a corresponding sample quality parameter through training;
an adjusting module, configured to adjust, when the quality parameter output by the access quality determination model meets a first target condition, an inter-access relationship between the first service node and the second service node to an inter-access relationship established between the first service node and a third service node, where the third service node is a standby service node corresponding to the first service node;
and the prompt information display module is used for displaying prompt information on the service monitoring interface, wherein the prompt information is used for prompting that the second service node is replaced by the third service node.
In a possible implementation manner, the performance parameter display module is configured to mark a first service node in the plurality of service nodes as a selected state in response to a click operation on the service monitoring interface on the first service node; and displaying the performance parameters between the first service node and the second service node on the service monitoring interface.
In a possible implementation manner, the performance parameter display module is configured to display a connection line between the first service node and the second service node, where the connection line is used to indicate that the first service node and the second service node have a mutual access relationship; and displaying the performance parameters between the first service node and the second service node below or below the connecting line.
In a possible embodiment, the apparatus further comprises:
and the historical performance parameter display module is used for responding to the clicking operation of the connecting line and displaying the historical performance parameter between the first service node and the second service node in the service monitoring interface, wherein the historical performance parameter is used for indicating the historical mutual visit condition between the first service node and the second service node.
In a possible implementation manner, the quality parameter output module is configured to generate a performance parameter matrix based on the performance parameter; inputting the performance parameter matrix into the access quality determination model; performing, by the access quality determination model, the steps of:
extracting the characteristics of the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix; and mapping the characteristic matrix and outputting quality parameters corresponding to the performance parameters.
In a possible implementation, the quality parameter output module is configured to perform any one of:
performing convolution processing on the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix;
coding the performance parameter matrix based on an attention mechanism to obtain a characteristic matrix corresponding to the performance parameter matrix;
and multiplying the performance parameter matrix with a target mapping matrix to obtain a characteristic matrix corresponding to the performance parameter matrix, wherein the size of the target mapping matrix is the same as that of the performance parameter matrix.
In a possible implementation manner, the quality parameter output module is configured to perform full connection processing on the feature matrix to obtain a full connection matrix corresponding to the feature matrix; performing pooling treatment on the full connection matrix to obtain a pooling matrix corresponding to the full connection matrix; and normalizing the pooling matrix, and outputting the quality parameters corresponding to the performance parameters.
In a possible implementation manner, the adjusting module is configured to establish a mutual access relationship between the first service node and the third service node and a mutual access relationship between the second service node and the third service node in a case that the quality parameter output by the access quality determination model meets a first target condition; controlling the second service node to transmit data associated with the first service node to the third service node; and under the condition that the second service node finishes transmitting the data related to the first service node to the third service node, disconnecting the mutual access relation between the first service node and the second service node.
In a possible embodiment, the apparatus further comprises:
a color adjusting module, configured to display the third service node on the service monitoring interface when the quality parameter output by the access quality determination model meets a first target condition, where the display colors of the first service node and the third service node are the same; adjusting the color of the second service node to a target color, the target color being more conspicuous than the color of the first service node.
In one aspect, an electronic device is provided, which includes:
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 perform the service node based inter-access relationship adjustment method.
In one aspect, a non-transitory computer-readable storage medium stores computer instructions for causing a computer to execute the service node-based inter-access relationship adjustment method.
In one aspect, the present application also provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the foregoing service node-based mutual access relationship adjustment method.
Through the technical scheme provided by the embodiment of the application, the service monitoring interface can be displayed, and the plurality of service nodes corresponding to the target service are displayed on the service monitoring interface. When the access condition of the first service node is required to be checked, the first service node is directly clicked. And displaying the performance parameters between the first service node and the second service node on a service monitoring interface. Meanwhile, the performance parameters are input into an access quality determination model, and prediction is carried out through the access quality determination model to obtain quality parameters. And under the condition that the quality parameter indicates that the access quality between the first service node and the second service node is deteriorated, adjusting the mutual access relation of the first service node. Through the mode, the problems can be found and adjusted in time without the experience of workers, and the stability of the target service is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a mutual access relationship adjustment method based on a service node according to an embodiment of the present application;
fig. 2 is a flowchart of a mutual access relationship adjustment method based on a service node according to an embodiment of the present application;
fig. 3 is a flowchart of a mutual access relationship adjustment method based on a service node according to an embodiment of the present application;
FIG. 4 is a schematic view of an interface according to an embodiment of the present application;
FIG. 5 is a schematic view of an interface according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for adjusting an inter-access relationship based on a service node according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The following description of the embodiments of the present application is provided by way of specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure herein. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The present application is capable of other and different embodiments and its several details are capable of modifications and/or changes in various respects, all without departing from the spirit of the present application. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present application, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present application in a schematic manner, and the drawings only show the components related to the present application rather than the number, shape and size of the components in actual implementation, the form, quantity and proportion of the components in actual implementation can be changed freely, and the layout of the components can be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Some terms in this application will first be introduced:
and the service node: refers to entities (devices and modules) that can independently provide a certain service, and is a network element that can access various switched or permanently connected telecommunications services. Service nodes that can provide a specified service are local switches, x.25 nodes, leased line service nodes (e.g., DDN node machines), video-on-demand and broadcast television service nodes in a particular configuration, and the like.
Fig. 1 is a schematic diagram of an implementation environment of a mutual access relationship adjustment method based on a service node according to an embodiment of the present application, and referring to fig. 1, the implementation environment includes an electronic device 110 and a service node 140.
The electronic device 110 is connected to the service node 140 through a wireless network or a wired network. Optionally, the electronic device 110 is a smartphone, tablet, laptop, desktop computer, smart watch, and the like, but is not limited thereto. The electronic device 110 is installed and operated with an application program supporting the service node-based inter-access relationship adjustment method.
Optionally, the service node is an independent physical service node, or a service node cluster or a distributed system formed by a plurality of physical service nodes, or a cloud service node providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Optionally, the electronic device 110 generally refers to one of a plurality of electronic devices, and the embodiment of the present application is illustrated by the electronic device 110.
Those skilled in the art will appreciate that the number of electronic devices described above may be greater or fewer. For example, the number of the electronic devices is only one, or the number of the electronic devices is tens or hundreds, or more, and in this case, other electronic devices are also included in the implementation environment. The number and the type of the electronic devices are not limited in the embodiments of the present application.
After the description of the implementation environment of the embodiment of the present application, an application scenario of the embodiment of the present application is described below.
The technical scheme provided by the embodiment of the application can be applied to a scene of monitoring a plurality of service nodes, for example, 5 service nodes exist, and every two service nodes capable of performing data interaction exist in the 5 service nodes. The 5 service nodes are named as a service node A, a service node B, a service node C, a service node D and a service node F respectively. For service node a of the 5 service nodes, it is able to perform data interaction with service node B. It is possible for the service node B to interact with the service node C. In some embodiments, service node a, service node B, and service node C also form a service chain. By adopting the technical scheme provided by the embodiment of the application, a user can monitor the mutual access condition of the nodes on one or more service chains, and adjust the access relation of the service nodes under the condition that the access quality between the service nodes is about to be reduced.
Next, with reference to the accompanying drawings, a mutual access relationship adjusting method based on a service node provided in an embodiment of the present application is described, and referring to fig. 2, a mutual access relationship adjusting method based on a service node provided in an embodiment of the present application includes:
201. the electronic equipment displays a service monitoring interface of a target service, a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes with a mutual access relationship.
The target service is a transaction service, a data transmission service, and the like, which is not limited in the embodiment of the present application. The service monitoring interface is also an interface for monitoring the service node, and the position of each display module in the service monitoring interface is set by technical personnel according to the requirement.
202. In response to a first service node in the plurality of service nodes being selected on the service monitoring interface, displaying a performance parameter between the first service node and a second service node on the service monitoring interface, where the performance parameter is used to indicate a mutual access condition between the first service node and the second service node, and the first service node and the second service node have a mutual access relationship.
The method has a mutual access relationship, that is, data interaction can be performed between two service nodes. The performance parameters can reflect the network condition when the two service nodes perform data interaction.
203. Inputting the performance parameter into an access quality determination model, processing the performance parameter through the access quality determination model, and outputting a quality parameter corresponding to the performance parameter, wherein the quality parameter is used for indicating the access quality between the first service node and the second service node after a target time length, and the access quality determination model is obtained based on a sample performance parameter and a corresponding sample quality parameter.
204. And under the condition that the quality parameter output by the access quality determination model meets a first target condition, adjusting the mutual access relationship between the first service node and the second service node into the mutual access relationship established between the first service node and a third service node, wherein the third service node is a standby service node corresponding to the first service node.
205. And displaying prompt information on the service monitoring interface, wherein the prompt information is used for prompting that the second service node is replaced by the third service node.
Through the technical scheme provided by the embodiment of the application, the service monitoring interface can be displayed, and the plurality of service nodes corresponding to the target service are displayed on the service monitoring interface. When the access condition of the first service node is required to be checked, the first service node is directly clicked. And displaying the performance parameters between the first service node and the second service node on a service monitoring interface. Meanwhile, the performance parameters are input into an access quality determination model, and prediction is carried out through the access quality determination model to obtain quality parameters. And under the condition that the quality parameter indicates that the access quality between the first service node and the second service node is deteriorated, adjusting the mutual access relation of the first service node. Through the mode, the problems can be found and adjusted in time without the experience of workers, and the stability of the target service is ensured.
It should be noted that the above step 201-205 is a simple description of the embodiment of the present application, and the following will describe in detail the technical solution provided by the embodiment of the present application with reference to some examples, taking an electronic device as an example, with reference to fig. 3, where the method includes:
301. and the electronic equipment displays an IP address configuration interface and configures an IP address for each service node through the IP address configuration interface.
The IP address configuration interface is also a page for configuring an IP address for the service node, and a user can configure an IP address for different service nodes through the IP address configuration interface.
In a possible implementation manner, a plurality of service nodes are displayed on the IP address configuration interface, an IP address input box is displayed below each service node, and a confirmation control is displayed on the IP address configuration interface. And responding to the click operation of the confirmation control, and the electronic equipment sends an IP address configuration request to each service node based on the identifier of each service node, wherein the IP address configuration request carries a corresponding IP address, and the IP address is the IP address input by the user in the IP address input box. After each service node receives the IP address configuration request, the corresponding IP address is obtained from the IP address configuration request, and the own IP address is adjusted to the IP address. In some embodiments, in response to the adjustment of the IP address of any of the service nodes to the user-configured IP address, the service node can send an IP address acknowledgement message to the electronic device. In response to receiving the IP address confirmation information, the electronic device can display a prompt message of successful IP address configuration on the IP address configuration interface, and the user can know that the IP address of the service node has been successfully configured through the prompt message of successful IP address configuration.
In the embodiment, the user can configure the IP addresses for the service nodes at one time, and the configuration efficiency of the IP addresses is high.
In a possible implementation manner, a plurality of service nodes are displayed on the IP address configuration interface, an IP address of a corresponding service node is displayed below each service node, and an IP address adjustment control is displayed on the right side of each IP address. In response to the click operation of any IP address adjusting control, the electronic equipment displays an IP address configuration box, the IP address configuration box comprises an IP address input area and a confirmation control, and a user can input an IP address which is required to be configured for the service node in the IP address input area. And responding to the click operation of the confirmation control, and sending an IP address configuration request to the service node by the electronic equipment based on the identifier of the service node, wherein the IP address configuration request carries an IP address configured for the service node by the user. After receiving the IP address configuration request, the service node acquires the corresponding IP address from the IP address configuration request and adjusts the IP address of the service node to the IP address.
In this embodiment, the user can configure the IP address of the service node in a targeted manner, and the efficiency of IP address configuration can also be improved.
302. The electronic equipment displays a mutual access relationship setting interface which is used for setting the mutual access relationship among the plurality of service nodes.
After the electronic device sets the mutual access relations for a plurality of service nodes, the service nodes with the mutual access relations form a service chain.
In a possible implementation manner, after the electronic device configures an IP address for the service node through the IP address configuration interface, the mutual access relationship setting interface can be displayed, and the method for switching from the IP address configuration interface to the mutual access relationship setting interface includes: and the IP address configuration interface is displayed with a mutual access relation setting option, and the electronic equipment switches the IP address configuration interface into a mutual access relation setting interface in response to the triggering operation of the mutual access relation setting option. And displaying a service node adding control on the mutual access relation setting interface, responding to the clicking operation of the service node adding control, displaying a service node selection popup window on the mutual access relation setting interface by the electronic equipment, and displaying a plurality of service nodes in the service node selection popup window. In response to the selection operation of any one of the plurality of service nodes, the electronic equipment displays the selected service node on the mutual access relationship setting interface, displays a service node adding control on the right side of the service node, and enables a user to add a service node on the mutual access relationship setting interface through the service node adding control. The user can set up an inter-access relationship between a previously added service node and a later added service node. After the mutual access relation is set, the two service nodes can perform data interaction.
In the embodiment, the user can set the mutual access relations for the service nodes through the mutual access relation setting interface, and the human-computer interaction efficiency is high.
In a possible implementation manner, the mutual access relationship setting interface displays a plurality of service nodes and the mutual access relationships among the plurality of service nodes, and a user can adjust the mutual access relationships among the plurality of service nodes through the mutual access relationship setting interface. For example, for the service node a, it can perform data interaction with the service node B, that is, the service node a and the service node B have a mutual access relationship. Responding to the clicking operation of the service node A, the electronic equipment displays a mutual access relation adjustment popup, a plurality of service nodes are displayed on the mutual access relation adjustment popup, and responding to the selection operation of any one of the plurality of service nodes, the electronic equipment establishes a mutual access relation between the service node A and the selected service node.
In the implementation mode, the user can adjust the mutual access relation of the service nodes through the mutual access relation setting interface, and the human-computer interaction efficiency is high.
303. The electronic equipment displays a service monitoring interface of a target service, a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes with a mutual access relationship.
The service monitoring interface is also an interface for monitoring a service node, and the position of each display module in the service monitoring interface is set by a technician as required.
In a possible implementation manner, each service node is displayed on the service monitoring interface in the form of an icon, and an identifier of the corresponding service node is displayed below each icon. The user can view the working service nodes through the service monitoring interface. In some embodiments, the service monitoring interface further displays an IP address configured for the service node by the user. In some embodiments, the electronic device displays a connecting line between every two service nodes having a service interaction relationship on the service monitoring interface, and by looking at the connecting line, a user can quickly know the service nodes having the interaction relationship.
For example, referring to fig. 4, the electronic device displays a service monitoring interface 401, icons of a plurality of service nodes are displayed on the service monitoring interface 401, and an identifier of a corresponding service node is displayed below each icon. And connecting lines are displayed between every two service nodes with the mutual access relation.
In one possible implementation, in response to a click operation on any service node, the electronic device displays network information of the service node on the service monitoring interface, wherein the network information comprises network throughput of the service node. The user can know the running condition of the service node by checking the network information of the service node, and the efficiency of man-machine interaction is high.
304. In response to a first service node of the plurality of service nodes being selected on the service monitoring interface, the electronic device displays, on the service monitoring interface, a performance parameter between the first service node and a second service node, where the performance parameter is used to indicate a mutual access condition between the first service node and the second service node, and the first service node and the second service node have a mutual access relationship.
The method has a mutual access relationship, that is, data interaction can be performed between two service nodes. The performance parameters can reflect the network condition when the two service nodes perform data interaction. For performance parameters between two service nodes, the electronic device can periodically send performance parameter acquisition requests to multiple service nodes. In response to receiving the performance parameter acquisition request, each service node sends corresponding performance parameters to the electronic device, and the electronic device acquires the performance parameters of the plurality of service nodes.
In some embodiments, the performance parameter includes at least one of latency, retransmission percentage, and zero window number. In some embodiments, a performance parameter configuration control is displayed on the business monitoring interface, in response to clicking operation on the performance parameter configuration control, the electronic device displays a performance parameter configuration interface, a plurality of options are displayed on the performance parameter configuration interface, each option corresponds to one type of performance parameter, and a user can determine a performance parameter which the user wants to view through selection of the option. For example, referring to fig. 4 and fig. 5, a performance parameter configuration control 402 is displayed on the service monitoring interface 401, and in response to a click operation on the performance parameter configuration control 402, the electronic device displays a performance parameter configuration interface 501, where multiple options are displayed on the performance parameter configuration interface 501. In some embodiments, in response to a selection operation of a selection line displayed on the performance parameter configuration interface, the electronic device determines a type of the performance parameter corresponding to the selected selection line as the type of the performance parameter displayed on the service monitoring interface.
In one possible implementation, in response to a click operation on a first service node of the plurality of service nodes on the service monitoring interface, the electronic device marks the first service node as a selected state. And the electronic equipment displays the performance parameters between the first service node and the second service node on the service monitoring interface.
For example, in response to a click operation on a first service node on the service monitoring interface, the electronic device highlights the first service node in a manner that the display brightness of the first service node is increased, or the color of the first service node is adjusted to be a striking color, or a mark frame is displayed around the first service node, which is not limited in this embodiment of the application.
In some embodiments, the electronic device displays a connection line between the first service node and the second service node, the connection line indicating that there is a mutual access relationship between the first service node and the second service node. In some embodiments, the electronic device displays the performance parameter between the first service node and the second service node below or below the connecting line. In some embodiments, in response to a click operation on the connecting line, a historical performance parameter between the first service node and the second service node is displayed in the service monitoring interface, and the historical performance parameter is used for indicating a historical mutual visit condition between the first service node and the second service node.
For example, referring to fig. 4, the electronic device can display a connection line between every two service nodes having a mutual access relationship on the service monitoring interface, and display performance parameters between the two corresponding service nodes below the connection line, such as a delay and a retransmission percentage between the two service nodes below the connection line. In some embodiments, the electronic device is further capable of displaying a connection manner between the two service nodes above the connection line, for example, displaying that the two service nodes establish a network connection based on an ssl (secure Socket layer) protocol.
Optionally, in response to a selection operation of a connection line between the first service node and the second service node, the electronic device displays, on a service monitoring interface, historical performance parameters between the electronic device and the first service node and between the electronic device and the second service node.
305. The electronic equipment inputs the performance parameter into an access quality determination model, processes the performance parameter through the access quality determination model, and outputs a quality parameter corresponding to the performance parameter, wherein the quality parameter is used for indicating the access quality between the first service node and the second service node after a target time length, and the access quality determination model is obtained based on a sample performance parameter and a corresponding sample quality parameter.
In one possible implementation, the electronic device generates a performance parameter matrix based on the performance parameters. The electronic equipment inputs the performance parameter matrix into the access quality determination model, and the following steps are executed through the access quality determination model: and extracting the characteristics of the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix. And mapping the characteristic matrix and outputting a quality parameter corresponding to the performance parameter.
In order to more clearly explain the above embodiments, the above embodiments will be explained in several parts.
The first part, the electronic device, based on the performance parameter, generates a performance parameter matrix.
In a possible implementation manner, the electronic device concatenates a plurality of parameters in the performance parameters to obtain the performance parameter matrix, where the performance parameter matrix is used to record the performance parameters. For example, the electronic device uses one of the performance parameters as a row in a performance parameter matrix, and a plurality of the performance parameters form the performance parameter matrix, and one of the performance parameters occupies a row in the performance parameter matrix.
And the second part is that the electronic equipment inputs the performance parameter matrix into the access quality determination model, and executes the following steps through the access quality determination model: and extracting the characteristics of the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix.
In a possible implementation manner, the electronic device performs convolution processing on the performance parameter matrix through the access quality determination model to obtain a feature matrix corresponding to the performance parameter matrix.
For example, the electronic device performs convolution processing on the performance parameter matrix through a convolution kernel of the access quality determination model to obtain a feature matrix corresponding to the performance parameter matrix. In some embodiments, the convolution kernel is a sparse convolution kernel. For example, the electronic device controls the convolution kernel of the model with the determined access quality to slide on the performance parameter matrix and convolve with the covered position on the performance parameter matrix to obtain the value of a part of the feature matrix. And the electronic equipment controls the convolution kernel to finish sliding on the performance parameter matrix to obtain the characteristic matrix.
In a possible implementation manner, the electronic device encodes the performance parameter matrix based on the attention mechanism through the access quality determination model to obtain a feature matrix corresponding to the performance parameter matrix.
For example, the electronic device obtains the query matrix, the key matrix, and the value matrix for each row in the performance parameter matrix through the access quality determination model. And the electrons acquire a characteristic matrix corresponding to the performance parameter matrix based on the query matrix, the key matrix and the value matrix of each row in the performance parameter matrix through the access quality determination model.
For example, for a first row and a second row in the performance parameter matrix, the electronic device multiplies the first row in the performance parameter matrix by the first parameter matrix, the second parameter matrix, and the third parameter matrix, respectively, to obtain a query matrix, a key matrix, and a value matrix corresponding to the first row in the performance parameter matrix. And the electronic equipment multiplies the second row in the performance parameter matrix by the first parameter matrix, the second parameter matrix and the third parameter matrix respectively to obtain a query matrix, a key matrix and a value matrix corresponding to the second row in the performance parameter matrix. The electronic device multiplies the look-up matrix of the first row with the key matrix of the second row to obtain the attention weight of the first row to the second row. The electronic device multiplies the look-up matrix of the second row with the key matrix of the first row to obtain the attention weight of the second row to the first row. The electronic equipment performs weighted fusion on the two value matrixes respectively based on the two attention weights to obtain the fusion characteristic, and the fusion characteristic is one part of the characteristic matrix. The first parameter matrix, the second parameter matrix and the third parameter matrix are all parameter matrices obtained in the model training process.
In a possible implementation manner, the electronic device multiplies the performance parameter matrix by a target mapping matrix through the access quality determination model to obtain a feature matrix corresponding to the performance parameter matrix, wherein the size of the target mapping matrix is the same as that of the performance parameter matrix.
Wherein, the target mapping matrix is the matrix obtained in the model training process.
And thirdly, the electronic equipment performs mapping processing on the characteristic matrix through the access quality determination model and outputs quality parameters corresponding to the performance parameters.
In a possible implementation manner, the electronic device performs full connection processing on the feature matrix through the access quality determination model to obtain a full connection matrix corresponding to the feature matrix. And the electronic equipment performs pooling treatment on the full connection matrix through the access quality determination model to obtain a pooling matrix corresponding to the full connection matrix. And the electronic equipment normalizes the pooling matrix through the access quality determination model and outputs the quality parameters corresponding to the performance parameters.
306. And under the condition that the quality parameter output by the access quality determination model meets a first target condition, the electronic equipment adjusts the mutual access relation between the first service node and the second service node into the mutual access relation established between the first service node and a third service node, wherein the third service node is a standby service node corresponding to the first service node.
The quality parameter meeting the first target condition means that the quality parameter is less than or equal to a parameter threshold value, and the parameter threshold value is set by a technician according to an actual situation. The third service node is a standby node corresponding to the service between the first service node and the second service node, the number of the third service nodes can be one or multiple, and the corresponding relationship between the third service node and the first service node is set by a technician according to the actual situation.
In a possible implementation, in a case that the quality parameter output by the access quality determination model meets a first target condition, the electronic device establishes an inter-access relationship between the first service node and the third service node, and an inter-access relationship between the second service node and the third service node. The electronic device controls the second service node to transmit data associated with the first service node to the third service node. And under the condition that the second service node finishes transmitting the data related to the first service node to the third service node, the electronic equipment disconnects the mutual access relation between the first service node and the second service node.
For example, when the quality parameter output by the access quality determination model is less than or equal to the parameter threshold, the electronic device sends an access relationship establishment instruction to the first service node and the third service node, where the access relationship establishment instruction sent by the electronic device to the first service node carries an identifier of the third service node, and the access relationship establishment instruction sent by the electronic device to the third service node carries an identifier of the first service node. And after the first service node and the third service node receive the access relation establishing instruction, establishing the access relation between the first service node and the third service node based on the access relation establishing instruction. And the electronic equipment sends a data transmission instruction to the second service node, wherein the data transmission instruction carries an identifier of the third service node and is used for indicating the second service node to transmit data to the third service node. In response to receiving the data transmission instruction, the second service node transmits data associated with the first service node to the third service node. And under the condition that the second service node finishes transmitting the data related to the first service node to the third service node, the electronic equipment sends an inter-access relation interruption instruction to the first service node, wherein the inter-access relation interruption instruction carries the identifier of the second service node. And after the first service node receives the mutual access relation interruption instruction, disconnecting the mutual access relation between the first service node and the second service node.
In a possible implementation manner, in a case that the quality parameter output by the access quality determination model meets a first target condition, the electronic device displays the third service node on the service monitoring interface, and the display colors of the first service node and the third service node are the same. The electronic device adjusts the color of the second service node to a target color that is more conspicuous than the color of the first service node.
In a possible embodiment, the electronic device adjusts the color of the connection line between the first service node and the second service node to a first target color in case the quality parameter output by the access quality determination model meets a first target condition. That is, in a case where the quality parameter output by the access quality determination model meets the first target condition, the electronic device may highlight the connection line between the first service node and the second service node, for example, the electronic device normally displays the connection line between the two service nodes in black, and when the performance parameter between the two service nodes meets the first target condition, the electronic device may adjust the color of the connection line between the two service nodes from gray to yellow, and the user may visually perceive the abnormality by looking at the color of the connection line. In some embodiments, when the performance parameter between the two service nodes meets the first target condition, the electronic device displays the third service node on the service monitoring interface, and displays a connecting line between the first service node and the third service node to indicate that a mutual access relationship is about to be established between the first service node and the third service node.
307. And the electronic equipment displays prompt information on the service monitoring interface, wherein the prompt information is used for prompting that the second service node is replaced by the third service node.
In a possible implementation manner, the electronic device displays a prompt box on the service monitoring interface, where the prompt box carries a target text, and the target text is used to prompt that a second service node connected to a first service node is replaced with a third service node, where the target text is also prompt information. For example, when the quality parameter between the service node a and the service node B is less than or equal to the parameter threshold, the electronic device displays a prompt box on the service monitoring interface, and a target text "the quality of the connection between the service node a and the service node B will be deteriorated, please note" is displayed in the prompt box, and the user can quickly locate the fault by checking the target text, so that the efficiency of human-computer interaction is high.
In a possible implementation manner, the electronic device may send notification information to the mobile terminal of the user while displaying the prompt information on the service monitoring interface, where the notification information is used to notify that the second service node connected to the first service node is replaced by the third service node.
The notification information is a short message or push information of the service monitoring application, and the like, which is not limited in the embodiment of the present application.
In this embodiment, even if the user is far away from the electronic device, the abnormal situation can be timely discovered.
In a possible implementation manner, the electronic device may send a voice prompt while displaying the prompt information on the service monitoring interface, where the voice prompt is used to prompt that the second service node connected to the first service node is replaced with the third service node.
In this embodiment, the electronic device can not only visually prompt the user, but also audibly prompt the user, and the prompting efficiency is high.
In a possible implementation manner, the electronic device can display the processing suggestion on the service monitoring interface while displaying the prompt information on the service monitoring interface. That is, when there may be a fault between two service nodes, the electronic device can display the processing suggestion, and the user can perform processing based on the processing suggestion, which is highly efficient. The processing suggestion is information configured in advance by a user, for example, information configured for a qualified technician, so that the threshold of service monitoring can be reduced, and the processing efficiency in case of a fault is improved.
Through the technical scheme provided by the embodiment of the application, the service monitoring interface can be displayed, and the plurality of service nodes corresponding to the target service are displayed on the service monitoring interface. When the access condition of the first service node is required to be checked, the first service node is directly clicked. And displaying the performance parameters between the first service node and the second service node on a service monitoring interface. Meanwhile, the performance parameters are input into an access quality determination model, and prediction is carried out through the access quality determination model to obtain quality parameters. And under the condition that the quality parameter indicates that the access quality between the first service node and the second service node is deteriorated, adjusting the mutual access relation of the first service node. Through the mode, the problems can be found and adjusted in time without the experience of workers, and the stability of the target service is ensured.
Corresponding to the above method embodiment, referring to fig. 6, an embodiment of the present application further provides an apparatus 600 for adjusting an inter-access relationship based on a service node, including: an interface display module 601, a performance parameter display module 602, a quality parameter output module 603, an adjustment module 604, and a prompt information display module 605.
An interface display module 601, configured to display a service monitoring interface of a target service, where a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes having a mutual access relationship;
a performance parameter display module 602, configured to, in response to a first service node of the plurality of service nodes being selected on the service monitoring interface, display a performance parameter between the first service node and a second service node on the service monitoring interface, where the performance parameter is used to indicate a mutual access condition between the first service node and the second service node, and the first service node and the second service node have a mutual access relationship;
a quality parameter output module 603, configured to input the performance parameter into an access quality determination model, process the performance parameter through the access quality determination model, and output a quality parameter corresponding to the performance parameter, where the quality parameter is used to indicate an access quality between the first service node and the second service node after a target duration, and the access quality determination model is obtained based on a sample performance parameter and a corresponding sample quality parameter through training;
an adjusting module 604, configured to adjust, when the quality parameter output by the access quality determination model meets a first target condition, an inter-access relationship between the first service node and the second service node to an inter-access relationship established between the first service node and a third service node, where the third service node is a standby service node corresponding to the first service node;
a prompt information display module 605, configured to display a prompt information on the service monitoring interface, where the prompt information is used to prompt that the second service node is replaced by the third service node.
In a possible implementation manner, the performance parameter display module 602 is configured to mark a first service node in the plurality of service nodes as a selected state in response to a click operation on the service monitoring interface on the first service node; and displaying the performance parameters between the first service node and the second service node on the service monitoring interface.
In a possible implementation, the performance parameter displaying module 602 is configured to display a connection line between the first service node and the second service node, where the connection line is used to indicate that the first service node and the second service node have a mutual access relationship; and displaying the performance parameters between the first service node and the second service node below or below the connecting line.
In a possible embodiment, the apparatus further comprises:
a historical performance parameter display module 602, configured to display, in response to a click operation on the connection line, a historical performance parameter between the first service node and the second service node in the service monitoring interface, where the historical performance parameter is used to indicate a historical mutual access condition between the first service node and the second service node.
In a possible implementation manner, the quality parameter output module 603 is configured to generate a performance parameter matrix based on the performance parameter; inputting the performance parameter matrix into the access quality determination model; performing, by the access quality determination model, the steps of:
extracting the characteristics of the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix; and mapping the characteristic matrix and outputting quality parameters corresponding to the performance parameters.
In a possible implementation, the quality parameter output module 603 is configured to perform any one of the following:
performing convolution processing on the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix;
coding the performance parameter matrix based on an attention mechanism to obtain a characteristic matrix corresponding to the performance parameter matrix;
and multiplying the performance parameter matrix with a target mapping matrix to obtain a characteristic matrix corresponding to the performance parameter matrix, wherein the size of the target mapping matrix is the same as that of the performance parameter matrix.
In a possible implementation manner, the quality parameter output module 603 is configured to perform full connection processing on the feature matrix to obtain a full connection matrix corresponding to the feature matrix; performing pooling treatment on the full connection matrix to obtain a pooling matrix corresponding to the full connection matrix; and normalizing the pooling matrix, and outputting the quality parameters corresponding to the performance parameters.
In a possible implementation manner, the adjusting module 604 is configured to establish a mutual access relationship between the first service node and the third service node, and a mutual access relationship between the second service node and the third service node, in a case that the quality parameter output by the access quality determination model meets a first target condition; controlling the second service node to transmit data associated with the first service node to the third service node; and under the condition that the second service node finishes transmitting the data related to the first service node to the third service node, disconnecting the mutual access relation between the first service node and the second service node.
In a possible embodiment, the apparatus further comprises:
a color adjusting module 604, configured to display the third service node on the service monitoring interface when the quality parameter output by the access quality determination model meets a first target condition, where display colors of the first service node and the third service node are the same; adjusting the color of the second service node to a target color, the target color being more conspicuous than the color of the first service node.
Through the technical scheme provided by the embodiment of the application, the service monitoring interface can be displayed, and the plurality of service nodes corresponding to the target service are displayed on the service monitoring interface. When the access condition of the first service node is required to be checked, the first service node is directly clicked. And displaying the performance parameters between the first service node and the second service node on a service monitoring interface. Meanwhile, the performance parameters are input into an access quality determination model, and prediction is carried out through the access quality determination model to obtain quality parameters. And under the condition that the quality parameter indicates that the access quality between the first service node and the second service node is deteriorated, adjusting the mutual access relation of the first service node. Through the mode, the problems can be found and adjusted in time without the experience of workers, and the stability of the target service is ensured.
The apparatus shown in fig. 6 may correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 7, an embodiment of the present application further provides an electronic device 700, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the service node based inter-access relationship adjustment method of the foregoing method embodiments.
The present application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the service node-based mutual access relationship adjustment method in the foregoing method embodiments.
The present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the service node-based mutual access relationship adjustment method in the foregoing method embodiments.
Referring now to FIG. 7, shown is a schematic diagram of an electronic device 700 suitable for use in implementing embodiments of the present application. The electronic device 700 in the embodiment of the present application may include, but is not limited to, mobile electronic devices such as a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), and the like, and stationary electronic devices such as a digital TV, a desktop computer, and the like. The electronic device 700 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the applicable scope of the embodiments of the present application.
As shown in fig. 7, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 702 or a program loaded from storage 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, or the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of the embodiments of the present application.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A mutual access relation adjusting method based on service nodes is characterized by comprising the following steps:
displaying a service monitoring interface of a target service, wherein a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes with a mutual access relationship;
in response to a first service node of the plurality of service nodes being selected on the service monitoring interface, displaying a performance parameter between the first service node and a second service node on the service monitoring interface, wherein the performance parameter is used for indicating a mutual access condition between the first service node and the second service node, the first service node and the second service node have a mutual access relationship, and the performance parameter comprises at least one of time delay, retransmission percentage and zero window number;
inputting the performance parameters into an access quality determination model, processing the performance parameters through the access quality determination model, and outputting quality parameters corresponding to the performance parameters, wherein the quality parameters are used for indicating the access quality between the first service node and the second service node after a target duration, the access quality determination model is obtained based on sample performance parameters and corresponding sample quality parameters through training, and the access quality determination model is a convolutional neural network based on an attention mechanism;
under the condition that the quality parameter output by the access quality determination model meets a first target condition, establishing a mutual access relation between the first service node and a third service node and a mutual access relation between the second service node and the third service node, wherein the third service node is a standby service node corresponding to the first service node; controlling the second service node to transmit data associated with the first service node to the third service node; disconnecting the inter-access relationship between the first service node and the second service node when the second service node completes transmission of data related to the first service node to the third service node;
displaying prompt information on the service monitoring interface, wherein the prompt information is used for prompting that the second service node is replaced by the third service node;
the method further comprises the following steps:
displaying the third service node on the service monitoring interface under the condition that the quality parameter output by the access quality determination model meets a first target condition, wherein the display colors of the first service node and the third service node are the same; adjusting the color of the second service node to a target color, the target color being more conspicuous than the color of the first service node.
2. The method of claim 1, wherein responsive to a first service node of the plurality of service nodes being selected on the service monitoring interface, displaying performance parameters between the first service node and a second service node on the service monitoring interface comprises:
responding to click operation of a first service node in the plurality of service nodes on the service monitoring interface, and marking the first service node as a selected state;
and displaying the performance parameters between the first service node and the second service node on the service monitoring interface.
3. The method of claim 2, wherein displaying the performance parameters between the first service node and the second service node on the service monitoring interface comprises:
displaying a connecting line between the first service node and the second service node, wherein the connecting line is used for indicating that the first service node and the second service node have a mutual access relationship;
and displaying the performance parameters between the first service node and the second service node below the connecting line.
4. The method of claim 3, further comprising:
and responding to the clicking operation of the connecting line, and displaying historical performance parameters between the first service node and the second service node in the service monitoring interface, wherein the historical performance parameters are used for indicating the historical mutual access condition between the first service node and the second service node.
5. The method of claim 1, wherein the inputting the performance parameter into an access quality determination model, and the processing the performance parameter by the access quality determination model, and the outputting the quality parameter corresponding to the performance parameter comprises:
generating a performance parameter matrix based on the performance parameters;
inputting the performance parameter matrix into the access quality determination model;
performing, by the access quality determination model, the steps of:
extracting the characteristics of the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix; and mapping the characteristic matrix and outputting quality parameters corresponding to the performance parameters.
6. The method according to claim 5, wherein the extracting the features of the performance parameter matrix to obtain the feature matrix corresponding to the performance parameter matrix includes any one of:
performing convolution processing on the performance parameter matrix to obtain a characteristic matrix corresponding to the performance parameter matrix;
coding the performance parameter matrix based on an attention mechanism to obtain a characteristic matrix corresponding to the performance parameter matrix;
and multiplying the performance parameter matrix with a target mapping matrix to obtain a characteristic matrix corresponding to the performance parameter matrix, wherein the size of the target mapping matrix is the same as that of the performance parameter matrix.
7. The method according to claim 5, wherein the mapping the feature matrix and outputting the quality parameter corresponding to the performance parameter comprises:
carrying out full connection processing on the feature matrix to obtain a full connection matrix corresponding to the feature matrix;
performing pooling treatment on the full connection matrix to obtain a pooling matrix corresponding to the full connection matrix;
and normalizing the pooling matrix, and outputting the quality parameters corresponding to the performance parameters.
8. An apparatus for adjusting mutual access relationship based on service nodes, comprising:
the interface display module is used for displaying a service monitoring interface of a target service, a plurality of service nodes are displayed on the service monitoring interface, and every two service nodes in the plurality of service nodes are service nodes with a mutual access relationship;
a performance parameter display module, configured to display, on the service monitoring interface, a performance parameter between a first service node and a second service node in response to a first service node of the plurality of service nodes being selected on the service monitoring interface, where the performance parameter is used to indicate a mutual access condition between the first service node and the second service node, where the first service node and the second service node have a mutual access relationship, and the performance parameter includes at least one of a time delay, a retransmission percentage, and a zero window number;
a quality parameter output module, configured to input the performance parameter into an access quality determination model, process the performance parameter through the access quality determination model, and output a quality parameter corresponding to the performance parameter, where the quality parameter is used to indicate an access quality between the first service node and the second service node after a target duration, the access quality determination model is obtained by training based on a sample performance parameter and a corresponding sample quality parameter, and the access quality determination model is a convolutional neural network based on an attention mechanism;
an adjusting module, configured to establish a mutual access relationship between the first service node and a third service node and a mutual access relationship between the second service node and the third service node when the quality parameter output by the access quality determination model meets a first target condition, where the third service node is a standby service node corresponding to the first service node; controlling the second service node to transmit data associated with the first service node to the third service node; disconnecting the inter-access relationship between the first service node and the second service node when the second service node completes transmission of data related to the first service node to the third service node;
a prompt message display module, configured to display a prompt message on the service monitoring interface, where the prompt message is used to prompt that the second service node is replaced with the third service node;
a color adjusting module, configured to display the third service node on the service monitoring interface when the quality parameter output by the access quality determination model meets a first target condition, where the display colors of the first service node and the third service node are the same; adjusting the color of the second service node to a target color, the target color being more conspicuous than the color of the first service node.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the service node based inter-access relationship adjustment method of any of the preceding claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the service node-based mutual access relationship adjustment method of any one of the preceding claims 1-7.
CN202111472614.6A 2021-12-06 2021-12-06 Mutual access relation adjusting method and device based on service node and electronic equipment Active CN113868111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111472614.6A CN113868111B (en) 2021-12-06 2021-12-06 Mutual access relation adjusting method and device based on service node and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111472614.6A CN113868111B (en) 2021-12-06 2021-12-06 Mutual access relation adjusting method and device based on service node and electronic equipment

Publications (2)

Publication Number Publication Date
CN113868111A CN113868111A (en) 2021-12-31
CN113868111B true CN113868111B (en) 2022-03-08

Family

ID=78986013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111472614.6A Active CN113868111B (en) 2021-12-06 2021-12-06 Mutual access relation adjusting method and device based on service node and electronic equipment

Country Status (1)

Country Link
CN (1) CN113868111B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209186A (en) * 2013-04-08 2013-07-17 浪潮电子信息产业股份有限公司 Design method for ensuring quality of service of businesses in heterogeneous network
WO2019205849A1 (en) * 2018-04-28 2019-10-31 腾讯科技(深圳)有限公司 Authentication method and apparatus for blockchain access, and storage medium and electronic apparatus
CN111327539A (en) * 2018-12-17 2020-06-23 中国移动通信集团福建有限公司 Service scheduling method, device and equipment
CN112272113A (en) * 2020-10-23 2021-01-26 上海万向区块链股份公司 Method and system for monitoring and automatically switching based on various block chain nodes
CN113079041A (en) * 2021-03-24 2021-07-06 国网上海市电力公司 Service stream transmission method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921532A (en) * 2015-12-25 2017-07-04 中国电信股份有限公司 A kind of performance management method, the device of business catenary system
CN106656611B (en) * 2016-12-28 2020-02-07 成都网丁科技有限公司 CDN quality evaluation system
CN108197758A (en) * 2018-01-29 2018-06-22 方欣科技有限公司 A kind of method based on taxpayer's behavioural analysis optimization tax system Product Experience
CN111314121A (en) * 2020-02-03 2020-06-19 支付宝(杭州)信息技术有限公司 Link abnormity detection method and device
CN112291370B (en) * 2020-12-28 2021-03-23 金锐同创(北京)科技股份有限公司 Method for processing service access relation and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209186A (en) * 2013-04-08 2013-07-17 浪潮电子信息产业股份有限公司 Design method for ensuring quality of service of businesses in heterogeneous network
WO2019205849A1 (en) * 2018-04-28 2019-10-31 腾讯科技(深圳)有限公司 Authentication method and apparatus for blockchain access, and storage medium and electronic apparatus
CN111327539A (en) * 2018-12-17 2020-06-23 中国移动通信集团福建有限公司 Service scheduling method, device and equipment
CN112272113A (en) * 2020-10-23 2021-01-26 上海万向区块链股份公司 Method and system for monitoring and automatically switching based on various block chain nodes
CN113079041A (en) * 2021-03-24 2021-07-06 国网上海市电力公司 Service stream transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113868111A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
US11016716B2 (en) Picture interface display method and apparatus according to jump protocol
US11360737B2 (en) Method and apparatus for providing speech service
CN104394191A (en) Method, control terminal, and system for remotely controlling mobile terminal
US20230015800A1 (en) A method, apparatus, medium and electronic device for configuring a gift list in a live broadcast room
US11861381B2 (en) Icon updating method and apparatus, and electronic device
CN111246228B (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
EP3231103B1 (en) System and method for monitoring operations in a satellite communication system
CN112135325A (en) Network switching method, device, storage medium and terminal
CN103595759A (en) Desktop presenting method based on cloud
CN112306793A (en) Method and device for monitoring webpage
CN110837334B (en) Method, device, terminal and storage medium for interactive control
CN110879729A (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
CN112152879B (en) Network quality determination method, device, electronic equipment and readable storage medium
JP2021170319A (en) Method and device for acquiring information
CN113868111B (en) Mutual access relation adjusting method and device based on service node and electronic equipment
CN112988313B (en) Path determining method and device and electronic equipment
CN115022328B (en) Server cluster, testing method and device of server cluster and electronic equipment
CN110996164A (en) Video distribution method and device, electronic equipment and computer readable medium
CN114513552B (en) Data processing method, device, equipment and storage medium
CN111010449B (en) Image information output method, system, device, medium, and electronic apparatus
CN112543228A (en) Data transmission method and device, electronic equipment and computer readable medium
CN111193717A (en) FTP black and white list control method and device and electronic equipment
US11734697B2 (en) Device handoff
CN115292081B (en) Information sending method, device, electronic equipment and medium
CN114936310B (en) Chart display method, apparatus, electronic device, and computer-readable 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