CN117440193A - Data forwarding method, device and system, interactive network television and storage medium - Google Patents

Data forwarding method, device and system, interactive network television and storage medium Download PDF

Info

Publication number
CN117440193A
CN117440193A CN202210836745.6A CN202210836745A CN117440193A CN 117440193 A CN117440193 A CN 117440193A CN 202210836745 A CN202210836745 A CN 202210836745A CN 117440193 A CN117440193 A CN 117440193A
Authority
CN
China
Prior art keywords
data packet
local area
area network
virtual local
forwarded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210836745.6A
Other languages
Chinese (zh)
Inventor
许松清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Shierwo Electronic Technology Co ltd
Original Assignee
Xiamen Shierwo Electronic 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 Xiamen Shierwo Electronic Technology Co ltd filed Critical Xiamen Shierwo Electronic Technology Co ltd
Priority to CN202210836745.6A priority Critical patent/CN117440193A/en
Publication of CN117440193A publication Critical patent/CN117440193A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data forwarding method, a device, a system, an interactive network television and a storage medium, wherein the method comprises the following steps: receiving at least one data packet; screening each data packet according to a predetermined data forwarding mode to determine the data packet to be forwarded; if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded; and performing label removal processing on the target data packet and sending the target data packet to a main control system of the interactive network television. The method solves the problem that the IPTV system cannot receive the data packet with the virtual local area network tag, removes the virtual local area network tag from the target data packet by determining the target data packet with the virtual local area network tag, obtains the data packet which can be received by the IPTV system, expands the application scene of the IPTV system, meets the actual use requirements of users, does not need to change the main control system scheme of the interactive network television, reduces the development cost, and saves the development time and period.

Description

