CN112566286A - Set top box AP mode realization method and device, set top box and storage medium - Google Patents

Set top box AP mode realization method and device, set top box and storage medium Download PDF

Info

Publication number
CN112566286A
CN112566286A CN201910920353.6A CN201910920353A CN112566286A CN 112566286 A CN112566286 A CN 112566286A CN 201910920353 A CN201910920353 A CN 201910920353A CN 112566286 A CN112566286 A CN 112566286A
Authority
CN
China
Prior art keywords
network card
network
mode
top box
virtual
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
CN201910920353.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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201910920353.6A priority Critical patent/CN112566286A/en
Priority to PCT/CN2020/116808 priority patent/WO2021057718A1/en
Publication of CN112566286A publication Critical patent/CN112566286A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • 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
    • 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/6131Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network

Abstract

The embodiment of the invention provides a method and a device for realizing an AP mode of a set top box, the set top box and a storage medium, wherein the first network card is set to be in the AP mode by loading an AP mode drive for the first network card, and the first network card is a wireless network card; and creating a network bridge for bridging the first network card and a second network card in the set top box, wherein the second network card is currently accessed to the network. Under the condition that the hardware cost of the set-top box is not increased in some implementation processes, the AP hot spot function of the set-top box is expanded in a soft AP mode, and network sharing is realized; meanwhile, the wireless resources of the set top box are multiplexed, so that when the set top box is accessed to the uplink network, the wireless network card which is not accessed to the uplink network cannot be idle; the problem of resource waste caused by the fact that when the set top box is accessed to the uplink network, the wireless network card which is not accessed to the uplink network is idle is solved.

Description

Set top box AP mode realization method and device, set top box and storage medium
Technical Field
The embodiment of the invention relates to the field of set top boxes, in particular to a method and a device for realizing AP mode of a set top box, the set top box and a storage medium.
Background
Most of the currently popular set-top box devices are single wireless network cards, and most of the network element roles in wireless networking are station working modes (station modes) used as access terminals, and have no functions of wireless access points (AP hotspots). In the existing set top box environment, the uplink access of the set top box mostly adopts a mode of accessing the wired network card to the uplink network to access the uplink network, so that the wireless resources are wasted or idle.
Some existing fusion type set top box devices only simply combine hardware if the gateway or the switching capability is realized on the basis of the functions of the set top box, and in terms of hardware design, one set top box single board and one gateway single board are simply spliced by hardware, so that one set top box device can simultaneously perform both a station function and an AP function, but the requirement on the hardware cost of the set top box is greatly improved.
Disclosure of Invention
The method and the device for realizing the AP mode of the set top box, the set top box and the storage medium provided by the embodiment of the invention mainly solve the technical problem that in the related technology, when a single wireless network card set top box is accessed to an uplink network through a wired network card, the wireless network card is idle, so that the resource is wasted; in the prior art, the fused set-top box device enables the set-top box to simultaneously perform the station function and provide the ap function by adding the gateway single board, so that the hardware cost is greatly improved.
In order to solve the above technical problem, an embodiment of the present invention provides a method for implementing an AP mode of a set top box, including:
loading an AP mode drive for a first network card, and setting the first network card to be in an AP mode, wherein the first network card is a wireless network card;
and creating a network bridge for bridging the first network card and a second network card in the set top box, wherein the second network card is currently accessed to the network.
An embodiment of the present invention further provides a device for implementing an AP mode of a set top box, including:
the device comprises a driving module, a first network card and a second network card, wherein the driving module is used for loading an AP mode drive for the first network card and setting the first network card into an AP mode, and the first network card is a wireless network card;
and the bridging module is used for creating a bridge for bridging the first network card and the second network card in the set top box, wherein the second network card is currently accessed to the network.
The embodiment of the invention also provides a set top box, which comprises a first network card and a second network card, wherein the first network card is a wireless network card, and the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the set-top box AP mode implementing method as described above.
An embodiment of the present invention further provides a storage medium, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the set-top box AP mode implementation method described above.
The invention has the beneficial effects that:
according to the method and the device for realizing the AP mode of the set top box, the set top box and the storage medium, provided by the embodiment of the invention, the first network card is set to be in the AP mode by loading the AP mode drive for the first network card, and the first network card is a wireless network card; and creating a network bridge for bridging the first network card and a second network card in the set top box, wherein the second network card is currently accessed to the network. In some implementation processes, under the condition that the hardware cost of the set top box is not increased, the AP hot spot function of the set top box is expanded in a soft AP mode, and network sharing is realized; meanwhile, the wireless network card which is not accessed to the uplink network cannot be idle when the set top box is accessed to the uplink network due to the fact that the wireless resources of the set top box are multiplexed, and the problem of resource waste caused by the fact that the wireless network card which is not accessed to the uplink network is idle when the set top box is accessed to the uplink network is solved.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic basic flow chart of a method for implementing an AP mode of a set top box according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for implementing an AP mode of a set-top box according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for implementing an AP mode of a set top box according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a set top box according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
the problem of resource waste caused by idle wireless network cards when a single wireless network card set-top box accesses an uplink network through a wired network card in the related technology is solved; in the prior art, the integrated set-top box device can make the set-top box perform both a station function and an AP function simultaneously by adding the gateway single board, thereby greatly improving the hardware cost
Referring to fig. 1, fig. 1 is a basic flowchart of a method for implementing an AP mode of a set top box according to an embodiment of the present invention; the set top box AP mode implementation method comprises the following steps:
s101, loading an AP mode drive for a first network card, and setting the first network card to be in an AP mode, wherein the first network card is a wireless network card;
in this embodiment, an AP mode driver is loaded for the first network card, and the first network card is set as an AP, where the mode includes: loading an AP mode drive for the first network card, setting the first network card to be in an AP mode, and creating a virtual interface AP0 bound with the first network card; so that the first network card can obtain the IP address of the corresponding network through the virtual interface ap0 to share the network.
In this embodiment, loading the AP mode driver for the first network card, and setting the first network card to the AP mode further includes: configuring AP mode related performance parameters; the above-mentioned AP mode related performance parameters include, but are not limited to, the following parameters: SSID, encryption mode, password and working frequency band. It is to be understood that configuring the AP mode-related performance parameters may be in at least one of the following two ways: the AP mode-related performance parameters are configured by a designer or configured by a user. It should be understood that the configuration of the AP mode-related performance parameters by the user may be that when the AP mode driver is loaded for the first network card and the first network card is set to the AP mode, a page for configuring the AP mode-related performance parameters is displayed, then a user instruction is received, and the AP mode-related performance parameters are configured according to the user instruction; or after loading the AP mode driver for the first network card and setting the first network card to the AP mode, displaying a page for configuring the relevant performance parameters of the AP mode, then receiving a user instruction, and configuring the relevant performance parameters of the AP mode according to the user instruction. It should be understood that the user may enter the page for configuring the AP mode related performance parameters to perform corresponding configuration whenever necessary, and after the designer or the user configures the AP mode related performance parameters for the first time, the configuration may be set to be used by default, thereby avoiding the need of performing corresponding setting when the first network card is set to the AP mode and the AP mode driver is loaded each time.
S102, a network bridge for bridging a first network card and a second network card in the set top box is established, and the second network card is currently accessed to the network.
In this embodiment, the second network card includes but is not limited to: at least two virtual network cards; it should be understood that the number of virtual network cards is not limited. The virtual network card is virtually derived from any hardware network card, and the hardware network card comprises any one of the following network cards: a wired network card and a wireless network card; that is, the set-top box is not limited to access to the uplink network through the limited network card or the wireless network card in this embodiment; the hardware network card and the first network card do not belong to the same hardware network card.
In this embodiment, the access network includes, but is not limited to, the following networks: IPTV network, Internet network. Different networks are distinguished by different vlans; it is to be understood that: different virtual network cards correspond to different networks. Specifically, the following steps can be performed: when the accessed network comprises an IPTV network and an Internet network, the IPTV network is provided with 100vlan tags, the Internet network is provided with 200vlan tags, the interior of the set-top box is divided into internal networks through different vlan numbers, the interior of the set-top box is provided with a plurality of virtual network cards aiming at different vlans by creating a plurality of virtual network cards aiming at different vlans, a virtual network card eth0.100 is created aiming at the 100vlan tags of the IPTV network and used for accessing the IPTV network, a virtual network card eth0.200 is created aiming at the 200vlan tags of the Internet network and used for accessing the Internet network, and DHCP Client side DHCP clients are respectively started at the virtual network card eth0.100 and the virtual network card eth0.200, so that each virtual network card can take the IP address of the corresponding network, and then the network can be added.
In this embodiment, creating a network bridge that bridges the first network card and the second network card in the set-top box includes: creating a bridge bridging the virtual interface ap0 and at least one virtual network card eth0. In this embodiment, the bridge that creates the bridging virtual interface AP0 and which virtual network card eth0 may be determined by the user, and in the page where the AP mode related performance parameters are configured, the user may select which virtual network card eth0 to bridge with, specifically: when the virtual network card eth0 includes a virtual network card eth0.100 accessing an IPTV network and a virtual network card eth0.200 accessing an Internet network, and the user selects the IPTV network on the page where the AP mode-related performance parameters are configured, a bridge bridging the virtual interface AP0 and the virtual network card eth0.100 is created; when the user selects the Internet network on the page for configuring the performance parameters related to the AP mode, a bridge for bridging the virtual interface AP0 and the virtual network card eth0.200 is created.
In this embodiment, creating a bridge that bridges the virtual interface and the at least one virtual network card eth0 further includes: the bridge obtains the IP address of the corresponding network from at least one virtual network card eth0 in the first network card, the bridge starts the IP address assignment service (DHCP server), and the virtual interface ap0 obtains the IP address of at least one network from the bridge. Specifically, the method can be as follows: when the first network card comprises a virtual network card eth0.100 accessed to an IPTV network and a virtual network card eth0.200 accessed to an Internet network, the network bridge obtains a corresponding IP address from at least one virtual network card of the virtual network card eth0.100 or the virtual network card eth0.200 according to a user instruction or default selection, the network bridge starts a DHCP server, and the virtual interface ap0 starts a DHCP Client service, so that the virtual interface ap0 can obtain the IP address allocated by the network bridge from the network bridge to realize the network sharing function; when any network distributes an IP address to the virtual network card eth0, the virtual network card eth0 distributes the IP address to the network bridge, and the network bridge distributes the IP address to the virtual interface ap0, thereby realizing three-layer forwarding;
in this embodiment, creating a bridge that bridges the virtual interface and the at least one virtual network card eth0 further includes: the virtual interface obtains an IP address from at least one virtual network card eth0 in the first network card through the network bridge. Specifically, the method can be as follows: when the first network card comprises a virtual network card eth0.100 accessed to an IPTV network and a virtual network card eth0.200 accessed to an Internet network, the virtual network card eth0.100 and the virtual network card eth0.200 both start corresponding DHCP servers, and DHCP Client services are started on the virtual interface ap0, so that the virtual interface ap0 can obtain an allocated IP address from any virtual network card eth0 through a network bridge, and finally, a network sharing function is realized; when any network distributes an IP address to the virtual network card eth0, the virtual network card eth0 distributes the IP address to the virtual interface ap0, and two-layer forwarding is realized;
in this embodiment, loading an AP mode driver for the first network card, and before setting the first network card to the AP mode, the method further includes: and the loading Station mode driver sets the first network card to be in the Station mode until the AP mode driver is loaded for the first network card, and sets the first network card to be in the AP mode. That is, before the first network card is switched to the AP mode, the first network card may be in the Station mode to receive the network shared by the AP Station. It should be understood that, after the first network card is set to the AP mode, according to an instruction of a user, a Station mode driver may also be loaded, and the first network card is set to the Station mode.
According to the method for realizing the AP mode of the set top box, provided by the embodiment of the invention, the first network card is set to be in the AP mode by loading the AP mode drive for the first network card, and the first network card is a wireless network card; creating a network bridge for bridging the first network card and a second network card in the set top box, wherein the second network card is currently accessed to a network; under the condition that the hardware cost of the set top box is not increased, the AP hotspot function of the set top box is expanded in a soft AP mode, and the wireless resources of the set top box are multiplexed, so that the wireless network card which is not accessed to the uplink network cannot be idle when the set top box is accessed to the uplink network, and the problem of resource waste caused by idle wireless network card which is not accessed to the uplink network when the set top box is accessed to the uplink network is solved.
Example two:
for convenience of understanding, the embodiment of the present invention describes a method for implementing an AP mode of a set top box by using a specific example, as shown in fig. 3, the method for implementing an AP mode of a set top box includes:
s201, starting a first network card wireless mode selection entrance.
In this embodiment, the first network card wireless mode selection entry is opened, and a selection instruction is displayed, where the selection instruction includes: the system comprises a Station mode instruction and an AP mode instruction, wherein a user can select any instruction according to the current network environment, preference and the like, and the first network card is a wireless network card.
S202, when the received selection instruction is in the Station mode, loading the drive of the Station mode.
In this embodiment, when the received selection instruction is in the Station mode, a Station mode driver is loaded for the first network card, and the first network card is set to the Station mode; it should be noted that, before the first network card is set to the Station mode, the current wireless mode of the first network card may be determined, and when the wireless mode of the first network card is the Station mode, the wireless mode of the first network card is kept as the Station mode without any change; and when the wireless mode of the first network card is the AP mode, loading a Station mode drive for the first network card, and setting the first network card to be in the Station mode.
S204, setting a wireless interface wlan0 corresponding to the first network card into a Client mode;
in this embodiment, before setting the wireless interface wlan0 to the Client mode, the method further includes setting the virtual network card eth0 to a default IP, and preferred default IPs include but are not limited to: 192.168.1.12, making the virtual network card eth0 not acquiring the IP address of any network; it should be noted that the wireless interface wlan0 is set to Client mode, so that the wlan0 interface can connect to the AP site and obtain the IP address assigned by the AP site, thereby implementing the internet access function.
And S203, loading the AP mode drive when the received selection instruction is in the AP mode.
In this embodiment, when the received selection instruction is in the AP mode, an AP mode driver is loaded for a first network card, and the first network card is set to the AP mode; it should be noted that, before setting the first network card to the AP mode, the current wireless mode of the first network card may be determined, and when the wireless mode of the first network card is the AP mode, the AP mode of the first network card is maintained without any change; and when the wireless mode of the first network card is the Station mode, loading an AP mode drive for the first network card, and setting the first network card to be in the AP mode. When the first network card is set to the AP mode, a virtual interface AP0 corresponding to the first network card is created.
In this embodiment, when the received selection instruction is in the AP mode, the method further includes, after loading the AP mode driver: setting AP mode related performance parameters. The above-mentioned AP mode related performance parameters include, but are not limited to, the following parameters: SSID, encryption mode, password and working frequency band. It is to be understood that configuring the AP mode-related performance parameters may be in at least one of the following two ways: the AP mode-related performance parameters are configured by a designer or configured by a user. It should be understood that the configuration of the AP mode-related performance parameters by the user may be that when the AP mode driver is loaded for the first network card and the first network card is set to the AP mode, a page for configuring the AP mode-related performance parameters is displayed, then a user instruction is received, and the AP mode-related performance parameters are configured according to the user instruction; or after loading the AP mode driver for the first network card and setting the first network card to the AP mode, displaying a page for configuring the relevant performance parameters of the AP mode, then receiving a user instruction, and configuring the relevant performance parameters of the AP mode according to the user instruction. It should be understood that the user may enter the page for configuring the AP mode related performance parameters to perform corresponding configuration whenever necessary, and after the designer or the user configures the AP mode related performance parameters for the first time, the configuration may be set to be used by default, thereby avoiding the need of performing corresponding setting when the first network card is set to the AP mode and the AP mode driver is loaded each time.
S205, acquiring an IP address of at least one network, and adding the IP address into the corresponding network;
in this embodiment, the set-top box has access to an IPTV network and an Internet network, where the IPTV network prints a vlan tag of 100, and the Internet network prints a vlan tag of 200, the terminal is internally divided by different vlan numbers, and a virtual network card eth0.100 is created for the 100vlan tag of the IPTV network, and a virtual network card eth0.200 is created for the 200vlan tag of the Internet network, it is understood that the virtual network card eth0.100 and the virtual network card eth0.200 are both virtually formed by the same hardware network card, and the hardware network card is a hardware network card other than the first network card; starting the DHCP Client at the virtual network card eth0.100 and the virtual network card eth0.200 respectively to enable each virtual network card to take the IP address of the corresponding network, thereby joining the network. It is to be understood that the first and second,
s206, creating a bridge which bridges the virtual interface ap0 and the virtual network card eth0.
In this embodiment, the bridge for creating the bridge virtual interface ap0 and the virtual network card eth0 includes: creating a bridge bridging the virtual interface ap0 and at least one virtual network card eth0, it should be noted that the bridge that bridges the virtual interface ap0 and which virtual network card eth0 may be determined by the user; optionally, on the page of configuring the performance parameters related to the AP mode, the user may select which virtual network card eth0 to bridge, which may specifically be: when the virtual network card eth0 includes a virtual network card eth0.100 accessing an IPTV network and a virtual network card eth0.200 accessing an Internet network, and the user selects the IPTV network on the page where the AP mode-related performance parameters are configured, a bridge bridging the virtual interface AP0 and the virtual network card eth0.100 is created; when a user selects an Internet network on a page for configuring the relevant performance parameters of the AP mode, a bridge for bridging a virtual interface AP0 and a virtual network card eth0.200 is created; or may be selected by the user to bridge with which virtual network card eth0 on a separate bridge selection page.
In this embodiment, creating a bridge that bridges the virtual interface and the at least one virtual network card eth0 further includes: the bridge obtains the IP address of the corresponding network from at least one virtual network card eth0 in the first network card, the bridge starts the IP address assignment service (DHCP server), and the virtual interface ap0 obtains the IP address of at least one network from the bridge. Specifically, the method can be as follows: when the first network card comprises a virtual network card eth0.100 accessed to an IPTV network and a virtual network card eth0.200 accessed to an Internet network, the network bridge obtains a corresponding IP address from at least one virtual network card of the virtual network card eth0.100 or the virtual network card eth0.200 according to a user instruction or default selection, the network bridge starts a DHCP server, and the virtual interface ap0 starts a DHCP Client service, so that the virtual interface ap0 can obtain the IP address allocated by the network bridge from the network bridge to realize the network sharing function; when any network distributes an IP address to the virtual network card eth0, the virtual network card eth0 distributes the IP address to the network bridge, and the network bridge distributes the IP address to the virtual interface ap0, thereby realizing three-layer forwarding;
in this embodiment, creating a bridge that bridges the virtual interface and the at least one virtual network card eth0 further includes: the virtual interface obtains an IP address from at least one virtual network card eth0 in the first network card through the network bridge. Specifically, the method can be as follows: when the first network card comprises a virtual network card eth0.100 accessed to an IPTV network and a virtual network card eth0.200 accessed to an Internet network, the virtual network card eth0.100 and the virtual network card eth0.200 both start corresponding DHCP servers, and DHCP Client services are started on the virtual interface ap0, so that the virtual interface ap0 can obtain an allocated IP address from any virtual network card eth0 through a network bridge, and finally, a network sharing function is realized; when any network distributes an IP address to the virtual network card eth0, the virtual network card eth0 distributes the IP address to the virtual interface ap0, and two-layer forwarding is realized;
it should be understood that a user may decide whether to perform three-layer forwarding or two-layer forwarding according to requirements, and a specific user may select three-layer forwarding or two-layer forwarding in a page where the AP mode related performance parameters are configured, or may select a page for three-layer forwarding or two-layer forwarding separately. After the AP mode is started each time, a user can decide whether to carry out three-layer forwarding or two-layer forwarding; or default setting of either three-layer forwarding or two-layer forwarding is carried out until the user sends out a change instruction.
S207, starting AP hot spots and sharing the network
It should be understood that the AP hotspot is started, and the shared network is a network corresponding to the virtual network card eth0 bridged by the virtual interface AP0 through the network bridge, for example, the virtual interface AP0 is bridged with the virtual network card eth0.100 corresponding to the IPTV network, and then the network shared through the AP hotspot is the IPTV network; for example, the virtual interface AP0 is bridged with a virtual network card eth0.200 corresponding to the Internet network, and the network shared by the AP hotspot is the Internet network at this time;
the method for realizing the AP mode of the set top box provided by the embodiment of the invention comprises the steps of displaying a first network card wireless mode selection interface for a user by providing a first network card wireless mode inlet, and loading a Station mode drive for the first network card when a command selected by the user is a Station mode, so that the set top box can be connected with an AP website and is added into a network; when the instruction selected by the user is in the AP mode, loading an AP mode drive for a first network card, and setting the first network card to be in the AP mode, wherein the first network card is a wireless network card; creating a network bridge for bridging the first network card and a second network card in the set top box, wherein the second network card is currently accessed to a network; under the condition that the hardware cost of the set top box is not increased, the AP hotspot function of the set top box is expanded in a soft AP mode, wireless resources of the set top box are multiplexed, the set top box can be used as an AP site to share a network, when the set top box is accessed to an uplink network, a wireless network card which is not accessed to the uplink network cannot be idle, and the problem of resource waste caused by idle wireless network cards which are not accessed to the uplink network when the set top box is accessed to the uplink network is solved.
Example three:
the embodiment also provides a device for implementing the AP mode of the set-top box, as shown in fig. 3, which includes:
the device comprises a driving module, a first network card and a second network card, wherein the driving module is used for loading an AP mode drive for the first network card and setting the first network card into an AP mode, and the first network card is a wireless network card;
and the bridging module is used for creating a bridge for bridging the first network card and the second network card in the set top box, wherein the second network card is currently accessed to the network.
The present embodiment further provides a set-top box, as shown in fig. 4, which includes a processor 41, a memory 42 and a communication bus 43, wherein:
the communication bus 43 is used for realizing connection communication between the processor 41 and the memory 42;
the processor 41 is configured to execute one or more computer programs stored in the memory 42 to implement the steps of the set-top box AP mode implementation method in the above-mentioned first and second embodiments.
The present embodiments also provide a storage medium including volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The storage medium in this embodiment may be used to store one or more computer programs, and the one or more computer programs stored in the storage medium may be executed by the processor and may be executed by the processor to implement the steps of the set-top box AP mode implementation method in the foregoing embodiment one and embodiment two.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A set-top box AP mode realization method comprises the following steps:
loading an AP mode drive for a first network card, and setting the first network card to be in an AP mode, wherein the first network card is a wireless network card;
and creating a network bridge for bridging the first network card and a second network card in the set top box, wherein the second network card is currently accessed to the network.
2. The set-top box AP mode implementing method of claim 1, wherein the loading an AP mode driver for the first network card, and the setting the first network card to the AP mode comprises:
and loading an AP mode drive for the first network card, setting the first network card into an AP mode, and creating a virtual interface bound with the first network card.
3. The set-top box AP mode implementing method of claim 2, wherein the second network card comprises: at least two virtual network cards, each virtual network card accessing different networks;
the network comprises the following networks: IPTV network, Internet network.
4. The set-top box AP mode implementing method of claim 3, wherein the creating a bridge that bridges the first network card and the second network card in the set-top box comprises:
and creating a network bridge for bridging the virtual interface and at least one virtual network card.
5. The set-top box AP mode implementing method of claim 4, wherein after creating a bridge bridging the virtual interface and at least one virtual network card, further comprising:
the network bridge obtains the IP address of the corresponding network from at least one virtual network card in the first network card, the network bridge starts IP address distribution service, and the virtual interface obtains the IP address of at least one network from the network bridge.
6. The set-top box AP mode implementing method of claim 4, wherein after creating a bridge bridging the virtual interface and at least one virtual network card, further comprising:
and the virtual interface acquires an IP address from at least one virtual network card in the first network card through the network bridge.
7. The set-top box AP mode implementing method of claims 1-6, wherein loading the AP mode driver for the first network card further comprises, before setting the first network card to the AP mode:
and loading a Station mode driver to set the first network card into a Station mode until the first network card is loaded with an AP mode driver, and setting the first network card into an AP mode.
8. A set-top box AP mode realizing device comprises:
the device comprises a driving module, a first network card and a second network card, wherein the driving module is used for loading an AP mode drive for the first network card and setting the first network card into an AP mode, and the first network card is a wireless network card;
and the bridging module is used for creating a bridge for bridging the first network card and the second network card in the set top box, wherein the second network card is currently accessed to the network.
9. A set-top box is characterized by comprising a first network card and a second network card, wherein the first network card is a wireless network card, and the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the set-top box AP mode implementing method according to any one of claims 1 to 7.
10. A storage medium storing one or more computer programs executable by one or more processors to perform the steps of the set-top box AP mode implementing method as claimed in any one of claims 1 to 7.
CN201910920353.6A 2019-09-26 2019-09-26 Set top box AP mode realization method and device, set top box and storage medium Pending CN112566286A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910920353.6A CN112566286A (en) 2019-09-26 2019-09-26 Set top box AP mode realization method and device, set top box and storage medium
PCT/CN2020/116808 WO2021057718A1 (en) 2019-09-26 2020-09-22 Set-top box ap mode realization method and apparatus, set-top box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920353.6A CN112566286A (en) 2019-09-26 2019-09-26 Set top box AP mode realization method and device, set top box and storage medium

