[go: up one dir, main page]

CN106454518B - A kind of TV screen end detection method and device - Google Patents

A kind of TV screen end detection method and device Download PDF

Info

Publication number
CN106454518B
CN106454518B CN201610941597.9A CN201610941597A CN106454518B CN 106454518 B CN106454518 B CN 106454518B CN 201610941597 A CN201610941597 A CN 201610941597A CN 106454518 B CN106454518 B CN 106454518B
Authority
CN
China
Prior art keywords
order
inspection
screen
command
performance
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
CN201610941597.9A
Other languages
Chinese (zh)
Other versions
CN106454518A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610941597.9A priority Critical patent/CN106454518B/en
Publication of CN106454518A publication Critical patent/CN106454518A/en
Application granted granted Critical
Publication of CN106454518B publication Critical patent/CN106454518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本发明公开了一种电视屏端检测方法及装置,该方法为,电视接收终端发送的I2C命令,其中,I2C命令携带对应电视的屏幕设置的配置参数;电视存储I2C命令携带的配置参数;电视确定调试流程被触发时,基于配置参数生成相应的检验命令,并运行检验命令对电视的屏幕的性能进行检验,获得检验结果。这样,用户不需要在检验的过程中,手动输入完整的检验命令,从而降低了检验操作的复杂度,有效节省了用户的操作时间,进一步地,避免了输入新代码后的代码编译过程,进一步提高了检验效率,同样还能够屏蔽不同性能检验流程之间的差异化。

The invention discloses a TV screen end detection method and device. The method is that the TV receives an I2C command sent by a terminal, wherein the I2C command carries configuration parameters corresponding to the screen setting of the TV; the TV stores the configuration parameters carried by the I2C command; the TV When it is determined that the debugging process is triggered, a corresponding inspection command is generated based on the configuration parameters, and the inspection command is run to inspect the performance of the TV screen to obtain an inspection result. In this way, the user does not need to manually input a complete inspection command during the inspection process, thereby reducing the complexity of the inspection operation, effectively saving the user's operation time, further avoiding the code compilation process after inputting new codes, and further The inspection efficiency is improved, and the differences between different performance inspection processes can also be shielded.

Description

一种电视屏端检测方法及装置Method and device for detecting TV screen end

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种电视屏端检测方法及装置。The invention relates to the field of computer technology, in particular to a method and device for detecting a TV screen end.

背景技术Background technique

电视机技术的不断发展,促使电视机不断更新换代。而由于电视机的显示器的类型多种多样,相应的,与电视机的显示器相配套的硬件的规格也各有不同。因此,对于不同的电视机的显示器,需要根据电视机的硬件的规格,如,处理器的型号,采用相应的内部集成电路(Inter-Integrated Circuit,I2C)命令,对电视机的显示器进行多次调试,以检验电视机的显示器是否出现异常,如,闪屏异常、滑屏异常、背光异常以及抖动异常。The continuous development of TV technology impels the TV to be constantly updated. And because the types of the display of the TV are varied, correspondingly, the specifications of the hardware matched with the display of the TV are also different. Therefore, for the monitors of different TV sets, it is necessary to use the corresponding internal integrated circuit (Inter-Integrated Circuit, I2C) command according to the specifications of the hardware of the TV set, such as the model of the processor, to perform multiple operations on the monitor of the TV set. Debugging to check whether the display of the TV is abnormal, such as abnormal flickering, sliding screen, backlight abnormality and jittering abnormality.

现有技术下,主要采用以下方式对电视机的显示器进行检验。In the prior art, the following methods are mainly used to inspect the display of the TV set.

用户基于电视机的显示器对应的硬件的规格,确定相应的I2C命令,并基于I2C命令,对代码进行修改并编译,进一步地,通过编译后的代码,对电视机的显示器进行调试,获得检验结果。Based on the hardware specifications corresponding to the TV display, the user determines the corresponding I2C command, and based on the I2C command, the code is modified and compiled, and further, through the compiled code, the TV display is debugged to obtain the test result .

采用这种方式,当对电视机的显示器进行多次调试时,需要对代码进行多次编译,这会耗费大量的时间,调试效率低。In this way, when the monitor of the television is debugged multiple times, the code needs to be compiled multiple times, which consumes a lot of time and the debugging efficiency is low.

发明内容Contents of the invention

本发明的目的是提供一种电视屏端检测检验方法及装置,用于将不同性能检验流程的差异进行统一,降低了操作的复杂度,提高了检验效率。The purpose of the present invention is to provide a method and device for detecting and inspecting the TV screen end, which is used to unify the differences of different performance inspection processes, reduce the complexity of operation, and improve the inspection efficiency.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

一种电视屏端检测方法,包括:A method for detecting a TV screen end, comprising:

电视接收终端发送的I2C命令,其中,I2C命令携带对应电视的屏幕设置的配置参数;The TV receives the I2C command sent by the terminal, wherein the I2C command carries configuration parameters corresponding to the screen settings of the TV;

电视存储I2C命令携带的配置参数;The TV stores the configuration parameters carried by the I2C command;

电视确定调试流程被触发时,基于配置参数生成相应的检验命令,并运行检验命令对电视的屏幕的性能进行检验,获得检验结果。When the television determines that the debugging process is triggered, it generates a corresponding inspection command based on the configuration parameters, runs the inspection command to inspect the performance of the TV screen, and obtains the inspection result.

较佳的,配置参数包括I2C设备地址,和/或,命令参数。Preferably, the configuration parameters include an I2C device address, and/or, command parameters.

较佳的,电视存储I2C命令携带的配置参数,具体包括:Preferably, the TV stores the configuration parameters carried by the I2C command, specifically including:

电视确定配置参数的存储方式;The TV determines how the configuration parameters are stored;

电视通过存储方式对应的接口,存储配置参数。The TV stores the configuration parameters through the interface corresponding to the storage mode.

较佳的,在电视运行检验命令对电视的屏幕的性能进行检验,获得检验结果之后,进一步包括:Preferably, after the TV runs the test command to test the performance of the TV screen and obtains the test result, it further includes:

根据检验结果判断电视是否运行正常;Determine whether the TV is operating normally according to the test results;

若是,则向用户显示检验结果,并再次运行检验命令,对电视的各项性能进行再次检验,直到达到设定检验次数为止;If so, display the inspection result to the user, and run the inspection command again to inspect the performance of the TV again until the set number of inspections is reached;

否则,向用户显示检验结果,并接收终端发送的新的I2C命令,对检验命令进行修改,生成新的检验命令,以及基于新的检验命令,再次对电视的各项性能进行检验。Otherwise, display the test result to the user, receive a new I2C command sent by the terminal, modify the test command, generate a new test command, and test the performance of the TV again based on the new test command.

较佳的,电视运行检验命令对电视的屏幕的性能进行检验,具体包括以下一种或任意组合:Preferably, the TV running test command checks the performance of the TV screen, specifically including one or any combination of the following:

电视运行检验命令对电视的屏幕进行背光状态检验;The TV running inspection command checks the backlight status of the TV screen;

电视运行检验命令对电视的屏幕进行抖动状态检验;The TV running inspection command checks the shake state of the TV screen;

电视运行检验命令对电视的屏幕进行闪屏状态检验;The TV running inspection command performs a splash screen status inspection on the TV screen;

电视运行检验命令对电视的屏幕进行滑屏状态检验。The TV running inspection command performs a sliding screen state inspection on the screen of the TV.

一种电视屏端检测装置,具体包括:A TV screen end detection device, specifically comprising:

接收单元,用于接收终端发送的I2C命令,其中,I2C命令携带对应电视的屏幕设置的配置参数;The receiving unit is used to receive the I2C command sent by the terminal, wherein the I2C command carries configuration parameters corresponding to the screen settings of the TV;

存储单元,用于存储I2C命令携带的配置参数;The storage unit is used to store the configuration parameters carried by the I2C command;

检验单元,用于确定调试流程被触发时,基于配置参数生成相应的检验命令,并运行检验命令对电视的屏幕的性能进行检验,获得检验结果。The verification unit is configured to generate a corresponding verification command based on configuration parameters when the debugging process is triggered, and run the verification command to verify the performance of the TV screen to obtain a verification result.

较佳的,配置参数包括I2C设备地址,和/或,命令参数。Preferably, the configuration parameters include an I2C device address, and/or, command parameters.

较佳的,接收单元存储I2C命令携带的配置参数包括:Preferably, the receiving unit stores the configuration parameters carried by the I2C command including:

确定配置参数的存储方式;Determine how configuration parameters are stored;

通过存储方式对应的接口,存储配置参数。Store configuration parameters through the interface corresponding to the storage method.

较佳的,检验单元还用于:Preferably, the inspection unit is also used for:

根据检验结果判断电视是否运行正常;Determine whether the TV is operating normally according to the test results;

若是,则向用户显示检验结果,并再次运行检验命令,对电视的各项性能进行再次检验,直到达到设定检验次数为止;If so, display the inspection result to the user, and run the inspection command again to inspect the performance of the TV again until the set number of inspections is reached;

否则,向用户显示检验结果,并接收终端发送的新的I2C命令,对检验命令进行修改,生成新的检验命令,以及基于新的检验命令,再次对电视的各项性能进行检验。Otherwise, display the test result to the user, receive a new I2C command sent by the terminal, modify the test command, generate a new test command, and test the performance of the TV again based on the new test command.

较佳的,检验单元运行检验命令对电视的屏幕的性能进行检验包括以下一种或任意组合:Preferably, the inspection unit runs the inspection command to inspect the performance of the TV screen, including one or any combination of the following:

运行检验命令对电视的屏幕进行背光状态检验;Run the inspection command to inspect the backlight status of the TV screen;

运行所述检验命令对所述电视的屏幕进行抖动状态检验;Running the inspection command to inspect the shaking state of the screen of the TV;

运行所述检验命令对所述电视的屏幕进行闪屏状态检验;Running the inspection command to inspect the splash screen status of the screen of the TV;

运行所述检验命令对所述电视的屏幕进行滑屏状态检验。Running the checking command to check the sliding state of the TV screen.

