CN106060615B - Judgment method and device for realizing screen parameter automatic matching by using optical sensor - Google Patents

Judgment method and device for realizing screen parameter automatic matching by using optical sensor Download PDF

Info

Publication number
CN106060615B
CN106060615B CN201610349291.4A CN201610349291A CN106060615B CN 106060615 B CN106060615 B CN 106060615B CN 201610349291 A CN201610349291 A CN 201610349291A CN 106060615 B CN106060615 B CN 106060615B
Authority
CN
China
Prior art keywords
screen parameter
test terminal
parameter file
screen
matched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610349291.4A
Other languages
Chinese (zh)
Other versions
CN106060615A (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.)
TCL Overseas Electronics Huizhou Ltd
Original Assignee
TCL Overseas Electronics Huizhou 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 TCL Overseas Electronics Huizhou Ltd filed Critical TCL Overseas Electronics Huizhou Ltd
Priority to CN201610349291.4A priority Critical patent/CN106060615B/en
Publication of CN106060615A publication Critical patent/CN106060615A/en
Application granted granted Critical
Publication of CN106060615B publication Critical patent/CN106060615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42202Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] environmental sensors, e.g. for detecting temperature, luminosity, pressure, earthquakes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Abstract

The invention discloses a judgment method for realizing screen parameter automatic matching by using an optical sensor, which comprises the following steps: when the test terminal is started, starting an optical sensor to acquire optical information of the test terminal environment in the starting process of the test terminal; judging whether the ambient light information of the test terminal changes or not; if the ambient light information changes in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is correctly matched; and if the ambient light information is not changed in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is matched wrongly. The invention also discloses a judgment device for realizing the automatic screen parameter matching by using the optical sensor. The invention realizes automatic matching of screen parameters and improves the screen parameter matching efficiency.

Description

