CN110020019A - A kind of storage of the frequency spectrum data based on bitmap shows system and method - Google Patents

A kind of storage of the frequency spectrum data based on bitmap shows system and method Download PDF

Info

Publication number
CN110020019A
CN110020019A CN201711436579.6A CN201711436579A CN110020019A CN 110020019 A CN110020019 A CN 110020019A CN 201711436579 A CN201711436579 A CN 201711436579A CN 110020019 A CN110020019 A CN 110020019A
Authority
CN
China
Prior art keywords
layer
frequency spectrum
interface
bitmap
data
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
CN201711436579.6A
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.)
Shanghai TransCom Instruments Co Ltd
Original Assignee
Shanghai TransCom Instruments 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 Shanghai TransCom Instruments Co Ltd filed Critical Shanghai TransCom Instruments Co Ltd
Priority to CN201711436579.6A priority Critical patent/CN110020019A/en
Publication of CN110020019A publication Critical patent/CN110020019A/en
Pending legal-status Critical Current

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)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The invention discloses a kind of storages of frequency spectrum data based on bitmap to show system and method, includes physical layer, logical layer and interface layer;Physical layer is used for the explanation of the definition to storage organization;Logical layer is for spectrogram drafting, Waterfall plot drafting and figure reverse resolution at the realization of the Processing Algorithm of data;Interface layer is used to be supplied to the definition of the interface of external call;Exist between logical layer and interface layer between physical layer and logical layer and interacts.The present invention has initial data by fusion in its institute's cut-off frequency spectrogram, can be automatically parsed out by program;Screenshot based on data, and it is not based on interface, keep its independence good, without being overly dependent upon test analysis software;Generation and frequency spectrum data de-parsing to picture have certain normalization;It can be integrated into service, versatility is good, and B/S and C/S are general;The data redundancy in bitmap number is effectively used.

Description

A kind of storage of the frequency spectrum data based on bitmap shows system and method
Technical field
The present invention relates to radio monitoring technical field, the storage of specifically a kind of frequency spectrum data based on bitmap, which shows, is System and method.
Background technique
In radio monitoring technology, can often be related to will be in document or report to the graphical representation of frequency spectrum data, this Spectrogram in this document passes through the operation screenshot to graphical frequency spectrum control in monitoring or analysis software.These screenshots Initial data and the software of pairing is needed to carry out authenticity and verification of correctness.It is clear that the separation of screenshot and data, makes It must verify and need cost.The Aspect Ratio of stretching, the display of the presentation mode, control of UI, screenshot regional location etc. all can be at To influence the factor of screenshot to make bitmap change.
Present spectrogram screenshot, in addition to carrying screenshot or third party's screenshot tool interception correlation by operating system by hand Outside the interface of software, mainly pass through the screenshot to the frequency spectrum control progress frequency spectrum contained in UI in code.Traditional frequency spectrum Figure screenshot defect: the screenshot based on UI or control is big to software interface dependence;Cumbersome, the result meeting of screenshot is compared in operation Because there are inconsistencies for various factors;There are loss of data caused by original image lossy compression;Find the original number with institute screenshot According to relatively difficult;The needs such as the source to screenshot, authenticity are needed in addition to provide data supporting, it is inconvenient to use;Screenshot lacks Specification, it appears pattern is more, disunity.
Therefore, for the above status, there is an urgent need to develop a kind of storage of frequency spectrum data based on bitmap show system and Method, to overcome the shortcomings of in currently practical application.
Summary of the invention
The purpose of the present invention is to provide a kind of storages of frequency spectrum data based on bitmap to show system and method, to solve The problems mentioned above in the background art.
To achieve the above object, the invention provides the following technical scheme:
A kind of storage of the frequency spectrum data based on bitmap shows system, includes physical layer, logical layer and interface layer, described Physical layer is used for the explanation of the definition to storage organization;The logical layer is based on storage organization and generates to coordinate system, is used for frequency spectrum Drafting, Waterfall plot drafting and figure reverse resolution are schemed into the realization of the Processing Algorithm of data;The interface layer is outer for being supplied to The description how definition for the interface that portion is called, the main explanation comprising interface parameters and interface call;It the physical layer and patrols It collects to exist between logical layer and interface layer between layer and interact.
As a further solution of the present invention: the bitmap file of the physical layer include bitmap file head, message bit pattern head, Color table and the array of bytes for defining bitmap.
As a further solution of the present invention: the interface layer saves frequency spectrum picture by frequency spectrum data for being supplied to user Interface, and be supplied to the interface that user is converted into frequency spectrum data by frequency spectrum picture.
A kind of storage of the frequency spectrum data based on bitmap shows method, and the algorithm steps of logical layer are as follows:
S1, picture structure initialization;
S2, coordinate system creation;
S3, the storage of parameter;
S4 is parsed and is got parms;
S5, the storage of spectrum amplitude value;
S6 is parsed and is obtained spectrum amplitude data;
S7, the drafting of reference axis, scale;
S8, the drafting of spectrogram;
S9, unserializing frequency spectrum data;
S10, the filling of background colour;
S11 is stored as frequency spectrum data file to external memory;
S12 is stored as bmp file to external memory.
Compared with prior art, the beneficial effects of the present invention are:
1) there is initial data by fusion in its institute's cut-off frequency spectrogram, can be automatically parsed out by program;
2) based on the screenshot of data, and it is not based on interface, keeps its independence good, it is soft without being overly dependent upon test analysis Part;
3) there is certain normalization to the generation of picture and frequency spectrum data de-parsing;
4) it can be integrated into service, versatility is good, and B/S and C/S are general;
5) data redundancy in bitmap number has effectively been used.
Detailed description of the invention
Fig. 1 is system block diagram of the invention.
Fig. 2 is the process for using figure for generating spectrogram interface.
Fig. 3 is the process for using figure for generating frequency spectrum data interface.
Fig. 4 is the flow chart that logical layer generates spectrogram.
Fig. 5 is the flow chart that logical layer obtains frequency spectrum data.
Fig. 6 is the spectrum diagram based on bitmap.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Please referring to Fig. 1~6, in the embodiment of the present invention, a kind of storage of the frequency spectrum data based on bitmap shows system, including There are physical layer 1, logical layer 2 and interface layer 3, the physical layer 1 is used for the explanation of the definition to storage organization;The logical layer 2 Coordinate system is generated based on storage organization, for spectrogram drafting, Waterfall plot drafting and figure reverse resolution at the place of data etc. The realization of adjustment method;The interface layer 3 is used to be supplied to the definition of the interface of external call, and main includes the explanation of interface parameters The description how called with interface;Exist between logical layer 2 and interface layer 3 between the physical layer 1 and logical layer 2 mutual Interaction.
In the present embodiment, physical layer 1 is the structure of bitmap.Bitmap file can be regarded as to be made of 4 parts: bitmap file Head (bitmap-file header), message bit pattern head (bitmap-information header), color table (color Table) and define bitmap array of bytes, it have the form as shown in the following table 1 and 2:
Table 1- Bitmap Structure
Table 2- Bitmap Structure synopsis
Spectrogram based on bitmap, to the agreement of bitmap in storage:
1) image is using the very color bitmap of 24bit;
2) picture altitude is n (n is natural number, default value 1) times+Y-coordinate viewing area+1 of 225pixel;
3) width of image is n (n is natural number, default value 1) times+X-coordinate viewing area+1 of the range value points of frequency spectrum;
4) image pixel data first row is used to store the relevant parameter of frequency spectrum and drawing;
Parameters structure definition are as follows:
Table 3- rendering parameter
5) range value of image pixel data last line storage frequency spectrum data is (if n frame frequency modal data will be stored, finally N row stores frequency spectrum data);
6) pixel region of image divides are as follows: parameter region, ordinate draw area, spectrogram draws area, range value area and cross Coordinate draws area;
In the present embodiment, logical layer 2 provides following algorithm operating:
S1, picture structure initialization;
S2, coordinate system creation;
S3, the storage of parameter;
S4 is parsed and is got parms;
S5, the storage of spectrum amplitude value;
S6 is parsed and is obtained spectrum amplitude data;
S7, reference axis, the drafting of scale;
S8, the drafting of spectrogram;
S9, unserializing frequency spectrum data;
S10, the filling of background colour;
S11 is stored as frequency spectrum data file to external memory;
S12 is stored as bmp file to external memory.
In the present embodiment, interface layer 3:
1) it is supplied to the interface that user is saved frequency spectrum picture by frequency spectrum data, the picture of generation can be with the difference according to parameter And change, parameter is as shown in table 3.
2) it is supplied to user and the interface of frequency spectrum data is converted by frequency spectrum picture (this technology generate picture), parameter can be with It is the data flow of picture file name either picture structure.
Compared with prior art, the beneficial effects of the present invention are:
1) there is initial data by fusion in its institute's cut-off frequency spectrogram, can be automatically parsed out by program;
2) based on the screenshot of data, and it is not based on interface, keeps its independence good, it is soft without being overly dependent upon test analysis Part;
3) there is certain normalization to the generation of picture and frequency spectrum data de-parsing;
4) it can be integrated into service, versatility is good, and B/S and C/S are general;
5) data redundancy in bitmap number has effectively been used.
The above are merely the preferred embodiment of the present invention, it is noted that for those skilled in the art, not Under the premise of being detached from present inventive concept, several modifications and improvements can also be made, these also should be considered as protection model of the invention It encloses, these all will not influence the effect and patent practicability that the present invention is implemented.

Claims (4)

  1. It include physical layer, logical layer and interface layer, feature 1. a kind of storage of the frequency spectrum data based on bitmap shows system It is, the physical layer is used for the explanation of the definition to storage organization;The logical layer is based on storage organization and generates to coordinate system, For spectrogram drafting, Waterfall plot drafting and figure reverse resolution at the realization of the Processing Algorithm of data;The interface layer is used for It is supplied to the definition of the interface of external call, the description that mainly how the explanation comprising interface parameters and interface call;The object Exist between logical layer and interface layer between reason layer and logical layer and interacts.
  2. 2. the storage of the frequency spectrum data according to claim 1 based on bitmap shows system, which is characterized in that the physics The bitmap file of layer includes bitmap file head, message bit pattern head, color table and the array of bytes for defining bitmap.
  3. 3. the storage of the frequency spectrum data according to claim 1 based on bitmap shows system, which is characterized in that the interface Layer is used to be supplied to user and saves the interface of frequency spectrum picture by frequency spectrum data, and is supplied to user and is converted into frequency by frequency spectrum picture The interface of modal data.
  4. 4. a kind of storage of the frequency spectrum data based on bitmap shows method, which is characterized in that the algorithm steps of logical layer are as follows:
    S1, picture structure initialization;
    S2, coordinate system creation;
    S3, the storage of parameter;
    S4 is parsed and is got parms;
    S5, the storage of spectrum amplitude value;
    S6 is parsed and is obtained spectrum amplitude data;
    S7, the drafting of reference axis, scale;
    S8, the drafting of spectrogram;
    S9, unserializing frequency spectrum data;
    S10, the filling of background colour;
    S11 is stored as frequency spectrum data file to external memory;
    S12 is stored as bmp file to external memory.
CN201711436579.6A 2017-12-26 2017-12-26 A kind of storage of the frequency spectrum data based on bitmap shows system and method Pending CN110020019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711436579.6A CN110020019A (en) 2017-12-26 2017-12-26 A kind of storage of the frequency spectrum data based on bitmap shows system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711436579.6A CN110020019A (en) 2017-12-26 2017-12-26 A kind of storage of the frequency spectrum data based on bitmap shows system and method

