CN104102734B - Method for exhibiting data and system - Google Patents

Method for exhibiting data and system Download PDF

Info

Publication number
CN104102734B
CN104102734B CN201410362449.2A CN201410362449A CN104102734B CN 104102734 B CN104102734 B CN 104102734B CN 201410362449 A CN201410362449 A CN 201410362449A CN 104102734 B CN104102734 B CN 104102734B
Authority
CN
China
Prior art keywords
data
graphical model
user
processing
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410362449.2A
Other languages
Chinese (zh)
Other versions
CN104102734A (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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201410362449.2A priority Critical patent/CN104102734B/en
Publication of CN104102734A publication Critical patent/CN104102734A/en
Application granted granted Critical
Publication of CN104102734B publication Critical patent/CN104102734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of method for exhibiting data, comprise the following steps:Obtain the source data of goal systems;The graphical model to be shown is selected according to user's request;The graphical model selected according to user, the requirement to input data when processing is allowed to meet figure displaying is carried out to the source data of above-mentioned acquisition;The graphical model selected using user is shown the figure for meeting demand.The invention further relates to a kind of data display system.The present invention can obtain the experimental data of test platform generation automatically, and by the processing of automation, the experimental data is intuitively shown in a manner of a variety of figures, chart.

Description

Method for exhibiting data and system
Technical field
The present invention relates to a kind of method for exhibiting data and system.
Background technology
With the rapid development of cloud computing technology, various test platforms also occur therewith, and how by test result it is directly perceived, Legibly showing becomes a problem of test platform development teams.Because cloud computing has the effective of big data processing Property and the extensive task of processing ability, therefore cloud test platform can obtain the comprehensive data of test assignment substantially, how will The importance that obtained data showed and embodied test intuitive, clearly is that test platform developer inspires awe even from distance again urgently The problem of to be solved.
The pattern analysis display platform KingGraphic of the data display system You Yakong companies of current main-stream, its is main Feature is:Data can be obtained from multiple industrial historical data storehouses and relation storehouse, be implemented in combination with model system KingModel Objectification data switch and picture history playback, there is provided abundant pattern analysis component, complete various statistical data analysis displayings. Meanwhile for most cloud test platform, the more single direct fetching portion data of developer, manually data message is recorded Enter image generation code, so as to obtain simple analysis image.
Data display system commonplace at present is substantially directly reads data from database, is then worth data biography Template is shown to the figure chosen, obtains showing the pattern of image.The shortcomings that following obvious be present in the mode: 1) column of processing data is more dispersed, without the processing of integrated system;2) data obtained there may be with purpose data The problem of on form, type, need to manually it change;3) as data have big variation, figure code need to be modified.
The content of the invention
In view of this, it is necessary to which a kind of method for exhibiting data and system are provided.
The present invention provides a kind of method for exhibiting data, and this method comprises the following steps:A. the source data of goal systems is obtained; B. the graphical model to be shown is selected according to user's request;C. the graphical model selected according to user, to the source number of above-mentioned acquisition According to the requirement carried out when processing is allowed to meet figure displaying to input data;D. will be met using the graphical model of user's selection is needed The figure asked is shown.
Wherein, the step a includes:By changing configuration file foundation and the company of goal systems database or file Connect;Acquisition source data is scanned to the database or file of above-mentioned foundation connection.
Described step b includes:According to the graphical model to be shown of selection, there is provided corresponding suitable port.
Described processing includes:Form conversion, data extraction, data mart modeling, data transfer.
The present invention also provides a kind of data display system, and the system includes acquisition module, selecting module, processing module and exhibition Show module, wherein:The acquisition module is used for the source data for obtaining goal systems;The selecting module is used for according to user's request Select the graphical model to be shown;The processing module is used for the graphical model selected according to user, to the source number of above-mentioned acquisition According to the requirement carried out when processing is allowed to meet figure displaying to input data;The display module is used for the figure using user's selection Shape model shows the figure for meeting demand.
Wherein, described acquisition module is specifically used for:By change configuration file establish with goal systems database or The connection of file;Acquisition source data is scanned to the database or file of above-mentioned foundation connection.
Described selecting module is additionally operable to:According to the graphical model to be shown of selection, there is provided corresponding suitable port.
Described processing includes:Form conversion, data extraction, data mart modeling, data transfer.
Method for exhibiting data of the present invention and system, the figure show surroundingses of an automation, energy are provided for cloud test platform Enough automatic experimental datas for obtaining test platform generation, by the processing of automation, by the experimental data with a variety of Figure, the mode of chart are intuitively shown.
Brief description of the drawings
Fig. 1 is the flow chart of method for exhibiting data of the present invention;
Fig. 2 is the hardware architecture diagram of data display system of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further detailed explanation.
As shown in fig.1, it is the operation process chart of method for exhibiting data preferred embodiment of the present invention.
Step S401, obtain the source data of goal systems.Specifically:By changing configuration file, realize from target system Source data is obtained in the database or file of system.The configuration file is directed to the database or file configuration of different system, passes through Change the configuration file and be connected to goal systems, so as to obtain the source data of different system.
Implementation method is as follows in the present embodiment:
First, the connection with the database or file is established:By java backstages code connect the database or Person's file, connection setting are incorporated into configuration file, so need to only change configuration file just can realize to disparate databases or The connection of file.The connection setting includes:Data address, database-name, user name, password etc. are configured.
Then, acquisition source data is scanned to the database or file of above-mentioned foundation connection:To the database or text Part is scanned, and the data obtained to above-mentioned scanning filter, and obtains target data.
Step S402, the graphical model to be shown according to user's request selection and corresponding suitable port.Specifically:
The present embodiment provides substantial amounts of graphical model, encapsulates substantial amounts of figure code (mathematic graph, topographic map, scatterplot Figure etc.), need to only be passed to numerical value just can obtain it is instant or dynamically or static figure.That the present embodiment is supplied to user is js/ Api port, user can directly invoke according to demand.Function in the present embodiment is write (as long as there is data just can be straight using js Connect and come out figure shows), variable therein is set in the form of parameter, and data are carried out in which way when user have selected During display, the selection of user is delivered in next step, purposive processing, place are carried out to data according to the graphical model of selection Reason.
Step S403, the graphical model selected according to user, is handled the source data of above-mentioned acquisition, to meet figure To the requirement of input data during displaying.The processing includes:Form conversion, data extraction, data mart modeling, data transfer.Specifically For:
By the processing of this step, can obtain meeting the final data that user shows demand substantially.Different figure codes Having different requirements to the data of input, (such as some figure codes need to provide data in the form of array, could understand;Some Figure code needs to provide data in the form of json files, could understand), it is necessary to by the result of experiment graphically The requirement to input data when just having to meet figure displaying is shown, and the source data obtained is just not necessarily the figure Input form needed for shape code, will now necessary processing and packaging be carried out to the source data of the acquisition.The present embodiment A variety of data processing forms are set java language and (the decimal point position of data are adjusted by way of such as by canonical Number, by the array of data of acquisition, json format, to data summation/poor/product/business, take statistical average etc.) so that input The displaying of data fit figure demand, selection of the user to graphical model determine the processing mode to data.
Step S404, the graphical model selected using user are shown the figure for meeting demand.Specifically, data After the completion of processing, the data handled well are passed into this step, the parameter in figure code can be read out to the data for being transmitted through coming, So as to reach the effect of figure shows.
As shown in fig.2, it is the hardware architecture diagram of data display system of the present invention.The system includes acquisition module, selection Module, processing module and display module.
The acquisition module is used for the source data for obtaining different system.Specifically:By changing configuration file, realize from Source data is obtained in the database or file of different system.The configuration file is set for the database or file of different system It is fixed, different system is connected to by changing the configuration file, so as to obtain the source data of different system.
Realized in the present embodiment as follows:
First, the connection with the database or file is established:By java backstages code connect the database or Person's file, connection setting are incorporated into configuration file, so need to only change configuration file just can realize to disparate databases or The connection of file.The connection setting includes:Data address, database-name, user name, password etc. are configured.
Then, acquisition source data is scanned to the database or file of above-mentioned foundation connection:To the database or text Part is scanned, and the data obtained to above-mentioned scanning filter, and obtains target data.
The selecting module is used for the graphical model to be shown according to user's request selection and corresponding suitable port.Specifically For:
The present embodiment provides substantial amounts of graphical model, encapsulates substantial amounts of figure code (mathematic graph, topographic map, scatterplot Figure etc.), need to only be passed to numerical value just can obtain it is instant or dynamically or static figure.That the present embodiment is supplied to user is js/ Api port, user can directly invoke according to demand.Function in the present embodiment is write (as long as there is data just can be straight using js Connect and come out figure shows), variable therein is set in the form of parameter, and data are carried out in which way when user have selected During display, the selection of user is delivered to processing module, data are carried out according to the graphical model of selection purposive processing, Processing.
The processing module is used for the graphical model selected according to user, and the source data of above-mentioned acquisition is handled, with Requirement when meeting figure displaying to input data.The processing includes:Form conversion, data extraction, data mart modeling, data pass It is defeated.Specifically:
By the processing of processing module, can obtain meeting the final data that user shows demand substantially.Different figure generations Code has different requirements to the data of input, and (such as some figure codes need to provide data in the form of array, could understand;Have A little figure codes need to provide data in the form of json files, could understand), it is necessary to by the result of experiment with the side of figure Formula shows the requirement to input data when just having to meet figure displaying, and the source data obtained is just not necessarily this Input form needed for figure code, will now necessary processing and packaging be carried out to the source data of the acquisition.This implementation Example sets a variety of data processing forms java language and (the decimal point position of data is adjusted by way of such as by canonical Number, by the array of data of acquisition, json format, to data summation/poor/product/business, take statistical average etc.) so that input The displaying of data fit figure demand, selection of the user to graphical model determine the processing mode to data.
The display module is used to show the figure for meeting demand using the graphical model of user's selection.It is specific and Speech, processing module pass to the display module after the completion of data processing, by the data handled well, the parameter meeting in figure code The data for being transmitted through are read out, so as to reach the effect of figure shows.
The present invention proposes data display system that is a kind of practical and automating, and substantial amounts of figure is encapsulated in the system Code (such as broken line, column, pie chart) provides graphics port by way of js/api interfaces, can be very good to realize it is various not Different-style with data is shown.
Although the present invention is described with reference to current better embodiment, those skilled in the art should be able to manage Solution, above-mentioned better embodiment is only used for illustrating the present invention, is not used for limiting protection scope of the present invention, any in the present invention Spirit and spirit within, any modification for being done, equivalence replacement, improvements etc., should be included in the right guarantor of the present invention Within the scope of shield.

Claims (4)

1. a kind of method for exhibiting data, it is characterised in that this method comprises the following steps:
A. the source data of goal systems is obtained;
B. the graphical model to be shown is selected according to user's request;
C. the graphical model selected according to user, processing is carried out to the source data of above-mentioned acquisition goal systems and is allowed to meet figure exhibition To the requirement of input data when showing;
D. the figure for meeting demand is shown using the graphical model of user's selection;
The step a includes:By changing configuration file foundation and the connection of goal systems database or file, to the company of foundation The database or file connect is scanned acquisition source data;
Described step b includes:According to the graphical model to be shown of selection, there is provided corresponding suitable port.
2. the method as described in claim 1, it is characterised in that described processing includes:Form conversion, data extraction, data Processing, data transfer.
3. a kind of data display system, it is characterised in that the system includes acquisition module, selecting module, processing module and displaying Module, wherein:
The acquisition module is used for the source data for obtaining goal systems;
The selecting module is used to select the graphical model to be shown according to user's request;
The processing module is used for the graphical model selected according to user, and the source data of above-mentioned acquisition goal systems is handled Requirement when being allowed to meet figure displaying to input data;
The display module is used to show the figure for meeting demand using the graphical model of user's selection;
Described acquisition module is specifically used for:By changing configuration file foundation and the company of goal systems database or file Connect, acquisition source data is scanned to the database or file for establishing connection;
Described selecting module is additionally operable to:According to the graphical model to be shown of selection, there is provided corresponding suitable port.
4. system as claimed in claim 3, it is characterised in that described processing includes:Form conversion, data extraction, data Processing, data transfer.
CN201410362449.2A 2014-07-28 2014-07-28 Method for exhibiting data and system Active CN104102734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410362449.2A CN104102734B (en) 2014-07-28 2014-07-28 Method for exhibiting data and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410362449.2A CN104102734B (en) 2014-07-28 2014-07-28 Method for exhibiting data and system

