CN108287740A - A kind of graphic processing method and device at computer man-machine interacting interface - Google Patents

A kind of graphic processing method and device at computer man-machine interacting interface Download PDF

Info

Publication number
CN108287740A
CN108287740A CN201711408110.1A CN201711408110A CN108287740A CN 108287740 A CN108287740 A CN 108287740A CN 201711408110 A CN201711408110 A CN 201711408110A CN 108287740 A CN108287740 A CN 108287740A
Authority
CN
China
Prior art keywords
data
extraction
ratio
graphic processing
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711408110.1A
Other languages
Chinese (zh)
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.)
XI'AN STANDARD INFORMATION TECHNOLOGY Co Ltd
Original Assignee
XI'AN STANDARD INFORMATION TECHNOLOGY Co 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 XI'AN STANDARD INFORMATION TECHNOLOGY Co Ltd filed Critical XI'AN STANDARD INFORMATION TECHNOLOGY Co Ltd
Priority to CN201711408110.1A priority Critical patent/CN108287740A/en
Publication of CN108287740A publication Critical patent/CN108287740A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of graphic processing methods at computer man-machine interacting interface, including step:1) size of data file size and display is obtained, and calculates extraction ratio;2) according to the ratio of extraction, the extraction feature data from file;3) data of extraction are drawn into figure.So, this method its according to data volume and display size, from initial data extracting data is shown, rather than total data is processed and displayed, the case where reducing data processing amount, avoiding due to the excessive caused display interface interim card of data processing amount or even be not responding to user's operation.The present invention also provides a kind of graphic processing facilities at computer man-machine interacting interface comprising data memory module, abstraction module and graphics module.

Description

A kind of graphic processing method and device at computer man-machine interacting interface
Technical field
The invention belongs to field of communication technology, more particularly to a kind of graphic processing method at computer man-machine interacting interface and Device.
Background technology
Multi-action computer is the sequential and monitoring power supply electricity of time break, sensitive signal etc. when measuring shell detonation It is flat, the integral test system of discharge signal etc..
The function of the test equipment determines the measurement precision and stability of the equipment.Its master control man-machine interface program is such as Fruit uses conventional method, after experiment when phase data analysis, it may appear that since gathered data amount is excessive, lead to display interface interim card The case where being even not responding to user's operation.
Invention content
The purpose of the present invention is to provide a kind of graphic processing methods at computer man-machine interacting interface, according to data volume And display size, extraction data are shown from initial data, are overcome since gathered data amount is excessive, are led to display interface The case where interim card is even not responding to user's operation.
The purpose of the present invention is to provide a kind of graphic processing facilities at computer man-machine interacting interface, according to data volume And display size, extraction data are shown from initial data, are overcome since gathered data amount is excessive, are led to display interface The case where interim card is even not responding to user's operation.
The present invention is to be achieved through the following technical solutions:
A kind of graphic processing method at computer man-machine interacting interface, including step:
1) size of data file size and display is obtained, and calculates extraction ratio;
2) according to the ratio of extraction, the extraction feature data from file;
3) characteristic of extraction is drawn into figure.
Preferably, further include step before obtaining data file size in step 1):
Data 1A) are saved as into TDMS file formats, as data file.
Preferably, further include step if user is amplified display operation by frame choosing after step 3):
4) range for obtaining subscriber frame choosing, calculates the data volume within the scope of this;
5) data volume and display size calculated according to step 4), recalculates extraction ratio;
6) range selected according to subscriber frame in step 4) obtains data from data file, is recalculated according to step 5) Extraction ratio, the extraction feature data from the data of acquisition;
7) characteristic that step 6) is extracted is drawn into figure.
Preferably, further include step if user carries out diminution display operation by frame choosing after step 3):
4A) according to the diminution ratio of setting, new extraction ratio and corresponding display data range are calculated;
5A) according to step 4A) calculated corresponding display data range, data are obtained from data file;
6A) according to step 4A) calculated new extraction ratio, from step 5A) extraction feature data in the data that obtain;
7A) by step 6A) data that are extracted are drawn into figure.
Preferably, the method for extraction feature data is:If the ratio of extraction is to extract a data in every m data, When extracting data, per 2m data as one group of extraction, 2 data, 2 data are respectively described per in 2m data Maximum value and minimum value;Wherein m is the natural number not equal to 0.
A kind of graphic processing facility at computer man-machine interacting interface, including:
Data memory module:For preserving initial data;
Abstraction module:Size for obtaining the initial data quantity and display that are stored in data memory module, and count Calculate extraction ratio;According to the ratio of extraction, extraction feature data and the characteristic of extraction is stored in from data memory module In graphics module;
Graphics module:Data for abstraction module to be stored in carry out mapping operation.
Preferably, the method for abstraction module extraction feature data is:If the ratio of extraction is to extract one in every m data Data, then when extracting data, per 2 data of 2m data pick-up, 2 data are respectively described per in 2m data Maximum value and minimum value;Wherein m is the natural number not equal to 0.
Preferably, graphics module further includes data amplification subelement, and data amplification subelement is used to obtain subscriber frame choosing Range calculates the data volume within the scope of this, and recalculates extraction ratio;The range selected according to subscriber frame is obtained from data file Access evidence, and according to the extraction ratio recalculated, the extraction feature data from the data of acquisition;The characteristic of extraction is deposited Enter graphics module, so that the characteristic of extraction is drawn into figure by graphics module.
Preferably, graphics module further includes that data reduce subelement, and data reduce subelement for the diminution according to setting Ratio calculates new extraction ratio and corresponding display data range, according to corresponding display data range from data file Middle acquisition data, according to new extraction ratio from the data of acquisition extraction feature data, the deposit of the characteristic of extraction is painted Module, so that the characteristic of extraction is drawn into figure by graphics module.
Compared with prior art, the present invention has technique effect beneficial below:
A kind of graphic processing method at computer man-machine interacting interface provided by the invention comprising step:1) number is obtained According to the size of file size and display, and calculate extraction ratio;2) according to the ratio of extraction, data are extracted from file;3) it will take out The data taken are drawn into figure.In this way, this method its according to data volume and display size, from initial data extracting data is shown Show, rather than total data is processed and displayed, reduce data processing amount, avoids and led since data processing amount is excessive The case where display interface interim card of cause is even not responding to user's operation.
Further, every two groups of data to be extracted as a whole, therefrom extract maximum value and minimum value are shown Show, the spike of the spike and undershoot rushed either upper in this way can retain and show, without losing key message;And Some important informations can be filtered out when conventional simple extraction data, for example miss some burrs, spike etc. is easy to make behaviour Make personnel and judges test result by accident.
A kind of graphic processing facility at computer man-machine interacting interface provided by the invention comprising data memory module, Abstraction module and graphics module;The mass data of acquisition is stored in data memory module, and abstraction module is according to data volume and shows The size shown calculates extraction ratio, and then the data of suitable number are extracted from data memory module;So in display Under conditions of size is made that restriction to the data volume that can be shown, data can be extracted from initial data and be handled and shown Show, rather than total data is processed and displayed, reduce data processing amount, avoids and led since data processing amount is excessive The case where display interface interim card of cause is even not responding to user's operation.
Further, abstraction module can extract two data, the two data point from each two data pick-up group It is not the maximum value and minimum value of the included data of this data pick-up group, in this way, the point of the either upper spike and undershoot rushed Peak can retain and show, without losing key message;And it can be by some important letters when routinely simply extracting data It ceases to filtering out, for example misses some burrs, spike etc. is easy that operating personnel is made to judge test result by accident.
Description of the drawings
Fig. 1 is the method schematic diagram for extracting data in proportion.
Fig. 2 is the method schematic diagram for the extreme value for extracting data in proportion.
Fig. 3 is the flow chart of the graphic processing method at computer man-machine interacting interface provided by the invention.
Fig. 4-1 is the display renderings that data extracting display is carried out with graphic processing method provided by the invention.
Fig. 4-2 is the display renderings that all data are all shown.
Specific implementation mode
With reference to specific embodiment, the present invention is described in further detail, it is described be explanation of the invention and It is not to limit.
The present invention provides the graphic processing method at computer man-machine interacting interface, includes the following steps:
1) size of data file size and display is obtained, and calculates extraction ratio;
2) according to the ratio of extraction, the extraction feature data from file;
3) characteristic of extraction is drawn into figure.
As a kind of feasible technical solution, it is assumed that data file size i, the size (data amount check of display of display Number) be j, then extract ratio be i/j, round up.
Further include step before obtaining data file size in step 1) as a kind of feasible technical solution: Data 1A) are saved as into TDMS file formats, as data file.
As a kind of feasible technical solution, in step 2), in step 2), the extraction ratio is per n number According to one data of middle extraction, then when extracting data, per 2n data as an extraction section, extracted from each extraction section 2 data, 2 data are the maximum value and minimum value in the extraction section;Wherein, n is the natural number not equal to 0.
As a kind of feasible technical solution, after step 3), if user is amplified diminution display by frame choosing Operation, then further include step:
4) range for obtaining subscriber frame choosing, calculates the data volume within the scope of this;Wherein, because the size of display does not become Change, so the size of display need not be recalculated.
5) data volume and display size calculated according to step 4), recalculates extraction ratio;
6) the extraction ratio recalculated according to step 5), the number in the range of the subscriber frame choosing acquired in step 4) According to carrying out extraction data;Wherein, data area is obtained from the constituency on screen according to user, further according to this data area Data are obtained from file, ensure that display data is undistorted.
7) data that step 6) is extracted are drawn into figure.
As a kind of feasible optimisation technique scheme, the method for extraction feature data is:Assuming that the extraction ratio is A data are extracted in per m data, then when extracting data, per 2 data of 2m data pick-up, 2 data difference For the maximum value and minimum value per in 2m data;Wherein m is the natural number not equal to 0.
As a kind of feasible technical solution, which can also include drawing step:User is interested Data, using template statistics and draw.
As follows by a kind of specific embodiment, a kind of explanation as this graphic processing method and example.
Embodiment 1
A kind of graphic processing method of multi-action computer human-computer interaction interface, includes the following steps:
A, data are saved as into TDMS file formats;
B, file size is obtained to carry out extraction and show;
C, user changes extraction ratio and is shown when being amplified reduction operation;
D, it by the interested data of user, using template statistics and draws.
Further, the acquisition file size described in step B carry out extract display include the following steps:
B1, acquisition file size extract number in proportion according to the size of the displayable data of current interface drawing window According to;As shown in Figure 1, such as initial data has 1000000, but the displayable data in interface only have 10000, then extracting Ratio is 100:1;
B2, in view of can be by some important informations to being filtered out in extraction process, for example miss some burrs, spike etc., It is easy that operating personnel is made to judge test result by accident.So as shown in Fig. 2, when extracting, using every 200 points, extract once, once Extract two points.It is maximum value and minimum value respectively, the spike of the spike and undershoot rushed either upper in this way can retain aobvious It shows to come, without losing key message.
Further, template is used when the interested data of user are preserved data described in step D, utilizes template statistics And it draws and includes the following steps:
D1, the report demand according to user, write macrodoce, design pattern.
D2, record data are read, by macrodoce statistics, drawn.
Embodiment 2
As shown in figure 3, a kind of graphic processing method at computer man-machine interacting interface provided by the invention, including step obtain File size is taken, and ratio is extracted according to the dimension calculation of display;To in the data segment of the extraction of needs, maximum value and most is searched Small value, is drawn into figure.
Wherein, when user is amplified display, the range of subscriber frame choosing is obtained first, calculates the data within the scope of this Amount recalculates extraction ratio and extracts the maximum value and minimum value extracted in section, be drawn into figure further according to the display scale of window Shape.
When carrying out reduction operation, according to the diminution ratio of setting, new extraction ratio and corresponding display number are calculated According to range;Calculated corresponding display data range again, obtains data from data file;Calculated new extraction ratio again Example, the extraction feature data from the data of acquisition;The data extracted again are drawn into figure.For example, current extraction ratio is 10, The data area of display is 1000~2000, if then reducing 2 times, the ratio that extracts becomes 20 accordingly, data show how much be (2000-1000) * 2=2000;According to different situations, different diminution rules is set, for example, can select to maintain centre data Constant to be reduced, then the data area shown is 500~2500;Can also set backward reduce (especially when data very It is close or when having reached front end, such as 0~1000), at this point, data area is 1000~3000;Correspondingly, can also be forward It reduces.It is, of course, also possible to set the rule of data area translation.The means such as these amplifications, diminution and translation are all existing, sheets Invention determines data indication range by these existing means, and data are extracted from data file according to data indication range, Extraction is carried out according to extraction ratio to show.
In this way, this method has the following advantages that:
Speed is fast.Through actual test, either display or scaling, under the data volume of 2GB, either scaling is still aobvious Show all very smooth, there is no interim card sense.
Key message will not be lost:Due to having carried out the extraction of maximum/minimum value to the data for extracting section, user can be allowed to see Observe catastrophe point.When being amplified, more it is observed that details.
Fig. 4-1 is the display renderings that data extracting display is carried out with graphic processing method provided by the invention;Fig. 4-2 is The display renderings that all data are all shown.From the figure, it can be seen that if all displays, operating personnel will be unable to which is distinguished In be interested data.After extraction, data, which are shown, to be more clear, convenient for analysis.
The formwork style that the present invention is implemented specifically includes the following contents:
First according to user demand and Reporting Requirements, report style is designed
Macrodoce is write, data statistics and drawing are used for.
When user observes and records data, template is called, reads data, is counted by macrodoce and is calculated and draw.
The present invention also provides a kind of graphic processing facilities at computer man-machine interacting interface, including:
Data memory module:For preserving initial data;
Abstraction module:The size for being stored in initial data quantity and display in data memory module is obtained, and calculates pumping Take ratio;According to the ratio of extraction, from extraction data in data memory module and the data of extraction are stored in graphics module;
Graphics module:The data of extraction are subjected to mapping operation.
As a kind of feasible technical solution, according to the ratio of extraction, adjacent a certain number of data should be just extracted One data, then adjacent a certain number of data form a data pick-up group;
The abstraction module includes comparing subunit;Abstraction module extracts two adjacent numbers from data memory module every time According to extraction group and comparing subunit is inputted, comparing subunit selects maximum value from the data that two data pick-up groups are included And minimum value, maximum value and minimum value are respectively stored in graphics module, as the data extracted in two data pick-up groups.
As a kind of feasible technical solution, graphics module further includes data zooming subelement, needs to contract in subscriber frame choosing The drawing area put and when carrying out zoom operations, data zooming subelement selects the number in range computation selection range according to subscriber frame According to amount, display size is calculated according to the scaling of user, and by selection range data volume and calculated display ruler It is very little to be sent to abstraction module.

