WO2018000918A1 - Network-based set-top box testing method and system - Google Patents

Network-based set-top box testing method and system Download PDF

Info

Publication number
WO2018000918A1
WO2018000918A1 PCT/CN2017/081044 CN2017081044W WO2018000918A1 WO 2018000918 A1 WO2018000918 A1 WO 2018000918A1 CN 2017081044 W CN2017081044 W CN 2017081044W WO 2018000918 A1 WO2018000918 A1 WO 2018000918A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
top box
daemon
server
case
Prior art date
Application number
PCT/CN2017/081044
Other languages
French (fr)
Chinese (zh)
Inventor
黄开琴
Original Assignee
深圳市九洲电器有限公司
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 深圳市九洲电器有限公司 filed Critical 深圳市九洲电器有限公司
Publication of WO2018000918A1 publication Critical patent/WO2018000918A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/04Diagnosis, testing or measuring for television systems or their details for receivers
    • 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
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2404Monitoring of server processing errors or hardware failure
    • 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

Definitions

  • the present application relates to the field of communications, and in particular, to a network-based set top box testing method and system.
  • set-top boxes have been widely used as the main digital television equipment.
  • the set-top box requires multiple tests during the production process.
  • the traditional set-top box test method is to test through interactive commands or scripts, and save the generated test files to the set-top box.
  • this increases the load on the set-top box processor, reduces the test efficiency, is not conducive to rapid testing and increase production efficiency, and greatly increases the cost of the set-top box.
  • the network-based set-top box testing system includes: a server testing end and a set-top box testing end; the server testing end is configured to generate a test case and send the test case to the set-top box test end, and receive the sent by the set-top box test end.
  • the test state generates a test report and analyzes the test report; the set top box test end runs two processes, a test process and a daemon process, and the daemon process receives the test case and sends it to the test process, and the test process executes Test the use case and return a test state to the daemon, which sends the test status to the server test end.
  • the daemon monitors the test process. If the test process is stuck, the test case executed by the test process is recorded and sent to the server test end, and then the test process is restarted, and the test case is completed. Subsequent test cases.
  • the server test end sends the test case to multiple needs The set-top box test end of the test case, and the test terminals of the plurality of set-top boxes are simultaneously tested.
  • the daemon sends a serial number of the set top box to the server test end, and the server test end sends the test case to the set top box test end whose serial number belongs to the same test batch.
  • the network-based set-top box testing method provided by the application includes the following steps:
  • S10 setting a server test end, the server test end is used to generate a test case and send it to the set top box, the test status sent by the receiver set top box generates a test report and analyzes the test report;
  • S20 Running two processes in the set top box, respectively, a test process and a daemon, the daemon receives the test case and sends it to the test process, the test process executes the test case and returns the test state to the daemon, and the daemon sends the test status to the server. Test side.
  • the step S20 further includes: monitoring the test process by the daemon process, if the test process is stuck, the test case executed by the test process is recorded and sent to the server test end, and then the test process is restarted. Then complete the test cases following the test case.
  • the method further includes: sending, by the server test end, the test case to a plurality of set top box test ends that require the test case, and the plurality of set top box test ends simultaneously testing.
  • the serial number of the set top box is sent by the daemon to the server test end, and the server test end sends the test case to the set top box test end whose serial number belongs to the same test batch.
  • An electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to generate a test case and send to the set top box, and the test status generated by the receiver set top box generates a test report and analyzes the test report.
  • the application provides a non-transitory computer readable storage medium storing computer executable instructions for generating test cases and transmitting to a set top box, and The test status sent by the receiver set-top box generates a test report and analyzes the test report.
  • the application provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, the program instructions comprising to generate an electronic device
  • the test case is sent to the set-top box, and the test status sent by the receiver set-top box generates a test report and analyzes the test report.
  • An electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to run two processes, a test process and a daemon, respectively, the daemon receiving the test case and sending it to the test process, the test process executing the test case and Returns the test state to the daemon, which sends the test status to the server test side.
  • the application provides a non-transitory computer readable storage medium storing computer executable instructions for enabling the computer to run two
  • the process is the test process and the daemon.
  • the daemon receives the test case and sends it to the test process.
  • the test process executes the test case and returns the test status to the daemon.
  • the daemon sends the test status to the server test end.
  • the application provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, the program instructions comprising to generate an electronic device It is able to run two processes, the test process and the daemon.
  • the daemon receives the test case and sends it to the test process.
  • the test process executes the test case and returns the test state to the daemon.
  • the daemon sends the test status to the server test terminal.
  • the application is based on a network-based set-top box testing method and system, and separates test cases and test report generation and analysis into a network server, and the set-top box and the server test end communicate based on the network to jointly complete the test of the set-top box, thereby greatly reducing the set-top box processor. Occupied, reducing the burden on the set-top box processor.
  • the daemon is set to communicate with the server test terminal, and the daemon process is simple and stable, and is not prone to jamming, and the network communication with the server test end is stably performed to ensure the stability of the test.
  • FIG. 1 is a structural diagram of a network-based set top box test system in an embodiment of the present application
  • FIG. 2 is a flowchart of a network-based set top box testing method in an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of hardware of an electronic device according to a network-based set top box testing method according to an embodiment of the present application.
  • FIG. 1 is a structural diagram of a network-based set top box test system in an embodiment of the present application.
  • the system includes: a server test end 100 and a set top box test end 200.
  • the server test terminal 100 is configured to generate a test case (test case) and send it to the set top box test end 200, and the test state generated by the receiver set top box test end 200 generates a test report and analyzes the test report.
  • the set-top box test end 200 runs two processes, a test process and a daemon process (a daemon process).
  • the daemon receives the test case and sends it to the test process.
  • the test process executes the test case and returns the test state to the daemon, and the daemon will test the state.
  • the protection process is set to communicate with the server test terminal 100. Since the protection process is simple and stable, the problem of jamming is not easy to occur, and the network communication with the server test terminal 100 can be stably performed to ensure the stability of the test.
  • the protection process monitors the test process. If the test process is stuck, the test case executed by the test process is recorded and sent to the server test terminal 100, and then the test process is restarted. Then complete the test cases following the test case.
  • the server test terminal 100 sends the test case to a plurality of set top box test terminals 200 that need the test case, and the plurality of set top box test ends 200 simultaneously test, thereby greatly improving the test efficiency. Further, the protection process sends the serial number of the set top box to the server test end 100, and the service The test terminal 100 sends the test case to the set top box test end 200 whose serial number belongs to the same test lot.
  • the network-based set-top box test system separates the test case and test report generation and analysis into a network server, and the set-top box test end and the server test end communicate based on the network to complete the test of the set-top box, thereby greatly reducing the occupation of the set-top box processor. , reducing the burden on the set-top box processor.
  • the protection process is set to communicate with the server test terminal, and the protection process is simple and stable, and it is not easy to be stuck, and the network communication with the server test terminal is stably performed to ensure the stability of the test.
  • the application also provides a network-based set top box testing method, as shown in FIG. 2, the method includes:
  • test case test case
  • test status sent by the receiver set top box generates a test report and analyzes the test report.
  • S20 Running two processes in the set top box, respectively, the test process and the daemon process (daemon process), the daemon receives the test case and sends it to the test process, the test process executes the test case and returns the test state to the daemon, and the daemon will test The status is sent to the server test side.
  • test case and test report generation and analysis are separated into a network server, which greatly reduces the occupation of the set top box processor and reduces the burden on the set top box processor.
  • Set the protection process to communicate with the server test terminal. Because the protection process is simple and stable, it is not easy to get stuck. It can stably communicate with the server test end to ensure the stability of the test.
  • step S20 further includes: monitoring the test process by the protection process, and if the test process is stuck, the test case executed by the test process is recorded and sent to the server. Test the side, then restart the test process, and then complete the test case subsequent test cases.
  • the method further includes: sending, by the server testing end, the test case to a plurality of set top boxes that need the test case, and the plurality of set top boxes simultaneously testing, thereby greatly improving the testing efficiency.
  • the protection process sends the serial number of the set top box to the server test end, and the server test end sends the test case to the set top box whose serial number belongs to the same test batch.
  • the network-based set-top box testing method separates test cases and test report generation and analysis into a network server, and the set-top box and the server test end communicate based on the network to complete the test of the set-top box, thereby greatly reducing the occupation of the set-top box processor and reducing The burden of the set-top box processor.
  • the protection process is set to communicate with the server test terminal, and the protection process is simple and stable, and it is not easy to be stuck, and the network communication with the server test terminal is stably performed to ensure the stability of the test.
  • the application is based on a network-based set-top box testing method and system, and separates test cases and test report generation and analysis into a network server, and the set-top box and the server test end communicate based on the network to jointly complete the test of the set-top box, thereby greatly reducing the set-top box processor. Occupied, reducing the burden on the set-top box processor.
  • the protection process is set to communicate with the server test terminal, and the protection process is simple and stable, and it is not easy to be stuck, and the network communication with the server test terminal is stably performed to ensure the stability of the test.
  • the application also provides a hardware structure diagram of an electronic device based on a network-based set-top box testing method. As shown in FIG. 3, the electronic device 30 includes:
  • processors 301 and memory 302 one processor 301 is taken as an example in FIG.
  • the processor 301 and the memory 302 can be connected by a bus or other means, and the connection by a bus is taken as an example in FIG.
  • the memory 302 stores instructions executable by at least one processor 301 that, when executed by the processor 301, can cause the processor 301 to perform the steps performed by the electronic device described above.
  • the operations performed by the processor 301 may be stored in the memory 302 in the form of program instructions.
  • the memory 302 is a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computers. execute program.
  • the operations performed by the processor 301 are stored in the memory 302 in the form of program instructions.
  • the operation performed by the processor 301 includes, in addition to the program instruction, generating a test case and transmitting to the set top box, and generating a test report by the test state sent by the receiver set top box and reporting the test report.
  • the program instructions for performing the analysis may also be program instructions for implementing the functions performed by the electronic device in the above embodiments.
  • the operation performed by the processor 301 in addition to the program instructions includes: enabling the computer to run two processes, respectively Test the process and the daemon.
  • the daemon receives the test case and sends it to the test process.
  • the test process executes the test case and returns the test state to the daemon.
  • the daemon sends the test status to the program command on the server test side.
  • the program instructions may also be program instructions that implement the functions performed by the electronic device in the above embodiments.
  • the memory 302 can include a storage program area and an storage data area, wherein the storage program area can store an operating system, an application required for at least one function; the storage data area can store data created according to the use of the network-based set top box testing method, and the like. .
  • memory 302 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 302 can optionally include memory remotely located relative to processor 301, which can be coupled to processor 301 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the application also provides a non-transitory computer readable storage medium storing computer executable instructions that are executed by one or more processors, such as one of FIG.
  • the processor 301 can cause the one or more processors to perform the network-based set top box testing method in any of the foregoing method embodiments.
  • the set-top box and the storage medium communicate based on the network, and complete the test of the set-top box, thereby greatly reducing the occupation of the set-top box processor and reducing the set-top box processor.
  • the burden At the same time, the daemon is set to communicate with the storage medium, and the daemon is simple and stable, and is not prone to jamming.
  • the network communication with the storage medium is stable, and the stability of the test is ensured.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

