CN109002334A - A kind of operation platform and its data processing method - Google Patents

A kind of operation platform and its data processing method Download PDF

Info

Publication number
CN109002334A
CN109002334A CN201710413033.2A CN201710413033A CN109002334A CN 109002334 A CN109002334 A CN 109002334A CN 201710413033 A CN201710413033 A CN 201710413033A CN 109002334 A CN109002334 A CN 109002334A
Authority
CN
China
Prior art keywords
data
interface
visualization component
operation platform
view
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.)
Granted
Application number
CN201710413033.2A
Other languages
Chinese (zh)
Other versions
CN109002334B (en
Inventor
肖卓
赵燕标
刘悦韡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710413033.2A priority Critical patent/CN109002334B/en
Publication of CN109002334A publication Critical patent/CN109002334A/en
Application granted granted Critical
Publication of CN109002334B publication Critical patent/CN109002334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A kind of operation platform and its data processing method, operation platform safeguards O&M environment, instruct creation first view according to input, add in the first view the first visualization component and will first visualization component and the first binding data interfaces, first data-interface is for from the first data source acquisition data for being registered to the operation platform;When the operation platform detects that the first view is opened, it calls first data-interface to obtain data and parses, first visualization component is generated according to the data that parsing obtains, and will be in the first view of first visualization component of generation displaying in the display interface.The application can add visualization component in the view by instructing with display data, do not need additionally to carry out UI design and front end exploitation, simplify design and development process.

Description

A kind of operation platform and its data processing method
Technical field
The present invention relates to O&M technologies, more particularly, to a kind of operation platform and its data processing method.
Background technique
O&M responsibility has run through the life cycle of product, needs to help O&M engineering by automation, intelligentized platform Teacher's speed fast with minimum cost and most completes user oriented service offering and service quality guarantee.Operation platform needs to tie up Dimension environment is shipped sth. under guard, generally all includes data monitoring, report is shown and the functions such as O&M operation.
There are many reporting systems and tool in Vehicles Collected from Market, the domestic Finereport for having sail soft and moisten dry report etc., External has the tools such as JFreeReport, Excel.In addition to report, there are also the such open source prisons of similar Grafana+influxDB Control system.These systems can access data source, with table or chart etc. after the data of user are filtered, analyze and are handled Mode shows user.
When operation platform in the related technology uses traditional report tool or monitoring system, usually all there is below ask Topic:
O&M operation pages need to be developed by way of customized user interface (UI:User Interface), this Product, front end exploitation is needed to be linked up during a together with the exploitation of rear end, demand analysis designs and develop the page, entirely Process time and period are all long.
The data that report is shown are inflexible;
Data source is single;
Data monitoring, report show and O&M operation cannot organically combine, operation maintenance personnel after orientation problem not O&M operation can be carried out immediately on showing interface.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of data processing methods of operation platform, comprising:
Operation platform safeguards O&M environment, instructs creation first view according to input, adds first in the first view Visualization component and by first visualization component and the first binding data interfaces, first data-interface is used for from registration The first data source to the operation platform obtains data;
When the operation platform detects that the first view is opened, calls first data-interface to obtain data and solve Analysis generates first visualization component according to the data that parsing obtains, and first visualization component of generation is shown In the first view in the display interface.
In view of this, the embodiment of the invention also provides a kind of operation platform, including O&M Environment Management module, data source Management module and data display module, the data display module include;
It is visual to add first for instructing creation first view according to input in the first view for view edit cell Change component;
Component edits unit is used for first visualization component and the first binding data interfaces, first data Interface is used to obtain data from the first data source for being registered to the operation platform;
Data display unit, for calling first data-interface to obtain when detecting that the first view is opened Data simultaneously parse, and generate first visualization component according to the data that parsing obtains, and described the first of generation is visualized Component is shown in the first view in the display interface.
In view of this, the embodiment of the invention also provides a kind of operation platform, including memory, processor and it is stored in institute The computer program that can be run on memory and on the processor is stated, the processor executes real when the computer program Existing following steps:
It safeguards O&M environment, creation first view is instructed according to input, adds the first visualization group in the first view Part and by first visualization component and the first binding data interfaces, first data-interface are used for from being registered to the fortune The first data source for tieing up platform obtains data;
When detecting that the first view is opened, calls first data-interface to obtain data and parse, according to parsing Obtained data generate first visualization component, and first visualization component of generation is shown in the display interface The first view in.
In view of this, being stored thereon with computer the embodiment of the invention also provides a kind of computer readable storage medium Program, the computer program perform the steps of when being executed by processor
It safeguards O&M environment, creation first view is instructed according to input, adds the first visualization group in the first view Part and by first visualization component and the first binding data interfaces, first data-interface are used for from being registered to the fortune The first data source for tieing up platform obtains data;
When detecting that the first view is opened, calls first data-interface to obtain data and parse, according to parsing Obtained data generate first visualization component, and first visualization component of generation is shown in the display interface The first view in.
Using the embodiment above, user can add visualization component with display data, no by instructing in the view It needs additionally to carry out UI design and front end exploitation, simplifies design and development process.
Detailed description of the invention
Fig. 1 is the schematic diagram of the illustrative navigation tree of the embodiment of the present invention one;
Fig. 2 is the schematic diagram of the illustrative display interface of the embodiment of the present invention one;
Fig. 3 is the flow chart of one operation platform data processing method of the embodiment of the present invention;
Fig. 4 is the module map of two operation platform of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Embodiment one
The present embodiment is related to a kind of data processing method of operation platform.
The operation platform of the present embodiment uses a set of general interface framework, and the interface framework is by O&M environment (context), view (view), visualization component (widget) and data source (datasource) composition.
O&M environment includes the node that multiple O&M entities are constituted, these nodes can be organized as a navigation tree, one In a example, as shown in Figure 1, it is project that the navigation tree, which includes type for root node, under the root node with cloud service (Cloud), (Project) two-level node, under the two-level node include type be cluster (Cluster) three-level node, this three It include node type under grade node is level Four node and node type that machine integrates (Machines) as services set (Services) level Four node is including node type under the level Four node that node type is machine collection (Machines) The Pyatyi node of machine (Machine), these node types are that the Pyatyi node of Machine can correspond to the production in cluster Server.Under the level Four node that node type is services set (Services) again step by step include node type be service (Service) Pyatyi node, node type are six grades of nodes of service role (Service Role) and node type is machine Seven grades of nodes of device (Machine).Service herein may include monitoring service and O&M service, and service role can be monitoring CPU usage, memory usage, disk occupancy, presence of production server etc., the effective work for counting production server Make time, access response time, and service dilatation, software upgrading etc..Machine under service role can be for making a living It produces cluster and the server of monitoring, O&M service is provided, the data that these servers generate can be used as the data source of operation platform. Multiple two-level nodes can be arranged in navigation tree from different dimensions, be also shown in Fig. 1 node type be region (Region) and The two-level node of (Services) is serviced, can according to need again under these two-level nodes and divide more downstream sites (figure Middle summary).Based on above-mentioned navigation tree, the O&M entity of a certain level can be navigated to, it can be corresponding with opened nodes by double-clicking Its leaf node can be unfolded if what is clicked is not leaf node in view.It preserves in operation platform and is saved in O&M environment The information of point, such as node type, node type, address, topological relation, routing information.
View (view) is the container of visualization component (widget) and the exposition of whole system, view include A series of attributes, including grouping, view specification etc. belonging to view name, view.It can also be realized above view a series of complete The operation of office is for example: editor view, deleting view, view is full frame, refreshing all widget under current view.
Visualization component (widget) is the component of display data, be may include with properties: component name, component type, Data source, data source relevant parameter etc..Wherein, component type can be table, line chart, histogram, pie chart, network topology Figure, text etc..
Data source (datasource) needs to be registered to operation platform, and the data source of the present embodiment can be type of database Data source, be also possible to application programming interface (API, Application Programming Interface) type Data source the access criteria of database is met for database (such as mysql, rds, sqllite etc.).For API class The data source of type, operation platform use API as data-interface to obtain data.Operation platform defines a set of data access Specification, including the read-write interface (there is defined the data structures for the data for calling API to obtain) of API, each system is only API is realized according to access criteria, so that it may seamlessly access operation platform using these systems as data source.
Fig. 2 is a kind of illustrative interface, including the contents such as O&M environment navigation tree, view list, view, data Source can separately recall, and be not shown on the interface.View in figure includes table, line chart, cake chart and configuration diagram etc..
The data processing method of the present embodiment operation platform is as shown in Figure 3, comprising: step 110, operation platform safeguards O&M Environment instructs creation first view according to input, adds the first visualization component in the first view and can by described first Depending on changing component and the first binding data interfaces, the first data-interface from the first data source for being registered to the operation platform for obtaining Access evidence;And step 120, when the operation platform detects that the first view is opened, first data-interface is called to obtain Access evidence simultaneously parses, and generates first visualization component according to the data that parsing obtains, and visual by described the first of generation Change in the first view that component is shown in the display interface.
In first view, the first visualization component, the first data-interface and the first data source mentioned in the application " the One " it is merely meant that operated view, visualization component, data-interface and data source, be not offered as view, visualization component, Data-interface and data source itself are specific.
In step 110:
In the present embodiment, creation first view can configure the essential attribute of view, such as view name, to the description of view Deng.
In the present embodiment, addition visualization component can be completed by drag operation in the view namely the O&M is flat When platform detects that the icon of the first visualization component is dragged in first view, then first visualization component is added to In the first view.The icon of visualization component in toolbar (toolbar) can be dragged to view area by operation maintenance personnel, New visualization component is added in this view, can also pull the visualization component shift position having been added in view or is changed Become larger small.One or more visualization components can be added in a view.The mode of this addition visualization component is not necessarily to UI customization is carried out, the process of design and page development is simplified.
In the present embodiment, the operation platform is instructed according to input by first visualization component and the first data-interface Binding, comprising:
The operation platform is instructed according to input, configures first data source to the number of first visualization component According to source;
The operation platform inquires the associated data-interface of the first data source, and the data-interface inquired is shown On display interface, the data-interface inquired includes first data-interface;
The operation platform is instructed according to input, and first visualization component is associated with first data-interface, And the first data item for generating first visualization component is determined from the data item that first data-interface includes.
When editing to first visualization component, user can be first from registered data source list Visualization component selects a data source, is configured to the data source of first visualization component., the data source of the present embodiment can be with For type of database or the data source of API type, the single problem of data source is avoided.Different visualization group in same view The data source of part configuration can be the same or different.After select data source, operation platform obtains the first data source note The address information of volume or address information (the ownership section that the home node is obtained according to the home node of the first data source registration Point is usually that the node of monitoring service or O&M service is provided in O&M environment);Then operation platform is believed according to the address of acquisition Breath calls query interface, finds the associated data-interface of the first data source by the query interface, namely be used for from first All data-interfaces of data source acquisition data.
In general, data-interface includes one or more data item, if it is the data-interface for obtaining data from database, number It can be the field (title arranged in such as table) in tables of data according to item;If it is API, it is API that data item, which can be operation platform, Field in the data structure of definition.It is not absolutely required to show all data item in the first data-interface for first visualization component Data.Thus in the present embodiment, operation platform is determined from the data item that the first data-interface includes for generating described the First data item of one visualization component.First data item can be specified by user, if defaulting all numbers without specified It is the first data item according to item.For example, the first data-interface includes " cluster ", " machine ", " CPU usage ", " EMS memory occupation Rate " and " disk occupancy " 6 data item, and only need to show the CPU usage of machine in cluster when the first visualization component, The first data item for generating first visualization component then determined includes " cluster ", " machine " and " CPU usage " This 3 data item.The selection of first data item can be what user specified.If user does not specify, the first number can be defaulted It is the first data item according to all data item in interface.First data item can be used as the call parameters of data-interface, so that The data of the first data item are only returned after data-interface is called.
In the present embodiment, it is contemplated that the data that data-interface obtains include the corresponding data of all values of the first data item, And user may only want to show corresponding data when the first data item is partial value in the first visualization component.For example, adjusting With the CPU usage of all machines in the available clusters all into O&M environment of the first data-interface.And user may be only Wish the CPU usage for showing some cluster or some machine in the first visualization component, and is not intended to show Cluster or machine write extremely, and be desirable to show when can by click the node in O&M environment (as indicate cluster A section Point or the node for indicating machine A), by node value (such as ID of cluster A or machine A) related with the first data item as screening Condition filters out corresponding data when the first data item is the value from the data of acquisition, for example, according to the ID of cluster A from obtaining The CPU usage of cluster A, or the CPU of ID screening machine A from the data of acquisition according to machine A are screened in the data taken Occupancy.
Definition has some and associated parameter item of O&M environment interior joint in O&M environment, and includes in the information of node The value of relevant parameter item.For example, each node type such as " cluster ", " machine ", " service ", " service role " can be made Machine ID for a parameter item, and machine node (node that node type is machine) can be used as " machine " this parameter item Value, the cluster ID of the clustered node (node that node type is cluster) where machine node on path can be used as " collection The value of this parameter item of group ".In the present embodiment, operation platform by after the first visualization component and the first binding data interfaces, Also data item some or all of in the first data item is associated with relevant parameter item defined in the O&M environment, to realize The correct transmitting of value.Such as having in the data item of expression " cluster " and " machine " and O&M environment in data-interface is indicated " cluster " is associated with the parameter item of " machine ", it should be noted that the title of the data item and parameter item that indicate identical meanings is simultaneously It is not necessarily identical.Above-mentioned incidence relation can be instructed by the input of user and be established, can also by the data item that configures with The modes such as the mapping table of parameter item are established.
In other embodiments, the condition of screening can be configured when editing the first visualization component, such as compiled Selected " cluster " or " machine " to be shown when the first visualization component is collected, but inflexible in this way, on the one hand needed to configure very More visualization component, on the other hand, if the cluster or machine in O&M environment change such as increase, deletion and modification When, and reconfigured.Thus the present embodiment additionally uses the mode of dynamic screening, can choose difference in the presentation Clustered node or machine node, to can show different clustered node or machine node in same visualization view Data will not need to reconfigure because node changes.
Above-mentioned first view and the first visualization component configuration after the completion of, corresponding configuration information can be saved as In the view list that is stored in the API server on backstage, and can be shown on display interface.
In the step 120:
In the present embodiment, the first data-interface is API, and the operation platform defines the number for the data for calling API to obtain According to structure, the data structure includes the data (such as gauge outfit data and Data Area data) for generating display content, or packet Containing the data for generating display content and for the data (such as operational controls data and corresponding O&M instruction) of trigger action, Namely the data for trigger action are the options in data structure;In the step 120, the operation platform is according to parsing The data that arrive generate first visualization component, comprising: the operation platform is obtained according to parsing from the data structure The data for generating display content generate the display content of first visualization component, as parsing obtains grasping for triggering The data of work then generate corresponding operation control also on first visualization component.
In the present embodiment, the data for trigger action include to instruct with the associated O&M of operational controls;If first can Depending on changing there are operational controls on component, then operation platform shows first visualization component of generation in the display interface After in the first view, if detect that the operational controls are selected, operated according to the O&M instruction execution O&M. This combines the functions such as data monitoring, report are shown and O&M operates organically, and operation maintenance personnel is after orientation problem O&M operation can be carried out in the display interface.The O&M operation can be for server such as by some server it is offline, Or software upgrading is carried out to some server, it is also possible to for data-interface, as deleted some data in data-interface ?.O&M operation can be completed by calling corresponding function.
By defining above-mentioned data structure, make freely bind between visualization component and data source.It can make different Data source has identical exhibition method, and identical data source can be made to have different exhibition methods.Because in above-mentioned data structure Can there are operational controls and O&M instruction, this makes the data-interface be not only to read interface, is also used as writing interface.User's After this socket is realized in service, read-only data can be not only shown in report, while sequence of operations control can also be defined System and O&M instruction combine read-write can organically in platform to realize write operation.
As previously mentioned, the operation platform of the present embodiment generates first visualization component according to the data that parsing obtains When, can according to the node chosen come garbled data, specifically, the operation platform generate first visualization component it Before, the node being selected in the O&M environment is detected, is extracted and first data item from the information of selected node The value of the parameter item of binding;Then it is filtered out in the data analytically obtained corresponding when first data item is the value extracted Data, use the data that filter out to generate first visualization component.For example, the first visualization component is for showing choosing In one or more machine CPU usage chart, the data that the first data-interface is got include institute in all clusters There is the CPU usage of machine, then before generating the first visualization component, operation platform detects the machine being selected in O&M environment Device node, if the machine node that do not choose can prompt user to select to show the machine node of its data.It is assumed that user The node for indicating machine A is had selected, then the cluster ID of the machine ID of operation platform extraction machine A and the affiliated cluster of machine A, The number of the CPU usage of machine A in cluster A can be filtered out from the data that the first data-interface obtains with the two ID According to then according to data the first visualization component of generation filtered out.If user chooses another machine node, collection is such as indicated The node of machine B in group B, then operation platform can filter out the data of the CPU usage of machine B in cluster B and can first It is shown on component depending on changing.The operation of node is chosen to can be the single-click operation to node, it, can if some node of user click It is used to generate the image engine of visualization component so that the value of the relevant parameter item of the node to be transmitted to as parameter, to generate first Visualization component.
It, can be associated by the node in O&M environment for the different visualization components in same view.For example, Include 3 the first visualization components in first view, is the line chart for showing the CPU usage variation of machine respectively, shows machine The line chart of the disk occupancy variation of the line chart and display machine of the memory usage variation of device.This 3 equal roots of line chart It is generated and is shown according to the machine node chosen, then when user chooses the machine A in cluster A, then 3 in the view roll over Line chart will show the CPU usage of machine A in cluster A, memory usage and disk occupancy respectively.
For first view itself, configuration information such as the view size, position of the first view that can be saved by reading It the realizations such as sets to show,
The illustrative according to source access criteria of the present embodiment is given below.According to connecing for the data source of definition and other services Mouthful.It is each to service the data source for being likely to become the operation platform.Platform can be automatically accessed by realizing according to specification, so as to The system of each O&M service and monitoring service is monitored and be configured by the way of unified.
The following table 1 is the data structure that an illustrative data source registration uses.
Title Type Description
Name Character string The title of data source
Context Character string The home node of the data source may be used to determine the address of data source
Type Character string The type of data source can be Database or API
Address Character string For defining the address of database, such as IP or Hostname.
Port Integer Service port number.
DBName Character string Database-name
DBUser Character string Database user name
DBPasswd Character string Database password
Description Character string Description for data source
Wherein, the type of data source can be database (Database) type or API type.Believed according to above-mentioned registration Breath, it is known that the type of data source.Database and API can be addressed by the address (Address) of registration, if The value of Address is sky, then the address of service of the home node indicated context field is as the address of data source.
After determining the address of data source, the query interface of address of service can be called, such as shows that all databases connect The query interface of mouth (ListAllDatabases) or the query interface (ListAllCommands) of all API of display are to obtain Obtain all databases or the information of API.Other systems only need to realize similar ListAllDatabases or Interface as ListAllCommands can access platform.It can easily find in operation platform in this way Whether the data source for providing service has increase or a update, and operation platform can flexibly expanding data source.
For the data source of API type (namely non-database type), it is also necessary to provide API and be used as from data source acquisition number According to interface, also referred to as commad interface in text, what is obtained after these API are called is exactly the number for being used to generate visualization component According to.
In one example, operation platform has arranged the data structure of the data of API acquisition, as shown in table 2 below:
As shown above, it includes schema and data that API, which needs the field returned, the two fields are to operation platform Visualization component provides display data to generate the content for display, report data can by the two field definitions, Schema therein can be used as the data item of API, and such as the field in report heading, data can be the number in report data area According to.The data structure also includes the Optional Field of an operations, will be can as long as service defines operations Operational controls such as button, linking etc. is generated on component depending on changing, ISP only needs to define such interface, so that it may real It now simultaneously include the visualization component of report and operational controls.
According to the above specification, after developer of services has developed API by specification, it can operation platform log-on data source is arrived, Registration process can be completed on backstage.After operation platform finds new data source, configuration circle in visualization component can be shown Face.
The present embodiment can provide data-interface by O&M ISP, monitoring service, be linked into operation platform.With Family (such as operation maintenance personnel) need to only define the data source of the visualization component in view and view on the page, so that it may customize Desired master control panel (dashboard) out, some main summary informations of display system on interface.
Embodiment two
The present embodiment provides a kind of operation platforms, to realize the data processing of embodiment one.
As shown in figure 4, the operation platform of the present embodiment includes O&M Environment Management module 10,20 and of data source management module Data display module 30, wherein the data display module includes;
View edit cell 301, for instructing creation first view according to input, first is added in the first view can Depending on changing component;
Component edits unit 303, for counting first visualization component and the first binding data interfaces, described first It is used to obtain data from the first data source for being registered to the operation platform according to interface;
Data display unit 305, for calling first data-interface to obtain when detecting that the first view is opened Access evidence simultaneously parses, and generates first visualization component according to the data that parsing obtains, and visual by described the first of generation Change in the first view that component is shown in the display interface.
In the present embodiment,
The view edit cell adds the first visualization component according to input instruction in the first view, comprising: inspection When measuring the icon of first visualization component and being dragged in the first view, first visualization component is added to In the first view.
In the present embodiment,
The component edits unit includes:
Subelement is configured, for configuring first visualization component for first data source according to input instruction Data source;
Subelement is inquired, for inquiring the associated data-interface of the first data source, the data-interface exhibition that will be inquired Show in the display interface, the data-interface inquired includes first data-interface;
Subelement is bound, for closing first visualization component and first data-interface according to input instruction Join, and determines the first data for generating first visualization component from the data item that first data-interface includes ?.
In the present embodiment,
The component edits unit is also used to after first visualization component and first binding data interfaces Data item some or all of in first data item is associated with relevant parameter item defined in the O&M environment.
The data display unit generates first visualization component according to the data that parsing obtains, comprising: detection institute The node being selected in O&M environment is stated, the parameter with first data item binding is extracted from the information of selected node The value of item;And corresponding data when first data item is the value extracted are filtered out in the data analytically obtained, First visualization component is generated using the data filtered out.
In the present embodiment,
First data-interface is application programming interface API, and the data that the API is obtained are flat with the O&M Data structure as defined in platform, the data structure include the data for generating display content, or comprising for generating in display The data of appearance and data for trigger action;
The data display unit generates first visualization component according to the obtained data of parsing, comprising: according to from The data for generating display content that parsing obtains in the data structure generate in the display of first visualization component Hold, if parsing obtains the data for trigger action, then generates corresponding operation control also on first visualization component.
In the present embodiment,
The operation platform further include: O&M operation module, for when detecting that the operational controls are selected, according to The O&M instruction execution O&M operation.
In the present embodiment,
First data source is the data source of type of database or application programming interface API type;
The inquiry subelement inquiry is for obtaining the data-interface of data from first data source, comprising: obtains institute It states the address information of the first data source registration or the ownership is obtained according to the home node of first data source registration and save The address information of point;And query interface is called according to the address information of acquisition, described first is found by the query interface The associated all data-interfaces of data source.
The above-mentioned module of the present embodiment, unit and subelement execute the example of above-mentioned processing, and other executable processing See the description in one method of embodiment, explanation is not repeated herein.
In an example of the present embodiment, operation platform is divided into front end system and background system, and front end system is for real The now relevant interface display of above-mentioned module and operation.Back-end system includes WEB server and API server.Fig. 4 is referred to, In front end system, view and visualization component, data can be defined by view edit cell 301 and component edits unit 303 Display unit 305 (view rendering engine implementation can be used) is responsible for the data on backstage being illustrated as the visualization components such as report, transports 10 responsible node management of Environment Management module is tieed up, and the parameter of selected node can be passed into data display unit 305, to filter out the data for generating all visualization components in view.The front-end interface of the present embodiment uses WEB page Form, front end system will be communicated with the WEB server of rear end could obtain data, and WEB server encapsulates various data-interfaces, Data are provided for front end.If front end system does not use WEB page form, and realizes by the development scheme of GUI, pass through client The mode of end software accesses system, then can be not provided with web server, API server for provide authentication, data source registration with And save the interface of the information such as O&M environment, view, visualization component.The above-mentioned module of the present embodiment, unit can use processing Device runs corresponding computer program to realize.
The operation platform of the present embodiment has general interface framework, and all kinds of reports, monitoring service and O&M service can be with Autonomous access platform, and organically blend.
The present embodiment additionally provides a kind of operation platform, including memory, processor and is stored on the memory simultaneously The computer program that can be run on the processor, wherein the processor is realized following when executing the computer program Step:
It safeguards O&M environment, creation first view is instructed according to input, adds the first visualization group in the first view Part and by first visualization component and the first binding data interfaces, first data-interface are used for from being registered to the fortune The first data source for tieing up platform obtains data;
When detecting that the first view is opened, calls first data-interface to obtain data and parse, according to parsing Obtained data generate first visualization component, and first visualization component of generation is shown in the display interface The first view in.
Any processing in one method of embodiment may be implemented in the processor of the present embodiment when executing the computer program, Here no longer repeated explanation one by one.
The present embodiment additionally provides a kind of computer readable storage medium, is stored thereon with computer program, and feature exists In the computer program performs the steps of when being executed by processor
It safeguards O&M environment, creation first view is instructed according to input, adds the first visualization group in the first view Part and by first visualization component and the first binding data interfaces, first data-interface are used for from being registered to the fortune The first data source for tieing up platform obtains data;
When detecting that the first view is opened, calls first data-interface to obtain data and parse, according to parsing Obtained data generate first visualization component, and first visualization component of generation is shown in the display interface The first view in.
Any processing in one method of embodiment is realized when the computer program of the present embodiment is executed by processor, here not Another repeated explanation.
Above mentioned embodiment provide a kind of general platform development frame, developer of services without being related to the exploitation of front end, As long as realizing data-interface, query interface according to specification.The product of O&M is without the design page, without having to worry about different clothes How business data integrate, as long as carrying out the simple view for pulling and configuring and customization can be realized on platform.User can also be with The view that oneself concern is found on platform, improves O&M efficiency.Solves different Services Integrations hardly possiblies, fortune in traditional O&M website Tie up the page development period it is long, report and O&M operation can not be unified problem, improve the efficiency and flexibility of system development.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data) The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc According to, and may include any information delivery media.

