CN104102734A - Data display method and system - Google Patents

Data display method and system Download PDF

Info

Publication number
CN104102734A
CN104102734A CN201410362449.2A CN201410362449A CN104102734A CN 104102734 A CN104102734 A CN 104102734A CN 201410362449 A CN201410362449 A CN 201410362449A CN 104102734 A CN104102734 A CN 104102734A
Authority
CN
China
Prior art keywords
data
user
graphical model
file
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.)
Granted
Application number
CN201410362449.2A
Other languages
Chinese (zh)
Other versions
CN104102734B (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

Abstract

The invention relates to a data display method, which comprises the following steps: obtaining the source data of a target system; according to user requirements, selecting a graph model which needs to be displayed; according to the graph model which is selected by a user, processing the obtained source data to cause the source data to conform to requirements on input data when graphs are displayed; and displaying the graph which meets the requirements by adopting the graph model selected by the user. The invention also relates to a data display system. Experimental data generated by a test platform can be automatically obtained, and the experimental data can be visually displayed in different graph and chart ways after the experimental data is automatically processed.

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
Along with the develop rapidly of cloud computing technology, various test platforms also occur thereupon, and how by test result intuitive, clear present a difficult problem that becomes test platform development teams.Because cloud computing has the validity of large data processing and processes the ability of extensive task, therefore cloud test platform can obtain the comprehensive data of test assignment substantially, how by the data that obtain intuitive, clear present and embody test importance be the forbidding problem demanding prompt solution again of test platform developer.
The pattern analysis display platform KingGraphic of the data display system You Yakong company of current main-stream, its principal feature is: can and be related to from a plurality of industrial historical datas storehouse and storehouse, obtain data, be combined with model system KingModel and realize objectification data exchange and the historical playback of picture, abundant pattern analysis assembly is provided, completes various statistical data analysis and show.Meanwhile, for most cloud test platform, the direct acquisition unit divided data that developer is comparatively single, manually by data message typing image generating code, thereby obtains simple analysis image.
Commonplace data display system is substantially all directly from database read, to fetch data at present, then data biography is worth to the pattern exhibiting template having chosen, and obtains the pattern of exploded view picture.There is following obvious shortcoming in described mode: 1) column of deal with data relatively disperses, and there is no the processing of integrated system; 2) may there is the problem in form, type in the data of obtaining and destination data, need manually change; 3) as data have large change, need modify to figure code.
Summary of the invention
In view of this, be necessary to provide a kind of method for exhibiting data and system.
The invention provides a kind of method for exhibiting data, the method comprises the steps: that a. obtains the source data of goal systems; B. according to user's request, select the graphical model that will show; C. the graphical model of selecting according to user, processes while making it to meet pattern exhibiting inputting the requirement of data the above-mentioned source data of obtaining; D. adopt graphical model that user selects by the pattern exhibiting that meets demand out.
Wherein, described step a comprises: by revising configuration file, set up and being connected of goal systems database or file; The above-mentioned database connecting or file are scanned and obtain source data.
Described step b comprises: according to the graphical model that will show of selecting, provide corresponding suitable port.
Described processing comprises: format conversion, data are extracted, data are processed, data transmission.
The present invention also provides a kind of data display system, and this system comprises acquisition module, selects module, processing module and display module, wherein: described acquisition module is for obtaining the source data of goal systems; The graphical model of described selection module for selecting to show according to user's request; The graphical model of described processing module for selecting according to user, processes while making it to meet pattern exhibiting inputting the requirement of data the above-mentioned source data of obtaining; Described display module is for adopting graphical model that user selects by the pattern exhibiting that meets demand out.
Wherein, described acquisition module specifically for: by revising configuration file, set up and being connected of goal systems database or file; The above-mentioned database connecting or file are scanned and obtain source data.
Described selection module also for: according to the graphical model that will show of selecting, provide corresponding suitable port.
Described processing comprises: format conversion, data are extracted, data are processed, data transmission.
Method for exhibiting data of the present invention and system, for cloud test platform provides the pattern exhibiting environment of a robotization, the experimental data can automatic acquisition test platform generating, through the processing of robotization, the mode by described experimental data with various figure, chart displays intuitively.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of method for exhibiting data of the present invention;
Fig. 2 is the hardware structure figure of data display system of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further detailed explanation.
Consulting shown in Fig. 1, is the operation process chart of method for exhibiting data preferred embodiment of the present invention.
Step S401, obtains the source data of goal systems.Particularly: by revising configuration file, realize from the database of goal systems or file and obtain source data.Described configuration file is set for database or the file of different system, is connected to goal systems, thereby obtains the source data of different system by revising described configuration file.
In the present embodiment, implementation method is as follows:
First, foundation is connected with described database or file: by java backstage code, connect described database or file, connect setting and be incorporated in configuration file, so only need revise configuration file and just can realize the connection to disparate databases or file.Described connection setting comprises: data address, database-name, user name, password etc. are arranged.
Then, the above-mentioned database connecting or file are scanned and obtain source data: described database or file are scanned, and the data that above-mentioned scanning is obtained are filtered, and obtain target data.
Step S402, selects graphical model and the corresponding suitable port that will show according to user's request.Particularly:
The present embodiment provides a large amount of graphical models, has encapsulated a large amount of figure code (mathematic graph, topomap, scatter diagram etc.), and only need import numerical value into just can obtain instant dynamic or static figure.What the present embodiment offered user is the port of js/api, and user can directly call according to demand.Function in the present embodiment adopts js to write (as long as having data just can directly figure be shown), variable is wherein set with the form of parameter, when user has selected in which way data to be shown, user's selection is delivered to next step, according to the graphical model of selecting, data is carried out to purposive processing, processing.
Step S403, the graphical model of selecting according to user, processes the above-mentioned source data of obtaining, the requirement to input data when meeting pattern exhibiting.Described processing comprises: format conversion, data are extracted, data are processed, data transmission.Particularly:
By the processing of this step, substantially can obtain meeting the final data that user shows demand.Different figure codes has different requirements (as some figure code need to provide data with the form of array, could understand to the data of input; Some figure code need to provide data with the form of json file, could understand etc.), the result of experiment need to be displayed to the requirement to input data just must meet pattern exhibiting time in the mode of figure, and the source data of obtaining is just not necessarily the required input form of this figure code, now will carry out necessary processing and packing to the described source data of obtaining.The present embodiment has been set various data processing form (as adjusted the scale of data by the mode of canonical, by the data array of obtaining, json format, to data summation/poor/amass/business, mean value etc. fetches data) by java language, the demand that makes the data fit pattern exhibiting of input, user has determined the processing mode to data to the selection of graphical model.
Step S404, adopts graphical model that user selects by the pattern exhibiting that meets demand out.Particularly, after data processing completes, the data of handling well are passed to this step, the parameter in figure code can read passing the data of coming, thereby reaches the effect that figure shows.
Consulting shown in Fig. 2, is the hardware structure figure of data display system of the present invention.This system comprises acquisition module, selects module, processing module and display module.
Described acquisition module is for obtaining the source data of different system.Particularly: by revising configuration file, realize from the database of different system or file and obtain source data.Described configuration file is set for database or the file of different system, is connected to different system, thereby obtains the source data of different system by revising described configuration file.
In the present embodiment, be achieved as follows:
First, foundation is connected with described database or file: by java backstage code, connect described database or file, connect setting and be incorporated in configuration file, so only need revise configuration file and just can realize the connection to disparate databases or file.Described connection setting comprises: data address, database-name, user name, password etc. are arranged.
Then, the above-mentioned database connecting or file are scanned and obtain source data: described database or file are scanned, and the data that above-mentioned scanning is obtained are filtered, and obtain target data.
Graphical model and the corresponding suitable port of described selection module for selecting to show according to user's request.Particularly:
The present embodiment provides a large amount of graphical models, has encapsulated a large amount of figure code (mathematic graph, topomap, scatter diagram etc.), and only need import numerical value into just can obtain instant dynamic or static figure.What the present embodiment offered user is the port of js/api, and user can directly call according to demand.Function in the present embodiment adopts js to write (as long as having data just can directly figure be shown), variable is wherein set with the form of parameter, when user has selected in which way data to be shown, user's selection is delivered to processing module, according to the graphical model of selecting, data is carried out to purposive processing, processing.
The graphical model of described processing module for selecting according to user, processes the above-mentioned source data of obtaining, the requirement to input data when meeting pattern exhibiting.Described processing comprises: format conversion, data are extracted, data are processed, data transmission.Particularly:
By the processing of processing module, substantially can obtain meeting the final data that user shows demand.Different figure codes has different requirements (as some figure code need to provide data with the form of array, could understand to the data of input; Some figure code need to provide data with the form of json file, could understand etc.), the result of experiment need to be displayed to the requirement to input data just must meet pattern exhibiting time in the mode of figure, and the source data of obtaining is just not necessarily the required input form of this figure code, now will carry out necessary processing and packing to the described source data of obtaining.The present embodiment has been set various data processing form (as adjusted the scale of data by the mode of canonical, by the data array of obtaining, json format, to data summation/poor/amass/business, mean value etc. fetches data) by java language, the demand that makes the data fit pattern exhibiting of input, user has determined the processing mode to data to the selection of graphical model.
Described display module is for adopting graphical model that user selects by the pattern exhibiting that meets demand out.Particularly, processing module, after data processing completes, passes to described display module by the data of handling well, and the parameter in figure code can read passing the data of coming, thereby reaches the effect that figure shows.
The present invention proposes the data display system of a kind of practicality and robotization, in this system, encapsulated the mode of a large amount of figure code (as broken line, column, pie chart etc.) by js/api interface graphics port is provided, can well realize the different-style of various different pieces of informations and show.
Although the present invention is described with reference to current better embodiment; but those skilled in the art will be understood that; above-mentioned better embodiment is only used for illustrating the present invention; not be used for limiting protection scope of the present invention; any within the spirit and principles in the present invention scope; any modification of doing, equivalence replacement, improvement etc., within all should being included in the scope of the present invention.