Claims (9)

1. a kind of graphic processing method at computer man-machine interacting interface, which is characterized in that including step:
1) size of data file size and display is obtained, and calculates extraction ratio;
2) according to the ratio of extraction, the extraction feature data from file;
3) characteristic of extraction is drawn into figure.
2. the graphic processing method at computer man-machine interacting interface as described in claim 1, which is characterized in that in step 1) In, further include step before obtaining data file size:
Data 1A) are saved as into TDMS file formats, as data file.
3. the graphic processing method at computer man-machine interacting interface as described in claim 1, which is characterized in that step 3) it Afterwards, further include step if user is amplified display operation by frame choosing:
4) range for obtaining subscriber frame choosing, calculates the data volume within the scope of this;
5) data volume and display size calculated according to step 4), recalculates extraction ratio;
6) range selected according to subscriber frame in step 4) obtains data from data file, the pumping recalculated according to step 5) Ratio is taken, the extraction feature data from the data of acquisition;
7) characteristic that step 6) is extracted is drawn into figure.
4. the graphic processing method at computer man-machine interacting interface as described in claim 1, which is characterized in that step 3) it Afterwards, further include step if user carries out diminution display operation by frame choosing:
4A) according to the diminution ratio of setting, new extraction ratio and corresponding display data range are calculated;
5A) according to step 4A) calculated corresponding display data range, data are obtained from data file;
6A) according to step 4A) calculated new extraction ratio, from step 5A) extraction feature data in the data that obtain;
7A) by step 6A) data that are extracted are drawn into figure.
5. the graphic processing method at the computer man-machine interacting interface as described in claim 1,3 or 4, which is characterized in that extract The method of characteristic is:If the ratio of extraction is to extract a data in every m data, when extracting data, every 2m For data as one group of extraction, 2 data, 2 data are respectively the maximum value and minimum value per in 2m data;Its Middle m is the natural number not equal to 0.
6. a kind of graphic processing facility at computer man-machine interacting interface, which is characterized in that including:
Data memory module:For preserving initial data;
Abstraction module:Size for obtaining the initial data quantity and display that are stored in data memory module, and calculate pumping Take ratio;According to the ratio of extraction, extraction feature data and the characteristic of extraction drawing is stored in from data memory module In module;
Graphics module:Data for abstraction module to be stored in carry out mapping operation.
7. the graphic processing facility at computer man-machine interacting interface as claimed in claim 6, which is characterized in that abstraction module is taken out The method for taking characteristic is:If the ratio of extraction is to extract a data in every m data, when extracting data, per 2m 2 data of a data pick-up, 2 data are respectively the maximum value and minimum value per in 2m data;Wherein m is not Natural number equal to 0.
8. the graphic processing facility at computer man-machine interacting interface as claimed in claim 6, which is characterized in that graphics module is also Amplifying subelement including data, data amplification subelement is used to obtain the range of subscriber frame choosing, calculates the data volume within the scope of this, And recalculate extraction ratio;The range selected according to subscriber frame obtains data from data file, and according to the pumping recalculated Ratio is taken, the extraction feature data from the data of acquisition;The characteristic of extraction is stored in graphics module, so that graphics module will The characteristic of extraction is drawn into figure.
9. the graphic processing facility at computer man-machine interacting interface as claimed in claim 6, which is characterized in that graphics module is also Reduce subelement including data, data reduce subelement and are used for according to the diminution ratio of setting, calculate new extraction ratio and Corresponding display data range, obtains data, according to new extraction ratio according to corresponding display data range from data file The characteristic of extraction is stored in graphics module by example extraction feature data from the data of acquisition, so that graphics module will extract Characteristic be drawn into figure.
CN201711408110.1A 2017-12-22 2017-12-22 A kind of graphic processing method and device at computer man-machine interacting interface Pending CN108287740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711408110.1A CN108287740A (en) 2017-12-22 2017-12-22 A kind of graphic processing method and device at computer man-machine interacting interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711408110.1A CN108287740A (en) 2017-12-22 2017-12-22 A kind of graphic processing method and device at computer man-machine interacting interface

