Data processing method, device, storage medium and processor
Technical field
The present invention relates to data processing field, in particular to a kind of data processing method, device, storage medium and
Processor.
Background technique
Currently, extending display identification data (Extended Display Identification Data, referred to as
It EDID) usually all include multiple video formats.If tested using such EDID chip, the final institute of different video cards
The video format of selection is not determining, that is, uncertain video card is tested for which video format, thus right
The no specific aim of the test of video format.
Additionally, it is often necessary to repeatedly be surveyed with multiple video cards to some or the certain specific video formats in chip
Examination, due to the no specific aim of test to video format, to there is a problem of that the testing efficiency of the video format of chip is low.
For the low problem of the testing efficiency of the video format of chip in the prior art, effective solution is not yet proposed at present
Certainly scheme.
Summary of the invention
The main purpose of the present invention is to provide a kind of data processing method, device, storage medium and processors, at least
Solve the problems, such as that the testing efficiency of the video format of chip is low.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of data processing method.Obtain target
Data acquisition system, wherein target data set includes multiple extending display identification data files, each extending display identification data text
Part is used to indicate a video format of objective chip to be measured;In target data set, multiple extending display identifications are traversed
Data file;In the case where objective chip is in the extension traversed and shows target video format indicated by data file,
Objective chip is tested by target video card, and is outputed test result by objective chip, wherein test result is for referring to
Show objective chip to the support performance of target video format.
Optionally, before obtaining target data set, this method further include: acquire the information of multiple video formats;Base
In the information of each video format, it is created that a first extending display identification data file corresponding with each video format,
Obtain multiple first extending display identification data files, wherein multiple extending display identification data files include multiple first expansions
Open up display identification data file.
Optionally, after the information for acquiring multiple video formats, this method further include: to the information of multiple video formats
Expanded, obtains the information for expanding the multiple expansion video formats come out;Based on each information for expanding video format, creation
A second extending display identification data file corresponding with each expansion video format out obtains multiple second extension display marks
Know data file, wherein multiple extending display identification data files include multiple second extending display identification data files.
Optionally, the information of multiple video formats is expanded, obtains expanding the multiple expansion video formats come out
Information includes: to be ranked up according to the pixel clock of each video format to the information of multiple video formats, wherein video lattice
The information of formula includes pixel clock;From the information of multiple video formats after sequence, the first adjacent video format is selected
The information of information and the second video format;Obtain the first pixel clock in the information of the first video format first resolution and
The second resolution of the second pixel clock in the information of second video format, wherein first resolution is less than second resolution;
Obtain the change step that first resolution changes to second resolution;According to first resolution and change step, number of targets is determined
The third resolution ratio of the third pixel clock of amount;By the letter of the third resolution ratio of each third pixel clock and the first video format
Information in breath in addition to first resolution is determined as each information for expanding video format.
Optionally, according to first resolution and change step, determine that the third of the third pixel clock of destination number is differentiated
Rate comprises determining that step, by the sum between first resolution and change step the two, is determined as a third resolution ratio;Detection step
Suddenly, judge whether the quantity for the third resolution ratio having determined that is less than destination number, if so, using a third resolution ratio as
One resolution ratio, and determining step is continued to execute, until the quantity for the third resolution ratio having determined that is equal to destination number.
Optionally, according to first resolution and change step, the third point of the third pixel clock of destination number is determined
Before resolution, this method further include: obtain second resolution and first resolution difference between the two;Obtain difference and change step
Quotient between the two;Destination number is determined based on quotient.
Optionally, this method further include: in the case where objective chip use under first object scene, setting second is expanded
Opening up the target byte in display identification data file is the first value;The case where objective chip uses under the second target scene
Under, the target byte being arranged in the second extending display identification data file is second value.
Optionally, this method further include: by each first object information for expanding video format, regarded to each expansion
The corresponding second extending display identification data file of frequency format is named.
Optionally, this method further include: in the case where objective chip use under first object scene, setting first is expanded
Opening up the target byte in display identification data file is the first value;The case where objective chip uses under the second target scene
Under, the target byte being arranged in the first extending display identification data file is second value.
Optionally, this method further include: by the second target information of each video format, to each video format pair
The first extending display identification data file answered is named.
Optionally, the information for acquiring multiple video formats includes: the letter for acquiring preset multiple first video formats
Breath;And/or acquire the information for multiple second video formats that target video card is transmitted across to display, wherein display is for showing
Show video corresponding with the information of target video format.
To achieve the goals above, according to another aspect of the present invention, a kind of data processing equipment is additionally provided.The device
It include: acquiring unit, for obtaining target data set, wherein target data set includes multiple extending display identification data
File, each extending display identification data file are used to indicate a video format of objective chip to be measured;Traversal Unit is used
In in target data set, traversing multiple extending display identification data files;Processing unit, for objective chip be in time
In the case that the extension gone through shows target video format indicated by data file, objective chip is carried out by target video card
Test, and outputed test result by objective chip, wherein test result is used to indicate objective chip to target video format
Support performance devices.
Through the invention, using acquisition target data set, wherein target data set includes multiple extending display identifications
Data file, each extending display identification data file are used to indicate a video format of objective chip to be measured;In target
In data acquisition system, multiple extending display identification data files are traversed;The extension traversed, which is in, in objective chip shows data text
In the case where target video format indicated by part, objective chip is tested by target video card, and pass through objective chip
Output test result, wherein test result is used to indicate objective chip to the support performance of target video format.That is,
EDID set is established, supports a kind of video format in each EDID, when using any one EDID in the set, video card is sent
Video format out be it is fixed, there is certain specific aim to the test of the video format of objective chip, solve chip
Video format the low technical problem of testing efficiency, reached the technology effect for improving the testing efficiency of video format of chip
Fruit.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of data processing method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for building up of EDID set according to an embodiment of the present invention;
Fig. 3 is the process for expanding the method for resolution ratio out between a kind of two video formats according to an embodiment of the present invention
Figure;And
Fig. 4 is a kind of schematic diagram of data processing equipment according to an embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
Embodiment 1
The embodiment of the invention provides a kind of data processing methods.
Fig. 1 is a kind of flow chart of data processing method according to an embodiment of the present invention.As shown in Figure 1, this method includes
Following steps:
Step S102 obtains target data set.
In the technical solution that step S102 is provided, target data set includes multiple extending display identification data files,
Each extending display identification data file is used to indicate a video format of objective chip to be measured.
In this embodiment, target data set can be gathered for EDID, be one kind including multiple EDID, the EDID
VESA standard data format further comprises supplier information, maximum image including the parameter in relation to monitor and its performance
Size, color setting, manufacturer pre-set, the limitation of frequency range and display name and the character string of sequence number etc..
The objective chip of the embodiment is the chip of pending test, which can be applied to simulative display neck
Domain can also be applied to digital display field.Each EDID of the embodiment is used to indicate a video format of objective chip,
That is, each EDID only supports a kind of video format, which can be placed on first of EDID file in detail
In thin temporal specification module (Detailed Timing Description Block).
Each EDID file in the target data set of the embodiment includes video format abundant, may include allusion quotation
The video format of type, and the expansion video format generated according to the exemplary video format, preferably to determine objective chip
To support characteristic of the different video format under different video cards.
Step S104 traverses multiple extending display identification data files in target data set.
In the technical solution that step S104 is provided, after obtaining target data set, in target data set, time
Multiple extending display identification data files are gone through, can successively extract an EDID file from target data set every time, are led to
The EDID file extracted is crossed to test objective chip.
Step S106 is in the extension traversed in objective chip and shows target video format indicated by data file
In the case of, objective chip is tested by target video card, and is outputed test result by objective chip.
In the technical solution that step S106 is provided, test result is used to indicate objective chip to the branch of target video format
Hold performance.
In this embodiment, when testing objective chip, by target video card to some view in objective chip
Frequency format or certain video formats are repeatedly tested.The EDID file that the embodiment traverses only indicates a target video lattice
Objective chip is set target video format by formula, is surveyed by target video card to the objective chip under target video format
Examination, obtains test result, which is used to indicate objective chip to the support performance of target video format, for example, target
Resolution model that chip is supported, refreshing frequency, the row field frequency range of support, product type, the production firm of support etc., may be used also
Not support fixed time sequence (Established Timing), standard time sequence mark (Timing Identification) etc., and
And the video format that target video card is sent out is fixed target video format, to reach using every in EDID set
The purpose that a EDID tests the video format of objective chip preferably determines objective chip to different video format in mesh
Mark the support performance under video card.
S102 to step S106 through the above steps, using obtaining target data set, wherein target data set includes
Multiple extending display identification data files, each extending display identification data file are used to indicate one of objective chip to be measured
Video format;In target data set, multiple extending display identification data files are traversed;It is in and traverses in objective chip
In the case where target video format indicated by extension display data file, objective chip is tested by target video card,
And outputed test result by objective chip, wherein test result is used to indicate support of the objective chip to target video format
Performance.That is, establishing EDID set, a kind of video format is supported in each EDID, uses any one in the set
When EDID, the video format that video card is sent out be it is fixed, there is certain specific aim to the test of the video format of chip,
It solves the low technical problem of the testing efficiency of the video format of chip, has reached the testing efficiency for improving the video format of chip
Technical effect.
As an alternative embodiment, in step S102, before obtaining target data set, this method further include:
Acquire the information of multiple video formats;Based on the information of each video format, it is created that one corresponding with each video format
First extending display identification data file obtains multiple first extending display identification data files, wherein multiple extension display marks
Knowing data file includes multiple first extending display identification data files.
In this embodiment, before obtaining target data set, need to establish target data set.Optionally, it acquires
The information of multiple video formats can be the information of acquisition exemplary video format, for example, the institute from the various standards pre-established
The information of collected standard video format can also be during testing objective chip, in each video card and
When different displays connects, the information for all video formats that may be sent out.Optionally, each view of the embodiment
The information of frequency format is acquired and is recorded by objective chip, and the information of video format may include pixel clock (pixel
Clock), the pixel of the quantity (Hactive) of display equipment valid pixel in the horizontal direction, every row is total (Htotal),
Show the pixel total (Vtotal) etc. of the equipment quantity (Vactive), each column of valid pixel in vertical direction, herein not
Do any restrictions.
After the information for acquiring multiple video formats, can based on the information of each video format, be created that with each
The corresponding first extending display identification data file of video format, for example, it is directed to each exemplary video format, creation one
A new EDID file.The information of video format can be stored in the first extending display identification data file by the embodiment
First detailed temporal specification module, and the information of other video formats can not select to support, for example, fixed time sequence and mark
Punctual sequence mark etc. can not select to support, to obtain multiple first extending display identification data texts by the above method
Part, the target data set of the embodiment may include multiple first extending display identification data files.
As an alternative embodiment, after the information for acquiring multiple video formats, this method further include: to more
The information of a video format is expanded, and the information for expanding the multiple expansion video formats come out is obtained;It is regarded based on each expansion
The information of frequency format is created that a second extending display identification data file corresponding with each expansion video format, obtains
Multiple second extending display identification data files, wherein multiple extending display identification data files include that multiple second extensions are aobvious
Data file is known in indicating.
In this embodiment, when establishing target data set, the information of multiple video formats can also be expanded,
That is, carrying out the expansion of EDID information.Optionally, which is ranked up multiple information for expanding video format, is arranging
In the information of multiple video formats after sequence, the information of each adjacent two video format is expanded, it can be based on per adjacent
The resolution ratio of the pixel clock (pixel clock) of two video formats is expanded, to obtain expanding the multiple expansions come out
Fill the information of video format.Wherein, the frequency of pixel clock and the operating mode of liquid crystal display panel are related, the resolution ratio of liquid crystal display panel
Higher, the frequency of pixel clock is also higher.
Expand in the information to multiple video formats, obtain expand come out multiple expansion video formats information it
Afterwards, one second extension corresponding with each expansion video format can be created that based on each information for expanding video format
Display identification data file, for example, creating a new EDID file for the expansion video format that each expands out.
The information for expanding video format can be stored in first in the second extending display identification data file in detail by the embodiment
Temporal specification module, and the information of other video formats can not select to support, for example, fixed time sequence and standard time sequence mark
Etc. can not select to support, so that multiple second extending display identification data files are obtained by the above method, the embodiment
Target data set may include multiple second extending display identification data files.Optionally, which passes through above-mentioned more
Target data set is collectively formed in a first extending display identification data file and multiple second extending display identification data files,
So that the video format in target data set is more abundant, so as to preferably determine objective chip to different video format
Support characteristic under different video cards, improves the efficiency detected to target video.
As an alternative embodiment, expanding the information of multiple video formats, obtain expanding out more
A information for expanding video format includes: to carry out according to the pixel clock of each video format to the information of multiple video formats
Sequence, wherein the information of video format includes pixel clock;From the information of multiple video formats after sequence, select adjacent
The first video format information and the second video format information;When obtaining the first pixel in the information of the first video format
The second resolution of the second pixel clock in the information of the first resolution of clock and the second video format, wherein first differentiates
Rate is less than second resolution;Obtain the change step that first resolution changes to second resolution;According to first resolution and change
Change step-length, determines the third resolution ratio of the third pixel clock of destination number;By the third resolution ratio of each third pixel clock
With the information in the information of the first video format in addition to first resolution, it is determined as each information for expanding video format.
In this embodiment, expand in the information to multiple video formats, obtain expanding the multiple expansions view come out
When the information of frequency format, pixel clock can be extracted from the information of each video format, according to the picture of each video format
The size of plain clock is ranked up the information of multiple video formats, can according to each video format pixel clock according to
Ascending sequence is ranked up the information of multiple video formats.From the information of multiple video formats after sequence, choosing
The information of the first adjacent video format and the information of the second video format are selected, for example, selecting the information of adjacent A video format
With the information of B video format, the information of the first adjacent video format and the information of the second video format can be multiple views
The information of the adjacent video format of any two in the information of frequency format.In the information for selecting adjacent the first video format and
After the information of second video format, the first resolution and the of the first pixel clock in the information of the first video format is obtained
The second resolution of the second pixel clock in the information of two video formats, and first resolution is less than second resolution, than
Such as, the first resolution Pa of the first pixel clock, the first resolution Pb of the second pixel clock, and Pa < Pb.
After obtaining the second resolution of first resolution and the second pixel clock of the first pixel clock, first is obtained
For change resolution to the change step (len) of second resolution, which can be multiple pixels for expanding video format
The change step of the third resolution ratio of clock, according to first resolution and change step, when determining the third pixel of destination number
The third resolution ratio of clock, wherein destination number can be determined by first resolution, second resolution and change step,
The destination number namely multiple quantity for expanding video format.The embodiment can differentiate the third of each third pixel clock
Information in rate and the information of the first video format in addition to first resolution is determined as each information for expanding video format,
That is, when the information of information and the second video format to the first adjacent video format expands, each expansion video
For format other than the third resolution ratio of third pixel clock is different, other information is identical as the information of the first video format.
As an alternative embodiment, determining the third picture of destination number according to first resolution and change step
The third resolution ratio of plain clock comprises determining that step, by the sum between first resolution and change step the two, is determined as one
Three resolution ratio;Detecting step, judges whether the quantity for the third resolution ratio having determined that is less than destination number, if so, by one
Third resolution ratio continues to execute determining step as first resolution, until the quantity etc. for the third resolution ratio having determined that
In destination number.
In this embodiment, according to first resolution and change step, the third pixel clock of destination number is determined
When third resolution ratio, first resolution and change step sum between the two can be determined as a third resolution ratio, judged
Whether the quantity for the third resolution ratio having determined that is less than destination number, that is, judging multiple third pictures for expanding video format
Whether the third resolution information of plain clock has been determined, if not provided, can using third resolution ratio as first resolution,
Continue first resolution and change step sum between the two being determined as a third resolution ratio, until the third having determined that
The quantity of resolution ratio is equal to destination number, to realize according to first resolution and change step, determines the of destination number
The purpose of the third resolution ratio of three pixel clocks, wherein by the third resolution ratio of each third pixel clock and the first video lattice
Information in the information of formula in addition to first resolution is determined as each information for expanding video format.
Optionally, the embodiment first can all determine the third pixel clock of destination number third resolution ratio it
Afterwards, then by the letter in the third resolution ratio of each third pixel clock and the information of the first video format in addition to first resolution
Breath is determined as each information for expanding video format;As soon as can also be with the third resolution ratio of every determination third pixel clock, it will
In the third resolution ratio of a third pixel clock and the information of the first video format currently determined in addition to first resolution
Information, be determined as one expansion video format information, then determine the third resolution ratio of next third pixel clock again,
By in determining the third resolution ratio of a third pixel clock and the information of the first video format in addition to first resolution
Information is determined as another information for expanding video format, and so on, until determining the expansion video lattice of destination number
Formula.
Optionally, if i=0, judge whether i is less than destination number N, if it is judged that i is less than destination number N, then expand
Third resolution ratio=Pa+i*len of video format, wherein Pa is used to indicate that first resolution, len to be used to indicate change step,
And the other parameters for expanding video format are identical as A video format, then i++, and then determine according to the method described above each
Expand video format, so that it is determined that N number of expansion video format out.
As an alternative embodiment, determining the third of destination number according to first resolution and change step
Before the third resolution ratio of pixel clock, this method further include: obtain second resolution and first resolution difference between the two;
Obtain difference and change step quotient between the two;Destination number is determined based on quotient.
In this embodiment, according to first resolution and change step, the third pixel clock of destination number is determined
Before third resolution ratio, destination number is determined.Both the embodiment available second resolution Pb and first resolution Pa it
Between difference then obtain difference and change step quotient between the two that is, Pb-Pa, for example, n=(Pb-Pa)/len, to n=
(Pb-Pa)/len is rounded, and n-1 can be determined as to destination number N.
It should be noted that the embodiment can execute above-mentioned to multiple views between every two adjacent video format
The method that the information of frequency format is expanded, no longer repeats one by one herein, to obtain multiple information for expanding video format.
As an alternative embodiment, this method further include: used under first object scene in objective chip
In the case of, the target byte being arranged in the second extending display identification data file is the first value;In objective chip in the second target
Under scene in the case where use, the target byte being arranged in the second extending display identification data file is second value.
In this embodiment, first object scene can be simulative display scene, in objective chip in first object scene
In the case where lower use, the target byte being arranged in the second extending display identification data file is the first value, for example, the second extension
Target byte in display identification data file is byte [14H] bit7, is set to the first value 1.
Optionally, the second target scene of the embodiment can be number display scene, in objective chip in the second target
Under scene in the case where use, the target byte being arranged in the second extending display identification data file is second value, for example, by mesh
Marking-up section byte [14H] bit7, and then it is set to second value 0, the EDID being finally saved as in target data set
File.
As an alternative embodiment, this method further include: believed by each first object for expanding video format
Breath, is named a second extending display identification data file corresponding with each expansion video format.
In this embodiment, first object information can be the main information of expansion video format, for example, may include picture
Plain clock (pixel clock), the quantity (Hactive) of display equipment valid pixel in the horizontal direction, the pixel of every row
Total (Htotal), the pixel sum of display the equipment quantity (Vactive), each column of valid pixel in vertical direction
(Vtotal) etc..By each first object information for expanding video format, to one corresponding with each expansion video format
Second extending display identification data file is named.
As an alternative embodiment, this method further include: used under first object scene in objective chip
In the case of, the target byte being arranged in the first extending display identification data file is the first value;In objective chip in the second target
Under scene in the case where use, the target byte being arranged in the first extending display identification data file is second value.
In this embodiment, first object scene can be simulative display scene, in objective chip in first object scene
In the case where lower use, the target byte being arranged in the first extending display identification data file is the first value, for example, the first extension
Target byte in display identification data file is byte [14H] bit7, is set to the first value 1.
Optionally, the second target scene of the embodiment can be number display scene, in objective chip in first object
Under scene in the case where use, the target byte being arranged in the first extending display identification data file is second value, for example, by mesh
Marking-up section byte [14H] bit7, and then it is set to second value 0, the EDID being finally saved into target data set
File.
As an alternative embodiment, this method further include: right by the second target information of each video format
A first extending display identification data file corresponding with each video format is named.
In this embodiment, the second target information of each video format can be the main information of video format, for example,
It may include pixel clock (pixel clock), the quantity (Hactive) of display equipment valid pixel in the horizontal direction, often
Capable pixel is total (Htotal), the quantity (Vactive), the pixel of each column of display equipment valid pixel in vertical direction
Point total (Vtotal) etc..By the second target information of each video format, to one corresponding with each video format
One extending display identification data file is named.
As an alternative embodiment, the information for acquiring multiple video formats includes: that acquisition is preset multiple
The information of first video format;And/or the information for multiple second video formats that target video card is transmitted across to display is acquired,
In, display is for showing video corresponding with the information of target video format.
In this embodiment, the information for acquiring multiple video formats refers to the information of acquisition exemplary video format, that is, typical
Common video format information, the information of preset multiple first video formats can be acquired, for example, from various pre-
The information of collected standard video format in the standard first set.Optionally, which also acquires objective chip and is testing
In the process, the information for multiple second video formats that target video card is transmitted across to display, for example, in each target video card and not
With display connection when, multiple second video formats are all video formats that possible send out, video format
What information was acquired by objective chip and was recorded, to realize the purpose for acquiring the information of multiple video formats.
In this embodiment, the set of EDID is established, wherein including typical video format, and according to exemplary video lattice
Formula and the expansion video format generated, and in each EDID, only support a kind of video format, which can be with
It is placed on first detailed temporal specification module of EDID.Not only due to each EDID in the set of the EDID of the embodiment
Typically common video format is covered, the video format of expansion is further comprised, so as to preferably determine objective chip pair
Support characteristic of the different video format traversed under different video cards, and when using any one EDID in the set, it shows
It is fixed for blocking the video format sent out, so that there is certain specific aim to the test of the video format of objective chip,
It solves the low technical problem of the testing efficiency of the video format of chip, has reached the testing efficiency for improving the video format of chip
Technical effect.
Embodiment 2
Technical solution of the present invention is illustrated below with reference to preferred embodiment.
Fig. 2 is a kind of flow chart of the method for building up of EDID set according to an embodiment of the present invention.As shown in Fig. 2, the party
Method the following steps are included:
Step S201 acquires the information of multiple exemplary video formats.
In this embodiment, the acquisition of the information of multiple exemplary video formats, that is, the acquisition of EDID, mainly includes two
Most of, a part is the collected standard video format information from various preset standards;Another part is in core
During built-in testing, when each video card is connected with different displays, all video formats that may be sent out, video
The information of format can be acquired and be recorded by chip.
The embodiment is directed to each exemplary video format, a new EDID file is created, by the letter of the video format
Cease first detailed temporal specification module being stored in EDID, the information of other video formats, for example, fixed time sequence and mark
Punctual sequence mark etc., does not select to support.It optionally, can will be by EDID if chip to be measured is applied to simulative display field
Byte [14H] bit7 be set as 1, can be by the Byte [14H] of EDI if chip to be measured is applied to digital display field
Bit7 is set as 0, finally saves as EDID file.The name of the EDID file of the embodiment needs main comprising video format
Information, for example, include the pixel clock (pixel clock) of video format, display equipment valid pixel in the horizontal direction
The pixel of quantity (Hactive), every row is total (Htotal), shows the quantity of valid pixel in equipment vertical direction
(Vactive), the pixel total (Vtotal) etc. of each column.
Step S202 expands the information of collected multiple acquisition exemplary video formats.
It in this embodiment, can be to collected exemplary video after the information for acquiring multiple exemplary video formats
The information of format is expanded, that is, carrying out the expansion of EDID information.
In this embodiment it is possible to by the information of collected exemplary video format, according to the information of exemplary video format
In the size of pixel clock (pixel clock) be ranked up, for example, when according to pixel in the information of exemplary video format
The sequence of clock (pixel clock) from small to large is ranked up
In the information of exemplary video format after sequence, the information of adjacent company exemplary video format is therefrom selected,
For example, the two neighboring exemplary video format of selection is respectively A and B, the resolution ratio of corresponding pixel clock be respectively Pa and
Pb, and Pb > Pa.Optionally, the selected expansion step-length of the embodiment can be len, the two adjacent exemplary video formats
Between the resolution ratio number of expansion video format that can expand out can be carried out according to (Pb-Pa)/len after rounding it is true
It is fixed.
Fig. 3 is the process for expanding the method for resolution ratio out between a kind of two video formats according to an embodiment of the present invention
Figure.As shown in figure 3, method includes the following steps:
I=0 is arranged in step S301;
Step S302, judges whether i is less than n.
If it is judged that i is less than n, step S312 is executed;If it is judged that i is not less than n, then terminate to execute process.
Step S303 determines the information for expanding video format i.
In this embodiment, pixel clock=Pa+i*len, as i=0, pixel clock=Pa, that is, being A
The resolution ratio of the pixel clock of exemplary video format.As i=1 to n-1, pixel clock is for indicating n-1 expansion video
The resolution ratio of the pixel clock of format, and each other information in addition to the resolution ratio of pixel clock for expanding video format,
It can be identical as the information of exemplary video format A.
Step S304, i++.
In this embodiment, after the information for getting an expansion video format, i++ executes step S302,
That is, starting to execute the next process for expanding video format of creation, until i is more than or equal to n.
In this embodiment, new EDID file is created according to each video format come out that expands, by the expansion video
The information of format is stored in first detailed temporal specification module of EDID file, and the information of other video formats, than
Such as, fixed time sequence and standard time sequence mark etc., do not select to support.Optionally, if chip to be measured is applied to simulative display
Field then can set 1 for byte [14H] bit7 of EDID;If the chip to side is applied to digital display field, can
To set 0 for EDIDByte [14H] bit7, EDID file is finally saved as.Optionally, the name packet of the file of the embodiment
The main information of video format is included, for example, including pixel clock, Hactive, Htotal, Vactive, Vtotal etc., this
Place is with no restrictions.
It in this embodiment, can be according to for the determination of the EDID file of every two adjacent exemplary video formats
Above-mentioned steps S301 is determined to the method for step S302, is no longer repeated one by one herein.
In this embodiment, the information of multiple exemplary video formats is acquired, and according to the information of multiple exemplary video formats
Multiple EDI files are created, the information of collected multiple exemplary video formats is expanded, multiple expansion video formats are obtained
Information, and according to it is multiple expand video formats the multiple EDI files of information creating, ultimately form the set of an EDID.
In this embodiment, EDID set is established, the video format for including in EDID set is abundant, not only comprising typical case
Video format, can also include the expansion video format generated according to exemplary video format, so as to preferably determine
Support characteristic of the chip to the different video format traversed under different video cards.In each EDID, a kind of video is only supported
Format, a kind of video format can be placed in first detailed temporal specification module of EDID, and using therein
When EDID, the video format that video card is sent out is determining, different in this way video card when using each EDID therein, by
A kind of video format is only supported in each EDID, is only issued a video format, can be tested different video cards in the EDID institute
Expressive ability under the video format of support improves the efficiency tested chip.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
Embodiment 3
The embodiment of the invention also provides a kind of data processing equipments.It should be noted that the data processing of the embodiment
Device can be used for executing the data processing method of the embodiment of the present invention.
Fig. 4 is a kind of schematic diagram of data processing equipment according to an embodiment of the present invention.As shown in figure 4, the data processing
Device 400 may include: acquiring unit 10, Traversal Unit 20 and processing unit 30.
Acquiring unit 10, for obtaining target data set, wherein target data set includes multiple extending display identifications
Data file, each extending display identification data file are used to indicate a video format of objective chip to be measured.
Traversal Unit 20, for traversing multiple extending display identification data files in target data set.
Processing unit 30 shows target video indicated by data file for being in the extension traversed in objective chip
In the case where format, objective chip is tested by target video card, and is outputed test result by objective chip, wherein
Test result is used to indicate objective chip to the support performance of target video format.
In this embodiment, EDID set is established, supports a kind of video format in each EDID, uses appointing in the set
Anticipate an EDID when, the video format that video card is sent out be it is fixed, have one to the test of the video format of objective chip
Fixed specific aim solves the low technical problem of the testing efficiency of the video format of chip, has reached the video lattice for improving chip
The technical effect of the testing efficiency of formula.
Embodiment 4
The embodiment of the invention also provides a kind of storage mediums.The storage medium includes the program of storage, wherein in program
Equipment executes the data processing method in the embodiment of the present invention where controlling storage medium when operation.
Embodiment 5
The embodiment of the invention also provides a kind of processors.The processor is for running program, wherein program is held when running
Data processing method in the row embodiment of the present invention.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific
Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.