Information display method and device, electronic equipment and computer readable storage medium

文档序号:1904226 发布日期:2021-11-30 浏览:22次 中文

阅读说明:本技术 信息展示方法、装置、电子设备及计算机可读存储介质 (Information display method and device, electronic equipment and computer readable storage medium ) 是由 陈茂锦 于 2021-08-26 设计创作,主要内容包括:本申请实施例公开了一种信息展示方法、装置、电子设备及计算机可读存储介质,包括:获取项目的项目信息,项目信息包括至少一个资产信息;确定待采集的资产信息所对应的资产信息类型;根据资产信息类型,确定采集资产信息所对应的采集方式,并根据采集方式对资产信息进行采集;接收用户输入的资产信息查询条件,根据查询条件对采集后相应的资产信息进行拓扑展示;根据项目中资产信息类型的不同,分别采用不同的采集方式对相应的资产信息进行采集,提高了资产信息采集的准确性和全面性,方便后续根据用户的查询条件进行资产信息的全面展示,其中,资产信息以拓扑图的形式进行展示,方便用户获取到各个资产信息之间的关联关系。(The embodiment of the application discloses an information display method, an information display device, electronic equipment and a computer readable storage medium, wherein the information display method comprises the following steps: acquiring project information of a project, wherein the project information comprises at least one asset information; determining the asset information type corresponding to the asset information to be acquired; determining an acquisition mode corresponding to the acquired asset information according to the asset information type, and acquiring the asset information according to the acquisition mode; receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition; according to the different asset information types in the project, the corresponding asset information is acquired by adopting different acquisition modes respectively, so that the accuracy and comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of the user, wherein the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.)

1. An information display method, comprising:

acquiring project information of a project, wherein the project information comprises at least one asset information;

determining the asset information type corresponding to the asset information to be acquired;

according to the asset information type, determining an acquisition mode corresponding to the acquisition of the asset information, and acquiring the asset information according to the acquisition mode;

and receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition.

2. The method according to claim 1, wherein the determining, according to the asset information type, an acquisition manner corresponding to acquisition of the asset information comprises:

acquiring a mapping relation set, wherein the mapping relation set comprises mapping relations of preset asset information types and preset acquisition modes;

and determining an acquisition mode corresponding to the acquisition of the asset information according to the mapping relation set and the asset information type.

3. The method of claim 1, wherein the asset information type comprises application information, and wherein collecting the asset information according to the collection mode comprises:

acquiring a gateway log generated after a user access request of the project is started;

determining at least one access request initiated by a user from the gateway log;

and respectively determining the application information of the terminal initiating each access request.

4. The method of claim 1, wherein the asset information type comprises configuration information, and wherein collecting the asset information according to the collection mode comprises:

initiating a configuration information acquisition request and receiving feedback information responding to the acquisition request;

and extracting the configuration information of the project from the feedback information.

5. The method of claim 1, wherein the asset information type comprises member information, and wherein collecting the asset information according to the collection mode comprises:

initiating a spatial data acquisition request to obtain spatial data of a process management and collaboration tool;

and extracting member information of the project from the spatial data.

6. The method of claim 1, wherein the asset information type comprises service information, and wherein collecting the asset information according to the collection mode comprises:

acquiring service tag information contained in the project;

and determining the service information contained in the item according to the service tag information.

7. The method according to claim 1, wherein the asset information is associated with service information, and the topologically displaying the collected corresponding asset information according to the query condition includes:

identifying the query condition, and determining target asset information corresponding to the query condition;

determining service information corresponding to the query condition according to the target asset information;

and displaying the asset information associated with the service information on a display interface.

8. An information presentation device, comprising:

the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring project information of a project, and the project information comprises at least one asset information;

the determining module is used for determining the asset information type corresponding to the asset information to be acquired;

the acquisition module is used for determining an acquisition mode corresponding to the asset information according to the asset information type and acquiring the asset information according to the acquisition mode;