Publications (1)

Publication Number Publication Date
CN110020019A true CN110020019A (en) 2019-07-16

Family

ID=67187138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711436579.6A Pending CN110020019A (en) 2017-12-26 2017-12-26 A kind of storage of the frequency spectrum data based on bitmap shows system and method

Country Status (1)

Country Link
CN (1) CN110020019A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461283A (en) * 2014-11-18 2015-03-25 小米科技有限责任公司 Network view screen shooting method and device and electronic device
CN105516311A (en) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 Electronic map panorama acquisition method and system
CN106412691A (en) * 2015-07-27 2017-02-15 腾讯科技(深圳)有限公司 Interception method and device of video images
CN106527892A (en) * 2016-11-04 2017-03-22 惠州Tcl移动通信有限公司 Screen capture method and system for electronic device
CN106960062A (en) * 2017-04-12 2017-07-18 四川九鼎瑞信软件开发有限公司 Webpage capture method and system
CN107292940A (en) * 2017-03-05 2017-10-24 杭州趣维科技有限公司 A kind of method for drafting of real-time music spectral vector figure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461283A (en) * 2014-11-18 2015-03-25 小米科技有限责任公司 Network view screen shooting method and device and electronic device
CN106412691A (en) * 2015-07-27 2017-02-15 腾讯科技(深圳)有限公司 Interception method and device of video images
CN105516311A (en) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 Electronic map panorama acquisition method and system
CN106527892A (en) * 2016-11-04 2017-03-22 惠州Tcl移动通信有限公司 Screen capture method and system for electronic device
CN107292940A (en) * 2017-03-05 2017-10-24 杭州趣维科技有限公司 A kind of method for drafting of real-time music spectral vector figure
CN106960062A (en) * 2017-04-12 2017-07-18 四川九鼎瑞信软件开发有限公司 Webpage capture method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
穆宗学等: "《Visual C++4.2编程实践指要》", 《中国铁道出版社》, pages: 170 - 171 *

Similar Documents

Publication Publication Date Title
CN106527892B (en) Screen capturing method and system of electronic equipment
US10067349B2 (en) Method of adapting a virtual reality helmet
KR102498598B1 (en) Image processing apparatus and method for image processing thereof
US9875519B2 (en) Overlap aware reordering of rendering operations for efficiency
CN101652742A (en) Remoting of windows presentation framework based applications in a non-composed desktop
CN105512265A (en) Method and device for displaying data through figure
US20190340726A1 (en) Projection image construction method and device
CN109101233B (en) Method for adapting to multiple screen resolutions, storage device and android device
CN106855798A (en) A kind of method to set up of interface element property value, device and smart machine
US20210327093A1 (en) Image processing method of virtual reality and apparatus thereof
CN103413344A (en) 3D frame animation realization method, device and terminal
US20200294177A1 (en) Systems and methods for providing a visible watermark in a remote session
CN106814933B (en) Window shade display methods and device
CN105808184B (en) The method, apparatus of display Android 2D application image and a kind of helmet
US8854385B1 (en) Merging rendering operations for graphics processing unit (GPU) performance
CN110765384A (en) Resolution adaptation method of client, storage medium and terminal
CN110020019A (en) A kind of storage of the frequency spectrum data based on bitmap shows system and method
CN106658107A (en) Multi-path multi-mode image display method
CN103077697B (en) A kind of cloud displayer supporting the full frame display of the dynamic convergent-divergent of picture
CN108399058A (en) A kind of signal display control method and device
CN105679347A (en) Method and apparatus for making video file through programming process
CN106296757A (en) A kind of image processing method and device
CN102750736B (en) A kind of method and system of drawing three-dimensional earth administrative region
CN108427544B (en) single-screen and double-screen application switching method and interface
CN106503070B (en) A kind of engine test data three-dimensional Waterfall plot method for reconstructing

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