Data forwarding method, device and system, interactive network television and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data forwarding method, device, system, interactive network television, and storage medium.
Background
The IPTV of the interactive network television is widely applied in the business application fields of hotels and the like, and has various IPTV networking modes, so that the IPTV receiver can adapt to different networking modes and can be accepted and used by more clients. The conventional IPTV system can only receive the data of the tag without Virtual Local Area Network (VLAN) networking information, and cannot process the data of the tag with VLAN networking information. IPTV system can not support VLAN networking data packet, has great limitation in use.
Disclosure of Invention
The invention provides a data forwarding method, a device, a system, an interactive network television and a storage medium, which are used for solving the problem that an IPTV system cannot support VLAN networking data packets.
According to an aspect of the present invention, there is provided a data forwarding method, including:
receiving at least one data packet;
screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded;
if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded;
And performing label removal processing on the target data packet and sending the target data packet to a main control system of the interactive network television.
According to another aspect of the present invention, there is provided a data forwarding apparatus including:
the first data packet receiving module is used for receiving at least one data packet;
the data packet screening module is used for screening each data packet according to a predetermined data forwarding mode and determining the data packet to be forwarded;
the target data packet determining module is used for determining the target data packet according to each data packet to be forwarded if each data packet to be forwarded has a virtual local area network label;
and the first forwarding module is used for performing label removal processing on the virtual local area network labels on the target data packet and sending the target data packet to a main control system of the interactive network television.
According to another aspect of the present invention, there is provided a data forwarding system, the system comprising: the system comprises a data forwarding device, a main control system of an interactive network television and a networking server, wherein the main control system comprises: a packet analysis device;
the networking server is used for sending a data packet to the data forwarding device;
the data forwarding device is used for receiving at least one data packet; screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded; if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded; and performing label removal processing on the target data packet, and sending the target data packet to a data packet analysis device of a main control system of the interactive network television.
According to another aspect of the present invention, there is provided an interactive web tv including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data forwarding method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a data forwarding method according to any of the embodiments of the present invention when executed.
According to the technical scheme, at least one data packet is received; screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded; if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded; the target data packet is subjected to label removal processing of the virtual local area network label and is sent to a main control system of the IPTV, the problem that the IPTV system cannot receive the data packet with the virtual local area network label is solved, the data packet is screened through a preset data forwarding mode to obtain a data packet to be forwarded, whether the data packet to be forwarded has the virtual local area network label is judged, if yes, the target data packet is determined according to the data packet to be forwarded, the virtual local area network label is removed from the target data packet, the target data packet is converted into the data packet which can be received by the IPTV system and is sent to the main control system, the application scene of the IPTV system is expanded, the actual use requirement of a user is met, the main control system scheme of the IPTV is not required to be changed, the development cost is reduced, and the development time and period are saved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data forwarding method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a data forwarding method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data forwarding device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data forwarding system according to a fourth embodiment of the present invention;
fig. 5 is a diagram showing an example of the structure of a data forwarding system according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an interactive internet protocol television implementing a data forwarding method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a data forwarding method according to an embodiment of the present invention, where the method may be performed by a data forwarding device, and the data forwarding device may be implemented in hardware and/or software, and the data forwarding device may be configured in an interactive internet protocol television. As shown in fig. 1, the method includes:
s101, receiving at least one data packet.
In this embodiment, the data in the data packet is usually a network streaming media signal, and the IPTV system is enabled to play video and audio by providing the data packet to the IPTV system. The packets come from different networks and therefore may or may not carry VLAN tags. The networking server can send different networking data packets, and the execution main body receives the data packets sent by the networking server, wherein the number of the data packets can be one or a plurality of data packets.
S102, screening each data packet according to a predetermined data forwarding mode, and determining at least one data packet to be forwarded.
In this embodiment, the data forwarding mode may be specifically understood as a type of a data packet forwarded by the executing body to the interactive network television, where the type of the data packet includes a virtual local area network tag and a virtual local area network tag not, that is, the data forwarding mode specifies whether the data packet forwarded by the executing body to the interactive network television carries the virtual local area network tag. A data packet to be forwarded is to be understood as a data packet with forwarding requirements.
The data forwarding mode is preset, and can be set by a user or automatically determined by the networking connected with the interactive network television. For example, the interactive network television is connected to the network at the time of installation, and the user or the network administrator selects a corresponding data forwarding mode in the setting of the interactive network television to realize the setting of the data forwarding mode. After the data forwarding mode is determined, the type of the data packet processed by the data forwarding mode is correspondingly determined, so that the data packet is screened according to the data forwarding mode, and the data packet to be forwarded, which is matched with the data forwarding mode, is determined.
It is to be noted that when the number of the data packets in the application is one, screening the data packets to determine whether the data packets are matched with the data forwarding mode, and if so, taking the data packets as the data packets to be forwarded; if not, the data packet to be forwarded does not exist, and the data packet is not processed at the moment and is waited to be received again. When the number of the data packets is more than one, the data packets are screened, the data packets matched with the data forwarding mode in the data packets are determined and used as the data packets to be forwarded, the number of the data packets to be forwarded at the moment can be 0, 1 or more, if the number of the data packets to be forwarded is 0, the data packets which are not matched with the data forwarding mode are determined, the data packets are not processed, and the data packets are waited to be received again. And when the number of the data packets is not 0, processing each data packet, and forwarding the data packet to a main control system of the interactive network television.
S103, if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded.
In this embodiment, the target data packet may be specifically understood as a data packet that needs to be forwarded to the main control system of the interactive internet protocol television.
Judging whether the data packet to be forwarded has a virtual local area network tag or not, if so, the IPTV system of the data packet to be forwarded cannot directly receive the data packet, and the executing equipment needs to process the data packet to be forwarded and then forward the data packet correspondingly. Filtering conditions are preset, each data packet to be forwarded is filtered, and the data packets to be forwarded meeting the conditions are determined to be target data packets. The filtering condition may be a packet size, time, virtual local area network identification of the packet, etc.
S104, performing label removal processing on the target data packet and sending the target data packet to a main control system of the interactive network television.
And removing the virtual local area network tag of the target data packet to obtain the target data packet which does not contain the virtual local area network identifier and sending the target data packet to the main control system of the interactive network television so that the main control system of the interactive network television processes the received target data packet and the condition that the received target data packet containing the virtual local area network identifier cannot be processed is avoided.
The embodiment of the application provides a data forwarding method, which is implemented by receiving at least one data packet; screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded; if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded; the target data packet is subjected to label removal processing of the virtual local area network label and is sent to a main control system of the IPTV, the problem that the IPTV system cannot receive the data packet with the virtual local area network label is solved, the data packet is screened through a preset data forwarding mode to obtain a data packet to be forwarded, whether the data packet to be forwarded has the virtual local area network label is judged, if yes, the target data packet is determined according to the data packet to be forwarded, the virtual local area network label is removed from the target data packet, the target data packet is converted into the data packet which can be received by the IPTV system and is sent to the main control system, the application scene of the IPTV system is expanded, the actual use requirement of a user is met, the main control system scheme of the IPTV is not required to be changed, the development cost is reduced, and the development time and period are saved.
Example two
Fig. 2 is a flowchart of a data forwarding method according to a second embodiment of the present invention, where the data forwarding method is refined based on the foregoing embodiment. As shown in fig. 2, the method includes:
s201, at least one data packet is received.
S202, determining whether each data packet has a virtual local area network tag.
Analyzing the data packet, judging whether the data packet has a field of a virtual local area network tag, if so, determining that the data packet has the virtual local area network tag; otherwise, it is determined that the data packet does not have a virtual local area network.
S203, when the data forwarding mode is a virtual local area network-free mode, determining the data packet without the virtual local area network tag as the data packet to be forwarded.
And determining a data forwarding mode, wherein if the data forwarding mode is a virtual local area network-free mode, the data required by the interactive network television is data without a virtual local area network tag, and determining the data packet without the virtual local area network tag as a data packet to be forwarded.
S204, when the data forwarding mode is the virtual local area network mode, the data packet with the virtual local area network label is determined to be the data packet to be forwarded.
If the data forwarding mode is the virtual local area network mode, the data required by the interactive network television is the data with the virtual local area network label, and the data packet with the virtual local area network label is determined to be the data packet to be forwarded.
S205, judging whether each data packet to be forwarded has a virtual local area network label, if so, executing S206; otherwise, S209 is performed.
S206, determining the target virtual local area network identification of the data packet to be forwarded according to each data packet to be forwarded.
In this embodiment, the target vlan id may be specifically understood as a vlan id corresponding to the data packet to be forwarded. The data packet is identified by the identified virtual local area network at the transmitting end, and is used for indicating which virtual local area network the data packet is sent out. After determining the data packet to be forwarded, judging whether the data packet to be forwarded has a virtual local area network label, if so, analyzing each data packet to be forwarded, analyzing the corresponding fields to obtain a virtual local area network identifier, and determining the virtual local area network identifier to be a target virtual local area network identifier corresponding to the data packet.
S207, if the target VLAN ID is matched with the VLAN ID in the VLAN ID set, the data packet to be forwarded is determined as the target data packet.
And generating a virtual local area network identification set in advance, wherein the virtual local area network identification set is determined according to the received virtual local area network identification sent by the master control system. The virtual local area network identifier sent by the main control system can be set by a user, the user inputs the virtual local area network identifier through an interactive interface of the interactive network television, or one or more virtual local area network identifiers are displayed on the interactive interface, and the user selects the virtual local area network identifier through modes of clicking, double clicking, sliding, scrolling and the like and then sends the virtual local area network identifier to the execution main body through the main control system. The number of the virtual local area network identifiers in the virtual local area network identifier set can be one or a plurality of virtual local area network identifiers.
And matching the target virtual local area network identifier with each virtual local area network identifier in the virtual local area network identifier set, if so, determining that the data packet to be forwarded is a data packet required by a main control system of the interactive network television, and determining the data packet to be forwarded as the target data packet. If the target VLAN ID cannot be matched with any VLAN ID in the VLAN ID set, discarding the data packet to be forwarded.
As an alternative embodiment of the present embodiment, the further optimization of the present alternative embodiment includes the steps of:
a1, if a virtual local area network closing signal sent by a main control system is received, setting a data forwarding mode to be a virtual local area network-free mode.
In this embodiment, the vlan close signal may be specifically understood as indicating that the executing device forwards data without a vlan tag to the host system. The VLAN OFF signal may be VLAN OFF, indicating that the transmission of data with the VLAN tag is turned OFF.
After the interactive network television is installed, a user can set whether the received data packet has a virtual local area network tag according to the actually connected network, the user requirement and the like. When the interactive network television needs to receive the data packet without the virtual local area network tag, the virtual local area network closing signal is sent through the main control system, after the executing device receives the virtual local area network closing signal sent by the main control system, the executing device can determine that the main control system receives the data packet without the virtual local area network tag when receiving the data subsequently, and at the moment, the data forwarding mode is set to be the non-virtual local area network mode, and the data packet with the virtual local area network tag is filtered.
A2, if at least one virtual local area network identifier sent by the main control system is received, setting the data forwarding mode as a virtual local area network mode, and storing each virtual local area network identifier to form a virtual local area network identifier set.
When the interactive network television needs to receive the data packet with the virtual local area network label, the virtual local area network label which needs to be received is determined, and the number of the virtual local area network labels is one or more. The virtual local area network identifier can be set by a user, and the main control system determines the virtual local area network identifier according to the operation of the user and sends the virtual local area network identifier. The executing main body receives at least one virtual local area network identifier sent by the main control system, and after the virtual local area network identifier is received, the main control system determines that the executing main body needs to transmit data with a virtual local area network tag, so that a data forwarding mode is set to be a virtual local area network mode. And simultaneously storing the virtual local area network identifiers to form a virtual local area network identifier set.
It should be noted that, in the actual application, the data forwarding mode may be set at any time after the installation of the interactive network television is just completed, or may be set according to the actual network requirement in the use process, and the user may change the data forwarding mode according to the actual network requirement. And if the virtual local area network identifier is received again after the virtual local area network mode is set for the first time, storing the newly received virtual local area network identifier to form a new virtual local area network identifier set. According to the method and the device, after the newly received virtual local area network identifiers are stored, the original virtual local area network identifiers can be reserved, and the virtual local area network identifiers in the original virtual local area network identifier set can be automatically deleted after the new virtual local area network identifiers are received; the operation of the user can be received to delete the virtual local area network identifications in the original virtual local area network identification set, wherein the deletion operation can be complete deletion or partial deletion of the identifications is carried out according to the selection of the user.
And S208, performing label removal processing on the virtual local area network labels on the target data packet, and sending the target data packet to a main control system of the interactive network television.
S209, sending each data packet to be forwarded to a main control system of the interactive network television.
When each data packet to be forwarded does not have a virtual local area network label, the data packet to be forwarded can be processed by the main control system of the interactive network television, so that each data packet to be forwarded is directly sent to the main control system of the interactive network television. Each data packet to be forwarded can be transmitted to the main control system of the interactive network television by the executive main body Bypass.
According to the scheme, the executive main body is connected with an external network, the exchanged data packets can be data packets with VLAN or without VLAN, the data packets received by the main control system of the interactive network television are data packets without VLAN sent by the executive main body, the normal receiving and processing of the original common IPTV system are ensured, and the original IPTV system is not required to be modified while the application scene of the original IPTV system is expanded. The original IPTV system can play the audio and video according to the received data packet.
As an alternative embodiment of the present embodiment, the further optimization of the present alternative embodiment includes the steps of:
B1, receiving a data packet to be fed back, which is sent by the main control system.
In this embodiment, the data packet to be fed back may be specifically understood as data fed back by the master control system to the external network. The data packet to be fed back can be used for feeding back the state of the main control system to the external network, for example, the main control system sends the data packet to be fed back to the networking server at regular time intervals to feed back the state of the local machine; and the method can also generate a data packet to be fed back and feed back the state of the machine to the networking server after receiving the inquiry request sent by the networking server, so that the networking server can timely know the state of the main control system, and the situation that the networking server does not know the state of the main control system after the main control system fails or is disconnected is avoided. And the main control system sends the execution main body after generating the data packet to be fed back, and the execution main body forwards the data packet to the networking server. The data packet to be fed back can also be used for feeding back to an external network that the main control system has received
And B2, if the data forwarding mode is a virtual local area network mode, adding a preset virtual local area network identifier to the data packet to be fed back and feeding the data packet back to the networking server.
In this embodiment, the preset virtual lan identifier may be specifically understood as a preset virtual lan identifier, and the preset virtual lan identifier may be the same as or different from one of the virtual lan identifiers in the set of virtual lan identifiers.
If the current data forwarding mode is a virtual local area network mode, at the moment, the data packet to be fed back by the main control system does not have a virtual local area network identifier, a preset virtual local area network identifier is obtained, a VLAN ID field is added to the data packet to be fed back, the preset virtual local area network identifier is written into the VLAN ID field, and the data packet to be fed back with the added preset virtual local area network identifier is fed back to the networking server.
As an optional embodiment of the present embodiment, the further optimization of the present optional embodiment further includes: and if the data forwarding mode is a virtual local area network-free mode, feeding back the data packet to be fed back to the networking server.
If the current data forwarding mode is a virtual LAN-free mode, the data packet without the virtual LAN identification needs to be fed back to the networking server. At this time, the data packet to be fed back by the master control system does not have the virtual local area network identifier, so that the data packet to be fed back is directly fed back to the networking server without any processing. The data packet to be fed back can be transmitted to the networking server from the executing main body Bypass.
The embodiment of the application provides a data forwarding method, which solves the problem that an IPTV system cannot receive a data packet with a virtual local area network tag by performing label removal processing on a target data packet, screens the data packet through a preset data forwarding mode to obtain a data packet to be forwarded, judges whether the data packet to be forwarded has the virtual local area network tag, if so, determines the target data packet according to the data packet to be forwarded, removes the virtual local area network tag from the target data packet, converts the target data packet into the data packet which can be received by the IPTV system, and sends the data packet to a main control system, thereby expanding the application scene of the IPTV system, meeting the actual use requirements of users, and reducing the development cost and saving the development time and period without changing the main control system scheme of an interactive network television. And the data packet to be fed back can be added with a preset virtual local area network identifier and fed back to the networking server, so that the interaction of the data packet with the virtual local area network identifier between the networking server and the main control system is realized. The IPTV system can realize the purpose of supporting the IPTV data packet without VLAN and the IPTV data packet with VLAN, has wider application scene and does not need to be redeveloped.
Example III
Fig. 3 is a schematic structural diagram of a data forwarding device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a first packet receiving module 31, a packet screening module 32, a destination packet determining module 33 and a first forwarding module 34.
Wherein, the first data packet receiving module 31 is configured to receive at least one data packet;
a packet screening module 32, configured to screen each of the packets according to a predetermined data forwarding mode, and determine a packet to be forwarded;
a target data packet determining module 33, configured to determine a target data packet according to each data packet to be forwarded if each data packet to be forwarded has a virtual local area network tag;
the first forwarding module 34 is configured to perform a label removal process on the virtual local area network label on the target data packet, and send the target data packet to a main control system of the interactive network television.
The embodiment of the application provides a data forwarding device, which solves the problem that an IPTV system cannot receive a data packet with a virtual local area network tag, screens the data packet through a preset data forwarding mode to obtain a data packet to be forwarded, judges whether the data packet to be forwarded has the virtual local area network tag, if yes, determines a target data packet according to the data packet to be forwarded, removes the virtual local area network tag from the target data packet, converts the target data packet into a data packet which can be received by the IPTV system, and sends the data packet to a main control system, thereby expanding the application scene of the IPTV system, meeting the actual use requirements of users, and needing not to change the main control system scheme of an interactive network television, reducing the development cost and saving the development time and period.
Optionally, the packet screening module 32 includes:
a tag determining unit, configured to determine whether each of the data packets has a virtual local area network tag;
the first data packet screening unit is used for determining the data packet without the virtual local area network tag as the data packet to be forwarded when the data forwarding mode is a virtual local area network-free mode;
and the second data packet screening unit is used for determining the data packet with the virtual local area network label as the data packet to be forwarded when the data forwarding mode is the virtual local area network mode.
Optionally, the apparatus further comprises:
the first mode setting module is used for setting the data forwarding mode to be a virtual local area network-free mode if a virtual local area network closing signal sent by the main control system is received;
and the second mode setting module is used for setting the data forwarding mode into a virtual local area network mode if at least one virtual local area network identifier sent by the main control system is received, and storing each virtual local area network identifier to form a virtual local area network identifier set.
Optionally, the target packet determining module 33 includes:
the target identification determining unit is used for determining a target virtual local area network identification of each data packet to be forwarded according to each data packet to be forwarded;
And the target data packet determining unit is used for determining the data packet to be forwarded as a target data packet if the target virtual local area network identifier is matched with the virtual local area network identifier in the virtual local area network identifier set.
Optionally, the apparatus further comprises:
and the second forwarding module is used for sending each data packet to be forwarded to the main control system of the interactive network television if each data packet to be forwarded does not have a virtual local area network label.
Optionally, the apparatus further comprises:
the feedback data packet receiving module is used for receiving the data packet to be fed back sent by the main control system;
and the first feedback module is used for adding a preset virtual local area network identifier to the data packet to be fed back and feeding the data packet back to the networking server if the data forwarding mode is a virtual local area network mode.
Optionally, the apparatus further comprises:
and the second feedback module is used for feeding back the data packet to be fed back to the networking server if the data forwarding mode is a virtual local area network-free mode.
The data forwarding device provided by the embodiment of the invention can execute the data forwarding method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 is a schematic structural diagram of a data forwarding system according to a fourth embodiment of the present invention. As shown in fig. 4, the system includes: the data forwarding device 41, the main control system 42 of the interactive network television and the networking server 43, wherein the main control system 42 comprises: a packet parsing means 421;
the networking server 43 is configured to send a data packet to the data forwarding device 41;
the data forwarding device 41 is configured to receive at least one data packet; screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded; if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded; the target data packet is subjected to the label removal processing of the virtual local area network label and is sent to the data packet analysis device 421 of the main control system 42 of the interactive network television.
It is to be appreciated that the headend device 41 may be integrated in an interactive web tv. The data forwarding device 41 receives the data packet sent by the networking server 43, and filters the data packet to determine a target data packet, removes a virtual local area network tag of the target data packet, forwards the virtual local area network tag to the data packet analysis device 421 of the main control system 42, achieves the purpose that the IPTV system receives the data packet of the virtual local area network, expands the application scene of the IPTV system, meets the actual use requirements of users, does not need to change the main control system scheme of the interactive network television, reduces the development cost, and saves the development time and period.
Optionally, the master control system 42 further includes: an audio-video conversion device 422;
the audio/video conversion device 422 is configured to send a virtual local area network closing signal or at least one virtual local area network identifier to the data forwarding device 41.
The virtual local area network closing signal or at least one virtual local area network identifier is sent to the data forwarding device 41 through the audio/video conversion device 422, and the data forwarding device 42 is instructed to set a data forwarding mode so as to screen and forward the data packets later.
Exemplary, fig. 5 provides an exemplary diagram of a data forwarding system, the system comprising: the system comprises a data forwarding device 51, a main control system 52 of the interactive network television and a networking server 53, wherein the main control system 52 comprises: packet parser 521 and audio-video converter 522. The audio/video conversion device 522 may be a TV chip, the packet analysis device 521 may be an FPGA chip, and the data forwarding device 51 may be implemented by a chip.
The data forwarding device 51 and the master control system 52 are integrated in the interactive network television, and the audio/video conversion device 522 is connected with the data forwarding device 51 through a control and feedback bus to realize transmission of a virtual local area network closing signal or at least one virtual local area network identifier. The data forwarding device 51 is connected to the packet analysis device 521 via an intranet, for example, via a wired connection between chips, and the data forwarding device 51 communicates with the networking server 53 via a network, processes a packet received from the networking server 53, and forwards a packet to be forwarded or a target packet with a virtual lan tag removed to the packet analysis device 521. The packet analysis device 521 analyzes the packet, transmits the data stream (TS stream) to the audio/video conversion device 522, and performs audio/video conversion by the audio/video conversion device 522, thereby realizing video display and audio playback. The data conversion device 51 can process the data packet with the VLAN field, so that the actual use requirement of the client can be met, and the compatible VLAN data packet and different IPTV networking systems without VLAN data packet can be achieved.
Example five
Fig. 6 shows a schematic diagram of an interactive web tv 60 that may be used to implement an embodiment of the present invention. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not used to limit implementations of the invention described and/or claimed in this document.
As shown in fig. 6, the interactive web tv 60 includes at least one processor 61, and a memory, such as a Read Only Memory (ROM) 62, a Random Access Memory (RAM) 63, etc., communicatively connected to the at least one processor 61, in which the memory stores a computer program executable by the at least one processor, and the processor 61 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 62 or the computer program loaded from the storage unit 68 into the Random Access Memory (RAM) 63. In the RAM 63, various programs and data required for the operation of the interactive web tv 60 may also be stored. The processor 61, the ROM 62 and the RAM 63 are connected to each other via a bus 64. An input/output (I/O) interface 65 is also connected to bus 64.
Various components in the interactive web television 60 are connected to the I/O interface 65, including: an input unit 66 such as a keyboard, a mouse, etc.; an output unit 67 such as various types of displays, speakers, and the like; a storage unit 68 such as a magnetic disk, an optical disk, or the like; and a communication unit 69 such as a network card, modem, wireless communication transceiver, etc. The communication unit 69 allows the interactive web tv 60 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Processor 61 can be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of processor 61 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 61 performs the various methods and processes described above, such as the data forwarding method.
In some embodiments, the data forwarding method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 68. In some embodiments, part or all of the computer program may be loaded and/or installed onto the interactive web television 60 via the ROM 62 and/or the communication unit 69. When the computer program is loaded into RAM 63 and executed by processor 61, one or more steps of the data forwarding method described above may be performed. Alternatively, in other embodiments, processor 61 may be configured to perform the data forwarding method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an interactive web television having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or a trackball) through which a user may provide input to the interactive web television. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (12)

