CN111078342A - Information display method and device, electronic equipment and computer readable storage medium - Google Patents
Information display method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN111078342A CN111078342A CN201911244133.2A CN201911244133A CN111078342A CN 111078342 A CN111078342 A CN 111078342A CN 201911244133 A CN201911244133 A CN 201911244133A CN 111078342 A CN111078342 A CN 111078342A
- Authority
- CN
- China
- Prior art keywords
- service
- identifier
- calling
- link
- relationship
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000013507 mapping Methods 0.000 claims description 38
- 239000000126 substance Substances 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 239000003086 colorant Substances 0.000 description 4
- 238000013024 troubleshooting Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure discloses an information display method, an information display device, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring service association relation data, wherein the service association relation data comprises calling relations among service nodes and corresponding identifications; the server architecture comprises at least one service node; determining at least one service call link corresponding to at least one identifier according to the service association relation data; at least one service invocation link is displayed. The scheme can provide diversity of service link display.
Description
Technical Field
The present disclosure relates to the field of information processing technologies in the field of internet, and in particular, to an information display method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of the internet, more and more industries develop their own work on the internet, such as the business scenarios of take-out industry, express industry, shopping, etc., and therefore, with the development of the micro-service architecture, services on the same link need to be prominently displayed in a complex service architecture system. In an actual production environment, when a certain service appears to be inaccessible, the service is often not only the cause of the failure of the service, but also the effect of the interaction of other services on the call chain.
Currently, there are two main ways to highlight a service link: one is a service node in a mouse slide, a link where the service node is located is displayed, the whole link is highlighted, and the like; and (5) sliding out the mouse and recovering the original shape. One is to click a certain service node, hide the services and the association relation on other non-related links, and only show the service link related to the service node.
However, the two modes show that the service link has a single form, only can represent single link information, and the overall sense is weak.
Disclosure of Invention
The embodiment of the disclosure provides an information display method and device, electronic equipment and a computer-readable storage medium.
In a first aspect, an embodiment of the present disclosure provides an information displaying method.
Specifically, the information display method includes:
acquiring service association relation data, wherein the service association relation data comprises calling relations among service nodes and corresponding identifications; the server architecture comprises at least one service node;
determining at least one service calling link corresponding to at least one identifier according to the service association relation data; wherein the at least one service invocation link is marked by different marking information;
and displaying the at least one service calling link.
With reference to the first aspect, in a first implementation manner of the first aspect, the determining, according to the service association relation data, at least one service invocation link corresponding to at least one identifier includes:
determining a mapping relation between each identifier and a service node according to the service association relation data;
and finally determining the relationship between each identifier and a calling link according to the calling relationship and the mapping relationship between the service nodes to obtain a service calling link corresponding to each identifier, thereby obtaining at least one service calling link corresponding to the identifier.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the determining, according to the calling relationship and the mapping relationship between the service nodes, a relationship between each identifier and a calling link to obtain a service calling link corresponding to each identifier, so as to obtain a service calling link corresponding to at least one identifier includes:
adopting the calling relationship among the service nodes, and associating the service nodes with the calling relationship in an association mode;
setting at least one target mark information of different marks for the at least one mark;
and marking the association mode by adopting the at least one target mark information and the mapping relation, thereby determining a service calling link in the service architecture with the same mark information as each mark, and further obtaining the at least one service calling link corresponding to the at least one mark.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the setting, to the at least one identifier, at least one target identifier information of a different identifier includes:
and setting the at least one target mark information of different color marks for the at least one mark.
In a second aspect, an information display apparatus is provided in the embodiments of the present disclosure.
Specifically, the information display device includes:
the service association relation data comprises calling relations among service nodes and corresponding identifications; the server architecture comprises at least one service node;
the determining module is configured to determine at least one service calling link corresponding to at least one identifier according to the service association relation data; wherein the at least one service invocation link is marked by different marking information;
a presentation module configured to display the at least one service invocation link.
With reference to the second aspect, in a first implementation manner of the second aspect, the determining module includes:
the mapping submodule is configured to determine a mapping relation between each identifier and a service node according to the service association relation data;
and the determining submodule is configured to finally determine the relationship between each identifier and the calling link according to the calling relationship and the mapping relationship between the service nodes, so as to obtain a service calling link corresponding to each identifier, and further obtain a service calling link corresponding to at least one identifier.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the determining sub-module includes:
the association submodule is configured to associate the service nodes with the calling relationship in an association mode by adopting the calling relationship among the service nodes;
a marking submodule configured to set at least one target marking information of a different mark to the at least one of the identifications;
the obtaining sub-module is configured to mark the association manner by using the at least one piece of target mark information and the mapping relationship, so as to determine a service invocation link in the service architecture having the same mark information as each identifier, and further obtain the at least one service invocation link corresponding to the at least one identifier.
With reference to the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the marking sub-module is further configured to set the at least one target marking information marked with a different color to the at least one identifier.
In a third aspect, an embodiment of the present disclosure provides an electronic device, which includes a memory and a processor, where the memory is used to store one or more computer instructions that support an information presentation apparatus to execute the information presentation method in the first aspect, and the processor is configured to execute the computer instructions stored in the memory. The information presentation apparatus may further comprise a communication interface for the information presentation apparatus to communicate with other devices or a communication network.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions for an information presentation apparatus, where the computer instructions include computer instructions for executing the information presentation method in the first aspect to be referred to as an information presentation apparatus.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the service association relation data of each server node is obtained, and the service association relation data represent the calling relation and the corresponding identification between the service nodes; the server architecture comprises at least one service node; and determining at least one service link corresponding to at least one identifier in the service architecture according to the service association relation data, wherein the at least one service link is marked by different marking information, so that each service link in the service architecture which is complicated is displayed. A certain calling relation exists between services, the services and the calling relation on one calling chain are marked by the same marking means, the whole complex service architecture is clearly divided into a structure consisting of a plurality of calling chains, the diversity of service link display is realized, if a certain service on the same chain has a problem, an engineer must preferentially check whether other services on the service chain where the service with the problem is located have the problem when the problem is located, and the speed of the problem is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 shows a flow diagram of an information presentation method according to an embodiment of the present disclosure;
FIG. 2 shows a flow chart of step S102 of the information presentation method according to the embodiment shown in FIG. 1;
FIG. 3 shows a flow chart of step S202 of the information presentation method according to the embodiment shown in FIG. 2;
FIG. 4 illustrates an exemplary first presentation diagram;
FIG. 5 illustrates an exemplary presentation diagram two;
FIG. 6 shows a block diagram of an information presentation device according to an embodiment of the present disclosure;
FIG. 7 is a block diagram illustrating the structure of the determination module 602 of the information presentation apparatus according to the embodiment shown in FIG. 6;
FIG. 8 is a block diagram illustrating the structure of a determining sub-module 702 of the information presentation apparatus according to the embodiment shown in FIG. 7;
FIG. 9 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 10 is a schematic block diagram of a computer system suitable for implementing an information presentation method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
The technical scheme provided by the embodiment of the disclosure obtains service association relation data of each server node, wherein the service association relation data represents a calling relation and a corresponding identifier between the service nodes; the server architecture comprises at least one service node; and determining at least one service link corresponding to at least one identifier in the service architecture according to the service association relation data, wherein the at least one service link is marked by different marking information, so that each service link in the service architecture which is complicated is displayed. A certain calling relation exists between services, the services and the calling relation on one calling chain are marked by the same marking means, the whole complex service architecture is clearly divided into a structure consisting of a plurality of calling chains, the diversity of service link display is realized, if a certain service on the same chain has a problem, an engineer must preferentially check whether other services on the service chain where the service with the problem is located have the problem when the problem is located, and the speed of the problem is greatly improved.
Fig. 1 shows a flowchart of an information presentation method according to an embodiment of the present disclosure. As shown in fig. 1, the information presentation method includes the following steps S101 to S103:
in step S101, service association relationship data is obtained, where the service association relationship data includes a call relationship between service nodes and a corresponding identifier; the server architecture comprises at least one service node;
in step S102, determining at least one service invocation link corresponding to at least one identifier according to the service association relationship data; wherein at least one service invocation link is marked by different marking information;
in step S103, at least one service invocation link is displayed.
In this embodiment, an information display method is provided, where when a service invocation link positioning function is started, service association relation data related to at least one service node in a service architecture is obtained for each server node in the at least one service node, an identifier corresponding to the at least one service invocation relation is obtained based on the service association relation data, then a service invocation link is marked according to the at least one identifier, and an association structure of the at least one server node is drawn based on the service association relation data, so that the server node displayed in the service architecture can display associations before different service nodes, and each service invocation link in an intricate and complex service architecture is displayed. It should be noted that there is a certain calling relationship between services, and here, the services and calling relationships on one calling chain are marked by the same marking means, so that the whole complex service architecture is clearly divided into a structure composed of a plurality of calling chains, and diversity of service calling chain display is realized.
The service association relation data is service call link data associated when a service or service is completed in a service structure, or data information in a service call link in which a call relation exists, and may be composed of different fields.
The information display device analyzes the service association relation data, namely, data, namely identifiers, in a flow field in the service association relation data are taken, and then the calling relation between at least one server node corresponds to at least one identifier.
It should be noted that, in this embodiment, the information display apparatus may obtain the service association relationship data of each service node, so that at least one identifier corresponding to at least one service invocation relationship between the obtained service nodes may be analyzed.
In this embodiment, the service association data may be represented in a variety of ways, and this embodiment is not limited, for example, the service association data ID, that is, the identity information, or the text or number is used for representation, and specific contents of different expression ways of the service association data are unique and different from each other.
For example, in this disclosure, the server association relationship data may be composed of a plurality of fields of { source, destination, flow }, where source is a service node for invoking a service, destination is a service node for being invoked a service, flow is an identifier corresponding to a service node invocation relationship, and one service invocation relationship corresponds to one identifier.
The information display device can aggregate call relations with the same identification according to the service association relation data to determine a service call link formed by the associated service node corresponding to each identification, further obtain at least one service call link corresponding to at least one identification, and mark each service call link formed by the associated service nodes into different marking information, namely determine and display at least one service call link in the service framework, wherein each service call link is a link formed by the associated service nodes with the same marking, so that the information display device can find the service call link formed by the called or associated service nodes in the service framework.
In an optional implementation manner of this embodiment, as shown in fig. 2, the step S102 of determining at least one service invocation link corresponding to at least one identifier according to the service association relationship data includes steps S201 to S202:
in step S201, determining a mapping relationship between each identifier and a service node according to the service association relationship data;
in step S202, the relationship between each identifier and the call link is finally determined according to the call relationship and the mapping relationship between the service nodes, so as to obtain a service call link corresponding to each identifier, thereby obtaining a service call link corresponding to at least one identifier.
In this embodiment, the information display apparatus obtains at least one flag, that is, flow, corresponding to a call relationship between at least one service node, because flow fields of service association relationship data belonging to the same link are the same, for example: the flow analyzed by the association relationship on one service calling link is X, the flow analyzed by the other service calling link is XX, and the like, so that the information display device can match or map the service node with the identifier to obtain the mapping relationship between each identifier and the service node.
Illustratively, the service association relation data is represented by identity information, i.e. ID, for example, the ID of the service association relation data of at least one service node, i.e. the ID of the service node, may be 3, 9, 8, 10, 16 and 20, and the service association relation data is: {3, 16, 5}, {16, 9, 5}, {9, 20, 5}, {8, 10, 3}, determining the mapping relationship between the identifier and the service node as follows: 5:3,5: 16, 5:9, 5:30, 3:8, 3: 10; thus, according to the calling relationship, i.e. source- > destination: 3- >16, 16- >9, 9- >20, 8- >10 and the mapping: 5:3,5: 16, 5:9, 5:30, 3:8, 3:10, the calling link corresponding to each identifier is obtained, namely, 5: [3, 16, 9, 20] and 3: [8, 10].
Based on the information, the information display device starts to set at least one target mark information with different marks for at least one mark, specifically, at least one target mark information with different color marks for at least one mark, or different brightness marks, or different thickness line marks are set for at least one mark, so as to obtain at least one target mark information with different marks. The at least one target mark information has a mapping relation with the at least one association relation.
For example, 5 is set to green, and 3 is set to red, where green and red are the at least one target mark information.
Then, the information display device finds service association relation data corresponding to each target mark information from at least one mapping relation pair by adopting at least one piece of target mark information, and draws each service calling link in the service framework by adopting the corresponding target mark information based on the service association relation data, thereby obtaining at least one service calling link.
It can be understood that, by marking at least one identifier with different marks, the associated service nodes in the association relationship can be set by using the same mark, so that during drawing, the service call link composed of the service points with the same mark can be determined at a time through the same mark, automatic drawing and display of the service call link are realized, and the diversity of determining the display of the service call link is also provided.
In an optional implementation manner of this embodiment, as shown in fig. 3, the step S202, that is, the step of finally determining a relationship between each identifier and a call link according to a call relationship and a mapping relationship between service nodes, and obtaining a service call link corresponding to each identifier, so as to obtain at least one service call link corresponding to the identifier, includes steps S301 to S302:
in step S301, the service nodes having a call relationship are associated in an association manner by using the call relationship between the service nodes;
in step S302, at least one target mark information of a different mark is set for at least one mark;
in step S303, an association manner is marked by using at least one target mark information and a mapping relationship, so as to determine a service invocation link in the service architecture having the same mark information as each identifier, and further obtain at least one service invocation link corresponding to at least one identifier.
In this embodiment, the information display apparatus associates service nodes having a call relationship in an association manner based on the call relationship between service nodes in the service association relationship data, and sets at least one piece of target mark information of different marks for at least one mark, where the at least one mark corresponds to the at least one piece of target mark information one to one, then finds the target mark information corresponding to each mark in the mapping relationship from the at least one piece of target mark information, and obtains each service call link in the service architecture having the same mark information under the association manner mark in which the target mark associates each corresponding service node, thereby obtaining at least one service call link, that is, using the at least one piece of target mark information and the mapping relationship, and marking the association manner, thereby determining one service call link in the service architecture having the same mark information as each mark, and then at least one service call link corresponding to the at least one identifier is obtained.
The association manner may be a connection line, a connection point, a connection arrow, or other manners for representing connection of the associated service node, which is not limited in this embodiment.
After the information display device connects the service nodes with the association relationship, because the associated service nodes correspond to the same target mark information, each service call link in the service framework with the same mark information is obtained by adopting the corresponding target mark information to correspondingly draw the connecting line (namely, the association mode) of the associated service nodes, and then at least one service call link is obtained.
The target mark information may be in different forms such as color, highlight + color, and the like, and the embodiment of the disclosure is not limited. The information presentation device may set at least one target mark information of a different color mark to the at least one logo.
Illustratively, as shown in FIG. 4, links 1 and 2 are presented in a different manner of brightness display for service calls. As shown in fig. 5, the links 3, 4, 5 and 6 are displayed in different colors for service invocation, wherein the colors are represented by different letters a-D.
In this embodiment, if each service invocation link having an association relationship is determined in one service architecture, when a service has a problem or a fault, it is only necessary to know which service nodes are on which service invocation link and on which service is located through a connection line marked in at least one displayed service invocation link, and it is only necessary to perform troubleshooting on the service nodes, so that troubleshooting difficulty is saved, and efficiency of locating the fault is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 shows a block diagram of an information presentation apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 6, the information presentation apparatus includes:
an obtaining module 601, configured to obtain service association relation data, where the service association relation data includes a call relation between service nodes and a corresponding identifier; the server architecture comprises at least one service node;
a determining module 602, configured to determine, according to the service association relationship data, at least one service invocation link corresponding to at least one identifier; wherein the at least one service invocation link is marked by different marking information;
a presentation module 603 configured to display the at least one service invocation link.
In view of the foregoing drawbacks, in this embodiment, an information displaying apparatus is provided, where when a service invocation link positioning function is started, service association relation data related to at least one service node in a service architecture is obtained for each server node in the service node, an identifier corresponding to the at least one service invocation relation is obtained based on the service association relation data, then a service invocation link is marked according to the at least one identifier, and an association structure of the at least one server node is drawn based on the service association relation data, so that the server node displayed in the service architecture can display associations before different service nodes, and each service invocation link in an intricate service architecture is displayed. It should be noted that there is a certain calling relationship between services, and here, the services and calling relationships on one calling chain are marked by the same marking means, so that the whole complex service architecture is clearly divided into a structure composed of a plurality of calling chains, and diversity of service calling chain display is realized.
The service association relation data is service call link data associated when a service or service is completed in a service structure, or data information in a service call link in which a call relation exists, and may be composed of different fields.
The information display device analyzes the service association relation data, namely, data, namely identifiers, in a flow field in the service association relation data are taken, and then the calling relation between at least one server node corresponds to at least one identifier.
It should be noted that, in this embodiment, the information display apparatus may obtain the service association relationship data of each service node, so that at least one identifier corresponding to at least one service invocation relationship between the obtained service nodes may be analyzed.
In this embodiment, the service association data may be represented in a variety of ways, and this embodiment is not limited, for example, the service association data ID, that is, the identity information, or the text or number is used for representation, and specific contents of different expression ways of the service association data are unique and different from each other.
For example, in this disclosure, the server association relationship data may be composed of a plurality of fields of { source, destination, flow }, where source is a service node for invoking a service, destination is a service node for being invoked a service, flow is an identifier corresponding to a service node invocation relationship, and one service invocation relationship corresponds to one identifier.
The information display device can aggregate call relations with the same identification according to the service association relation data to determine a service call link formed by the associated service node corresponding to each identification, further obtain at least one service call link corresponding to at least one identification, and mark each service call link formed by the associated service nodes into different marking information, namely determine and display at least one service call link in the service framework, wherein each service call link is a link formed by the associated service nodes with the same marking, so that the information display device can find the service call link formed by the called or associated service nodes in the service framework.
In an optional implementation manner of this embodiment, as shown in fig. 7, the determining module 602 includes:
a mapping sub-module 701 configured to determine a mapping relationship between each identifier and a service node according to the service association relationship data;
the determining submodule 702 is configured to finally determine, according to the calling relationship between the service nodes and the mapping relationship, a relationship between each identifier and a calling link, to obtain a service calling link corresponding to each identifier, so as to obtain a service calling link corresponding to at least one identifier.
In this embodiment, the information display apparatus obtains at least one flag, that is, flow, corresponding to a call relationship between at least one service node, because flow fields of service association relationship data belonging to the same link are the same, for example: the flow analyzed by the association relationship on one service calling link is X, the flow analyzed by the other service calling link is XX, and the like, so that the information display device can match or map the service node with the identifier to obtain the mapping relationship between each identifier and the service node.
Illustratively, the service association relation data is represented by identity information, i.e. ID, for example, the ID of the service association relation data of at least one service node, i.e. the ID of the service node, may be 3, 9, 8, 10, 16 and 20, and the service association relation data is: {3, 16, 5}, {16, 9, 5}, {9, 20, 5}, {8, 10, 3}, determining the mapping relationship between the identifier and the service node as follows: 5:3,5: 16, 5:9, 5:30, 3:8, 3: 10; thus, according to the calling relationship, i.e. source- > destination: 3- >16, 16- >9, 9- >20, 8- >10 and the mapping: 5:3,5: 16, 5:9, 5:30, 3:8, 3:10, the calling link corresponding to each identifier is obtained, namely, 5: [3, 16, 9, 20] and 3: [8, 10].
Based on the information, the information display device starts to set at least one target mark information with different marks for at least one mark, specifically, at least one target mark information with different color marks for at least one mark, or different brightness marks, or different thickness line marks are set for at least one mark, so as to obtain at least one target mark information with different marks. The at least one target mark information has a mapping relation with the at least one association relation.
For example, 5 is set to green, and 3 is set to red, where green and red are the at least one target mark information.
Then, the information display device finds service association relation data corresponding to each target mark information from at least one mapping relation pair by adopting at least one piece of target mark information, and draws each service calling link in the service framework by adopting the corresponding target mark information based on the service association relation data, thereby obtaining at least one service calling link.
It can be understood that, by marking at least one identifier with different marks, the associated service nodes in the association relationship can be set by using the same mark, so that during drawing, the service call link composed of the service points with the same mark can be determined at a time through the same mark, automatic drawing and display of the service call link are realized, and the diversity of determining the display of the service call link is also provided.
In an optional implementation manner of this embodiment, as shown in fig. 8, the determining sub-module 702 includes:
the association submodule 801 is configured to associate the service nodes having the call relationship in an association manner by using the call relationship between the service nodes;
a marking sub-module 802 configured to set at least one target marking information of a different marking to the at least one of the identifications;
the obtaining sub-module 803 is configured to mark the association manner by using the at least one target mark information and the mapping relationship, so as to determine a service invocation link in the service architecture having the same mark information as each identifier, and further obtain the at least one service invocation link corresponding to the at least one identifier.
In this embodiment, the information display apparatus associates service nodes having a call relationship in an association manner based on the call relationship between service nodes in the service association relationship data, and sets at least one piece of target mark information of different marks for at least one mark, where the at least one mark corresponds to the at least one piece of target mark information one to one, then finds the target mark information corresponding to each mark in the mapping relationship from the at least one piece of target mark information, and obtains each service call link in the service architecture having the same mark information under the association manner mark in which the target mark associates each corresponding service node, thereby obtaining at least one service call link, that is, using the at least one piece of target mark information and the mapping relationship, and marking the association manner, thereby determining one service call link in the service architecture having the same mark information as each mark, and then at least one service call link corresponding to the at least one identifier is obtained.
The association manner may be a connection line, a connection point, a connection arrow, or other manners for representing connection of the associated service node, which is not limited in this embodiment.
After the information display device connects the service nodes with the association relationship, because the associated service nodes correspond to the same target mark information, each service call link in the service framework with the same mark information is obtained by adopting the corresponding target mark information to correspondingly draw the connecting line (namely, the association mode) of the associated service nodes, and then at least one service call link is obtained.
The target mark information may be in different forms such as color, highlight + color, and the like, and the embodiment of the disclosure is not limited. The marking sub-module 802 is further configured to set the at least one target marking information marked with a different color for the at least one of the identifications.
Illustratively, as shown in FIG. 4, links 1 and 2 are presented in a different manner of brightness display for service calls. As shown in fig. 5, the links 3, 4, 5 and 6 are displayed in different colors for service invocation, wherein the colors are represented by different letters a-D.
In this embodiment, if each service invocation link having an association relationship is determined in one service architecture, when a service has a problem or a fault, it is only necessary to know which service nodes are on which service invocation link and on which service is located through a connection line marked in at least one displayed service invocation link, and it is only necessary to perform troubleshooting on the service nodes, so that troubleshooting difficulty is saved, and efficiency of locating the fault is improved.
The present disclosure also discloses an electronic device, fig. 9 shows a block diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 9, the electronic device 1100 includes a memory 1101 and a processor 1102; wherein the content of the first and second substances,
the memory 1101 is used to store one or more computer instructions that are executed by the processor 1102 to implement any of the method steps described above.
FIG. 10 is a schematic diagram of a computer system suitable for implementing the information presentation method according to the embodiments of the present disclosure.
As shown in fig. 10, the computer system 1200 includes a Central Processing Unit (CPU)1201, which can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)1202 or a program loaded from a storage section 1208 into a Random Access Memory (RAM) 1203. In the RAM1203, various programs and data necessary for the operation of the system 1200 are also stored. The CPU1201, ROM1202, and RAM1203 are connected to each other by a bus 1204. An input/output (I/O) interface 1205 is also connected to bus 1204.
The following components are connected to the I/O interface 1205: an input section 1206 including a keyboard, a mouse, and the like; an output portion 1207 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 1208 including a hard disk and the like; and a communication section 1209 including a network interface card such as a LAN card, a modem, or the like. The communication section 1209 performs communication processing via a network such as the internet. A driver 1210 is also connected to the I/O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 1210 as necessary, so that a computer program read out therefrom is mounted into the storage section 1208 as necessary.
In particular, the above described methods may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the information presentation method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1209, and/or installed from the removable medium 1211.
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 flowcharts or block diagrams may represent a module, a program segment, or a 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 or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Claims (10)
1. An information display method, comprising:
acquiring service association relation data, wherein the service association relation data comprises calling relations among service nodes and corresponding identifications; the server architecture comprises at least one service node;
determining at least one service calling link corresponding to at least one identifier according to the service association relation data; wherein the at least one service invocation link is marked by different marking information;
and displaying the at least one service calling link.
2. The method according to claim 1, wherein said determining at least one service invocation link corresponding to at least one of said identifiers according to said service association relationship data comprises:
determining a mapping relation between each identifier and a service node according to the service association relation data;
and finally determining the relationship between each identifier and a calling link according to the calling relationship and the mapping relationship between the service nodes to obtain a service calling link corresponding to each identifier, thereby obtaining at least one service calling link corresponding to the identifier.
3. The method according to claim 2, wherein said finally determining a relationship between each identifier and a call link according to the call relationship between the service nodes and the mapping relationship to obtain a service call link corresponding to each identifier, thereby obtaining at least one service call link corresponding to the identifier, comprises:
adopting the calling relationship among the service nodes, and associating the service nodes with the calling relationship in an association mode;
setting at least one target mark information of different marks for the at least one mark;
and marking the association mode by adopting the at least one target mark information and the mapping relation, thereby determining a service calling link in the service architecture with the same mark information as each mark, and further obtaining the at least one service calling link corresponding to the at least one mark.
4. The method according to claim 3, wherein said setting at least one target mark information of different marks for said at least one said mark comprises:
and setting the at least one target mark information of different color marks for the at least one mark.
5. An information presentation device, comprising:
the service association relation data comprises calling relations among service nodes and corresponding identifications; the server architecture comprises at least one service node;
the determining module is configured to determine at least one service calling link corresponding to at least one identifier according to the service association relation data; wherein the at least one service invocation link is marked by different marking information;
a presentation module configured to display the at least one service invocation link.
6. The apparatus of claim 5, wherein the determining module comprises:
the mapping submodule is configured to determine a mapping relation between each identifier and a service node according to the service association relation data;
and the determining submodule is configured to finally determine the relationship between each identifier and the calling link according to the calling relationship and the mapping relationship between the service nodes, so as to obtain a service calling link corresponding to each identifier, and further obtain a service calling link corresponding to at least one identifier.
7. The apparatus of claim 6, wherein the determination submodule comprises:
the association submodule is configured to associate the service nodes with the calling relationship in an association mode by adopting the calling relationship among the service nodes;
a marking submodule configured to set at least one target marking information of a different mark to the at least one of the identifications;
the obtaining sub-module is configured to mark the association manner by using the at least one piece of target mark information and the mapping relationship, so as to determine a service invocation link in the service architecture having the same mark information as each identifier, and further obtain the at least one service invocation link corresponding to the at least one identifier.
8. The apparatus of claim 7,
the marking sub-module is further configured to set the at least one target marking information of a different color marking to the at least one identification.
9. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,
the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-4.
10. A computer-readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, carry out the method steps of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244133.2A CN111078342A (en) | 2019-12-06 | 2019-12-06 | Information display method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244133.2A CN111078342A (en) | 2019-12-06 | 2019-12-06 | Information display method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111078342A true CN111078342A (en) | 2020-04-28 |
Family
ID=70313307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911244133.2A Pending CN111078342A (en) | 2019-12-06 | 2019-12-06 | Information display method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078342A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229619A (en) * | 2016-03-23 | 2017-10-03 | 阿里巴巴集团控股有限公司 | Internet service link calls statistics, methods of exhibiting and the device of situation |
CN109873717A (en) * | 2019-01-18 | 2019-06-11 | 深圳壹账通智能科技有限公司 | Monitoring method, device, computer equipment and storage medium |
CN110113200A (en) * | 2019-04-29 | 2019-08-09 | 平安科技(深圳)有限公司 | The correlating method of chain-circuit system and log system, device and storage medium |
CN110245035A (en) * | 2019-05-20 | 2019-09-17 | 平安普惠企业管理有限公司 | A kind of link trace method and device |
CN110417915A (en) * | 2019-08-22 | 2019-11-05 | 北京大米科技有限公司 | A kind of PUSH message transmission method, device, storage medium and electronic equipment |
CN110442641A (en) * | 2019-08-06 | 2019-11-12 | 中国工商银行股份有限公司 | A kind of link topology figure methods of exhibiting, device, storage medium and equipment |
CN110457154A (en) * | 2019-07-25 | 2019-11-15 | Oppo广东移动通信有限公司 | Exception service processing method and processing device, storage medium, communication terminal |
-
2019
- 2019-12-06 CN CN201911244133.2A patent/CN111078342A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229619A (en) * | 2016-03-23 | 2017-10-03 | 阿里巴巴集团控股有限公司 | Internet service link calls statistics, methods of exhibiting and the device of situation |
CN109873717A (en) * | 2019-01-18 | 2019-06-11 | 深圳壹账通智能科技有限公司 | Monitoring method, device, computer equipment and storage medium |
CN110113200A (en) * | 2019-04-29 | 2019-08-09 | 平安科技(深圳)有限公司 | The correlating method of chain-circuit system and log system, device and storage medium |
CN110245035A (en) * | 2019-05-20 | 2019-09-17 | 平安普惠企业管理有限公司 | A kind of link trace method and device |
CN110457154A (en) * | 2019-07-25 | 2019-11-15 | Oppo广东移动通信有限公司 | Exception service processing method and processing device, storage medium, communication terminal |
CN110442641A (en) * | 2019-08-06 | 2019-11-12 | 中国工商银行股份有限公司 | A kind of link topology figure methods of exhibiting, device, storage medium and equipment |
CN110417915A (en) * | 2019-08-22 | 2019-11-05 | 北京大米科技有限公司 | A kind of PUSH message transmission method, device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109359194B (en) | Method and apparatus for predicting information categories | |
CN107818023B (en) | Thread-based message processing method, intelligent device and storage medium | |
CN110659206A (en) | Simulation architecture establishing method, device, medium and electronic equipment based on microservice | |
CN111787171A (en) | Automatic outbound method, device, electronic equipment and computer readable storage medium | |
CN111651488B (en) | Method, device, medium and electronic equipment for processing database business | |
CN111078342A (en) | Information display method and device, electronic equipment and computer readable storage medium | |
CN116861040A (en) | Method, device, equipment and storage medium for generating blood-edge relation diagram among scripts | |
CN110266596B (en) | Message processing method, device, equipment and computer readable storage medium | |
CN111475905B (en) | Method and device for establishing road vehicle function safety development flow | |
CN113627526B (en) | Vehicle identification recognition method and device, electronic equipment and medium | |
CN113760301B (en) | Micro-service application deployment method, device, equipment and storage medium | |
CN113656050B (en) | Method and apparatus for generating version number | |
CN111106954B (en) | Map-based topological node display method and device | |
CN115442420A (en) | Block chain cross-chain service management method and device | |
CN112685282A (en) | Test method, test device, electronic equipment and computer readable storage medium | |
CN111273970A (en) | Calling method, device, system, medium and electronic equipment of intelligent contract | |
US11243761B2 (en) | Link management device, link management method, and computer readable medium | |
CN112988576B (en) | Method and device for determining development process of software project | |
CN108628593B (en) | Big data product platform establishing method and device, electronic equipment and storage medium | |
CN109145234B (en) | Method and device for calling service content | |
CN116862604A (en) | Data processing method, device, electronic equipment and storage medium | |
CN114168752A (en) | Visualization method, visualization apparatus, electronic device, visualization medium, and computer program product | |
CN117951542A (en) | Method and device for processing signboard data, electronic equipment and storage medium | |
CN117349352A (en) | Display method, device, equipment and storage medium | |
CN116643787A (en) | Distribution method, device, equipment and storage medium for distributed application |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200428 |