CN113784117B - Online non-embedded debugging method for set top box - Google Patents

Online non-embedded debugging method for set top box Download PDF

Info

Publication number
CN113784117B
CN113784117B CN202111069245.6A CN202111069245A CN113784117B CN 113784117 B CN113784117 B CN 113784117B CN 202111069245 A CN202111069245 A CN 202111069245A CN 113784117 B CN113784117 B CN 113784117B
Authority
CN
China
Prior art keywords
server
debugging
top box
set top
router
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
CN202111069245.6A
Other languages
Chinese (zh)
Other versions
CN113784117A (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.)
Guizhou Radio And Television New Media Industry Development Co ltd
Original Assignee
Guizhou Radio And Television New Media Industry Development 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 Guizhou Radio And Television New Media Industry Development Co ltd filed Critical Guizhou Radio And Television New Media Industry Development Co ltd
Priority to CN202111069245.6A priority Critical patent/CN113784117B/en
Publication of CN113784117A publication Critical patent/CN113784117A/en
Application granted granted Critical
Publication of CN113784117B publication Critical patent/CN113784117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides an online non-embedded debugging method of a set top box, which comprises at least one server; the server is connected to the router and monitors flow data, and is independently connected to the online platform in a networking way and is connected with the debugging PC through the online platform to form an independent connection path of the router and the debugging PC; and the server or the online platform forwards the router monitoring data to the debugging PC according to preset rules. The invention can overcome the problems of complicated program debugging, complicated research and development and overlong program problem checking period of EPG research and development of the set top box; the operation is flexible and convenient, so that the set top box is more active, convenient and quick in the process of debugging, research and development.

Description