1. A data forwarding method, comprising:
receiving at least one data packet;
screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded;
if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded;
and performing label removal processing on the target data packet and sending the target data packet to a main control system of the interactive network television.
2. The method of claim 1, wherein the screening each of the data packets according to the predetermined data forwarding mode to determine the data packet to be forwarded comprises:
determining whether each data packet has a virtual local area network tag;
when the data forwarding mode is a virtual local area network-free mode, determining the data packet without the virtual local area network tag as a data packet to be forwarded;
and when the data forwarding mode is a virtual local area network mode, determining the data packet with the virtual local area network label as the data packet to be forwarded.
3. The method as recited in claim 1, further comprising:
if a virtual local area network closing signal sent by a main control system is received, setting the data forwarding mode to be a virtual local area network-free mode;
and if at least one virtual local area network identifier sent by the main control system is received, setting the data forwarding mode as a virtual local area network mode, and storing each virtual local area network identifier to form a virtual local area network identifier set.
4. A method according to claim 3, wherein said determining a destination packet from each of said packets to be forwarded comprises:
Determining a target virtual local area network identification of each data packet to be forwarded according to each data packet to be forwarded;
and if the target virtual local area network identifier is matched with the virtual local area network identifier in the virtual local area network identifier set, determining the data packet to be forwarded as a target data packet.
5. The method as recited in claim 1, further comprising:
and if the data packets to be forwarded do not have the virtual local area network tag, sending the data packets to be forwarded to a main control system of the interactive network television.
6. The method as recited in claim 1, further comprising:
receiving a data packet to be fed back sent by the main control system;
if the data forwarding mode is a virtual local area network mode, adding a preset virtual local area network identifier to the data packet to be fed back and feeding the data packet to be fed back to a networking server.
7. The method as recited in claim 6, further comprising:
and if the data forwarding mode is a virtual local area network-free mode, feeding back the data packet to be fed back to a networking server.
8. A data forwarding apparatus, comprising:
the first data packet receiving module is used for receiving at least one data packet;
The data packet screening module is used for screening each data packet according to a predetermined data forwarding mode and determining the data packet to be forwarded;
the target data packet determining module is used for determining the target data packet according to each data packet to be forwarded if each data packet to be forwarded has a virtual local area network label;
and the first forwarding module is used for performing label removal processing on the virtual local area network labels on the target data packet and sending the target data packet to a main control system of the interactive network television.
9. A data forwarding system, comprising: the system comprises a data forwarding device, a main control system of an interactive network television and a networking server, wherein the main control system comprises: a packet analysis device;
the networking server is used for sending a data packet to the data forwarding device;
the data forwarding device is used for receiving at least one data packet; screening each data packet according to a predetermined data forwarding mode to determine a data packet to be forwarded; if each data packet to be forwarded has a virtual local area network label, determining a target data packet according to each data packet to be forwarded; and performing label removal processing on the target data packet, and sending the target data packet to a data packet analysis device of a main control system of the interactive network television.
10. The system of claim 9, wherein the master control system further comprises: an audio-video conversion device;
the audio-video conversion device is used for sending a virtual local area network closing signal or at least one virtual local area network identifier to the data forwarding device.
11. An interactive web tv, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data forwarding method of any of claims 1-7.
12. A computer readable storage medium storing computer instructions for causing a processor to perform the data forwarding method according to any one of claims 1-7.
CN202210836745.6A 2022-07-15 2022-07-15 Data forwarding method, device and system, interactive network television and storage medium Pending CN117440193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210836745.6A CN117440193A (en) 2022-07-15 2022-07-15 Data forwarding method, device and system, interactive network television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210836745.6A CN117440193A (en) 2022-07-15 2022-07-15 Data forwarding method, device and system, interactive network television and storage medium

