A kind of test method and system of TV box
Technical field
The present invention relates to network communication technology field more particularly to a kind of test methods and system of TV box.
Background technique
In recent years, TV box is widely used in life, and people can carry out video by TV box
Broadcasting, web page browsing etc..
TV box is a small-sized computing terminal equipment, if simply by the technologies such as HDMI or color difference line by its
It is connect with traditional tv, can realize that web page browsing, network video play, application program is installed or even energy on traditional tv
By the photos and videos projection in your mobile phone, plate get home in large screen television in.
Producer needs to carry out a series of test, such as Publication No. to TV box in the production TV box period of the day from 11 p.m. to 1 a.m
The patent of CN105915298A discloses the test method and device of a kind of TV box WiFi handling capacity, wherein the test
Device includes:First motor, the first turntable, the second motor and the second turntable, the first motor and the first turntable phase
Connect and control first turntable and rotated, second motor is connected with second turntable and controls second turntable
It is rotated, the edge of first turntable is provided with WiFi signal launch terminal, and the edge of second turntable is provided with
WiFi signal receives terminal.The test method can be used for testing the handling capacity of TV box.
In general, TV box has a variety of clarity;For example, 1080P, 720P.Clarity with film source difference
And it is different.Performance of the TV box under different clarity may difference, so needing in test in view of clarity
Influence.
Currently, the test to TV box is all using manually operated method, testing process is more, so leading to efficiency
It is lower.In addition, the test to TV box does not all account for TV box situation in different states, example in many cases
Such as, clarity, connection status.
Summary of the invention
Technical problem to be solved by the present invention lies in, the test to TV box be all using manually operated method,
Efficiency is lower, and does not account for TV box situation in different states.
The present invention solves its technical problem, proposes the test method and system of a kind of TV box.
The test method of the TV box includes:
It controls TV box and plays video with a variety of clarity;For every kind of clarity video, the TV box is obtained
Stabling current and equilibrium temperature;
Store test data.
Optionally, when the relationship that the stabling current and the equilibrium temperature are not positively correlated, test parameter, root are saved
Stabling current and equilibrium temperature under corresponding clarity state are retested according to the test parameter, or retests TV box
Stabling current and equilibrium temperature under different clarity states.
Optionally, the stabling current and equilibrium temperature packet for retesting TV box under different clarity states
It includes:
Stop test process;
When the temperature of the TV box is cooling, retests TV box and stablize electricity under different clarity states
Stream and equilibrium temperature.
Optionally, the stabling current for obtaining the TV box and equilibrium temperature include:
The electric current and temperature of the primary TV box are measured every preset time;
When the size of the electric current and the waving interval of the temperature is lower than threshold value, the described of the TV box is determined
Stabling current and the equilibrium temperature.
Optionally, video is played with a variety of clarity, including:
Under different connection status, video is played with a variety of clarity respectively.
On the other hand, the present invention also provides a kind of test macro of TV box, the test macro includes:
Data acquisition module plays video for controlling TV box with a variety of clarity;For every kind of clarity video,
Obtain the stabling current and equilibrium temperature of the TV box;
Data memory module, for storing test data.
Optionally, the test macro further includes:
Module is retested, for saving when the relationship that the stabling current and the equilibrium temperature are not positively correlated
Test parameter retests stabling current and equilibrium temperature under corresponding clarity state according to the test parameter, or again
Test stabling current and equilibrium temperature of the TV box under different clarity states.
Optionally, the module that retests includes:
Test stops submodule, for stopping test process;
Submodule is retested, for retesting TV box in difference when the temperature of the TV box is cooling
Stabling current and equilibrium temperature under clarity state.
Optionally, the data acquisition module includes:
Submodule is measured, for measuring the electric current and temperature of the primary TV box every preset time;
Data determine submodule, for when the size of the electric current and the waving interval of the temperature be lower than threshold value when, really
The stabling current of the fixed TV box and the equilibrium temperature.
Optionally, the data acquisition module is also used under different connection status, respectively with the broadcasting of a variety of clarity
Video.
The present invention controls TV box by test equipment and plays video with a variety of clarity;And it is directed to every kind of clarity
Video, determines the stabling current and equilibrium temperature of the TV box, and stores test data.Test side provided by the invention
Method can automatically test temperature and electric current in different clarity, and be automatic between different clarity
Switching, without manual operation, human cost needed for saving test improves testing efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the test method for TV box that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the test method of TV box provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the test method for TV box that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural block diagram of the test macro for TV box that the embodiment of the present invention four provides.
Specific embodiment
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
It is also understood that specific embodiment described herein is used only for understanding the present invention, it is not used to limit this hair
It is bright.
In the present invention, including test equipment, TV box to be tested.The test terminal is used for the TV box
Son is tested.The test terminal can be the equipment such as computer.The TV box is equipment to be tested.
Test equipment can be used for controlling TV box to be tested, i.e., sends and instruct to TV box, make it into difference
State.
Optionally, the TV box to be tested can be connected with display, programmable power supply.Wherein, the programmable power supply
Adjustable output.The test equipment can obtain current data, such as TV box from the programmable power supply of the TV box
Average current and immediate current.
Optionally, the programmable power supply turns USB line using GPIB with the test equipment and connect.The TV box and survey
Examination equipment is connected using both-end USB line.
Optionally, temperature measuring device can be used to carry out temperature measurement to the TV box.The temperature can be described
The surface temperature of TV box.The test equipment can obtain the temperature of the TV box from the temperature measuring device.
The heretofore described equilibrium temperature being related to is the temperature of TV box to be tested when temperature is in stable state
Degree.Stabling current is in electric current when stable state for the electric current of TV box to be tested.
Specifically, in testing, test equipment controls TV box to be tested and plays video using different clarity,
For the video of every kind of clarity, video playing for a period of time after, test equipment Cutoff current value tends towards stability, can will at this time
Electric current be determined as the stabling current of TV box.When the temperature that test equipment determines that temperature measuring device measures tends towards stability,
Temperature at this time is determined as equilibrium temperature.
In the present invention, clarity can be indicated by the resolution ratio of video, for example, 480P, 720P, 1080P, 4K video.This
Outside, clarity can also be indicated by other parameters.
Optionally, the case where when present invention can also be in different connection status to TV box, is tested respectively.Connection
State can be divided into cable network connection status and wireless network connection state.
The present invention controls TV box by test equipment and plays video with a variety of clarity;And it is directed to every kind of clarity
Video, determines the stabling current and equilibrium temperature of the TV box, and stores test data.Test side provided by the invention
Method can automatically test temperature and electric current in different clarity, and be automatic between different clarity
Switching, without manual operation, human cost needed for saving test improves testing efficiency.
Embodiment one
Fig. 1 is a kind of flow chart of the test method of TV box provided in this embodiment, and in conjunction with attached drawing, details are as follows:
Step S101 controls TV box with a variety of clarity and plays video;For every kind of clarity video, described in acquisition
The stabling current and equilibrium temperature of TV box.
Test equipment can control TV box to play video with a variety of clarity, and video resolution can be used in the clarity
Rate indicates, such as 480P, 720P, 1080P, 4K.
For every kind of clarity video, test equipment obtains the stabling current and equilibrium temperature of the TV box.
Specifically, the stabling current for obtaining the TV box and equilibrium temperature include:
The electric current and temperature of the primary TV box are measured every preset time;
When the size of the electric current and the waving interval of the temperature is lower than threshold value, the described of the TV box is determined
Stabling current and the equilibrium temperature.
After test equipment adjusts TV box, the state of TV box changes, and temperature and electric current need one
It fixes time and can be only achieved new balance.
Specifically, test equipment measures the electric current and temperature of the primary TV box every the preset time.
Optionally, test equipment can obtain current data from the programmable power supply of TV box, be surveyed using temperature measuring device
Try the temperature of TV box.The temperature can be surface temperature.
Test equipment determines the TV box when the size of the electric current and the waving interval of the temperature is lower than threshold value
The stabling current of son and the equilibrium temperature.
By taking temperature as an example, the size of the waving interval of temperature can be the absolute value of the difference of temperature test value twice in succession.
Accordingly, the size of the waving interval of electric current can be the absolute value of the difference of testing current value twice in succession.
The size of the waving interval of above electric current and temperature can also use other calculation methods, and the present invention does not make to have
The restriction of body.
For different connection status, the performance level of TV box is different.It is therefore desirable to for different connection status into
Row is tested respectively.
Optionally, video is played with a variety of clarity, specially:
Under different connection status, video is played with a variety of clarity respectively.
The connection status can be wireless connection conditions and wired connection state.
Specifically, under every kind of connection status, video is played with a variety of clarity respectively.
Step S102 stores test data.
Optionally, test data is stored, specifically, being directed to every kind of clarity video, stores the stabilization of the TV box
The data of electric current and equilibrium temperature.
In the present embodiment, TV box is controlled by test equipment and plays video with a variety of clarity;And for every
Kind clarity video, determines the stabling current and equilibrium temperature of the TV box, and store test data.It is provided by the invention
Test method can automatically test temperature and electric current in different clarity, and between different clarity
It is to automatically switch, without manual operation, human cost needed for saving test improves testing efficiency.
Embodiment two
Fig. 2 is a kind of flow chart of the test method of TV box provided in this embodiment, for ease of description, only to this
The relevant part of embodiment explains, and other content can be referring to embodiment one, and in conjunction with attached drawing, details are as follows:
Step S201 controls TV box with a variety of clarity and plays video;For every kind of clarity video, described in acquisition
The stabling current and equilibrium temperature of TV box.
Step S202 stores test data.
Step S202 ' saves test ginseng when the relationship that the stabling current is not positively correlated with the equilibrium temperature
Number, the stabling current and equilibrium temperature under corresponding clarity state are retested according to the test parameter.
In general, the stabling current of TV box and equilibrium temperature positive correlation.When the stabling current and institute
When stating the relationship that equilibrium temperature is not positively correlated, illustrate that test data is misfitted with actual conditions, needs to retest.
When the relationship that the stabling current and the equilibrium temperature are not positively correlated, test equipment saves test parameter,
And stabling current and equilibrium temperature under corresponding clarity state are retested according to the test parameter.
Wherein, corresponding clarity can be when finding the relationship that the stabling current and the equilibrium temperature are not positively correlated
Corresponding clarity.
Specifically, in the stabling current and equilibrium temperature for obtaining the TV box to each clarity one by one, positive reason
Under condition, obtained stabling current and equilibrium temperature positive correlation, when there is abnormal data, i.e., emerging stable electricity
Stream and equilibrium temperature data do not meet original positive correlation, save the test parameter under the state, the test parameter is extremely
It less include clarity numerical value.
In the stabling current and equilibrium temperature retested according to the test parameter under corresponding clarity state,
Corresponding clarity can be abnormal data occur, that is, when not meeting positive correlation, the clarity of front and back twice.
The stabling current and equilibrium temperature under corresponding clarity state are retested according to the test parameter.
In the present embodiment, pass through the quantitative relation of the comparison stabling current and the equilibrium temperature, it is possible to find test
Whether data are normal, when occurring abnormal, can retest corresponding clarity.And save the test under abnormality
Parameter is conducive to the reproduction timely found the problem with problem in testing.
Embodiment three
Fig. 3 is a kind of flow chart of the test method of TV box provided in this embodiment, for ease of description, only to this
The relevant part of embodiment explains, and other content can be referring to embodiment one, and in conjunction with attached drawing, details are as follows:
Step S301 controls TV box with a variety of clarity and plays video;For every kind of clarity video, described in acquisition
The stabling current and equilibrium temperature of TV box;
Step S302 stores test data.
Step S302 ' saves test ginseng when the relationship that the stabling current is not positively correlated with the equilibrium temperature
Number, retests stabling current and equilibrium temperature of the TV box under different clarity states.
Specifically, when the relationship that the stabling current and the equilibrium temperature are not positively correlated, test equipment, which saves, to be surveyed
Parameter is tried, stabling current and equilibrium temperature of the TV box under different clarity states are retested.
Specifically, in the stabling current and equilibrium temperature for obtaining the TV box to each clarity one by one, positive reason
Under condition, obtained stabling current and equilibrium temperature positive correlation, when there is abnormal data, i.e., emerging stable electricity
Stream and equilibrium temperature data do not meet original positive correlation, save the test parameter under the state, the test parameter is extremely
It less include clarity numerical value.
Further, stabling current and equilibrium temperature of the TV box under different clarity states are retested.
Optionally, the stabling current and equilibrium temperature packet for retesting TV box under different clarity states
It includes:
Stop test process;
When the temperature of the TV box is cooling, retests TV box and stablize electricity under different clarity states
Stream and equilibrium temperature.
Before re-starting test, stop test process, keeps the temperature of the TV box cooling.
In the present embodiment, pass through the quantitative relation of the comparison stabling current and the equilibrium temperature, it is possible to find test
Whether data are normal, when occurring abnormal, can retest stabling current of the TV box under different clarity states and steady
Determine temperature.And the test parameter under abnormality is saved, be conducive to the reproduction timely found the problem with problem in testing.
Example IV
Fig. 4 is a kind of structural block diagram of the test macro of TV box provided in this embodiment, and in conjunction with attached drawing, details are as follows:
The test macro includes:
Data acquisition module 41 plays video for controlling TV box with a variety of clarity;It is regarded for every kind of clarity
Frequently, the stabling current and equilibrium temperature of the TV box are obtained;
Data memory module 42, for storing test data.
Optionally, the test macro further includes:
Module is retested, for saving when the relationship that the stabling current and the equilibrium temperature are not positively correlated
Test parameter retests stabling current and equilibrium temperature under corresponding clarity state according to the test parameter, or again
Test stabling current and equilibrium temperature of the TV box under different clarity states.
Optionally, the module that retests includes:
Test stops submodule, for stopping test process;
Submodule is retested, for retesting TV box in difference when the temperature of the TV box is cooling
Stabling current and equilibrium temperature under clarity state.
Optionally, the data acquisition module 41 includes:
Submodule is measured, for measuring the electric current and temperature of the primary TV box every preset time;
Data determine submodule, for when the size of the electric current and the waving interval of the temperature be lower than threshold value when, really
The stabling current of the fixed TV box and the equilibrium temperature.
Optionally, the data acquisition module 41, is also used under different connection status, is broadcast respectively with a variety of clarity
Put video.
The test macro of TV box provided in this embodiment is applied to embodiment of the method one above-mentioned to method
Embodiment three, relevant content is referring to embodiment of the method above-mentioned, and which is not described herein again.
It should be appreciated that there is no the stringent sequences that executes for the step in the present invention, it is all it is contemplated that and not influencing function
The variation of realization all should be within the scope of the present invention.
In embodiment provided herein, it should be appreciated that described method and system is all schematically, in reality
By adjusting can difference in the implementation process of border.
In addition, the specific name of each functional unit or module is also only for convenience of distinguishing each other, it is not used to the present invention
Protection scope.
Specific embodiment described herein is only an example for the spirit of the invention.The neck of technology belonging to the present invention
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.