CN109525839A - HDMI compatibility test method, device, mobile terminal and readable storage medium storing program for executing - Google Patents

HDMI compatibility test method, device, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109525839A
CN109525839A CN201811477157.8A CN201811477157A CN109525839A CN 109525839 A CN109525839 A CN 109525839A CN 201811477157 A CN201811477157 A CN 201811477157A CN 109525839 A CN109525839 A CN 109525839A
Authority
CN
China
Prior art keywords
test
devices
compatibility
picture
display equipment
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.)
Granted
Application number
CN201811477157.8A
Other languages
Chinese (zh)
Other versions
CN109525839B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201811477157.8A priority Critical patent/CN109525839B/en
Publication of CN109525839A publication Critical patent/CN109525839A/en
Application granted granted Critical
Publication of CN109525839B publication Critical patent/CN109525839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Abstract

The invention discloses a kind of HDMI compatibility test method, operating mode is entered by control Devices to test and exports image data to each display equipment connecting with the Devices to test;Obtain each test picture that each display equipment is exported based on the image data;By each test picture, default picture corresponding with timing is compared respectively, obtains each similarity of each test picture with corresponding default picture;According to each similarity, the compatibility information of the Devices to test and each display equipment is determined.The invention also discloses a kind of HDMI device for testing compatibility, mobile terminal, readable storage medium storing program for executing.The HDMI compatibility test that the present invention automates, saves a large amount of manpower, reduces production cost, testing efficiency and quality is greatly improved.

Description

