CN113365119B - Set top box debugging method, device and system and storage medium - Google Patents

Set top box debugging method, device and system and storage medium Download PDF

Info

Publication number
CN113365119B
CN113365119B CN202110598901.5A CN202110598901A CN113365119B CN 113365119 B CN113365119 B CN 113365119B CN 202110598901 A CN202110598901 A CN 202110598901A CN 113365119 B CN113365119 B CN 113365119B
Authority
CN
China
Prior art keywords
top box
set top
debugging
content
cloud server
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
CN202110598901.5A
Other languages
Chinese (zh)
Other versions
CN113365119A (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.)
Nanjing Xuanjia Network Technology Co ltd
Original Assignee
Nanjing Xuanjia Network 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 Nanjing Xuanjia Network Technology Co ltd filed Critical Nanjing Xuanjia Network Technology Co ltd
Priority to CN202110598901.5A priority Critical patent/CN113365119B/en
Publication of CN113365119A publication Critical patent/CN113365119A/en
Application granted granted Critical
Publication of CN113365119B publication Critical patent/CN113365119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a set top box debugging method, a set top box debugging device, a set top box debugging system and a storage medium. Wherein, the method comprises the following steps: the set top box management center acquires debugging content of a target set top box through a hypertext markup language HTML5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center; and the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box and sends the debugging result to the terminal, wherein the terminal is used by developers. According to the technical scheme provided by the embodiment of the invention, the set top box is debugged quickly through interaction among the set top box management center, the cloud server and the terminal, and the working efficiency is improved.

Description

