CN111263215A - Method and system for processing reported data of IPTV set top box - Google Patents
Method and system for processing reported data of IPTV set top box Download PDFInfo
- Publication number
- CN111263215A CN111263215A CN202010087832.7A CN202010087832A CN111263215A CN 111263215 A CN111263215 A CN 111263215A CN 202010087832 A CN202010087832 A CN 202010087832A CN 111263215 A CN111263215 A CN 111263215A
- Authority
- CN
- China
- Prior art keywords
- data packet
- transfer protocol
- hypertext transfer
- top box
- protocol data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012545 processing Methods 0.000 title claims abstract description 30
- 238000012546 transfer Methods 0.000 claims abstract description 144
- 238000012544 monitoring process Methods 0.000 claims abstract description 13
- 238000004891 communication Methods 0.000 claims description 14
- 238000012795 verification Methods 0.000 abstract description 18
- 238000010586 diagram Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a system for processing reported data of an IPTV set-top box, wherein the method comprises the following steps: establishing wireless network connection with an IPTV set top box, and monitoring a hypertext transfer protocol data packet of the IPTV set top box; judging whether the hypertext transfer protocol data packet is correct, if so, then: sending a hypertext transfer protocol data packet to a server; and forwarding a data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box. The method and the device can acquire the data reported by the data buried point of the set top box, automatically complete the verification of the data buried point, and process the data buried point according to the verification result, thereby improving the user experience.
Description
Technical Field
The invention relates to the technical field of IPTV (Internet protocol television) set top boxes, in particular to a method and a system for processing reported data of an IPTV set top box.
Background
At present, for testing reported data of a set top box, an infrared signal is mainly sent to the set top box through an analog infrared remote controller, and then a picture of the set top box is collected for analysis and judgment, so that automatic testing and processing of the reported data are completed. Therefore, the conventional method can only carry out automatic test on a UI (User Interface) layer of the set top box, and cannot test and process the buried point data packet in the set top box.
Therefore, how to effectively test and process the buried point data packet in the set-top box is an urgent problem to be solved.
Disclosure of Invention
In view of this, the present invention provides a method for processing data reported by an IPTV set-top box, which can obtain data reported by a data buried point of the set-top box, automatically complete verification of the data buried point, and process the data buried point according to a verification result, thereby improving user experience.
The invention provides a method for processing reported data of an IPTV set-top box, which comprises the following steps:
establishing wireless network connection with an IPTV set top box;
monitoring a hypertext transfer protocol data packet of the IPTV set-top box;
judging whether the hypertext transfer protocol data packet is correct, if so, then:
sending the hypertext transfer protocol data packet to a server;
and forwarding a data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
Preferably, the establishing of the wireless network connection with the IPTV set-top box includes:
connecting an IPTV private network by a point-to-point communication protocol of a wired network card Ethernet in a dialing manner;
and sharing the hot spot through the wireless network card, so that the IPTV set-top box is connected with the network through the wireless hot spot.
Preferably, the determining whether the http packet is correct includes:
judging whether the hypertext transfer protocol data packet is a buried point data packet, if so, then:
and comparing the monitored hypertext transfer protocol data packet with a preset file, and judging whether the hypertext transfer protocol data packet is consistent with the preset file.
Preferably, the determining whether the http packet is a buried point packet includes:
and judging whether the hypertext transfer protocol data packet contains a special field for representing the buried point data.
A processing system for reporting data of an IPTV set top box comprises:
the establishing module is used for establishing wireless network connection with the IPTV set top box;
the monitoring module is used for monitoring the hypertext transfer protocol data packet of the IPTV set-top box;
the judging module is used for judging whether the hypertext transfer protocol data packet is correct or not;
the sending module is used for sending the hypertext transfer protocol data packet to a server when the hypertext transfer protocol data packet is correct;
and the forwarding module is used for forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
Preferably, the establishing module is specifically configured to:
connecting an IPTV private network by a point-to-point communication protocol of a wired network card Ethernet in a dialing manner;
and sharing the hot spot through the wireless network card, so that the IPTV set-top box is connected with the network through the wireless hot spot.
Preferably, the determining module is specifically configured to:
judging whether the hypertext transfer protocol data packet is a buried point data packet, if so, then:
and comparing the monitored hypertext transfer protocol data packet with a preset file, and judging whether the hypertext transfer protocol data packet is consistent with the preset file.
Preferably, the determining module is specifically configured to:
and judging whether the hypertext transfer protocol data packet contains a special field for representing the buried point data.
In summary, the present invention discloses a method for processing data reported by an IPTV set-top box, when data reported by the IPTV set-top box needs to be processed, a wireless network connection with the IPTV set-top box is first established, then a hypertext transfer protocol data packet of the IPTV set-top box is monitored, whether the hypertext transfer protocol data packet is correct is judged, if yes, then: and sending the hypertext transfer protocol data packet to the server, and forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box. The method and the device can acquire the data reported by the data buried point of the set top box, automatically complete the verification of the data buried point, and process the data buried point according to the verification result, thereby improving the user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method in an embodiment 1 of a method for processing reported data of an IPTV set-top box according to the present invention;
fig. 2 is a flowchart of a method of an embodiment 2 of a method for processing reported data of an IPTV set-top box according to the present invention;
fig. 3 is a flowchart of a method of an embodiment 3 of a method for processing reported data of an IPTV set-top box according to the present invention;
fig. 4 is a schematic structural diagram of a system for processing reported data of an IPTV set-top box according to an embodiment 1 of the present invention;
fig. 5 is a schematic structural diagram of a system for processing reported data of an IPTV set-top box according to an embodiment 2 of the present invention;
fig. 6 is a schematic structural diagram of a system for processing reported data of an IPTV set-top box according to an embodiment 3 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the method is a flowchart of a method in embodiment 1 of a method for processing reported data of an IPTV set-top box, and the method is applied to a PC device connected between the IPTV set-top box and a server, where the PC device includes a HTTP (hypertext Transfer Protocol) proxy server, and the method may include the following steps:
s101, establishing wireless network connection with an IPTV set top box;
when the data reported by the IPTV set-top box needs to be processed, firstly, the wireless network connection between the PC equipment and the IPTV set-top box is established.
S102, monitoring a hypertext transfer protocol data packet of the IPTV set-top box;
after establishing wireless network connection with an IPTV set-top box, configuring an HTTP proxy on the IPTV set-top box, wherein the proxy address points to the IP address and a certain port of the PC equipment, and an HTTP proxy server in the PC equipment continuously monitors the port to realize capturing of hypertext transfer protocol data packets.
S103, judging whether the hypertext transfer protocol data packet is correct or not, if so, entering S104:
after the hypertext transfer protocol data packet of the IPTV set-top box is monitored, the accuracy of the hypertext transfer protocol data packet is further judged.
S104, sending a hypertext transfer protocol data packet to a server;
when the hypertext transfer protocol data packet is judged to be correct, the HTTP proxy server in the PC equipment further sends the monitored hypertext transfer protocol data packet to the server.
S105, forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
After receiving the hypertext transfer protocol data packet sent by the HTTP proxy server in the PC equipment, the server further returns a corresponding data packet according to the received hypertext transfer protocol data packet. For example, return request play address, etc. After receiving the data packet returned by the server, the HTTP proxy server in the PC device further forwards the data packet to the IPTV set-top box, so as to implement processing of data reported by the IPTV set-top box.
To sum up, in the above embodiment, when data reported by the IPTV set-top box needs to be processed, a wireless network connection with the IPTV set-top box is first established, then a hypertext transfer protocol data packet of the IPTV set-top box is monitored, and whether the hypertext transfer protocol data packet is correct is determined, if yes, then: and sending the hypertext transfer protocol data packet to the server, and forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box. The method and the device can acquire the data reported by the data buried point of the set top box, automatically complete the verification of the data buried point, and process the data buried point according to the verification result, thereby improving the user experience.
As shown in fig. 2, the method is a flowchart of a method in embodiment 2 of a method for processing reported data of an IPTV set-top box, and the method is applied to a PC device connected between the IPTV set-top box and a server, where the PC device includes a HTTP (hypertext Transfer Protocol) proxy server, and the method may include the following steps:
s201, connecting an IPTV private network by dialing through a point-to-point communication protocol of a wired network card Ethernet;
when the data reported by the IPTV set-top box needs to be processed, firstly, the wireless network connection between the PC equipment and the IPTV set-top box is established.
Specifically, when establishing the wireless network connection between the PC device and the IPTV set-top box, the PC is first connected to the IPTV private network through a point-to-point communication protocol of the wired network card ethernet.
S202, sharing the hotspots through the wireless network card so that the IPTV set-top box is connected with a network through the wireless hotspots;
then, the PC equipment shares the hot spot through the wireless network card, and the hot spot shares the internet through the wired network card; the IPTV set-top box is connected to the hot spot of the PC device through the wireless network card so as to realize the wireless network connection between the PC device and the IPTV set-top box.
S203, monitoring a hypertext transfer protocol data packet of the IPTV set-top box;
after establishing wireless network connection with an IPTV set-top box, configuring an HTTP proxy on the IPTV set-top box, wherein the proxy address points to the IP address and a certain port of the PC equipment, and an HTTP proxy server in the PC equipment continuously monitors the port to realize capturing of hypertext transfer protocol data packets.
S204, judging whether the hypertext transfer protocol data packet is correct, if so, entering S205:
after the hypertext transfer protocol data packet of the IPTV set-top box is monitored, the accuracy of the hypertext transfer protocol data packet is further judged.
S205, sending a hypertext transfer protocol data packet to a server;
when the hypertext transfer protocol data packet is judged to be correct, the HTTP proxy server in the PC equipment further sends the monitored hypertext transfer protocol data packet to the server.
S206, forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
After receiving the hypertext transfer protocol data packet sent by the HTTP proxy server in the PC equipment, the server further returns a corresponding data packet according to the received hypertext transfer protocol data packet. For example, return request play address, etc. After receiving the data packet returned by the server, the HTTP proxy server in the PC device further forwards the data packet to the IPTV set-top box, so as to implement processing of data reported by the IPTV set-top box.
To sum up, in the above embodiments, when data reported by the IPTV set-top box needs to be processed, first, the IPTV private network is connected through a point-to-point communication protocol of the wired network card ethernet by dialing, and the hotspot is shared through the wireless network card, so that the IPTV set-top box is connected to the network through the wireless hotspot, then a hypertext transfer protocol data packet of the IPTV set-top box is monitored, and whether the hypertext transfer protocol data packet is correct is determined, if yes, then: and sending the hypertext transfer protocol data packet to the server, and forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box. The method and the device can acquire the data reported by the data buried point of the set top box, automatically complete the verification of the data buried point, and process the data buried point according to the verification result, thereby improving the user experience.
As shown in fig. 3, the method is a flowchart of a method in embodiment 3 of a method for processing reported data of an IPTV set-top box, and the method is applied to a PC device connected between the IPTV set-top box and a server, where the PC device includes a HTTP (hypertext Transfer Protocol) proxy server, and the method may include the following steps:
s301, connecting an IPTV private network by dialing through a point-to-point communication protocol of a wired network card Ethernet;
when the data reported by the IPTV set-top box needs to be processed, firstly, the wireless network connection between the PC equipment and the IPTV set-top box is established.
Specifically, when establishing the wireless network connection between the PC device and the IPTV set-top box, the PC is first connected to the IPTV private network through a point-to-point communication protocol of the wired network card ethernet.
S302, sharing the hot spot through the wireless network card so that the IPTV set top box is connected with a network through the wireless hot spot;
then, the PC equipment shares the hot spot through the wireless network card, and the hot spot shares the internet through the wired network card; the IPTV set-top box is connected to the hot spot of the PC device through the wireless network card so as to realize the wireless network connection between the PC device and the IPTV set-top box.
S303, monitoring a hypertext transfer protocol data packet of the IPTV set-top box;
after establishing wireless network connection with an IPTV set-top box, configuring an HTTP proxy on the IPTV set-top box, wherein the proxy address points to the IP address and a certain port of the PC equipment, and an HTTP proxy server in the PC equipment continuously monitors the port to realize capturing of hypertext transfer protocol data packets.
S304, judging whether the hypertext transfer protocol data packet is a buried point data packet, if so, entering S305;
after the hypertext transfer protocol data packet of the IPTV set-top box is monitored, the accuracy of the hypertext transfer protocol data packet is further judged.
Specifically, first, it is determined whether the http packet is a buried data packet. When determining whether the http packet is a buried point packet, the data of the buried point usually includes some special terminals, such as: and when the hypertext transfer protocol data packet contains the special field of the characteristic buried point data, the hypertext transfer protocol data packet is the buried point data packet.
S305, comparing the monitored hypertext transfer protocol data packet with a preset file, judging whether the hypertext transfer protocol data packet is consistent with the preset file, if so, entering S306:
and when the hypertext transfer protocol data packet is the buried point data packet, comparing the monitored hypertext transfer protocol data packet with a preset file, and judging whether the hypertext transfer protocol data packet is consistent with the preset file. For example, when the data sent by the IPTV set-top box is ip: 8888? and a is 1& b is 2, the locally submitted preset file is a 1& b is 2, and the hypertext transfer protocol data packet is consistent with the preset file.
S306, sending a hypertext transfer protocol data packet to a server;
when the hypertext transfer protocol data packet is judged to be correct, the HTTP proxy server in the PC equipment further sends the monitored hypertext transfer protocol data packet to the server.
S307, forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
After receiving the hypertext transfer protocol data packet sent by the HTTP proxy server in the PC equipment, the server further returns a corresponding data packet according to the received hypertext transfer protocol data packet. For example, return request play address, etc. After receiving the data packet returned by the server, the HTTP proxy server in the PC device further forwards the data packet to the IPTV set-top box, so as to implement processing of data reported by the IPTV set-top box.
In summary, the method and the device can acquire the data reported by the data embedded point of the set top box, automatically complete verification of the data embedded point, and process the data embedded point according to the verification result, thereby improving user experience.
As shown in fig. 4, the structural schematic diagram of an embodiment 1 of a system for processing data reported by an IPTV set-top box disclosed in the present invention is a system, where the system is applied to a PC device connected between the IPTV set-top box and a server, and the PC device includes an HTTP (Hyper Text Transfer Protocol) proxy server, and the system may include:
an establishing module 401, configured to establish a wireless network connection with an IPTV set-top box;
when the data reported by the IPTV set-top box needs to be processed, firstly, the wireless network connection between the PC equipment and the IPTV set-top box is established.
A monitoring module 402, configured to monitor a hypertext transfer protocol data packet of the IPTV set-top box;
after establishing wireless network connection with an IPTV set-top box, configuring an HTTP proxy on the IPTV set-top box, wherein the proxy address points to the IP address and a certain port of the PC equipment, and an HTTP proxy server in the PC equipment continuously monitors the port to realize capturing of hypertext transfer protocol data packets.
A judging module 403, configured to judge whether the hypertext transfer protocol data packet is correct;
after the hypertext transfer protocol data packet of the IPTV set-top box is monitored, the accuracy of the hypertext transfer protocol data packet is further judged.
A sending module 404, configured to send the http packet to the server when the http packet is correct;
when the hypertext transfer protocol data packet is judged to be correct, the HTTP proxy server in the PC equipment further sends the monitored hypertext transfer protocol data packet to the server.
A forwarding module 405, configured to forward a data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box.
After receiving the hypertext transfer protocol data packet sent by the HTTP proxy server in the PC equipment, the server further returns a corresponding data packet according to the received hypertext transfer protocol data packet. For example, return request play address, etc. After receiving the data packet returned by the server, the HTTP proxy server in the PC device further forwards the data packet to the IPTV set-top box, so as to implement processing of data reported by the IPTV set-top box.
To sum up, in the above embodiment, when data reported by the IPTV set-top box needs to be processed, a wireless network connection with the IPTV set-top box is first established, then a hypertext transfer protocol data packet of the IPTV set-top box is monitored, and whether the hypertext transfer protocol data packet is correct is determined, if yes, then: and sending the hypertext transfer protocol data packet to the server, and forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box. The method and the device can acquire the data reported by the data buried point of the set top box, automatically complete the verification of the data buried point, and process the data buried point according to the verification result, thereby improving the user experience.
As shown in fig. 5, the structural schematic diagram of an embodiment 2 of a system for processing data reported by an IPTV set-top box disclosed in the present invention is a system, where the system is applied to a PC device connected between the IPTV set-top box and a server, and the PC device includes an HTTP (Hyper Text Transfer Protocol) proxy server, and the system may include:
the establishing module 501 is used for dial-up connection with an IPTV private network through a point-to-point communication protocol of a wired network card Ethernet;
when the data reported by the IPTV set-top box needs to be processed, firstly, the wireless network connection between the PC equipment and the IPTV set-top box is established.
Specifically, when establishing the wireless network connection between the PC device and the IPTV set-top box, the PC is first connected to the IPTV private network through a point-to-point communication protocol of the wired network card ethernet.
The establishing module 501 is further configured to share a hotspot through a wireless network card, so that the IPTV set-top box is connected to a network through the wireless hotspot;
then, the PC equipment shares the hot spot through the wireless network card, and the hot spot shares the internet through the wired network card; the IPTV set-top box is connected to the hot spot of the PC device through the wireless network card so as to realize the wireless network connection between the PC device and the IPTV set-top box.
A monitoring module 502, configured to monitor a hypertext transfer protocol data packet of the IPTV set-top box;
after establishing wireless network connection with an IPTV set-top box, configuring an HTTP proxy on the IPTV set-top box, wherein the proxy address points to the IP address and a certain port of the PC equipment, and an HTTP proxy server in the PC equipment continuously monitors the port to realize capturing of hypertext transfer protocol data packets.
A judging module 503, configured to judge whether the hypertext transfer protocol data packet is correct;
after the hypertext transfer protocol data packet of the IPTV set-top box is monitored, the accuracy of the hypertext transfer protocol data packet is further judged.
A sending module 504, configured to send the http packet to the server when the http packet is correct;
when the hypertext transfer protocol data packet is judged to be correct, the HTTP proxy server in the PC equipment further sends the monitored hypertext transfer protocol data packet to the server.
A forwarding module 505, configured to forward a data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box.
After receiving the hypertext transfer protocol data packet sent by the HTTP proxy server in the PC equipment, the server further returns a corresponding data packet according to the received hypertext transfer protocol data packet. For example, return request play address, etc. After receiving the data packet returned by the server, the HTTP proxy server in the PC device further forwards the data packet to the IPTV set-top box, so as to implement processing of data reported by the IPTV set-top box.
To sum up, in the above embodiments, when data reported by the IPTV set-top box needs to be processed, first, the IPTV private network is connected through a point-to-point communication protocol of the wired network card ethernet by dialing, and the hotspot is shared through the wireless network card, so that the IPTV set-top box is connected to the network through the wireless hotspot, then a hypertext transfer protocol data packet of the IPTV set-top box is monitored, and whether the hypertext transfer protocol data packet is correct is determined, if yes, then: and sending the hypertext transfer protocol data packet to the server, and forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set-top box. The method and the device can acquire the data reported by the data buried point of the set top box, automatically complete the verification of the data buried point, and process the data buried point according to the verification result, thereby improving the user experience.
As shown in fig. 6, which is a schematic structural diagram of a processing system embodiment 3 for processing data reported by an IPTV set-top box disclosed in the present invention, the system is applied to a PC device connected between the IPTV set-top box and a server, where the PC device includes a HTTP (Hyper Text Transfer Protocol) proxy server, and the system may include:
the establishing module 601 is used for dial-up connection with an IPTV private network through a point-to-point communication protocol of a wired network card Ethernet;
when the data reported by the IPTV set-top box needs to be processed, firstly, the wireless network connection between the PC equipment and the IPTV set-top box is established.
Specifically, when establishing the wireless network connection between the PC device and the IPTV set-top box, the PC is first connected to the IPTV private network through a point-to-point communication protocol of the wired network card ethernet.
The establishing module 601 is further configured to share the hotspot through the wireless network card, so that the IPTV set-top box is connected to the network through the wireless hotspot;
then, the PC equipment shares the hot spot through the wireless network card, and the hot spot shares the internet through the wired network card; the IPTV set-top box is connected to the hot spot of the PC device through the wireless network card so as to realize the wireless network connection between the PC device and the IPTV set-top box.
A monitoring module 602, configured to monitor a hypertext transfer protocol data packet of the IPTV set-top box;
after establishing wireless network connection with an IPTV set-top box, configuring an HTTP proxy on the IPTV set-top box, wherein the proxy address points to the IP address and a certain port of the PC equipment, and an HTTP proxy server in the PC equipment continuously monitors the port to realize capturing of hypertext transfer protocol data packets.
A judging module 603, configured to judge whether the hypertext transfer protocol data packet is a buried point data packet;
after the hypertext transfer protocol data packet of the IPTV set-top box is monitored, the accuracy of the hypertext transfer protocol data packet is further judged.
Specifically, first, it is determined whether the http packet is a buried data packet. When determining whether the http packet is a buried point packet, the data of the buried point usually includes some special terminals, such as: and when the hypertext transfer protocol data packet contains the special field of the characteristic buried point data, the hypertext transfer protocol data packet is the buried point data packet.
The determining module 603 is further configured to compare the monitored hypertext transfer protocol data packet with a preset file, and determine whether the hypertext transfer protocol data packet is consistent with the preset file;
and when the hypertext transfer protocol data packet is the buried point data packet, comparing the monitored hypertext transfer protocol data packet with a preset file, and judging whether the hypertext transfer protocol data packet is consistent with the preset file. For example, when the data sent by the IPTV set-top box is ip: 8888? and a is 1& b is 2, the locally submitted preset file is a 1& b is 2, and the hypertext transfer protocol data packet is consistent with the preset file.
A sending module 604, configured to send the http packet to the server when the http packet is correct;
when the hypertext transfer protocol data packet is judged to be correct, the HTTP proxy server in the PC equipment further sends the monitored hypertext transfer protocol data packet to the server.
A forwarding module 605, configured to forward a packet returned by the server based on the hypertext transfer protocol packet to the IPTV set-top box.
After receiving the hypertext transfer protocol data packet sent by the HTTP proxy server in the PC equipment, the server further returns a corresponding data packet according to the received hypertext transfer protocol data packet. For example, return request play address, etc. After receiving the data packet returned by the server, the HTTP proxy server in the PC device further forwards the data packet to the IPTV set-top box, so as to implement processing of data reported by the IPTV set-top box.
In summary, the method and the device can acquire the data reported by the data embedded point of the set top box, automatically complete verification of the data embedded point, and process the data embedded point according to the verification result, thereby improving user experience.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A method for processing reported data of an IPTV set top box is characterized by comprising the following steps:
establishing wireless network connection with an IPTV set top box;
monitoring a hypertext transfer protocol data packet of the IPTV set-top box;
judging whether the hypertext transfer protocol data packet is correct, if so, then:
sending the hypertext transfer protocol data packet to a server;
and forwarding a data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
2. The method of claim 1, wherein the establishing a wireless network connection with an IPTV set-top box comprises:
connecting an IPTV private network by a point-to-point communication protocol of a wired network card Ethernet in a dialing manner;
and sharing the hot spot through the wireless network card, so that the IPTV set-top box is connected with the network through the wireless hot spot.
3. The method of claim 1, wherein said determining whether the http packet is correct comprises:
judging whether the hypertext transfer protocol data packet is a buried point data packet, if so, then:
and comparing the monitored hypertext transfer protocol data packet with a preset file, and judging whether the hypertext transfer protocol data packet is consistent with the preset file.
4. The method of claim 3, wherein said determining whether said hypertext transfer protocol packet is a buried data packet comprises:
and judging whether the hypertext transfer protocol data packet contains a special field for representing the buried point data.
5. A processing system for reporting data of an IPTV set top box is characterized by comprising:
the establishing module is used for establishing wireless network connection with the IPTV set top box;
the monitoring module is used for monitoring the hypertext transfer protocol data packet of the IPTV set-top box;
the judging module is used for judging whether the hypertext transfer protocol data packet is correct or not;
the sending module is used for sending the hypertext transfer protocol data packet to a server when the hypertext transfer protocol data packet is correct;
and the forwarding module is used for forwarding the data packet returned by the server based on the hypertext transfer protocol data packet to the IPTV set top box.
6. The system of claim 5, wherein the establishing module is specifically configured to:
connecting an IPTV private network by a point-to-point communication protocol of a wired network card Ethernet in a dialing manner;
and sharing the hot spot through the wireless network card, so that the IPTV set-top box is connected with the network through the wireless hot spot.
7. The system of claim 5, wherein the determining module is specifically configured to:
judging whether the hypertext transfer protocol data packet is a buried point data packet, if so, then:
and comparing the monitored hypertext transfer protocol data packet with a preset file, and judging whether the hypertext transfer protocol data packet is consistent with the preset file.
8. The system of claim 7, wherein the determining module is specifically configured to:
and judging whether the hypertext transfer protocol data packet contains a special field for representing the buried point data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010087832.7A CN111263215A (en) | 2020-02-12 | 2020-02-12 | Method and system for processing reported data of IPTV set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010087832.7A CN111263215A (en) | 2020-02-12 | 2020-02-12 | Method and system for processing reported data of IPTV set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111263215A true CN111263215A (en) | 2020-06-09 |
Family
ID=70951348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010087832.7A Pending CN111263215A (en) | 2020-02-12 | 2020-02-12 | Method and system for processing reported data of IPTV set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111263215A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112118458A (en) * | 2020-08-21 | 2020-12-22 | 烽火通信科技股份有限公司 | Video distribution method and system based on fusion terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915296A (en) * | 2015-06-29 | 2015-09-16 | 北京金山安全软件有限公司 | Buried point testing method, data query method and device |
CN105100913A (en) * | 2014-05-22 | 2015-11-25 | 中兴通讯股份有限公司 | Video accessing method, system thereof, set-top-box, proxy server and media server |
US20180048724A1 (en) * | 2015-04-22 | 2018-02-15 | Alibaba Group Holding Limited | Data Collecting Method, System, Terminal, and Server |
CN109960651A (en) * | 2019-02-13 | 2019-07-02 | 北京达佳互联信息技术有限公司 | Bury a test method, system, device and computer readable storage medium |
-
2020
- 2020-02-12 CN CN202010087832.7A patent/CN111263215A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100913A (en) * | 2014-05-22 | 2015-11-25 | 中兴通讯股份有限公司 | Video accessing method, system thereof, set-top-box, proxy server and media server |
US20180048724A1 (en) * | 2015-04-22 | 2018-02-15 | Alibaba Group Holding Limited | Data Collecting Method, System, Terminal, and Server |
CN104915296A (en) * | 2015-06-29 | 2015-09-16 | 北京金山安全软件有限公司 | Buried point testing method, data query method and device |
CN109960651A (en) * | 2019-02-13 | 2019-07-02 | 北京达佳互联信息技术有限公司 | Bury a test method, system, device and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112118458A (en) * | 2020-08-21 | 2020-12-22 | 烽火通信科技股份有限公司 | Video distribution method and system based on fusion terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109660593B (en) | Internet of things platform access management method, device and system | |
US11184411B2 (en) | Communication terminal, communication system, log data transmission method, and non-transitory computer-readable medium | |
CN103024462B (en) | Method for network detection and digital terminal | |
CN113259375B (en) | Video service response method and electronic equipment | |
CN114650592A (en) | Wireless network time delay processing method, system and access server | |
CN108235111B (en) | Information sharing method and intelligent set top box | |
US20170171698A1 (en) | Near Field Discovery Method, User Equipment, and Storage Medium | |
CN107294910B (en) | Login method and server | |
CN101980508B (en) | Network adaptive operation mode on network monitoring system | |
CN111263215A (en) | Method and system for processing reported data of IPTV set top box | |
CN104040989B (en) | Gateway, and corresponding method, computer program and storage device | |
JP2009230256A (en) | Communication controller, communication control method and communication control program | |
CN104079953B (en) | The method and system of operation is shared based on video information | |
KR101518470B1 (en) | Method for detecting a number of the devices of a plurality of client terminals selected by a web server from the internet request traffics sharing the public IP address and System for detecting selectively the same | |
CN110166518B (en) | Session information transmission method, device, storage medium and electronic device | |
CN108366122B (en) | Code scanning login system, server and method | |
WO2016177237A1 (en) | Playing control method and device | |
CN105721231B (en) | A kind of quality of service perception detection method and device | |
CN111901648B (en) | Data sharing method and related device | |
CN113595894B (en) | Communication method, device, equipment and medium between service nodes and client nodes | |
CN113411228B (en) | Network condition determining method and server | |
CN111049741B (en) | Method for improving communication reliability, communication system and terminal equipment | |
CN105163335B (en) | A kind of network access management method, server, mobile terminal and system | |
CN109547289B (en) | Method, storage device and system for intelligently scheduling visitor flow | |
CN105634810B (en) | method and system for accessing universal plug and play device and access device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200609 |