CN114584762A - Set top box testing method and device, set top box and storage medium - Google Patents

Set top box testing method and device, set top box and storage medium Download PDF

Info

Publication number
CN114584762A
CN114584762A CN202210221744.0A CN202210221744A CN114584762A CN 114584762 A CN114584762 A CN 114584762A CN 202210221744 A CN202210221744 A CN 202210221744A CN 114584762 A CN114584762 A CN 114584762A
Authority
CN
China
Prior art keywords
test
top box
detection
operating system
testing
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.)
Pending
Application number
CN202210221744.0A
Other languages
Chinese (zh)
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.)
Hunan Goke Microelectronics Co Ltd
Original Assignee
Hunan Goke Microelectronics 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 Hunan Goke Microelectronics Co Ltd filed Critical Hunan Goke Microelectronics Co Ltd
Priority to CN202210221744.0A priority Critical patent/CN114584762A/en
Publication of CN114584762A publication Critical patent/CN114584762A/en
Pending legal-status Critical Current

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

Abstract

The embodiment of the invention discloses a set top box testing method, a set top box testing device, a set top box and a storage medium, wherein the set top box testing method is applied to the set top box, the set top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is used for operating a testing system and storing a testing configuration file, and the method comprises the following steps: analyzing the test configuration file in the test partition, and determining a preset number of detection items; executing the detection items and generating detection results; and if the detection result indicates that the detection of the preset number of detection items is normal, generating a test identifier, and writing the test identifier into the operating system area. The test system in the test partition can independently run to analyze the test configuration file in the test partition, so that the starting speed of the set top box operating system is improved, the waiting time for testing the reliability of the set top box is reduced, and the production test efficiency of the set top box is improved.

Description