and the display module is used for receiving asset information query conditions input by a user and carrying out topology display on the collected corresponding asset information according to the query conditions.

9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the information presentation method according to any one of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the steps of the information presentation method according to any one of claims 1 to 7.

Technical Field

The embodiment of the application relates to the technical field of computers, in particular to an information display method and device, electronic equipment and a computer readable storage medium.

Background

With the rapid development of computer technology, the variety of software projects is increasing, and the software projects are powerful and widely used, so that management of the software projects becomes especially important, wherein the management of the software projects includes management of assets in the projects, and the assets of the projects mainly include software source codes, services, service deployment machines, domain names, application programming interfaces (API interfaces), components, applications, application deployment areas, device models, and the like.

At present, the assets of the project are mainly recorded in a manual recording mode, but with the continuous richness of project functions and the increase of data volume, the recording of the assets of the project becomes more difficult and is inconvenient for users to obtain.

Disclosure of Invention

The embodiment of the application provides an information display method, an information display device, electronic equipment and a computer readable storage medium, which can enable asset data to be acquired and displayed accurately and comprehensively and facilitate the user to check.

The embodiment of the application provides an information display method, which comprises the following steps:

acquiring project information of a project, wherein the project information comprises at least one asset information;

determining the asset information type corresponding to the asset information to be acquired;

determining an acquisition mode corresponding to the acquired asset information according to the asset information type, and acquiring the asset information according to the acquisition mode;

and receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition.

Correspondingly, the embodiment of the present application further provides an information display device, including:

the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring project information of a project, and the project information comprises at least one asset information;

the determining module is used for determining the asset information type corresponding to the asset information to be acquired;

the acquisition module is used for determining an acquisition mode corresponding to the asset information according to the asset information type and acquiring the asset information according to the acquisition mode;

and the display module is used for receiving asset information query conditions input by a user and carrying out topology display on the collected corresponding asset information according to the query conditions.

Optionally, in some embodiments of the present invention, the acquisition module includes:

the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring a mapping relation set, and the mapping relation set comprises a mapping relation of a preset asset information type and a preset acquisition mode;

and the first determining unit is used for determining the acquisition mode corresponding to the acquired asset information according to the mapping relation set and the asset information type.

Optionally, in some embodiments of the present invention, the asset information type includes application information, and the acquisition module includes:

the second acquisition unit is used for acquiring a gateway log generated after the user access request is started;

a second determining unit, configured to determine, from the gateway log, at least one access request initiated by the user;

and a third determining unit, configured to determine application information of the terminal that initiates each access request respectively.

Optionally, in some embodiments of the present invention, the asset information type includes configuration information, and the acquisition module includes:

a receiving unit, configured to initiate a configuration information acquisition request and receive feedback information in response to the acquisition request;

and the first extraction unit is used for extracting the configuration information of the item from the feedback information.

Optionally, in some embodiments of the present invention, the asset information type includes member information, and the collection module includes:

the request unit is used for initiating a spatial data acquisition request to obtain spatial data of the process management and collaboration tool;

and the second extraction unit is used for extracting the member information of the item from the spatial data.

Optionally, in some embodiments of the present invention, the asset information type includes service information, and the acquisition module includes:

a third obtaining unit, configured to obtain service tag information included in the item;

and the fourth determining unit is used for determining the service information contained in the item according to the service label information.

Optionally, in some embodiments of the present invention, the asset information is associated with service information, and the presentation module includes:

the identification unit is used for identifying the query condition and determining target asset information corresponding to the query condition;

a fifth determining unit, configured to determine, according to the target asset information, service information corresponding to the query condition;

and the display unit is used for displaying the asset information associated with the service information on the display interface.

According to the embodiment of the application, the corresponding asset information is acquired by adopting different acquisition modes respectively according to different asset information types in projects, so that the accuracy and the comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of a user, wherein the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.

Drawings

In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 scene schematic diagram of an information presentation method provided in an embodiment of the present application;

