The content of the invention
For this reason, it may be necessary to provide a kind of new platform test method, HDMI (High Definition Multimedia are solved
Interface, HDMI is a kind of digitized video/audio interface technology, is the special of suitable image transmission
Type digital interface is used, it can simultaneously transmit audio frequency and signal of video signal high speed signal) and MIPI (Mobile Industry
Processor Interface, mobile Industry Processor Interface) difficulty of test is big, and time-consuming, designs synchronised clock high cost
Problem.
In order to solve the above problems, a kind of method that HDMI and MIPI functions are mutually measured is inventor provided, including following step
Suddenly, test data is sent to HDMI modules to be measured;Preset signals are sent to HDMI modules to be measured produce instruction, HDMI modules to be measured
Receive preset signals produce instruction after by test data conversion be HDMI signals;HDMI signals are converted into into MIPI-CSI letters
Number;MIPI-CSI modules to be measured change MIPI-CSI signals into test result data, compare test data and test result data;
Return test result.
Also include step, whether HDMI module detection HPD signals to be measured are virtual value, if being judged as invalid, termination survey
Examination, returns test result.
Also include step, HDMI modules to be measured read EDID information, and are compared with preset value;If comparison is wrong,
Terminate test, and return test result.
HDMI signals are converted into into audio signal while HDMI signals are converted into into MIPI-CSI signals;This method is also wrapped
Step is included, the audio signal after collection conversion is compared with the audio signal of test data;Return test result.
The audio collection module is I2S modules, and audio signal is I2S signals.
The device that a kind of HDMI and MIPI functions are mutually measured, including data transmission blocks, control module, HDMI module to be measured,
Modular converter, MIPI-CSI module to be measured and result return module;The data transmission blocks be used for send test data to
HDMI modules to be measured;The control module is used to send preset signals generation instruction to HDMI modules to be measured;HDMI modules to be measured
For receive preset signals produce instruction after by test data conversion be HDMI signals;The modular converter is used for HDMI
Signal is converted into MIPI-CSI signals;MIPI-CSI modules to be measured are used to change MIPI-CSI signals into test result data;Knot
Fruit returns module for comparing test data and test result data and returning test result.
HDMI modules to be measured are additionally operable to detect whether HPD signal is virtual value, and knot is enabled when judged result is invalid
Fruit returns module.
HDMI modules to be measured are additionally operable to read EDID information, and are compared with preset value, and enable when more wrong
As a result module is returned.
The modular converter is additionally operable to HDMI signals while being converted into MIPI-CSI signals and audio signal;This device is also
Including audio collection module, audio signal and the audio signal of test data that the audio collection module is used for after collection conversion
Compare, and enable result and return module.
The audio collection module is I2S modules, and audio signal is I2S signals.
It is different from prior art, what above-mentioned technical proposal provided HDMI signals and MIPI signals is mutually measured method, Neng Goutong
When functional test carried out to the two, and without designing time synchronisation chip, it is big to solve HDMI high speed signals difficulty of test, takes
It is long, design the problem of synchronised clock high cost.
Specific embodiment
To describe the technology contents of technical scheme, structural features in detail, purpose and effect being realized, below in conjunction with concrete reality
Apply example and coordinate accompanying drawing to be explained in detail.
Fig. 1 is referred to, is the method that a kind of HDMI and MIPI functions of the invention are mutually measured, it is adaptable to while it is to be measured to test HDMI
Whether the function of module and MIPI-CSI modules to be measured is normal;Here Fig. 2 is looked at again, is test dress in the specific embodiment of the invention
The structural representation put, including control module, the control module is used to carry out initialization, the product of control signal of all modules
The functions such as raw and test result statistics, can include CPU and respective bus, the electronic unit of interface.Control signal in Fig. 2
1-4 is respectively used to refer to HDMI modules to be measured, bridge module, audio collection module and MIPI-CSI module transmission initialization to be measured
Make, work order and reception test result are fed back, wherein control signal 1 is additionally operable to the transmission of test data.With reference to Fig. 1 and
Fig. 2 is illustrated to method.This method start from step S101 control module send test data to HDMI modules to be measured and to
HDMI modules to be measured send preset signals and produce instruction, and HDMI modules to be measured are walked after preset signals generation instruction is received
Test data conversion is HDMI signals and is sent by rapid S102;Bridge module carries out step S103 and is converted into HDMI signals
MIPI-CSI signals, the bridge module is connected and signal for HDMI modules to be measured with the signal of MIPI-CSI modules to be measured
Conversion, specifically, bridge module receives the HDMI signals of HDMI modules to be measured, is translated into MIPI-CSI signals, then will
MIPI-CSI signals are sent to MIPI-CSI modules to be measured.MIPI-CSI modules to be measured are received and carry out again after signal step S104
MIPI-CSI signals are changed into test result data, then carries out step S105 and compare test data and test result data;Finally
Step S106 is carried out again returns test result.If above-mentioned steps are without exception, illustrate that HDMI modules to be measured can normally receive test
Data, and test data is changed into into correct HDMI signals, MIPI-CSI can also normally receive MIPI-CSI signals, and turn
Chemical conversion test result data.Such then return test result, control module will show that " HDMI modules to be measured are to be measured with MIPI-CSI
Functions of modules is normal " judgement.In fact, in order to save the testing time, particular problem present in more effective assignment test,
In the concrete test process of some embodiments, when therebetween S101-S105 arbitrary steps go wrong, test will be terminated, carried out
Step S106 returns test result.For example when exception occur in S101 steps, then stop test, control module will judge it is HDMI
The signal receiving function of module to be measured occurs abnormal.And for example when abnormal, then termination test occur in S102 steps, control module will
According to the test result for returning, concrete judgement is that the data converting function or HDMI signal sending functions of HDMI modules to be measured go out
It is now abnormal.For another example S103 steps are then likely to below MIPI-CSI module by signal receive capabilities exceptions to be measured etc. no longer extremely
Repeat more possible abnormal conditions.By above-mentioned design, can be in a test device, a test process simultaneously
The problem that test HDMI modules to be measured and MIPI-CSI modules to be measured are present, it is not necessary to synchronised clock is designed in SOC, is reached
Reduction difficulty of test, reduces the test used time, reduces the effect of design cost.
In some specific embodiments, also including step S107, whether HDMI module detection HPD signals to be measured are effective
Value, if being judged as invalid, termination test, returns test result.Specifically as shown in Fig. 2 HDMI modules to be measured have also accessed one
Individual HPD signal generation module, the HPD signal generation module is used for simulation and produces HDMI equipment access signal, HDMI to be measured
Module detects whether to detect the signal judging whether HPD signal detection function is normal by interrupting, if be not detected by HPD believing
Number or the invalidating signal, then terminate test, return test result to control module, control module will obtain " HDMI modules to be measured
HPD signal detection dysfunction " judgement.If judging, HPD signal effectively, proceeds test.By design procedure
S107, has reached the technique effect of the HPD signal detection function that can detect HDMI modules to be measured so that the installation method can
Detection is more multi-functional, meets more rich test needs.
In other specific embodiments, also including step S108, HDMI modules to be measured read EDID information, and with it is pre-
If value is compared;If comparison is wrong, terminate test, and return test result.Specifically as shown in Fig. 2 also including one
EDID analog modules, the EDID analog modules are used to simulate the configuration information that HDMI display devices are stored in practical application,
Can be the memorizer of EDID information of being stored with, such as EEPROM.HDMI submodules to be measured pass through the special I2C passages of HDMI
(DDC) data message of EDID analog modules is read, and compares its correctness whether just testing EDID information read functions
Often.If the EDID information for reading compares wrong with preset value, terminate test, to control module test result, control are returned
Module will obtain the judged result of " the EDID information read functions exceptions of HDMI modules to be measured ";If compare it is correct, continue into
Row test.By design procedure S108, the technology effect of the EDID information read functions that can detect HDMI modules to be measured has been reached
Really so that the installation method can detect more multi-functional, more rich test needs are also met.
Because in some cases, HDMI signals include video signal and audio signal, and MIPI-CSI signals are only supported
Video signal.Therefore in certain embodiments, HDMI signals are converted into into MIPI-CSI signals while carrying out step S103
Simultaneously HDMI signals are converted into into audio signal;Further, this method also include step, collection conversion after audio signal with
The audio signal of test data is compared;Return test result.As shown in Fig. 2 bridge module is also responsible for a HDMI signal turning
Change audio signal into, be sent to audio collection module, audio collection module is compared to the audio signal for receiving, if comparing
It is wrong, then terminate test, test result is returned to control module, control module will obtain " HDMI module generation HDMI letters to be measured
Number voice data it is wrong " judgement.Proceed test if comparing normally.Designed by such scheme, can be detected
Voice data in HDMI signals, it is ensured that HDMI measured signals are in the case of the voice data transmission of HDMI signals is abnormal
Also can be detected, reach the effect for improving accuracy of detection.
In some specific embodiments, the audio collection module is I2S modules, and audio signal is I2S signals.Use
I2S is advantageous in that and avoids distortion that raising precision reduces noise as audio transmission protocol.
The device that a kind of HDMI and MIPI functions are mutually measured is additionally provided in other specific embodiments, as shown in Figure 3:
Including data transmission blocks 301, control module 302, HDMI module 303 to be measured, modular converter 304, MIPI-CSI module to be measured
305 and result return module 306;The data transmission blocks are used to send test data to HDMI modules to be measured;The control
Module is used to send preset signals generation instruction to HDMI modules to be measured;HDMI modules to be measured are used to receive preset signals product
By test data conversion it is HDMI signals after raw instruction;The modular converter is used to for HDMI signals to be converted into MIPI-CSI letters
Number;MIPI-CSI modules to be measured are used to change MIPI-CSI signals into test result data;As a result returning module is used to compare survey
Try data and test result data and return test result.By above-mentioned design device, can once survey in a test device
Test the problem that HDMI modules to be measured and MIPI-CSI modules to be measured are present during examination simultaneously, it is not necessary to design in SOC
Synchronised clock, has reached reduction difficulty of test, reduces the test used time, reduces the effect of design cost.
In certain embodiments, HDMI modules 303 to be measured are additionally operable to detect whether HPD signal is virtual value, and are judging
Result is enabled when being as a result invalid return module 306.By designing the function, having reached can detect HDMI modules to be measured
HPD signal detects the technique effect of function so that the installation method can detect more multi-functional, and meeting more rich test needs
Will.
In further embodiments, HDMI modules 303 to be measured are additionally operable to read EDID information, and are compared with preset value
Compared with, and result return module 306 is enabled when more wrong.By designing above-mentioned functions, having reached can detect that HDMI is to be measured
The technique effect of the EDID information read functions of module so that the installation method can detect more multi-functional, also meet richer
Rich test needs.
In some cases, HDMI signals include video signal and audio signal, and MIPI-CSI signals only support video
Signal.Therefore in certain embodiments, the modular converter 304 is additionally operable to HDMI signals while being converted into MIPI-CSI signals
With audio signal;This device also includes audio collection module 307, the audio frequency letter that the audio collection module is used for after collection conversion
Number compare with the audio signal of test data, and enable result and return module 306.By the design of audio collection module,
Just the voice data in HDMI signals can be detected, it is ensured that HDMI measured signals send not just in the voice data of HDMI signals
Can also be detected in the case of often, reach the effect for improving accuracy of detection.
In some specific embodiments, the audio collection module 307 is I2S modules, and audio signal is I2S signals.
It is advantageous in that as audio transmission protocol using I2S and avoids distortion, improve precision, reduces noise.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that a series of process, method, article or terminal unit including key elements not only includes those
Key element, but also including other key elements being not expressly set out, or also include for this process, method, article or end
The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... "
Key element, it is not excluded that also there is other key element in the process including the key element, method, article or terminal unit.This
Outward, herein, " it is more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " below ", " within " etc. understand
It is to include this number.
Those skilled in the art are it should be appreciated that the various embodiments described above can be provided as method, device or computer program product
Product.These embodiments can be using complete hardware embodiment, complete software embodiment or with reference to the embodiment in terms of software and hardware
Form.All or part of step in the method that the various embodiments described above are related to can be instructed by program correlation hardware come
Complete, described program can be stored in the storage medium that computer equipment can read, for performing the various embodiments described above side
All or part of step described in method.The computer equipment, including but not limited to:Personal computer, server, general-purpose computations
Machine, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, Wearable
Smart machine, vehicle intelligent equipment etc.;Described storage medium, including but not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
Deposit, USB flash disk, portable hard drive, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to the method according to embodiment, equipment (system) and computer program
Flow chart and/or block diagram are describing.It should be understood that can by computer program instructions flowchart and/or block diagram in it is every
The combination of one flow process and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computers can be provided
Programmed instruction is to the processor of computer equipment producing a machine so that by the finger of the computing device of computer equipment
Order is produced for realizing what is specified in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames
The device of function.
These computer program instructions may be alternatively stored in the computer that computer equipment can be guided to work in a specific way and set
In standby readable memory so that the instruction being stored in the computer equipment readable memory produces the manufacture for including command device
Product, the command device is realized in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frame middle fingers
Fixed function.
These computer program instructions also can be loaded on computer equipment so that performed on a computing device a series of
Operating procedure to produce computer implemented process, so as to the instruction for performing on a computing device provide for realize in flow process
The step of function of specifying in one flow process of figure or one square frame of multiple flow processs and/or block diagram or multiple square frames.
Although being described to the various embodiments described above, those skilled in the art once know basic wound
The property made concept, then can make other change and modification to these embodiments, so embodiments of the invention are the foregoing is only,
Not thereby the scope of patent protection of the present invention, the equivalent structure that every utilization description of the invention and accompanying drawing content are made are limited
Or equivalent flow conversion, or other related technical fields are directly or indirectly used in, the patent of the present invention is included in the same manner
Within protection domain.