Claims (8)

1. a method for exhibiting data, is characterized in that, the method comprises the steps:
A. obtain the source data of goal systems;
B. according to user's request, select the graphical model that will show;
C. the graphical model of selecting according to user, processes while making it to meet pattern exhibiting inputting the requirement of data the above-mentioned source data of obtaining;
D. adopt graphical model that user selects by the pattern exhibiting that meets demand out.
2. the method for claim 1, is characterized in that, described step a comprises:
By revising configuration file, set up and being connected of goal systems database or file;
The above-mentioned database connecting or file are scanned and obtain source data.
3. the method for claim 1, is characterized in that, described step b comprises: according to the graphical model that will show of selecting, provide corresponding suitable port.
4. method as claimed in claim 3, is characterized in that, described processing comprises: format conversion, data are extracted, data are processed, data transmission.
5. a data display system, is characterized in that, this system comprises acquisition module, selects module, processing module and display module, wherein:
Described acquisition module is for obtaining the source data of goal systems;
The graphical model of described selection module for selecting to show according to user's request;
The graphical model of described processing module for selecting according to user, processes while making it to meet pattern exhibiting inputting the requirement of data the above-mentioned source data of obtaining;
Described display module is for adopting graphical model that user selects by the pattern exhibiting that meets demand out.
6. system as claimed in claim 5, is characterized in that, described acquisition module specifically for:
By revising configuration file, set up and being connected of goal systems database or file;
The above-mentioned database connecting or file are scanned and obtain source data.
7. system as claimed in claim 5, is characterized in that, described selection module also for: according to the graphical model that will show of selecting, provide corresponding suitable port.
8. system as claimed in claim 7, is characterized in that, described processing comprises: format conversion, data are extracted, data are processed, data transmission.
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 true CN104102734A (en) 2014-10-15
CN104102734B 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)

Cited By (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
CN105550373A (en) * 2016-01-29 2016-05-04 浪潮软件集团有限公司 Method, device and system for displaying data
CN105677539A (en) * 2016-01-12 2016-06-15 北京中交兴路车联网科技有限公司 Method and device for big data system information summarizing and graph reporting
CN105808682A (en) * 2016-03-02 2016-07-27 浪潮软件股份有限公司 Relational graph display method and apparatus
CN107341005A (en) * 2017-06-20 2017-11-10 东软集团股份有限公司 Chart generation method and its device
CN110764842A (en) * 2019-10-17 2020-02-07 山东浪潮商用系统有限公司 Method for automatically generating analysis diagram and loading document by java background

Citations (3)

* 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
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

Patent Citations (3)

* 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
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

Cited By (8)

* 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
CN107341005A (en) * 2017-06-20 2017-11-10 东软集团股份有限公司 Chart generation method and its device
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

Also Published As

Publication number Publication date
CN104102734B (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN104102734A (en) Data display method and system
CN107273104B (en) Processing method and device for configuration data structure
US9311726B2 (en) System and method for mapping and comparing choroplethic housing statistics
US9984179B2 (en) Providing building information modeling data
RU2016119160A (en) METHOD AND DEVICE FOR PROVIDING AN ELECTRONIC TRANSACTION GATEWAY
US20160188299A1 (en) System And Method For Automatic Extraction Of Software Design From Requirements
CN111045676B (en) Method and device for generating control interface of Internet of things equipment, storage medium and electronic equipment
CN105808035B (en) Icon display method and device
JP6750124B2 (en) Terminal device, UI expansion method, and UI expansion program
CN107291340B (en) Method for realizing interface effect, computing equipment and storage medium
CN108023905B (en) Internet of things application system and method
CN102622233A (en) System and method for automatically generating user interface applicable to certain interactive terminal equipment
CN111176707A (en) Templated automatic operation and maintenance method and device and electronic equipment
EP2743826A1 (en) Service providing device, and method of providing a user interface
CN109144624B (en) Method, storage medium, device and system for displaying unequal height lists in IOS
CN110888733A (en) Cluster resource use condition processing method and device and electronic equipment
EP3301529A1 (en) Method and apparatus for displaying monitoring information
WO2014138271A2 (en) Cloud-based real-time value stream mapping system and method
CN113377473A (en) Task creation method and device, electronic equipment and computer readable storage medium
CN108153834B (en) Method and device for querying data by commercial intelligent application and electronic equipment
KR102099362B1 (en) Device and method for a data preparation using a micro service
CN111752653A (en) Responsive automatic layout of industrial process graphics
CN111124841A (en) Abnormal page alarming method and device and computer system
CN111737372A (en) Map data generation method and device
CN110618944A (en) Device simulation method, device, electronic device and storage medium

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