fig. 2 is a schematic flowchart of an information displaying method provided in an embodiment of the present application;

FIG. 3 is a schematic view illustrating a flow of asset information collection in an information presentation method according to an embodiment of the present application;

FIG. 4 is a schematic flowchart of asset information query in the information presentation method according to the embodiment of the present application;

fig. 5 is a schematic diagram illustrating an execution flow of an operation and maintenance tool chain in the information display method according to the embodiment of the present application;

FIG. 6 is a schematic interface diagram of asset information presentation in the information presentation method provided by the embodiment of the present application;

FIG. 7 is a schematic structural diagram of an information display device according to an embodiment of the present disclosure;

fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.

The embodiment of the application provides an information display method and device, electronic equipment and a storage medium. Specifically, the embodiment of the present application provides an information display apparatus suitable for an electronic device, where the electronic device may be a terminal or a server. Among them, the terminal may be a Computer, a notebook, a desktop, or a Personal Computer (PC), etc. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server 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, middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the server may be directly or indirectly connected through wired or wireless communication.

For example, please refer to fig. 1, in the embodiment of the present application, a terminal and a server jointly execute an information display method as an example, wherein other devices may be added on the basis of the terminal and the server to assist in completing the information display method, and the types of the other devices are not limited herein; the terminal and the server are connected through a network, for example, a wired or wireless network connection, and the specific implementation process is as follows:

the method comprises the steps that a terminal device A starts a project asset information acquisition instruction, then asset information of a project at a local terminal (such as the terminal device A) and service information (one of the asset information) of the project deployed at a server B are acquired, after acquisition, asset information query conditions input by a user are received, asset information query results corresponding to the query conditions are displayed on a display interface of the terminal device A, and the user can conveniently check the asset information corresponding to the project.

According to the embodiment of the application, corresponding asset data are acquired in different acquisition modes according to different types of asset information, and comprehensiveness and accuracy of acquiring the asset data are improved.

In the embodiment of the present application, the source code of the project may be deployed locally (for example, on the terminal device a), or downloaded from a server (for example, the server B).

In the embodiment of the application, the mobile terminal application information for calling the service information is also used as the asset information of the project, and the corresponding acquisition mode is used for acquiring the asset information, so that the comprehensiveness of project asset information acquisition is improved, and the user can conveniently check the information.

In the embodiment of the application, by displaying the topology of the asset information, a user can conveniently and quickly obtain the association relationship among the asset information, when data change occurs to a certain asset information, the user can conveniently and quickly find other associated asset information in time, for example, when an interface protocol changes, other interfaces, domain names or application associated with the interface protocol need to be known, and other asset information needing to be matched with the interface protocol for rectification is conveniently judged.

However, this method is only suitable for micro projects, and if the asset information of a project is rich, it is inconvenient to register, and when a certain asset information changes, it is inconvenient to acquire the associated other asset information, that is, it is difficult to acquire the affected other asset information to be rectified. Therefore, the embodiment of the application is mainly designed aiming at the problems that the asset information is difficult to accurately and comprehensively obtain and the incidence relation between the asset information is difficult to determine.

According to the embodiment of the application, the corresponding asset information is acquired by adopting different acquisition modes respectively according to different asset information types in projects, so that the accuracy and the comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of a user, wherein the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.

The embodiment of the application provides an information display method, which specifically comprises the following steps:

acquiring project information of a project, wherein the project information comprises at least one asset information;

the project comprises a software project, along with the increase of functions of the software project, the content is rich, the types and the quantity of asset information in the project are more and more, the requirement of a user for accurately and quickly acquiring the project asset information cannot be met through traditional manual registration, and the method for accurately and comprehensively acquiring the project asset information is provided, so that the acquisition and display of the project asset information are facilitated.

Determining the asset information type corresponding to the asset information to be acquired;

although the projects are continuously increased, the types of the asset information are limited and can be classified and counted, and the acquisition modes of the asset information of the same type are relatively close, so that a basis can be provided for subsequently determining the acquisition mode of the asset information according to the types of the asset information.