HDMI compatibility test method, device, mobile terminal and readable storage medium storing program for executing
Technical field
The invention belongs to digital TV technology more particularly to a kind of HDMI compatibility test method, device, movements eventually End and readable storage medium storing program for executing.
Background technique
With popularizing for digital TV in high resolution, has HDMI interface (the High Definition of high definition fan-out capability Multimedia Interface, high-definition multimedia interface) it is increasingly becoming the requisite interfaces of high definition set top box.Due to set-top box HDMI interface need to be attached use with television set, and television set types of brand are various on the market now, every manufacturer The television set of production is also different in the HDMI standard that different times are realized, set-top box is possible to the HDMI on some brand television Interface does not export or exports abnormal phenomenon;This shows that the output of set-top box HDMI interface exists not with the brand television Compatible problem, this is by the normal use of extreme influence set-top box.
So before the production of HDMI equipment all compatibility test can be carried out to most of HDMI receiving device on the market.And HDMI compatibility test needs a large amount of artificial progress manual test, and cumbersome time-consuming, and it is greatly inconvenient to come to calibration tape; It is manually tested if be applied alone, needs to put into many manpowers, cost is relatively high.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of HDMI compatibility test methods, it is intended to solve HDMI compatibility test The technical problem of at high cost, cumbersome time-consuming.
To achieve the goals above, the invention of this hair provides a kind of HDMI compatibility test method, and the HDMI compatibility is surveyed Method for testing the following steps are included:
Control Devices to test enters operating mode and exports image data to each display connecting with the Devices to test Equipment;
Obtain each test picture that each display equipment is exported based on the image data;
By each test picture, default picture corresponding with timing is compared respectively, obtain each test picture with Each similarity of corresponding default picture;
According to each similarity, the compatibility information of the Devices to test and each display equipment is determined.
Optionally, the control Devices to test enters operating mode and exports image data and extremely connect with the Devices to test Each display equipment the step of include:
Obtain the compatibility test type of the Devices to test;
According to the compatibility test type, control Devices to test enter operating mode and export image data to it is described Each display equipment of Devices to test connection.
Optionally, described according to the compatibility test type, it controls Devices to test and enters operating mode and export picture Data to connect with the Devices to test each display equipment the step of include:
If the compatibility test type is cold start-up test, the Devices to test is controlled by off-mode and enters work Mode;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
Optionally, described according to the compatibility test type, it controls Devices to test and enters operating mode and export picture Data to connect with the Devices to test each display equipment the step of include:
If the compatibility test type is thermal starting test, the Devices to test is controlled by standby mode and enters work Mode;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
Optionally, described according to the compatibility test type, it controls Devices to test and enters operating mode and export picture Data to connect with the Devices to test each display equipment the step of include:
If the compatibility test type is cold and hot starting test;
Control the Devices to test operating mode is entered by off-mode and export image data to the Devices to test Each display equipment of connection;
The Devices to test is controlled by operating mode to enter standby mode, by standby mode enter operating mode and defeated again Each display equipment that image data is extremely connect with the Devices to test out.
Optionally, described according to each similarity, determine the simultaneous of the Devices to test and each display equipment The step of capacitive information includes:
Each similarity is compared with preset threshold respectively;
Determine that the corresponding display equipment of the similarity for being greater than or equal to preset threshold is compatible with the Devices to test;
Determine that the corresponding display equipment of similarity for being less than preset threshold and the Devices to test are incompatible.
Optionally, described according to each similarity, determine the simultaneous of the Devices to test and each display equipment After the step of capacitive information further include:
The compatibility information of the Devices to test and each display equipment is inserted into default template, is obtained described to be measured The compatibility report of equipment.
In addition, to achieve the above object, the present invention also provides a kind of HDMI device for testing compatibility, which is characterized in that institute Stating HDMI device for testing compatibility includes:.
Picture output module, enters operating mode and exports image data for controlling Devices to test and to be measured set to described Each display equipment of standby connection;
Picture obtains module, each test chart exported for obtaining each display equipment based on the image data Piece;
Comparison module obtains each for by each test picture, default picture corresponding with timing to be compared respectively Each similarity of the test picture and corresponding default picture;
Compatible determining module, for determining the Devices to test and each display according to each similarity The compatibility information of equipment.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include: memory, Processor and the HDMI compatibility test program that is stored on the memory and can run on the processor, the HDMI Compatibility test program realizes the step of HDMI compatibility test method as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing HDMI compatibility test program is contained, the HDMI compatibility test program realizes HDMI as described above when being executed by processor The step of compatibility test method.
A kind of HDMI compatibility test method that the embodiment of the present invention proposes controls Devices to test by mobile terminal and enters Operating mode simultaneously exports image data to each display equipment connecting with Devices to test;It obtains each display equipment and is based on picture Each test picture of data output;By each test picture, default picture corresponding with timing is compared respectively, obtains each survey Attempt each similarity of piece with corresponding default picture;According to each similarity, Devices to test and each display equipment are determined Compatibility information.Avoid the on-off electricity condition, manually that manual control measurement equipment to be checked is needed using largely manually being tested Judge the HDMI compatibility etc. of measurement equipment to be checked, wastes plenty of time and manpower.By manually combining the HDMI of automation compatible Property test, save a large amount of manpower, reduce production cost, testing efficiency and quality is greatly improved.
Detailed description of the invention
Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of HDMI compatibility test method first embodiment of the present invention;
Fig. 3 is the schematic diagram that terminal is connect with Devices to test;
Fig. 4 is the schematic diagram of a scenario that Devices to test carries out HDMI compatibility test.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: controlling Devices to test by mobile terminal and enter operating mode and defeated Each display equipment that image data is extremely connect with Devices to test out;Obtain each display equipment exported based on image data it is each A test picture;By each test picture, default picture corresponding with timing is compared respectively, obtain each test picture with it is corresponding Each similarity of default picture;According to each similarity, the compatibility information of Devices to test and each display equipment is determined.
Since in the prior art, HDMI compatibility test uses based on equipment under test test, mainly use manually repeatedly Continuous plug HDMI wire replacement distinct device is tested.Also have using software automatic test, but equipment under test is needed to support Automatic test function, it is high to the software requirement of equipment under test, there is limitation, and the automated procedures that different products is realized are also Programming is needed, relatively time-consuming and laborious, implementation compares limitation.
The present invention provides a solution, solves the problems, such as that HDMI compatibility test is at high cost, cumbersome time-consuming.
As shown in Figure 1, Fig. 1 is the mobile terminal structure signal for the hardware running environment that the embodiment of the present invention is related to Figure.
Mobile terminal of the embodiment of the present invention can be TV, is also possible to PC, smart phone, tablet computer, e-book and reads Read device, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard sound Frequency level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert pressure Contracting standard audio level 3) mobile terminal device having a display function such as player, portable computer.In the embodiment of the present invention It in subsequent descriptions, is illustrated using terminal as executing subject, subsequent described terminal is described mobile terminal.
As shown in Figure 1, the mobile terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include input unit such as keyboard (Keyboard), and optional user interface 1003 can also include standard Wireline interface, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI Interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile ), such as magnetic disk storage memory.Memory 1005 optionally can also be the storage dress independently of aforementioned processor 1001 It sets.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as infrared sensor, optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display screen, proximity sensor can when mobile terminal is moved in one's ear, close display screen and/ Or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate The size of degree can detect that size and the direction of gravity when static, the application that can be used to identify mobile terminal posture is (such as vertical and horizontal Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Certainly, mobile Terminal can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, no longer superfluous herein It states.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 1 does not constitute the limit to mobile terminal It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication in a kind of memory 1005 of readable storage medium storing program for executing Module, Subscriber Interface Module SIM and HDMI compatibility test program.
In mobile terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with background server Carry out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And locate Reason device 1001 can be used for calling the HDMI compatibility test program stored in memory 1005, and execute following operation:
Control Devices to test enters operating mode and exports image data to each display connecting with the Devices to test Equipment;
Obtain each test picture that each display equipment is exported based on the image data;
By each test picture, default picture corresponding with timing is compared respectively, obtain each test picture with Each similarity of corresponding default picture;
According to each similarity, the compatibility information of the Devices to test and each display equipment is determined.
Further, processor 1001 can call the HDMI compatibility test program stored in memory 1005, also hold The following operation of row:
Obtain the compatibility test type of the Devices to test;
According to the compatibility test type, control Devices to test enter operating mode and export image data to it is described Each display equipment of Devices to test connection.
Further, processor 1001 can call the HDMI compatibility test program stored in memory 1005, also hold The following operation of row:
If the compatibility test type is cold start-up test, the Devices to test is controlled by off-mode and enters work Mode;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
Further, processor 1001 can call the HDMI compatibility test program stored in memory 1005, also hold The following operation of row:
If the compatibility test type is thermal starting test, the Devices to test is controlled by standby mode and enters work Mode;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
Further, processor 1001 can call the HDMI compatibility test program stored in memory 1005, also hold The following operation of row:
If the compatibility test type is cold and hot starting test;
Control the Devices to test operating mode is entered by off-mode and export image data to the Devices to test Each display equipment of connection;
The Devices to test is controlled by operating mode to enter standby mode, by standby mode enter operating mode and defeated again Each display equipment that image data is extremely connect with the Devices to test out.
Further, processor 1001 can call the HDMI compatibility test program stored in memory 1005, also hold The following operation of row:
Each similarity is compared with preset threshold respectively;
Determine that the corresponding display equipment of the similarity for being greater than or equal to preset threshold is compatible with the Devices to test;
Determine that the corresponding display equipment of similarity for being less than preset threshold and the Devices to test are incompatible.
Further, described according to each similarity, determine the Devices to test and each display equipment After the step of compatibility information, processor 1001 can call the HDMI compatibility test program stored in memory 1005, Also execute following operation:
The compatibility information of the Devices to test and each display equipment is inserted into default template, is obtained described to be measured The compatibility report of equipment.
Based on above-mentioned hardware configuration, embodiment of the present invention method is proposed.
Referring to Fig. 2, in HDMI compatibility test method first embodiment of the present invention, HDMI compatibility test method packet It includes:
Step S10, control Devices to test enter operating mode and export image data to connect with Devices to test it is each Show equipment;
Referring to Fig. 3, Fig. 3 is the schematic diagram that terminal is connect with Devices to test.Wherein, Devices to test is by 1 into having more HDMI Equipment is connect with each display equipment.Terminal control Devices to test enters operating mode by off-mode and exports image data, If video or picture or control Devices to test are from entering operating mode by standby mode and exporting image data, such as video or picture Face.After Devices to test enters operating mode, output image data to each display equipment;Wherein, Devices to test is by 1 into having more HDMI equipment exports image data to N platform and shows in equipment.Image data refers to the images such as picture or video or picture.
Step S20 obtains each test picture that each display equipment is exported based on image data;
By 1 into after having more HDMI equipment output image data to N platform display equipment, N platform is shown in equipment Devices to test The image data of Devices to test output is shown respectively;Terminal passes through N number of camera, the picture shown respectively from N platform display equipment Test picture is obtained in data.Specifically, terminal is obtained to obtain in the image data that display equipment 1 is shown by camera 1 and be surveyed Attempt piece 1, acquisition test picture 2 in the image data that display equipment 2 is shown is obtained by camera 2 ..., passes through camera N It obtains and obtains test picture N in the image data that display equipment N is shown.The HDMI of equipment is shown in a Devices to test and N platform In the test process of compatibility, terminal gets N from the image data that the display of N platform respectively equipment is shown by N number of camera A test picture.Wherein, picture is tested, refers to certain frame picture in the image data that is showing of display equipment.
Step S30, by each test picture, default picture corresponding with timing is compared respectively, obtain each test picture with Each similarity of corresponding default picture;
Then by picture compare algorithm, by collected each test picture respectively default picture corresponding with timing into Row comparison, determines the similarity of each test picture with corresponding default picture, and corresponding default picture refers to timing and test picture The corresponding default picture of timing.Wherein, timing is corresponding, refers to that the different moments test picture of acquisition may not be identical, acquisition Test picture just needs corresponding default picture comparison corresponding to the moment timing.Picture compare algorithm can there are many mode, Such as, pixel comparison, center of gravity comparison projection comparison, piecemeal comparison etc..Wherein, the mode that pixel compares is, by test chart Piece is compared with each pixel of default picture, if equal, similitude adds one.Two complete pictures are scanned in this way, it can With obtain similitude between the two number, then with similitude divided by total points, so that it may obtain the numerical value between one 0~1, Here it is similarities.Wherein, similarity refers to test picture degree similar with the pattern of default picture, color etc., tests picture Similarity can be indicated by percentage;Such as, the similarity of test picture and default picture is 80 percent.Default figure Piece refers to the picture in screen gathered in advance, identical with each display equipment is output to or picture;According to specific needs And different pictures is acquired, the content of default picture is not particularly limited in the present embodiment.
Step S40 determines the compatibility information of Devices to test and each display equipment according to each similarity.
Finally, according to the similarity of corresponding with the timing default picture of each test picture, determine Devices to test with it is each Test the HDMI compatibility of the corresponding each display equipment of picture.Wherein, corresponding, refer to that the source of test picture is shown and sets It is standby;I.e. test picture shows what equipment was got from which platform, then which platform is the corresponding display equipment of test picture be exactly.If surveyed The similarity for attempting piece and default picture is greater than or equal to default similarity, then judging that the test picture is shown from which platform Equipment, and determine that the display equipment of the test image credit is compatible with Devices to test.If testing the phase of picture and default picture It is less than default similarity like degree, then judging that the test picture is which platform to show equipment from, and determine the test image credit Display equipment and Devices to test it is incompatible.In this way, by test picture and default picture similarity, one by one judge obtain to The HDMI compatibility information of measurement equipment and each display equipment.
In order to facilitate understanding, citing is illustrated.It is that Devices to test carries out the one of HDMI compatibility test referring to Fig. 4, Fig. 4 Schematic diagram of a scenario.For example, Devices to test is set-top box, display equipment is the television set of each brand;Set-top box is by 1 into having more For HDMI apparatus output signal to the television set of each brand, terminal can control the working condition of set-top box, such as booting, shutdown or It is standby etc.;Terminal can acquire the image on the television set of each brand by each camera.After set-top box output signal, respectively The television set of a brand receives signal and shows image.At this point, terminal acquires the TV of each brand by each camera Image on machine, as test picture.Then, terminal compares the test image of acquisition and default picture, obtains test image With the similarity of default picture;Finally judge the similarity of test image and default picture whether in preset similarity dimensions Interior, e.g., similarity is greater than 90 percent and thinks in preset similarity dimensions;If test image and default picture Within a preset range, then set-top box is compatible with the television set HDMI of brand for similarity;If the phase of test image and default picture Like preset similarity is spent, then set-top box is compatible with the television set HDMI of brand.
In the present embodiment, the test picture of display equipment is obtained by terminal and default picture compares, obtain test chart The similarity of piece and default picture;And according to the similarity of test picture and default picture, Devices to test and display equipment are determined HDMI compatibility;Entire HDMI compatibility test process does not need manpower intervention, is automatically performed, is improved by terminal completely The quality of HDMI compatibility test saves a large amount of manpower.And Devices to test and more display equipment can be tested simultaneously HDMI compatibility, greatly improve the efficiency of HDMI compatibility test, save a large amount of time and cost.
Further, in HDMI compatibility test method second embodiment of the present invention, step S10 includes:
Step A1 obtains the compatibility test type of Devices to test;
There are two kinds of operating modes of thermal starting and cold start-up for Devices to test, wherein thermal starting refers to Devices to test by standby State enters operating mode (entering open state by standby mode);Cold start-up, refers to that Devices to test is entered by off-mode Operating mode (enters open state by off-mode).Devices to test launches into operating mode in different conditions, to be measured to set The standby HDMI compatibility from each display equipment may exist different.For example, Devices to test enters Working mould by standby mode Formula, Devices to test and display hardware compatibility;But Devices to test enters operating mode, Devices to test and display equipment by off-mode It is incompatible.Or Devices to test enters operating mode by standby mode, Devices to test and display equipment are incompatible;But Devices to test Operating mode, Devices to test and display hardware compatibility are entered by off-mode.It is understood that Devices to test mentioned here Operating mode is launched into different conditions, Devices to test may exist different from the HDMI compatibility of each display equipment; It does not represent Devices to test and launches into operating mode in different conditions, Devices to test cannot with the HDMI compatibility for showing equipment It is simultaneously compatibility.Exist, Devices to test enters operating mode, Devices to test and display hardware compatibility by standby mode;Simultaneously Devices to test enters operating mode, Devices to test and display hardware compatibility by off-mode.
So operating mode can be launched by different conditions in Devices to test, respectively device under test according to demand It is tested with the HDMI compatibility of display equipment.User, which can pre-select, to need to carry out the to be measured of HDMI compatibility test and sets Standby start-up mode, wherein can the HDMI compatibility only under selection device under test cold start-up operating mode carry out test or Only the HDMI compatibility under selection device under test thermal starting operating mode carries out test or simultaneous selection device under test is cold HDMI compatibility under starting and thermal starting operating mode is tested.Acquisition system is preset or user's selection is set to be measured The standby HDMI compatibility test type for carrying out HDMI compatibility test.Wherein, compatibility test type include: cold start-up test, Thermal starting test and cold and hot starting test.
Step A2, according to compatibility test type, control Devices to test enter operating mode and export image data to Each display equipment of Devices to test connection.
Specifically, if HDMI compatibility test type be cold start-up test, control Devices to test by off-mode into Enter operating mode and exports image data to each display equipment connecting with Devices to test.If HDMI compatibility test type For thermal starting test, then control Devices to test operating mode is entered by standby mode and export image data to Devices to test connect The each display equipment connect.If HDMI compatibility test type is cold and hot starting test, Devices to test is first controlled by shutting down State enters operating mode and exports image data to each display equipment connecting with Devices to test;Control again Devices to test by Standby mode enters operating mode and exports image data to each display equipment connecting with Devices to test.
In the present embodiment, by the compatibility test type according to Devices to test, terminal automatically controls Devices to test Operating mode;Terminal can automatically control the booting, shutdown and standby mode of Devices to test, without manually being controlled Devices to test;A large amount of manpower is saved, HDMI compatibility test cost is greatly reduced.
Optionally, step A2 includes:
If compatibility test type is cold start-up test, Devices to test is controlled by off-mode and enters operating mode;
Each display equipment that control Devices to test output image data is extremely connect with Devices to test.
For convenience of understanding, Fig. 4 can refer to;Wherein, the switch machine equipment of terminal, connect by power supply line with Devices to test, It is connected by Serial Port Line and the automation central controller of terminal.The automation central controller of terminal passes through switch machine equipment, The energization or power-off of Devices to test are controlled, to realize the booting or shutdown of control Devices to test.If compatibility test class Type is cold start-up test, and the automation central controller controls switch machine equipment of terminal enters energized state from off-position;Phase Ying Di, Devices to test enter open state from off-mode;And Devices to test generates image data, and Devices to test will generate figure Sheet data is output to each display equipment connecting with Devices to test into HDMI equipment is had more by 1.At this point, each display equipment Show that the image data of Devices to test output, automation central controller acquire the figure in each display equipment by camera Picture, as test picture.
In the present embodiment, the energization or power-off that machine equipment is switched by automation central controller controls, to realize Control the booting or shutdown of Devices to test;It boots up or shuts down instead of artificial device under test, saved a large amount of Manpower greatly reduces HDMI compatibility test cost.
Optionally, step A2 includes:
If compatibility test type is thermal starting test, Devices to test is controlled by standby mode and enters operating mode;
Each display equipment that control Devices to test output image data is extremely connect with Devices to test.
For convenience of understanding, Fig. 4 can refer to;Wherein, the infrared remote control tooling of terminal, passes through the automation of Serial Port Line and terminal Central controller connection.The automation central controller of terminal by infrared remote control tooling, control Devices to test booting or Shutdown.If compatibility test type is thermal starting test, the automation central controller controls infrared remote control tooling hair of terminal Infrared ray out;It controls Devices to test and enters open state from standby mode;And Devices to test generates image data, Devices to test Image data will be generated and be output to each display equipment connecting with Devices to test into HDMI equipment is had more by 1.At this point, each It shows that equipment shows the image data of Devices to test output, automates central controller by camera and acquire each display equipment On image, as test picture.
In the present embodiment, by automating the sending infrared ray of central controller controls infrared remote control tooling, thus real Now control Devices to test enters to state machine or open state;It to state machine or is opened instead of manual control Devices to test Machine state has saved a large amount of manpower, greatly reduces HDMI compatibility test cost.
Optionally, step A2 includes:
If compatibility test type is cold and hot starting test;
Control Devices to test operating mode is entered by off-mode and export image data to connect with Devices to test it is each A display equipment;
Control Devices to test enters standby mode by operating mode, by standby mode enters operating mode and output figure again Each display equipment that sheet data is extremely connect with Devices to test.
If compatibility test type is cold and hot starting test;Firstly, the automation central controller controls of terminal switch Machine equipment enters energized state from off-position;Correspondingly, Devices to test enters open state from off-mode;And it is to be measured to set Standby to generate image data, Devices to test will generate image data and be connect with Devices to test by 1 into having more HDMI equipment and be output to Each display equipment.At this point, each display equipment shows that the image data of Devices to test output, automation central controller are logical It crosses camera and acquires each image shown in equipment, as test picture;And judge that test picture is similar to default picture Degree, to further determine that the HDMI compatibility of Devices to test and each display equipment.Then, the automation center control of terminal Device controls infrared remote control tooling and issues infrared ray, enters open state from standby mode to control Devices to test;And it is to be measured Equipment generates image data, and Devices to test will generate image data and be output to each display equipment into HDMI equipment is had more by 1. At this point, each display equipment shows that the image data of Devices to test output, automation central controller acquire each by camera Image in a display equipment, as test picture;And judge to test the similarity of picture and default picture, thus further really Determine the HDMI compatibility of Devices to test and each display equipment.
In the present embodiment, program is saved.The energization or power-off of machine equipment are switched by automation central controller controls, Off-mode is entered by open state to control Devices to test, the operating mode of Devices to test cold start-up can be tested out HDMI compatibility.After controlling Devices to test cold start-up simultaneously, by the hair for automating central controller controls infrared remote control tooling Infrared ray out, to realize that control Devices to test by entering open state to state machine, can test out Devices to test thermal starting Operating mode HDMI compatibility.When device under test carries out HDMI compatibility test, artificial repetitive control is not needed, is added Fast HDMI compatibility test process has been greatly saved manpower.And first entered from off-mode by control Devices to test Operating mode, then operating mode is entered by standby mode;It is not needed in thermal starting after off-mode enters standby mode, again Operating mode is entered by standby mode, realizes thermal starting process faster, program and energy consumption is saved, has further speeded up HDMI compatibility Property test process, has saved the plenty of time.
Further, in HDMI compatibility test method 3rd embodiment of the present invention, step S40 includes:
Each similarity is compared with preset threshold respectively;
Determine that the corresponding display equipment of the similarity for being greater than or equal to preset threshold is compatible with Devices to test;
Determine that the corresponding display equipment of the similarity for being less than preset threshold and Devices to test are incompatible.
Show whether equipment is compatible with Devices to test, the figure for needing to receive and show that Devices to test exports by showing equipment The case where sheet data, judges.The term of reference of a similarity specified first, if the similarity of test picture and default picture In the range, then it is determined that the source of the test picture shows that equipment is compatible with Devices to test;If testing picture and presetting The similarity of picture not in the range, then it is determined that the source of the test picture shows that equipment and Devices to test are incompatible.Sentence Whether the similarity of the disconnected each test picture and default picture obtained from each display equipment is greater than or equal to preset threshold, such as The similarity that fruit tests picture and default picture is greater than or equal to preset threshold, determine the source of the test picture show equipment with Devices to test is compatible;If the similarity for testing picture and default picture is less than preset threshold, the source of the test picture is determined Show that equipment and Devices to test are incompatible.Wherein, preset threshold refers to the one of the similarity size of test picture and default picture A designated value, for judging the source for testing picture shows whether equipment is compatible with Devices to test;Preset threshold can be according to specific It needs and is arranged, in the present embodiment to being arranged according to specific needs, not to the numerical value of preset threshold in the present embodiment The numerical value for doing concrete restriction is not particularly limited.By the similarity and preset threshold that judge test picture and default picture one by one Size relation situation, so that it is determined that it is each test picture each source show equipment it is whether compatible with Devices to test.
In order to facilitate understanding, citing is illustrated.Referring to Fig. 3, terminal passes through the figure that camera 1 is shown from display equipment 1 Test picture 1 is obtained in sheet data, test picture 1 and the similarity of default picture are greater than or equal to preset threshold, then showing Equipment 1 is compatible with Devices to test.Terminal obtains test picture 2 by camera 2 from the image data that display equipment 2 is shown, The similarity for testing picture 2 and default picture is less than preset threshold, then display equipment 2 and Devices to test are incompatible.
In the present embodiment, the similarity that test picture and default picture is judged automatically by terminal, so that it is determined that be measured The HDMI compatibility of equipment and display equipment replaces manual testing to judge using automatic test, and HDMI compatibility determination determines quasi- Really, it quickly, improves the quality of HDMI compatibility test, save a large amount of manpower.
Optionally, after step S40 further include:
The compatibility information of Devices to test and each display equipment is inserted into default template, obtains the compatibility of Devices to test Report.
After the HDMI compatibility information for determining Devices to test and each display equipment, in default template, write exactly respectively Whether each display equipment is compatible with Devices to test, such as shows equipment compatible with Devices to test or display equipment and Devices to test It is incompatible.Optionally, the corresponding each test picture of each display equipment and default picture can be write respectively exactly in default template Similarity, etc. information.Each display equipment and default template have corresponding identical type identification, obtain Devices to test and each The HDMI compatibility information of a display equipment simultaneously identifies the corresponding type identification of each display equipment;It is found in default template Corresponding type identification after finding corresponding identical type identification, will show the HDMI compatibility information of equipment and Devices to test It is filled into corresponding content vacancy in default template.The HDMI compatibility information filling of Devices to test and each display equipment is pre- If after template, just forming the HDMI compatibility report of Devices to test.
Wherein, preset template, refer to for show Devices to test and it is each display equipment HDMI compatibility table or Document etc..Compatibility report refers to the HDMI compatibility information comprising Devices to test and each display equipment, and/or each aobvious Show a document of the information such as the similarity of the corresponding each test picture of equipment and default picture.
Specifically, understand for convenience, citing is illustrated.For example, terminal control Devices to test enters operating mode, produces Raw image data, and image data is exported into HDMI equipment is had more to N platform display equipment by 1;N platform is shown in equipment respectively Show the image data of Devices to test output, e.g., picture or video etc..Terminal is acquired N platform respectively and is shown by N number of camera The image data shown in equipment;Terminal is obtained by camera 1 obtains test picture in the image data that display equipment 1 is shown 1, it is obtained by camera 2 and obtains test picture 2 in the image data that display equipment 2 is shown, display is obtained by camera 3 and is set Test picture 3 is obtained in the image data of standby 2 display ..., is obtained in the image data that display equipment N is shown by camera N Obtain test picture N.Then test picture 1 is compared with default picture, obtains test picture 1 and the similarity of default picture is 80 percent;Test picture 2 is compared with default picture, the similarity for obtaining test picture 2 and default picture is percent 82;Test picture 3 is compared with default picture, the similarity for obtaining test picture 3 and default picture is 80 percent Five;...;Test picture N is compared with default picture, the similarity for obtaining test picture N and default picture is 90 percent. The similarity for presetting test picture and default picture is greater than or equal to 85 percent, then it is assumed that tests the source of picture Equipment is compatible with Devices to test;If testing the similarity of picture and default picture less than 85 percent, then it is assumed that test chart The source device of piece and Devices to test are incompatible.The source device for so testing picture 1 shows that equipment 1 and Devices to test be not simultaneous Hold, the source device of test picture 2 shows that equipment 2 and Devices to test are incompatible, and the source device of test picture 3 shows equipment 3 Compatible with Devices to test ..., test picture N source device shows that equipment N is compatible with Devices to test.Finally, in default template In, write the HDMI compatibility of display equipment 1 to display equipment N exactly respectively, and show equipment 1 to the corresponding survey of display equipment N Piece 1 is attempted to the test picture N similarity with default picture respectively.Such as, display equipment is compatible with Devices to test, fills out "Yes", shows Show that equipment and Devices to test are incompatible, fills out "No";Or display equipment is compatible with Devices to test, fills out " compatibility ", shows equipment It is incompatible with Devices to test, fill out " incompatible ";The word content inserted does not limit, as long as showing equipment after can be shown that test It is whether compatible with Devices to test.
In the present embodiment, by the way that the HDMI compatibility information of Devices to test and each display equipment is inserted default mould Plate can quickly obtain the HDMI compatibility report of Devices to test;The HDMI compatibility one of Devices to test and each display equipment Mesh is clear, and HDMI compatibility test result is not necessarily to manual record, saves a large amount of manpower, reduces costs.
In addition, the embodiment of the present invention also proposes that a kind of HDMI device for testing compatibility, HDMI device for testing compatibility include:
Picture output module, enters operating mode and exports image data for controlling Devices to test and to be measured set to described Each display equipment of standby connection;
Picture obtains module, each test chart exported for obtaining each display equipment based on the image data Piece;
Comparison module obtains each for by each test picture, default picture corresponding with timing to be compared respectively Each similarity of the test picture and corresponding default picture;
Compatible determining module, for determining the Devices to test and each display according to each similarity The compatibility information of equipment.
Optionally, picture output module is also used to:
Obtain the compatibility test type of the Devices to test;
According to the compatibility test type, control Devices to test enter operating mode and export image data to it is described Each display equipment of Devices to test connection.
Optionally, picture output module is also used to:
If the compatibility test type is cold start-up test, the Devices to test is controlled by off-mode and enters work Mode;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
Optionally, picture output module is also used to:
If the compatibility test type is thermal starting test, the Devices to test is controlled by standby mode and enters work Mode;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
Optionally, picture output module is also used to:
If the compatibility test type is cold and hot starting test;
Control the Devices to test operating mode is entered by off-mode and export image data to the Devices to test Each display equipment of connection;
The Devices to test is controlled by operating mode to enter standby mode, by standby mode enter operating mode and defeated again Each display equipment that image data is extremely connect with the Devices to test out.
Optionally, compatible determining module is also used to:
Each similarity is compared with preset threshold respectively;
Determine that the corresponding display equipment of the similarity for being greater than or equal to preset threshold is compatible with the Devices to test;
Determine that the corresponding display equipment of similarity for being less than preset threshold and the Devices to test are incompatible.
Optionally, HDMI device for testing compatibility further includes test report generation module, and test report generation module is used for:
The compatibility information of the Devices to test and each display equipment is inserted into default template, is obtained described to be measured The compatibility report of equipment.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, HDMI is stored on the readable storage medium storing program for executing Compatibility test program, the HDMI compatibility test program realize that HDMI compatibility as described above is surveyed when being executed by processor The step of method for testing.
Readable storage medium storing program for executing specific embodiment of the present invention is referred to above-mentioned each embodiment of HDMI compatibility test method, Details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a mobile terminal device (can be electricity Depending on mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of high-definition multimedia interface HDMI compatibility test method, which is characterized in that the HDMI compatibility test Method includes:
Control Devices to test enters operating mode and exports image data to each display equipment connecting with the Devices to test;
Obtain each test picture that each display equipment is exported based on the image data;
By each test picture, default picture corresponding with timing is compared respectively, obtain each test picture with it is corresponding Each similarity of default picture;
According to each similarity, the compatibility information of the Devices to test and each display equipment is determined.
2. HDMI compatibility test method as described in claim 1, which is characterized in that the control Devices to test enters work Mode and export image data to connect with the Devices to test each display equipment the step of include:
Obtain the compatibility test type of the Devices to test;
According to the compatibility test type, control Devices to test enter operating mode and export image data to it is described to be measured Each display equipment of equipment connection.
3. HDMI compatibility test method as claimed in claim 2, which is characterized in that described according to the compatibility test class Type, control Devices to test enter operating mode and export image data to each display equipment connecting with the Devices to test Step includes:
If the compatibility test type is cold start-up test, the Devices to test is controlled by off-mode and enters Working mould Formula;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
4. HDMI compatibility test method as claimed in claim 2, which is characterized in that described according to the compatibility test class Type, control Devices to test enter operating mode and export image data to each display equipment connecting with the Devices to test Step includes:
If the compatibility test type is thermal starting test, the Devices to test is controlled by standby mode and enters Working mould Formula;
The Devices to test output image data is controlled to each display equipment connecting with the Devices to test.
5. HDMI compatibility test method as claimed in claim 2, which is characterized in that described according to the compatibility test class Type, control Devices to test enter operating mode and export image data to each display equipment connecting with the Devices to test Step includes:
If the compatibility test type is cold and hot starting test;
The Devices to test is controlled to enter operating mode by off-mode and export image data to connecting with the Devices to test Each display equipment;
The Devices to test is controlled by operating mode to enter standby mode, by standby mode enter operating mode and output figure again Each display equipment that sheet data is extremely connect with the Devices to test.
6. HDMI compatibility test method as described in claim 1, which is characterized in that it is described according to each similarity, Determine the Devices to test and it is each it is described display equipment compatibility information the step of include:
Each similarity is compared with preset threshold respectively;
Determine that the corresponding display equipment of the similarity for being greater than or equal to preset threshold is compatible with the Devices to test;
Determine that the corresponding display equipment of similarity for being less than preset threshold and the Devices to test are incompatible.
7. HDMI compatibility test method as described in claim 1, which is characterized in that it is described according to each similarity, After the step of determining the Devices to test and each compatibility information for showing equipment further include:
The compatibility information of the Devices to test and each display equipment is inserted into default template, obtains the Devices to test Compatibility report.
8. a kind of HDMI device for testing compatibility, which is characterized in that the HDMI device for testing compatibility includes:
Picture output module, for control Devices to test enter operating mode and export image data to the Devices to test connect The each display equipment connect;
Picture obtains module, each test picture exported for obtaining each display equipment based on the image data;
Comparison module obtains each described for by each test picture, default picture corresponding with timing to be compared respectively Test each similarity of picture with corresponding default picture;
Compatible determining module, for determining the Devices to test and each display equipment according to each similarity Compatibility information.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage On device and the HDMI compatibility test program that can run on the processor, the HDMI compatibility test program is by the place Manage the step of realizing the HDMI compatibility test method as described in any one of claims 1 to 7 when device executes.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with HDMI compatibility test journey on the readable storage medium storing program for executing Sequence realizes that the HDMI as described in any one of claims 1 to 7 is simultaneous when the HDMI compatibility test program is executed by processor The step of capacitive test method.
CN201811477157.8A 2018-12-04 2018-12-04 HDMI compatibility testing method and device, mobile terminal and readable storage medium Active CN109525839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811477157.8A CN109525839B (en) 2018-12-04 2018-12-04 HDMI compatibility testing method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811477157.8A CN109525839B (en) 2018-12-04 2018-12-04 HDMI compatibility testing method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109525839A true CN109525839A (en) 2019-03-26
CN109525839B CN109525839B (en) 2021-02-05

Family

ID=65794123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811477157.8A Active CN109525839B (en) 2018-12-04 2018-12-04 HDMI compatibility testing method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109525839B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764811A (en) * 2020-11-24 2021-05-07 展讯半导体(成都)有限公司 Camera detection method and electronic equipment
CN114690988A (en) * 2022-03-08 2022-07-01 北京字跳网络技术有限公司 Test method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120136612A1 (en) * 2010-11-30 2012-05-31 Verizon Patent And Licensing, Inc. Hdmi device and interoperability testing systems and methods
CN107968943A (en) * 2017-12-18 2018-04-27 深圳市双翼科技股份有限公司 Set-top box test method and terminal device
CN108170608A (en) * 2018-01-10 2018-06-15 上海展扬通信技术有限公司 Compatibility test method, test terminal and storage medium
CN108551579A (en) * 2018-04-24 2018-09-18 四川九州电子科技股份有限公司 A kind of hardware detection method and system of set-top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120136612A1 (en) * 2010-11-30 2012-05-31 Verizon Patent And Licensing, Inc. Hdmi device and interoperability testing systems and methods
CN107968943A (en) * 2017-12-18 2018-04-27 深圳市双翼科技股份有限公司 Set-top box test method and terminal device
CN108170608A (en) * 2018-01-10 2018-06-15 上海展扬通信技术有限公司 Compatibility test method, test terminal and storage medium
CN108551579A (en) * 2018-04-24 2018-09-18 四川九州电子科技股份有限公司 A kind of hardware detection method and system of set-top box

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764811A (en) * 2020-11-24 2021-05-07 展讯半导体(成都)有限公司 Camera detection method and electronic equipment
CN112764811B (en) * 2020-11-24 2023-02-17 展讯半导体(成都)有限公司 Camera detection method and electronic equipment
CN114690988A (en) * 2022-03-08 2022-07-01 北京字跳网络技术有限公司 Test method and device and electronic equipment
CN114690988B (en) * 2022-03-08 2024-01-23 北京字跳网络技术有限公司 Test method and device and electronic equipment

Also Published As

Publication number Publication date
CN109525839B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US10646037B2 (en) Apparatus and method for simultaneously testing a plurality of mobile devices
CN104615396B (en) A kind of resolution ratio automatic adjusting method and system based on Android
CN102256156B (en) Method and system for controlling power-on and power-off test of television
US20140176776A1 (en) Display control apparatus and display control method
US10978027B2 (en) Electronic display partial image frame update systems and methods
CN105632348A (en) LED display screen configuration method and device
CN108628564A (en) Eliminate method, apparatus, storage medium and the display terminal of display screen ghost
CN104270579A (en) Terminal application interface pixel adjusting method and terminal
CN101226050A (en) Method for measuring double-camera straight-pulling monocrystal diameter based on digital signal processor
CN109525839A (en) HDMI compatibility test method, device, mobile terminal and readable storage medium storing program for executing
CN103957454A (en) Multi-resolution output method and device for smart television
US20230144426A1 (en) Monitor system and method for controlling displaying thereof
CN105376542A (en) White balance adjustment method and system for module television
CN109726109A (en) Code debugging method, apparatus, equipment and computer storage medium
CN111221489A (en) Method, device, equipment and medium compatible with various models of display screens
CN107071169A (en) The processing unit and method of screen wallpaper
CN107390394B (en) Liquid crystal module testing system based on SOPC
CN101557437A (en) Automatic testing method of mobile phone software and device thereof
CN103941112A (en) System and method for detecting multiple image signals
CN108717357A (en) Page presentation code conversion method, device, equipment and computer storage media
US20160301981A1 (en) Smart television 3d setting information processing method and device
CN104602124A (en) Multi-screen driving method and system of LCD TV and driving main board module
CN111406399B (en) Terminal shooting frame rate selection method, terminal and computer readable storage medium
CN112367557B (en) Display method of LED television wall, television and computer readable storage medium
CN114858417A (en) Display performance testing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant