CN117676251A - Set top box network policy switching method, system, device and storage medium - Google Patents

Set top box network policy switching method, system, device and storage medium Download PDF

Info

Publication number
CN117676251A
CN117676251A CN202311677949.0A CN202311677949A CN117676251A CN 117676251 A CN117676251 A CN 117676251A CN 202311677949 A CN202311677949 A CN 202311677949A CN 117676251 A CN117676251 A CN 117676251A
Authority
CN
China
Prior art keywords
top box
set top
information
target set
address
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
CN202311677949.0A
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.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
Tianyi Digital Life 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 Tianyi Digital Life Technology Co Ltd filed Critical Tianyi Digital Life Technology Co Ltd
Priority to CN202311677949.0A priority Critical patent/CN117676251A/en
Publication of CN117676251A publication Critical patent/CN117676251A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a set top box network policy switching method, a system, a device and a storage medium, wherein an upgrade server is accessed and queried to obtain a uniform resource locator, first information is acquired, first address information corresponding to a user is determined according to the first information, a set top box corresponding to the first address information is queried and managed according to the first address information, the set top box corresponding to the first address information is determined as a target set top box, a first configuration parameter of the target set top box is modified according to the obtained uniform resource locator, the target set top box loads the modified first configuration parameter, OTT application is downloaded and installed, after the target set top box is downloaded and installed, the network policy of the target set top box is switched, a private network connected with the target set top box is switched to a public network, the target set top box is restarted and zero-configuration login is performed, an application interface of downloading and installation is entered, and switching is completed; the development period can be shortened, the development cost can be reduced, and the maintenance cost can be saved. The embodiment of the invention can be widely applied to the technical fields of wireless communication and terminals.

Description

Set top box network policy switching method, system, device and storage medium
Technical Field
The present invention relates to the field of wireless communications and terminal technologies, and in particular, to a set top box network policy switching method, system, device, and storage medium.
Background
The development of internet television technology has led to an increase in the number of internet television users. For providers of internet television, providing a good customer experience for internet television users is an important factor attracting users, where the customer experience includes the quality experience, service experience, content experience, etc. of the provided television service.
OTT (Over The Top) technology is a technology for transmitting audio and video contents through The internet, and is not dependent on The conventional transmission modes of cable television, satellite television and The like, but transmits The audio and video contents to The equipment of a user through The internet, such as a smart phone, a tablet television, a television and The like; most of the existing television users adopt IPTV (interactive network television) set top boxes, so that the IPTV set top boxes can be upgraded to OTT to provide better television services for the television users; the conventional method for upgrading the IPTV set top box to OTT generally comprises the steps that a set top box manufacturer customizes a special system upgrading installation package according to the terminal model of the set top box, the upgrade is completed on the set top box through the operation of going up by a technician, the development period of customizing the special system upgrading installation package is long, the customization cost is high, the manpower is required to consume the service of going up, in addition, the maintenance cost is generated, and the user experience is poor.
Disclosure of Invention
Therefore, the purpose of the embodiments of the present invention is to provide a method, a system, a device, and a storage medium for switching network policies of a set-top box, which shortens the development period, reduces the development cost, and saves the maintenance cost.
In one aspect, the embodiment of the invention provides a set top box network policy switching method, which comprises the following steps:
accessing an upgrade server, and inquiring the upgrade server to obtain a uniform resource locator; the uniform resource locator is used for pointing to an interface of an application program package containing the Internet television;
acquiring and receiving first information, and determining first address information according to the first information; wherein the first information includes a user name and corresponding media access control address information, the first address information characterizes a media access control address corresponding to the user name;
determining a target set top box according to the first address information, modifying a first configuration parameter of the target set top box according to the uniform resource locator so that the target set top box loads the first configuration parameter, and downloading and installing the application program package according to the first configuration parameter;
Acquiring second information, performing switching operation on the network policy of the optical cat of the target set top box, and sending third information, so that the target set top box performs restarting operation according to the third information and performs zero configuration login; the second information characterizes that the target set top box completes the downloading and installing operation of the application program package, and the third information characterizes that the switching operation is completed.
Optionally, the determining the target set top box according to the first address information specifically includes:
acquiring a first data table; the first data table comprises a corresponding relation among a media access control address, an IP address and a set top box;
matching the first address information with the first data table, and determining a set top box corresponding to the first address information;
and taking the set top box corresponding to the first address information as a target set top box.
Optionally, the modifying the first configuration parameter of the target set-top box according to the uniform resource locator specifically includes:
inquiring the target set top box, and determining a first configuration parameter; wherein the first configuration parameter comprises a master authentication address;
and determining a main authentication address according to the first configuration parameter, modifying the main authentication address according to the uniform resource locator, and determining the modified first configuration parameter according to the modified main authentication address.
Optionally, the switching operation on the network policy of the target set top box specifically includes:
inquiring the target set top box to determine a first interface; the first interface characterizes an interface of the target set top box for acquiring television service;
acquiring a first parameter of the first interface, and modifying the first parameter into a second parameter; wherein the first parameter characterizes network connection parameters of the first interface, and the second parameter characterizes network connection parameters of the Internet;
and carrying out network connection according to the modified first parameter to complete network policy switching.
Optionally, the first data table is obtained by:
acquiring first information, and determining first address information according to the first information;
acquiring configuration information of a set top box; the configuration information comprises set top box number information and address information, wherein the address information comprises a media access control address and an IP address;
and determining a first data table according to the first address information and the configuration information.
Optionally, the method further comprises:
acquiring a plurality of software development kits; the software development tool comprises one or more of authentication, desktop and video playing;
Packaging a plurality of software development tool packages to obtain application program packages;
and sending the application program package to the upgrade server so as to enable the upgrade server to store and generate the uniform resource locator.
In another aspect, an embodiment of the present invention provides a set top box network policy switching system, including:
the first module accesses the upgrade server and inquires the upgrade server to obtain a uniform resource locator; the uniform resource locator is used for pointing to an interface of an application program package containing the Internet television;
the second module is used for acquiring first information and determining first address information according to the first information; wherein the first information includes a user name and corresponding media access control address information, the first address information characterizes a media access control address corresponding to the user name;
the third module is used for determining a target set top box according to the first address information, modifying a first configuration parameter of the target set top box according to the uniform resource locator so that the target set top box loads the first configuration parameter and carrying out downloading and installation operations on the application program package;
A fourth module, configured to obtain second information, perform a switching operation on a network policy of a light cat of the target set-top box, and send third information, so that the target set-top box performs a restarting operation, and performs zero configuration login; the second information characterizes that the target set top box completes the downloading and installing operation of the application program package, and the third information characterizes that the switching operation is completed.
Optionally, the second module is further configured to generate a first data table according to the first information, and update the first data table in real time.
In another aspect, an embodiment of the present invention provides a set top box network policy switching device, including:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement the method as described in the previous method embodiments.
In another aspect, embodiments of the present invention provide a computer readable storage medium, in which a processor executable program is stored, which when executed by a processor is configured to perform the method described in the previous method embodiments.
The embodiment of the invention has the following beneficial effects: according to the embodiment, the upgrade server is accessed, the upgrade server is inquired to obtain a uniform resource locator stored in the upgrade server, first information is obtained, first address information corresponding to a user is determined according to the first information, a set top box managed by a system is inquired according to the first address information, the set top box corresponding to the obtained first address information is determined to be a target set top box, first configuration parameters of the target set top box are obtained, then the first configuration parameters of the target set top box are modified according to the obtained uniform resource locator, OTT application is downloaded and installed when the modified first configuration parameters are loaded by the target set top box, then after the downloading and installation of the target set top box are completed, the system switches network strategies of the target set top box, private networks connected with the target set top box are switched to public networks, the target set top box executes restarting and zero configuration login, an application interface of downloading and installation is completed; acquiring a uniform resource locator of the downloaded OTT application, and modifying configuration parameters of a target set top box according to the uniform resource locator, wherein the OTT application can be automatically downloaded and installed when a user runs the set top box, a development upgrading package is not required to be customized according to the type of the set top box terminal, the development period is shortened, and the development cost is reduced; after the set top box downloads and installs the application, the network strategy of the set top box is switched from the private network to the public network, so that the operation of installing and maintaining on the door is not needed, and the cost of installing and maintaining is saved.
Drawings
Fig. 1 is a schematic flow chart of steps of a set top box network policy switching method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a step of determining a target set top box in a set top box network policy switching method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps for modifying a first configuration parameter of a set top box in a set top box network policy switching method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of performing network policy switching in a set top box network policy switching method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a step of obtaining a first data table in a set top box network policy switching method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating another step of a set-top box network policy switching method according to an embodiment of the present invention;
FIG. 7 is a block diagram of a system for setup in one embodiment provided by embodiments of the present invention;
FIG. 8 is a flow chart of steps of an embodiment of the present invention;
fig. 9 is a block diagram of a set top box network policy switching system according to an embodiment of the present invention;
fig. 10 is a block diagram of a set top box network policy switching device according to an embodiment of the present invention.
Detailed Description
The invention will now be described in further detail with reference to the drawings and to specific examples. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", "third" and the like are merely used to distinguish similar objects and do not represent a specific ordering of the objects, it being understood that the "first", "second", "third" may be interchanged with a specific order or sequence, as permitted, to enable embodiments of the invention described herein to be practiced otherwise than as illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the embodiments of the invention is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before describing embodiments of the present invention in further detail, the terms and terminology involved in the embodiments of the present invention will be described, and the terms and terminology involved in the embodiments of the present invention will be used in the following explanation.
OTT: the abbreviation "Over The Top" is derived from sports such as basketball, and is meant to be "Over-The-Top pass" in which basketball players (players) travel back and forth Over their heads to reach a destination; the present invention relates to various video and data service services developed based on the open internet, which provide various application services to user terminals through the internet, wherein the user terminals can be televisions, computers, set top boxes, PADs, smart phones and the like;
IPTV: IPTV is an interactive network television, which is a brand-new technology for providing various interactive services including digital television for home users by utilizing a broadband cable television network and integrating various technologies such as Internet, multimedia, communication and the like, and is a video service developed by operators through an IP private network and a special IPTV set-top box;
SDK: namely Software Development Kit, a software development kit, is a collection of development tools used by software engineers to create application software for a particular software package, software framework, hardware platform, operating system, etc., to facilitate the creation of applications by compilers, debuggers, software frameworks, etc., including some application program interfaces, utilities for debugging and other purposes, example code, supportive technical notes, or other supporting documents that clarify erasures for basic references;
ROM: and (5) installing a package on the set top box system.
As shown in fig. 1, an embodiment of the present invention provides a set-top box network policy switching method, which includes the following steps.
S100, accessing an upgrade server, and inquiring the upgrade server to obtain a uniform resource locator; wherein the uniform resource locator is used to point to an interface of an application package containing internet television.
Specifically, in this embodiment, the set top box is managed through the management platform; the management platform accesses the upgrade server through a fixed public network or a public network connected with the upgrade server, and queries the upgrade server through the connected fixed public network or the public network to obtain a uniform resource locator stored in the upgrade server; the interface of the corresponding soft terminal installation package can be jumped to through the uniform resource locator, and the soft terminal installation package is downloaded; the upgrade server stores developed soft terminal installation packages of different versions; the management platform accesses and queries the upgrade server through the internet to obtain the URL of the OTT soft terminal installation package in the upgrade server, and stores the obtained URL of the OTT soft terminal installation package.
S200, acquiring first information, and determining first address information according to the first information; the first information comprises a user name and corresponding media access control address information, and the first address information characterizes the media access control address corresponding to the user name.
Specifically, after the operation in step S100, the management platform obtains the uniform resource locator of the soft terminal installation package, then, the management platform obtains the first information, analyzes the obtained first information, and extracts the MAC address therein, wherein the MAC address is a medium access control address, and the management platform can uniquely identify the device in the network through the MAC address, so that the management platform can search the device through the MAC address; in this embodiment, a user handles a service, a service system generates relevant work order information and sends the work order information to a management platform, the management platform receives the work order information sent by the service system, and the management platform can obtain information such as a user name, a service type, an MAC address and the like in the work order information by analyzing the work order information, so that the information is used for inquiring a subsequent target set top box.
S300, determining a target set top box according to the first address information, modifying a first configuration parameter of the target set top box according to the uniform resource locator so that the target set top box loads the first configuration parameter, and downloading and installing the application program package according to the first configuration parameter.
Specifically, since the MAC address uniquely identifies a device in a local area network or ethernet network; thus, the management platform can locate the device it manages through the MAC address; in this embodiment, the management platform may manage the set-top boxes and provide related services by establishing a local area network, so that the set-top box devices in the local area network are allocated with respective corresponding MAC addresses, and the management platform searches the set-top box devices managed in the local area network according to the MAC addresses obtained by analyzing and processing the work order information, thereby determining target set-top box devices corresponding to the MAC addresses in the work order information; and then, the management platform modifies the configuration information of the searched target set top box equipment according to the uniform resource locator obtained by accessing the upgrade server, and when the target set top box equipment runs the modified configuration information, the target set top box equipment jumps to a downloading interface of the OTT soft terminal installation package through the uniform resource locator, downloads the OTT soft terminal installation package therein and installs the corresponding application OTT according to the OTT soft terminal installation package.
S400, acquiring second information, performing switching operation on the network policy of the optical cat of the target set top box, and sending third information, so that the target set top box performs restarting operation according to the third information, and performs zero configuration login; the second information characterizes the target set top box to finish the downloading and installing operation of the application program package, and the third information characterizes the switching operation to finish.
Specifically, the corresponding set top box device is found through step S300, the configuration parameters of the set top box device are modified, and after the management platform determines that the set top box device downloads and installs the corresponding application program, the network connection strategy of the set top box device is modified, so that the set top box device switches the network connected with the set top box device when running, and television services can be provided through the connected network when the set top box device runs the downloaded and installed application program; in this embodiment, the target set-top box device runs the modified configuration parameters, downloads the installation package of the URL in the configuration parameters, installs the corresponding application program according to the downloaded installation package, and sends notification information to the management platform after the application program is installed; after receiving the notification information, the management platform acquires a current network connection strategy of a corresponding interface of the optical modem connected with the target set top box, modifies the current network connection strategy and switches an IPTV private network connected with the optical modem connected with the target set top box into a public network, such as the Internet; after the network connection strategy of the target set top box is switched, the management platform sends a signal to inform the target set top box, the target set top box receives the signal and then connects with a network according to the network connection strategy, after the network connection is successful, the target set top box executes restarting operation, a user logs in the desktop of the application program OTT downloaded in the previous step through zero configuration, and services are provided through the connected network.
Optionally, determining the target set top box according to the first address information, and a specific step flow is shown in fig. 2:
s311, acquiring a first data table; the first data table comprises the corresponding relation among the media access control address, the IP address and the set top box.
Specifically, the management platform manages the set-top box equipment by establishing a local area network, the management platform can monitor the configuration, fault or performance state of the equipment through the local area network, in order to conveniently find the managed set-top box equipment, the management platform constructs a data table, acquires the parameters related to the managed set-top box equipment, including the MAC address, the IP address, the name or number of the set-top box and the like of the set-top box, and writes the acquired MAC address, IP address and name or number of the set-top box into the constructed data table, so that the management platform can quickly find through the data table; meanwhile, the management platform can also acquire configuration information of the managed equipment in real time, and when the acquired configuration information of the equipment changes, the constructed data table is updated according to the changed configuration information so as to ensure the accuracy of the data table.
S312, the first address information is matched with the first data table, the set top box corresponding to the first address information is determined, and the set top box corresponding to the first address information is used as a target set top box.
Specifically, the first address information is obtained through step S200, the management platform performs query matching on the established data table according to the first address information, so that the set top box device corresponding to the first address information can be determined, the second address information corresponding to the set top box device can be obtained, and the management platform can directly send information to the device corresponding to the second address information according to the determined second address information so as to perform communication; or the management platform indirectly sends information to the equipment corresponding to the second address information through the transfer equipment according to the determined second address information so as to communicate; in this embodiment, the management platform performs parsing processing on the received first information, to obtain a MAC address of 08:00:20:0A:8C:6D, carrying out query matching on the first data table according to the MAC address, determining the set top box equipment corresponding to the MAC address in the first data table, wherein the data obtained by searching and matching the data in the first data table by the management platform are [ (08:00:20:0A: 8C: 6D), (192.168.0.112), 004], and the set top box equipment with the number 004 can be obtained from the data, wherein the MAC address is 08:00:20:0A:8C: and the set top box equipment corresponding to the 6D is used as target set top box equipment, and the set top box equipment with the number 004 is used as an object of the subsequent network connection strategy switching operation.
Optionally, the first configuration parameter of the target set-top box is modified according to the uniform resource locator, and the specific step flow is as shown in fig. 3:
s321, inquiring the target set top box, and determining a first configuration parameter; wherein the first configuration parameter comprises a primary authentication address.
Specifically, after determining the target set-top box device through step S312, the configuration parameter information of the target set-top box device needs to be modified, so that the set-top box downloads the soft terminal installation package of the related application program by itself, and installs the corresponding application program according to the downloaded installation package to provide the corresponding service; in this embodiment, the management platform obtains configuration parameter information of the target set-top box device through a network, for example, a communication protocol supported by the set-top box, network connection parameters of each interface of the set-top box, parameters such as an authentication address, a user name, a password and the like of the set-top box, and extracts a main authentication address of the set-top box device from the management platform; in general, when the set top box equipment runs and works each time, the set top box equipment jumps to an authentication interface through a main authentication address, generates authentication information according to configuration parameters of the set top box, authenticates the authentication interface according to the authentication information, accesses a corresponding private network after the authentication is passed, and acquires data through the private network to provide corresponding television service; the embodiment is based on the fact that the set top box device runs the main authentication address when running each time, so that the set top box device downloads and installs the corresponding application program.
S322, determining a main authentication address according to the first configuration parameter, modifying the main authentication address according to the uniform resource locator, and determining the modified first configuration parameter according to the modified main authentication address.
Specifically, after the primary authentication address is extracted from the configuration parameters of the target set-top box device, modifying the authentication jump link of the primary authentication address into a uniform resource locator pointing to an interface of a soft terminal installation package for downloading the related application program, which is obtained in the step S100, when the user uses the target set-top box next time, the target set-top box is electrified to operate, jumps to the interface of the soft terminal installation package for downloading the related application program through the uniform resource locator of the primary authentication address in the configuration parameter information, and then downloads and installs the soft terminal installation package of the related application program in the interface; in this embodiment, the management platform modifies the main authentication address of the 004 set top box with the number as the target set top box into the URL for downloading the OTT soft terminal APK installation package, and when the 004 set top box runs next time, the 004 set top box jumps to the interface for downloading the OTT soft terminal APK through the URL to download, and installs the OTT software into the 004 set top box.
Optionally, the network policy of the optical cat of the target set-top box is switched, and the specific step flow is shown in fig. 4:
S411, inquiring the optical cat of the target set top box to determine a first interface; the first interface characterizes an interface of the target set top box for acquiring television service.
Specifically, after the target set-top box equipment downloads and installs the application program, the system acquires configuration parameter information of the optical modem connected with the target set-top box equipment, for example, network connection parameters, user names, passwords and the like of all interfaces of the optical modem, wherein the optical modem is also called an optical modem, and the set-top box is connected with a network through the optical modem and realizes signal transmission through the optical modem; different interfaces are arranged on the optical cat, different functions are realized through the different interfaces, for example, data transmission is performed through the arranged network interfaces; different interfaces in the optical modem are provided with different IDs, the required interfaces are determined by inquiring the IDs of the interfaces of the optical modem, in the embodiment, the management platform determines the No. 004 set top box as a target set top box, meanwhile, the optical modem connected with the No. 004 set top box is also determined, the management platform sequentially inquires the interfaces IDs of the optical modem connected with the No. 004 set top box, and accordingly determines the itv interfaces of the optical modem, and the optical modem is connected with an IPTV private network of an operator through a itv interface, so that IPTV television service is provided for the No. 004 set top box.
S412, acquiring a first parameter of the first interface, and modifying the first parameter into a second parameter; the first parameter characterizes network connection parameters of the first interface, and the second parameter characterizes network connection parameters of the Internet.
Specifically, after determining the itv interface of the optical cat connected to the target set-top box through step S411, the system obtains the current network connection parameter of the interface through the optical cat, the system can know the network type and state connected to the current interface of the optical cat connected to the target set-top box through analysis of the current network connection parameter, if the system determines that the network currently connected to the itv interface of the optical cat connected to the target set-top box is the internet or the public network through analysis of the network connection parameter, the system can not modify the network connection policy of the itv interface of the optical cat connected to the target set-top box; if the system determines that the network currently connected with the itv interface of the optical cat connected with the target set-top box is a private network through analysis of the network connection parameters, the current network connection parameters of the itv interface of the optical cat connected with the target set-top box are modified into network parameters of the Internet or the public network; in this embodiment, the management platform determines, by querying, that the network connected to the itv interface of the optical cat connected to the set top box with the number 004 is the IPTV private network of the operator, and then, the management platform modifies the network connection parameter connected to the itv interface of the optical cat connected to the set top box with the number 004 into the network connection parameter of the public network or the internet.
S413, performing network connection according to the modified first parameter to complete network policy switching.
Specifically, because the network connection parameters of the interface of the optical modem are changed, the network currently connected by the interface of the optical modem is disconnected because of mismatch, so that the optical modem needs to reconnect the network of the interface, searches for a corresponding network through the network connection parameters of the interface and connects, and after the network is successfully reconnected by the interface of the optical modem, the optical modem sends notification information to the system so as to perform subsequent operations; in this embodiment, the network connection parameters of the itv interface of the optical cat connected with the set top box with the number 004 are modified into the internet or the public network, and the itv interface of the optical cat connected with the set top box with the number 004 is reconnected to the internet or the public network, so that the network policy switching of the itv interface of the optical cat connected with the set top box is completed.
Optionally, the first data table is obtained by the following manner, and a specific step flow is shown in fig. 5:
s510, acquiring first information, and determining first address information according to the first information.
Specifically, the system constructs a data table so as to search the set top box equipment managed by the system; the method comprises the steps of acquiring first information, analyzing the acquired first information, extracting an MAC address in the first information, wherein the MAC address is a media access control address, and enabling a system to uniquely identify equipment in a network through the MAC address, so that the first address information in the first information corresponds to user information one by one, and the user information in set top box equipment is recorded in an operator system, and therefore the first address information and the set top box information can be associated; in a specific embodiment, the management platform obtains the work order information sent by the service system, wherein the work order information contains information such as a user name, a service type, an MAC address and the like, and the MAC address information in the work order information is obtained by analyzing the work order information, wherein the MAC address information is 08:00:20:0A:8C:6D, and the user name corresponding to the mac address is m_user.
S520, acquiring configuration information of the set top box; the configuration information comprises set top box number information and address information, and the address information comprises a media access control address and an IP address.
Specifically, the system acquires related parameters of the set top box equipment managed by the system, including an MAC address, an IP address, a set top box name or number, a user name of the set top box and the like of the set top box, wherein the MAC address uniquely identifies the equipment in a network, and the set top box equipment managed by the system is searched through the MAC address; the IP address is used for carrying out data transmission on the system and the set top box equipment managed by the system; in this embodiment, the management platform obtains the configuration information of the set top box with the number 004, the number 004 of the set top box in the configuration information of the set top box, and the MAC address of the address information in the configuration information of the set top box 004 is 08:00:20:0A:8C:6D, and the IP address of the address information in the configuration information is 192.168.0.112; the user name of the set top box in the 004 set top box configuration information is M_user.
S530, determining a first data table according to the first address information and the configuration information.
Specifically, the first address information in the first information is obtained through the step S520, the configuration information of the set top box is obtained through the step S530, matching and pairing are carried out on the first address information in the work order information obtained through the step S520 and the user name one by one with the configuration information of the set top box obtained through the step S530, and then, the paired data are written into a data table to obtain a first data table; in this embodiment, the MAC address information in the work order information acquired by the management platform is 08:00:20:0A:8C:6D and the user name are M_user, and the configuration information obtained to the set top box is set top box number 004, MAC address 08:00:20:0A:8C:6d, ip address 192.168.0.112, user name m_user; and then writing the data information into the data table to obtain a first data table.
Optionally, the set top box network policy switching method further includes the step flow shown in fig. 6:
s610, acquiring a plurality of software development kits; the software development tool comprises one or more of authentication, desktop and video playing.
Specifically, SDK (Software Development Kit) is a software development kit, which includes an interface file, a library file, a help document, a development example, a utility tool, and the like, and different SDKs have different functions, so that files, documents, or tools contained therein are also different, for example, an SDK kit with authentication function, an SDK kit with video playing function, and the like, and a developer can obtain a kit of an SDK with a corresponding function according to the functional requirement of the developed software; in this embodiment, a developer obtains an SDK toolkit with functions of authentication, desktop, video playing, etc. according to the functional requirements of the OTT application; the terminal can realize the corresponding function by running the SDK toolkit, for example, the set top box runs the SDK toolkit with the authentication and authorization function, and the set top box can jump to the authentication interface to carry out authentication.
S620, packaging the SDK toolkits to obtain an application program package.
Specifically, the obtained SDK toolkits with different functions are packaged through a packaging tool, and an external disclosure interface is reserved to obtain an application program package with the obtained SDK toolkit functions; in this embodiment, the developer encapsulates the acquired SDK toolkit with functions of authentication, desktop, video playing, etc. through the encapsulation tool, so as to obtain the soft terminal APK of OTT.
And S630, sending the application program package to the upgrade server so as to enable the upgrade server to store and generate the uniform resource locator.
Specifically, after the application package is obtained in step S620, the package is sent to the upgrade server, and the upgrade server generates a uniform resource locator according to the obtained package, and when the uniform resource locator is clicked or operated, the corresponding package is downloaded and installed by itself.
In a specific embodiment, a system as shown in fig. 7 is provided, including an upgrade server, a management platform, a service system, and a set-top box device, where the set-top box device includes a plurality of set-top boxes and respective corresponding optical cats; the upgrade server is used for storing the APK of the developed application program and generating a URL; the management platform manages the connected set top box equipment, acquires the URL from the upgrade server, and the service system is used for the user to transact the service, generates work order information according to the transacted service type and service content and sends the work order information to the management platform; in the system shown in fig. 7, the method shown in fig. 8 is operated to upgrade the set-top box equipment in the system on line, and the IPTV private network connected with the set-top box equipment is switched to the public network; firstly, a management platform is connected with an upgrade server through the Internet or the public network and accesses the upgrade server through the Internet or the public network to acquire a URL (Uniform resource locator) downloaded by an OTT application APK (android application package) and store the acquired URL (Uniform resource locator); the front end of the business system can be connected with a business hall system of an operator, after a user goes to the business hall to transact related business, the business system generates work order information according to business contents transacted by the user, for example, the OTT business of a set top box transacted by the user in the business hall, the business system generates work order information according to the OTT business of the set top box transacted by the user, and the work order information comprises transacted business types, business contents, user names, equipment numbers, related address information and the like; after the business system generates work order information, the work order information is sent to the management platform; after receiving the work order information sent by the service system, the management platform analyzes the work order information and extracts relevant Address information from the work order information, wherein the relevant Address information comprises an MAC Address and an IP Address, the MAC Address (Media Access Control Address) is a media access control Address, also called a local area network Address (LAN Address), and the MAC Address, an Ethernet Address (Ethernet Address) or a Physical Address (Physical Address) is an Address for confirming the position of network equipment and is used for uniquely identifying one equipment in a network; the IP address (Internet Protocol Address) is an Internet protocol address or an Internet protocol address, is a unified address format provided by the IP protocol, and is used for distributing a logic address for each network and each host on the Internet, so as to shield the difference in physical addresses; the management platform obtains a MAC address of 08:00:20:0A:8C:6D, searching a corresponding set top box from the set top box equipment managed by the set top box according to the MAC address, wherein the set top box corresponding to the MAC address is the set top box 4, after searching the set top box corresponding to the address information in the work order information by the management platform, modifying a main authentication address of the set top box according to an acquired URL (uniform resource locator), wherein the set top box loads the main authentication address when the set top box works in each running, jumps to an authentication interface through the main authentication address, generates authentication information according to configuration parameters of the set top box, authenticates the authentication interface according to the authentication information, and after the authentication is passed, the set top box accesses a corresponding private network through a connected light cat, acquires data through the private network and provides the acquired data to the set top box, so that corresponding television service is provided for a user; after the management platform modifies the main authentication address of the set top box into a URL (Uniform resource locator), the set top box is electrified to start working, the modified main authentication address is loaded, and the interface for downloading the OTT soft terminal installation package is entered through the URL (Uniform resource locator), and the OTT soft terminal installation package is downloaded and installed; after the set top box is installed to finish an OTT soft terminal, the management platform performs ID inquiry on the optical modem connected with the set top box 4, because different interfaces are arranged on the optical modem, different functions are realized through the different interfaces, different IDs are arranged on the different interfaces of the optical modem for convenient management, the required interfaces can be determined by inquiring the IDs of the interfaces of the optical modem, the management platform determines the itv interface of the optical modem by inquiring the IDs of the interfaces of the optical modem, the management platform obtains the current network connection parameters of the interfaces of the optical modem itv, the management platform analyzes the current network connection parameters of the interfaces of the optical modem itv, determines that the network currently connected with the itv interface of the optical modem connected with the target set top box is the Internet or the public network, and the management platform does not modify the network connection strategy of the interfaces of the optical modem itv; if the management platform determines that the network currently connected to the itv interface of the optical cat connected to the target set-top box is the IPTV private network of the operator through analysis of the current network connection parameters of the interface of the optical cat itv, the current network connection parameters of the interface of the optical cat itv are modified into network parameters of the internet or the public network, the network connection parameters of the interface of the optical cat itv are changed, and the interface of the optical cat itv is reconnected to the internet or the public network, so that switching of network policies of the set-top box 4 is completed.
The embodiment of the invention has the following beneficial effects: according to the embodiment, the upgrade server is accessed, the upgrade server is inquired to obtain a uniform resource locator stored in the upgrade server, first information is obtained, first address information corresponding to a user is determined according to the first information, a set top box managed by a system is inquired according to the first address information, the set top box corresponding to the obtained first address information is determined to be a target set top box, first configuration parameters of the target set top box are obtained, then the first configuration parameters of the target set top box are modified according to the obtained uniform resource locator, OTT application programs are downloaded and installed when the modified first configuration parameters are loaded by the target set top box, then after the downloading and installation of the target set top box are completed, the system switches network strategies of the target set top box, private networks connected with the target set top box are switched to public networks, the target set top box executes restarting and zero configuration login, and an application interface for downloading and installation is completed; acquiring a uniform resource locator for downloading an OTT application program, and modifying configuration parameters of a target set top box according to the uniform resource locator, wherein the OTT application program can be automatically downloaded and installed when a user runs the set top box, different development upgrade package versions are not required to be customized according to the type of a set top box terminal, and the set top boxes of different types can be adapted only by developing a soft terminal installation package, so that the development period of the set top box upgrade package can be shortened, and the development cost is reduced; after the set top box downloads and installs the application, the network strategy of the set top box is switched from the private network to the public network, so that the online upgrade of the set top box can be realized, the operation of installing and maintaining on the upper door is not needed, and the maintenance cost is saved.
As shown in fig. 9, the embodiment of the present invention further provides a set top box network policy switching system, including:
the first module accesses the upgrade server and inquires the upgrade server to obtain a uniform resource locator; the uniform resource locator is used for pointing to an interface of an application program package containing the Internet television;
the second module is used for acquiring and receiving first information and determining first address information according to the first information; wherein the first information includes a user name and corresponding media access control address information, the first address information characterizes a media access control address corresponding to the user name;
the third module is used for determining a target set top box according to the first address information, modifying a first configuration parameter of the target set top box according to the uniform resource locator so that the target set top box loads the first configuration parameter and carrying out downloading and installation operations on the application program package;
a fourth module, configured to receive and acquire second information, perform a switching operation on a network policy of a light cat of the target set-top box, and send third information, so that the target set-top box performs a restarting operation and performs zero configuration login; the second information characterizes that the target set top box completes the downloading and installing operation of the application program package, and the third information characterizes that the switching operation is completed.
Optionally, the second module is further configured to generate a first data table according to the first information, and update the first data table in real time.
It can be seen that the foregoing method embodiments are applicable to the system embodiment, and the functions specifically implemented by the system embodiment are the same as those of the foregoing method embodiment, and the achieved beneficial effects are the same as those of the foregoing method embodiment.
As shown in fig. 10, the embodiment of the present invention further provides a set top box network policy switching device, including:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement the method steps of the set top box network policy switching method of the previous method embodiment.
Wherein the memory is operable as a non-transitory computer readable storage medium storing a non-transitory software program and a non-transitory computer executable program. The memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes remote memory provided remotely from the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It can be seen that the foregoing method embodiments are applicable to the apparatus embodiment, and the functions specifically implemented by the apparatus embodiment are the same as those of the foregoing method embodiment, and the advantages achieved by the apparatus embodiment are the same as those achieved by the foregoing method embodiment.
Furthermore, embodiments of the present application disclose a computer program product or a computer program, which is stored in a computer readable storage medium. The computer program may be read from a computer readable storage medium by a processor of a computer device, the processor executing the computer program causing the computer device to perform the method as described above. Similarly, the content in the above method embodiment is applicable to the present storage medium embodiment, and the specific functions of the present storage medium embodiment are the same as those of the above method embodiment, and the achieved beneficial effects are the same as those of the above method embodiment.
The embodiment of the present invention also provides a computer-readable storage medium storing a processor-executable program for implementing the foregoing method when executed by a processor.
It is to be understood that all or some of the steps, systems, and methods disclosed above may be implemented in software, firmware, hardware, and suitable combinations thereof. 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. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, 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. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, 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.
While the preferred embodiment of the present invention has been described in detail, the invention is not limited to the embodiment, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the invention, and these modifications and substitutions are intended to be included in the scope of the present invention as defined in the appended claims.

Claims (10)

1. The set top box network policy switching method is characterized by comprising the following steps:
accessing an upgrade server, and inquiring the upgrade server to obtain a uniform resource locator; the uniform resource locator is used for pointing to an interface of an application program package containing the Internet television;
acquiring first information, and determining first address information according to the first information; wherein the first information includes a user name and corresponding media access control address information, the first address information characterizes a media access control address corresponding to the user name;
determining a target set top box according to the first address information, modifying a first configuration parameter of the target set top box according to the uniform resource locator so that the target set top box loads the first configuration parameter, and downloading and installing the application program package according to the first configuration parameter;
Acquiring second information, performing switching operation on the network policy of the optical cat of the target set top box, and sending third information, so that the target set top box performs restarting operation according to the third information and performs zero configuration login; the second information characterizes that the target set top box completes the downloading and installing operation of the application program package, and the third information characterizes that the switching operation is completed.
2. The method according to claim 1, wherein the determining the target set-top box according to the first address information specifically includes:
acquiring a first data table; the first data table comprises a corresponding relation among a media access control address, an IP address and a set top box;
and matching the first address information with the first data table, determining a set top box corresponding to the first address information, and taking the set top box corresponding to the first address information as a target set top box.
3. The method according to claim 1, wherein said modifying the first configuration parameter of the target set-top box according to the url comprises:
inquiring the target set top box, and determining a first configuration parameter; wherein the first configuration parameter comprises a master authentication address;
And determining a main authentication address according to the first configuration parameter, modifying the main authentication address according to the uniform resource locator, and determining the modified first configuration parameter according to the modified main authentication address.
4. The method according to claim 1, wherein the switching operation on the network policy of the optical cat of the target set-top box specifically includes:
inquiring the light cat of the target set top box to determine a first interface; the first interface characterizes an interface of the target set top box for acquiring television service;
acquiring a first parameter of the first interface, and modifying the first parameter into a second parameter; wherein the first parameter characterizes network connection parameters of the first interface, and the second parameter characterizes network connection parameters of the Internet;
and carrying out network connection according to the modified first parameter to complete network policy switching.
5. The method of claim 2, wherein the first data table is obtained by:
acquiring first information, and determining first address information according to the first information;
acquiring configuration information of a set top box; the configuration information comprises set top box number information and address information, wherein the address information comprises a media access control address and an IP address;
And determining a first data table according to the first address information and the configuration information.
6. The method according to claim 1, wherein the method further comprises:
acquiring a plurality of software development kits; the software development tool comprises one or more of authentication, desktop and video playing;
packaging a plurality of software development tool packages to obtain application program packages;
and sending the application program package to the upgrade server so as to enable the upgrade server to store and generate the uniform resource locator.
7. A set top box network policy switching system, comprising:
the first module accesses the upgrade server and inquires the upgrade server to obtain a uniform resource locator; the uniform resource locator is used for pointing to an interface of an application program package containing the Internet television;
the second module is used for acquiring first information and determining first address information according to the first information; wherein the first information includes a user name and corresponding media access control address information, the first address information characterizes a media access control address corresponding to the user name;
The third module is used for determining a target set top box according to the first address information, modifying a first configuration parameter of the target set top box according to the uniform resource locator so that the target set top box loads the first configuration parameter and carrying out downloading and installation operations on the application program package;
a fourth module, configured to obtain and receive the second information, perform a switching operation on the network policy of the target set-top box, and send third information, so that the target set-top box performs a restarting operation, and performs zero configuration login; the second information characterizes that the target set top box completes the downloading and installing operation of the application program package, and the third information characterizes that the switching operation is completed.
8. The system of claim 7, wherein the second module is further configured to generate a first data table based on the first information and update the first data table in real time.
9. A set top box network policy switching device, comprising:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement the method of any of claims 1-6.
10. A computer readable storage medium, in which a processor executable program is stored, characterized in that the processor executable program is for performing the method according to any of claims 1-6 when being executed by a processor.
CN202311677949.0A 2023-12-07 2023-12-07 Set top box network policy switching method, system, device and storage medium Pending CN117676251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311677949.0A CN117676251A (en) 2023-12-07 2023-12-07 Set top box network policy switching method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311677949.0A CN117676251A (en) 2023-12-07 2023-12-07 Set top box network policy switching method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN117676251A true CN117676251A (en) 2024-03-08

