CN108259895B - Set top box testing method and system and terminal equipment - Google Patents

Set top box testing method and system and terminal equipment Download PDF

Info

Publication number
CN108259895B
CN108259895B CN201711366158.0A CN201711366158A CN108259895B CN 108259895 B CN108259895 B CN 108259895B CN 201711366158 A CN201711366158 A CN 201711366158A CN 108259895 B CN108259895 B CN 108259895B
Authority
CN
China
Prior art keywords
test
top box
module
set top
tested
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
CN201711366158.0A
Other languages
Chinese (zh)
Other versions
CN108259895A (en
Inventor
欧时亮
袁彬
龚尧文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Twowing Technology Co ltd
Original Assignee
Shenzhen Twowing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Twowing Technology Co ltd filed Critical Shenzhen Twowing Technology Co ltd
Priority to CN201711366158.0A priority Critical patent/CN108259895B/en
Publication of CN108259895A publication Critical patent/CN108259895A/en
Application granted granted Critical
Publication of CN108259895B publication Critical patent/CN108259895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention is suitable for the technical field of set top box testing, and provides a set top box testing method, a set top box testing system and terminal equipment, wherein the method comprises the following steps: acquiring a test request, wherein the test request carries an identity of a set top box to be tested; establishing connection with the set top box to be tested according to the identity identification, and controlling the set top box to be tested to enter a test mode; acquiring a functional module to be tested of the set top box to be tested; determining the structure of the functional module, and generating a test scheme according to the structure of the functional module; and sending a test instruction to the set top box to be tested according to the test scheme, wherein the test instruction is used for instructing the set top box to be tested to test according to the test instruction. The set top box testing method, the set top box testing system and the terminal equipment provided by the invention have the advantages of simple software design, convenient and quick testing process and high testing efficiency.

Description

Set top box testing method and system and terminal equipment
Technical Field
The invention belongs to the technical field of set top box testing, and particularly relates to a set top box testing method, a set top box testing system and terminal equipment.
Background
The production test of the set-top box is usually mainly based on the set-top box, test interface software is developed at the set-top box end, a television is used for displaying a test interface and a test result, an operator sends a test command through a remote controller, during the test, the tester selects test items one by one through the remote controller, after receiving the command, the set-top box starts a corresponding test function, and calls a corresponding test program to test the selected test items. The existing set top box test scheme has complex software design, complex test process and low test efficiency.
Disclosure of Invention
In view of this, embodiments of the present invention provide a set top box testing method, system and terminal device, so as to solve the problems in the prior art that a set top box testing scheme is complex in software design, complex in testing process and low in testing efficiency.
A first aspect of an embodiment of the present invention provides a set top box testing method, including the following steps:
acquiring a test request, wherein the test request carries an identity of a set top box to be tested;
establishing connection with the set top box to be tested according to the identity identification, and controlling the set top box to be tested to enter a test mode;
acquiring a functional module to be tested of the set top box to be tested;
determining the structure of the functional module, and generating a test scheme according to the structure of the functional module;
and sending a test instruction to the set top box to be tested according to the test scheme, wherein the test instruction is used for instructing the set top box to be tested to test according to the test instruction.
Further, the functional module is a Light Emitting Diode (LED) module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the pin address of the LED module, and checking the register address of the LED module according to the pin manual;
and generating a test scheme of the LED module according to the on-off requirement of the LED module and the value of the register address.
Further, the functional module is a Universal Serial Bus (USB) interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining a circuit board design of the USB interface module;
and generating a test scheme of the USB interface module according to the circuit board design and a preset return value.
Further, the functional module is an output interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the USB flash disk mounted by the output interface module;
and generating a test scheme of the output interface module according to the determined U disk and the function packaged in advance.
Further, the functional module is a High-bandwidth digital content Protection (HDCP) module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the file type and the file size of the HDCP module;
and generating a test scheme of the HDCP module according to the file type and the file size of the HDCP module and the file type and the file size of the pre-stored HDCP.
Further, the functional module is a WIreless Fidelity (WIFI) module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the type of the WIFI module, and loading a WIFI driver according to the type of the WIFI module;
and generating a test scheme of the WIFI module according to the WIFI driver and a preset Internet Protocol (IP) address.
Further, the set-top box testing method further comprises the following steps:
and sending a test quitting instruction to the set top box to be tested, wherein the test quitting instruction is used for indicating the set top box to be tested to modify the starting mode according to the test quitting instruction and quitting the test mode.
A second aspect of an embodiment of the present invention provides a set top box testing system, including:
the test request acquisition unit is used for acquiring a test request, and the test request carries the identity of the set top box to be tested;
the test mode entering unit is used for establishing connection with the set top box to be tested according to the identity and controlling the set top box to be tested to enter a test mode;
the functional module acquisition unit is used for acquiring the functional module to be tested of the set top box to be tested;
the test scheme generating unit is used for determining the structure of the functional module and generating a test scheme according to the structure of the functional module;
and the test instruction sending unit is used for sending a test instruction to the set top box to be tested according to the test scheme, and the test instruction is used for indicating the set top box to be tested to test according to the test instruction.
A third aspect of the embodiments of the present invention provides a set-top box testing terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the set-top box testing method when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the set-top box testing method are implemented.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the embodiment of the invention, the connection is established between the set top box to be tested and the identity identification of the set top box to be tested, so that the set top box to be tested can be accurately controlled to enter the test mode; the method comprises the steps of obtaining the functional module to be tested of the set top box to be tested, generating a testing scheme according to the structure of the functional module, sending a testing instruction to the set top box to be tested according to the testing scheme, controlling the set top box to be tested, generating different testing schemes according to the hardware structure and the software structure of different functional modules, and being simple in software design, convenient and fast in testing process and high in testing efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a set top box testing method according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a set top box testing system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a set-top box testing terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
As shown in fig. 1, fig. 1 is a schematic flowchart of a set top box testing method according to an embodiment of the present invention. In this embodiment, the set top box testing method includes the following steps:
s101, obtaining a test request, wherein the test request carries an identity of a set top box to be tested;
specifically, the computer acquires the test request, identifies the set top box according to the identity of the set top box in the test request, and tests the set top box.
And S102, establishing connection with the set top box to be tested according to the identity identification, and controlling the set top box to be tested to enter a test mode.
Specifically, in this embodiment, the set top box to be tested may be of an S905L model, the computer establishes a connection with the set top box to be tested according to the identity, and the computer may be connected to the set top box through a serial line or a network cable, so as to ensure that the computer can normally access the set top box, and the computer sends an instruction to the set top box, so as to control the set top box to enter a test mode, thereby avoiding affecting a normal operating mode of the set top box. If the chip of the set-top box is damaged or the burning of the image file in the set-top box fails or the compiling of the image file of the system in the set-top box fails, the computer cannot be successfully connected with the set-top box.
S103, acquiring the functional module to be tested of the set top box to be tested.
And S104, determining the structure of the functional module, and generating a test scheme according to the structure of the functional module.
Specifically, the computer obtains a functional module to be tested of the set-top box to be tested, and determines a test scheme according to a structure of the functional module to be tested, where the structure is not only a structure on hardware, but also a structure or a working characteristic on software, and different test schemes are generated for different functional modules.
And S105, sending a test instruction to the set top box to be tested according to the test scheme, wherein the test instruction is used for instructing the set top box to be tested to test according to the test instruction.
Specifically, the computer generates different test schemes for different functional modules, further generates different test instructions, sends the test instructions to the set top box to be tested, and the set top box to be tested tests each functional module according to the test instructions.
As can be seen from the above description, the embodiment of the present invention establishes a connection with the set top box to be tested according to the identity of the set top box to be tested, and can accurately control the set top box to be tested to enter the test mode; the method comprises the steps of obtaining the functional module to be tested of the set top box to be tested, generating a testing scheme according to the structure of the functional module, sending a testing instruction to the set top box to be tested according to the testing scheme, controlling the set top box to be tested, generating different testing schemes according to the hardware structure and the software structure of different functional modules, and being simple in software design, convenient and fast in testing process and high in testing efficiency.
Further, the functional module is an LED module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the pin address of the LED module, and checking the register address of the LED module according to the pin manual;
and generating a test scheme of the LED module according to the on-off requirement of the LED module and the value of the register address.
Specifically, when the LED module is tested, a test scheme of the LED module is generated, specifically, the LED lamp to be tested and the pin address thereof are determined, the register address of the LED lamp is checked according to the pin manual, and whether the LED lamp is normal or not is tested by pulling up or pulling down the value of the register address according to the on-off demand of the LED lamp.
Further, the functional module is a USB interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining a circuit board design of the USB interface module;
and generating a test scheme of the USB interface module according to the circuit board design and a preset return value.
Specifically, when the USB interface module is tested, a test scheme of the USB interface module is generated, specifically, one or more USB interfaces may be simultaneously tested according to a circuit board design of the USB interface module, the USB external device mounted in the dev/block/directory is first unloaded (whether the USB external device is mounted in the directory before or not), a return value is defined, the USB external device is mounted in the mnt directory, whether the mounting is successful or not is determined according to the return value, if the mounting is successful, the USB interface module is normal, and if the mounting is failed, the USB interface module is abnormal.
Further, the functional module is an output interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the USB flash disk mounted by the output interface module;
and generating a test scheme of the output interface module according to the determined U disk and the function packaged in advance.
Specifically, when the output Interface module is tested, a test scheme of the output Interface module is generated, which may specifically be that a usb disk mounted by the output Interface module is determined first, where the output Interface may be a High Definition Multimedia Interface (HDMI), an Audio and Video separation transmission Interface (AV), or a Digital Audio Interface (Sony/Philips Digital Interface, SPDIF), and the like, the usb disk mounted by the output Interface module is first unloaded from a/dev/block entry and then mounted, so that a re-mounting failure is avoided, and then a packaged function is called to read a Video file of a specific format from the usb disk, and the Video file is played by using different interfaces, so as to determine whether the output Interface is normal.
Further, the functional module is an HDCP module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the file type and the file size of the HDCP module;
and generating a test scheme of the HDCP module according to the file type and the file size of the HDCP module and the file type and the file size of the pre-stored HDCP.
Specifically, when the HDCP module is tested, a test scheme of the HDCP module is generated, which may specifically be that the type and size of the HDCP are determined, for example, the File size of HDCP14 is 308 bytes, the File size of HDCP22 is 768 bytes, the File name of the HDCP of the determined type is directed to a/sys/class/unifykeys/name directory, the File is downloaded according to the File name by using a simple File Transfer Protocol (TFTP), then the downloaded File is opened to determine the byte size of the File, if the downloaded File size does not match the set File type size, the File size is displayed, the set-top box returns the test result to the computer, and then the test is exited. If the file size of the downloaded file is matched with the set file type size, the file is copied to a/sys/class/unifykeys/write directory, whether the file exists can be checked under the cat/sys/class/unifykeys/exit directory, and if the file exists, the HDCP module is normal.
Further, the functional module is a WIFI module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the type of the WIFI module, and loading a WIFI driver according to the type of the WIFI module;
and generating a test scheme of the WIFI module according to the WIFI driver and a preset IP address.
Specifically, when the WIFI module is tested, a test scheme of the WIFI module is generated, specifically, in a process of starting a mirror image of the set top box, a WIFI type of the WIFI module is determined, a corresponding script is loaded according to the WIFI type, a corresponding WIFI driver is loaded through the script, a fixed IP address is set, a wireless local area network is started, nearby hotspots are scanned, hotspot connection is selected, a connection state is obtained, and if a 'connect success' instruction is received, connection success is indicated. In addition, throughput testing can be carried out, static wlan and static ip can be set manually, and the throughput can be tested by starting a client of the network performance testing tool on the computer.
Further, the functional module is a product identification module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining a storage catalog of a product identification module;
and generating a test scheme of the product identification module according to the determined storage catalog and the pre-stored read-write storage catalog.
Specifically, the product identifier includes a Media Access Control (MAC), a product Serial Number (SN), and a set-top box identification code STBID, a storage directory of the product identifier is determined, a file name of the product identifier is directed to a/sys/class/unifokeys/name directory, a read-write operation is performed on the content of the product identifier, whether data in the/sys/class/unifokeys/write directory and data in the/sys/class/unifokeys/read directory are consistent or not is determined, and if the data in the write directory and the data in the read directory are consistent, the product identifier module is determined to be normal.
Further, the set-top box testing method further comprises the following steps:
and sending a test quitting instruction to the set top box to be tested, wherein the test quitting instruction is used for indicating the set top box to be tested to modify the starting mode according to the test quitting instruction and quitting the test mode.
Specifically, the computer sends a test quitting instruction to the set top box to be tested, the set top box modifies a specific environment variable according to the test quitting instruction to modify a starting mode, and the set top box is directly and normally started according to the environment variable in the next starting to enter an android system.
As shown in fig. 2, another embodiment of the present invention provides a set-top box testing system, including:
a test request obtaining unit 201, configured to obtain a test request, where the test request carries an identity of a set top box to be tested;
a test mode entering unit 202, configured to establish a connection with the set top box to be tested according to the identity identifier, and control the set top box to be tested to enter a test mode;
a functional module obtaining unit 203, configured to obtain a functional module to be tested by the set top box to be tested;
a test scheme generating unit 204, configured to determine a structure of the functional module, and generate a test scheme according to the structure of the functional module;
a test instruction sending unit 205, configured to send a test instruction to the set-top box to be tested according to the test scheme, where the test instruction is used to instruct the set-top box to be tested to perform a test according to the test instruction.
Further, the test scenario generation unit 204 includes:
the first test scheme generation unit is used for determining the pin address of the LED module and checking the register address of the LED module according to the pin manual; and generating a test scheme of the LED module according to the on-off requirement of the LED module and the value of the register address.
Further, the test solution generating unit 204 further includes:
the second test scheme generating unit is used for determining the circuit board design of the USB interface module; and generating a test scheme of the USB interface module according to the circuit board design and a preset return value.
Further, the test solution generating unit 204 further includes:
the third test scheme generating unit is used for determining the USB flash disk mounted by the output interface module; and generating a test scheme of the output interface module according to the determined U disk and the function packaged in advance.
Further, the test solution generating unit 204 further includes:
the fourth test scheme generating unit is used for determining the file type and the file size of the HDCP module; and generating a test scheme of the HDCP module according to the file type and the file size of the HDCP module and the file type and the file size of the pre-stored HDCP.
Further, the test solution generating unit 204 further includes:
the fifth test scheme generation unit is used for determining the type of the WIFI module and loading a WIFI driver according to the type of the WIFI module; and generating a test scheme of the WIFI module according to the WIFI driver and a preset IP address.
Further, the set-top box testing system further comprises:
and the exit test instruction sending unit is used for sending an exit test instruction to the set top box to be tested, wherein the exit test instruction is used for indicating the set top box to be tested to modify the starting mode according to the exit test instruction and exit the test mode.
As shown in fig. 3, another embodiment of the present invention provides a set-top box test terminal device, where the set-top box test terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as a set-top box test program, stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the above-described embodiments of the set-top box testing method, such as the steps S101 to S105 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules 201 to 205 shown in fig. 3.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the set-top-box testing terminal device 3. For example, the computer program 32 may be divided into a synchronization unit, a summary unit, an acquisition unit, and a return unit (unit in a virtual device), and the specific functions of each unit are as follows:
acquiring a test request, wherein the test request carries an identity of a set top box to be tested;
establishing connection with the set top box to be tested according to the identity identification, and controlling the set top box to be tested to enter a test mode;
acquiring a functional module to be tested of the set top box to be tested;
determining the structure of the functional module, and generating a test scheme according to the structure of the functional module;
and sending a test instruction to the set top box to be tested according to the test scheme, wherein the test instruction is used for instructing the set top box to be tested to test according to the test instruction.
Further, the functional module is an LED module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the pin address of the LED module, and checking the register address of the LED module according to the pin manual;
and generating a test scheme of the LED module according to the on-off requirement of the LED module and the value of the register address.
Further, the functional module is a USB interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining a circuit board design of the USB interface module;
and generating a test scheme of the USB interface module according to the circuit board design and a preset return value.
Further, the functional module is an output interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the USB flash disk mounted by the output interface module;
and generating a test scheme of the output interface module according to the determined U disk and the function packaged in advance.
Further, the functional module is an HDCP module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the file type and the file size of the HDCP module;
and generating a test scheme of the HDCP module according to the file type and the file size of the HDCP module and the file type and the file size of the pre-stored HDCP.
Further, the functional module is a WIFI module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the type of the WIFI module, and loading a WIFI driver according to the type of the WIFI module;
and generating a test scheme of the WIFI module according to the WIFI driver and a preset IP address.
Further, the functional module is a product identification module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining a storage catalog of a product identification module;
and generating a test scheme of the product identification module according to the determined storage catalog and the pre-stored read-write storage catalog.
Further, the set-top box testing method further comprises the following steps:
and sending a test quitting instruction to the set top box to be tested, wherein the test quitting instruction is used for indicating the set top box to be tested to modify the starting mode according to the test quitting instruction and quitting the test mode.
The set-top box test terminal device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The set-top box test terminal device may include, but is not limited to, a processor 30 and a memory 31. It will be understood by those skilled in the art that fig. 3 is only an example of the set-top box test terminal device 3, and does not constitute a limitation to the set-top box test terminal device 3, and may include more or less components than those shown, or combine some components, or different components, for example, the set-top box test terminal device may further include an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 31 may be an internal storage unit of the set-top box testing terminal device 3, such as a hard disk or a memory of the set-top box testing terminal device 3. The memory 31 may also be an external storage device of the set-top box testing terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the set-top box testing terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the set-top box test terminal device 3. The memory 31 is used for storing the computer program and other programs and data required by the set-top box test terminal device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A set top box testing method is characterized by comprising the following steps:
acquiring a test request, wherein the test request carries an identity of a set top box to be tested;
identifying the set top box according to the identity, establishing connection with the set top box to be tested, and controlling the set top box to be tested to enter a test mode;
acquiring a functional module to be tested of the set top box to be tested;
determining the structure of the functional module, generating a test scheme according to the structure of the functional module, wherein the structure comprises a hardware structure, a software structure and working characteristics, and generating different test schemes aiming at different structures;
sending a test instruction to the set top box to be tested according to the test scheme, wherein the test instruction is used for instructing the set top box to be tested to test according to the test instruction;
the functional module comprises a high-bandwidth digital content protection technology (HDCP) module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes: determining the file type and the file size of the HDCP module; the file name of the HDCP module with the determined file type is oriented to a directory, the file of the HDCP module is downloaded according to the file name, the downloaded file is opened, the byte size of the file is judged, if the size of the downloaded file is not matched with the size of the set file type, a test result is returned to a computer, then the test is quitted, and if the size of the downloaded file is matched with the size of the set file type, the HDCP module is judged to be normal.
2. The set top box testing method of claim 1, wherein the functional module is a Light Emitting Diode (LED) module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the pin address of the LED module, and checking the register address of the LED module according to a pin manual;
and generating a test scheme of the LED module according to the on-off requirement of the LED module and the value of the register address.
3. The set-top box testing method of claim 1, wherein the functional module is a Universal Serial Bus (USB) interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining a circuit board design of the USB interface module;
and generating a test scheme of the USB interface module according to the circuit board design and a preset return value.
4. The set-top box testing method of claim 1, wherein the functional module is an output interface module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the USB flash disk mounted by the output interface module;
and generating a test scheme of the output interface module according to the determined U disk and the function packaged in advance.
5. The set top box testing method according to claim 1, wherein the functional module is a wireless fidelity (WIFI) module;
the determining the structure of the functional module and generating the test scheme according to the structure of the functional module includes:
determining the type of the WIFI module, and loading a WIFI driver according to the type of the WIFI module;
and generating a test scheme of the WIFI module according to the WIFI driver and a preset network protocol IP address.
6. The set-top box testing method of claim 1, further comprising:
and sending a test quitting instruction to the set top box to be tested, wherein the test quitting instruction is used for indicating the set top box to be tested to modify the starting mode according to the test quitting instruction and quitting the test mode.
7. A set top box testing system, comprising:
the test request acquisition unit is used for acquiring a test request, and the test request carries the identity of the set top box to be tested;
the test mode entering unit is used for identifying the set top box according to the identity identification, establishing connection with the set top box to be tested and controlling the set top box to be tested to enter a test mode;
the functional module acquisition unit is used for acquiring the functional module to be tested of the set top box to be tested;
the test scheme generating unit is used for determining the structure of the functional module and generating a test scheme according to the structure of the functional module, wherein the structure comprises a hardware structure, a software structure and working characteristics, and different test schemes are generated aiming at different structures;
the test instruction sending unit is used for sending a test instruction to the set top box to be tested according to the test scheme, and the test instruction is used for indicating the set top box to be tested to test according to the test instruction;
the functional module comprises a high-bandwidth digital content protection technology (HDCP) module;
the test scheme generating unit is also used for determining the file type and the file size of the HDCP module; the file name of the HDCP module with the determined file type is oriented to a directory, the file of the HDCP module is downloaded according to the file name, the downloaded file is opened, the byte size of the file is judged, if the size of the downloaded file is not matched with the size of the set file type, a test result is returned to a computer, then the test is quitted, and if the size of the downloaded file is matched with the size of the set file type, the HDCP module is judged to be normal.
8. Set-top box testing terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor, when executing said computer program, carries out the steps of the set-top box testing method according to any of claims 1 to 6.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the set-top box testing method according to any one of claims 1 to 6.
CN201711366158.0A 2017-12-18 2017-12-18 Set top box testing method and system and terminal equipment Active CN108259895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711366158.0A CN108259895B (en) 2017-12-18 2017-12-18 Set top box testing method and system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711366158.0A CN108259895B (en) 2017-12-18 2017-12-18 Set top box testing method and system and terminal equipment

Publications (2)

Publication Number Publication Date
CN108259895A CN108259895A (en) 2018-07-06
CN108259895B true CN108259895B (en) 2020-05-19

Family

ID=62723482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711366158.0A Active CN108259895B (en) 2017-12-18 2017-12-18 Set top box testing method and system and terminal equipment

Country Status (1)

Country Link
CN (1) CN108259895B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062178A (en) * 2018-07-20 2018-12-21 深圳市雷赛控制技术有限公司 A kind of automated testing method, device, test equipment and storage medium
CN110971890B (en) * 2018-09-30 2022-04-19 青岛海尔多媒体有限公司 Method and device for television production test and computer storage medium
CN112312198B (en) * 2020-10-13 2023-03-24 深圳市金锐显数码科技有限公司 HDCP KEY test method and test system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715147A (en) * 2009-11-23 2010-05-26 深圳市同洲电子股份有限公司 Set-top box performance testing method, application downloading management method and equipment
CN102291595A (en) * 2011-07-08 2011-12-21 深圳创维数字技术股份有限公司 Testing method and device
CN102665094A (en) * 2012-03-27 2012-09-12 深圳市九洲电器有限公司 Test method of set-top box and test system thereof
CN102984581A (en) * 2012-12-12 2013-03-20 青岛海信宽带多媒体技术有限公司 System and detection method for set-top box
CN105530541A (en) * 2015-12-16 2016-04-27 北京四达时代软件技术股份有限公司 Set top box hardware test method and device
CN106028028A (en) * 2016-06-24 2016-10-12 北京小米移动软件有限公司 Detection method and device for high-bandwidth digital content protection (HDCP) function and apparatus for detecting HDCP function
WO2017053961A1 (en) * 2015-09-25 2017-03-30 Contec, Llc Universal device testing system
CN107027024A (en) * 2017-05-04 2017-08-08 山东浪潮商用系统有限公司 A kind of set-top box test method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10757475B2 (en) * 2012-12-21 2020-08-25 Centurylink Intellectual Property Llc System and method for utilizing set-top box testing in television distribution network
CN103281558B (en) * 2013-05-30 2015-06-10 青岛海信宽带多媒体技术有限公司 Testing method based on set top box and set top box testing system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715147A (en) * 2009-11-23 2010-05-26 深圳市同洲电子股份有限公司 Set-top box performance testing method, application downloading management method and equipment
CN102291595A (en) * 2011-07-08 2011-12-21 深圳创维数字技术股份有限公司 Testing method and device
CN102665094A (en) * 2012-03-27 2012-09-12 深圳市九洲电器有限公司 Test method of set-top box and test system thereof
CN102984581A (en) * 2012-12-12 2013-03-20 青岛海信宽带多媒体技术有限公司 System and detection method for set-top box
WO2017053961A1 (en) * 2015-09-25 2017-03-30 Contec, Llc Universal device testing system
CN105530541A (en) * 2015-12-16 2016-04-27 北京四达时代软件技术股份有限公司 Set top box hardware test method and device
CN106028028A (en) * 2016-06-24 2016-10-12 北京小米移动软件有限公司 Detection method and device for high-bandwidth digital content protection (HDCP) function and apparatus for detecting HDCP function
CN107027024A (en) * 2017-05-04 2017-08-08 山东浪潮商用系统有限公司 A kind of set-top box test method and device

Also Published As

Publication number Publication date
CN108259895A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN111309279B (en) Multi-screen interactive display method and device
CN108259895B (en) Set top box testing method and system and terminal equipment
CN111629240B (en) Multi-screen interactive display method and device
CN105373404A (en) Software mirror image burning method and equipment
US20210056010A1 (en) Splicing Screen Debugging Method, Splicing Screen And Splicing Wall
CN114422618B (en) Cloud-protogenesis-based IOT platform protocol adaptation method, device, equipment and medium
CN109660391B (en) Method, system and related device for upgrading firmware of pooling server system
US20170208637A1 (en) Method and Apparatus for Interconnecting Smart Terminal and In-Vehicle Terminal
CN114116364A (en) Chip debugging method, storage medium, related device and system
CN110875850A (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
US11354214B2 (en) Judgment method for hardware compatibility
CN107885674B (en) Bluetooth device simulator, working method thereof and Bluetooth device operating system
CN114640584B (en) Module upgrading method and system
US7191099B2 (en) System for testing network devices
CN107423168B (en) Test method and test device
CN113010195B (en) System upgrading method, storage medium and terminal equipment
CN103490913A (en) Pre-boot execution environment testing device, method and system
CN110460841B (en) Television detection method and device, electronic equipment and storage medium
CN114238194A (en) USB combined device and enumeration method
CN111860719A (en) Serialization processing method for product to be tested
CN106412657B (en) A kind of method and system of set-top box programming sequence code
CN110719458B (en) Configuration file generation method, set top box testing method and electronic equipment
CN115686646A (en) Chip starting method and device, storage medium and chip

Legal Events

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