本发明实施例中,电视接收终端发送的I2C命令,其中,I2C命令携带对应电视的屏幕设置的配置参数;电视存储I2C命令携带的配置参数;电视确定调试流程被触发时,基于配置参数生成相应的检验命令,并运行检验命令对电视的屏幕的性能进行检验,获得检验结果。这样,电视将通过I2C命令获取的对应屏幕的配置参数,进行存储,并生成相应的检验命令,从而对电视的屏幕的性能进行检验,使用户不需要在检验的过程中,手动输入完整的检验命令,从而降低了检验操作的复杂度,有效节省了用户的操作时间,进一步地,避免了输入新代码后的代码编译过程,进一步提高了检验效率,同样还能够屏蔽不同性能检验流程之间的差异化。In the embodiment of the present invention, the TV receives the I2C command sent by the terminal, wherein the I2C command carries the configuration parameters corresponding to the screen settings of the TV; the TV stores the configuration parameters carried by the I2C command; and when the TV determines that the debugging process is triggered, it generates a corresponding and run the test command to test the performance of the TV screen and obtain the test result. In this way, the TV will store the configuration parameters of the corresponding screen obtained through the I2C command, and generate a corresponding inspection command, so as to inspect the performance of the TV screen, so that the user does not need to manually input a complete inspection during the inspection process. command, thereby reducing the complexity of the inspection operation, effectively saving the user's operation time, further avoiding the code compilation process after inputting new code, further improving the inspection efficiency, and also shielding the differences between different performance inspection processes. Differentiation.

附图说明Description of drawings

图1为本发明实施例中电视屏端检测方法的流程图;Fig. 1 is the flowchart of the detection method of TV screen end in the embodiment of the present invention;

图2为本发明实施例中电视屏端检测装置的结构示意图;Fig. 2 is a schematic structural diagram of a TV screen end detection device in an embodiment of the present invention;

图3为本发明实施例中电视屏端检测方法的示意图。FIG. 3 is a schematic diagram of a method for detecting a TV screen end in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,并不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了将不同性能检验流程的差异进行统一,降低操作的复杂度,提高检验效率,本发明实施例中,设计了一种电视屏端检测方法,该方法为,电视将通过I2C命令获取的对应屏幕的配置参数,进行存储,并生成相应的检验命令,从而对电视的屏幕的性能进行检验,获得检验结果。In order to unify the differences in different performance inspection processes, reduce the complexity of operations, and improve inspection efficiency, in the embodiment of the present invention, a method for detecting the TV screen end is designed. The configuration parameters are stored, and corresponding inspection commands are generated, so as to inspect the performance of the TV screen and obtain inspection results.

下面通过具体实施例对本发明方案进行详细描述,当然,本发明并不限于以下实施例。The solution of the present invention will be described in detail below through specific examples. Of course, the present invention is not limited to the following examples.

参阅图1所示,本发明实施例中,电视屏端检测方法的具体流程如下:Referring to Fig. 1, in the embodiment of the present invention, the specific flow of the TV screen end detection method is as follows:

步骤100:终端基于用户的指令,向电视发送相应的I2C命令。Step 100: The terminal sends a corresponding I2C command to the TV based on the user's instruction.

实际应用中,用户根据对电视屏端的检测需求,确定相应的I2C命令。In practical applications, the user determines the corresponding I2C command according to the detection requirements of the TV screen.

例如,用户对电视的屏幕的进行背光状态检验,先确定电视的屏幕的型号和配套的芯片,然后确定对应电视的屏幕的型号和配套的芯片设置的I2C命令。For example, the user checks the backlight status of the TV screen, first determines the model of the TV screen and the supporting chip, and then determines the I2C command corresponding to the model of the TV screen and the supporting chip.

进一步地,终端基于用户的指令向电视发送相应的I2C命令。Further, the terminal sends a corresponding I2C command to the TV based on the user's instruction.

步骤110:电视接收终端发送的I2C命令。Step 110: The TV receives the I2C command sent by the terminal.

实际应用中,电视通过串口接收终端基于用户的指令发送的I2C命令,其中,I2C命令携带对应电视的屏幕设置的配置参数。In practical applications, the TV receives the I2C command sent by the terminal based on the user's instruction through the serial port, wherein the I2C command carries configuration parameters corresponding to screen settings of the TV.

配置参数包括I2C设备地址,和/或,命令参数,可选的,配置参数还可以包括寄存器地址,和/或,I2C命令长度。The configuration parameter includes an I2C device address, and/or, a command parameter, and optionally, the configuration parameter may also include a register address, and/or, an I2C command length.

步骤120:电视存储I2C命令携带的配置参数。Step 120: The TV stores the configuration parameters carried in the I2C command.

实际应用中,电视确定配置参数的存储方式,可选的,存储方式可以是在缓存区进行存储,也可以是在磁盘存储区进行存储,还可以通过闪存的方式进行存储。In practical applications, the television determines the storage method of the configuration parameters. Optionally, the storage method may be stored in a cache area, may also be stored in a disk storage area, or may be stored in a flash memory.

然后,电视通过与串口对应的接口,在存储空间中存储配置参数。Then, the TV stores the configuration parameters in the storage space through the interface corresponding to the serial port.

例如,电视通过与串口对应的Linux读写接口,即filp.open→filp.f_op.llseek→filp.f_op.write→filp.close,在高速闪存(Embedded Multi Media Card,EMMC)中存储配置参数。其中,配置参数包括I2C设备地址和命令参数。For example, the TV stores configuration parameters in a high-speed flash memory (Embedded Multi Media Card, EMMC) through the Linux read-write interface corresponding to the serial port, namely filp.open→filp.f_op.llseek→filp.f_op.write→filp.close. Wherein, the configuration parameters include an I2C device address and command parameters.

又例如,电视通过与串口对应的Linux读写接口,即filp.open→filp.f_op.llseek→filp.f_op.write→filp.close,在内存中存储配置参数,其中,配置参数包括I2C命令参数、设备地址、I2C命令长度以及寄存器地址。For another example, the TV stores configuration parameters in the memory through the Linux read-write interface corresponding to the serial port, namely filp.open→filp.f_op.llseek→filp.f_op.write→filp.close, wherein the configuration parameters include I2C command parameters , device address, I2C command length, and register address.

这样,电视通过与串口对应的接口,对在存储空间中存储的配置参数进行修改,从而可以在调用配置参数的时候,直接从存储空间中读取配置参数,避免了在调用的过程中,手动的输入配置参数,并且避免了输入新代码后的代码编译过程,提高了检验效率,进一步地,当对不同性能进行检验时,只需要修改对应待检验的性能设置的配置参数,就可以生成相应的检验命令,避免了直接输入每一种待检验的性能相应的检验命令,从而屏蔽了不同性能检验流程之间的差异化。In this way, the TV can modify the configuration parameters stored in the storage space through the interface corresponding to the serial port, so that when calling the configuration parameters, the configuration parameters can be directly read from the storage space, avoiding manual input configuration parameters, and avoid the code compilation process after inputting new code, which improves the inspection efficiency. Further, when inspecting different performances, only need to modify the configuration parameters corresponding to the performance settings to be inspected, and the corresponding The test command avoids directly inputting the test command corresponding to each performance to be tested, thereby shielding the difference between different performance test processes.

步骤130:电视确定调试流程被触发时,基于配置参数生成相应的检验命令,并运行检验命令对电视的屏幕的性能进行检验,获得检验结果。Step 130: When the television determines that the debugging process is triggered, it generates a corresponding inspection command based on the configuration parameters, and runs the inspection command to inspect the performance of the TV screen to obtain an inspection result.

实际应用中,电视确定调试流程被触发时,基于配置参数生成相应的检验命令,其中,配置参数包括I2C设备地址,和/或,命令参数,可选的,配置参数还可以包括寄存器地址,和/或,I2C命令长度。In practical applications, when the TV determines that the debugging process is triggered, it generates a corresponding inspection command based on configuration parameters, where the configuration parameters include an I2C device address, and/or, command parameters, and optionally, the configuration parameters may also include register addresses, and /or, I2C command length.

例如,电视通过串口接收终端基于用户的指令发送的I2C命令echo ic 0x34 70x02 0xa1 0x00 0x0c 0xd6 0x00>/proc/msp/pdm,其中,配置参数包括命令参数0x020xa1 0x00 0x0c 0xd6 0x00、设备地址0x34以及命令长度7。进一步地,电视基于配置参数,生成第一检验命令xw 2 0x100 0x34 7 0x02 0xa1 0x00 0x0c 0xd6 0x00。For example, the TV receives the I2C command echo ic 0x34 70x02 0xa1 0x00 0x0c 0xd6 0x00>/proc/msp/pdm sent by the terminal based on the user's instruction through the serial port, where the configuration parameters include the command parameter 0x020xa1 0x00 0x0c 0xd6 0x00, the device address 0x34 and the command Length 7. Further, the television generates the first verification command xw 2 0x100 0x34 7 0x02 0xa1 0x00 0x0c 0xd6 0x00 based on the configuration parameters.

然后,电视运行检验命令对电视的屏幕的性能进行检验,获得检验结果。Then, the TV runs the test command to test the performance of the screen of the TV, and obtains the test result.

可选的,电视的各项性能检验可以是背光、抖动、滑屏以及闪屏中的一种或任意组合。Optionally, each performance test of the TV may be one or any combination of backlight, jitter, sliding screen, and flickering screen.

例如,电视运行检验命令对电视的屏幕进行背光状态检验。For example, the TV operation check command checks the backlight status of the screen of the TV.

又例如,电视运行检验命令对电视的屏幕进行抖动状态检验。For another example, the television operation inspection command performs a shaking state inspection on the screen of the television.

又例如,电视运行检验命令对电视的屏幕进行闪屏状态检验。For another example, the TV running check command checks the splash screen status of the TV screen.

又例如,电视运行检验命令对电视的屏幕进行滑屏状态检验。For another example, the TV running inspection command performs a sliding screen state inspection on the screen of the TV.

进一步地,电视会根据检验结果判断电视运行是否正常。Further, the TV will judge whether the TV is running normally according to the test result.

根据检验结果判断电视是否运行正常;Determine whether the TV is operating normally according to the test results;

若是,则向用户显示检验结果,并再次运行检验命令,对电视的各项性能进行再次检验,直到达到设定检验次数为止;If so, display the inspection result to the user, and run the inspection command again to inspect the performance of the TV again until the set number of inspections is reached;

否则,向用户显示检验结果,并接收终端发送的新的I2C命令,对检验命令进行修改,生成新的检验命令,以及基于新的检验命令,再次对电视的各项性能进行检验。Otherwise, display the test result to the user, receive a new I2C command sent by the terminal, modify the test command, generate a new test command, and test the performance of the TV again based on the new test command.

这样,用户就可以根据检验结果,在检验结果表征电视运行正常时,对电视采用相同的命令进行重复多次检验,以判断是否存在偶发性的问题。而在检验结果表征电视运行异常时,对检验命令进行相应的修改,运行再次修改后的检验命令,从而确定电视出现异常的具体原因。In this way, according to the test result, when the test result shows that the TV is running normally, the user can use the same command to repeatedly test the TV to determine whether there is an occasional problem. When the inspection result shows that the TV is running abnormally, the inspection command is modified accordingly, and the modified inspection command is run again, so as to determine the specific cause of the abnormality of the TV.

下面采用具体实施例对上述实施例作出进一步详细说明。The above-mentioned embodiments will be further described in detail below using specific embodiments.

参阅图3所示,本发明实施例中,可以对电视端进行预设的N次检测,具体流程如下:Referring to Fig. 3, in the embodiment of the present invention, preset N detections can be performed on the TV end, and the specific process is as follows:

用户对电视的屏幕的性能检验,先确定电视的屏幕的硬件规格,然后,确定对应电视的屏幕的硬件的规格设置的I2C命令,进一步地,通过串口将终端与电视连接,向电视通过串口发送I2C命令。To test the performance of the TV screen, the user first determines the hardware specification of the TV screen, and then determines the I2C command corresponding to the hardware specification setting of the TV screen, and further connects the terminal to the TV through the serial port, and sends it to the TV through the serial port I2C commands.

步骤300:电视通过串口接收I2C命令。Step 300: The TV receives the I2C command through the serial port.

步骤301:电视调用相应的接口,在EMMC中写入I2C命令携带的配置参数。Step 301: the TV calls the corresponding interface, and writes the configuration parameters carried by the I2C command into the EMMC.

步骤302:电视的系统重新启动,进行硬件初始化。Step 302: The system of the TV is restarted to perform hardware initialization.

步骤303:电视进行软件初始化,并基于读取的配置参数,生成相应的检验命令。Step 303: The TV performs software initialization, and generates a corresponding inspection command based on the read configuration parameters.

步骤304:电视基于生成的检验命令,对屏幕的背光状态进行检验,完成屏幕初始化。Step 304: The TV checks the backlight status of the screen based on the generated check command, and completes screen initialization.

步骤305:系统启动完毕。Step 305: The system starts up completely.

步骤306:电视根据屏幕状态获得检验结果。Step 306: The TV obtains the inspection result according to the screen state.

步骤307:电视基于获得的检验结果,确定是否出现异常,若是,则执行步骤310,否则,执行步骤308。Step 307: Based on the obtained test result, the television determines whether there is an abnormality, and if so, executes step 310; otherwise, executes step 308.

步骤308:电视统计运行正常的次数,将次数加一。Step 308: The TV counts the times of normal operation, and adds one to the times.

步骤309:电视判断统计的连续运行正常的次数是否达到设定检验次数,若是,则停止检验,否则,执行步骤300。Step 309: The TV judges whether the counted number of continuous normal operations reaches the set inspection number, and if so, stops the inspection; otherwise, executes step 300.

步骤310:电视将统计的次数清零。Step 310: The TV clears the counted times to zero.

步骤311:电视通过串口接收新的I2C命令。Step 311: The TV receives a new I2C command through the serial port.

下面采用一个具体的应用场景对上述实施例作出进一步详细说明。Hereinafter, a specific application scenario is adopted to further describe the foregoing embodiment in detail.

假设用户对电视的屏幕进行背光状态检验,先确定电视的屏幕的型号为HD500DU-B52和配套的芯片为NTK72324,然后,确定对应电视的屏幕的型号HD500DU-B52和配套的芯片NTK72324设置的I2C命令为echo ic 3 7 0x02 0xa1 0x00 0x0c 0xd6 0x0>/proc/msp/pdm,则用户通过串口将终端与电视连接,向电视通过串口发送I2C命令。Assuming that the user checks the backlight status of the TV screen, first determine that the model of the TV screen is HD500DU-B52 and the supporting chip is NTK72324, and then determine the I2C command set by the corresponding TV screen model HD500DU-B52 and supporting chip NTK72324 If it is echo ic 3 7 0x02 0xa1 0x00 0x0c 0xd6 0x0>/proc/msp/pdm, then the user connects the terminal to the TV through the serial port and sends I2C commands to the TV through the serial port.

电视通过串口接收终端基于用户的指令发送的I2C命令echo ic 0x34 7 0x020xa1 0x00 0x0c 0xd6 0x00>/proc/msp/pdm,并基于I2C命令echo ic 0x34 7 0x02 0xa10x00 0x0c 0xd6 0x00>/proc/msp/pdm,通过与串口对接的Linux读写接口,即filp.open→filp.f_op.llseek→filp.f_op.write→filp.close,在EMMC中写入配置参数,其中,配置参数包括命令参数0x02 0xa1 0x00 0x0c 0xd6 0x00、设备地址0x34以及命令长度7。The TV receives the I2C command echo ic 0x34 7 0x020xa1 0x00 0x0c 0xd6 0x00>/proc/msp/pdm sent by the terminal based on the user's command through the serial port, and based on the I2C command echo ic 0x34 7 0x02 0xa10x00 0x0c 0xd6 0x00>/proc/msp/pdm , through the Linux read-write interface docked with the serial port, that is, filp.open→filp.f_op.llseek→filp.f_op.write→filp.close, write configuration parameters in EMMC, where the configuration parameters include command parameters 0x02 0xa1 0x00 0x0c 0xd6 0x00, device address 0x34, and command length 7.

电视的系统重新启动,进行硬件初始化以及软件初始化,并在软件初始化的过程中,基于配置参数,生成第一检验命令xw 2 0x100 0x34 7 0x02 0xa1 0x00 0x0c 0xd60x00,以及基于第一检验命令对电视的屏幕进行背光状态检验,完成屏幕初始化,此时,系统启动完毕。The system of the TV is restarted, hardware initialization and software initialization are performed, and in the process of software initialization, based on the configuration parameters, the first verification command xw 2 0x100 0x34 7 0x02 0xa1 0x00 0x0c 0xd60x00 is generated, and based on the first verification command, the TV Check the backlight status of the screen and complete the screen initialization. At this time, the system starts up.

电视根据屏幕状态获得第一检验结果,并根据第一检验结果判断电视运行异常。The TV obtains the first inspection result according to the screen state, and judges that the TV is running abnormally according to the first inspection result.

进一步地,电视先对统计的运行正常的次数清零,然后,电视基于用户的新的指令发送的新的I2C命令echo ic 3 7 0x02 0xa1 0x10 0x0c 0x0a 0x0>/proc/msp/pdm,对第一检验命令xw 2 0x100 0x34 7 0x02 0xa1 0x00 0x0c 0xd6 0x00进行修改后,重新启动系统,进行硬件初始化以及软件初始化,并在软件初始化的过程中,基于配置参数,生成第二检验命令xw 2 0x100 0x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00,以及基于第二检验命令xw 2 0x100 0x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00,再次对电视的屏幕进行背光状态检验。Further, the TV first clears the counted number of normal operations, and then the TV sends a new I2C command echo ic 3 7 0x02 0xa1 0x10 0x0c 0x0a 0x0>/proc/msp/pdm based on the user's new command, for the first The first test command xw 2 0x100 0x34 7 0x02 0xa1 0x00 0x0c 0xd6 0x00 is modified, restart the system, perform hardware initialization and software initialization, and generate the second test command xw 2 0x100 0x34 based on the configuration parameters during the software initialization process 7 0x02 0xa1 0x10 0x0c 0x0a 0x00, and based on the second check command xw 2 0x100 0x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00, check the backlight status of the TV screen again.

电视获得第二检验结果,并根据第二检验结果判断电视运行正常,统计运行正常的次数为1。The TV obtains the second inspection result, and judges that the TV is running normally according to the second inspection result, and counts the number of times that the TV is running normally as 1.

用户预先设定检验次数为3,由于正常运行的次数1低于设定检验次数3,因此,电视重新启动系统,进行硬件初始化以及软件初始化,再次运行第二检验命令xw 2 0x1000x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00,对电视的屏幕进行背光状态检验,获得第三检验结果,并基于第三检验结果判断电视运行正常,以及判断运行正常的次数2未达到设定检验次数3。The user presets the number of checks to be 3. Since the number of normal operations 1 is lower than the set number of checks 3, the TV restarts the system, performs hardware initialization and software initialization, and runs the second check command xw 2 0x1000x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00, check the backlight status of the TV screen, obtain the third inspection result, and judge that the TV is running normally based on the third inspection result, and the number of times 2 of judging that the operation is normal does not reach the set number of inspections 3 .

电视重新启动系统,进行硬件初始化以及软件初始化,再次运行第二检验命令xw2 0x100 0x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00,对电视的屏幕进行背光状态检验,获得第四检验结果,并基于第四检验结果判断电视运行正常。电视判断运行正常的次数3达到设定检验次数3,则停止检验流程。The TV restarts the system, initializes the hardware and software, runs the second test command xw2 0x100 0x34 7 0x02 0xa1 0x10 0x0c 0x0a 0x00 again, checks the backlight status of the TV screen, obtains the fourth test result, and based on the fourth test result Determine that the TV is functioning normally. When the number of times 3 determined by the TV to run normally reaches the set number of inspections 3, the inspection process is stopped.

基于上述实施例,参阅图2所示,电视屏端检测装置的结构示意图,本发明实施例中,电视屏端检测装置具体包括:Based on the above-mentioned embodiments, referring to the schematic structural diagram of the TV screen end detection device shown in FIG. 2 , in the embodiment of the present invention, the TV screen end detection device specifically includes:

接收单元20,用于接收终端发送的I2C命令,其中,I2C命令携带对应电视的屏幕设置的配置参数;The receiving unit 20 is configured to receive an I2C command sent by the terminal, wherein the I2C command carries configuration parameters corresponding to screen settings of the TV;

存储单元21,用于存储I2C命令携带的配置参数;The storage unit 21 is used to store the configuration parameters carried by the I2C command;

检验单元22,用于确定调试流程被触发时,基于配置参数生成相应的检验命令,并运行检验命令对电视的屏幕的性能进行检验,获得检验结果。The verification unit 22 is configured to generate a corresponding verification command based on configuration parameters when the debugging process is triggered, and run the verification command to verify the performance of the TV screen to obtain a verification result.

较佳的,配置参数包括I2C设备地址,和/或,命令参数。Preferably, the configuration parameters include an I2C device address, and/or, command parameters.

较佳的,存储单元21存储I2C命令携带的配置参数包括:Preferably, the storage unit 21 stores the configuration parameters carried by the I2C command including:

确定配置参数的存储方式;Determine how configuration parameters are stored;

通过存储方式对应的接口,存储配置参数。Store configuration parameters through the interface corresponding to the storage method.

较佳的,在电视运行检验命令对电视的屏幕的性能进行检验,获得检验结果之后,检验单元22还用于:Preferably, the performance of the screen of the TV is checked by the TV running check command, and after the check result is obtained, the checking unit 22 is also used for:

根据检验结果判断电视是否运行正常;Determine whether the TV is operating normally according to the test results;

若是,则向用户显示检验结果,并再次运行检验命令,对电视的各项性能进行再次检验,直到达到设定检验次数为止;If so, display the inspection result to the user, and run the inspection command again to inspect the performance of the TV again until the set number of inspections is reached;

否则,向用户显示检验结果,并接收终端发送的新的I2C命令,对检验命令进行修改,生成新的检验命令,以及基于新的检验命令,再次对电视的各项性能进行检验。Otherwise, display the test result to the user, receive a new I2C command sent by the terminal, modify the test command, generate a new test command, and test the performance of the TV again based on the new test command.

较佳的,检验单元22运行检验命令对电视的屏幕的性能进行检验,包括以下各类检验中的一种或任意组合:Preferably, the test unit 22 runs a test command to test the performance of the TV screen, including one or any combination of the following types of tests:

运行检验命令对电视的屏幕进行背光状态检验;Run the inspection command to inspect the backlight status of the TV screen;

运行所述检验命令对所述电视的屏幕进行抖动状态检验;Running the inspection command to inspect the shaking state of the screen of the TV;

运行所述检验命令对所述电视的屏幕进行闪屏状态检验;Running the inspection command to inspect the splash screen status of the screen of the TV;

运行所述检验命令对所述电视的屏幕进行滑屏状态检验。Running the checking command to check the sliding state of the TV screen.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. In this way, if the modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1. a kind of TV screen end detection method characterized by comprising
The internal integrated circuit I2C order that television reception terminal is sent, wherein the I2C order carries the corresponding TV The configuration parameter of screen setting;
TV stores the configuration parameter that the I2C order carries;
When TV determines that debugging process is triggered, is generated based on the configuration parameter and examine order accordingly, and run the inspection It tests order to test to the performance of the screen of the TV, obtains inspection result;
Wherein, the internal integrated circuit I2C order that television reception terminal is sent, comprising: TV receives terminal by serial ports and is based on The I2C order that the instruction of user is sent.
2. the method as described in claim 1, which is characterized in that the configuration parameter includes the device address I2C, and/or, order Parameter.
3. the method as described in claim 1, which is characterized in that TV stores the configuration parameter that the I2C order carries, packet It includes:
TV determines the storage mode of the configuration parameter;
TV stores the configuration parameter by the corresponding interface of the storage mode.
4. the method as claimed in claim 1 or 2 or 3, which is characterized in that run the inspection order to the TV in TV The performance of screen test, after obtaining inspection result, further comprise:
According to the inspection result judge the TV whether normal operation;
If so, showing the inspection result to the user, and the inspection order is run again, to the items of the TV Performance is examined again, until reaching specification test number;
Otherwise, Xiang Suoshu user shows the inspection result, and receives the new I2C order of terminal transmission, orders the inspection Order is modified, and generates new inspection order, and based on the new inspection order, is carried out again to the properties of TV It examines.
5. the method as claimed in claim 1 or 2 or 3, which is characterized in that TV runs the inspection order to the TV The performance of screen is tested, including a kind of following or any combination:
TV runs the screen progress backlight state inspection for examining order to the TV;
TV runs the screen progress dither state inspection for examining order to the TV;
TV runs the screen progress splashette thermodynamic state verification for examining order to the TV;
TV runs the screen progress screen sliding thermodynamic state verification for examining order to the TV.
6. a kind of TV screen end detecting device characterized by comprising
Receiving unit, for receiving the I2C order of terminal transmission, wherein the I2C order carries the screen setting of corresponding TV Configuration parameter;
Storage unit, the configuration parameter carried for storing the I2C order;
Verification unit is generated based on the configuration parameter when for determining that debugging process is triggered and examines order accordingly, and transported The row inspection order tests to the performance of the screen of the TV, obtains inspection result;
Wherein, the receiving unit is specifically used for: TV receives the I2C that terminal is sent based on the instruction of user by serial ports and orders It enables.
7. device as claimed in claim 6, which is characterized in that the configuration parameter includes the device address I2C, and/or, order Parameter.
8. device as claimed in claim 6, which is characterized in that the receiving unit stores the configuration that the I2C order carries Parameter includes:
Determine the storage mode of the configuration parameter;
By the corresponding interface of the storage mode, the configuration parameter is stored.
9. the device as described in claim 6 or 7 or 8, which is characterized in that the verification unit is also used to:
According to the inspection result judge the TV whether normal operation;
If so, showing the inspection result to the user, and the inspection order is run again, to the items of the TV Performance is examined again, until reaching specification test number;
Otherwise, Xiang Suoshu user shows the inspection result, and receives the new I2C order of terminal transmission, orders the inspection Order is modified, and generates new inspection order, and based on the new inspection order, is carried out again to the properties of TV It examines.
10. the device as described in claim 6 or 7 or 8, which is characterized in that operation is described to examine order to the screen of the TV The performance of curtain is tested, and the verification unit, which runs inspections, orders and test packet to the performance of the screen of the TV Include a kind of following or any combination:
Run the screen progress backlight state inspection for examining order to the TV;
Run the screen progress dither state inspection for examining order to the TV;
Run the screen progress splashette thermodynamic state verification for examining order to the TV;
Run the screen progress screen sliding thermodynamic state verification for examining order to the TV.
CN201610941597.9A 2016-11-01 2016-11-01 A kind of TV screen end detection method and device Active CN106454518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610941597.9A CN106454518B (en) 2016-11-01 2016-11-01 A kind of TV screen end detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610941597.9A CN106454518B (en) 2016-11-01 2016-11-01 A kind of TV screen end detection method and device