Judgment method and device for realizing screen parameter automatic matching by using optical sensor
Technical Field
The invention relates to the technical field of electronic terminals, in particular to a method and a device for judging screen parameter automatic matching by using an optical sensor.
Background
In daily television development, a situation that one set of movement software needs to be adapted to different television screen specifications (namely, screen matching) is often encountered, and when the television software is burnt into televisions with different screen specifications, a black screen phenomenon caused by mismatching of screen parameters occurs. This is more common in television manufacturers that are primarily foundries.
Because the display screen belongs to the output device, the television software cannot judge the state of the current display screen, and under the condition that the serial number of the specific screen parameter file is unknown, the condition of screen blackness can occur when the screen parameter file in the software system is not matched with the screen specification. In order to match the screen parameter specification correctly, the blind cutting mode is usually used in the case of the screen parameter specification. The 'blind cut' means that after the television is started, the screen parameters of the current system are changed through shortcut keys by using a remote controller to operate despite that the screen is dark. Although the blind switching mode can realize screen parameter switching, the operation is troublesome in actual use and the intelligent degree is poor, and the efficiency of matching the correct screen parameter file by the test terminal is greatly influenced.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method and a device for judging whether screen parameters are automatically matched by using an optical sensor, and aims to solve the problem that whether a test terminal is matched with a screen parameter file cannot be automatically judged in the prior art.
In order to achieve the above object, the present invention provides a method for determining screen parameter automatic matching by using an optical sensor, comprising the following steps:
when the test terminal is started, starting an optical sensor to acquire optical information of the test terminal environment in the starting process of the test terminal;
judging whether the ambient light information of the test terminal changes or not;
if the ambient light information changes in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is correctly matched;
and if the ambient light information is not changed in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is matched wrongly.
Preferably, after the step of determining that the screen parameter file matching error adopted by the test terminal is started if the ambient light information in the starting process is not changed, the screen parameter matching determination method further includes:
selecting a next screen parameter file according to a preset screen parameter file list in sequence;
switching to the selected screen parameter file to restart the test terminal until the screen parameter file adopted by the test terminal to start is matched correctly;
and if all screen parameter files are selected and matched wrongly, sending an alarm prompt.
Preferably, after the step of sequentially selecting the next screen reference file according to the preset screen reference file list, the method further includes:
and if the number of the screen parameter files which are matched wrongly currently is larger than the preset number, reordering the rest screen parameter files in the screen parameter file list according to the preset sequence, and selecting the screen parameter files from the rest screen parameter files according to the new sequence to start the test terminal.
Preferably, after the step of switching to the selected screen parameter file to restart the test terminal, the method further includes:
and when the selected screen parameter file is switched to start the test terminal, sending screen parameter file switching prompt information.
Preferably, after the step of enabling the optical sensor to acquire the light information of the environment in the starting process of the test terminal, the method further includes the steps of;
determining a light intensity value corresponding to the collected light information;
judging whether the obtained light intensity value is linear or not;
if the obtained light intensity value is linear, judging that the light information is not changed;
and if the obtained light intensity value is not linear, judging that the light information changes.
In addition, to achieve the above object, the present invention further provides a device for determining screen parameter automatic matching by using an optical sensor, including:
the acquisition module is used for starting the optical sensor to acquire the optical information of the test terminal environment in the starting process of the test terminal when the test terminal is started;
the judging module is used for judging whether the ambient light information of the test terminal changes or not; the device is also used for judging whether the screen parameter file adopted by the test terminal to be started is matched correctly if the ambient light information changes in the starting process; and if the ambient light information is not changed in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is in error matching.
Preferably, the method further comprises the following steps:
the selection module is used for sequentially selecting the next screen parameter file according to a preset screen parameter file list;
the switching module is used for switching to the selected screen parameter file to restart the test terminal until the screen parameter file adopted by the test terminal is correctly matched;
and the alarm module is used for sending out an alarm prompt if all screen parameter files are selected and matched in error.
Preferably, the method further comprises the following steps:
and the changing module is used for reordering the rest screen parameter files in the screen parameter file list according to a preset sequence and selecting the screen parameter files from the rest screen parameter files according to the new sequence to start the test terminal if the number of the screen parameter files which are matched wrongly currently is larger than the preset number.
Preferably, the method further comprises the following steps:
and the prompting module is used for sending screen parameter file switching prompting information when the selected screen parameter file is switched to start the test terminal.
Preferably, the method further comprises the following steps:
the judging module is also used for determining a light intensity value corresponding to the acquired light information; judging whether the obtained light intensity value is linear or not; if the obtained light intensity value is linear, judging that the light information is not changed; and if the obtained light intensity value is not linear, judging that the light information changes.
When the test terminal is started, the optical sensor is started to acquire the light information of the environment in the starting process of the test terminal; if the optical information changes in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is correctly matched; and if the optical information is not changed in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is matched wrongly. The problem that whether the screen parameter files are matched or not cannot be accurately judged in the process of matching the screen parameter files with the test terminal is effectively solved. The screen parameter matching efficiency and accuracy are improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a first embodiment of a method for determining screen parameter auto-matching using an optical sensor according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a method for determining screen parameter auto-matching using an optical sensor according to the present invention;
FIG. 3 is a flowchart illustrating a third embodiment of a method for determining screen parameter auto-matching using an optical sensor according to the present invention;
FIG. 4 is a functional block diagram of a first embodiment of a device for determining screen parameter auto-matching using an optical sensor according to the present invention;
FIG. 5 is a functional block diagram of a second embodiment of a device for determining screen parameter auto-matching using an optical sensor according to the present invention;
FIG. 6 is a functional block diagram of a third embodiment of a device for determining screen parameter auto-matching using an optical sensor according to the present invention;
FIG. 7 is a graph showing the variation of the curve corresponding to the light intensity value list.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when the test terminal is started, starting an optical sensor to acquire optical information of the test terminal environment in the starting process of the test terminal; judging whether the ambient light information of the test terminal changes or not; if the ambient light information changes in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is correctly matched; and if the ambient light information is not changed in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is matched wrongly. The problems of low efficiency and complicated test process in the existing process of testing the screen parameter file matching of the test terminal are effectively avoided, and the accuracy of screen parameter file matching can be improved. Therefore, the screen parameter file matching is efficiently, accurately and conveniently carried out.
In the process of matching the screen parameter files of the existing test terminal, the matching process is complicated, the long efficiency of the matching time is low, the error probability of matching the screen parameter files is high, and the terminal problem is caused.
Based on the above problems, the present invention provides a method for determining screen parameter automatic matching by using an optical sensor.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for determining screen parameter auto-matching by using an optical sensor according to a first embodiment of the present invention.
In one embodiment, the method comprises:
step S1, when the test terminal is started, the optical sensor is started to collect the optical information of the test terminal environment in the starting process of the test terminal.
In the embodiment, the screen parameter file is used for matching the test terminal so as to facilitate the normal operation of the test terminal. The test terminal is an electronic terminal device which needs to be matched with the screen parameter file, such as a notebook computer, a television and the like. Taking a television as an example, if the test terminal is a television, when the test terminal is tested to determine whether the current screen parameter file is matched, the optical sensor acquires ambient light information to determine whether the current screen parameter file is matched, and after the test terminal is started, the optical sensor is started to acquire the light information of the environment in the starting process of the test terminal. The optical sensor can be arranged in the test terminal or associated with the test terminal so as to be consistent with the start of the test terminal and accurately acquire the ambient light information in the start process of the test terminal.
When the test terminal is started, the optical sensor is immediately started and acquires the ambient light information, and the light information of the current environment is acquired by adopting a continuous measurement mode; or, respectively collecting according to the starting time of the test terminal and the corresponding normal starting picture and according to the target time, for example, the starting time of the test terminal is 10S, and collecting the light information every 1S is set for the accuracy of the collected ambient light information; or, the startup picture of the test terminal is 10S, wherein high-intensity light information diverges between the 3 st S and the 7 th S, and the light sensor is set to collect only the 1 st, the 3 rd, the 5 th and the 7 th light information. The target time may be set by a user in the test terminal or in an electronic device associated with the test terminal.
And step S2, judging whether the test terminal environment light information changes.
The light information collected by the light sensor is converted into a light intensity value, so that whether the light information changes in the starting process is determined. And converting the collected light information into a light intensity value to form a data sequence, calculating a difference value of the data sequence, and judging whether the light information changes. If the maximum difference value of the numerical value sequence is less than or equal to the target difference value, judging that the optical information is not changed; and if the maximum difference value of the numerical value sequence is larger than the target difference value, judging that the optical information changes. The target difference value is set by a user at the test terminal or in the remote control equipment and the electronic equipment associated with the test terminal. For example, the target value is 0.3, the obtained light intensity numerical value list is (0, 0, 0.1, 0, 0, 0, 0.1), and the calculated maximum difference value is 0.1 and is less than the target numerical value 0.3, which indicates that the currently acquired light information is not changed; if the obtained light intensity value list is (1, 3, 2, 3, 1, 0, 4), the maximum difference value obtained by calculation is 4, which is greater than 0.3 of the target value, and the change of the currently collected light information is represented.
Or, the light intensity value converted from the collected light information represents whether the current light information changes according to a linear change of the coordinate diagram, and further, whether the light information changes can be judged by whether a light change diagram formed by the light intensity of the time node is linear, for example, the collected light intensity values are listed as (1, 1, 0, 1, 3, 6, 7) and (0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1). According to the coordinate diagram formed by the light intensity values, as shown in fig. 7, and as shown in the diagram, whether the current light information changes or not is visually represented according to the curve change diagram corresponding to the light intensity value list. Under the condition that the optical information changes, the phenomenon that the optical information changes can only occur if the test terminal plays a normal startup picture in the normal startup process. That is to say, when the optical information changes, the test terminal can be normally started through the current screen parameter, that is, the screen parameter file adopted by the test terminal to start is correctly matched.
Step S3, if the ambient light information changes during the starting process, it is determined that the screen parameter file used for starting the test terminal is correctly matched.
Under the condition that the optical information changes, the phenomenon that the optical information changes can only occur if the test terminal plays a normal startup picture in the normal startup process. That is to say, when the optical information changes, the test terminal can be normally started through the current screen parameter, that is, the screen parameter file adopted by the test terminal to start is correctly matched.
Step S4, if the ambient light information is not changed during the starting process, it is determined that the screen parameter file adopted by the test terminal is wrongly matched.
Under the condition that the light information is not changed, the ambient light information is not changed only if the test terminal is not normally started and the terminal is always in a black screen state. That is to say, when the test terminal cannot be normally started in this state, it is determined that the screen parameter file used for starting the test terminal is in error.
According to the embodiment, by collecting the optical information in the starting process of the test terminal, whether the screen parameters adopted for starting are correct or not is automatically judged according to the optical information, and whether the screen parameters are matched correctly or not is automatically judged. The problem of the low efficiency of intelligent degree that the screen parameter matches correctly and leads to is effectively avoided to current people according to dark screen or bright screen judgement screen. The intelligent degree of screen parameter judgment is improved, and the terminal opening efficiency is improved.
Referring to fig. 2, the present invention is a flowchart illustrating a method for determining screen parameter automatic matching by using an optical sensor according to a second embodiment of the present invention. Based on the first embodiment of the method, after step S4, the method further includes:
and step S5, selecting the next screen parameter file according to the preset screen parameter file list in sequence.
In this embodiment, the switching order of the screen parameter files is set in advance, that is, the target order is set in advance. And the target sequence is that the test terminal extracts the wrong screen parameter file after matching the screen parameter file is wrong, extracts the corresponding screen parameter file by taking the target interval as a reference according to the screen parameter of the test terminal, and forms a screen parameter file list according to the target difference degree of the screen parameter file with the mistake. The target interval is set on the test terminal by a user or on remote control equipment and electronic equipment associated with the test terminal. For example, setting the target interval to be 1024 × 768, and setting the parameter of the current wrong screen parameter file to be 1680 × 968, extracting all screen parameter files in the target interval and the wrong screen parameter file to test the current test terminal. The target difference degree is the smaller the difference between all extracted screen parameter files and the current wrong screen parameter file parameters or the target interval is, the more the screen parameter files are arranged in the screen parameter file list, so that the arrangement sequence of the screen parameter file list is formed. And arranging the screen parameter files according to the sequence to match the test terminal in advance.
And step S6, switching to the selected screen parameter file to restart the test terminal until the screen parameter file adopted by the test terminal to start is matched correctly.
And restarting the test terminal by taking the selected screen parameter file as the screen parameter started by the test terminal, and judging whether the ambient light information collected by the optical sensor changes in the restarting process. If the collected ambient light information is not changed, the current screen parameter file matched with the test terminal is wrong, the next screen parameter file is switched to match the test terminal continuously according to the target sequence, and whether the screen parameter file is matched with the test terminal or not is analyzed again until the test terminal is matched with the correct screen parameter file. And if the adopted screen parameter file is correctly matched with the test terminal, stopping the process of switching the screen parameters, normally starting the test terminal, and carrying out the next operation after starting.
Further, when the selected screen parameter file is switched and the test terminal is started, screen parameter file switching prompt information is sent. When the screen parameter file is switched, the prompt information sent to the user can prompt after the screen parameter file is switched; or after the previous screen parameter file fails to be tested, prompting that the screen parameter file is to be replaced to match the test terminal again, and displaying the name of the screen parameter file to be matched. The prompting message is displayed in a manner including, but not limited to, an electronic device associated with the test terminal. For example, information such as the name of the currently matched screen parameter file is displayed on a test computer screen associated with the test terminal.
And step S7, if all screen parameter files are selected and are matched incorrectly, an alarm prompt is sent out.
After all screen parameter files are selected, namely, all screen parameter files are used for starting the test terminal, if the screen parameter files in the whole screen parameter file list are not matched with the test terminal, an alarm prompt is sent to inform a user that the current test terminal or the screen parameter files have problems, the test terminal or the screen parameter files need to be checked, or the screen parameter file list needs to be replaced again to match the test terminal.
Referring to fig. 3, fig. 3 is a third embodiment of the determining apparatus for implementing automatic screen parameter matching by using an optical sensor according to the present invention, after step S4, the method further includes:
and step S8, if the number of the screen parameter files which are matched wrongly currently is larger than the preset number, reordering the rest screen parameter files in the screen parameter file list according to the preset sequence, and selecting the screen parameter files from the rest screen parameter files according to the new sequence to start the test terminal.
And if the number of the screen parameter files which are matched wrongly currently is larger than the preset number, reordering the rest screen parameter files in the screen parameter file list, and selecting the screen parameter files from the rest screen parameter files according to the new sequence to start the test terminal.
In this embodiment, only when the screen parameter file does not match the test terminal, the screen parameter file in the screen parameter file list is switched to continue matching. When screen parameter files in the screen parameter file list are matched with the test terminal, the current matched screen parameter file or the previous screen parameter file matched with the test terminal is ranked the first place in the screen parameter file list, and if the ranking of the screen parameter files is larger than or equal to the preset number, the remaining unmatched screen parameter files in the screen parameter file list are rearranged in sequence; the preset number is defined by a user in the test terminal or defined by electronic equipment associated with the test terminal. For example, the preset number is 3, that is, if the screen reference file currently matched with the test terminal is ranked in the 3 rd or 4 th list, the ranked number is greater than or equal to the preset number. In this case, the unmatched screen reference files remaining in the screen reference file list are reordered to generate a new screen reference file list. And when the screen parameter file is switched later, taking the first screen parameter file of the new screen parameter file list as the next file to be matched with the test terminal. And continuously comparing the screen parameter file ranking with the preset number in the new screen parameter file list. And when the file ranking is more than or equal to the preset number again, disordering the sequence of the rest screen parameter files in the screen parameter file list again to generate a new screen parameter file list. And if the ranking of the screen parameter files matched with the test terminal in the list is less than the preset number, continuing to switch the next screen parameter file according to the sequence of the current screen parameter file list to match the test terminal. And reordering the screen parameter files until the ranking of the screen parameter files is greater than or equal to the preset number.
In this embodiment, when a screen parameter file in the screen parameter file list matches a test terminal, it is determined that a currently matched screen parameter file or a screen parameter file matched with the test terminal is ranked the first place in the screen parameter file list, and if the ranking of the screen parameter file is greater than or equal to a preset number, the remaining unmatched screen parameter files in the screen parameter file list are rearranged in sequence to generate a new screen parameter file list. And when the screen parameter file is switched later, taking the first screen parameter file of the new screen parameter file list as the next file to be matched with the test terminal. And continuously comparing the screen parameter file ranking with the preset number in the new screen parameter file list. And when the file ranking is more than or equal to the preset number again, continuously disordering the residual screen parameter files in the screen parameter file list again to generate a new screen parameter file list.
And if the ranking of the screen parameter files matched with the test terminal in the list is less than the preset number, continuing to switch the next screen parameter file according to the sequence of the current screen parameter file list to match the test terminal. And reordering the screen parameter files until the ranking of the screen parameter files is greater than or equal to the preset number.
The main executing bodies of the screen parameter matching judging methods of the first to third embodiments may be electronic terminal devices. Further, the screen parameter matching judgment method may be implemented by a detection device installed in a screen parameter file of a matching test terminal, wherein the electronic terminal may include, but is not limited to, an electronic device such as a television. The detection device includes but is not limited to a mobile phone, a pad, a notebook computer, etc.
The invention further provides a screen parameter matching judgment device.
Referring to fig. 4, fig. 4 is a functional block diagram of a determining apparatus for implementing automatic screen parameter matching by using an optical sensor according to a first embodiment of the present invention.
In one embodiment, the apparatus comprises: an acquisition module 10 and a judgment module 20.
The acquisition module 10 is configured to enable the optical sensor to acquire optical information of a test terminal environment in a test terminal starting process when the test terminal is started.
In the embodiment, the screen parameter file is used for matching the test terminal so as to facilitate the normal operation of the test terminal. The test terminal is an electronic terminal device which needs to be matched with the screen parameter file, such as a notebook computer, a television and the like. Taking a television as an example, if the test terminal is a television, when the test terminal is tested to determine whether the current screen parameter file is matched, the optical sensor acquires ambient light information to determine whether the current screen parameter file is matched, and after the test terminal is started, the optical sensor is started to acquire the light information of the environment in the starting process of the test terminal. The optical sensor can be arranged in the test terminal or associated with the test terminal so as to be consistent with the start of the test terminal and accurately acquire the ambient light information in the start process of the test terminal.
When the test terminal is started, the optical sensor is immediately started and acquires the ambient light information, and the light information of the current environment is acquired by adopting a continuous measurement mode; or, respectively collecting according to the starting time of the test terminal and the corresponding normal starting picture and according to the target time, for example, the starting time of the test terminal is 10S, and collecting the light information every 1S is set for the accuracy of the collected ambient light information; or, the startup picture of the test terminal is 10S, wherein high-intensity light information diverges between the 3 st S and the 7 th S, and the light sensor is set to collect only the 1 st, the 3 rd, the 5 th and the 7 th light information. The target time may be set by a user in the test terminal or in an electronic device associated with the test terminal.
The judging module 20 is configured to judge whether the ambient light information of the test terminal changes.
The light information collected by the light sensor is converted into a light intensity value, so that whether the light information changes in the starting process is determined. And converting the collected light information into a light intensity value to form a data sequence, calculating a difference value of the data sequence, and judging whether the light information changes. If the maximum difference value of the numerical value sequence is less than or equal to the target difference value, judging that the optical information is not changed; and if the maximum difference value of the numerical value sequence is larger than the target difference value, judging that the optical information changes. The target difference value is set by a user at the test terminal or in the remote control equipment and the electronic equipment associated with the test terminal. For example, the target value is 0.3, the obtained light intensity numerical value list is (0, 0, 0.1, 0, 0, 0, 0.1), and the calculated maximum difference value is 0.1 and is less than the target numerical value 0.3, which indicates that the currently acquired light information is not changed; if the obtained light intensity value list is (1, 3, 2, 3, 1, 0, 4), the maximum difference value obtained by calculation is 4, which is greater than 0.3 of the target value, and the change of the currently collected light information is represented.
Or, the light intensity value converted from the collected light information represents whether the current light information changes according to a linear change of the coordinate diagram, and further, whether the light information changes can be judged by whether a light change diagram formed by the light intensity of the time node is linear, for example, the collected light intensity values are listed as (1, 1, 0, 1, 3, 6, 7) and (0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1). According to the coordinate diagram formed by the light intensity values, as shown in fig. 6, and as shown in the diagram, whether the current light information changes or not is visually represented according to the curve change diagram corresponding to the light intensity value list. Under the condition that the optical information changes, the phenomenon that the optical information changes can only occur if the test terminal plays a normal startup picture in the normal startup process. That is to say, when the optical information changes, the test terminal can be normally started through the current screen parameter, that is, the screen parameter file adopted by the test terminal to start is correctly matched.
The determining module 20 is further configured to determine that the screen parameter file used for starting the test terminal is correctly matched if the ambient light information changes during the starting process.
Under the condition that the optical information changes, the phenomenon that the optical information changes can only occur if the test terminal plays a normal startup picture in the normal startup process. That is to say, when the optical information changes, the test terminal can be normally started through the current screen parameter, that is, the screen parameter file adopted by the test terminal to start is correctly matched.
The determining module 20 further includes determining that the screen parameter file used for starting the test terminal is matched incorrectly if the ambient light information does not change during the starting process.
Under the condition that the light information is not changed, the ambient light information is not changed only if the test terminal is not normally started and the terminal is always in a black screen state. That is to say, when the test terminal cannot be normally started in this state, it is determined that the screen parameter file used for starting the test terminal is in error.
According to the embodiment, by collecting the optical information in the starting process of the test terminal, whether the screen parameters adopted for starting are correct or not is automatically judged according to the optical information, and whether the screen parameters are matched correctly or not is automatically judged. The problem of the low efficiency of intelligent degree that the screen parameter matches correctly and leads to is effectively avoided to current people according to dark screen or bright screen judgement screen. The intelligent degree of screen parameter judgment is improved, and the terminal opening efficiency is improved.
Referring to fig. 5, fig. 5 is a schematic block diagram of a second embodiment of the apparatus for determining screen parameter automatic matching by using an optical sensor according to the present invention, wherein the apparatus further includes: the device comprises a selection module 30, a switching module 40 and an alarm module 50.
The selection module 30 is configured to select a next screen parameter file in sequence according to a preset screen parameter file list.
In this embodiment, the switching order of the screen parameter files is set in advance, that is, the target order is set in advance. And the target sequence is that the test terminal extracts the wrong screen parameter file after matching the screen parameter file is wrong, extracts the corresponding screen parameter file by taking the target interval as a reference according to the screen parameter of the test terminal, and forms a screen parameter file list according to the target difference degree of the screen parameter file with the mistake. The target interval is set on the test terminal by a user or on remote control equipment and electronic equipment associated with the test terminal. For example, setting the target interval to be 1024 × 768, and setting the parameter of the current wrong screen parameter file to be 1680 × 968, extracting all screen parameter files in the target interval and the wrong screen parameter file to test the current test terminal. The target difference degree is the smaller the difference between all extracted screen parameter files and the current wrong screen parameter file parameters or the target interval is, the more the screen parameter files are arranged in the screen parameter file list, so that the arrangement sequence of the screen parameter file list is formed. And arranging the screen parameter files according to the sequence to match the test terminal in advance.
And the switching module 40 is used for switching to the selected screen parameter file to restart the test terminal until the screen parameter file adopted by the test terminal is correctly matched.
And restarting the test terminal by taking the selected screen parameter file as the screen parameter started by the test terminal, and judging whether the ambient light information collected by the optical sensor changes in the restarting process. If the collected ambient light information is not changed, the current screen parameter file matched with the test terminal is wrong, the next screen parameter file is switched to match the test terminal continuously according to the target sequence, and whether the screen parameter file is matched with the test terminal or not is analyzed again until the test terminal is matched with the correct screen parameter file. And if the adopted screen parameter file is correctly matched with the test terminal, stopping the process of switching the screen parameters, normally starting the test terminal, and carrying out the next operation after starting.
Further, when the selected screen parameter file is switched and the test terminal is started, screen parameter file switching prompt information is sent. When the screen parameter file is switched, the prompt information sent to the user can prompt after the screen parameter file is switched; or after the previous screen parameter file fails to be tested, prompting that the screen parameter file is to be replaced to match the test terminal again, and displaying the name of the screen parameter file to be matched. The prompting message is displayed in a manner including, but not limited to, an electronic device associated with the test terminal. For example, information such as the name of the currently matched screen parameter file is displayed on a test computer screen associated with the test terminal.
And the alarm module 50 is configured to send an alarm prompt if all screen parameter files are selected and are all matched incorrectly.
After all screen parameter files are selected, namely, all screen parameter files are used for starting the test terminal, if the screen parameter files in the whole screen parameter file list are not matched with the test terminal, an alarm prompt is sent to inform a user that the current test terminal or the screen parameter files have problems, the test terminal or the screen parameter files need to be checked, or the screen parameter file list needs to be replaced again to match the test terminal.
Referring to fig. 6, fig. 6 is a block diagram illustrating a third embodiment of the apparatus for determining screen parameter automatic matching by using an optical sensor according to the present invention, the apparatus further includes: and the changing module 60 is configured to, if the number of the screen parameter files which are matched incorrectly at present is greater than the preset number, reorder the remaining screen parameter files in the screen parameter file list, and select a screen parameter file from the remaining screen parameter files according to the new ordering to start the test terminal.
In this embodiment, only when the screen parameter file does not match the test terminal, the screen parameter file in the screen parameter file list is switched to continue matching. When screen parameter files in the screen parameter file list are matched with the test terminal, the current matched screen parameter file or the previous screen parameter file matched with the test terminal is ranked the first place in the screen parameter file list, and if the ranking of the screen parameter files is larger than or equal to the preset number, the remaining unmatched screen parameter files in the screen parameter file list are rearranged in sequence; the preset number is defined by a user in the test terminal or defined by electronic equipment associated with the test terminal. For example, the preset number is 3, that is, if the screen reference file currently matched with the test terminal is ranked in the 3 rd or 4 th list, the ranked number is greater than or equal to the preset number. In this case, the unmatched screen reference files remaining in the screen reference file list are reordered to generate a new screen reference file list. And when the screen parameter file is switched later, taking the first screen parameter file of the new screen parameter file list as the next file to be matched with the test terminal. And continuously comparing the screen parameter file ranking with the preset number in the new screen parameter file list. And when the file ranking is more than or equal to the preset number again, disordering the sequence of the rest screen parameter files in the screen parameter file list again to generate a new screen parameter file list. And if the ranking of the screen parameter files matched with the test terminal in the list is less than the preset number, continuing to switch the next screen parameter file according to the sequence of the current screen parameter file list to match the test terminal. And reordering the screen parameter files until the ranking of the screen parameter files is greater than or equal to the preset number.
In this embodiment, when a screen parameter file in the screen parameter file list matches a test terminal, it is determined that a currently matched screen parameter file or a screen parameter file matched with the test terminal is ranked the first place in the screen parameter file list, and if the ranking of the screen parameter file is greater than or equal to a preset number, the remaining unmatched screen parameter files in the screen parameter file list are rearranged in sequence to generate a new screen parameter file list. And when the screen parameter file is switched later, taking the first screen parameter file of the new screen parameter file list as the next file to be matched with the test terminal. And continuously comparing the screen parameter file ranking with the preset number in the new screen parameter file list. And when the file ranking is more than or equal to the preset number again, continuously disordering the residual screen parameter files in the screen parameter file list again to generate a new screen parameter file list.
And if the ranking of the screen parameter files matched with the test terminal in the list is less than the preset number, continuing to switch the next screen parameter file according to the sequence of the current screen parameter file list to match the test terminal. And reordering the screen parameter files until the ranking of the screen parameter files is greater than or equal to the preset number.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A judgment method for realizing screen parameter automatic matching by using an optical sensor is characterized by comprising the following steps:
when a test terminal is started, a preset target time is determined through the start time of the test terminal and a corresponding normal start picture, and an optical sensor is started to collect optical information of the environment of the test terminal in the start process of the test terminal;
converting the light information into a light intensity value and forming a numerical sequence, and judging whether the environment light information of the test terminal changes or not according to the difference value of the numerical sequence;
if the ambient light information changes in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is correctly matched;
if the ambient light information is not changed in the starting process, judging that the screen parameter file adopted by the starting of the test terminal is matched wrongly;
the method comprises the following steps of starting an optical sensor to acquire environmental optical information in the starting process of a test terminal;
determining a light intensity value corresponding to the collected light information;
judging whether the obtained light intensity value is linear or not;
if the obtained light intensity value is linear, judging that the light information is not changed;
and if the obtained light intensity value is not linear, judging that the light information changes.
2. The method for determining screen parameter automatic matching using an optical sensor according to claim 1, wherein after the step of determining that the screen parameter file used by the test terminal is incorrectly matched if the ambient light information is not changed during the starting process, the method further comprises:
selecting a next screen parameter file according to a preset screen parameter file list in sequence;
switching to the selected screen parameter file to restart the test terminal until the screen parameter file adopted by the test terminal to start is matched correctly;
and if all screen parameter files are selected and matched wrongly, sending an alarm prompt.
3. The method as claimed in claim 2, wherein after the step of sequentially selecting the next screen parameter file according to the preset screen parameter file list, the method further comprises:
and if the number of the screen parameter files which are matched wrongly currently is larger than the preset number, reordering the rest screen parameter files in the screen parameter file list according to the preset sequence, and selecting the screen parameter files from the rest screen parameter files according to the new sequence to start the test terminal.
4. The method as claimed in claim 2, wherein the step of restarting the test terminal after switching to the selected screen parameter file further comprises:
and when the selected screen parameter file is switched to start the test terminal, sending screen parameter file switching prompt information.
5. A judgment device for realizing screen parameter automatic matching by using an optical sensor is characterized by comprising:
the acquisition module is used for determining preset target time through the starting time of the test terminal and a corresponding normal starting picture when the test terminal is started, starting the optical sensor to acquire optical information of the environment of the test terminal in the starting process of the test terminal;
the judging module is used for converting the light information into a light intensity value and forming a numerical sequence, and judging whether the environment light information of the test terminal changes or not according to the difference value of the numerical sequence; the device is also used for judging whether the screen parameter file adopted by the test terminal to be started is matched correctly if the ambient light information changes in the starting process; the device is also used for judging that the screen parameter file adopted by the test terminal to start is matched wrongly if the ambient light information is not changed in the starting process;
the judging module is also used for determining a light intensity value corresponding to the acquired light information; judging whether the obtained light intensity value is linear or not; if the obtained light intensity value is linear, judging that the light information is not changed; and if the obtained light intensity value is not linear, judging that the light information changes.
6. The apparatus for determining screen parameter auto-matching using an optical sensor as claimed in claim 5, further comprising:
the selection module is used for sequentially selecting the next screen parameter file according to a preset screen parameter file list;
the switching module is used for switching to the selected screen parameter file to restart the test terminal until the screen parameter file adopted by the test terminal is correctly matched;
and the alarm module is used for sending out an alarm prompt if all screen parameter files are selected and matched in error.
7. The apparatus for determining screen parameter auto-matching using an optical sensor as claimed in claim 6, further comprising:
and the changing module is used for reordering the rest screen parameter files in the screen parameter file list according to a preset sequence and selecting the screen parameter files from the rest screen parameter files according to the new sequence to start the test terminal if the number of the screen parameter files which are matched wrongly currently is larger than the preset number.
8. The apparatus for determining screen parameter auto-matching using an optical sensor as claimed in claim 6, further comprising:
and the prompting module is used for sending screen parameter file switching prompting information when the selected screen parameter file is switched to start the test terminal.
CN201610349291.4A 2016-05-23 2016-05-23 Judgment method and device for realizing screen parameter automatic matching by using optical sensor Active CN106060615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610349291.4A CN106060615B (en) 2016-05-23 2016-05-23 Judgment method and device for realizing screen parameter automatic matching by using optical sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610349291.4A CN106060615B (en) 2016-05-23 2016-05-23 Judgment method and device for realizing screen parameter automatic matching by using optical sensor

