CN102981806A - Situation display area high-speed refreshing technique and implementation method thereof based on video memory pond - Google Patents
Situation display area high-speed refreshing technique and implementation method thereof based on video memory pond Download PDFInfo
- Publication number
- CN102981806A CN102981806A CN2012104372216A CN201210437221A CN102981806A CN 102981806 A CN102981806 A CN 102981806A CN 2012104372216 A CN2012104372216 A CN 2012104372216A CN 201210437221 A CN201210437221 A CN 201210437221A CN 102981806 A CN102981806 A CN 102981806A
- Authority
- CN
- China
- Prior art keywords
- video memory
- memory pond
- situation
- data
- viewing area
- 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
Links
Images
Abstract
The invention relates to a situation display area high-speed refreshing technique and an implementation method of the situation display area high-speed refreshing technique based on a video memory pond. The method is mainly suitable for terminal equipment which can directly control a graphics process unit (GPU) to work, a high-speed refreshing effect in a situation display area is achieved by greatly reducing transportation quantity of data from an internal storage to a display card and by reducing data processing capacity of a central processing unit (CPU). The implementation procedure of the method comprises the steps of establishing the video memory pond which can cache the display content of a whole interface area and display processing task which is achieved by the CPU is handed to the GPU (display processing: translating display unit input data into data which can be displayed directly by the display card), the GPU logs target data into the video memory pond after finishing the display processing task and switches the data in the video memory pond into a digital simulation converter when a refreshing occurs, wherein the data in the video memory pond is displayed by the digital simulation converter. According to the situation display area high-speed refreshing technique and the implementation method of the situation display area high-speed refreshing technique based on the video memory pond, data transmission quantity from the internal storage to the display card is reduced and the display processing task of the CPU is canceled, refreshing task in the situation display area occupies less CPU resource and high-speed refreshing effect is achieved.
Description
Technical field
The invention belongs to the real-time refresh technique of situation apt to change viewing area.Employing is carried out the realization of Graphics Processing task technology based on the GPU in video memory pond, and the method by a large amount of minimizings data volume of transporting from the internal memory to the video memory and the Graphics Processing task of cancelling the CPU execution realizes that the high speed of situation viewing area refreshes.
Background technology
Along with the development of science and technology, electronic equipment need show that with multi-form integrated video terminal the task of control is more and more, and wherein the number of computer system is fewer and feweri, people to the situation viewing area to refresh in real time the requirement of proposing also more and more higher.
The target that the situation viewing area need to show in the equipment such as electronic warfare is from original tens, tens till now up to a hundred, hundreds of even thousands of, and adding the display units (the basic division unit that needs displaying contents) such as azimuth scale line, position line (dividing the boundary line of orientation zone), detection zone (showing that this zone internal object detects or do not detect) all needs to refresh in real time.Because need the content of demonstration many, the probability that intersects between display unit improves greatly.If adopt the method realization situation viewing area of only upgrading variation targets or other display units to refresh, the problem that the cross section display effect is unusual between display unit will be very obvious.And owing to the increase of the display unit quantity of upgrading along with needs, the speed that adopts this method to refresh can not meet the demands.
Aspect the refresh technique of situation viewing area, the method that the designer can only adopt regularly whole situation viewing area to refresh overcomes problem above-mentioned.Namely calculate each graphic element by CPU, result is deposited in the memory pool, then display data transmissions in the memory pool is arrived video card, show by digital to analog converter.But the method for refreshing of this periodic refreshing situation viewing area based on memory pool takies a large amount of resources for computer system (mainly being the CPU time resource), and other tasks almost can't obtain the CPU time resource.Its former because: refresh CPU at every turn and all will carry out the Graphics Processing task, and mass data is transported to the video memory from internal memory.
Propose a kind of situation district high speed refresh technique based on the video memory pond among the present invention, can guarantee that the situation viewing area refresh under the prerequisite of real-time, greatly reduce the time resource that the computer system that task takies is refreshed in the situation viewing area.
Summary of the invention
The object of the present invention is to provide a kind of situation viewing area refresh technique and its implementation based on the video memory pond.This invention can be in the situation that not affect the normal operation of real-time system, guarantee the situation viewing area refresh in real time and can vacant a large amount of CPU time resources.
The technical solution that realizes the object of the invention is: the ratio (Graphics Processing: display unit is changed into the data that video card can directly show according to the input data) of at first calculating input data and output data when situation viewing area display unit carried out Graphics Processing.Calculate the space that frame circle shows that data need to take, open up the video memory pond.
For the input data volume of the situation viewing area Graphics Processing characteristics much smaller than output data quantity, and each refreshing content variable quantity is the characteristics of the very little part in whole viewing area.Adopt GPU directly to carry out the Graphics Processing task, the result data deposit the video memory pond in according to array of display.Realize refreshing by the GPU mode that directly the reading displayed data send digital to analog converter to show from the video memory pond.
Because when indication control board situation viewing area was refreshed, the input data of Graphics Processing accounted for the ratio very little (less than 5%) of output data; And by the data rate of carrying data in video memory pond to digital to analog converter, transfer data to the speed of digital to analog converter much larger than internal memory; So refresh rate based on the situation viewing area refresh technique in video memory pond, can be far above the refresh rate (adopt CPU to process and memory cache result data, carry out the method that the situation viewing area is refreshed) based on the situation viewing area refresh technique of memory pool.
The present invention has realized this algorithm and has been applied to engineering reality at the embedded real-time operating system platform.Application conditions is that the display unit that refreshes in real time is mainly: the 100 batches of targets, 5 rings (apart from the mark ring), 360 azimuth scale lines, 12 position line, 700 characters.Application result is: adopting memory pool method situation viewing area to refresh tasks carrying once needs the 95ms of being not more than consuming time, and the situation viewing area of employing video memory pond method is refreshed tasks carrying once needs 3ms to 4ms consuming time.
The present invention compared with prior art, its remarkable advantage is: adopt the situation viewing area refresh technique based on the video memory pond, can be indication control board computer system saving a large amount of cpu system time.That not only can realize the situation viewing area refreshes task in real time, and can be under the prerequisite of the real-time that does not affect system a large amount of other tasks of multiprocessing.Not only well realize the real-time refresh function of situation viewing area, and can incorporate a large amount of other demonstration control tasks into same computer system processor.So not only can economize on the use of funds and the space, and can improve the reliability of whole large system.The method has good, the with low cost characteristics of real-time.Its proposition and Project Realization are haveing highly application value aspect the aobvious control techniques in the fields such as scouting, electronic warfare.
Below in conjunction with accompanying drawing the present invention is described in further detail.
Description of drawings
Fig. 1 is based on the situation viewing area in video memory pond and refreshes workflow diagram.
Fig. 2 is based on the situation viewing area in video memory pond and refreshes the work synoptic diagram.
The system CPU timeslice was distributed synoptic diagram when Fig. 3 was the situation refresh technique that adopts based on the video memory pond.
Embodiment
The present invention is based on situation viewing area high speed refresh technique and its implementation in video memory pond, and the implementation step is (referring to accompanying drawing 1):
1. find in the current real-time system each task to CPU time sheet resource occupation chart by WDB, refresh tasks carrying by extraction system Time Method calculating situation viewing area and once take the CPU duration, statistics situation viewing area task is to the occupancy of system time resource;
Type and the data volume of the display unit that 2. shows according to situation viewing area needs, statistics Graphics Processing task data input quantity and output quantity are if the input data volume is much smaller than output data quantity then be fit to adopt the present invention;
3. open up an amount of video memory pond.The volume that need to open up the video memory pond is the figure place ÷ 8 of the pixel count in (byte)=interface display district * each pixel Show Color;
4. the Graphics Processing task is turned by GPU and realize, and Output rusults is deposited in the video memory pond of opening up according to the matrix sequence that shows;
5. ought receive that refresh command adopts GPU to process function and realizes, namely directly send result in the video memory pond digital to analog converter to show.
In the refresh process of situation viewing area, GPU can be directly from the video memory pond reading out data show; Only need to process the situation viewing area and refresh the graphic element that need repaint, and the content of other viewing areas does not need again to process owing to do not need to repaint in a large number.The Graphics Processing task that next has cancelled CPU directly adopts GPU to realize that CPU only need to get final product the input data transmission of situation viewing area refreshing content to GPU; Only need to show to digital to analog converter from video memory pond carrying displaying contents when situation refreshes like this, and do not need from the memory pool transmission to show that in a large number data show to digital to analog converter, can save a large amount of cpu system times (because the data rate from the internal memory to the video memory is much smaller than the data rate from the video memory to the video memory).Reach remarkable reduction situation viewing area by above two processes and refreshed the effect that task takies the CPU time resource.
A large amount of reduction situation viewing area is refreshed consuming time, can solution emit the plenty of time resource for the treatment of other tasks.Thereby under the prerequisite that does not affect system real time, realize merging other and show that control task in this computer system, reduces hardware resource, improve whole large-scale.
Situation viewing area high speed refresh technique and its implementation based on the video memory pond have been successfully applied to certain type radar system, and the method can in the situation that does not affect the normal operation of original system, can make the utilization rate of CPU drop to 19% from 85%.
Claims (3)
1. situation viewing area high speed method for refreshing based on the video memory pond is characterized in that: adopt the demonstration method for refreshing based on the video memory pond, directly use GPU to realize Graphics Processing, result deposits the video memory pond in; The input data volume of Graphics Processing is less than output data quantity; Send digital to analog converter to show by the video memory pond, substitute and transfer data to the method that digital to analog converter shows from internal memory.
2. realize it is characterized in that the situation viewing area high speed method for refreshing based on the video memory pond claimed in claim 1 for one kind: require to be not less than 10 times/second in situation viewing area refreshing frequency, other viewing areas are refreshed in the situation that requirement is lower than situation viewing area 1% and are realized.
3. realize the situation viewing area high speed method for refreshing based on the video memory pond claimed in claim 1 for one kind, it is characterized in that: realizing based on the embedded real-time operating system platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104372216A CN102981806A (en) | 2012-11-05 | 2012-11-05 | Situation display area high-speed refreshing technique and implementation method thereof based on video memory pond |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104372216A CN102981806A (en) | 2012-11-05 | 2012-11-05 | Situation display area high-speed refreshing technique and implementation method thereof based on video memory pond |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102981806A true CN102981806A (en) | 2013-03-20 |
Family
ID=47855877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012104372216A Pending CN102981806A (en) | 2012-11-05 | 2012-11-05 | Situation display area high-speed refreshing technique and implementation method thereof based on video memory pond |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102981806A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017035813A1 (en) * | 2015-09-02 | 2017-03-09 | 华为技术有限公司 | Data access method, device and system |
CN108415667A (en) * | 2018-01-31 | 2018-08-17 | 惠州华阳通用电子有限公司 | A kind of audio file loading method |
CN108663662A (en) * | 2018-03-06 | 2018-10-16 | 中国船舶重工集团公司第七二四研究所 | Radar video signal entirety periodic refreshing textures display methods based on GPU |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6215645A (en) * | 1985-07-15 | 1987-01-24 | Toshiba Corp | Central processing unit |
-
2012
- 2012-11-05 CN CN2012104372216A patent/CN102981806A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6215645A (en) * | 1985-07-15 | 1987-01-24 | Toshiba Corp | Central processing unit |
Non-Patent Citations (2)
Title |
---|
YNHNZP: "《360doc个人图书馆》", 8 October 2011 * |
成都蓉奥科技有限公司: "《www.eyextent.com/news_xzkt.htm》", 26 April 2012 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017035813A1 (en) * | 2015-09-02 | 2017-03-09 | 华为技术有限公司 | Data access method, device and system |
CN108415667A (en) * | 2018-01-31 | 2018-08-17 | 惠州华阳通用电子有限公司 | A kind of audio file loading method |
CN108663662A (en) * | 2018-03-06 | 2018-10-16 | 中国船舶重工集团公司第七二四研究所 | Radar video signal entirety periodic refreshing textures display methods based on GPU |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11106261B2 (en) | Optimal operating point estimator for hardware operating under a shared power/thermal constraint | |
US20190340491A1 (en) | Scalable neural network processing engine | |
US9177534B2 (en) | Data transmission for display partial update | |
CN104036451A (en) | Parallel model processing method and device based on multiple graphics processing units | |
CN104035751A (en) | Graphics processing unit based parallel data processing method and device | |
CN102209205B (en) | Video overlapping display device for television tracker | |
CN107291901A (en) | Main passive combination obtains method, system, equipment and the storage medium of air ticket data | |
CN104050033A (en) | System and method for hardware scheduling of indexed barriers | |
CN103995684A (en) | Method and system for synchronously processing and displaying mass images under ultrahigh resolution platform | |
US20140028702A1 (en) | Indication of off-screen calendar objects | |
US11610563B2 (en) | Location-based display of pixel history | |
CN102981806A (en) | Situation display area high-speed refreshing technique and implementation method thereof based on video memory pond | |
WO2023160282A1 (en) | Display rendering method and apparatus, electronic device and readable storage medium | |
CN106548500A (en) | A kind of two-dimension situation image processing method and device based on GPU | |
CN112433814A (en) | Local mirror image warehouse management method, device and system | |
CN110908929B (en) | Coherent data cache for high bandwidth scaling | |
CN106326186A (en) | System on chip, graph drawing method, intermediate layer and embedded equipment | |
CN114219697B (en) | Moving target real-time thermodynamic diagram generation method based on CUDA | |
US20230043152A1 (en) | Memory interface with reduced energy transmit mode | |
CN101930713A (en) | Storage unit framework of display device and reading method thereof | |
CN112560928B (en) | Negative sample mining method and device, electronic equipment and storage medium | |
US9530177B2 (en) | Layer access method, data access device and layer access arrangement method | |
CN103049246A (en) | Method and system for identification continuity of array data elements | |
CN103543975B (en) | Cloud computing terminal display optimization method and system based on RDP agreement | |
JPS61133482A (en) | Multiprocessor for graphic display |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C05 | Deemed withdrawal (patent law before 1993) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130320 |