Set top box testing method and device, set top box and storage medium
Technical Field
The invention relates to the field of equipment testing, in particular to a set top box testing method and device, a set top box and a storage medium.
Background
The set-top box is a device for connecting the television terminal and an external signal source, and converts a digital signal of the external signal source into content displayable by the television terminal. With the rapid development of communication technology, android set-top boxes carrying android (android) operating systems are widely applied. Compared with the traditional set top box, the android set top box can install and uninstall software programs according to user requirements so as to realize personalized expansion of functions of the television terminal.
In order to ensure reliable operation of an Android set top box, an Android Application Package (APK) file test is usually performed on the Android set top box which starts an operating system for the first time. However, when the operating system of the android set-top box is started for the first time, all the APK files installed to the android set-top box need to be scanned and optimally copied to the cache directory. After the starting of the operating system of the android set-top box is completed, the APK file test is carried out by running test software which is pre-installed in the operating system, so that the reliability of the android set-top box is determined. Due to the fact that a large number of APK files are pre-installed in the android set top box, the time for starting the operating system of the android set top box for the first time is long. After the operating system of the android set top box is started for a long time, the reliability test of the android set top box can be carried out, so that the set top box test consumes a long time, and the production test efficiency of the android set top box is influenced.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method and an apparatus for testing a set top box, a set top box and a storage medium, so as to solve the problem that the set top box takes a long time to test.
In a first aspect, the present application provides a set top box testing method, which is applied to a set top box, where the set top box is provided with an operating system area and a test partition, the operating system area is used for running an operating system, the test partition is used for running a test system, and a test configuration file is stored, and the method includes:
analyzing the test configuration file in the test partition, and determining a preset number of detection items;
executing the detection items and generating detection results;
and if the detection result indicates that the detection of the preset number of detection items is normal, generating a test identifier, and writing the test identifier into the operating system area.
With reference to the first aspect, in a first possible implementation manner, the executing the detection item and generating the detection result include:
and executing the first detection item in series and/or executing the second detection item in parallel to generate a detection result.
With reference to the first aspect, in a second possible implementation manner, the method further includes:
responding to a received operating system starting instruction, and judging whether the test identification is stored in the operating system area;
and if the test identification is not stored in the operating system area, executing the step of analyzing the test configuration file in the test partition and determining a preset number of detection items.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, after the determining, in response to the received operating system start instruction, whether the operating system area stores the test identifier, the method further includes:
if the test identification is stored in the operating system area, judging whether a test key instruction is received;
if the test key instruction is not received, generating a starting signal of the operating system;
and if the test key instruction is received, analyzing the test configuration file in the test partition, and determining a preset number of detection items.
With reference to the first aspect, in a fourth possible implementation manner, after the generating a test identifier and writing the test identifier into an operating system area if the detection result indicates that all of the preset number of detection items are detected normally, the method further includes:
and sending first prompt information for prompting that the detection items of the preset number are detected normally to a management terminal, and configuring the test subarea into an initial working state.
With reference to the first aspect, in a fifth possible implementation manner, after the executing the detection item and generating a detection result, the method further includes:
and if the detection result is that abnormal detection items exist in the preset number of detection items, sending second prompt information for prompting the abnormal detection items in the preset number of detection items to a management terminal.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, after sending, to a management terminal, second prompt information for prompting that there is an abnormal detection item in the preset number of detection items if the detection result is that there is an abnormal detection item in the preset number of detection items, the method further includes:
and acquiring and identifying the detection items with the abnormality so as to quickly analyze the detection items with the abnormality.
In a second aspect, the present application provides a set top box testing apparatus, which is applied to a set top box, where the set top box is provided with an operating system area and a test partition, the operating system area is used for running an operating system, the test partition is used for running a test system and storing a test configuration file, and the apparatus includes:
the file analysis module is used for analyzing the test configuration files in the test partitions and determining a preset number of detection items;
the item execution module is used for executing the detection items and generating detection results;
and the identification generation module is used for generating a test identification if the detection result shows that the detection of the preset number of detection items is normal, and writing the test identification into the operating system area.
In a third aspect, the present application provides a set top box, where the set top box is provided with an operating system area and a test partition, the operating system area is used for running an operating system, the test partition is used for running a test system and storing a test configuration file, the set top box further includes a processor and a memory, the memory stores a program or an instruction, and the program or the instruction is executed by the processor to implement the steps of the set top box test method.
In a fourth aspect, the present application provides a computer-readable storage medium having a program or instructions stored thereon, which when executed by a processor, implement the steps of the set-top box testing method described above.
The application provides a set top box testing method, which is applied to a set top box, wherein the set top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is used for operating a testing system and storing a testing configuration file, and the method comprises the following steps: analyzing the test configuration file in the test partition, and determining a preset number of detection items; executing the detection items and generating detection results; and if the detection result indicates that the detection of the preset number of detection items is normal, generating a test identifier, and writing the test identifier into the operating system area. The test system in the test partition can run independently, and even if the operating system of the set top box is not started, the test configuration file in the test partition can be still analyzed, and the reliability of the set top box can be tested. The starting speed of the set top box operating system is increased, the waiting time consumption for testing the reliability of the set top box is reduced, and the production testing efficiency of the set top box is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 shows a flowchart of a first set top box testing method provided by an embodiment of the present invention;
fig. 2 shows a flowchart of a second set top box testing method provided by the embodiment of the present invention;
fig. 3 is a flowchart illustrating a third set-top box testing method according to an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of a set-top box testing apparatus provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
Referring to fig. 1, fig. 1 shows a flowchart of a first set top box testing method according to an embodiment of the present invention. The set-top box testing method in fig. 1 is applied to a set-top box, the set-top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is used for operating a testing system and storing a testing configuration file, and the set-top box testing method includes the following steps:
and step 110, analyzing the test configuration file in the test partition, and determining a preset number of detection items.
In this embodiment, the memory of the set-top box is provided with an operating system area and a test partition, and the operating system area and the test partition operate independently. Specifically, the test partition may not run when the operating system area is running; the test partition may run, the operating system region may not run. The test partition is provided with a test configuration file, where the test configuration file is a file used for testing whether the set top box is abnormal, and includes, but is not limited to, test software, a dynamic library, a driver module file, and the like of the set top box, and is not limited herein.
It should be understood that, when the set-top box is powered on and started up for the first time, the operating system in the operating system area may be started first, or the test configuration file in the test partition may be analyzed first, and the test program is started to perform the reliability test of the set-top box. That is, under the condition that the operating system of the set-top box is not started, the test system can still be operated, the test configuration files in the test partitions are analyzed, and the detection items with the preset number are determined and detected.
And step 120, executing the detection items and generating detection results.
It should be understood that the detection items are set according to actual requirements, and include a display name, a position, a channel search test, and the like of the set top box, which are not limited herein. The reliability of the set-top box is tested by judging whether abnormal detection items exist or not so as to avoid putting into use the set-top box with faults. Executing a preset number of detection items, and generating a detection result, wherein the detection result comprises that the preset number of detection items are all detected normally, and abnormal detection items exist in the preset number of detection items.
As one example, the detecting items include a first detecting item and a second detecting item, an influence relation exists between the first detecting item and an influence relation does not exist between the second detecting item, the executing the detecting items and generating the detecting result include:
the first detection items are executed in series, and/or the second detection items are executed.
For example, the tuning detection item, the channel search detection item and the live broadcast detection item of the set top box all occupy audio resources of the set top box, and the tuning detection item, the channel search detection item and the live broadcast detection item are classified as a first detection item. And no influence relation exists between the detection items such as the display name and the position of the set top box, and the set top box is classified as a second detection item.
The first detection items are executed in series, namely, each first item is executed according to the sequence, and the abnormity caused by the fact that the detection items occupying the same resources are executed at the same time is avoided. And executing the first detection items in parallel, namely executing all the second detection items synchronously, so that the time consumption for executing the second detection items is reduced, and the test efficiency is improved. It should be understood that the first detection item and the second detection item are both executed in the thread, and are not described herein again.
And step 130, if the detection result indicates that the detection of the preset number of detection items is normal, generating a test identifier, and writing the test identifier into the operating system area.
And if the detection result is that the detection items with the preset number are detected normally, determining that the set top box can reliably run, and generating a test identifier. And writing the generated test mark into an operating system area so as to mark that the set top box can be normally put into use. It should be understood that the test identification may be any character string, and is not limited herein. And writing the character string into the offset position of the operating system area to obtain the length of the character string relative to the initial address of the operating system area. The reliability of the set-top box is determined by reading the test identification in the operating system area, when the operating system of the set-top box is started, the reliability test of the set-top box is not required to be carried out again, and the starting speed of the operating system of the set-top box is improved.
Compared with the method for testing the set top box by running the test software pre-installed in the operating system after the operating system is started in the prior art, the method has the advantages that the test partition is arranged, the test configuration file in the analysis test partition can be started before the operating system of the set top box is started, the reliability test of the set top box is completed, the starting speed of the operating system of the set top box is increased, meanwhile, the waiting time for testing the reliability of the set top box is reduced, and the production test efficiency of the set top box is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a second set top box testing method according to an embodiment of the present invention. As an example, after step 130, the method further includes:
step 140, sending first prompt information for prompting that the detection of the preset number of detection items is normal to a management terminal, and configuring the test partition into an initial working state.
If the detection result is that the detection items of the preset number are all detected normally, the set top box is determined to be capable of running reliably, and first prompt information for prompting that the detection items of the preset number are all detected normally is sent to the management terminal, wherein the terminal device can be any computer device, and is not limited herein. And configuring the test partition into an initial working state according to the confirmation information fed back by the management terminal so as to clear the log files in the set-top box before the set-top box is put into use and avoid influencing the normal use of the set-top box by a user.
It should be understood that it may also be arranged that the test partition is configured to be in an initial operating state each time the test system in the test partition is restarted. And restarting programs such as test software and the like running in the test system according to the confirmation information fed back by the management terminal, and configuring the test partition into an initial working state. And when the test system is restarted each time, the log file in the set top box is cleared, so that the test result in the log file is prevented from influencing the set top box test.
As an example, after the executing the detection item and generating the detection result, the method further includes:
step 150, if the detection result is that there is an abnormal detection item in the preset number of detection items, sending a second prompt message for prompting that there is an abnormal detection item in the preset number of detection items to the management terminal.
If the detection result is that abnormal detection items exist in the preset number of detection items, sending second prompt information for prompting the abnormal detection items in the preset number of detection items to the management terminal to prompt the abnormal detection items, and waiting for receiving feedback information sent by the management terminal.
In an optional example, after step 150, further comprising:
and step 160, acquiring and identifying the detection items with the abnormality so as to rapidly analyze the detection items with the abnormality.
After the preset number of detection items are executed, if the detection result is that abnormal detection items exist in the preset number of detection items, the abnormal detection items are obtained and identified, so that the abnormal detection items are quickly analyzed.
It should be understood that, if during the execution of the detection items, when the abnormal check items are detected, the execution of the detection items may be stopped, and after the abnormal detection items are identified, the remaining detection items may be executed again until the preset number of detection items are executed.
Referring to fig. 3, fig. 3 is a flowchart illustrating a third set-top box testing method according to an embodiment of the present invention. As an example, the set-top box testing method further includes:
step 101, responding to a received operating system starting instruction, and judging whether the test identification is stored in the operating system area;
and if the test identification is not stored in the operating system area, executing the step of analyzing the test configuration file in the test partition and determining a preset number of detection items.
The operating system starting instruction is used for starting the operating system of the set top box, and a user installs, uses and unloads the software program through the operating system. And responding to the received operating system starting instruction, and judging whether the operating system area stores the test identification. If the operating system area does not store the test identifier, step 120 is executed to detect whether the set-top box is abnormal, so as to ensure reliable operation of the set-top box after the operating system is started.
In an optional example, after the determining, in response to the received operating system boot instruction, whether the operating system area stores the test identifier, the method further includes:
and 102, if the test identification is stored in the operating system area, judging whether a test key instruction is received.
And the test key instruction is used for requesting to test the reliability of the set top box, and if the test identification is stored in the operating system area, judging whether the test key instruction is received. It should be understood that the test key command may be a single key command or a combined test key command, where the combined test key command is composed of at least two key commands, for example, a test key command composed of a menu key command and a confirmation key command, and is not limited herein. By setting the test key instruction, the function of actively testing the set top box is provided for the set top box. In an optional example, the test key instruction is a combined key instruction, so that the situation that a user mistakenly presses one key to trigger the automatic test process and influence the use of the user is avoided.
And 103, if the test key instruction is not received, generating a starting signal of the operating system.
And if the test key instruction is received, executing a step of analyzing the test configuration file in the test partition, determining a preset number of detection items, and starting an automatic test process of the set top box to test whether the set top box is abnormal.
If the test key instruction is not received, determining that the user does not actively request to test the set top box, generating a starting signal of the operating system, starting the operating system of the set top box, and receiving television image signals, installation programs, uninstallation programs and the like through the set top box.
The application provides a set top box testing method, which is applied to a set top box, wherein the set top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is used for operating a testing system and storing a testing configuration file, and the method comprises the following steps: analyzing the test configuration files in the test partitions, and determining a preset number of detection items; executing the detection items and generating detection results; and if the detection result indicates that the detection of the preset number of detection items is normal, generating a test identifier, and writing the test identifier into the operating system area. The test system in the test partition can run independently, and even if the operating system of the set top box is not started, the test configuration file in the test partition can be still analyzed, and the reliability of the set top box can be tested. The starting speed of the set top box operating system is improved, meanwhile, the waiting time for testing the reliability of the set top box is reduced, and the production testing efficiency of the set top box is improved.
Example 2
Referring to fig. 4, fig. 4 is a schematic structural diagram illustrating a set-top box testing apparatus according to an embodiment of the present invention. The set-top box testing apparatus 200 in fig. 4 is applied to a set-top box, the set-top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is provided with a testing configuration file, and the set-top box testing apparatus 200 includes:
the file analysis module 210 is configured to analyze the test configuration file in the test partition, and determine a preset number of detection items;
an item executing module 220, configured to execute the detection item and generate a detection result;
and an identifier generating module 230, configured to generate a test identifier if the detection result indicates that the preset number of detection items are detected normally, and write the test identifier into the operating system area.
As an example, the detection items include a first detection item and a second detection item, an influence relationship exists between the first detection item and the second detection item, and the item execution module 220 is further configured to execute the first detection item in series and/or execute the second detection item in parallel to generate a detection result.
As an example, the set-top box testing apparatus 200 further includes:
the identification judgment module is used for responding to a received operating system starting instruction and judging whether the test identification is stored in the operating system area;
and if the test identification is not stored in the operating system area, executing the step of analyzing the test configuration file in the test partition and determining a preset number of detection items.
In an optional example, the set-top box testing apparatus 200 further includes:
the instruction judging module is used for judging whether a test key instruction is received or not if the test identification is stored in the operating system area;
the system starting module is used for generating a starting signal of the operating system if the test key instruction is not received;
and the instruction receiving module is used for analyzing the test configuration file in the test partition and determining the steps of detecting items in a preset number if the test key instruction is received.
As an example, the set-top box testing apparatus 200 further includes:
and the state configuration module is used for sending first prompt information for prompting that the detection items in the preset number are detected normally to the management terminal and configuring the test subareas into an initial working state.
As an example, the set-top box testing apparatus 200 further includes:
and the abnormity prompting module is used for sending second prompting information for prompting the abnormal detection items in the detection items of the preset number to the management terminal if the detection result indicates that the abnormal detection items exist in the detection items of the preset number.
In an optional example, the set-top box testing apparatus 200 further includes:
and the item identification module is used for acquiring and identifying the detection items with the abnormality so as to quickly analyze the detection items with the abnormality.
The set-top box testing apparatus 200 is configured to execute corresponding steps in the set-top box testing method, and specific implementation of each function is not described herein. In addition, the alternative example in embodiment 1 is also applicable to the set-top box testing apparatus 200 of embodiment 2.
The embodiment of the application further provides a set top box, which is provided with an operating system area and a test partition, wherein the operating system area is used for operating an operating system, the test partition is used for operating a test system and storing a test configuration file, the set top box further comprises a processor and a memory, a program or an instruction is stored in the memory, and the program or the instruction is executed by the processor to realize the steps of the set top box test method.
An embodiment of the present application further provides a computer-readable storage medium, where a program or an instruction is stored on the computer-readable storage medium, and when the program or the instruction is executed by a processor, the steps of the set top box testing method are implemented.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A set top box testing method is applied to a set top box, the set top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is used for operating a testing system and storing a testing configuration file, and the method comprises the following steps:
analyzing the test configuration file in the test partition, and determining a preset number of detection items;
executing the detection items and generating detection results;
and if the detection result indicates that the detection of the preset number of detection items is normal, generating a test identifier, and writing the test identifier into the operating system area.
2. The set-top box testing method according to claim 1, wherein the detection items comprise a first detection item and a second detection item, an influence relationship exists between the first detection item and the second detection item, and the executing the detection items and generating the detection result comprise:
and executing the first detection item in series and/or executing the second detection item in parallel to generate a detection result.
3. The set-top box testing method of claim 1, further comprising:
responding to a received operating system starting instruction, and judging whether the test identification is stored in the operating system area;
and if the test identification is not stored in the operating system area, executing the step of analyzing the test configuration file in the test partition and determining a preset number of detection items.
4. The method as claimed in claim 3, wherein after determining whether the test identifier is stored in the operating system area in response to the received operating system start instruction, the method further comprises:
if the test identification is stored in the operating system area, judging whether a test key instruction is received;
if the test key instruction is not received, generating a starting signal of the operating system;
and if the test key instruction is received, executing a step of analyzing the test configuration file in the test partition and determining a preset number of detection items.
5. The method for testing a set-top box according to claim 1, wherein if the detection result indicates that the detection of the predetermined number of detection items is normal, generating a test identifier, and writing the test identifier into an operating system area, further comprising:
and sending first prompt information for prompting that the detection items of the preset number are detected normally to a management terminal, and configuring the test subarea into an initial working state.
6. The set-top box testing method of claim 1, wherein after executing the test items and generating the test results, the method further comprises:
and if the detection result is that abnormal detection items exist in the preset number of detection items, sending second prompt information for prompting the abnormal detection items in the preset number of detection items to a management terminal.
7. The method for testing a set top box according to claim 6, wherein if the detection result is that there is an abnormal detection item in the detection items in the preset number, after sending second prompt information for prompting that there is an abnormal detection item in the detection items in the preset number to the management terminal, the method further comprises:
and acquiring and identifying the detection items with the abnormality so as to quickly analyze the detection items with the abnormality.
8. A set top box testing device is applied to a set top box, the set top box is provided with an operating system area and a testing partition, the operating system area is used for operating an operating system, the testing partition is used for operating a testing system and storing a testing configuration file, and the device comprises:
the file analysis module is used for analyzing the test configuration files in the test partitions and determining a preset number of detection items;
the item execution module is used for executing the detection items and generating detection results;
and the identification generation module is used for generating a test identification if the detection result shows that the detection of the preset number of detection items is normal, and writing the test identification into the operating system area.
9. A set-top box, characterized in that it is provided with an operating system area for running an operating system and a test partition for running a test system and storing a test configuration file, the set-top box further comprising a processor and a memory, the memory having stored thereon a program or instructions which, when executed by the processor, implement the steps of the set-top box testing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the set-top box testing method according to any one of claims 1 to 7.
CN202210221744.0A 2022-03-09 2022-03-09 Set top box testing method and device, set top box and storage medium Pending CN114584762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210221744.0A CN114584762A (en) 2022-03-09 2022-03-09 Set top box testing method and device, set top box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210221744.0A CN114584762A (en) 2022-03-09 2022-03-09 Set top box testing method and device, set top box and storage medium