Set top box debugging method, device and system and storage medium
Technical Field
The embodiment of the invention relates to a set top box debugging technology, in particular to a set top box debugging method, a set top box debugging device, a set top box debugging system and a storage medium.
Background
A set-top box has been widely used in daily life of people as a device for connecting a television set and an external signal source, and when a problem occurs in the set-top box, it is necessary to debug the set-top box.
The conventional set top box does not support the background debugging function as a browser, and a local area network debugging environment provided by a cable television service center can only be used in the service center, so that technical developers cannot directly debug the set top box in a short distance, the debugging requirements can only be forwarded to field residents in the local area network debugging environment, and the field residents take pictures of the debugging information after obtaining the debugging information of the set top box and forward the pictures to the developers. This tedious process of communication, debugging and viewing reduces the efficiency of the technical developer in terms of program development efficiency and causes unnecessary waste of resources.
At present, no better set top box debugging method exists.
Disclosure of Invention
The embodiment of the invention provides a set top box debugging method, a set top box debugging device, a set top box debugging system and a storage medium, which can quickly realize the debugging of a set top box and save time.
In a first aspect, an embodiment of the present invention provides a set top box debugging method, where the method includes:
the method comprises the steps that a set top box management center obtains debugging content of a target set top box through a hypertext markup language (HTML) 5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center;
and the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box and sends the debugging result to a terminal, wherein the terminal is used by developers.
In a second aspect, an embodiment of the present invention provides a set top box debugging apparatus, where the apparatus includes:
the system comprises a sending module configured in a set top box management center, a cloud server and a display module, wherein the sending module is used for acquiring debugging content of a target set top box through a hypertext markup language (HTML) 5 page of the set top box and sending the debugging content to the cloud server, and the cloud server is configured in a network environment corresponding to the set top box management center;
and the analysis module is configured in the cloud server and used for analyzing the received debugging content to obtain a debugging result of the target set top box and sending the debugging result to a terminal, wherein the terminal is used by developers.
In a third aspect, an embodiment of the present invention provides a set top box debugging system, where the system includes:
the system comprises a set top box management center, a cloud server and a terminal, wherein the cloud server is configured in a network environment corresponding to the set top box management center, and the terminal is used by developers;
the set-top box debugging system is used for executing the set-top box debugging method in any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a set-top box debugging method according to any embodiment of the present invention.
The embodiment of the invention provides a set top box debugging method, a device, a system and a storage medium, firstly, a set top box management center acquires debugging content of a target set top box through a hypertext markup language (HTML) 5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center, then the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box and sends the debugging result to a terminal, and the terminal is used by developers.
Drawings
Fig. 1 is a flowchart of a set-top box debugging method according to an embodiment of the present invention;
fig. 2 is a flowchart of a set-top box debugging method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a set-top box debugging apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a set-top box debugging system according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
The set-top box manufacturer encapsulates the browser in the set-top box by customizing the browser so as to display the debugging information of the set-top box. A hypertext Markup Language (HTML 5 for short) page of a set top box can be understood as a page designed by using an HTML5 front-end technology, and an HTML5 page can be accessed through a network environment (for example, a local area network debugging environment provided by a cable television service center) corresponding to a set top box management center, but in the prior art, a developer, a set top box and field residents of the set top box management center are not usually in one area, so that the developer cannot directly debug the set top box at a short distance, and only can forward debugging requirements to the field residents, and the field residents take pictures of debugging information of the set top box through the HTML5 page and then forward the pictures to the developer. In order to solve the above problems, embodiments of the present invention provide a set top box debugging method, which rapidly implements debugging of a set top box through interaction among a set top box management center, a cloud server, and a terminal, and improves work efficiency.
Example one
Fig. 1 is a flowchart of a set top box debugging method according to an embodiment of the present invention, which is applicable to a case of remotely debugging a set top box. The set-top box debugging method provided by the embodiment of the invention can be executed by the set-top box debugging device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode and is integrated in a set-top box debugging system for executing the method.
Referring to fig. 1, the method of the present embodiment includes, but is not limited to, the following steps:
s110, the set top box management center obtains debugging content of a target set top box through an HTML5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center.
The set-top box management center can be a cable television service center and is mainly used for transmitting television signals and providing corresponding services for users and the like. The target set-top box can be understood as the set-top box which needs debugging currently. The debugging content may be understood as output data corresponding to the target set-top box, such as parameter information and error reporting information during the set-top box debugging process.
The set-top box management center can obtain the debugging content of the target set-top box through an HTML5 page of the set-top box, for example, a resident of the set-top box management center accesses an HTML5 page of the set-top box in a corresponding network environment to obtain the debugging content of the target set-top box, after the debugging content of the target set-top box is obtained, the debugging content needs to be sent to the cloud server through an HTML5 page of the set-top box, so that a subsequent cloud server can analyze the received debugging content to obtain a debugging result of the target set-top box.
And S120, the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box, and sends the debugging result to the terminal, wherein the terminal is used by developers.
The processor in the cloud server can have a function of analyzing the debugging content.
After receiving the debugging content, the cloud server analyzes the debugging content through its own processor, for example, the debugging content can be compared with the content stored in the database to obtain the debugging result of the target set top box, and the information related to the debugging content can be queried through networking to obtain the debugging result of the target set top box. The cloud server sends the debugging result to the terminal, so that a developer can obtain the debugging result of the target set top box in time through the terminal, and can determine whether the program has problems and the position of the problem according to the debugging result, the operation and maintenance efficiency and the code quality of the page are improved, and the time for the developer to position the problem is saved.
According to the technical scheme, firstly, the set top box management center acquires debugging content of a target set top box through an HTML5 page of the set top box, and sends the debugging content to the cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center, then the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box, and sends the debugging result to the terminal, wherein the terminal is used by developers, and in the scheme, the set top box is debugged quickly through interaction among the set top box management center, the cloud server and the terminal, and working efficiency is improved.
In some embodiments, the acquiring, by the set-top box management center, the debugging content of the target set-top box through an HTML5 page of the set-top box may specifically include: the set top box management center receives the log configuration information aiming at the target set top box, which is sent by the terminal through an HTML5 page of the set top box, and controls a log acquisition plug-in the HTML5 page to acquire the log information of the target set top box according to the log configuration information, so that the debugging content of the target set top box is obtained.
The log collection plug-in may be understood as a tool capable of log collection configured in the HTML5 page, such as Flume, logstack, Kafka, and the like. The log configuration information may be understood as information that the terminal wants to obtain the debugging content of the target set top box.
Specifically, when the set-top box management center receives log configuration information, which is sent by the terminal and is specific to the target set-top box, through an HTML5 page of the set-top box, indicating that the terminal wants to acquire the debugging content of the target set-top box at the moment, the set-top box management center can control a log acquisition plug-in the HTML5 page to acquire the log information of the target set-top box according to the log configuration information, and then the debugging content of the target set-top box is obtained.
In the embodiment of the invention, the log information of the target set top box is automatically acquired by controlling the log acquisition plug-in the HTML5 page, so that the debugging content of the target set top box is obtained, and manpower and material resources can be saved.
In some embodiments, the log configuration information of the target set top box corresponds to different log types; correspondingly, the set-top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set-top box according to the log configuration information, so as to obtain the debugging content of the target set-top box, which may specifically include: and the set top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set top box according to the log type and the corresponding collection frequency, and forms corresponding debugging content according to the collection frequency.
The log types corresponding to the log configuration information of the target set-top box are different, for example, the log type corresponding to the parameter configuration information in the log configuration information is a common log, and the log type corresponding to the error reporting information in the log configuration information is a high-level log, that is, a log with a higher priority.
Because the log types corresponding to the log configuration information of the target set top box are different, the acquisition frequencies of the corresponding log acquisition plugins can also be different, so that the set top box management center controls the log acquisition plugins in the HTML5 page to acquire the information of the target set top box according to the log types and the corresponding acquisition frequencies, specifically, when the log types are common logs, the corresponding acquisition frequencies can be lower, for example, the log acquisition plugins in the HTML5 page can be controlled to acquire the parameter information of the target set top box at intervals of a first preset time, and corresponding debugging contents can be formed immediately after the acquisition is finished; when the log type is a high-level log, the corresponding acquisition frequency may be higher, for example, the error information of the target set top box may be acquired in real time, and after acquiring the second preset time, the corresponding debugging content is formed by summarizing. That is to say, the corresponding debugging content can be formed quickly when the acquisition frequency is low, and the corresponding debugging content is formed after the acquisition frequency is high and the acquisition is required to be acquired for a period of time. The first preset time and the second preset time may be preset, or may be determined according to specific situations, the embodiment of the present invention is not specifically limited, and the size relationship between the first preset time and the second preset time is not specifically limited in the embodiment of the present invention, and the first preset time may be equal to the second preset time, may be greater than the second preset time, or may be less than the second preset time.
In the embodiment of the invention, the set top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set top box according to the log type and the corresponding collection frequency, and forms the corresponding debugging content according to the collection frequency, thereby being beneficial to determining the proper collection frequency and forming the debugging content according to different log types and being convenient for the subsequent cloud server to effectively analyze the received debugging content.
In some embodiments, the sending, by the cloud server, the debugging result to the terminal may specifically include: and the cloud server sends the debugging result to the terminal through the virtual private network VPN.
A Virtual Private Network (VPN) is understood as a technology for establishing a temporary and secure connection through a public Network (usually the internet) to implement data communication.
In the embodiment of the invention, because the terminal is not in the network environment corresponding to the set top box management center, the cloud server sends the debugging result to the terminal through the virtual private network VPN, so that the terminal can quickly acquire the debugging result and ensure the safety of the debugging result in the transmission process.
In some embodiments, the sending, by the set-top box management center, the debugging content to the cloud server may specifically include: and the set-top box management center controls a log collection plug-in an HTML5 page through an HTML5 page of the set-top box to send the debugging content to the cloud server.
In the embodiment of the invention, the debugging content is automatically sent to the cloud server through the log collection plug-in, so that manpower and material resources can be saved, and the cloud server can receive the debugging content in time.
Example two
Fig. 2 is a flowchart of a set top box debugging method according to a second embodiment of the present invention. The embodiment of the invention is optimized on the basis of the embodiment. Optionally, this embodiment explains in detail the process of obtaining the debugging result of the target set-top box and sending the debugging result to the terminal.
Referring to fig. 2, the method of the present embodiment includes, but is not limited to, the following steps:
s210, the set top box management center obtains debugging content of a target set top box through an HTML5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center.
S220, the cloud server determines whether the debugging content comprises errors or warning content, and if yes, S230 is executed; if not, go to S240.
After the cloud server receives the debugging content, whether errors or warning content is included in the debugging content can be determined through a processor of the cloud server. The error content may be:
error captures the error in the page window,
is obtained to
(error information cause, error location line number, error file address)
Log level: error r
The warning content may be:
page code try { } catch (e) { } traps errors
Log level: war
Other information may be:
page status log for easy tracking and positioning
Log level: info
And the developer can perform page positioning tracking according to the info log.
And S230, the cloud server determines that the debugging result of the target set top box is abnormal, and sends the information that the target set top box is in an abnormal state to the terminal.
If the cloud server determines that the debugging content comprises the error or warning content, the debugging result of the target set top box is abnormal, and at the moment, the information that the target set top box is in the abnormal state can be directly sent to the terminal, so that developers can obtain the information that the target set top box is in the abnormal state, and corresponding processing is performed timely.
Optionally, the determining, by the cloud server, that the debugging result of the target set-top box is that the target set-top box is abnormal, and sending the information that the target set-top box is in an abnormal state to the terminal may specifically include: the cloud server searches in a corresponding database according to the error or warning content, and determines whether the error or warning with the same content as the error or warning content and a corresponding reason are searched in the database; if so, sending the information that the target set top box is in an abnormal state and the reason why the target set top box has errors or is warned to the terminal; if the cloud server retrieves the error or the warning which is the same as the error or the warning content in the database, but does not retrieve the reason, or retrieves the error or the warning which is the same as the error or the warning content and the corresponding reason in the database, the information that the target set top box is in the abnormal state and the request for determining the reason of the error or the warning of the target set top box are sent to the terminal.
Specifically, the cloud server may call a corresponding database according to the error or warning content included in the debugging content, so as to perform retrieval in the database, that is, compare the error or warning content included in the debugging content with the content stored in the database, determine whether the same error or warning as the error or warning content included in the debugging content and the corresponding reason are retrieved in the database, and if the same error or warning as the error or warning content included in the debugging content and the corresponding reason are retrieved in the database, send the information that the target set top box is in the abnormal state and the reason that the error or warning occurs in the target set top box to the terminal; if the cloud server retrieves the same error or warning in the database as the error or warning content included in the debug content, but does not retrieve the cause, or the same error or warning and corresponding cause as included in the debugging contents is not retrieved in the database, the information that the target set-top box is in an abnormal state and the request for determining the reason for the error or warning of the target set-top box are transmitted to the terminal, so that the developer can determine the reason of the error or warning according to the information that the target set-top box is in abnormal state and the request for determining the reason of the error or warning of the target set-top box, the target set-top box is checked for errors or warnings, the reason why the target set-top box has the errors or warnings is found, and after finding out the reason of the error or the warning of the target set top box, transmitting the reason of the error or the warning of the target set top box to the cloud server through the terminal for storage.
Moreover, if the cloud server does not retrieve the same error or warning and the corresponding reason as the error or warning content included in the debugging content in the database, it is indicated that the error or warning content included in the debugging content may be the error or warning content which newly appears, and at this time, the error or warning content included in the debugging content can be stored in the database, so that the next retrieval and comparison are facilitated.
In the embodiment of the invention, the cloud server collects, stores and analyzes the error or warning content in the debugging content of the target set top box and forwards the possible generation reason of the error or warning to the terminal together, so that the problem can be quickly positioned, the development of the code at the later stage is guided in a standard way, the time of a developer is saved, the cloud server is utilized to forward the debugging result, the simple process from the running of the code to the display of the program debugging result is realized, the participation of personnel is reduced, the problem possibly generated in the communication process of the personnel is avoided, and the efficiency of the program development and debugging is improved.
S240, the cloud server determines that the debugging result of the target set top box is that the target set top box is normal, and sends the information that the target set top box is in a normal state to the terminal.
If the cloud server determines that the debugging content does not include the error or warning content, the debugging result of the target set top box is normal, and at the moment, the information that the target set top box is in the normal state can be directly sent to the terminal, so that a developer can obtain the information that the target set top box is in the abnormal state.
According to the technical scheme provided by the embodiment, firstly, a set top box management center acquires debugging content of a target set top box through an HTML5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center, then the cloud server determines whether the debugging content comprises errors or warning content, and then if the cloud server determines that the debugging content comprises the errors or the warning content, the debugging result of the target set top box is determined to be abnormal, and information that the target set top box is in an abnormal state is sent to a terminal; if the cloud server determines that the debugging content does not include error or warning content, the debugging result of the target set top box is determined to be that the target set top box is normal, information that the target set top box is in a normal state is sent to the terminal, through the analysis and sending functions of the cloud server, a developer can be helped to quickly locate the program problem position, the page operation and maintenance efficiency is greatly improved, the code quality is more robust, the set top box can be quickly debugged through interaction among the set top box management center, the cloud server and the terminal, and the working efficiency is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a set-top box debugging apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the apparatus may include:
the sending module 310 is configured in the set-top box management center, and is configured to obtain the debugging content of the target set-top box through a hypertext markup language HTML5 page of the set-top box, and send the debugging content to the cloud server, where the cloud server is configured in a network environment corresponding to the set-top box management center;
and the analysis module 320 is configured in the cloud server and is used for analyzing the received debugging content to obtain a debugging result of the target set top box and sending the debugging result to a terminal, wherein the terminal is used by a developer.
According to the technical scheme, firstly, the set top box management center acquires debugging content of a target set top box through an HTML5 page of the set top box, and sends the debugging content to the cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center, then the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box, and sends the debugging result to the terminal, wherein the terminal is used by developers, and in the scheme, the set top box is debugged quickly through interaction among the set top box management center, the cloud server and the terminal, and working efficiency is improved.
Further, the sending module 310 may be specifically configured to: receiving log configuration information aiming at the target set top box sent by the terminal through an HTML5 page of the set top box, controlling a log acquisition plug-in the HTML5 page to acquire the log information of the target set top box according to the log configuration information, obtaining debugging content of the target set top box, and sending the debugging content to a cloud server.
Further, the log types corresponding to the log configuration information of the target set top box are different; correspondingly, the set top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set top box according to the log configuration information, so as to obtain the debugging content of the target set top box, including: and the set top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set top box according to the log type and the corresponding collection frequency, and forms corresponding debugging content according to the collection frequency.
Further, the analysis module 320 may include: a determination unit configured to determine whether error or warning content is included in the debug content; and the first information sending unit is used for determining that the debugging result of the target set top box is normal if the debugging content does not include error or warning content, and sending the information that the target set top box is in a normal state to the terminal.
Further, the analysis module 320 may further include: and the second information sending unit is used for determining that the debugging result of the target set-top box is abnormal if the debugging content comprises errors or warning content, and sending the information that the target set-top box is in an abnormal state to the terminal.
Further, the second information sending unit may be specifically configured to: searching in a corresponding database according to the error or warning content, and determining whether the same error or warning and corresponding reason as the error or warning content are searched in the database; if yes, sending the information that the target set top box is in an abnormal state and the reason why the target set top box has errors or warnings to the terminal; if the error or the warning with the same content as the error or the warning is searched in the database, but the reason is not searched, or the error or the warning with the same content as the error or the warning and the corresponding reason are not searched in the database, sending the information that the target set top box is in the abnormal state and a request for determining the reason of the error or the warning of the target set top box to the terminal.
Further, the analysis module 320 may be specifically configured to: and analyzing the received debugging content to obtain a debugging result of the target set top box, and sending the debugging result to a terminal through a Virtual Private Network (VPN).
The set-top box debugging device provided by the embodiment can be applied to the set-top box debugging method provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 4 is a schematic structural diagram of a set-top box debugging system according to a fourth embodiment of the present invention, as shown in fig. 4, the system includes a set-top box management center 410, a cloud server 420, and a terminal 430, where the cloud server 420 is configured in a network environment corresponding to the set-top box management center 410, the terminal 430 is used by developers, data interaction can be performed between the set-top box management center 410 and the cloud server 420, and data interaction can be performed between the cloud server 420 and the terminal 430.
The set-top box debugging system provided by the embodiment can be used for executing the set-top box debugging method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for debugging a set top box in any embodiment of the present invention is implemented, where the method specifically includes:
the method comprises the steps that a set top box management center obtains debugging content of a target set top box through a hypertext markup language (HTML) 5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center;
and the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box, and sends the debugging result to a terminal, wherein the terminal is used by a developer.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the set-top box debugging method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the set top box debugging apparatus, each unit and each module included in the set top box debugging apparatus are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be implemented; in addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A set top box debugging method is characterized by comprising the following steps:
the method comprises the steps that a set top box management center obtains debugging content of a target set top box through a hypertext markup language (HTML) 5 page of the set top box and sends the debugging content to a cloud server, wherein the cloud server is configured in a network environment corresponding to the set top box management center;
and the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box and sends the debugging result to a terminal, wherein the terminal is used by developers.
2. The method of claim 1, wherein the set-top box management center obtains the debugging content of the target set-top box through an HTML5 page of the set-top box, and comprises the following steps:
the set top box management center receives log configuration information aiming at the target set top box and sent by the terminal through an HTML5 page of the set top box, and controls a log collection plug-in the HTML5 page to collect the log information of the target set top box according to the log configuration information, so that the debugging content of the target set top box is obtained.
3. The method of claim 2, wherein the log configuration information of the target set top box corresponds to different log types;
correspondingly, the set top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set top box according to the log configuration information, so as to obtain the debugging content of the target set top box, including:
and the set top box management center controls the log collection plug-in the HTML5 page to collect the information of the target set top box according to the log type and the corresponding collection frequency, and forms corresponding debugging content according to the collection frequency.
4. The method of claim 1, wherein the cloud server analyzes the received debugging content to obtain a debugging result of the target set top box and sends the debugging result to a terminal, and the method comprises:
the cloud server determines whether the debugging content comprises error or warning content;
if not, the cloud server determines that the debugging result of the target set top box is that the target set top box is normal, and sends the information that the target set top box is in a normal state to the terminal.
5. The method of claim 4, further comprising:
and if the cloud server determines that the debugging content comprises error or warning content, determining that the debugging result of the target set top box is abnormal, and sending the information that the target set top box is in an abnormal state to the terminal.
6. The method of claim 5, wherein the cloud server determines that the target set-top box is abnormal in the debugging result of the target set-top box, and sends information that the target set-top box is in an abnormal state to the terminal, and the method comprises:
the cloud server searches in a corresponding database according to the error or warning content, and determines whether the same error or warning and the corresponding reason as the error or warning content are searched in the database;
if so, sending the information that the target set top box is in an abnormal state and the reason why the target set top box has errors or is warned to the terminal;
if the cloud server searches the database for the error or the warning with the same content as the error or the warning, but does not search the reason, or does not search the database for the error or the warning with the same content as the error or the warning and the corresponding reason, sending the information that the target set top box is in the abnormal state and a request for determining the reason of the error or the warning of the target set top box to the terminal.
7. The method according to any one of claims 1-6, wherein the cloud server sends the debugging result to a terminal, and the method comprises:
and the cloud server sends the debugging result to the terminal through a Virtual Private Network (VPN).
8. A set top box debugging device is characterized by comprising:
the system comprises a sending module configured in a set top box management center, a cloud server and a service center, wherein the sending module is used for acquiring debugging content of a target set top box through a hypertext markup language (HTML) 5 page of the set top box and sending the debugging content to the cloud server, and the cloud server is configured in a network environment corresponding to the set top box management center;
and the analysis module is configured in the cloud server and used for analyzing the received debugging content to obtain a debugging result of the target set top box and sending the debugging result to a terminal, wherein the terminal is used by developers.
9. A set top box debugging system is characterized by comprising a set top box management center, a cloud server and a terminal, wherein the cloud server is configured in a network environment corresponding to the set top box management center, and the terminal is used by developers;
the set-top box commissioning system is configured to perform the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110598901.5A 2021-05-31 2021-05-31 Set top box debugging method, device and system and storage medium Active CN113365119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110598901.5A CN113365119B (en) 2021-05-31 2021-05-31 Set top box debugging method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110598901.5A CN113365119B (en) 2021-05-31 2021-05-31 Set top box debugging method, device and system and storage medium