Publications (2)

Publication Number Publication Date
CN106454518A CN106454518A (en) 2017-02-22
CN106454518B true CN106454518B (en) 2019-09-17

Family

ID=58178795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610941597.9A Active CN106454518B (en) 2016-11-01 2016-11-01 A kind of TV screen end detection method and device

Country Status (1)

Country Link
CN (1) CN106454518B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1224303A (en) * 1998-11-27 1999-07-28 海信集团公司 Multimedia TV screen display control method
CN101308648A (en) * 2007-05-15 2008-11-19 冠捷投资有限公司 Method and system for automatically testing display device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741277B1 (en) * 2000-01-13 2004-05-25 Koninklijke Philips Electronics N.V. System and method for automated testing of digital television receivers
CN1905642A (en) * 2005-07-29 2007-01-31 联想(北京)有限公司 Method and system for remote-operating display OSD menu
CN101221524B (en) * 2007-01-12 2010-05-26 群康科技(深圳)有限公司 Display equipment debugging system and method thereof
CN101370074A (en) * 2007-08-17 2009-02-18 康佳集团股份有限公司 Method for parameter collocation of liquid crystal television screen
CN105100796A (en) * 2015-08-26 2015-11-25 深圳创维-Rgb电子有限公司 Television test method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1224303A (en) * 1998-11-27 1999-07-28 海信集团公司 Multimedia TV screen display control method
CN101308648A (en) * 2007-05-15 2008-11-19 冠捷投资有限公司 Method and system for automatically testing display device

Also Published As

Publication number Publication date
CN106454518A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US9454467B2 (en) Method and apparatus for mining test coverage data
CN105573911B (en) Method and device for processing application pop-up window
US11036507B2 (en) Processor testing using pairs of counter incrementing and branch instructions
US8752023B2 (en) System, method and program product for executing a debugger
US9772924B2 (en) Method and apparatus for finding bugs in computer program codes
CN105573915B (en) A kind of test method and device based on code coverage
CN105204968B (en) Method and device for detecting faulty memory
US9507691B2 (en) Conditional component breakpoint setting system and method
CN111008135A (en) APP test method, device, equipment and storage medium
CN103927242A (en) Display card testing system and display card testing method
US20140033179A1 (en) Application testing
US20210111967A1 (en) Graphical user interface for traffic capture and debugging tool
CN107820608A (en) For the method and apparatus for the Debugging message for producing, capture, storing and loading the test script to fail
CN105975373A (en) Running monitoring method and apparatus for software program
CN107908490B (en) Method and system for verifying reliability of GPU (graphics processing Unit) register in server DC (direct Current) test
CN104866597B (en) Method and device for analyzing database access request
CN106454518B (en) A kind of TV screen end detection method and device
US20140201718A1 (en) Analyzing concurrent debugging sessions
CN107590389B (en) Security testing method and device, electronic equipment and computer storage medium
US10228422B2 (en) Driving pervasive commands using breakpoints in a hardware-accelerated simulation environment
US11036624B2 (en) Self healing software utilizing regression test fingerprints
US7987065B1 (en) Automatic quality testing of multimedia rendering by software drivers
TW201633130A (en) Adjusting the use of a chip/socket having a damaged pin
US9703674B1 (en) Stack pattern breakpoint in COBOL
CN106650006B (en) Debugging method and system of programmable logic device and electronic design automation terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No.11, Jiangxi Road, Shinan District, Qingdao, Shandong 266000

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region after: China

Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China