Online non-embedded debugging method for set top box
Technical Field
The invention relates to an online non-embedded debugging method for a set top box.
Background
At present, in the internet for debugging an IPTV (Internet Protocol Television ) set top box, a packet capturing form is mainly used to obtain set top box debugging information, mainly there are the following methods for debugging the set top box, most of the methods are used for analyzing set top box codes and analyzing error information of code errors by using a debugging tool developed by a third party, for example, (Wireshark et al), the debugging tool needs to be externally connected with a professional packet capturing switch, and meanwhile, the debugged codes need to be issued to an EPG (Electronic Program Guide) server, and after the code deployment is effective, the packet capturing debugging is performed, so that the method is complicated, and the debugging period is long.
Another common debugging mode in the prior art is to use an RS232 serial port tool for debugging, and requires a professional serial port line and a serial port interface of the set top box. In some set top boxes without serial interfaces, a completely open debug bridge (Android Debug Bridge) and telnet debug tools can be used, but have great potential safety hazards, and the debug tools can be used for attacking the set top box equipment.
Disclosure of Invention
In order to solve the technical problems, the invention provides an online non-embedded debugging method of a set top box, which can solve the problems of complicated process, long research and development and program problem inspection period in the process of program debugging in EPG research and development of the set top box.
The invention is realized by the following technical scheme.
The invention provides an online non-embedded debugging method of a set top box, which comprises at least one server; the server is connected to the router and monitors flow data, and is independently connected to the online platform in a networking way and is connected with the debugging PC through the online platform to form an independent connection path of the router and the debugging PC; and the server or the online platform forwards the router monitoring data to the debugging PC according to preset rules.
The server comprises a server A and a server B, wherein the server A is connected to the online platform in a network mode, the server B is connected to the router and monitors flow data, and the data between the server A and the server B are directly connected.
The server A installs a web debugging proxy tool and a proxy server.
The server B installs the proxy client.
The preset rule is configured on the online platform.
The debugging PC is connected with the online platform through the web.
The web debug agent is Whistle.
The proxy server is a V2ray server.
The proxy client is a V2ray client.
The invention has the beneficial effects that: the problems of complicated program debugging, complicated research and development and overlong program problem checking period of EPG research and development of the set top box can be solved; the operation is flexible and convenient, so that the set top box is more active, convenient and quick in the process of debugging, research and development.
Drawings
FIG. 1 is a schematic illustration of a connection of at least one embodiment of the present invention;
FIG. 2 is a schematic flow diagram of at least one embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further described below, but the scope of the claimed invention is not limited to the above.
Example 1
The online non-embedded debugging method of the set top box as shown in fig. 1 and 2 comprises at least one server; the server is connected to the router and monitors flow data, and is independently connected to the online platform in a networking way and is connected with the debugging PC through the online platform to form an independent connection path of the router and the debugging PC; and the server or the online platform forwards the router monitoring data to the debugging PC according to preset rules.
Example 2
Based on embodiment 1, the server comprises a server a and a server B, wherein the server a is connected to the online platform, the server B is connected to the router and listens for traffic data, and the data between the server a and the server B are directly connected.
Example 3
Based on embodiment 2, server a installs a web debug agent and a proxy server.
Example 4
Based on embodiment 2, server B installs the proxy client.
Example 5
Based on embodiment 1, the preset rules are configured on the online platform.
Example 6
Based on embodiment 1, the debug PC is connected to the online platform via the web.
Example 7
Based on embodiment 3, the web debug agent is Whistle.
Example 8
Based on embodiment 3, the proxy server is a V2ray server.
Example 9
Based on embodiment 4, the proxy client is a V2ray client.
Example 10
Based on the above embodiment, a server a shown in fig. 1 is installed, a transit server is set, and proxy software V2ray is installed to be responsible for network protocol, supporting multiple inbound and outbound protocols, and is used for receiving all traffic sent by a client. Meanwhile, a cross-platform web debugging tool which is well realized based on a node is required to be installed on the server, and the cross-platform web debugging tool is used for checking and modifying requests and responses of HTTP and HTTPS, and can support a plurality of matching modes of configuration domain names, paths, regular expressions and wildcards;
2. the router is installed as the router in fig. 1, the router can select the number of meshes according to the research and development requirements, and after the set top box is connected, the router is modified into the router of the server B, and the integration and forwarding of the traffic are carried out through the server B;
3. connecting the set top box to a public router, starting the set top box, acquiring a path accessed by the set top box through Whistle, or directing the access of the box to a local path through regular matching of an account number of the set top box;
4. after restarting the box or pressing the first page, the set top box enters a local code, so that the local research and development of the debugging code can be performed, and the code running effect can be seen on the set top box, thereby better solving the problems of program error reporting and page layout style adjustment and printing of a control console.
Example 11
Based on the above embodiment, the server B is a Linux server, and integrates and uniformly forwards the traffic transferred from the router. The v2ray setting agent is required to be installed, the local monitoring port is the port monitored by the v2ray client, the monitored port is directly set on the client, and the v2ray client is started to be connected to the v2ray server.
Server a installs Whistle and v2ray servers, v2ray is mainly to accept client traffic and get data forwarding, while Whistle:
1) The NetWork is equivalent to a local Chrome (commonly used in research and development, used for checking data interaction and loading of local resources, and convenient for research and development and debugging);
2) Only one rule is configured, the page DOM structure can be modified through weinre on the PC, if the page is displayed on the set top box, the debugging mode can be better modified, and the processing of the set top box display compatibility problem, including page mode, fonts and layout, can be rapidly processed;
3) The local printing, namely the common debugging mode of the research and development of the control log (), mainly js execution debugging, can directly output the execution result at the PC end, is equivalent to the development of the set top box, changes the development of a PC page, and shortens the code debugging period to the greatest extent;
4) And (3) flow grabbing: the box flow packet grabbing device is equivalent to a main-stream packet grabbing tool, and can grab box flow packets without installing packet grabbing software and a professional packet grabbing switch required when grabbing packets.
Generally:
1. the set top box is mobile, connected and telecom, and accesses the corresponding network according to the routing table;
2. the router sets a route as a server B route as an on debugging mode;
3. the server A can access different access paths according to rules, the adjustable EPG accesses local services to facilitate debugging, and meanwhile, the installation of Whistle can carry out local debugging on EPG codes, which is similar to PC research and development debugging, and can also carry out set top box package grabbing.

Claims (1)