Publications (1)

Publication Number Publication Date
CN112566286A true CN112566286A (en) 2021-03-26

Family

ID=75030177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920353.6A Pending CN112566286A (en) 2019-09-26 2019-09-26 Set top box AP mode realization method and device, set top box and storage medium

Country Status (2)

Country Link
CN (1) CN112566286A (en)
WO (1) WO2021057718A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500172A (en) * 2022-01-30 2022-05-13 普联技术有限公司 IPTV networking method, device, network equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100027444A1 (en) * 2008-07-30 2010-02-04 Ralink Technology Corporation Method and system for establishing connections for wireless network devices
CN202435534U (en) * 2011-12-23 2012-09-12 北京佳视互动科技股份有限公司 Set-top box with wireless routing function
CN102724575A (en) * 2012-04-20 2012-10-10 苏州汉辰数字科技有限公司 Method for implementing WiFi AP function on bidirectional digital set-top box by using USB WiFi module
CN102833605A (en) * 2012-08-24 2012-12-19 四川长虹电器股份有限公司 Network television system with routing function
CN103974386A (en) * 2014-05-29 2014-08-06 珠海迈科电子科技有限公司 Set top box and method for realizing wireless AP (access point) sharing thereof
CN105430484A (en) * 2015-11-24 2016-03-23 华数传媒网络有限公司 Method for realizing wireless AP function on bidirectional digital set top box and set top box

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100027444A1 (en) * 2008-07-30 2010-02-04 Ralink Technology Corporation Method and system for establishing connections for wireless network devices
CN202435534U (en) * 2011-12-23 2012-09-12 北京佳视互动科技股份有限公司 Set-top box with wireless routing function
CN102724575A (en) * 2012-04-20 2012-10-10 苏州汉辰数字科技有限公司 Method for implementing WiFi AP function on bidirectional digital set-top box by using USB WiFi module
CN102833605A (en) * 2012-08-24 2012-12-19 四川长虹电器股份有限公司 Network television system with routing function
CN103974386A (en) * 2014-05-29 2014-08-06 珠海迈科电子科技有限公司 Set top box and method for realizing wireless AP (access point) sharing thereof
CN105430484A (en) * 2015-11-24 2016-03-23 华数传媒网络有限公司 Method for realizing wireless AP function on bidirectional digital set top box and set top box

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500172A (en) * 2022-01-30 2022-05-13 普联技术有限公司 IPTV networking method, device, network equipment and storage medium
CN114500172B (en) * 2022-01-30 2023-08-08 普联技术有限公司 IPTV networking method, IPTV networking device, network equipment and storage medium