The present invention relates to a network-based set-top box testing method and system, wherein test cases and test report generation and analysis are separated into a network server; the set-top box and the server test end communicate based on the network to jointly complete the test of the set-top box, thereby greatly reducing occupancy of the set-top box processor and lessening the burden on the set-top box processor. At the same time, a daemon is set to communicate with the server test end. The daemon performs stable network communication with the server test end by using advantages of the daemon that is simple and stable, and not easy to get stuck, so as to ensure the stability of the test.

Description

一种基于网络的机顶盒测试方法及系统Network-based set top box testing method and system 技术领域Technical field
本申请涉及通信领域,尤其涉及一种基于网络的机顶盒测试方法及系统。The present application relates to the field of communications, and in particular, to a network-based set top box testing method and system.
背景技术Background technique
目前,机顶盒作为主要的数字电视设备,已经得到广泛使用。At present, set-top boxes have been widely used as the main digital television equipment.
为保证机顶盒的质量和性能,机顶盒在生产过程中需要进行多项测试。传统机顶盒的测试方法是通过交互式的命令或者脚本进行测试,并且将生成的测试文件保存到机顶盒中。但是这样就增大了机顶盒处理器的负荷,降低了测试效率,不利于快速的进行测试和提高生产效率,大大增加机顶盒的成本。To ensure the quality and performance of the set-top box, the set-top box requires multiple tests during the production process. The traditional set-top box test method is to test through interactive commands or scripts, and save the generated test files to the set-top box. However, this increases the load on the set-top box processor, reduces the test efficiency, is not conducive to rapid testing and increase production efficiency, and greatly increases the cost of the set-top box.
发明内容Summary of the invention
有鉴于此,有必要针对上述传统机顶盒测试增大机顶盒处理器的负荷,降低了测试效率的问题,提供一种基于网络的机顶盒测试方法及系统。In view of this, it is necessary to test the load of the set top box processor for the above-mentioned traditional set top box test, and reduce the problem of test efficiency, and provide a network-based set top box test method and system.
本申请提供的一种基于网络的机顶盒测试系统,包括:服务器测试端和机顶盒测试端;所述服务器测试端用于生成测试用例并发送给所述机顶盒测试端,接收所述机顶盒测试端发送的测试状态生成测试报告并对测试报告进行分析;所述机顶盒测试端运行两个进程,分别为测试进程和守护进程,所述守护进程接收测试用例并发送给所述测试进程,所述测试进程执行测试用例并返回测试状态至所述守护进程,所述守护进程将测试状态发送至所述服务器测试端。The network-based set-top box testing system provided by the present application includes: a server testing end and a set-top box testing end; the server testing end is configured to generate a test case and send the test case to the set-top box test end, and receive the sent by the set-top box test end. The test state generates a test report and analyzes the test report; the set top box test end runs two processes, a test process and a daemon process, and the daemon process receives the test case and sends it to the test process, and the test process executes Test the use case and return a test state to the daemon, which sends the test status to the server test end.
在其中的一个实施方式中,所述守护进程监测测试进程,若监测到测试进程卡死,将记录测试进程执行的测试用例并发送给服务器测试端,然后重新启动测试进程,再完成该测试用例后续的测试用例。In one embodiment, the daemon monitors the test process. If the test process is stuck, the test case executed by the test process is recorded and sent to the server test end, and then the test process is restarted, and the test case is completed. Subsequent test cases.
在其中的一个实施方式中,所述服务器测试端将测试用例发送给多个需要 该测试用例的机顶盒测试端,多个机顶盒测试端同时进行测试。In one of the embodiments, the server test end sends the test case to multiple needs The set-top box test end of the test case, and the test terminals of the plurality of set-top boxes are simultaneously tested.
在其中的一个实施方式中,所述守护进程将机顶盒的序列号发送至所述服务器测试端,所述服务器测试端将测试用例发送至序列号属于同一测试批次的机顶盒测试端。In one of the embodiments, the daemon sends a serial number of the set top box to the server test end, and the server test end sends the test case to the set top box test end whose serial number belongs to the same test batch.
本申请提供的一种基于网络的机顶盒测试方法,包括如下步骤:The network-based set-top box testing method provided by the application includes the following steps:
S10:设置服务器测试端,服务器测试端用于生成测试用例并发送给机顶盒,接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析;S10: setting a server test end, the server test end is used to generate a test case and send it to the set top box, the test status sent by the receiver set top box generates a test report and analyzes the test report;
S20:在机顶盒中运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端。S20: Running two processes in the set top box, respectively, a test process and a daemon, the daemon receives the test case and sends it to the test process, the test process executes the test case and returns the test state to the daemon, and the daemon sends the test status to the server. Test side.
在其中的一个实施方式中,所述步骤S20还包括:由守护进程监测测试进程,若监测到测试进程卡死,将记录测试进程执行的测试用例并发送给服务器测试端,然后重新启动测试进程,再完成该测试用例后续的测试用例。In one embodiment, the step S20 further includes: monitoring the test process by the daemon process, if the test process is stuck, the test case executed by the test process is recorded and sent to the server test end, and then the test process is restarted. Then complete the test cases following the test case.
在其中的一个实施方式中,所述方法还包括:由服务器测试端将测试用例发送给多个需要该测试用例的机顶盒测试端,多个机顶盒测试端同时进行测试。In one embodiment, the method further includes: sending, by the server test end, the test case to a plurality of set top box test ends that require the test case, and the plurality of set top box test ends simultaneously testing.
在其中的一个实施方式中,由守护进程将机顶盒的序列号发送至所述服务器测试端,所述服务器测试端将测试用例发送至序列号属于同一测试批次的机顶盒测试端。In one of the embodiments, the serial number of the set top box is sent by the daemon to the server test end, and the server test end sends the test case to the set top box test end whose serial number belongs to the same test batch.
本申请提供的一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析。An electronic device provided by the present application, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to generate a test case and send to the set top box, and the test status generated by the receiver set top box generates a test report and analyzes the test report.
本申请提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析。 The application provides a non-transitory computer readable storage medium storing computer executable instructions for generating test cases and transmitting to a set top box, and The test status sent by the receiver set-top box generates a test report and analyzes the test report.
本申请提供一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,所述程序指令包括用以使电子设备生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析的指令。The application provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, the program instructions comprising to generate an electronic device The test case is sent to the set-top box, and the test status sent by the receiver set-top box generates a test report and analyzes the test report.
本申请提供的一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端。An electronic device provided by the present application, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to run two processes, a test process and a daemon, respectively, the daemon receiving the test case and sending it to the test process, the test process executing the test case and Returns the test state to the daemon, which sends the test status to the server test side.
本申请提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于,使所述计算机能够运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端。The application provides a non-transitory computer readable storage medium storing computer executable instructions for enabling the computer to run two The process is the test process and the daemon. The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test status to the daemon. The daemon sends the test status to the server test end.
本申请提供一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,所述程序指令包括用以使电子设备生成能够运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端的指令。The application provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, the program instructions comprising to generate an electronic device It is able to run two processes, the test process and the daemon. The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test state to the daemon. The daemon sends the test status to the server test terminal.
本申请基于网络的机顶盒测试方法及系统,将测试用例和测试报告生成及分析分离到网络服务器,机顶盒和服务器测试端基于网络进行通信,共同完成机顶盒的测试,从而大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。同时,设置守护进程与服务器测试端进行通信,利用守护进程简单稳定、不容易发生卡死的优点,稳定的与服务器测试端进行网络通信,保证测试的稳定性。The application is based on a network-based set-top box testing method and system, and separates test cases and test report generation and analysis into a network server, and the set-top box and the server test end communicate based on the network to jointly complete the test of the set-top box, thereby greatly reducing the set-top box processor. Occupied, reducing the burden on the set-top box processor. At the same time, the daemon is set to communicate with the server test terminal, and the daemon process is simple and stable, and is not prone to jamming, and the network communication with the server test end is stably performed to ensure the stability of the test.
附图说明 DRAWINGS
图1是本申请一个实施例中的基于网络的机顶盒测试系统的结构图;1 is a structural diagram of a network-based set top box test system in an embodiment of the present application;
图2是本申请一个实施例中的基于网络的机顶盒测试方法的流程图;2 is a flowchart of a network-based set top box testing method in an embodiment of the present application;
图3为本申请一个实施例提供的基于网络的机顶盒测试方法的电子设备的硬件结构示意图。FIG. 3 is a schematic structural diagram of hardware of an electronic device according to a network-based set top box testing method according to an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
图1是本申请一个实施例中的基于网络的机顶盒测试系统的结构图,如图1所示,该系统包括:服务器测试端100和机顶盒测试端200。服务器测试端100用于生成测试用例(测试case)并发送给机顶盒测试端200,接收机顶盒测试端200发送的测试状态生成测试报告并对测试报告进行分析。机顶盒测试端200运行两个进程,分别为测试进程和守护进程(daemon进程),守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端100。这样,将测试用例和测试报告生成及分析分离到网络服务器进行,大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。设置保护进程与服务器测试端100进行通信,由于保护进程简单稳定,不容易发生卡死的问题,能够稳定的与服务器测试端100进行网络通信,保证测试的稳定性。1 is a structural diagram of a network-based set top box test system in an embodiment of the present application. As shown in FIG. 1, the system includes: a server test end 100 and a set top box test end 200. The server test terminal 100 is configured to generate a test case (test case) and send it to the set top box test end 200, and the test state generated by the receiver set top box test end 200 generates a test report and analyzes the test report. The set-top box test end 200 runs two processes, a test process and a daemon process (a daemon process). The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test state to the daemon, and the daemon will test the state. Sent to the server test terminal 100. In this way, the test case and test report generation and analysis are separated into a network server, which greatly reduces the occupation of the set top box processor and reduces the burden on the set top box processor. The protection process is set to communicate with the server test terminal 100. Since the protection process is simple and stable, the problem of jamming is not easy to occur, and the network communication with the server test terminal 100 can be stably performed to ensure the stability of the test.
为在测试进程发生问题的情况下,能够继续进行测试,保护进程监测测试进程,若监测到测试进程卡死,将记录测试进程执行的测试用例并发送给服务器测试端100,然后重新启动测试进程,再完成该测试用例后续的测试用例。In order to continue the test in the case of a problem in the test process, the protection process monitors the test process. If the test process is stuck, the test case executed by the test process is recorded and sent to the server test terminal 100, and then the test process is restarted. Then complete the test cases following the test case.
为提高测试效率,服务器测试端100将测试用例发送给多个需要该测试用例的机顶盒测试端200,多个机顶盒测试端200同时进行测试,大大提高测试效率。进一步的,保护进程将机顶盒的序列号发送至服务器测试端100,服务 器测试端100将测试用例发送至序列号属于同一测试批次的机顶盒测试端200。To improve the test efficiency, the server test terminal 100 sends the test case to a plurality of set top box test terminals 200 that need the test case, and the plurality of set top box test ends 200 simultaneously test, thereby greatly improving the test efficiency. Further, the protection process sends the serial number of the set top box to the server test end 100, and the service The test terminal 100 sends the test case to the set top box test end 200 whose serial number belongs to the same test lot.
该基于网络的机顶盒测试系统,将测试用例和测试报告生成及分析分离到网络服务器,机顶盒测试端和服务器测试端基于网络进行通信,共同完成机顶盒的测试,从而大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。同时,设置保护进程与服务器测试端进行通信,利用保护进程简单稳定、不容易发生卡死的优点,稳定的与服务器测试端进行网络通信,保证测试的稳定性。The network-based set-top box test system separates the test case and test report generation and analysis into a network server, and the set-top box test end and the server test end communicate based on the network to complete the test of the set-top box, thereby greatly reducing the occupation of the set-top box processor. , reducing the burden on the set-top box processor. At the same time, the protection process is set to communicate with the server test terminal, and the protection process is simple and stable, and it is not easy to be stuck, and the network communication with the server test terminal is stably performed to ensure the stability of the test.
同时,本申请还提供一种基于网络的机顶盒测试方法,如图2所示,该方法包括:Meanwhile, the application also provides a network-based set top box testing method, as shown in FIG. 2, the method includes:
S10:设置服务器测试端,服务器测试端用于生成测试用例(测试case)并发送给机顶盒,接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析。S10: setting the server test end, the server test end is used to generate a test case (test case) and send it to the set top box, the test status sent by the receiver set top box generates a test report and analyzes the test report.
S20:在机顶盒中运行两个进程,分别为测试进程和守护进程(daemon进程),守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端。S20: Running two processes in the set top box, respectively, the test process and the daemon process (daemon process), the daemon receives the test case and sends it to the test process, the test process executes the test case and returns the test state to the daemon, and the daemon will test The status is sent to the server test side.
这样,将测试用例和测试报告生成及分析分离到网络服务器进行,大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。设置保护进程与服务器测试端进行通信,由于保护进程简单稳定,不容易发生卡死的问题,能够稳定的与服务器测试端进行网络通信,保证测试的稳定性。In this way, the test case and test report generation and analysis are separated into a network server, which greatly reduces the occupation of the set top box processor and reduces the burden on the set top box processor. Set the protection process to communicate with the server test terminal. Because the protection process is simple and stable, it is not easy to get stuck. It can stably communicate with the server test end to ensure the stability of the test.
为在测试进程发生问题的情况下,能够继续进行测试,进一步的,步骤S20还包括:由保护进程监测测试进程,若监测到测试进程卡死,将记录测试进程执行的测试用例并发送给服务器测试端,然后重新启动测试进程,再完成该测试用例后续的测试用例。In the case that the test process has a problem, the test can be continued. Further, the step S20 further includes: monitoring the test process by the protection process, and if the test process is stuck, the test case executed by the test process is recorded and sent to the server. Test the side, then restart the test process, and then complete the test case subsequent test cases.
为提高测试效率,该方法还包括:由服务器测试端将测试用例发送给多个需要该测试用例的机顶盒,多个机顶盒同时进行测试,大大提高测试效率。进一步的,保护进程将机顶盒的序列号发送至服务器测试端,由服务器测试端将测试用例发送至序列号属于同一测试批次的机顶盒。 In order to improve the testing efficiency, the method further includes: sending, by the server testing end, the test case to a plurality of set top boxes that need the test case, and the plurality of set top boxes simultaneously testing, thereby greatly improving the testing efficiency. Further, the protection process sends the serial number of the set top box to the server test end, and the server test end sends the test case to the set top box whose serial number belongs to the same test batch.
该基于网络的机顶盒测试方法,将测试用例和测试报告生成及分析分离到网络服务器,机顶盒和服务器测试端基于网络进行通信,共同完成机顶盒的测试,从而大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。同时,设置保护进程与服务器测试端进行通信,利用保护进程简单稳定、不容易发生卡死的优点,稳定的与服务器测试端进行网络通信,保证测试的稳定性。The network-based set-top box testing method separates test cases and test report generation and analysis into a network server, and the set-top box and the server test end communicate based on the network to complete the test of the set-top box, thereby greatly reducing the occupation of the set-top box processor and reducing The burden of the set-top box processor. At the same time, the protection process is set to communicate with the server test terminal, and the protection process is simple and stable, and it is not easy to be stuck, and the network communication with the server test terminal is stably performed to ensure the stability of the test.
本申请基于网络的机顶盒测试方法及系统,将测试用例和测试报告生成及分析分离到网络服务器,机顶盒和服务器测试端基于网络进行通信,共同完成机顶盒的测试,从而大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。同时,设置保护进程与服务器测试端进行通信,利用保护进程简单稳定、不容易发生卡死的优点,稳定的与服务器测试端进行网络通信,保证测试的稳定性。The application is based on a network-based set-top box testing method and system, and separates test cases and test report generation and analysis into a network server, and the set-top box and the server test end communicate based on the network to jointly complete the test of the set-top box, thereby greatly reducing the set-top box processor. Occupied, reducing the burden on the set-top box processor. At the same time, the protection process is set to communicate with the server test terminal, and the protection process is simple and stable, and it is not easy to be stuck, and the network communication with the server test terminal is stably performed to ensure the stability of the test.
本申请还提供一种基于网络的机顶盒测试方法的电子设备的硬件结构示意图,如图3所示,该电子设备30包括:The application also provides a hardware structure diagram of an electronic device based on a network-based set-top box testing method. As shown in FIG. 3, the electronic device 30 includes:
一个或多个处理器301以及存储器302,图3中以一个处理器301为例。处理器301和存储器302可以通过总线或者其他方式连接,图3中以通过总线连接为例。One or more processors 301 and memory 302, one processor 301 is taken as an example in FIG. The processor 301 and the memory 302 can be connected by a bus or other means, and the connection by a bus is taken as an example in FIG.
存储器302存储有可被至少一个处理器301执行的指令,当该执行命令被处理器301执行时,可以使处理器301能够执行上述电子设备所执行的步骤。处理器301所执行的操作可以以程序指令的方式存储在存储器302中,存储器302作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序。The memory 302 stores instructions executable by at least one processor 301 that, when executed by the processor 301, can cause the processor 301 to perform the steps performed by the electronic device described above. The operations performed by the processor 301 may be stored in the memory 302 in the form of program instructions. The memory 302 is a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computers. execute program.
其中,处理器301所执行的操作以程序指令的方式存储在存储器302中。当电子设备30为服务器等,提供计算服务的设备时,处理器301所执行的操作以程序指令除了包括:生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析的程序指令,还可以是实现上述实施例中电子设备所执行的功能的程序指令。The operations performed by the processor 301 are stored in the memory 302 in the form of program instructions. When the electronic device 30 is a server or the like, providing a computing service device, the operation performed by the processor 301 includes, in addition to the program instruction, generating a test case and transmitting to the set top box, and generating a test report by the test state sent by the receiver set top box and reporting the test report. The program instructions for performing the analysis may also be program instructions for implementing the functions performed by the electronic device in the above embodiments.
当电子设备30为机顶盒等,连接电视机与外部信号源的设备时,处理器301所执行的操作以程序指令除了包括:使计算机能够运行两个进程,分别为 测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端的程序指令。该程序指令还可以是是实现上述实施例中电子设备所执行的功能的程序指令。When the electronic device 30 is a set top box or the like, connecting the television to the external signal source device, the operation performed by the processor 301 in addition to the program instructions includes: enabling the computer to run two processes, respectively Test the process and the daemon. The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test state to the daemon. The daemon sends the test status to the program command on the server test side. The program instructions may also be program instructions that implement the functions performed by the electronic device in the above embodiments.
存储器302可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据基于网络的机顶盒测试方法的使用所创建的数据等。此外,存储器302可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器302可选包括相对于处理器301远程设置的存储器,这些远程存储器可以通过网络连接至处理器301。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 302 can include a storage program area and an storage data area, wherein the storage program area can store an operating system, an application required for at least one function; the storage data area can store data created according to the use of the network-based set top box testing method, and the like. . Moreover, memory 302 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 can optionally include memory remotely located relative to processor 301, which can be coupled to processor 301 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
本申请还提供一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图3中的一个处理器301,可使得上述一个或多个处理器可执行上述任意方法实施例中的基于网络的机顶盒测试方法。以达到以下效果:将测试用例和测试报告生成及分析分离到网络服务器,机顶盒和存储介质基于网络进行通信,共同完成机顶盒的测试,从而大大减少了对机顶盒处理器的占用,降低了机顶盒处理器的负担。同时,设置守护进程与存储介质进行通信,利用守护进程简单稳定、不容易发生卡死的优点,稳定的与存储介质进行网络通信,保证测试的稳定性。The application also provides a non-transitory computer readable storage medium storing computer executable instructions that are executed by one or more processors, such as one of FIG. The processor 301 can cause the one or more processors to perform the network-based set top box testing method in any of the foregoing method embodiments. To achieve the following effects: separate the test case and test report generation and analysis into the network server, the set-top box and the storage medium communicate based on the network, and complete the test of the set-top box, thereby greatly reducing the occupation of the set-top box processor and reducing the set-top box processor. The burden. At the same time, the daemon is set to communicate with the storage medium, and the daemon is simple and stable, and is not prone to jamming. The network communication with the storage medium is stable, and the stability of the test is ensured.
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. A person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本申请的保 护范围之内。 The above is only the preferred embodiment of the present application, and is not intended to limit the application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are included in the present application. Within the scope of protection.