According to the asset information type, determining an acquisition mode corresponding to the acquisition of the asset information, and acquiring the asset information according to the acquisition mode;

the corresponding asset information is acquired by adopting a corresponding acquisition mode aiming at each asset information type, so that the efficiency, the accuracy and the comprehensiveness of the asset information acquisition are improved.

And receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition.

After the asset information is collected, an asset information query interface is constructed, and after a user inputs query conditions, asset information matched with the query conditions can be displayed, so that the user can conveniently query the asset information; the asset information is displayed in a topological graph form, so that a user can conveniently and accurately acquire the incidence relation among the asset information, and the target asset information to be rectified and improved can be conveniently determined.

According to the embodiment of the application, the corresponding asset information is acquired by adopting different acquisition modes respectively according to different asset information types in projects, so that the accuracy and the comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of a user, wherein the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.

The following are detailed below. It should be noted that the description sequence of the following embodiments is not intended to limit the priority sequence of the embodiments.

Referring to fig. 2, fig. 2 is a schematic flow chart illustrating an information displaying method according to an embodiment of the present disclosure. The specific flow of the information display method can be as follows:

101. project information of a project is obtained, and the project information comprises at least one asset information.

In the embodiment of the present application, the items include software items, which are collections of information such as services, architectures, deployment environments, and the like.

The asset information includes tangible assets and intangible assets (soft assets), and thus, for a software project, the asset information includes software source codes, services, service deployment machines, domain names, Application Programming Interfaces (APIs), components, applications, Application deployment areas, device models (devices where the project is deployed or mobile terminal devices on which the applications are mounted), and the like. In the embodiment of the present application, the project source code is acquired through a distributed version control (GIT) command.

The asset information represents the content and the function range of the project, so that the acquisition and the acquisition of the asset information have important significance on the maintenance of the software project.

102. And determining the asset information type corresponding to the asset information to be acquired.

Although the asset information of the project is rich, the types of the asset information are limited and can be classified, wherein the same type of asset information is often collected in a close manner, so that the type of the asset information to be collected is determined, which is helpful for acquiring the asset information, wherein in the embodiment of the application, the types of the asset information include application information, configuration information, member information, service information and the like.

103. And determining an acquisition mode corresponding to the acquired asset information according to the asset information type, and acquiring the asset information according to the acquisition mode.

The different types of asset information have different functions, deployment environments or nodes in the project, and the same type of asset information has the functions, deployment environments or nodes in the project closer to the nodes, so that different acquisition modes can be correspondingly set according to the types of the asset information to acquire the corresponding asset information, so as to improve the efficiency of acquiring the asset information, wherein the types of the asset information are divided, and the comprehensiveness and accuracy of acquiring the asset information can also be improved.

The method and the system facilitate the acquisition and the checking of the asset information by the user through the acquisition of the asset information of each project.

Optionally, in some embodiments, the step "determining the acquisition mode corresponding to the acquired asset information according to the asset information type" includes:

acquiring a mapping relation set, wherein the mapping relation set comprises mapping relations of preset asset information types and preset acquisition modes;

and determining the acquisition mode corresponding to the acquired asset information according to the mapping relation set and the asset information type.

The mapping relationship set may be preset according to past acquisition experience, for example, according to comparison between accuracy and effectiveness of historical time on each acquisition method of the same type of asset information, an optimal acquisition method corresponding to the type of asset information is selected, and a mapping relationship between the type of asset information and the optimal acquisition method is established.

The determination of the mapping relation set can help to quickly select the acquisition method suitable for each type of asset information, and facilitates the acquisition of the asset information in the project.

Wherein, when the type of the asset information is application information, the corresponding application information may be acquired from a gateway log generated after the project is started, that is, optionally, in some embodiments, if the type of the asset information includes application information, the step "acquiring the asset information according to an acquisition mode" includes:

acquiring a gateway log generated after a user access request of an item is started;

determining at least one access request initiated by a user from a gateway log;

and respectively determining the application information of the terminal initiating each access request.

In the embodiment of the application, the application information is a bridge that the terminal can be mounted in the service of the project, that is, the terminal is mounted on the service of the project through the application information, so that the user can access the service information of the project through the application on the terminal.

Referring to fig. 3, fig. 3 is a schematic view of a process of asset information collection according to an embodiment of the present application, where after an application of a terminal is mounted on a service of a project, a specific process of generating a gateway log is as follows:

111. a user accesses a service through a terminal application;

112. the service generates a gateway log in response to the user's request and after gateway authentication and routing.

In the access process, the access request includes the application information of the terminal initiating the access request, so that the application information of the terminal accessing the service can be acquired in the gateway log.

In the embodiment of the present application, since the asset information is mounted on the service, and a plurality of different items may be registered on the same gateway, the asset information needs to be classified according to the service information of the items, so as to obtain the asset information (e.g., application information in the gateway) of the current item. Wherein the classifying of the application information of the project comprises:

121. and performing distributed and aggregated statistics on each application information in the gateway log by taking the service information as an identifier to obtain the node log of each gateway node. And determining the application information belonging to the current project according to the project corresponding to the service information.

In this embodiment, the application information includes an application number (id), an interface Locator (URL) for requesting access to the service information by the application, a network Protocol address (IP) of the terminal mounted in the application, and device model information of the terminal mounted in the application.

The access request of the user is extracted from the gateway log, and the application information is acquired according to the access request, so that the efficiency and the accuracy of acquiring the application information can be improved.

As different items need to be adjusted and routed through the gateway, the gateway log includes log information of different items, and therefore, an item corresponding to each asset information (i.e., application information included in the gateway) in the gateway log needs to be determined, referring to fig. 3, in this embodiment of the present application, an item to which the application information belongs may be determined according to an interface locator in the access request, which specifically includes:

122. performing regular matching on a character string corresponding to an interface Locator (URL) to acquire a first path address (path);

the first path address is a project name by default, so that the project name corresponding to each access request can be determined according to the interface locator in each access request.

In the embodiment of the present application, the area where the device is located may be determined by using a network Protocol address (IP) of the terminal device in the application information, and whether the device needs to adjust the deployed service may be determined according to the area where the device is located, where the network Protocol address is converted by a network Protocol address library, so as to obtain the geographic location information corresponding to the device.

Wherein, when the asset information is configuration information of a project, the configuration information of the project may be acquired according to sending of the acquisition instruction and receiving of the feedback information, that is, optionally, in some embodiments, the asset information type includes configuration information, and the step "acquiring the asset information according to an acquisition mode" includes:

initiating a configuration information acquisition request and receiving feedback information responding to the acquisition request;

configuration information for the item is extracted from the feedback information.

In the embodiment of the present application, the configuration information of the project includes configuration file information in a source code of the project, related deployment information, or source code component (assembly) information, so that, for the configuration information of the project, the rate of acquiring the configuration information of the project can be increased by sending an acquisition command and receiving feedback information, where if the feedback information returned according to the acquisition command is generally character information, corresponding characters can be extracted from the character information to acquire the configuration information of the project.

For example, referring to fig. 3, when the configuration information includes the virtual host information, the specific manner of acquiring the virtual host information includes:

131. initiating a virtual host information acquisition request (such as an HTTP request) to a host provider, and receiving feedback information (for example, a numbered musical notation character string of the virtual host information, such as a JSON character string) returned by the host provider;

132. and analyzing the feedback information, and extracting virtual host information from the feedback information, wherein the virtual host information comprises Protocol address information (IP, Internet Protocol) of the virtual host and the like.

For example, referring to fig. 3, when the configuration information includes component information, the specific obtaining manner of the component information includes:

141. executing a component information dependency tree obtaining command (such as a Maven dependency) to obtain a dependency tree representing the dependency relationship among the components in the project;