Also Published As

Publication number Publication date
WO2021057718A1 (en) 2021-04-01

Similar Documents

Publication Publication Date Title
US10958524B2 (en) Method for generating network slice template and for applying network slice template, and apparatus
US11258667B2 (en) Network management method and related device
CN111934918B (en) Network isolation method and device for container instances in same container cluster
CN111224821B (en) Security service deployment system, method and device
CN106302839B (en) Internet protocol IP address allocation method and device
US11218956B2 (en) Network management method and system
CN108401037B (en) Binding method, device and system of user terminal and equipment
CN112688814B (en) Equipment access method, device, equipment and machine readable storage medium
EP3614650B1 (en) Separation of forwarding plane and control plane of cgn
EP3163946B1 (en) Transmission list in wi-fi acces point
US11178039B2 (en) Electing designated forwarder
CN106412680B (en) Multi-screen control method and device
CN112218386B (en) Application program service path establishing method and device for multi-card terminal, storage medium and terminal
CN102694814B (en) Have the high-definition video player of wireless networking capabilities and WAP (wireless access point) function concurrently
CN112566286A (en) Set top box AP mode realization method and device, set top box and storage medium
EP3503484A1 (en) Message transmission method, device and network system
CN111163463B (en) Method, device, equipment and storage medium for wireless equipment to access router
CN110784510A (en) Method for accessing target service node to bus and information interaction method of service node
US20150109958A1 (en) Transmission path control device
CN103155495A (en) Method, apparatus and system for routing protocol configuration
CN109327517B (en) Method and equipment for acquiring network state of wireless access point
CN112989314A (en) Data authentication method, device and terminal
CN104468305A (en) Three-layer virtual private network achieving method and device
US10938671B2 (en) Mapping service capabilities
US20150109960A1 (en) Transmission path management system and method

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