Claims (15)

1. a kind of data processing method of operation platform, comprising:
Operation platform safeguards O&M environment, and according to input instruction creation first view, addition first is visual in the first view Change component and will first visualization component and the first binding data interfaces, first data-interface is for from being registered to The first data source for stating operation platform obtains data;
When the operation platform detects that the first view is opened, calls first data-interface to obtain data and parses, First visualization component is generated according to the data that parsing obtains, and first visualization component of generation is shown aobvious Show in the first view on interface.
2. the method as described in claim 1, it is characterised in that:
The operation platform adds the first visualization component according to input instruction in the first view, comprising: the O&M is flat When platform detects that the icon of first visualization component is dragged in the first view, first visualization component is added It is added in the first view.
3. the method as described in claim 1, it is characterised in that:
The operation platform is instructed according to input by first visualization component and the first binding data interfaces, comprising:
The operation platform is instructed according to input, configures first data source to the data of first visualization component Source;
The operation platform inquires the associated data-interface of the first data source, and the data-interface inquired displaying is being shown On interface, the data-interface inquired includes first data-interface;
The operation platform is instructed according to input, and first visualization component is associated with first data-interface, and from The first data item for generating first visualization component is determined in the data item that first data-interface includes.
4. method as claimed in claim 3, it is characterised in that:
The operation platform by after first visualization component and first binding data interfaces, also wrap by the method Include: the operation platform is corresponding to defined in the O&M environment by data item some or all of in first data item Parameter item association;
The operation platform generates first visualization component according to the data that parsing obtains, comprising:
The operation platform detects the node being selected in the O&M environment, extraction and institute from the information of selected node State the value of the parameter item of the first data item binding;
Corresponding number when first data item is the value extracted is filtered out in the data that the operation platform analytically obtains According to using the data that filter out to generate first visualization component.
5. the method as described in any in claim 1-4, it is characterised in that:
First data-interface is application programming interface API, and the operation platform defines the data for calling API to obtain Data structure, the data structure include for generates display content data, or include for generate show content number According to and for trigger action data;
The operation platform generates first visualization component according to the data that parsing obtains, comprising: the operation platform root The aobvious of first visualization component is generated according to the data for generating display content that parsing obtains from the data structure Show content, if parsing obtains the data for trigger action, then also generates corresponding operation on first visualization component Control.
6. method as claimed in claim 5, it is characterised in that:
The data for trigger action include to instruct with the associated O&M of the operational controls;
After the operation platform shows first visualization component of generation in the first view in the display interface, The method also includes: when the operation platform detects that the operational controls are selected, transported according to the O&M instruction execution Dimension operation.
7. method as claimed in claim 3, it is characterised in that:
First data source is the data source of type of database or application programming interface API type;
The operation platform inquiry is for obtaining the data-interface of data from first data source, comprising:
The operation platform obtains the address information of first data source registration or according to first data source registration Home node obtains the address information of the home node;
The operation platform calls query interface according to the address information of acquisition, finds described first by the query interface The associated all data-interfaces of data source.
8. a kind of operation platform, including O&M Environment Management module, data source management module and data display module, feature exist In the data display module includes;
View edit cell adds the first visualization group for instructing creation first view according to input in the first view Part;
Component edits unit is used for first visualization component and the first binding data interfaces, first data-interface For obtaining data from the first data source for being registered to the operation platform;
Data display unit, for calling first data-interface to obtain data when detecting that the first view is opened And parse, first visualization component is generated according to the obtained data of parsing, and by first visualization component of generation It shows in the first view in the display interface.
9. operation platform as claimed in claim 8, it is characterised in that:
The view edit cell adds the first visualization component according to input instruction in the first view, comprising: detects When the icon of first visualization component is dragged in the first view, by first visualization component be added to this In one view.
10. operation platform as claimed in claim 8, it is characterised in that:
The component edits unit includes:
Subelement is configured, for configuring first data source to according to input instruction the data of first visualization component Source;
Subelement is inquired, for inquiring the associated data-interface of the first data source, the data-interface inquired is shown On display interface, the data-interface inquired includes first data-interface;
Subelement is bound, for first visualization component to be associated with first data-interface according to input instruction, and The first data item for generating first visualization component is determined from the data item that first data-interface includes.
11. operation platform as claimed in claim 10, it is characterised in that:
The component edits unit is also used to after first visualization component and first binding data interfaces by institute Data item some or all of is stated in the first data item to be associated with relevant parameter item defined in the O&M environment;
The data display unit generates first visualization component according to the data that parsing obtains, comprising: detects the fortune The node being selected in environment is tieed up, is extracted from the information of selected node and the parameter item of first data item binding Value;And corresponding data when first data item is the value extracted are filtered out in the data analytically obtained, it uses The data filtered out generate first visualization component.
12. the operation platform as described in any in claim 8-11, it is characterised in that:
First data-interface is application programming interface API, and the data that the API is obtained are advised with the operation platform Fixed data structure, the data structure include the data for generating display content, or comprising for generating display content Data and data for trigger action;
The data display unit generates first visualization component according to the obtained data of parsing, comprising: according to from described The data for generating display content that parsing obtains in data structure generate the display content of first visualization component, such as Parsing obtains the data for trigger action, then corresponding operation control is generated also on first visualization component.
13. operation platform as claimed in claim 12, it is characterised in that:
The operation platform further include: O&M operation module, for when detecting that the operational controls are selected, according to described The operation of O&M instruction execution O&M.
14. a kind of operation platform, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, which is characterized in that the processor performs the steps of when executing the computer program
It safeguards O&M environment, creation first view is instructed according to input, adds the first visualization component simultaneously in the first view By first visualization component and the first binding data interfaces, first data-interface is used for flat from the O&M is registered to First data source of platform obtains data;
When detecting that the first view is opened, calls first data-interface to obtain data and parse, obtained according to parsing Data generate first visualization component, and by first visualization component of generation show in the display interface should In first view.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It is performed the steps of when being executed by processor
It safeguards O&M environment, creation first view is instructed according to input, adds the first visualization component simultaneously in the first view By first visualization component and the first binding data interfaces, first data-interface is used for flat from the O&M is registered to First data source of platform obtains data;
When detecting that the first view is opened, calls first data-interface to obtain data and parse, obtained according to parsing Data generate first visualization component, and by first visualization component of generation show in the display interface should In first view.
CN201710413033.2A 2017-06-05 2017-06-05 Operation and maintenance platform and data processing method thereof Active CN109002334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710413033.2A CN109002334B (en) 2017-06-05 2017-06-05 Operation and maintenance platform and data processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710413033.2A CN109002334B (en) 2017-06-05 2017-06-05 Operation and maintenance platform and data processing method thereof

Publications (2)

Publication Number Publication Date
CN109002334A true CN109002334A (en) 2018-12-14
CN109002334B CN109002334B (en) 2021-09-17

Family

ID=64572710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710413033.2A Active CN109002334B (en) 2017-06-05 2017-06-05 Operation and maintenance platform and data processing method thereof

Country Status (1)

Country Link
CN (1) CN109002334B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725973A (en) * 2018-12-27 2019-05-07 北京天融信网络安全技术有限公司 A kind of data processing method and data processing equipment
CN110413161A (en) * 2019-06-14 2019-11-05 深圳爱根斯通科技有限公司 Arrrangement method, device and electronic equipment
CN110955718A (en) * 2019-12-04 2020-04-03 深圳市网心科技有限公司 Data visualization configuration method, server, system and medium
CN111008132A (en) * 2019-11-29 2020-04-14 浙江大搜车软件技术有限公司 Application debugging method and device for Android system, computer equipment and storage medium
CN111090457A (en) * 2019-12-17 2020-05-01 广州品唯软件有限公司 Interface analysis method, terminal device and computer-readable storage medium
CN113449020A (en) * 2020-03-26 2021-09-28 深圳灿态信息技术有限公司 Method and system for acquiring graphic report data through database
CN113504898A (en) * 2021-06-10 2021-10-15 深圳市云网万店科技有限公司 Front-end component rapid processing method, system and computer storage medium for realizing business arrangement

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097386A (en) * 1997-03-07 2000-08-01 International Business Machines Corporation Data processing system having context sensitive visual feedback for user interface controls and method therefor
US20120054650A1 (en) * 2010-08-26 2012-03-01 Rockwell Automation Technologies, Inc. Automated operator interface generation in a control system
CN104182541A (en) * 2014-09-05 2014-12-03 四川效率源信息安全技术有限责任公司 Method for showing smart phone data information
CN105511873A (en) * 2015-12-02 2016-04-20 网易(杭州)网络有限公司 User interface control display method and device
CN105630506A (en) * 2015-12-30 2016-06-01 北京嘉和美康信息技术有限公司 Bill generation method, bill template generation method and related devices
CN106648630A (en) * 2016-12-01 2017-05-10 北京趣拿软件科技有限公司 Page obtaining method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097386A (en) * 1997-03-07 2000-08-01 International Business Machines Corporation Data processing system having context sensitive visual feedback for user interface controls and method therefor
US20120054650A1 (en) * 2010-08-26 2012-03-01 Rockwell Automation Technologies, Inc. Automated operator interface generation in a control system
CN104182541A (en) * 2014-09-05 2014-12-03 四川效率源信息安全技术有限责任公司 Method for showing smart phone data information
CN105511873A (en) * 2015-12-02 2016-04-20 网易(杭州)网络有限公司 User interface control display method and device
CN105630506A (en) * 2015-12-30 2016-06-01 北京嘉和美康信息技术有限公司 Bill generation method, bill template generation method and related devices
CN106648630A (en) * 2016-12-01 2017-05-10 北京趣拿软件科技有限公司 Page obtaining method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725973A (en) * 2018-12-27 2019-05-07 北京天融信网络安全技术有限公司 A kind of data processing method and data processing equipment
CN109725973B (en) * 2018-12-27 2022-08-12 北京天融信网络安全技术有限公司 Data processing method and data processing device
CN110413161A (en) * 2019-06-14 2019-11-05 深圳爱根斯通科技有限公司 Arrrangement method, device and electronic equipment
CN110413161B (en) * 2019-06-14 2021-08-31 深圳爱根斯通科技有限公司 Component configuration method and device and electronic equipment
CN111008132A (en) * 2019-11-29 2020-04-14 浙江大搜车软件技术有限公司 Application debugging method and device for Android system, computer equipment and storage medium
CN111008132B (en) * 2019-11-29 2021-11-16 浙江大搜车软件技术有限公司 Application debugging method and device for Android system, computer equipment and storage medium
CN110955718A (en) * 2019-12-04 2020-04-03 深圳市网心科技有限公司 Data visualization configuration method, server, system and medium
CN111090457A (en) * 2019-12-17 2020-05-01 广州品唯软件有限公司 Interface analysis method, terminal device and computer-readable storage medium
CN113449020A (en) * 2020-03-26 2021-09-28 深圳灿态信息技术有限公司 Method and system for acquiring graphic report data through database
CN113504898A (en) * 2021-06-10 2021-10-15 深圳市云网万店科技有限公司 Front-end component rapid processing method, system and computer storage medium for realizing business arrangement