Family

ID=90067804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311677949.0A Pending CN117676251A (en) 2023-12-07 2023-12-07 Set top box network policy switching method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN117676251A (en)

Similar Documents

Publication Publication Date Title
CN109451472B (en) Dynamic management method for multiple Bluetooth chips on Android intelligent device
US20130346964A1 (en) OSGi PROGRAM, OSGi SYSTEM
JP4723648B2 (en) Device manufacturing using wireless technology embedded in the device
US20040015572A1 (en) Gateway and remote server for automatically configuring a device, and method therefor
KR101555170B1 (en) Techniques for automatic software provisioning
US6219703B1 (en) Method and apparatus for constructing a device management information base in a network management station
US20040010327A1 (en) Home gateway for automatically acquiring and updating modules for controlling home electronics devices
CN107635027B (en) Domain name resolution method, medium, device and computing equipment
US20130275956A1 (en) Firmware upgrade method and system and terminal device using the method
CN102185900A (en) Application service platform system and method for developing application services
WO2011076146A1 (en) Method for downloading application data, digital television reception terminal and system
CN101895668A (en) Set top box and family cloud computing method based on same
KR102084286B1 (en) Solution for distributed application life-cycle management
US20090138542A1 (en) Information processing apparatus and information processing method
US20140379925A1 (en) Apparatus and method for interworking between app store servers to share application information
CN103180836A (en) Control device, control system, and control method
EP1605717A1 (en) Updating wireless data using a wireless connection
AU2011358857B2 (en) Method and apparatus for managing content in a processing device
CN104619039A (en) Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment
CN117676251A (en) Set top box network policy switching method, system, device and storage medium
CN113709256B (en) Switching method of test environment and application environment
CN112910956B (en) Resource creation method and device and electronic equipment
CN103458121A (en) System and method capable of realizing Android version compatibility and third-party function compatibility
KR101328562B1 (en) Method and apparatus for managing contents using identification code
CN112235590B (en) Method, system and terminal equipment for television live broadcast multi-region deployment

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