1. The online non-embedded debugging system of the set top box comprises at least one service machine, and is characterized in that: the server is connected to the router and monitors flow data, and is independently connected to the online platform in a networking way and is connected with the debugging PC through the online platform to form an independent connection path of the router and the debugging PC; the server or the online platform forwards the router monitoring data to the debugging PC according to a preset rule;
the server comprises a server A and a server B, wherein the server A is connected to an online platform in a network mode, the server B is connected to a router and monitors flow data, and the data between the server A and the server B are directly connected;
the server A is provided with a web debugging proxy tool and a proxy server, and the server B is provided with a proxy client;
the preset rule is configured on an online platform;
the debugging PC is connected with the online platform through the web, and the web debugging agent tool is Whistle;
the proxy server is a V2ray server, and the proxy client is a V2ray client;
the server A supports a plurality of inbound and outbound protocols and is used for receiving all traffic sent by a client;
the server B is a Linux server and integrates and uniformly forwards the flow transferred by the router;
the Whistle is used for checking and modifying requests and responses of HTTP and HTTPS, and can support matching of configuration domain names, paths, regular expressions and wildcards, so as to grab traffic packets of the set top box;
the local monitoring port is a port monitored by the v2ray client, the monitored port is set at the client, and the v2ray client is started to be connected to the v2ray server;
connecting the set top box to a public router, starting the set top box, acquiring a path accessed by the set top box through Whistle, or directing the access of the set top box to a local path through regular matching by an account number of the set top box; after the set top box is restarted or the first page is pressed, the set top box enters a local code, the local research and development of the debugging code can be carried out, and the code running effect can be seen on the set top box.
CN202111069245.6A 2021-09-13 2021-09-13 Online non-embedded debugging method for set top box Active CN113784117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111069245.6A CN113784117B (en) 2021-09-13 2021-09-13 Online non-embedded debugging method for set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111069245.6A CN113784117B (en) 2021-09-13 2021-09-13 Online non-embedded debugging method for set top box

Publications (2)

Publication Number Publication Date
CN113784117A CN113784117A (en) 2021-12-10
CN113784117B true CN113784117B (en) 2024-02-20

Family

ID=78843113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111069245.6A Active CN113784117B (en) 2021-09-13 2021-09-13 Online non-embedded debugging method for set top box

Country Status (1)

Country Link
CN (1) CN113784117B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534130A (en) * 2016-11-21 2017-03-22 深圳创维数字技术有限公司 Method and system for debugging set-top box based on embedded web

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10779056B2 (en) * 2016-04-14 2020-09-15 Contec, Llc Automated network-based test system for set top box devices
US11829277B2 (en) * 2019-03-21 2023-11-28 Dish Network Technologies India Private Limited Systems and methods for remote debugging

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534130A (en) * 2016-11-21 2017-03-22 深圳创维数字技术有限公司 Method and system for debugging set-top box based on embedded web

Also Published As

Publication number Publication date
CN113784117A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN107493344A (en) A kind of method and system of web access Docker containers
CN108600051B (en) BGP Anycast cluster service quality detection method and detection equipment
CN113794605A (en) Method, system and device for detecting kernel packet loss based on eBPF
CN112350854B (en) Flow fault positioning method, device, equipment and storage medium
CN112333044A (en) Shunting equipment performance test method, device and system, electronic equipment and medium
CN113938395A (en) Data analysis method, system, device and storage medium
CN113784117B (en) Online non-embedded debugging method for set top box
JP2004333186A (en) Remote support system of analyzer
CN112003747A (en) Fault positioning method of cloud virtual gateway
CN104125119A (en) Method and system for testing server
CN112463511B (en) Automatic test system and test method for serial port equipment of Internet of things
CN115776451A (en) Information acquisition method and device, electronic equipment and storage medium
KR100242422B1 (en) Method for diagonosing in on-lne state
CN113468045A (en) Test system, method and assembly for server batch configuration software
CN110784364B (en) Data monitoring method and device, storage medium and terminal
TW201929491A (en) Broadband subscriber lines malfunction testing system
CN115904388A (en) Application program protocol analysis method, device, equipment and storage medium
CN114338347A (en) Ampere platform-based fault information out-of-band acquisition method and device
CN113411214B (en) Operation maintenance method and device of base station equipment
KR20160105222A (en) Sdn-based network monitoring apparatus and method thereof
CN110244638B (en) Data monitoring device and method
CN114285774A (en) Flow recording method and device, electronic equipment and storage medium
CN114765633A (en) Network message analysis method and device based on train real-time Ethernet protocol
CN111193639A (en) Network quality detection processing method and system
CN113031569A (en) Monitoring method, system, terminal and medium of nuclear fusion control system

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