Claims (14)

  1. 一种基于网络的机顶盒测试系统,其特征在于,包括:服务器测试端和机顶盒测试端;所述服务器测试端用于生成测试用例并发送给所述机顶盒测试端,接收所述机顶盒测试端发送的测试状态生成测试报告并对测试报告进行分析;所述机顶盒测试端运行两个进程,分别为测试进程和守护进程,所述守护进程接收测试用例并发送给所述测试进程,所述测试进程执行测试用例并返回测试状态至所述守护进程,所述守护进程将测试状态发送至所述服务器测试端。A network-based set-top box test system, comprising: a server test end and a set-top box test end; the server test end is configured to generate a test case and send the test case to the set-top box test end, and receive the sent by the set-top box test end The test state generates a test report and analyzes the test report; the set top box test end runs two processes, a test process and a daemon process, and the daemon process receives the test case and sends it to the test process, and the test process executes Test the use case and return a test state to the daemon, which sends the test status to the server test end.
  2. 根据权利要求1所述的基于网络的机顶盒测试系统,其特征在于,所述守护进程监测测试进程,若监测到测试进程卡死,将记录测试进程执行的测试用例并发送给服务器测试端,然后重新启动测试进程,再完成该测试用例后续的测试用例。The network-based set-top box test system according to claim 1, wherein the daemon monitors the test process, and if the test process is stuck, the test case executed by the test process is recorded and sent to the server test end, and then Restart the test process and complete the test cases that follow the test case.
  3. 根据权利要求1所述的基于网络的机顶盒测试系统,其特征在于,所述服务器测试端将测试用例发送给多个需要该测试用例的机顶盒测试端,多个机顶盒测试端同时进行测试。The network-based set-top box test system according to claim 1, wherein the server test end sends the test case to a plurality of set-top box test ends that require the test case, and the plurality of set-top box test ends simultaneously perform the test.
  4. 根据权利要求3所述的基于网络的机顶盒测试系统,其特征在于,所述守护进程将机顶盒的序列号发送至所述服务器测试端,所述服务器测试端将测试用例发送至序列号属于同一测试批次的机顶盒测试端。The network-based set top box test system according to claim 3, wherein the daemon sends a serial number of the set top box to the server test end, and the server test end sends the test case to the serial number belonging to the same test. Batch of test boxes for the set top box.
  5. 一种基于网络的机顶盒测试方法,其特征在于,包括如下步骤:A network-based set top box testing method includes the following steps:
    S10:设置服务器测试端,服务器测试端用于生成测试用例并发送给机顶盒,接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析;S10: setting a server test end, the server test end is used to generate a test case and send it to the set top box, the test status sent by the receiver set top box generates a test report and analyzes the test report;
    S20:在机顶盒中运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端。S20: Running two processes in the set top box, respectively, a test process and a daemon, the daemon receives the test case and sends it to the test process, the test process executes the test case and returns the test state to the daemon, and the daemon sends the test status to the server. Test side.
  6. 根据权利要求5所述的基于网络的机顶盒测试方法,其特征在于,所述步骤S20还包括:由守护进程监测测试进程,若监测到测试进程卡死,将记录测试进程执行的测试用例并发送给服务器测试端,然后重新启动测试进程,再 完成该测试用例后续的测试用例。The network-based set-top box testing method according to claim 5, wherein the step S20 further comprises: monitoring the test process by the daemon process, and if the test process is stuck, the test case executed by the test process is recorded and sent. Give the server a test side, then restart the test process, and then Complete the test case for the test case.
  7. 根据权利要求5所述的基于网络的机顶盒测试方法,其特征在于,所述方法还包括:由服务器测试端将测试用例发送给多个需要该测试用例的机顶盒测试端,多个机顶盒测试端同时进行测试。The method for testing a network-based set-top box according to claim 5, wherein the method further comprises: sending, by the server test terminal, the test case to a plurality of set-top box test ends that require the test case, and simultaneously testing the plurality of set-top box test ends carry out testing.
  8. 根据权利要求7所述的基于网络的机顶盒测试方法,其特征在于,由守护进程将机顶盒的序列号发送至所述服务器测试端,所述服务器测试端将测试用例发送至序列号属于同一测试批次的机顶盒测试端。The network-based set top box testing method according to claim 7, wherein the serial number of the set top box is sent by the daemon to the server test end, and the server test end sends the test case to the same test batch. The set-top box test end.
  9. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to generate test cases and send to a set top box, and to send the set top box The test status generates a test report and analyzes the test report.
  10. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令包括用以使电子设备生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析的指令。A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer-executable instructions, the computer-executable instructions comprising to cause an electronic device to generate a test case and An instruction sent to the set-top box and the test status sent by the receiver's top box to generate a test report and analyze the test report.
  11. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,所述程序指令包括用以使电子设备生成测试用例并发送给机顶盒,以及接收机顶盒发送的测试状态生成测试报告并对测试报告进行分析的指令。A computer program product, comprising: a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, the program instructions comprising an electronic device An instruction to generate a test case and send it to the set-top box, and the test status sent by the receiver set-top box to generate a test report and analyze the test report.
  12. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端。 The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to run two processes, a test process and a daemon The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test state to the daemon, which sends the test status to the server test side.
  13. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令包括用以使电子设备生成能够运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端的指令。A non-transitory computer readable storage medium storing computer-executable instructions comprising: The processes are the test process and the daemon. The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test state to the daemon. The daemon sends the test status to the server test terminal.
  14. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,所述程序指令包括用以使电子设备生成能够运行两个进程,分别为测试进程和守护进程,守护进程接收测试用例并发送给测试进程,测试进程执行测试用例并返回测试状态至守护进程,守护进程将测试状态发送至服务器测试端的指令。 A computer program product, comprising: a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, the program instructions comprising an electronic device The generation can run two processes, namely the test process and the daemon. The daemon receives the test case and sends it to the test process. The test process executes the test case and returns the test state to the daemon. The daemon sends the test status to the server test terminal. .
PCT/CN2017/081044 2016-06-28 2017-04-19 Network-based set-top box testing method and system WO2018000918A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610489838.0 2016-06-28
CN201610489838.0A CN106210886A (en) 2016-06-28 2016-06-28 A kind of network set-top box test method and system

Publications (1)

Publication Number Publication Date
WO2018000918A1 true WO2018000918A1 (en) 2018-01-04

Family

ID=57462284

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081044 WO2018000918A1 (en) 2016-06-28 2017-04-19 Network-based set-top box testing method and system

Country Status (2)

Country Link
CN (1) CN106210886A (en)
WO (1) WO2018000918A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407438A (en) * 2021-05-10 2021-09-17 深圳市广和通无线股份有限公司 Module testing method, computer device, and storage medium
CN113852808A (en) * 2021-09-24 2021-12-28 杭州国芯科技股份有限公司 Automatic testing system and testing method for set top box channel

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210886A (en) * 2016-06-28 2016-12-07 深圳市九洲电器有限公司 A kind of network set-top box test method and system
CN107766209B (en) * 2017-10-31 2020-11-17 北京新能源汽车股份有限公司 Central control automation test method, device, equipment and computer readable storage medium
CN109144861A (en) * 2018-08-09 2019-01-04 京信通信系统(中国)有限公司 Multifunction automatic test method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118513A (en) * 2006-08-03 2008-02-06 鸿富锦精密工业(深圳)有限公司 Board testing system and method
CN101252471A (en) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 Distributed automatization test system and method
US20120054567A1 (en) * 2010-08-30 2012-03-01 Contec Llc Multimedia device test system
CN103024438A (en) * 2012-12-31 2013-04-03 深圳市九洲电器有限公司 Set-top box, and production test method and production test system for set-top box
CN105306928A (en) * 2015-11-19 2016-02-03 浪潮软件集团有限公司 Method and device for testing set top box browser
CN106210886A (en) * 2016-06-28 2016-12-07 深圳市九洲电器有限公司 A kind of network set-top box test method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201123074Y (en) * 2007-11-27 2008-09-24 上海未来宽带技术及应用工程研究中心有限公司 Testing device for detecting stability of set-top box
CN102340687A (en) * 2011-10-17 2012-02-01 四川长虹电器股份有限公司 Set-top box testing system and method
CN103345446B (en) * 2013-07-10 2016-04-20 四川九洲电器集团有限责任公司 A kind of automated testing method being applicable to remote control series products
CN104391705A (en) * 2014-12-03 2015-03-04 浪潮集团有限公司 Distributed automated testing framework applied to high availability cluster software

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118513A (en) * 2006-08-03 2008-02-06 鸿富锦精密工业(深圳)有限公司 Board testing system and method
CN101252471A (en) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 Distributed automatization test system and method
US20120054567A1 (en) * 2010-08-30 2012-03-01 Contec Llc Multimedia device test system
CN103024438A (en) * 2012-12-31 2013-04-03 深圳市九洲电器有限公司 Set-top box, and production test method and production test system for set-top box
CN105306928A (en) * 2015-11-19 2016-02-03 浪潮软件集团有限公司 Method and device for testing set top box browser
CN106210886A (en) * 2016-06-28 2016-12-07 深圳市九洲电器有限公司 A kind of network set-top box test method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407438A (en) * 2021-05-10 2021-09-17 深圳市广和通无线股份有限公司 Module testing method, computer device, and storage medium
CN113852808A (en) * 2021-09-24 2021-12-28 杭州国芯科技股份有限公司 Automatic testing system and testing method for set top box channel
CN113852808B (en) * 2021-09-24 2024-03-29 杭州国芯科技股份有限公司 Automatic testing method for set top box channel

Also Published As

Publication number Publication date
CN106210886A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
WO2018000918A1 (en) Network-based set-top box testing method and system
WO2017181591A1 (en) Testing method and system
JP6587330B2 (en) Random forest model training method, electronic apparatus, and storage medium
WO2017096968A1 (en) Log uploading method and apparatus
WO2021051563A1 (en) Target data archiving method and apparatus, and electronic device and computer non-volatile readable storage medium
US10824537B2 (en) Method, device, and computer readable medium for tracing computing system
US11201812B2 (en) Virtual probes
WO2018184420A1 (en) Software testing method, apparatus, electronic device, and medium
US11113181B2 (en) Debugging a live streaming application
CN108459951B (en) Test method and device
US10489585B2 (en) Generation of a random value for a child process
CN107453953B (en) Httpclient-based data updating system and method
US9836321B2 (en) Transmitting encapsulated SNMP commands to virtual machines
CN105872850A (en) Live data pushing method and equipment based on white list
US20220337809A1 (en) Video playing
US10083070B2 (en) Log file reduction according to problem-space network topology
US9641595B2 (en) System management apparatus, system management method, and storage medium
US10318385B2 (en) Service recovery using snapshots and interservice messages
KR102555801B1 (en) Method for debugging noise elimination algorithm, apparatua and electronic device
CN113791792A (en) Application calling information acquisition method and device and storage medium
CN115766405B (en) Fault processing method, device, equipment and storage medium
CN115454576A (en) Virtual machine process management method and system and electronic equipment
CN112738153B (en) Gateway selection method, system, device, server and medium in service system
CN108288135B (en) System compatibility method and device, computer readable storage medium and electronic equipment
US8838548B2 (en) Performing automated data integrity verification testing for file systems

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17818915

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17818915

Country of ref document: EP

Kind code of ref document: A1