Publications (2)

Publication Number Publication Date
CN106060615A CN106060615A (en) 2016-10-26
CN106060615B true CN106060615B (en) 2020-05-22

Family

ID=57175787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610349291.4A Active CN106060615B (en) 2016-05-23 2016-05-23 Judgment method and device for realizing screen parameter automatic matching by using optical sensor

Country Status (1)

Country Link
CN (1) CN106060615B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109932056B (en) * 2019-03-20 2022-04-29 深圳市康康网络技术有限公司 Illuminance measurement method, user equipment, detection system and storage medium
CN112380076B (en) * 2020-11-11 2023-08-15 深圳信息通信研究院 Mobile terminal performance test method and device based on photoinduction

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370074A (en) * 2007-08-17 2009-02-18 康佳集团股份有限公司 Method for parameter collocation of liquid crystal television screen
CN103117048A (en) * 2012-12-04 2013-05-22 深圳市金立通信设备有限公司 Liquid crystal display (LCD) static blank screen recovering method and device
CN103294508A (en) * 2013-05-16 2013-09-11 深圳创维-Rgb电子有限公司 Method and system for upgrading different display screens through same software
CN103957454A (en) * 2014-05-23 2014-07-30 珠海迈科电子科技有限公司 Multi-resolution output method and device for smart television
CN104917984A (en) * 2015-05-25 2015-09-16 广东长虹电子有限公司 Intelligent switching system and method of display screen parameter of television system
CN105100900A (en) * 2015-08-19 2015-11-25 Tcl海外电子(惠州)有限公司 Compatibility test authentication method and device
CN105516824A (en) * 2015-12-10 2016-04-20 小米科技有限责任公司 Method and device for adjusting brightness of television screen

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800269A (en) * 2011-05-27 2012-11-28 康佳集团股份有限公司 Device for carrying out screen parameter configuration and debugging on display screen
CN103309656A (en) * 2013-05-14 2013-09-18 李君凡 Method for automatically matching drivers with LCD parameters by virtue of software
CN103544084B (en) * 2013-10-30 2016-05-18 深圳雷柏科技股份有限公司 A kind of realization touches the product method and system of test automatically
US9541494B2 (en) * 2013-12-18 2017-01-10 Tektronix, Inc. Apparatus and method to measure display quality
KR101575313B1 (en) * 2013-12-19 2015-12-08 현대자동차 주식회사 Curved display device and display method using the same
GB2527738B (en) * 2014-05-12 2020-08-12 Apical Ltd Method and apparatus for controlling a display
CN104950492B (en) * 2015-07-09 2019-01-18 成都天奥测控技术有限公司 Liquid crystal display defect automatic checkout system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370074A (en) * 2007-08-17 2009-02-18 康佳集团股份有限公司 Method for parameter collocation of liquid crystal television screen
CN103117048A (en) * 2012-12-04 2013-05-22 深圳市金立通信设备有限公司 Liquid crystal display (LCD) static blank screen recovering method and device
CN103294508A (en) * 2013-05-16 2013-09-11 深圳创维-Rgb电子有限公司 Method and system for upgrading different display screens through same software
CN103957454A (en) * 2014-05-23 2014-07-30 珠海迈科电子科技有限公司 Multi-resolution output method and device for smart television
CN104917984A (en) * 2015-05-25 2015-09-16 广东长虹电子有限公司 Intelligent switching system and method of display screen parameter of television system
CN105100900A (en) * 2015-08-19 2015-11-25 Tcl海外电子(惠州)有限公司 Compatibility test authentication method and device
CN105516824A (en) * 2015-12-10 2016-04-20 小米科技有限责任公司 Method and device for adjusting brightness of television screen

Also Published As

Publication number Publication date
CN106060615A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
US20170153938A1 (en) Method, apparatus and system for automatically repairing device
CN108833222B (en) Household appliance control method, household appliance control device, remote controller, terminal, server and medium
CN106897219B (en) Method and device for testing stability of mobile terminal system
CN106293403B (en) Learning control method and device in black screen standby state and mobile terminal
CN106060615B (en) Judgment method and device for realizing screen parameter automatic matching by using optical sensor
CN108594796A (en) Entire car controller automatic testing equipment and method
TWI443347B (en) Testing method and testing apparatus for tv system
CN110864876A (en) Vehicle-mounted entertainment system test method, device, equipment and storage medium
CN114200877B (en) Monitoring method and device for electric equipment
CN111179907A (en) Voice recognition test method, device, equipment and computer readable storage medium
CN107526590B (en) Operation guidance information display method and device of medical equipment and terminal
CN110896472B (en) Detection method and system based on display equipment
CN111141529B (en) Automatic test method for automobile instrument signals
CN117116026A (en) Bluetooth key detection method, device and system and storage medium thereof
CN105676024B (en) Iris aging of product test method and device
CN110874295A (en) Test method and system for boot verification after abnormal shutdown
CN113140217B (en) Voice instruction testing method, testing device and readable storage medium
CN110674012B (en) Information indication method, device and storage medium
WO2018036528A1 (en) Automatic testing method
CN111337188B (en) Electronic pen calibration method, device, equipment and readable storage medium
CN114166265A (en) Ground test method and system for satellite, storage medium and electronic equipment
CN106771794B (en) Multifunctional virtual relay protection experiment complete equipment
CN113419652A (en) Intelligent equipment interaction method, server and client
CN106409204A (en) Display screen parameter setting method and device
CN106896802B (en) Automobile model increasing method and device

Legal Events

Date Code Title Description
C06 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