142. and analyzing the dependency tree to obtain the component information of each component in the project.

When a background service (such as a java service) is compiled and packaged, besides a compiled code, an open-source data package (such as a jar package and other dependent packages) of a third party is used, all data packages are mutually transmitted and mutually dependent to form a dependent tree, wherein an item management tool (such as a Maven) is used for managing the jar package, the dependence of the jar package has transmissibility, for example, the service is provided with a dependence jar package A which depends on a jar package B, the packaging can download the jar package A and the jar package B into a dependence library of the service together, and the jar package A and the jar package B form a dependence tree with dependence relationship.

The components comprise component names and component version numbers, namely the components with the same component names are provided with a plurality of component version numbers, wherein the component version numbers are used for distinguishing the specifically dependent components to form the difference between the components with the same names, so that other dependent components can be conveniently and accurately determined.

When a certain component has a bug, the component information to be modified can be quickly determined through the acquisition of the component information and the dependency tree among the components, so that the labor input in the component confirmation process is reduced, and the repeated work is reduced.

Referring to fig. 3, when the type of the asset information includes member information, the member information of the item may be acquired from the member information management tool, that is, optionally, in some embodiments, if the type of the asset information includes member information, the step "acquiring the asset information according to the acquisition mode" includes:

151. initiating a spatial data acquisition request to obtain spatial data of a process management and collaboration tool (in the embodiment of the present application, a data format of the spatial data includes a numbered musical notation character string, such as a JSON character string);

152. the member information of the item is extracted from the spatial data.

The process management and cooperation tool comprises a project and transaction tracking tool (JIRA), and is widely applied to the working fields of defect tracking, customer service, mobile phone demand, process approval, task tracking, project tracking, agile management and the like. In the embodiment of the application, a plurality of roles are needed for cooperation in one project development, so that a common space can be established by using the process management and cooperation tool, and the responsible persons of all the roles in the space are designated, so that the corresponding responsible persons can be automatically found when the process is started and circulated.

Therefore, in the embodiment of the present application, when the asset information of the project includes member information, the member information of the project may be acquired from the spatial data of the process management and collaboration tool.

Wherein, when the asset information type includes the service information, the service information may be determined according to the tag of the service information, that is, optionally, in some embodiments, if the asset information type includes the service information, the step "collect the asset information according to a collection manner" includes:

acquiring service tag information contained in the project;

and determining the service information contained in the item according to the service tag information.

In the operation and maintenance process of the item, the service information is labeled, so that the service information and the type of the service can be determined according to the label, for example, when the operation and maintenance standardizes the machine, the machine is labeled to determine the software required to be installed by the machine, the accessed service and the like, and therefore, the service information contained in the item can be extracted from the service label information.

In the embodiment of the present application, since the asset information is mounted in the service of the project, the asset information may be classified according to different mounted services to determine the service information associated with the asset information, for example, in a gateway log, distributed and aggregated statistics may be performed on the gateway node log to obtain the service information associated with each asset information.

In the embodiment of the application, each type of asset information can be stored in a corresponding database, an association relationship can be established among the databases according to service information, in the storage process, when a resource object related to the asset information exists, the asset information can be updated to the corresponding resource object in the data, and when the resource object related to the asset information does not exist, the asset information can be directly added to the database.

104. And receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition.

The user can inquire the asset information according to a fuzzy searching mode or an accurate searching mode, the user can conveniently acquire the asset information of the project by displaying the asset information, the asset information is displayed in a topological graph mode, the user can conveniently acquire the association relation among the asset information, other associated asset information can be conveniently and accurately acquired in time according to the changed asset information, and other associated asset information can be conveniently and timely rectified and improved.

Referring to fig. 4, fig. 4 is a schematic view of a process of displaying asset information according to an embodiment of the present application, in the embodiment of the present application, since asset information is mounted on a service of a project, different types of asset information may be mounted on the same service, and a change of any type of asset information in the same service may affect other types of asset information, so that asset information included in the same service may be comprehensively displayed according to a display latitude of the service, that is, optionally, in some embodiments, a step "topologically display corresponding acquired asset information according to a query condition" includes:

201. identifying the query conditions, and determining target asset information corresponding to the query conditions;

201. determining service information corresponding to the query condition according to the target asset information;

201. and displaying the asset information associated with the service information on a display interface.

The service information is associated with a plurality of types of asset information, and the user query condition may only include a certain type of asset information, but in order to facilitate the user to know the association relationship among the asset information, in the embodiment of the present application, the service information corresponding to the query condition is determined according to the query condition, and then the asset information associated with the service information is comprehensively displayed, so that the user can conveniently acquire the association relationship among the asset information.

Referring to fig. 5, fig. 5 is an interface schematic diagram of asset information display, where asset information is displayed with service information as a topological latitude, which is convenient for a user to obtain asset information related to the service information and obtain an association relationship between asset information, and meanwhile, when any asset information changes, the user can accurately obtain target asset information to be rectified (i.e., other associated asset information) by using the topological display of the asset information. In addition, in order to facilitate understanding of the present solution, fig. 5 shows a case where the same service information is associated with two different mobile terminal devices (for example, devices with device names 1XX and 2XX are both mounted in the service a of the project).

Referring to fig. 6, in the embodiment of the present application, project asset information may be obtained for an operation and maintenance tool chain, where an execution flow of the operation and maintenance tool chain is as follows:

211. submitting project codes and triggering an operation and maintenance (revops) execution process;

212. acquiring a project source code in an operation and maintenance process, and compiling the project source code to obtain a compiled project mirror image (such as a byte code file/. Class file);

213. pulling the project mirror image and starting corresponding service;

214. after service initiation, the service name, service address (IP), and port are registered in the gateway.

When the terminal calls the service of the project, the terminal matches the corresponding service name, and then selects one service and one port for routing through a load balancing algorithm according to the machine (server) address (such as a virtual host address) and the port of service deployment, so that the request of the user is routed to the real server.

In this embodiment of the present application, based on the operation and maintenance tool chain (operation and maintenance process), the component information process flow includes:

215. in the project compiling process, a dependent component obtaining command (such as Maven dependencies) is executed at the same time, a dependent tree representing the dependency relationship among the components is obtained, and then information of each component is obtained by analyzing the dependent tree.

In this embodiment of the application, based on the operation and maintenance tool chain (operation and maintenance process), the application information obtaining process includes:

216. and acquiring application information applied to the terminal equipment for calling the service in the project from the gateway.

In summary, the embodiment of the application realizes the acquisition of the project asset information based on the operation and maintenance tool chain, the cooperation gateway interface and the operation and maintenance platform.

According to the embodiment of the application, the corresponding asset information is acquired by adopting different acquisition modes respectively according to different asset information types in projects, so that the accuracy and the comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of a user, wherein the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.

In order to better implement the information display method, the application also provides an information display device based on the information display method. The meanings of the nouns are the same as those in the information display method, and specific implementation details can refer to the description in the method embodiment.

Referring to fig. 7, fig. 7 is a schematic structural diagram of an information display apparatus provided in the present application, where the information display apparatus may include an obtaining module 301, a determining module 302, an acquiring module 303, and a displaying module 304, which may specifically be as follows:

the obtaining module 301 is configured to obtain project information of a project, where the project information includes at least one asset information.

The determining module 302 is configured to determine an asset information type corresponding to asset information to be acquired.

And the acquisition module 303 is configured to determine an acquisition mode corresponding to the asset information according to the asset information type, and acquire the asset information according to the acquisition mode.

Optionally, in some embodiments of the present invention, the acquisition module 303 includes:

the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring a mapping relation set, and the mapping relation set comprises a mapping relation of a preset asset information type and a preset acquisition mode;

and the first determining unit is used for determining the acquisition mode corresponding to the acquired asset information according to the mapping relation set and the asset information type.

Optionally, in some embodiments of the present invention, the asset information type includes application information, and the collecting module 303 includes:

the second acquisition unit is used for acquiring a gateway log generated after the user access request is started;

a second determining unit, configured to determine, from the gateway log, at least one access request initiated by the user;

and a third determining unit, configured to determine application information of the terminal that initiates each access request respectively.

Optionally, in some embodiments of the present invention, the asset information type includes configuration information, and the collecting module 303 includes:

a receiving unit, configured to initiate a configuration information acquisition request and receive feedback information in response to the acquisition request;

and the first extraction unit is used for extracting the configuration information of the item from the feedback information.

Optionally, in some embodiments of the present invention, the asset information type includes member information, and the collecting module 303 includes:

the request unit is used for initiating a spatial data acquisition request to obtain spatial data of the process management and collaboration tool;

and the second extraction unit is used for extracting the member information of the item from the spatial data.

Optionally, in some embodiments of the present invention, the asset information type includes service information, and the collecting module 303 includes:

a third obtaining unit, configured to obtain service tag information included in the item;

and the fourth determining unit is used for determining the service information contained in the item according to the service label information.

And the display module 304 is configured to receive an asset information query condition input by a user, and perform topology display on the acquired corresponding asset information according to the query condition.

Optionally, in some embodiments of the present invention, the asset information is associated with service information, and the presentation module includes:

the identification unit is used for identifying the query condition and determining target asset information corresponding to the query condition;

a fifth determining unit, configured to determine, according to the target asset information, service information corresponding to the query condition;

and the display unit is used for displaying the asset information associated with the service information on the display interface.

In the embodiment of the application, an acquisition module 301 acquires a project of asset information to be acquired, a determination module 302 determines the type of the asset information contained in the project, an acquisition module 303 acquires the asset information in different acquisition modes according to different types of the asset information, and a display module 304 performs topology display on the asset information associated with the query conditions according to the query conditions of a user.

According to the method and the device, the corresponding asset information is acquired by adopting different acquisition modes respectively according to different asset information types in the project, so that the accuracy and the comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of the user, the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.

In addition, the present application also provides an electronic device, as shown in fig. 8, which shows a schematic structural diagram of the electronic device related to the present application, specifically:

the electronic device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:

the processor 401 is a control center of the electronic device, connects various parts of the whole electronic device by various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.

The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.

The electronic device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.

The electronic device may further include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:

acquiring project information of a project, wherein the project information comprises at least one asset information; determining the asset information type corresponding to the asset information to be acquired; determining an acquisition mode corresponding to the acquired asset information according to the asset information type, and acquiring the asset information according to the acquisition mode; and receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition.

The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.

According to the embodiment of the application, the corresponding asset information is acquired by adopting different acquisition modes respectively according to different asset information types in projects, so that the accuracy and the comprehensiveness of the asset information acquisition are improved, the asset information can be conveniently and subsequently displayed comprehensively according to the query conditions of a user, wherein the asset information is displayed in a topological graph mode, and the user can conveniently acquire the association relation among the asset information.

It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.

To this end, the present application provides a storage medium having stored therein a plurality of instructions that can be loaded by a processor to perform the steps of any of the information presentation methods provided herein. For example, the instructions may perform the steps of:

acquiring project information of a project, wherein the project information comprises at least one asset information; determining the asset information type corresponding to the asset information to be acquired; determining an acquisition mode corresponding to the acquired asset information according to the asset information type, and acquiring the asset information according to the acquisition mode; and receiving an asset information query condition input by a user, and carrying out topology display on the collected corresponding asset information according to the query condition.

The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.

Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.

Since the instructions stored in the storage medium can execute the steps in any information presentation provided by the present application, the beneficial effects that can be achieved by any information presentation method provided by the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.

The information display method, the information display device, the electronic device, and the storage medium provided by the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:硬件加速器配置信息的配置方法、装置及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!