Publications (1)

Publication Number Publication Date
CN108287740A true CN108287740A (en) 2018-07-17

Family

ID=62832263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711408110.1A Pending CN108287740A (en) 2017-12-22 2017-12-22 A kind of graphic processing method and device at computer man-machine interacting interface

Country Status (1)

Country Link
CN (1) CN108287740A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982820A (en) * 2010-11-22 2011-03-02 北京航空航天大学 Curve display and inquiry method for large data quantity
CN102263559A (en) * 2011-07-26 2011-11-30 昆明理工大学 Long data compression processing method applicable to minitype drawing interface
CN102650936A (en) * 2011-02-23 2012-08-29 蓝盾信息安全技术股份有限公司 Method and system for displaying history curves
US20130219314A1 (en) * 2012-02-18 2013-08-22 Abb Technology Ag Method for adapting the graphic representation on the user interface of a computer user station
CN106776733A (en) * 2016-11-22 2017-05-31 北京航天自动控制研究所 The data staging methods of sampling in data handling system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982820A (en) * 2010-11-22 2011-03-02 北京航空航天大学 Curve display and inquiry method for large data quantity
CN102650936A (en) * 2011-02-23 2012-08-29 蓝盾信息安全技术股份有限公司 Method and system for displaying history curves
CN102263559A (en) * 2011-07-26 2011-11-30 昆明理工大学 Long data compression processing method applicable to minitype drawing interface
US20130219314A1 (en) * 2012-02-18 2013-08-22 Abb Technology Ag Method for adapting the graphic representation on the user interface of a computer user station
CN106776733A (en) * 2016-11-22 2017-05-31 北京航天自动控制研究所 The data staging methods of sampling in data handling system