Publications (2)

Publication Number Publication Date
CN113365119A CN113365119A (en) 2021-09-07
CN113365119B true CN113365119B (en) 2022-07-08

Family

ID=77528393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110598901.5A Active CN113365119B (en) 2021-05-31 2021-05-31 Set top box debugging method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN113365119B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681330A (en) * 2016-02-29 2016-06-15 四川长虹电器股份有限公司 Telecommunication internal network remote access method
CN105791061A (en) * 2016-03-07 2016-07-20 四川长虹电器股份有限公司 IPTV remote development testing method
CN108063959A (en) * 2016-11-09 2018-05-22 北京国双科技有限公司 Adjustment method, client, server and the system of set-top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681330A (en) * 2016-02-29 2016-06-15 四川长虹电器股份有限公司 Telecommunication internal network remote access method
CN105791061A (en) * 2016-03-07 2016-07-20 四川长虹电器股份有限公司 IPTV remote development testing method
CN108063959A (en) * 2016-11-09 2018-05-22 北京国双科技有限公司 Adjustment method, client, server and the system of set-top box

Also Published As

Publication number Publication date
CN113365119A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN109688097B (en) Website protection method, website protection device, website protection equipment and storage medium
CN110489391B (en) Data processing method and related equipment
CN113271541B (en) Method and device for acquiring terminal behavior data, method and device for transmitting terminal behavior data and network equipment
CN111949402A (en) Database request processing method and device, computer equipment and storage medium
CN110990178A (en) Keyword collection monitoring method, device and equipment and computer storage medium
CN112052227A (en) Data change log processing method and device and electronic equipment
CN115277409A (en) Method and device for collecting and reporting buried point data in real time, acquisition system and terminal
CN110716912B (en) SQL performance detection method and server
CN113365119B (en) Set top box debugging method, device and system and storage medium
CN113067710A (en) Online user query method and device, computer equipment and storage medium
CN104967667A (en) Software stability test remote monitoring system based on cloud service
CN111427784A (en) Data acquisition method, device, equipment and storage medium
CN114167181B (en) Method and system for monitoring local and allopatric line fault tracing
CN111245880A (en) Behavior trajectory reconstruction-based user experience monitoring method and device
CN111752916B (en) Data acquisition method and device, computer readable storage medium and electronic equipment
CN113065083B (en) Page processing method and device, electronic equipment and storage medium
CN115599881A (en) Workflow creation method, system, electronic device, and computer-readable storage medium
KR20220060429A (en) System for collecting log data of remote network switches and method for constructing big-data thereof
CN112882891A (en) Method for monitoring client Web access link
CN112000618A (en) File change management method, device, equipment and storage medium for cluster nodes
CN110908763A (en) Acceptance method, device, equipment and storage medium
CN113949715B (en) PI system-based data transmission method and device
CN116484373B (en) Abnormal process checking and killing method, system, device, computer equipment and storage medium
CN113485860B (en) Data processing method, device, storage medium and fault positioning system
CN114760148B (en) Penetration testing method, platform, electronic equipment and storage medium

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