Publications (1)

Publication Number Publication Date
CN114584762A true CN114584762A (en) 2022-06-03

Family

ID=81773761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210221744.0A Pending CN114584762A (en) 2022-03-09 2022-03-09 Set top box testing method and device, set top box and storage medium

Country Status (1)

Country Link
CN (1) CN114584762A (en)

Similar Documents

Publication Publication Date Title
US8930915B2 (en) System and method for mitigating repeated crashes of an application resulting from supplemental code
CN109089108B (en) Test method and system
CN105975311B (en) Application starting method and device
US20170132026A1 (en) Apparatus and method for optimizing startup of embedded system
CN106843947B (en) Method and device for processing code defects
CN106909362A (en) The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN114417335A (en) Malicious file detection method and device, electronic equipment and storage medium
CN103679054A (en) Method and system for detecting integrity of boot animation file of intelligent terminal
JP2010092125A (en) Computer system, memory diagnostic method, and memory diagnosis control program
CN110362416B (en) Page component loading method and device, electronic equipment and storage medium
CN106649006A (en) Method and system for automatic test of board start
CN114584762A (en) Set top box testing method and device, set top box and storage medium
CN108009039B (en) Terminal information recording method, device, storage medium and electronic equipment
AU2017235993B2 (en) Dynamic loading and deployment of test files to prevent interruption of test execution
CN111666200A (en) Testing method and terminal for time consumption of cold start of PC software
CN106933578B (en) USB drive loading method of QNX system
CN114328063A (en) Simulation method and device based on mapping mechanism and electronic equipment
CN110096888B (en) Method and system for accelerating verification and analyzing SMM potential safety hazard
CN114496053A (en) Data anomaly detection method, device and equipment and computer readable storage medium
KR101420026B1 (en) A method, apparatus and computer program for loading files during a boot-up process
CN113220510A (en) Device detection method, detection device, and computer-readable storage medium
CN116303067B (en) Testing method, device, equipment and medium based on cloud testing platform
CN112073579B (en) Terminal operation playback processing method and device, terminal equipment and storage medium
JP6668808B2 (en) Untested portion detection device, untested portion detection method, and program

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