CN102436363B - Method and device for automatically setting parameters of video card - Google Patents

Method and device for automatically setting parameters of video card Download PDF

Info

Publication number
CN102436363B
CN102436363B CN201110253727.7A CN201110253727A CN102436363B CN 102436363 B CN102436363 B CN 102436363B CN 201110253727 A CN201110253727 A CN 201110253727A CN 102436363 B CN102436363 B CN 102436363B
Authority
CN
China
Prior art keywords
video card
parameters
information
video
rank
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.)
Active
Application number
CN201110253727.7A
Other languages
Chinese (zh)
Other versions
CN102436363A (en
Inventor
郭瑞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN201110253727.7A priority Critical patent/CN102436363B/en
Publication of CN102436363A publication Critical patent/CN102436363A/en
Application granted granted Critical
Publication of CN102436363B publication Critical patent/CN102436363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and device for automatically setting the parameters of a video card, wherein the method comprises the following steps: reading video-card information of the video card; searching a video-card competency dictionary file according to the video-card information so as to obtain the video-card level of the video card, wherein the video-card competency dictionary file comprises corresponding relation between one or more than one piece of video-card information and the video-card level; according to the video-card level, searching a video-card level information table so as to obtain video-card parameters of the video card, wherein the video-card level information table comprises corresponding relation between one or more video-card levels and the video-card parameters; and initializing a display device by an application program according to the video-card parameters. In the embodiment of the invention, after the video-card information is recognized, through the setting of the video-card competency dictionary file and the video-card level information table, corresponding display parameters are obtained, thereby perfectly combining stability and high efficiency. Through the invention, an effect that three-dimensional CAD (computer-aided design) software can be adapted to different types of video cards can be achieved, and the biggest competency of the video card is played so as to improve the display efficiency.

Description

The method of Lookup protocol parameters of video card and device
Technical field
The present invention relates to computer realm, in particular to a kind of method and device of Lookup protocol parameters of video card.
Background technology
Three-dimensional picture shows and is one of function of Three-dimensional CAD Software necessity alternately, and therefore, dimension display technologies is stable, it is very important efficiently in Three-dimensional CAD Software, to play a part.For large-scale and ultra-large type three-dimensional model, its display performance is one of bottleneck of restriction Three-dimensional CAD Software development all the time.
In the last few years, along with the fast development of hardware technology, universal display module was cured to have become in video card and in whole computer industry, improved the essential of 3-D display performance or even unique selection.After CPU, recently popular new term GPU (Graphic Processing Unit) is more and more well known, is the embodiment of the new stage of this technical development.
Universal display module based on being solidificated in video card, three-dimensional picture process software just can be absorbed in the exploitation of software function, but the problem of thereupon bringing is, because video card new product is constantly released, old product are constantly eliminated, cause in current society video card of a great variety, the universal display module function of their inside solidifications is also not exclusively the same.This just makes video card compatibility become the another new problem that three-dimensional picture process software faces.Certainly, Three-dimensional CAD Software also cannot be escaped.
In video card, all solidified OpenGL module at present, can simply OpenGL be interpreted as to the standard (or perhaps standard) of a 3 d graphic library, different video cards may be different to the realization degree of OpenGL module, implementation, meanwhile, Windows has carried an OpenGL storehouse that complete software is realized.Be solidificated in the OpenGL storehouse that the OpenGL efficiency in video card will realize higher than software far away.Software OpenGL stock meaning be, if run into early stage especially video card, when OpenGL storehouse is solidified in its inside, now it just can bring into play purposes.
Existing computing machine has adopted fixing display parameter for different video cards, and Three-dimensional CAD Software is all used OpenGL as general display module mostly, the display module of the applicable own software of exploitation on this basis.This configuration mode there will be following several defect: if parameter configuration is too low, on basic, normal, high end video card, can normally move, but cannot bring into play high-end video card ability, cause large-sized model display speed very slow; If parameter configuration is too high, at low side video card, be easy to crash; If adopt the mode of user's manual configuration display parameter, to user, require very high, if although can tell user's discovery display speed to heighten slowly display parameter by help document, find to crash and turn down display parameter etc., the reduction of work efficiency be apparent.For example, while being provided with a higher parameter to OpenGL in Three-dimensional CAD Software, and that the video card program curing of current computer is supported this parameter is bad, or supports, so crash, has just occurred in this case.Above-mentioned situation, except virus is disturbed, is all almost to be caused by video card compatibility.
At present for having adopted fixing display parameter for different video cards in the Three-dimensional CAD Software of correlation technique, cause software software performance on high-end video card poor, travelling speed is slower, or the problem of deadlock often easily occurs on low side video card, not yet proposes at present effective solution.
Summary of the invention
For having adopted fixing display parameter for different video cards in the Three-dimensional CAD Software of correlation technique, cause software software performance on high-end video card poor, travelling speed is slower, or on low side video card, often easily there is the problem crashing, not yet propose effective problem at present and propose the present invention, for this reason, fundamental purpose of the present invention is to provide a kind of method and device of Lookup protocol parameters of video card, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of method of Lookup protocol parameters of video card, the method for this Lookup protocol parameters of video card comprises: the video card information that reads video card; According to video card information, in video card ability dictionary file, inquire about, to obtain the video card rank of video card, video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level; According to video card rank, in display level information table, inquire about, to obtain the parameters of video card of video card, display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card; Application program comes initialization to show setting according to parameters of video card.
Further, according to video card information, in video card ability dictionary file, inquiring about, before obtaining the video card rank of video card, method also comprises: create video card ability dictionary file, this step comprises; Video card information and other video card ability corresponding relation of video card level of video card are set, wherein, the corresponding video card rank of a kind of video card information of video card, the corresponding one or more video card information of each video card rank; Video card ability corresponding relation is saved to video card ability dictionary file.
Further, according to video card rank, in display level information table, inquiring about, before obtaining the parameters of video card of video card, method also comprises: create display level information table, this step comprises: the video card rank of configuration video card, to obtain parameters of video card and other video card rank corresponding relation of video card level of every kind of video card, wherein, the corresponding video card rank of parameters of video card of video card, the corresponding one or more parameters of video cards of each video card rank; Video card rank corresponding relation is saved to display level information table.
Further, according to video card information, in video card ability dictionary file, inquire about, to obtain the video card rank of video card, comprise: take video card information as index, in video card ability dictionary file, search corresponding video card information; In video card ability dictionary file, whether successful search, to corresponding video card information, wherein, is being searched in successful situation in judgement, reads other information of video card level of video card; In the situation that searching failure, video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of video card.
Further, video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of video card, comprise: the priority that one or more parameters of video card datum lines and each parameters of video card datum line are set, and set the video card rank that each parameters of video card datum line is corresponding, wherein, video card datum line comprises: the video card chip model of video card, video memory and driving date; According to the priority of parameters of video card datum line, video card information and one or more parameters of video card datum line are compared successively, to obtain comparative result; According to comparative result, determine the video card rank of video card.
Further, according to the priority of parameters of video card datum line, video card information and one or more parameters of video card datum line are compared successively, to obtain comparative result, comprise: steps A, the parameters of video card datum line that priority is the highest compares with the first information corresponding in video card information, in the situation that comparative result meets predetermined condition, the parameters of video card datum line of inferior high priority is compared with the second information corresponding in video card information; Step B, according to the priority traversal execution step A of parameters of video card datum line, until obtain the video card rank of corresponding video card information.
To achieve these goals, according to a further aspect in the invention, provide a kind of device of Lookup protocol parameters of video card, the device of this Lookup protocol parameters of video card comprises: read module, for reading the video card information of video card; The first enquiry module, for inquiring about at video card ability dictionary file according to video card information, to obtain the video card rank of video card, video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level; The second enquiry module, for inquiring about at display level information table according to video card rank, to obtain the parameters of video card of video card, display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card; Application module, comes initialization to show for application program according to parameters of video card and arranges.
Further, device also comprises: the first creation module, and for creating video card ability dictionary file, wherein, the first creation module comprises; First arranges module, for video card information and other video card ability corresponding relation of video card level of video card are set, wherein, the corresponding video card rank of a kind of video card information of video card, the corresponding one or more video card information of each video card rank; First preserves module, for video card ability corresponding relation is saved to video card ability dictionary file.
Further, device also comprises: the second creation module, be used for creating display level information table, wherein, the second creation module comprises: second arranges module, for configuring the video card rank of video card, to obtain parameters of video card and other video card rank corresponding relation of video card level of every kind of video card, wherein, the corresponding video card rank of a kind of parameters of video card of video card, the corresponding one or more parameters of video cards of each video card rank; Second preserves module, for video card rank corresponding relation is saved to display level information table.
Further, the first enquiry module comprises: search module, for take video card information as index, search corresponding video card information in video card ability dictionary file; Judge module, for judging whether successful search, to corresponding video card information, wherein, is being searched in successful situation at video card ability dictionary file, reads other information of video card level of video card; In the situation that searching failure, video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of video card.
Further, judge module comprises: the 3rd arranges module, for the priority of one or more parameters of video card datum lines and each parameters of video card datum line is set, and set the video card rank that each parameters of video card datum line is corresponding, wherein, video card datum line comprises: the video card chip model of video card, video memory and driving date; Comparison module, for according to the priority of parameters of video card datum line, video card information and one or more parameters of video card datum line being compared successively, to obtain comparative result; Acquisition module, for determining the video card rank of video card according to comparative result.
By the present invention, adopt the video card information that reads video card, according to video card information, in video card ability dictionary file, inquire about, to obtain the video card rank of video card, video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level, according to video card rank, in display level information table, inquire about, to obtain the parameters of video card of video card, display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card, call parameters of video card to application program, above-described embodiment is after identification video card information, for video card ability dictionary file and display level information table, arrange to obtain corresponding display parameter, to stablize and efficient perfect adaptation, solved and for different video cards, adopted fixing display parameter in Three-dimensional CAD Software, cause software software performance on high-end video card poor, travelling speed is slower, or on low side video card, often easily there is the problem crashing, and then realization makes Three-dimensional CAD Software can adapt to the video card of different types, the maximum ability of simultaneously bringing into play video card improves the effect of display efficiency.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the apparatus structure schematic diagram of the Lookup protocol parameters of video card of the embodiment of the present invention;
Fig. 2 is the basis snapshot of the corresponding video card ability information of the video card table of embodiment as shown in Figure 1;
Fig. 3 is according to the process flow diagram of the method for the Lookup protocol parameters of video card of the embodiment of the present invention; And
Fig. 4 is according to the detail flowchart of the method for the Lookup protocol parameters of video card of the embodiment of the present invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 1 is according to the apparatus structure schematic diagram of the Lookup protocol parameters of video card of the embodiment of the present invention.As shown in Figure 1, this device comprises: read module 10, the first enquiry module 30, the second enquiry module 50 and application module 70.
Wherein, read module 10, for reading the video card information of video card; The first enquiry module 30, for inquiring about at video card ability dictionary file according to video card information, to obtain the video card rank of video card, video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level; The second enquiry module 50, for inquiring about at display level information table according to video card rank, to obtain the parameters of video card of video card, display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card; Application module 70, comes initialization to show for application program according to parameters of video card and arranges.
Above-described embodiment is after identification video card information, according to video card information, in video card ability dictionary file and display level information table, inquire about, obtain corresponding display parameter, and for example, parameters of video card is set to " video card " or " OpenGL " by application program (Three-dimensional CAD Software), thereby make application program, for example Three-dimensional CAD Software can adapt to dissimilar video card, and the maximum ability of simultaneously bringing into play video card improves display efficiency, will stablize and efficient perfect adaptation.Above-mentioned enforcement profit has solved and for different video cards, has adopted fixing display parameter in Three-dimensional CAD Software, cause software software performance on high-end video card poor, travelling speed is slower, or on low side video card, often easily there is the problem crashing, and then realize and to make Three-dimensional CAD Software can adapt to the video card of different types, the maximum capacity of simultaneously bringing into play the program curing of video card improves display efficiency.
Concrete, above-described embodiment, in implementation process, can be obtained whole video card information and conventionally can be accumulated and test acquisition by research staff's long-term practice for the important parameter (OpenGL important parameter) of video card by the disclosed application programming interfaces of Windows.
In the above-mentioned enforcement profit of the present invention, device can also comprise: the first creation module 901, and for creating video card ability dictionary file, wherein, the first creation module 901 comprises; First arranges module, for video card information and other video card ability corresponding relation of video card level of video card are set, wherein, the corresponding video card rank of a kind of video card information of video card, the corresponding one or more video card information of each video card rank; First preserves module, for video card ability corresponding relation is saved to video card ability dictionary file.
Concrete, snapshot as shown in Figure 2, this notepad has recorded the corresponding video card ability information of the video card in the application, and wherein, the parameter that affects application program (for example Three-dimensional CAD Software) stability is mainly following:
AdapterCompatibility: this general proxy video card chip supplier, at present there is Nivdia in the video card chip supplier of main flow, AMD (ATI), Intel etc.
AdapterRAM: video memory, its meaning and internal memory are similar, have represented to a certain extent the rank of a video card.
DriverDate/DriverVersion: drive date and version, in general, it is more newly better to drive.
VideoProcessor: be generally video card chip model, it has decisive role, video card ability how, by substantially determining for the core of the card sheet model.As the Celeron in CPU, Pentium, Duo etc., after its model is determined, technical feature is generally also basic have been determined.
The first creation module 901 in the above-mentioned enforcement profit of the present invention is obtained video card ability dictionary file by creating video card information and other corresponding relation of video card level of each video card, can realize when computer monitoring arrives new video card, can draw according to the video card ability dictionary file inquiry having obtained the video card rank of this video card, control flexibly the application level of different video cards
In the above-mentioned enforcement profit of the present invention, device can also comprise: the second creation module 903, be used for creating display level information table, wherein, the second creation module 903 comprises: second arranges module, for configuring the video card rank of video card, to obtain parameters of video card and other video card rank corresponding relation of video card level of every kind of video card, wherein, the corresponding video card rank of a kind of parameters of video card of video card, the corresponding one or more parameters of video cards of each video card rank; Second preserves module, for video card rank corresponding relation is saved to display level information table.
The second creation module 903 in above-mentioned enforcement profit has realized for low side and has shown the lower display parameter of configuration, for high-end demonstration, configures high-end display parameter.After judgement obtains video card type, according to video card type, video card rank determines which parameter need to be specifically set.In showing other information table, obtain parameters of video card corresponding to other video card of this grade.
Concrete, the important display parameter (parameter that OpenGL is important) that relate in the above-mentioned enforcement profit of the present invention comprise following several types, and these parameters realize bad in low side video card, and in the video card of middle and high end normal operation:
Display list: this is a critical function playing up performance in OpenGL, is used it greatly to improve operational efficiency, it's a pity, it realizes bad in low side video card, opens it, generally all can crash.
Texture: this is a critical function of rendering effect in OpenGL, and it can be attached to a picture on a face, thus make this face produce wood, stone texts.Equally, it supports bad in some low side video cards.
Anti-aliasing: this is also the parameter of a rendering effect, after opening it, can make lines more smooth, without sawtooth.
Hardware-accelerated: this has been last line of defense, whether it uses OpenGL module curing in video card, for some extreme cases, can only use the OpenGL of complete software simulation, will make like this rendering speed quite slow.
Preferably, the first enquiry module 30 in above-described embodiment can comprise: search module 301, for take video card information as index, search corresponding video card information in video card ability dictionary file; Judge module 303, for judging whether successful search, to corresponding video card information, wherein, is being searched in successful situation at video card ability dictionary file, reads other information of video card level of video card; In the situation that searching failure, video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of video card.
In the above-mentioned enforcement profit of the present invention, this judge module 303 can comprise: the 3rd arranges module, for the priority of one or more parameters of video card datum lines and each parameters of video card datum line is set, and set the video card rank that each parameters of video card datum line is corresponding, wherein, video card datum line comprises: the video card chip model of video card, video memory and driving date; Comparison module, for according to the priority of parameters of video card datum line, video card information and one or more parameters of video card datum line being compared successively, to obtain comparative result; Acquisition module, for determining the video card rank of video card according to comparative result.
Fig. 3 is according to the process flow diagram of the method for the Lookup protocol parameters of video card of the embodiment of the present invention; And Fig. 4 is according to the detail flowchart of the method for the Lookup protocol parameters of video card of the embodiment of the present invention.
The method comprises the steps: as shown in Figure 3
Step S102, reads the video card information of video card by the read module 10 in Fig. 1.
Step S104, by the first enquiry module 30 in Fig. 1, realize according to video card information and inquiring about in video card ability dictionary file, to obtain the video card rank of video card, video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level.
Step S106, is realized according to video card rank and being inquired about in display level information table by the second enquiry module 50 in Fig. 1, and to obtain the parameters of video card of video card, display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card.
Step S108, realizes application program by the 3rd enquiry module in Fig. 1 and comes initialization to show setting according to parameters of video card.
Above-described embodiment is after identification video card information, according to video card information, in video card ability dictionary file and display level information table, inquire about, obtain corresponding display parameter, make Three-dimensional CAD Software can adapt to dissimilar video card, the maximum ability of simultaneously bringing into play video card improves display efficiency, will stablize and efficient perfect adaptation.Above-mentioned enforcement profit has solved and for different video cards, has adopted fixing display parameter in Three-dimensional CAD Software, cause software software performance on high-end video card poor, travelling speed is slower, or on low side video card, often easily there is the problem crashing, and then realize and to make Three-dimensional CAD Software can adapt to the video card of different types, the maximum capacity of simultaneously bringing into play the program curing of video card improves display efficiency.
The step S104 of the above embodiment of the present invention is inquiring about in video card ability dictionary file according to video card information, and before obtaining the video card rank of video card, method also comprises: create video card ability dictionary file, this step comprises; Video card information and other video card ability corresponding relation of video card level of video card are set, wherein, the corresponding video card rank of a kind of video card information of video card, the corresponding one or more video card information of each video card rank; Video card ability corresponding relation is saved to video card ability dictionary file.
The step S106 of the above embodiment of the present invention is inquiring about in display level information table according to video card rank, before obtaining the parameters of video card of video card, method also comprises: create display level information table, this step comprises: the video card rank of configuration video card, to obtain parameters of video card and other video card rank corresponding relation of video card level of every kind of video card, wherein, the corresponding video card rank of a kind of parameters of video card of video card, the corresponding one or more parameters of video cards of each video card rank; Video card rank corresponding relation is saved to display level information table.
Preferably, in above-described embodiment, according to video card information, in video card ability dictionary file, inquire about, to obtain the video card rank of video card, comprise: take video card information as index, in video card ability dictionary file, search corresponding video card information; In video card ability dictionary file, whether successful search, to corresponding video card information, wherein, is being searched in successful situation in judgement, reads other information of video card level of video card; In the situation that searching failure, video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of video card.
In above-described embodiment step S104, video card information and one or more parameters of video card datum line are contrasted, to obtain other step of video card level of video card, comprise: the priority that one or more parameters of video card datum lines and each parameters of video card datum line are set, and set the video card rank that each parameters of video card datum line is corresponding, wherein, video card datum line comprises: the video card chip model of video card, video memory and driving date; According to the priority of parameters of video card datum line, video card information and one or more parameters of video card datum line are compared successively, to obtain comparative result; According to comparative result, determine the video card rank of video card.
Preferably, according to the priority of parameters of video card datum line, video card information and one or more parameters of video card datum line are compared successively, to obtain comparative result, comprise: steps A, the parameters of video card datum line that priority is the highest compares with the first information corresponding in video card information, in the situation that comparative result meets predetermined condition, the parameters of video card datum line of inferior high priority is compared with the second information corresponding in video card information; Step B, according to the priority traversal execution step A of parameters of video card datum line, until obtain the video card rank of corresponding video card information.This implements profit in specific implementation process, the priority that video card chip (NV9600) can be first set is the highest, corresponding video card rank is 1, the priority of video memory (512M) takes second place, and corresponding video card rank is 2, video card does not find in corresponding other situation of video card level in video card ability dictionary file, system can enter this enforcement profit, can first contrast the model of video card chip, if the model of video card chip is NV9800, illustrate preferred rank be 1 or more than, at the video memory of this video card relatively, if video memory is 512M, finally can determine the concrete rank of this video card.
Concrete, as shown in Figure 4, according to above-described embodiment, now describe the present invention the detailed process of display parameter be set according to video card information:
(1) initialization display level information table: the setting of OpenGL parameter is divided into several display levels, and if minimum rank is that listed parameter is all forbidden, highest level is that whole parameters are all enabled, and there are some excess level centre.By setting up display parameter and the incidence relation between display level of each video card, generate display level information table.
(2) read in video card information important parameter: the application programming interfaces of announcing by Windows, read in the important parameters of video card of video card.
(3) read in preset video card ability dictionary: in the software test stage, for market main flow video card, carried out conventional video card compatibility test, this video card information and other video card ability corresponding relation of video card level are kept in a dictionary file.This step object is to read this dictionary, builds video card ability dictionary file in internal memory, and the video card capacity data the present invention relates to is not limit of the present invention giving an example.
(4) inquiry video card ability dictionary: the video card information of reading according to (2) step, in the video card ability dictionary of (3) step, search, to determine that current video card is whether in our dictionary.If found, so according to dictionary determine current video card for showing rank, if do not had, enter next step automated reasoning display level module.
(5) automated reasoning display level: if current video card is not embodied in video card ability dictionary file, system enters automated reasoning module, according to parameters of video card, is provided the display level of recommendation automatically by program.This automated reasoning process judges video card chip model and judges the series that it is affiliated, then in conjunction with video memory, driving date, judges that it is low side video card or middle and high end video card, determines the display level of current video card with this.
(6) according to display level, display parameter are set: after display level is determined, the display level information table that application program can be set up according to (1) step, corresponding parameter is set in OpenGL, and after setting up OpenGL parameter, OpenGL can be set to these parameters in video card again.
It should be noted that, in the step shown in the process flow diagram of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
As can be seen from the above description, the present invention has realized following technique effect: improved software stability: use after this cover mechanism, user, without doing any setting, can test and pass through on low side video card; Improved the performance of software on the video card of middle and high end: for middle and high end video card, the parameters that can more optimize, improves the performance of large-sized model on the video card of middle and high end greatly, frame rate (frame number of playing up per second) is in the past 25 times.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. a method for Lookup protocol parameters of video card, is characterized in that, comprising:
Read the video card information of video card;
According to described video card information, in video card ability dictionary file, inquire about, to obtain the video card rank of described video card, described video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level;
According to described video card rank, in display level information table, inquire about, to obtain the parameters of video card of described video card, described display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card;
Application program comes initialization to show setting according to described parameters of video card;
According to described video card information, in video card ability dictionary file, inquire about, to obtain the video card rank of described video card, comprise: take described video card information as index, in described video card ability dictionary file, search corresponding video card information; In described video card ability dictionary file, whether successful search, to corresponding video card information, wherein, is being searched in successful situation in judgement, reads other information of video card level of described video card; In the situation that searching failure, described video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of described video card.
2. method according to claim 1, is characterized in that, according to described video card information, in video card ability dictionary file, is inquiring about, and before obtaining the video card rank of described video card, described method also comprises:
Create described video card ability dictionary file, this step comprises;
Video card information and other video card ability corresponding relation of described video card level of described video card are set, wherein, the corresponding video card rank of a kind of video card information of video card, the corresponding one or more video card information of each video card rank;
Described video card ability corresponding relation is saved to described video card ability dictionary file.
3. method according to claim 1, is characterized in that, inquiring about in display level information table according to described video card rank, before obtaining the parameters of video card of described video card, described method also comprises:
Create described display level information table, this step comprises:
Configure the video card rank of described video card, to obtain parameters of video card and other video card rank corresponding relation of described video card level of every kind of video card, wherein, the corresponding video card rank of a kind of parameters of video card of video card, the corresponding one or more parameters of video cards of each video card rank;
Described video card rank corresponding relation is saved to described display level information table.
4. method according to claim 1, is characterized in that, described video card information and one or more parameters of video card datum line are contrasted, and to obtain the video card rank of described video card, comprises:
One or more parameters of video card datum lines are set and the priority of parameters of video card datum line described in each, and set video card rank corresponding to parameters of video card datum line described in each, wherein, described video card datum line comprises: the video card chip model of described video card, video memory and driving date;
According to the priority of described parameters of video card datum line, described video card information and one or more described parameters of video card datum line are compared successively, to obtain comparative result;
According to described comparative result, determine the video card rank of described video card.
5. method according to claim 4, is characterized in that, according to the priority of described parameters of video card datum line, described video card information and one or more described parameters of video card datum line is compared successively, to obtain comparative result, comprises:
Steps A, the parameters of video card datum line that priority is the highest compares with the first information corresponding in described video card information, in the situation that described comparative result meets predetermined condition, the parameters of video card datum line of inferior high priority is compared with the second information corresponding in described video card information;
Step B, according to the priority traversal execution step A of described parameters of video card datum line, until obtain the video card rank of corresponding described video card information.
6. a device for Lookup protocol parameters of video card, is characterized in that, comprising:
Read module, for reading the video card information of video card;
The first enquiry module, for inquiring about at video card ability dictionary file according to described video card information, to obtain the video card rank of described video card, described video card ability dictionary file comprises one or more video card information and other corresponding relation of video card level;
The second enquiry module, for inquiring about at display level information table according to described video card rank, to obtain the parameters of video card of described video card, described display level information table comprises the corresponding relation of one or more video card ranks and parameters of video card;
Application module, comes initialization to show for application program according to described parameters of video card and arranges;
Described the first enquiry module comprises: searching module, is index for take described video card information, in described video card ability dictionary file, searches corresponding video card information; Judge module, for judging whether successful search, to corresponding video card information, wherein, is being searched in successful situation at described video card ability dictionary file, reads other information of video card level of described video card; In the situation that searching failure, described video card information and one or more parameters of video card datum line are contrasted, to obtain the video card rank of described video card.
7. device according to claim 6, is characterized in that, described device also comprises:
The first creation module, for creating described video card ability dictionary file, wherein, described the first creation module comprises;
First arranges module, for video card information and other video card ability corresponding relation of described video card level of described video card are set, wherein, the corresponding video card rank of a kind of video card information of video card, the corresponding one or more video card information of each video card rank;
First preserves module, for described video card ability corresponding relation is saved to described video card ability dictionary file.
8. device according to claim 6, is characterized in that, described device also comprises:
The second creation module, for creating described display level information table, wherein, described the second creation module comprises:
Second arranges module, for configuring the video card rank of described video card, to obtain parameters of video card and other video card rank corresponding relation of described video card level of every kind of video card, wherein, the corresponding video card rank of parameters of video card of video card, the corresponding one or more parameters of video cards of each video card rank;
Second preserves module, for described video card rank corresponding relation is saved to described display level information table.
9. device according to claim 6, is characterized in that, described judge module comprises:
The 3rd arranges module, for one or more parameters of video card datum lines being set and the priority of parameters of video card datum line described in each, and set video card rank corresponding to parameters of video card datum line described in each, wherein, described video card datum line comprises: the video card chip model of described video card, video memory and driving date;
Comparison module, for according to the priority of described parameters of video card datum line, described video card information and one or more described parameters of video card datum line being compared successively, to obtain comparative result;
Acquisition module, for determining the video card rank of described video card according to described comparative result.
CN201110253727.7A 2011-08-30 2011-08-30 Method and device for automatically setting parameters of video card Active CN102436363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110253727.7A CN102436363B (en) 2011-08-30 2011-08-30 Method and device for automatically setting parameters of video card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110253727.7A CN102436363B (en) 2011-08-30 2011-08-30 Method and device for automatically setting parameters of video card

Publications (2)

Publication Number Publication Date
CN102436363A CN102436363A (en) 2012-05-02
CN102436363B true CN102436363B (en) 2014-09-17

Family

ID=45984445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110253727.7A Active CN102436363B (en) 2011-08-30 2011-08-30 Method and device for automatically setting parameters of video card

Country Status (1)

Country Link
CN (1) CN102436363B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744634B (en) * 2013-12-25 2016-09-07 深圳宝龙达信息技术股份有限公司 A kind of method and system optimizing video card capabilities
CN104598351B (en) 2014-02-11 2016-10-05 腾讯科技(深圳)有限公司 The method of testing of 3D engine compatibility and device
CN106843865A (en) * 2017-01-12 2017-06-13 深圳华北工控股份有限公司 The double VBIOS application processes of many display interface solutions of modular computer
CN108765534B (en) * 2018-05-24 2022-06-21 武汉斗鱼网络科技有限公司 Image rendering method, device and equipment and storage medium
CN110032253A (en) * 2019-03-29 2019-07-19 联想(北京)有限公司 Electronic equipment and display device
CN112667297A (en) * 2020-12-29 2021-04-16 长沙景嘉微电子股份有限公司 Display configuration method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241445A (en) * 2007-02-08 2008-08-13 联想(北京)有限公司 Virtual machine system and its method for accessing display card
CN101561935A (en) * 2009-05-22 2009-10-21 南京师范大学 GoCAD software-oriented implanted true three-dimensional display method
CN101561936A (en) * 2009-05-22 2009-10-21 南京师范大学 GeoGlobe-oriented true three-dimensional stereoscopic display method
CN101930719A (en) * 2009-06-18 2010-12-29 辉达公司 Method and system for automatically switching scene mode of display

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090322768A1 (en) * 2008-06-25 2009-12-31 Lalonde Paul A Compile-time type-safe composable state objects

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241445A (en) * 2007-02-08 2008-08-13 联想(北京)有限公司 Virtual machine system and its method for accessing display card
CN101561935A (en) * 2009-05-22 2009-10-21 南京师范大学 GoCAD software-oriented implanted true three-dimensional display method
CN101561936A (en) * 2009-05-22 2009-10-21 南京师范大学 GeoGlobe-oriented true three-dimensional stereoscopic display method
CN101930719A (en) * 2009-06-18 2010-12-29 辉达公司 Method and system for automatically switching scene mode of display

Also Published As

Publication number Publication date
CN102436363A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
CN102436363B (en) Method and device for automatically setting parameters of video card
CN105426404A (en) Music information recommendation method and apparatus, and terminal
CN110493342B (en) File transmission method and device, electronic equipment and readable storage medium
CN105009089B (en) For promoting the device and method of the management to instruction violation behavior
CN100458697C (en) User program guiding method and system
CN104537005A (en) Data processing method and device for webpage crawling
CN104679848A (en) Search recommendation method and device
CN106202224B (en) Search processing method and device
CN111179402B (en) Rendering method, device and system of target object
CN109525836A (en) Embedded multimode based on FPGA is same to survey device
CN109189859A (en) Node initializing method and apparatus in block chain network
CN105701645A (en) Material management method and device
CN109582883A (en) The determination method and apparatus of column page
CN105205128A (en) Scoring-characteristic-based time sequence recommendation method and recommendation device
CN106708445A (en) Link selection method and device
CN116226025A (en) Data packet transmission method, scheduling management unit, chip and display card
CN105224266A (en) File printing method and device
CN115935909A (en) File generation method and device and electronic equipment
CN109753585A (en) A kind of determination method, apparatus, electronic equipment and storage medium for recommending video
CN104484149A (en) Offline playing method and device of LED display screen synchronous control system
CN111026682B (en) Data access method and device of board card chip and computer readable storage medium
CN110347683B (en) Data table merging processing method and device
CN103823662A (en) Programming mode entry switching control method and programming mode entry switching control device
CN106267778A (en) The computational methods of tennis drop point and system
CN113010454A (en) Data reading and writing method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Applicant after: Beijing CAXA Technology Co., Ltd.

Address before: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Applicant before: Beijing Digital Dafang Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: BEIJING DIGITAL DAFANG TECHNOLOGY CO., LTD. TO: CAXA TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant