CN104156192B - A kind of display methods and system of magnanimity bayonet socket data - Google Patents
A kind of display methods and system of magnanimity bayonet socket data Download PDFInfo
- Publication number
- CN104156192B CN104156192B CN201410421727.7A CN201410421727A CN104156192B CN 104156192 B CN104156192 B CN 104156192B CN 201410421727 A CN201410421727 A CN 201410421727A CN 104156192 B CN104156192 B CN 104156192B
- Authority
- CN
- China
- Prior art keywords
- picture
- data
- space
- memory pool
- pool space
- 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.)
- Expired - Fee Related
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a kind of display methods and system of magnanimity bayonet socket data, and the communication of program and data, services is shown for reducing, and reduces and shows the time, improves system effectiveness.Present invention method includes:When being shown to bayonet socket data, the related data of video memory pool space, internal memory pool space with whether there is the first picture in hard drive space is searched successively, the bayonet socket data that first picture shows for needs, when being stored with the related data of first picture in the video memory pool space, internal memory pool space or hard drive space, first picture is shown according to the related data of first picture, the bayonet socket data for needing to show no longer directly are obtained from server.
Description
Technical field
The present invention relates to display field, more particularly to a kind of display methods and system of magnanimity bayonet socket data.
Background technology
With the development of national road infrastructure construction, almost each big and medium-sized cities deploy bayonet system.Bayonet socket
System is to take car to each passing automobile using advanced photoelectric technology, image processing techniques, mode identification technology
Image, and automatically identify the licence plate of vehicle, the information data of the vehicle collected is maintained in server database
In.Because wagon flow quantity is big, the image data preserved in bayonet system is extremely huge, monthly reaches T or bigger level
Not.In order to preferably carry out the display of big data, the spelling of ultrahigh resolution is commonly equipped with the monitoring of bayonet socket or command centre
Wall is connect, the display of a large amount of bayonet socket data is carried out using the characteristic of the big resolution ratio of wall.
When the operating personnel of command centre want to check the data of some bayonet socket, can utilize combination display software from
Bayonet socket data server obtains data, then shows on the wall.Because data are stored in data server, also just say
Display software on the server and combination is the different nodes under distributed environment, and data communication is to pass through computer network
Carry out.
Need frequently to carry out request of data and renewal display in actual applications, for example certain moment needs to check bayonet socket
A T1 period datas, it is assumed that have 1000 bayonet socket pictures, it is meant that display program and service routine need to carry out 1000 pictures
Data transfer, carry out the picture of 1000 times again afterwards and show, another moment needs to check bayonet socket A T2 period datas, T1
Have a common factor with T2, and system still needs to re-request and display data, and by network transmission mass data be clearly one very
Time-consuming operation.
The content of the invention
The embodiments of the invention provide a kind of display methods and system of magnanimity bayonet socket data, for reduce show program and
The communication of data, services, reduce and show the time, improve system effectiveness.
A kind of display methods of magnanimity bayonet socket data, including:
When needing to show the first picture, display system obtains the mark of first picture, first figure
Piece is the bayonet socket data for being currently needed for display;
The display system according to the mark of first picture, search successively video memory pool space, internal memory pool space with it is hard
It whether there is the related data of first picture in disk space, the related data of first picture is in the video memory pool space
For the data texturing of first picture, the related data of first picture is first picture in the internal memory pool space
Decoding data, the related data of first picture is the source data of first picture in the hard drive space;
If the related data of first picture in the video memory pool space, internal memory pool space or hard drive space be present,
The display system shows first picture according to the related data of first picture;
If the dependency number of first picture is all not present in the video memory pool space, internal memory pool space and hard drive space
According to then the display system is from the source data of the first picture described in data server requests, according to the source number of first picture
According to display first picture.
A kind of display system, including:
Acquisition module, for when needing to show the first picture, obtain the mark of first picture, described the
One picture is the bayonet socket data for being currently needed for display;
Searching modul, for the mark according to first picture, search successively video memory pool space, internal memory pool space with it is hard
It whether there is the related data of first picture in disk space, the related data of first picture is in the video memory pool space
For the data texturing of first picture, the related data of first picture is first picture in the internal memory pool space
Decoding data, the related data of first picture is the source data of first picture in the hard drive space;
Request module, for when in the video memory pool space, internal memory pool space and hard drive space all be not present described first
During the related data of picture, from the source data of the first picture described in data server requests, it is saved in hard drive space;
Display module, for when first picture in the video memory pool space, internal memory pool space or hard drive space being present
Related data when, first picture is shown according to the related data of first picture.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:Shown to bayonet socket data
When, the related data of video memory pool space, internal memory pool space with whether there is the first picture in hard drive space is searched successively, and this first
Picture is needs the bayonet socket data that show, when being stored with first figure in the video memory pool space, internal memory pool space or hard drive space
During the related data of piece, first picture is shown according to the related data of first picture, no longer directly being obtained from server needs
The bayonet socket data to be shown, hard disk, internal memory and video card resource are taken full advantage of, reduce the communication with data, services, avoid
By the waste of a large amount of bayonet socket data versus times of network transmission, further, if data texturing be present in video memory pool space,
Not only save from data server obtain source data time, also save by source data be decoded as decoding data time and
Decoding data is converted into the time of data texturing, if there are data in memory pool, saves from data server and obtains source
The time of data and the time that source data is decoded as to decoding data, even if being stored in internal memory or hard relative to by image data
In disk, the display time is also greatly reducing, improves system effectiveness.
Brief description of the drawings
Fig. 1 is one schematic flow sheet of display methods of magnanimity bayonet socket data in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of the display methods of magnanimity bayonet socket data in the embodiment of the present invention;
Fig. 3 is one structural representation of display system in the embodiment of the present invention;
Fig. 4 is another structural representation of display system in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, display methods one embodiment of magnanimity bayonet socket data includes in the embodiment of the present invention:
101st, when needing to show the first picture, display system obtains the mark of first picture;
The bayonet socket data preserved in bayonet system include the image data of the different time shooting of magnanimity, when some
Carve, it may be necessary to the picture of one of them period is shown, represents to be currently needed for the card shown using the first picture
Mouth data, when needing to show first picture, display system obtains the mark of first picture;
It is understood that first picture can represent to need the pictures shown, can also represent to be currently needed for
The part of display or all pictures (such as 1000), are not construed as limiting herein, and need that how many pictures shown, just obtain more
The mark of few pictures, the mark of each picture uniquely determine the picture in the bayonet socket data of bayonet system.
102nd, the display system searches video memory pool space, internal memory pool space successively according to the mark of first picture
Related data with whether there is first picture in hard drive space;
After display system gets the mark of first picture, according to the mark of first picture, video memory is searched successively
The related data of pool space, internal memory pool space with whether there is first picture in hard drive space, the phase of first picture
Data texturing of the data in the video memory pool space for first picture is closed, the related data of first picture is described interior
The decoding data that pool space is first picture is deposited, the related data of first picture is described in the hard drive space
The source data of first picture.
Wherein, video memory pool space, internal memory pool space are searched successively with whether there is first picture in hard drive space
Related data, it is specially:
First according to the mark of first picture, the data texturing that whether there is first picture in video memory pool space is searched;
If the data texturing of first picture in video memory pool space be present, step 103 is performed;
If the data texturing of first picture is not present in video memory pool space, further according to the mark of first picture, look into
Look in internal memory pool space and whether there is the decoding data of first picture;
If the decoding data of first picture in internal memory pool space be present, step 103 is performed;
If the decoding data of first picture is not present in internal memory pool space, finally according to the mark of first picture,
Search the source data that whether there is first picture in hard drive space;
If the source data of first picture in hard drive space be present, step 103 is performed;
If the source data of first picture is not present in hard drive space, it is determined that video memory pool space, internal memory pool space with it is hard
The related data of first picture is all not present in disk space, performs step 104.
It is understood that according to above-mentioned looked-up sequence, appoint in above-mentioned video memory pool space, internal memory pool space or hard drive space
The related data of first picture is there are in one space can determine video memory pool space, internal memory pool space or hard drive space
The middle related data in the presence of first picture, step 103 can be directly performed, and no longer need to continue to search for rear space, example
If finding the related data of first picture in video memory pool space, then internal memory pool space or hard drive space are no longer needed
Middle lookup, step 103 can be directly performed, certainly, in actual applications, according to actual conditions, such as in order to prevent data from losing
Lose, data are imperfect etc., it can continue to search, then other operations are carried out, it is not construed as limiting herein.
103rd, the display system shows first picture according to the related data of first picture;
When display system is determined in video memory pool space, internal memory pool space or hard drive space in the presence of the dependency number of first picture
According to when, the display system shows first picture according to the related data of first picture.
104th, the display system is from the source data of the first picture described in data server requests, according to first picture
Source data show first picture.
When display system determines the phase of video memory pool space, internal memory pool space with first picture is all not present in hard drive space
When closing data, the display system is from the source data of data server requests first picture, according to the source data of first picture
Show first picture.
In the embodiment of the present invention, when being shown to bayonet socket data, search successively video memory pool space, internal memory pool space with
It whether there is the related data of the first picture in hard drive space, first picture is needs the bayonet socket data shown, when the video memory
When being stored with the related data of first picture in pool space, internal memory pool space or hard drive space, according to the phase of first picture
Close data and show first picture, the bayonet socket data for needing to show no longer directly are obtained from server, take full advantage of hard disk, it is interior
Deposit and video card resource, reduce the communication with data, services, avoid the wave by a large amount of bayonet socket data versus times of network transmission
Take, further, if data texturing be present in video memory pool space, not only save from data server and obtain source data
Time, the time that source data is decoded as the time of decoding data and decoding data is converted into data texturing is also saved, such as
There are data in fruit memory pool, then save and obtain the time of source data from data server and source data is decoded as decoding data
Time, even if being stored in relative to by image data in internal memory or hard disk, also greatly reducing display the time, improve system
System efficiency.
In above example, display system searches video memory pool space, internal memory pool space and hard drive space successively, actually should
In, the display system can first set or apply video memory pool space, internal memory pool space and hard drive space, also, search the
After the related data of one picture, the display system can carry out different places to the related data according to the difference of related data
Reason, the display methods of the magnanimity bayonet socket data in the embodiment of the present invention is specifically described below, referring to Fig. 2, of the invention
Another embodiment of the display methods of magnanimity bayonet socket data includes in embodiment:
201st, display system sets or applied video memory pool space, internal memory pool space and hard drive space;
Before being shown to bayonet socket data, display system can first set or apply video memory pool space, internal memory pool space
With hard drive space, its specific steps can be:
1), one section of video memory pool space of display system application, the video memory pool space are used for the data texturing for storing picture, institute
It is the display data that video card is supported to state data texturing;
It is understood that setting the amount of capacity of the video memory pool space as the first numerical value RM, then amount of capacity is first
The data texturing of numerical value RM video memory pool space storage corresponds to number of the number more than the picture for needing while showing of picture;
For example, it is assumed that the pixel in bayonet system per pictures is all 512*512, the size of each pixel is for 3 bytes
24;The then maximum space for taking 512*512*3 byte per pictures;Assuming that picture is all shown on combination, splicing
The wide WallW of wall, a height of WallH of combination, then the number WC=(WallW* for the picture that the combination can be shown simultaneously
WallH*3)/(512/512*3) is individual;The data texturing that the video memory pool space that amount of capacity is the first numerical value RM stores corresponds to picture
Number RC=the first numerical value RM/ (512/512*3), set video memory pool space capacity when, it is necessary to make RC be more than WC, so
The combination can be met while show the requirement of WC pictures.
It should be noted that video memory pool space is used to store data texturing, data texturing can be sent directly to video card pair
Picture is shown that other picture related datas will carry out display and be also required to first be converted to data texturing, and the texture changed
Data are all stored in the video memory pool space.
Optionally, Texture Identification TextrueId can be used to represent the texture id of picture in the video memory pool space, this will
, can be by the mark of the picture and the line of the picture conversion when one picture is converted to data texturing and is stored in the video memory pool space
Reason mark binding, for example, carrying out one picture of unique mark according to the mark Tid of picture, then can be used<Tid,
TextrueId>Data structure the picture is bound in video memory pool space with the data texturing, when needing to show the picture
When, TextrueId corresponding to the Tid of the picture directly can be notified into video card, video card calls texture corresponding to the TextrueId
Data are shown.
2), one section of internal memory pool space of display system application, the internal memory pool space are used for the decoding data for storing picture, institute
The data texturing can be converted into by stating decoding data;
It is understood that setting the amount of capacity of the internal memory pool space as second value MM, the second value MM is big
In the first numerical value RM;
It should be noted that internal memory pool space is used to store decoding data, video card can not directly display the decoding data, show
Show that system needs are converted to the decoding data after data texturing is stored in video memory pool space, can just make video card to the texture number
According to being shown, and decoding data is decoded to obtain by the source data of picture, and the decoded decoding data of source data is all stored in
In the internal memory pool space.
For example, it is assumed that the pixel in bayonet system per pictures is all 512*512, the size of each pixel is for 3 bytes
24;The then maximum space for taking 512*512*3 byte per pictures;The memory pool that then amount of capacity is second value MM is empty
Between the minimum picture number MC=MM/ (512/512*3) that can be preserved, be stored in the decoding datas of these pictures of internal memory pool space
Data texturing can be converted directly into.
Optionally, decoding mark Tdata can be used to represent the decoding id of picture in the video memory pool space, this is by one
, can be by the mark and the solution of the picture of the picture when source data of picture is converted to decoding data and is stored in the internal memory pool space
Code mark binding, for example, carrying out one picture of unique mark according to the mark Tid of picture, then can be used<Tid,Tdata>'s
Data structure binds in internal memory pool space the picture with the decoding data, when the decoding data for requiring to look up the picture
When, directly it can be searched according to the mark Tid of the picture, it is to be understood that the source data of a picture can be
PNG the or JPG data of the picture, for the data after compression, and decoding data can be the bitmap data of the picture.
2), display system sets a hard drive space, and the hard drive space is used for the source data for storing picture, the source number
According to the decoding data can be decoded as.
It is understood that setting the amount of capacity of the hard drive space as third value, the third value is more than described
Second value.
It should be noted that source data of the hard drive space for storing picture, i.e., the data received from data server,
The source data is generally the image data of compressed format, so can not directly be shown, it is necessary to decode it as decoding data
Internal memory pool space is saved in, then decoding data is saved in video memory pool space can just be sent to video card and shown.
For example, it is assumed that the pixel in bayonet system per pictures is all 512*512, the size of each pixel is for 3 bytes
24;The then maximum space for taking 512*512*3 byte per pictures;Then amount of capacity is third value DM hard drive space
The minimum picture number that can be preserved is DM/ (512/512*3).
Optionally, the hard disk of system can select the faster solid state hard disc of IO speed, resource file can be read
It is more efficient.
Wherein so that the amount of capacity third value of hard drive space is more than the amount of capacity second value of internal memory pool space,
The amount of capacity second value of internal memory pool space is more than the numerical value of amount of capacity first of video memory pool space, in pyramid structure, example
Capacity third value DM such as hard drive space can be that 50GB, the capacity second value MM of internal memory pool space can be 4GB, video memory
The first numerical value of capacity RM of pool space can be 1GB, and the quantity of its corresponding picture is also:May be in hard drive space
100000, it may be 5000 in internal memory pool space, may be 1250 in video memory pool space, in actual application,
Hard disk, internal memory and video card resource can more effectively be utilized.
202nd, when needing to show the first picture, display system obtains the mark of first picture;
The bayonet socket data preserved in bayonet system include the image data of the different time shooting of magnanimity, when some
Carve, it may be necessary to the picture of one of them period is shown, represents to be currently needed for the card shown using the first picture
Mouth data, when needing to show first picture, display system obtains the mark of first picture;
It is understood that first picture can represent to need the pictures shown, can also represent to be currently needed for
The part of display or all pictures (such as 1000), are not construed as limiting herein, and need that how many pictures shown, just obtain more
The mark of few pictures, the mark of each picture uniquely determine the picture in the bayonet socket data of bayonet system.
The mode of mark picture has many kinds, optionally, mark of the picture name as picture can be used, for example, file
" Shenzhen _ Feitian _ bayonet socket 1_1.jpg ", " Shenzhen _ Bao'an _ bayonet socket 5_543.png ", " Shenzhen _ Feitian _ bayonet socket 1_1 " and " Shenzhen _
Bao'an _ bayonet socket 5_543 " is exactly the mark of picture;File is represented using 5 fields:City _ district _ bayonet socket _ picture sequence numbers figures
Piece form;Optionally, picture can also be identified using Arabic numerals sequence number, for example, setting Shenzhen to use 4 bit digitals
For 0755, Feitian is 02 using two digits, and Bao'an uses 03, and bayonet socket be that array representation is 0001 using 4, picture sequence numbers use
4 bit digitals are expressed as 01, png using 2 bit digitals using 0001, jpg forms and represented using 02, then Shenzhen _ Feitian _ bayonet socket 1_
1.jpg can be expressed as 0755020001000101, and Shenzhen _ Bao'an _ bayonet socket 5_543.png can be expressed as
075503000502, the mode that can also have a lot of other setting icon marks causes each mark is unique to represent a figure
Piece, specific identification means are not construed as limiting herein.
203rd, the display system is searched in video memory pool space according to the mark of first picture and whether there is first figure
The data texturing of piece;
After display system gets the mark of first picture, according to the mark of first picture, it is empty to search video memory pond
Between in whether there is first picture data texturing;
If the data texturing of first picture in video memory pool space be present, step 209 is performed;
If the data texturing of first picture is not present in video memory pool space, step 204 is performed.
204th, the display system is searched in internal memory pool space according to the mark of first picture and whether there is first figure
The decoding data of piece;
When display system determines to be not present the data texturing of first picture in video memory pool space, according to first picture
Mark, search the decoding data that whether there is first picture in internal memory pool space;
If the decoding data of first picture in internal memory pool space be present, step 208 is performed;
If the decoding data of first picture is not present in internal memory pool space, step 205 is performed.
205th, the display system is searched in hard drive space according to the mark of first picture and whether there is first picture
Source data;
Display system is determined after the decoding data of first picture is not present in internal memory pool space, according to first picture
Mark, search the source data that whether there is first picture in hard drive space;
If the source data of first picture in hard drive space be present, step 207 is performed;
If the source data of first picture is not present in hard drive space, it is determined that video memory pool space, internal memory pool space with it is hard
The related data of first picture is all not present in disk space, performs step 206.
It is understood that according to the looked-up sequence of above-mentioned steps 203 to 205, above-mentioned video memory pool space, internal memory pool space
Or it the related data of first picture is there are in any of hard drive space space can determine video memory pool space, memory pool
The related data of first picture in space or hard drive space be present, can directly perform corresponding step, and no longer need to continue
Perform finding step below, if such as the data texturing of first picture is found in video memory pool space, no longer need
Searched into internal memory pool space or hard drive space, can directly perform step 209, certainly, in actual applications, according to actual feelings
Condition, such as in order to prevent loss of data, data are imperfect etc., it can continue to search, then other operations are carried out, do not limit herein
It is fixed.
206th, source data of the display system from the first picture described in data server requests.
When display system determines the phase of video memory pool space, internal memory pool space with first picture is all not present in hard drive space
When closing data, the display system is stored in hard drive space from the source data of data server requests first picture.
207th, the source data of first picture is decoded as the decoding data of first picture by the display system;
When display system is stored in hard drive space from data server requests to the source data of first picture, or hard
When the source data of first picture is found in disk space, the display system by the source data of first picture be decoded as this first
The decoding data of picture, the decoding data is saved in internal memory pool space.
It is understood that when the display system will from the data server requests obtain be currently needed for display source
Data Cun Chudao hard drive spaces so that when the capacity of the source data stored in the hard drive space is more than the third value, institute
State display system and delete the source data that need not be currently shown in the hard drive space.
Further, when the source data is decoded as decoding data by the display system, storage is arrived internal memory pool space, made
The capacity of decoding data that stores in internal memory pool space when being more than the second value, described in the display system deletion
The decoding data that need not be currently shown in internal memory pool space.
For example, internal memory pool space is set as 6000M, 5700M space has been occupied now, wherein there is 100M space
By 100 occupancy being currently needed in 1000 pictures of display, other 5600M are by the decoding for the picture that need not currently show
Data take, and being currently needed for the source data of existing 500 pictures in 1000 pictures of display needs to be decoded as decoding data guarantor
In the presence of, it is necessary to take capacity 500M, residual flow only has 300M capacity can use in internal memory pool space, then shows in the internal memory pool space
Show that system can clear the 5600M spaces that the decoding data for the picture that need not currently show takes, that is, delete by working as
The decoding data that the amount of capacity that the preceding picture that need not be shown takes is 5600M, it is to be understood that can also have others
Deletion mode, such as according to the frequency of use or usage time to data, can be from the decoding for the picture that need not currently show
Wherein 200M decoding data is cleaned out in the 5600M spaces that data take, it is only necessary to so that be currently needed for the picture of display
Decoding data can be deposited into the solution code space, and the data do not deleted can also be stayed for later use, specifically clear up space
Mode, be not construed as limiting herein.
208th, the decoding data of first picture is converted into the data texturing of first picture by the display system;
It is stored in when the source data of hard drive space is decoded as decoding data by display system in internal memory pool space, or in internal memory
When the decoding data of first picture is found in pool space, the decoding data of first picture is converted into this by the display system
The data texturing of first picture, the data texturing is saved in video memory pool space.
It is understood that when the decoding data is converted into data texturing by the display system, video memory pond is arrived in storage
Space so that when the capacity of the data texturing stored in the video memory pool space is more than first numerical value, the display system
Delete the data texturing that need not be currently shown in the video memory pool space.
209th, the data texturing of first picture is sent to video card and shown by the display system;
When the decoding data in internal memory pool space is converted into data texturing by display system, it is saved in video memory pool space,
Or when the data texturing of first picture is found in video memory pool space, the display system is by the data texturing of first picture
Video card is sent to be shown.
It is understood that first picture can be shown on display device by video card, the display device can be to spell
The equipment such as wall, LED display device, projecting apparatus, computer, mobile terminal are connect, are not construed as limiting herein.
It is understood that when display system is just run, due to hard drive space, in internal memory pool space and video memory pool space
All there is no bayonet socket resource, so needing to obtain from data server, but using after a period of time, can all be recorded in three-level caching
Substantial amounts of data, the display efficiency of such system is far above conventional method.
In the embodiment of the present invention, there is three-level caching (hard drive space, internal memory pool space and video memory in the resource that needs are shown
Pool space) in, reduce the number to be communicated to data server, for the resource that is cached in the hard drive space of disk just without to
Server is asked, and need not then be read and decode from hard disk again for the resource having in the internal memory pool space of internal memory, for video memory
Resource present in video memory pool space just need not be again video memory from internal storage data dump, drastically increase the display effect of resource
Rate.
The display methods of magnanimity bayonet socket data in the embodiment of the present invention is described above, the present invention implemented below
Display system in example is described, referring to Fig. 3, display system one embodiment includes in the embodiment of the present invention:
Acquisition module 301, for when needing to show the first picture, obtaining the mark of first picture, institute
It is the bayonet socket data for being currently needed for display to state the first picture;
Searching modul 302, for the mark of the first picture obtained according to the acquisition module 301, video memory is searched successively
The related data of pool space, internal memory pool space with whether there is first picture in hard drive space, the phase of first picture
Data texturing of the data in the video memory pool space for first picture is closed, the related data of first picture is described interior
The decoding data that pool space is first picture is deposited, the related data of first picture is described in the hard drive space
The source data of first picture;
Request module 303, for determining video memory pool space, internal memory pool space and hard drive space when the searching modul 302
In when the related data of first picture is all not present, from the source data of the first picture described in data server requests, preserve
Into hard drive space;
Display module 304, for determining video memory pool space, internal memory pool space or hard drive space when the searching modul 302
The middle related data that first picture be present, or request module 303 is from data server requests to the source of first picture
During data, first picture is shown according to the related data of first picture.
In the embodiment of the present invention, display module 304 before being shown to bayonet socket data, search successively by searching modul 302
The related data of video memory pool space, internal memory pool space with whether there is the first picture in hard drive space, first picture are needs
The bayonet socket data of display, when the dependency number that first picture is stored with the video memory pool space, internal memory pool space or hard drive space
According to when, display module 304 shows first picture according to the related data of first picture, no longer directly from server obtain need
The bayonet socket data to be shown, hard disk, internal memory and video card resource are taken full advantage of, reduce the communication with data, services, avoid
By the waste of a large amount of bayonet socket data versus times of network transmission, reduce and show the time, improve system effectiveness.
In above example, searching modul 302 searches video memory pool space, internal memory pool space and hard drive space successively, in reality
In the application of border, the display system can first set or apply video memory pool space, internal memory pool space and hard drive space, also, search
For module 302 after the related data of the first picture is searched, the display module 304 can be according to the difference of related data, to the phase
Close data and carry out different processing, the display system in the embodiment of the present invention is specifically described below, referring to Fig. 4, this
Another embodiment of display system includes in inventive embodiments:
Acquisition module 401, for when needing to show the first picture, obtaining the mark of first picture, institute
It is the bayonet socket data for being currently needed for display to state the first picture;
Searching modul 402, for the mark of the first picture obtained according to the acquisition module 401, video memory is searched successively
The related data of pool space, internal memory pool space with whether there is first picture in hard drive space, the phase of first picture
Data texturing of the data in the video memory pool space for first picture is closed, the related data of first picture is described interior
The decoding data that pool space is first picture is deposited, the related data of first picture is described in the hard drive space
The source data of first picture;
Request module 403, for determining video memory pool space, internal memory pool space and hard drive space when the searching modul 402
In when the related data of first picture is all not present, from the source data of the first picture described in data server requests, preserve
Into hard drive space;
Display module 404, for determining video memory pool space, internal memory pool space or hard drive space when the searching modul 402
The middle related data that first picture be present, or request module 403 is from data server requests to the source of first picture
During data, first picture is shown according to the related data of first picture;
In the present embodiment, the display module 404 specifically includes:
Decoding unit 4041, for when the source data of first picture in the hard drive space be present, by described
The source data of one picture is decoded as the decoding data of first picture;
Conversion unit 4042, for the source data of first picture to be decoded as into described when the decoding unit 4041
When the decoding data of first picture after the decoding data of one picture, or in the internal memory pool space be present, by described first
The decoding data of picture is converted into the data texturing of first picture;
Display unit 4043, for when the conversion unit 4042 decoding data of first picture is converted into it is described
When the data texturing of first picture after the data texturing of the first picture, or in the video memory pool space be present, by described
The data texturing of one picture is sent to video card and shown;
The display system can also include:
Video memory application module 405, for applying for one section of video memory pool space, the video memory pool space is used for the line for storing picture
Data are managed, the data texturing is the display data that video card is supported, the amount of capacity of the video memory pool space is the first numerical value;
Internal memory application module 406, for applying for one section of internal memory pool space, the internal memory pool space is used for the solution for storing picture
Code data, the decoding data can be converted into the data texturing, and the amount of capacity of the internal memory pool space is second value;
Hard disk setup module 407, for setting a hard drive space, the hard drive space is used for the source number for storing picture
According to the source data can be decoded as the decoding data, and the amount of capacity of the hard drive space is third value;
Optionally, the display system can also include:
Video memory cleaning modul 408, for the decoding data to be converted into data texturing when the conversion unit 4042, deposit
Store up video memory pool space so that when the capacity of the data texturing stored in the video memory pool space is more than first numerical value, delete
Except the data texturing that need not be currently shown in the video memory pool space;
Internal memory cleaning modul 409, for the source data to be decoded as into decoding data when the decoding unit 4041, storage
To internal memory pool space so that when the capacity of the decoding data stored in the internal memory pool space is more than the second value, delete
The decoding data that need not be currently shown in the internal memory pool space;
Hard disk cleaning modul 410, for when the request module 403 will be obtained from the data server requests it is current
Need the source data that shows to store and arrive hard drive space so that the capacity of the source data stored in the hard drive space is more than described the
During three numerical value, the source data that need not be currently shown in the hard drive space is deleted.
In the embodiment of the present invention, there is three-level caching (hard drive space, internal memory in the resource that display module 404 shows needs
Pool space and video memory pool space) in, reduce the number that request module 403 communicates to data server, for the hard disk of disk
The resource cached in space, then need not be again from hard for the resource having in the internal memory pool space of internal memory just without being asked to server
Disk reads and decoded, and resource present in the video memory pool space for video memory is just without from internal storage data dump being again video memory, pole
The earth improves the display efficiency of resource.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (8)
- A kind of 1. display methods of magnanimity bayonet socket data, it is characterised in that including:When needing to show the first picture, display system obtains the mark of first picture, and first picture is It is currently needed for the bayonet socket data of display;It is empty to search video memory pool space, internal memory pool space and hard disk according to the mark of first picture successively for the display system Between in whether there is the related data of first picture, the related data of first picture is institute in the video memory pool space The data texturing of the first picture is stated, the related data of first picture is in the solution that the internal memory pool space is first picture Code data, the related data of first picture is the source data of first picture in the hard drive space;It is described if the related data of first picture in the video memory pool space, internal memory pool space or hard drive space be present Display system shows first picture according to the related data of first picture;If the related data of first picture is all not present in the video memory pool space, internal memory pool space and hard drive space, The display system is shown from the source data of the first picture described in data server requests according to the source data of first picture First picture;Wherein, if the dependency number of first picture in the video memory pool space, internal memory pool space or hard drive space be present According to then the display system shows that first picture specifically includes according to the related data of first picture:If there are the data texturing of first picture in the video memory pool space, the display system is by first figure The data texturing of piece is sent to video card and shown;If there are the decoding data of first picture in the internal memory pool space, the display system is by first figure The decoding data of piece is converted into the data texturing of first picture, and the data texturing of first picture is sent into video card enters Row display;If there are the source data of first picture in the hard drive space, the display system is by first picture Source data is decoded as the decoding data of first picture, then the decoding data of first picture is converted into first figure The data texturing of piece, the data texturing of first picture is sent to video card and shown.
- 2. according to the method for claim 1, it is characterised in that described when needing to show the first picture, display System also includes before obtaining the step of mark of first picture:Described one section of video memory pool space of display system application, the video memory pool space is used for the data texturing for storing picture, described Data texturing is the display data that video card is supported, the amount of capacity of the video memory pool space is the first numerical value;Described one section of internal memory pool space of display system application, the internal memory pool space is used for the decoding data for storing picture, described Decoding data can be converted into the data texturing, and the amount of capacity of the internal memory pool space is second value;The display system sets a hard drive space, and the hard drive space is used for the source data for storing picture, the source data The decoding data can be decoded as, the amount of capacity of the hard drive space is third value.
- 3. according to the method for claim 2, it is characterised in that methods described also includes:When the decoding data is converted into data texturing by the display system, video memory pool space is arrived in storage so that the video memory When the capacity of the data texturing stored in pool space is more than first numerical value, the display system deletes the video memory pool space In the data texturing that need not currently show;When the source data is decoded as decoding data by the display system, internal memory pool space is arrived in storage so that the memory pool When the capacity of the decoding data stored in space is more than the second value, the display system is deleted in the internal memory pool space The decoding data that need not currently show;When the display system stores the source data for being currently needed for display obtained from the data server requests to hard disk Space so that when the capacity of the source data stored in the hard drive space is more than the third value, the display system is deleted The source data that need not be currently shown in the hard drive space.
- 4. according to the method for claim 3, it is characterised in that the mark of first picture by city, district, bayonet socket, 5 field compositions of picture sequence numbers and picture format.
- 5. according to the method for claim 4, it is characterised in thatThe source data of first picture is PNG the or JPG data of first picture;The decoding data of first picture is the bitmap data of first picture.
- A kind of 6. display system, it is characterised in that including:Acquisition module, for when needing to show the first picture, obtaining the mark of first picture, first figure Piece is the bayonet socket data for being currently needed for display;Searching modul, for the mark according to first picture, it is empty that video memory pool space, internal memory pool space and hard disk are searched successively Between in whether there is the related data of first picture, the related data of first picture is institute in the video memory pool space The data texturing of the first picture is stated, the related data of first picture is in the solution that the internal memory pool space is first picture Code data, the related data of first picture is the source data of first picture in the hard drive space;Request module, for when first picture is all not present in the video memory pool space, internal memory pool space and hard drive space Related data when, from the source data of the first picture described in data server requests, be saved in hard drive space;Display module, for when the phase that first picture in the video memory pool space, internal memory pool space or hard drive space be present When closing data, first picture is shown according to the related data of first picture;Wherein, the display module specifically includes:Decoding unit, for when the source data of first picture in the hard drive space be present, by first picture Source data is decoded as the decoding data of first picture;Conversion unit, for the source data of first picture to be decoded as to the decoding of first picture when the decoding unit When the decoding data of first picture after data, or in the internal memory pool space be present, by the solution yardage of first picture According to the data texturing for being converted into first picture;Display unit, for the decoding data of first picture to be converted into the line of first picture when the conversion unit When the data texturing of first picture after managing data, or in the video memory pool space be present, by the texture of first picture Data are sent to video card and shown.
- 7. display system according to claim 6, it is characterised in that the display system also includes:Video memory application module, for applying for one section of video memory pool space, the video memory pool space is used for the data texturing for storing picture, The data texturing is the display data that video card is supported, the amount of capacity of the video memory pool space is the first numerical value;Internal memory application module, for applying for one section of internal memory pool space, the internal memory pool space is used for the decoding data for storing picture, The decoding data can be converted into the data texturing, and the amount of capacity of the internal memory pool space is second value;Hard disk setup module, for setting a hard drive space, the hard drive space is used for the source data for storing picture, the source Data can be decoded as the decoding data, and the amount of capacity of the hard drive space is third value.
- 8. display system according to claim 7, it is characterised in that the display system also includes:Video memory cleaning modul, for the decoding data to be converted into data texturing when the conversion unit, video memory pond is arrived in storage Space so that when the capacity of the data texturing stored in the video memory pool space is more than first numerical value, delete the video memory The data texturing that need not be currently shown in pool space;Internal memory cleaning modul, for the source data to be decoded as into decoding data when the decoding unit, storage is empty to memory pool Between so that when the capacity of the decoding data stored in the internal memory pool space is more than the second value, delete the memory pool The decoding data that need not be currently shown in space;Hard disk cleaning modul, for being currently needed for what is shown by what is obtained from the data server requests when the request module Hard drive space is arrived in source data storage so that when the capacity of the source data stored in the hard drive space is more than the third value, Delete the source data that need not be currently shown in the hard drive space.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410421727.7A CN104156192B (en) | 2014-08-25 | 2014-08-25 | A kind of display methods and system of magnanimity bayonet socket data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410421727.7A CN104156192B (en) | 2014-08-25 | 2014-08-25 | A kind of display methods and system of magnanimity bayonet socket data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104156192A CN104156192A (en) | 2014-11-19 |
CN104156192B true CN104156192B (en) | 2017-12-26 |
Family
ID=51881702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410421727.7A Expired - Fee Related CN104156192B (en) | 2014-08-25 | 2014-08-25 | A kind of display methods and system of magnanimity bayonet socket data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104156192B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1822656A (en) * | 2006-01-13 | 2006-08-23 | 深圳创维-Rgb电子有限公司 | Method for displaying high resolution JPEG picture using embedded Linux system TV set |
CN103645873A (en) * | 2013-12-06 | 2014-03-19 | 北京首钢自动化信息技术有限公司 | Method for achieving high-efficiency data caching in trend curve system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9715925D0 (en) * | 1997-07-29 | 1997-10-01 | Discreet Logic Inc | Video data transfer |
CN101207705A (en) * | 2007-12-06 | 2008-06-25 | 四川长虹电器股份有限公司 | Graphic file management method |
-
2014
- 2014-08-25 CN CN201410421727.7A patent/CN104156192B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1822656A (en) * | 2006-01-13 | 2006-08-23 | 深圳创维-Rgb电子有限公司 | Method for displaying high resolution JPEG picture using embedded Linux system TV set |
CN103645873A (en) * | 2013-12-06 | 2014-03-19 | 北京首钢自动化信息技术有限公司 | Method for achieving high-efficiency data caching in trend curve system |
Also Published As
Publication number | Publication date |
---|---|
CN104156192A (en) | 2014-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109309631A (en) | A kind of method and device based on universal network file system write-in data | |
CN103678337B (en) | Data clearing method, apparatus and system | |
CN105100146B (en) | Date storage method, apparatus and system | |
CN103927261B (en) | For the efficiently distribution simplifying supply storage and the method and system reclaimed | |
CN102171661B (en) | Restoring selected objects from a monolithic database backup | |
CN101237331B (en) | CDR file generation method, transmission method, system and device | |
CN104346345B (en) | The storage method and device of data | |
CN104092758B (en) | A kind of read method of distributed type high speed cloud storage service device group system | |
CN113672175A (en) | Distributed object storage method, apparatus and device and computer storage medium | |
CN111258978A (en) | Data storage method | |
CN110401724A (en) | File management method, ftp server and storage medium | |
CN108563771B (en) | Large file management system and method based on blockchain | |
CN102385633A (en) | File management system using virtual storage directory | |
CN107636722A (en) | For the management method and management server using multiple SIM card | |
CN106330788B (en) | Message fragment transmission method and device | |
CN109815371A (en) | Video monitoring data stores access system | |
CN103617007A (en) | Method and system for achieving multilevel intelligent storage | |
CN102882960B (en) | A kind of sending method of resource file and device | |
CN102982182A (en) | Data storage planning method and device | |
CN110287201A (en) | Data access method, device, equipment and storage medium | |
CN104253836A (en) | Wireless network based image displaying method and system and mobile terminal | |
CN107426288A (en) | A kind of resource-sharing schedule method and apparatus based on storage network | |
CN104156192B (en) | A kind of display methods and system of magnanimity bayonet socket data | |
CN104461779B (en) | A kind of storage method of distributed data, apparatus and system | |
CN102902748A (en) | Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems |
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 | ||
CP03 | Change of name, title or address |
Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670 Patentee after: VTRON GROUP Co.,Ltd. Address before: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510663 Patentee before: VTRON TECHNOLOGIES Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171226 |
|
CF01 | Termination of patent right due to non-payment of annual fee |