Also Published As

Publication number Publication date
CN109002334B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN109002334A (en) A kind of operation platform and its data processing method
US11703826B1 (en) Monitoring asset hierarchies based on asset group metrics
US10853382B2 (en) Interactive punchcard visualizations
US11768875B2 (en) Monitoring system control interface for asset tree determination
US10459939B1 (en) Parallel coordinates chart visualization for machine data search and analysis system
CN106528129B (en) A kind of Web application interface generation system and method
US10222951B2 (en) Modeling system for graphic user interface
US11037342B1 (en) Visualization modules for use within a framework for displaying interactive visualizations of event data
CN106067080B (en) Configurable workflow capabilities are provided
US7734619B2 (en) Method of presenting lineage diagrams representing query plans
EP1679588B1 (en) Prescribed navigation using topology metadata and navigation path
CN103020158A (en) Report form creation method, device and system
WO2023045862A1 (en) Application page development method and apparatus, and system, computing device and storage medium
CN106156350A (en) The big data analysing method of a kind of visualization and system
US20180018402A1 (en) Dynamic hierarchy generation based on graph data
CN103631882A (en) Semantization service generation system and method based on graph mining technique
CN101488151A (en) System and method for gathering website contents
CN112654976A (en) System and method for comparing and selectively merging database records
CN109388791A (en) Chart Dynamic Display method, apparatus, computer equipment and storage medium
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
CN103744647A (en) Java workflow development system and method based on workflow GPD
CN108446327A (en) Operation system dynamic creation method, device, computer equipment and storage medium
CN108845942A (en) Product feature management method, device, system and storage medium
CN111752723A (en) Visual multi-source service management system and implementation method thereof
Yao et al. Building architectures for data‐intensive science using the ADAGE framework

Legal Events

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