Publications (2)

Publication Number Publication Date
CN104102734A CN104102734A (en) 2014-10-15
CN104102734B true CN104102734B (en) 2018-02-06

Family

ID=51670887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410362449.2A Active CN104102734B (en) 2014-07-28 2014-07-28 Method for exhibiting data and system

Country Status (1)

Country Link
CN (1) CN104102734B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183745A (en) * 2015-07-02 2015-12-23 盘石软件(上海)有限公司 Method based on data visualization analysis
CN105488177A (en) * 2015-12-01 2016-04-13 精硕世纪科技(北京)有限公司 Visual presentation method and system of data
CN105677539A (en) * 2016-01-12 2016-06-15 北京中交兴路车联网科技有限公司 Method and device for big data system information summarizing and graph reporting
CN105550373A (en) * 2016-01-29 2016-05-04 浪潮软件集团有限公司 Method, device and system for displaying data
CN105808682A (en) * 2016-03-02 2016-07-27 浪潮软件股份有限公司 Relational graph display method and apparatus
CN107341005B (en) * 2017-06-20 2020-09-18 东软集团股份有限公司 Chart generation method and device
CN110764842A (en) * 2019-10-17 2020-02-07 山东浪潮商用系统有限公司 Method for automatically generating analysis diagram and loading document by java background

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499364A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司 Automatic method for converting graphic display
CN103034652A (en) * 2011-09-28 2013-04-10 海洋王照明科技股份有限公司 Method and system for analyzing and processing data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550971A (en) * 1993-06-30 1996-08-27 U S West Technologies, Inc. Method and system for generating a user interface adaptable to various database management systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499364A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司 Automatic method for converting graphic display
CN103034652A (en) * 2011-09-28 2013-04-10 海洋王照明科技股份有限公司 Method and system for analyzing and processing data