Publications (1)

Publication Number Publication Date
CN117440193A true CN117440193A (en) 2024-01-23

Family

ID=89557115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210836745.6A Pending CN117440193A (en) 2022-07-15 2022-07-15 Data forwarding method, device and system, interactive network television and storage medium

Country Status (1)

Country Link
CN (1) CN117440193A (en)

Similar Documents

Publication Publication Date Title
CN113810791B (en) Method for improving intelligent network card/DPU network telemetering technology performance
CN102763373B (en) The method and apparatus using the service of local network devices based on remote access
CN108055304B (en) Remote data synchronization method, device, server, equipment and storage medium
CN109547731B (en) Video conference display method and system
JP7465370B2 (en) Information sharing method, device, electronic device, and storage medium
CN109151056B (en) Method and system for pushing messages based on Canal
JP5962117B2 (en) Video selection method in an environment with multiple image compression methods
CN114697391B (en) Data processing method, device, equipment and storage medium
JP2016181795A (en) Network system and network setting method
CN108989157B (en) Method and device for controlling intelligent equipment
CN107800999A (en) A kind of method and system for mixing access video camera and video platform
CN117176990A (en) Video stream processing method and device, electronic equipment and storage medium
CN117440193A (en) Data forwarding method, device and system, interactive network television and storage medium
CN111767176A (en) Method and device for remotely controlling terminal equipment
CN111092952A (en) Data interaction method and related product
CN113132758B (en) Control method, device and computer program product of content distribution network
CN114640893A (en) Method and device for connecting service end of real-time audio and video communication system
CN110932975B (en) Flow table issuing method, data forwarding method and device and electronic equipment
CN110381178B (en) NVR module and drawing method thereof and POE-NVR module
CN117714528B (en) Device information acquisition method, system, device and medium based on UDP broadcast
CN112162868B (en) Data communication method, device and storage medium applied to cluster processing
CN117915026B (en) Automatic display method, device and equipment for input video information and storage medium
CN115296952B (en) Equipment scheduling method, device, equipment and storage medium
EP4250684B1 (en) Method and apparatus for processing streaming media service, and storage medium
CN113904980B (en) Channel switching method, device, switch 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