Similar Documents

Publication Publication Date Title
CN104778241B (en) A kind of report form generation method and system
CN108804513A (en) Automatic visual analysis method for big data platform
CN106598988A (en) Data processing method and device
CN106815125A (en) A kind of log audit method and platform
CN102509001B (en) Method for automatically removing time sequence data outlier point
CN104217004B (en) The monitoring method and device of a kind of database focus of transaction system
CN112560468B (en) Meteorological early warning text processing method, related device and computer program product
US20160210338A1 (en) System for Collaborative Data Analytics for Time Series Data
CN111428978A (en) Subsidy calculation method and device, electronic equipment and storage medium
CN112612664A (en) Electronic equipment testing method and device, electronic equipment and storage medium
CN106126496B (en) A kind of information segmenting method and device
CN108287740A (en) A kind of graphic processing method and device at computer man-machine interacting interface
CN107645564A (en) A kind of CAN message analytic method and its system based on data buffer storage
CN107943912A (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN102866985B (en) For data formatter and the method for on-line analysing processing system
CN106843656A (en) A kind of data display and the method for interaction
CN204759416U (en) Gas production curve is synthesized to gas well and analytic system thereof
CN115794744A (en) Log display method, device, equipment and storage medium
CN103699482A (en) Method and device for testing reasonableness of controls
CN104615844A (en) Test flight data processing method
CN111309835B (en) Processing method, system and equipment for spatial data visualization
CN114238335A (en) Buried point data generation method and related equipment thereof
CN113238742B (en) Direct current control page protection program modification playback method, device, terminal and medium
CN113553256B (en) AB test method and device and electronic equipment
CN103116572B (en) Literary work production period recognition methods and device

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