Also Published As

Publication number Publication date
CN104102734A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN104102734B (en) Method for exhibiting data and system
US9311726B2 (en) System and method for mapping and comparing choroplethic housing statistics
CN110490523B (en) Stock list generation method and device and electronic equipment
CN105354025A (en) Service model configuration system and method based on mobile application
CN103500257A (en) DWG-format drawing identification method and system
RU2016119160A (en) METHOD AND DEVICE FOR PROVIDING AN ELECTRONIC TRANSACTION GATEWAY
CN108399244B (en) Graphical configuration management system and method for nuclear power plant risk monitoring technology
CN111782651A (en) Visual editing method, device and equipment for data association relation and storage medium
CN104616218A (en) Ordering system and ordering method capable of referring to menu of nearby table
CN108062401B (en) Application recommendation method and device and storage medium
CN104539801B (en) Method and terminal for presenting contact information
CN109299173A (en) Data transmission method, device and storage medium
CN103914304B (en) Method for converting different structure type parameters on basis of SAP (service access point) platforms
CN109144624B (en) Method, storage medium, device and system for displaying unequal height lists in IOS
CN110830648A (en) Control method for edge sliding operation of cloud mobile phone and mobile phone terminal
CN108427544B (en) single-screen and double-screen application switching method and interface
CN111124841B (en) Alarm method and device for abnormal page and computer system
KR102099362B1 (en) Device and method for a data preparation using a micro service
CN108763586B (en) General data dictionary interface device based on SAP field search help
CN108153834B (en) Method and device for querying data by commercial intelligent application and electronic equipment
CN112559616A (en) Dynamic data binding method and system for large-screen data visualization component
CN112749229A (en) Data conversion method, device, storage medium and electronic equipment
CN112579082A (en) Interactive state data establishing method and device, storage medium and electronic equipment
CN110136251B (en) Cross-platform data visualization system
US11811712B2 (en) Conversational natural language interfaces for data analysis

Legal Events

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