CN113068078A - Network and content switching method and device thereof - Google Patents
Network and content switching method and device thereof Download PDFInfo
- Publication number
- CN113068078A CN113068078A CN202110276785.5A CN202110276785A CN113068078A CN 113068078 A CN113068078 A CN 113068078A CN 202110276785 A CN202110276785 A CN 202110276785A CN 113068078 A CN113068078 A CN 113068078A
- Authority
- CN
- China
- Prior art keywords
- network
- intelligent hardware
- currently accessed
- hardware equipment
- switching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000008569 process Effects 0.000 claims abstract description 21
- 230000004048 modification Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 230000009471 action Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64707—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless for transferring content from a first network to a second network, e.g. between IP and wireless
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
- H04N7/173—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
Abstract
The method realizes that when a network switching instruction is received, the network is directly switched to another network, reduces other processing procedures, improves switching efficiency, starts an application program corresponding to a network currently accessed by intelligent hardware equipment from a process running in a background, and improves application program starting efficiency.
Description
Technical Field
The present application relates to the field of intelligent device technologies, and in particular, to a network and a method and an apparatus for switching content thereof.
Background
Currently, intelligent hardware devices (such as a smart television and a set-top box) based on an Android operating system platform may provide services using an IPTV wired private network or an OTT public network.
In the case where the intelligent hardware device supports the use of different networks for providing services, a need for switching between the IPTV private wired network and the OTT public network may be received.
However, when a network handover request is received, how to perform network handover becomes a problem.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present application provide a network and a method and an apparatus for switching content thereof, so as to achieve the purpose of improving network switching efficiency, and the technical solution is as follows:
a network and its content switching method, apply to the intellectual hardware device, the stated intellectual hardware device integrates IPTV system and OTT system that accords with OTT norm that accords with IPTV norm, the stated intellectual hardware device supports wired connection mode and wireless connection mode, said method comprises:
if a network switching instruction is received, determining a network currently accessed by the intelligent hardware equipment;
if the network currently accessed by the intelligent hardware equipment is an IPTV wired private network, switching the IPTV wired private network into an OTT public network, and taking the OTT public network as the network currently accessed by the intelligent hardware equipment;
if the network currently accessed by the intelligent hardware equipment is an OTT public network, switching the OTT public network into the IPTV wired private network, and taking the IPTV wired private network as the network currently accessed by the intelligent hardware equipment;
and processing the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware equipment.
Optionally, the determining a network currently accessed by the intelligent hardware device includes:
executing a ping command carrying a gateway address of a first network to obtain a first execution result;
judging whether the first execution result represents that a gateway of the first network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the first network;
if not, executing a ping command carrying the gateway address of the second network to obtain a second execution result;
judging whether the second execution result represents that the gateway of the second network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the second network;
if the first network is an IPTV wired private network, the second network is an OTT public network; and if the first network is an OTT public network, the second network is an IPTV wired private network.
Optionally, the determining a network currently accessed by the intelligent hardware device includes:
reading a first attribute value, wherein the first attribute value represents a desktop application which needs to be displayed by the intelligent hardware equipment under a currently accessed network;
and taking the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware equipment.
Optionally, the using the OTT public network as the network currently accessed by the intelligent application device, or after using the IPTV wired private network as the network currently accessed by the intelligent hardware device, further includes:
and modifying the first attribute value into a value matched with the network currently accessed by the intelligent hardware equipment.
Optionally, before determining the network currently accessed by the intelligent hardware device, the method further includes:
reading a second attribute value, and judging whether the second attribute value is a numerical value representing that the intelligent hardware equipment is performing network switching or not, wherein the second attribute value represents a network switching state of the intelligent hardware equipment;
if so, outputting prompt information that the intelligent hardware equipment is performing network switching;
if not, modifying the second attribute value into a value representing that the intelligent hardware equipment is in network switching, and determining the current network accessed by the intelligent hardware equipment.
A network and its content switching device, apply to the intellectual hardware apparatus, the stated intellectual hardware apparatus integrates IPTV system and OTT system that accords with OTT norm that accords with IPTV norm, the stated intellectual hardware apparatus supports wired connection mode and wireless connection mode, the apparatus includes:
the determining module is used for determining the current network accessed by the intelligent hardware equipment if a network switching instruction is received;
the switching module is used for switching the IPTV wired private network into an OTT public network if the network currently accessed by the intelligent hardware equipment is the IPTV wired private network, and taking the OTT public network as the network currently accessed by the intelligent hardware equipment; or, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device;
and the starting module is used for processing the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background and starting the application program corresponding to the network currently accessed by the intelligent hardware equipment.
Optionally, the determining module is specifically configured to:
executing a ping command carrying a gateway address of a first network to obtain a first execution result;
judging whether the first execution result represents that a gateway of the first network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the first network;
if not, executing a ping command carrying the gateway address of the second network to obtain a second execution result;
judging whether the second execution result represents that the gateway of the second network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the second network;
if the first network is an IPTV wired private network, the second network is an OTT public network; and if the first network is an OTT public network, the second network is an IPTV wired private network.
Optionally, the determining module is specifically configured to:
reading a first attribute value, wherein the first attribute value represents a desktop application which needs to be displayed by the intelligent hardware equipment under a currently accessed network;
and taking the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware equipment.
Optionally, the apparatus further comprises:
and the first modification module is used for modifying the first attribute value into a numerical value matched with the network currently accessed by the intelligent hardware equipment.
Optionally, the apparatus further comprises:
the judging module is used for reading a second attribute value and judging whether the second attribute value is a numerical value representing that the intelligent hardware equipment is in network switching, and the second attribute value represents the network switching state of the intelligent hardware equipment;
the prompting module is used for outputting prompting information that the intelligent hardware equipment is performing network switching if the second attribute value is a numerical value representing that the intelligent hardware equipment is performing network switching;
and the second modification module is used for modifying the second attribute value into a value representing that the intelligent hardware device is in network switching if the second attribute value is not the value representing that the intelligent hardware device is in network switching, and triggering the determination module to determine the network currently accessed by the intelligent hardware device.
Compared with the prior art, the beneficial effect of this application is:
in this application, intelligent hardware equipment can guarantee that intelligent hardware equipment can not only use the IPTV system through the integration has the IPTV system that accords with the IPTV standard and the OTT system that accords with the OTT standard, and can also use the OTT system, if receive the network switching instruction, then confirm the network that intelligent hardware equipment visits at present, if the network that intelligent hardware equipment visits at present is the wired private network of IPTV, then will the wired private network of IPTV switches into the OTT public network, if the network that intelligent hardware equipment visits at present is the OTT public network, then will the OTT public network switches into the wired private network of IPTV, realizes when receiving network switching instruction, directly switching into another network, reduces other processing procedures, improves switching efficiency.
And after the accessed network is switched, the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background is processed, the application program corresponding to the network currently accessed by the intelligent hardware equipment is started from the process running in the background, and the starting efficiency of the application program is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a network and content switching thereof provided in embodiment 1 of the present application;
fig. 2 is a flowchart of a network and content switching thereof provided in embodiment 2 of the present application;
fig. 3 is a flowchart of a network and content switching thereof provided in embodiment 3 of the present application;
fig. 4 is a flowchart of a network and content switching thereof provided in embodiment 4 of the present application;
fig. 5 is a schematic diagram of a logic structure of a network and a content switching apparatus thereof according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The network and the content switching thereof disclosed in the embodiment of the present application are applied to an intelligent hardware device, and the intelligent hardware device is integrated with an IPTV system conforming to an IPTV specification and an OTT system conforming to an OTT specification, the intelligent hardware device supports a wired connection mode and a wireless connection mode, and when the intelligent hardware device is initialized, the intelligent hardware device can access an IPTV wired private network through the wired connection mode, referring to fig. 1, which is a flow chart for the network and the content switching thereof provided in embodiment 1 of the present application, and the method may include, but is not limited to, the following steps:
step S11, if a network switching instruction is received, determining a network currently accessed by the intelligent hardware device.
In this embodiment, the intelligent hardware device supports a wired connection mode and a wireless connection mode. The wired private network of the IPTV can be accessed through a wired connection mode. The OTT public network can be accessed through a wireless connection mode.
In this embodiment, a module for receiving a user instruction may be provided, and is configured to receive an instruction operated by a user. If the module for receiving the user instruction receives the network switching instruction, the network switching module can be triggered to determine the network currently accessed by the intelligent hardware equipment.
In this embodiment, the intelligent hardware device needs to display a desktop application corresponding to a network currently accessed by the intelligent hardware device to provide a service. For example, if the network currently accessed by the intelligent hardware device is an IPTV wired private network, displaying a desktop application corresponding to the IPTV wired private network; or if the network currently accessed by the intelligent hardware equipment is the OTT public network, displaying the desktop application corresponding to the OTT public network.
For the desktop application, a first attribute value may be set, where the first attribute value represents the desktop application that the intelligent hardware device needs to display in the currently accessed network. In particular, but not limited to: setting the first attribute value to 1, and indicating that the desktop application which needs to be displayed currently by the intelligent hardware equipment is the desktop application corresponding to the OTT public network; and setting the first attribute value to be 0, and indicating that the desktop application which needs to be displayed currently by the intelligent hardware equipment is the desktop application corresponding to the IPTV wired private network.
In this embodiment, the network switching instruction may be, but is not limited to: the remote control key instruction is used for indicating network switching, or the voice instruction is used for executing network switching.
Step S12, if the network currently accessed by the intelligent hardware device is an IPTV wired private network, switching the IPTV wired private network to an OTT public network, and using the OTT public network as the network currently accessed by the intelligent hardware device.
Step S13, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device.
In this embodiment, after the OTT public network is used as the network currently accessed by the intelligent application device, or the IPTV wired private network is used as the network currently accessed by the intelligent hardware device, the method may further include:
and modifying the first attribute value into a value matched with the network currently accessed by the intelligent hardware equipment.
Step S14, processing the process of the application program corresponding to the network currently accessed by the intelligent hardware device running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware device.
The intelligent hardware device does not have the process of the application program corresponding to the network which can be accessed by the kill intelligent hardware device, so that the process of the application program corresponding to the network which can be accessed by the intelligent hardware device can run in the background.
And after the network is switched, processing the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware equipment.
In this application, intelligent hardware equipment can guarantee that intelligent hardware equipment can not only use the IPTV system through the integration has the IPTV system that accords with the IPTV standard and the OTT system that accords with the OTT standard, and can also use the OTT system, if receive the network switching instruction, then confirm the network that intelligent hardware equipment visits at present, if the network that intelligent hardware equipment visits at present is the wired private network of IPTV, then will the wired private network of IPTV switches into the OTT public network, if the network that intelligent hardware equipment visits at present is the OTT public network, then will the OTT public network switches into the wired private network of IPTV, realizes when receiving network switching instruction, directly switching into another network, reduces other processing procedures, improves switching efficiency.
And after the accessed network is switched, the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background is processed, the application program corresponding to the network currently accessed by the intelligent hardware equipment is started from the process running in the background, and the starting efficiency of the application program is improved.
As another alternative embodiment of the present application, referring to fig. 2, a flowchart of an embodiment 2 of a network and a content switching method thereof provided by the present application is provided, where this embodiment mainly relates to a refinement scheme of the network and the content switching method thereof described in the foregoing embodiment 1, as shown in fig. 2, the method may include, but is not limited to, the following steps:
step S21, if the network switching instruction is received, execute a ping command carrying the gateway address of the first network to obtain a first execution result.
In this embodiment, the first network is an IPTV wired private network or an OTT public network.
Step S22, determining whether the first execution result indicates that the gateway of the first network is in a connected state.
If yes, go to step S23; if not, step S24 is executed.
And step S23, determining that the network currently accessed by the intelligent hardware equipment is the first network.
And step S24, executing the ping command carrying the gateway address of the second network to obtain a second execution result.
In this embodiment, if the first network is an IPTV wired private network, the second network is an OTT public network; and if the first network is an OTT public network, the second network is an IPTV wired private network.
Step S25, judging whether the second execution result represents that the gateway of the second network is in a connected state;
if yes, go to step S26.
And step S26, determining that the network currently accessed by the intelligent hardware equipment is the second network.
Steps S21-S26 are a specific implementation of step S11 in example 1.
Step S27, if the network currently accessed by the intelligent hardware device is an IPTV wired private network, switching the IPTV wired private network to an OTT public network, and using the OTT public network as the network currently accessed by the intelligent hardware device.
Step S28, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device;
step S29, processing the process of the application program corresponding to the network currently accessed by the intelligent hardware device running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware device.
The detailed procedures of steps S27-S29 can be found in the related descriptions of steps S12-S14 in embodiment 1, and are not repeated herein.
As another alternative embodiment of the present application, referring to fig. 3, a flowchart of an embodiment 3 of a network and a content switching method thereof provided by the present application is provided, where this embodiment mainly relates to a refinement scheme of the network and the content switching method thereof described in the foregoing embodiment 1, as shown in fig. 3, the method may include, but is not limited to, the following steps:
and step S31, reading a first attribute value, wherein the first attribute value represents the desktop application which needs to be displayed by the intelligent hardware equipment under the currently accessed network.
It will be appreciated that the intelligent hardware device reads the first attribute value from the local memory.
Step S32, taking the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware device.
Steps S31-S32 are a specific implementation of step S11 in example 1.
Step S33, if the network currently accessed by the intelligent hardware device is an IPTV wired private network, switching the IPTV wired private network to an OTT public network, and using the OTT public network as the network currently accessed by the intelligent hardware device.
Step S34, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device.
Step S35, processing the process of the application program corresponding to the network currently accessed by the intelligent hardware device running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware device.
In this embodiment, by reading the first attribute value from the local storage, and using the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware device, the time for determining the network currently accessed by the intelligent hardware device can be shortened, the efficiency for determining the network currently accessed by the intelligent hardware device can be improved, and the efficiency for switching the network and the content thereof can be further improved.
As another alternative embodiment of the present application, referring to fig. 4, a flowchart of an embodiment 4 of a network and a content switching method thereof provided by the present application is provided, where this embodiment is mainly an extension of the network and the content switching method thereof described in the foregoing embodiment 1, as shown in fig. 4, the method may include, but is not limited to, the following steps:
step S41, if a network switching instruction is received, reading a second attribute value, and determining whether the second attribute value is a value representing that the intelligent hardware device is performing network switching, where the second attribute value represents a network switching state of the intelligent hardware device.
If yes, go to step S42; if not, step S43 is executed.
And step S42, outputting a prompt message that the intelligent hardware equipment is switching networks.
And step S43, modifying the second attribute value into a value representing that the intelligent hardware device is in network switching, and determining the current network accessed by the intelligent hardware device.
For a detailed process of determining a network currently accessed by the intelligent hardware device, reference may be made to the related description of embodiment 1, and details are not described herein again.
Step S44, if the network currently accessed by the intelligent hardware device is an IPTV wired private network, switching the IPTV wired private network to an OTT public network, and using the OTT public network as the network currently accessed by the intelligent hardware device.
Step S45, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device.
Step S46, processing the process of the application program corresponding to the network currently accessed by the intelligent hardware device running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware device.
The detailed procedures of steps S44-S46 can be found in the related descriptions of steps S12-S14 in embodiment 1, and are not repeated herein.
In this embodiment, a second attribute value is read, and whether the second attribute value is a numerical value representing that the intelligent hardware device is performing network switching is determined, if yes, a prompt message that the intelligent hardware device is performing network switching is output; if not, the second attribute value is modified into a value representing that the intelligent hardware device is in network switching, and the current network accessed by the intelligent hardware device is determined, so that when a network switching instruction is received, if the intelligent hardware device is in network switching, prompt information is output, frequent input of the network switching instruction caused by frequent input or misoperation of the network switching instruction by a user is prevented, invalid operation executed by the intelligent hardware device in response to the network switching instruction is reduced, resources of the intelligent hardware device are saved, and user experience is improved.
Next, the network and the content switching device thereof provided by the present application are introduced, and the network and the content switching device thereof described below and the network and the content switching method thereof described above may be referred to correspondingly.
The network and the content switching device thereof provided by the present application are applied to an intelligent hardware device, the intelligent hardware device integrates an IPTV system conforming to an IPTV specification and an OTT system conforming to an OTT specification, the intelligent hardware device supports a wired connection mode and a wireless connection mode, please refer to fig. 5, and the network and the content switching device thereof include: a determination module 100, a switching module 200 and an initiation module 300.
And the determining module is used for determining the current network accessed by the intelligent hardware equipment if a network switching instruction is received.
The switching module is used for switching the IPTV wired private network into an OTT public network if the network currently accessed by the intelligent hardware equipment is the IPTV wired private network, and taking the OTT public network as the network currently accessed by the intelligent hardware equipment; or, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device.
And the starting module is used for processing the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background and starting the application program corresponding to the network currently accessed by the intelligent hardware equipment.
In this embodiment, the determining module 100 may be specifically configured to:
executing a ping command carrying a gateway address of a first network to obtain a first execution result;
judging whether the first execution result represents that a gateway of the first network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the first network;
if not, executing a ping command carrying the gateway address of the second network to obtain a second execution result;
judging whether the second execution result represents that the gateway of the second network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the second network;
if the first network is an IPTV wired private network, the second network is an OTT public network; and if the first network is an OTT public network, the second network is an IPTV wired private network.
In this embodiment, the determining module 100 may be specifically configured to:
reading a first attribute value, wherein the first attribute value represents a desktop application which needs to be displayed by the intelligent hardware equipment under a currently accessed network;
and taking the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware equipment.
In this embodiment, the apparatus further includes:
and the first modification module is used for modifying the first attribute value into a numerical value matched with the network currently accessed by the intelligent hardware equipment.
The apparatus may further include:
the judging module is used for reading a second attribute value and judging whether the second attribute value is a numerical value representing that the intelligent hardware equipment is in network switching, and the second attribute value represents the network switching state of the intelligent hardware equipment;
the prompting module is used for outputting prompting information that the intelligent hardware equipment is performing network switching if the second attribute value is a numerical value representing that the intelligent hardware equipment is performing network switching;
and the second modification module is used for modifying the second attribute value into a value representing that the intelligent hardware device is in network switching if the second attribute value is not the value representing that the intelligent hardware device is in network switching, and triggering the determination module to determine the network currently accessed by the intelligent hardware device.
It should be noted that each embodiment is mainly described as a difference from the other embodiments, and the same and similar parts between the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The network and the content switching method and device thereof provided by the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A network and its content switching method, characterized by, apply to the intellectual hardware device, the stated intellectual hardware device integrates IPTV system and OTT system that accords with OTT norm that accords with IPTV norm, the stated intellectual hardware device supports wired connection mode and wireless connection mode, said method comprises:
if a network switching instruction is received, determining a network currently accessed by the intelligent hardware equipment;
if the network currently accessed by the intelligent hardware equipment is an IPTV wired private network, switching the IPTV wired private network into an OTT public network, and taking the OTT public network as the network currently accessed by the intelligent hardware equipment;
if the network currently accessed by the intelligent hardware equipment is an OTT public network, switching the OTT public network into the IPTV wired private network, and taking the IPTV wired private network as the network currently accessed by the intelligent hardware equipment;
and processing the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background, and starting the application program corresponding to the network currently accessed by the intelligent hardware equipment.
2. The method of claim 1, wherein determining the network currently accessed by the intelligent hardware device comprises:
executing a ping command carrying a gateway address of a first network to obtain a first execution result;
judging whether the first execution result represents that a gateway of the first network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the first network;
if not, executing a ping command carrying the gateway address of the second network to obtain a second execution result;
judging whether the second execution result represents that the gateway of the second network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the second network;
if the first network is an IPTV wired private network, the second network is an OTT public network; and if the first network is an OTT public network, the second network is an IPTV wired private network.
3. The method of claim 1, wherein determining the network currently accessed by the intelligent hardware device comprises:
reading a first attribute value, wherein the first attribute value represents a desktop application which needs to be displayed by the intelligent hardware equipment under a currently accessed network;
and taking the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware equipment.
4. The method according to claim 2, wherein the using the OTT public network as the current network accessed by the smart application device, or the using the IPTV wired private network as the current network accessed by the smart hardware device, further comprises:
and modifying the first attribute value into a value matched with the network currently accessed by the intelligent hardware equipment.
5. The method of claim 1, wherein determining the network currently accessed by the intelligent hardware device is preceded by:
reading a second attribute value, and judging whether the second attribute value is a numerical value representing that the intelligent hardware equipment is performing network switching or not, wherein the second attribute value represents a network switching state of the intelligent hardware equipment;
if so, outputting prompt information that the intelligent hardware equipment is performing network switching;
if not, modifying the second attribute value into a value representing that the intelligent hardware equipment is in network switching, and determining the current network accessed by the intelligent hardware equipment.
6. A network and its content switching device, characterized by that, apply to the intellectual hardware equipment, the stated intellectual hardware equipment integrates IPTV system and OTT system that accords with OTT norm that accords with IPTV norm, the stated intellectual hardware equipment supports wired connection mode and wireless connection mode, the apparatus includes:
the determining module is used for determining the current network accessed by the intelligent hardware equipment if a network switching instruction is received;
the switching module is used for switching the IPTV wired private network into an OTT public network if the network currently accessed by the intelligent hardware equipment is the IPTV wired private network, and taking the OTT public network as the network currently accessed by the intelligent hardware equipment; or, if the network currently accessed by the intelligent hardware device is an OTT public network, switching the OTT public network to the IPTV wired private network, and using the IPTV wired private network as the network currently accessed by the intelligent hardware device;
and the starting module is used for processing the process of the application program corresponding to the network currently accessed by the intelligent hardware equipment running in the background and starting the application program corresponding to the network currently accessed by the intelligent hardware equipment.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
executing a ping command carrying a gateway address of a first network to obtain a first execution result;
judging whether the first execution result represents that a gateway of the first network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the first network;
if not, executing a ping command carrying the gateway address of the second network to obtain a second execution result;
judging whether the second execution result represents that the gateway of the second network is in a connected state;
if so, determining that the network currently accessed by the intelligent hardware equipment is the second network;
if the first network is an IPTV wired private network, the second network is an OTT public network; and if the first network is an OTT public network, the second network is an IPTV wired private network.
8. The apparatus of claim 7, wherein the determining module is specifically configured to:
reading a first attribute value, wherein the first attribute value represents a desktop application which needs to be displayed by the intelligent hardware equipment under a currently accessed network;
and taking the network corresponding to the desktop application represented by the first attribute value as the network currently accessed by the intelligent hardware equipment.
9. The apparatus of claim 7, further comprising:
and the first modification module is used for modifying the first attribute value into a numerical value matched with the network currently accessed by the intelligent hardware equipment.
10. The apparatus of claim 6, further comprising:
the judging module is used for reading a second attribute value and judging whether the second attribute value is a numerical value representing that the intelligent hardware equipment is in network switching, and the second attribute value represents the network switching state of the intelligent hardware equipment;
the prompting module is used for outputting prompting information that the intelligent hardware equipment is performing network switching if the second attribute value is a numerical value representing that the intelligent hardware equipment is performing network switching;
and the second modification module is used for modifying the second attribute value into a value representing that the intelligent hardware device is in network switching if the second attribute value is not the value representing that the intelligent hardware device is in network switching, and triggering the determination module to determine the network currently accessed by the intelligent hardware device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110276785.5A CN113068078A (en) | 2021-03-15 | 2021-03-15 | Network and content switching method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110276785.5A CN113068078A (en) | 2021-03-15 | 2021-03-15 | Network and content switching method and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113068078A true CN113068078A (en) | 2021-07-02 |
Family
ID=76561430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110276785.5A Pending CN113068078A (en) | 2021-03-15 | 2021-03-15 | Network and content switching method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113068078A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501565A (en) * | 2022-02-21 | 2022-05-13 | 深圳市亿诺德科技有限公司 | Network switching method based on industrial Internet of things |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841453A (en) * | 2014-03-13 | 2014-06-04 | 烽火通信科技股份有限公司 | Method for achieving OTT playing through IPTV non-intelligent set top box |
CN105100955A (en) * | 2014-05-16 | 2015-11-25 | 中兴通讯股份有限公司 | Set top box switching network method and device, and set top box provided with device |
CN105791019A (en) * | 2016-03-16 | 2016-07-20 | 烽火通信科技股份有限公司 | A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box |
CN107040820A (en) * | 2016-02-03 | 2017-08-11 | 中兴通讯股份有限公司 | A kind of method and device for obtaining programme information |
CN107249074A (en) * | 2017-05-16 | 2017-10-13 | 努比亚技术有限公司 | Application program quick start method, mobile terminal and computer-readable recording medium |
CN107493518A (en) * | 2017-08-15 | 2017-12-19 | 深圳创维数字技术有限公司 | IPTV terminal network egress switching method, device and readable storage medium storing program for executing |
US20190354384A1 (en) * | 2018-05-15 | 2019-11-21 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for Launching Application, Storage Medium, and Terminal |
CN110633134A (en) * | 2018-06-22 | 2019-12-31 | 中兴通讯股份有限公司 | Application program management method and device, mobile terminal and storage medium |
CN112019933A (en) * | 2020-09-08 | 2020-12-01 | 湖南快乐阳光互动娱乐传媒有限公司 | Service method and device of intelligent hardware equipment |
-
2021
- 2021-03-15 CN CN202110276785.5A patent/CN113068078A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841453A (en) * | 2014-03-13 | 2014-06-04 | 烽火通信科技股份有限公司 | Method for achieving OTT playing through IPTV non-intelligent set top box |
CN105100955A (en) * | 2014-05-16 | 2015-11-25 | 中兴通讯股份有限公司 | Set top box switching network method and device, and set top box provided with device |
CN107040820A (en) * | 2016-02-03 | 2017-08-11 | 中兴通讯股份有限公司 | A kind of method and device for obtaining programme information |
CN105791019A (en) * | 2016-03-16 | 2016-07-20 | 烽火通信科技股份有限公司 | A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box |
CN107249074A (en) * | 2017-05-16 | 2017-10-13 | 努比亚技术有限公司 | Application program quick start method, mobile terminal and computer-readable recording medium |
CN107493518A (en) * | 2017-08-15 | 2017-12-19 | 深圳创维数字技术有限公司 | IPTV terminal network egress switching method, device and readable storage medium storing program for executing |
US20190354384A1 (en) * | 2018-05-15 | 2019-11-21 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for Launching Application, Storage Medium, and Terminal |
CN110633134A (en) * | 2018-06-22 | 2019-12-31 | 中兴通讯股份有限公司 | Application program management method and device, mobile terminal and storage medium |
CN112019933A (en) * | 2020-09-08 | 2020-12-01 | 湖南快乐阳光互动娱乐传媒有限公司 | Service method and device of intelligent hardware equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501565A (en) * | 2022-02-21 | 2022-05-13 | 深圳市亿诺德科技有限公司 | Network switching method based on industrial Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4801138B2 (en) | Method and apparatus for providing on-demand assistance for wireless devices | |
CN111372115B (en) | Application program access method and device and communication system | |
CN109086105B (en) | Page layout conversion method and device and electronic equipment | |
CN112286485B (en) | Method and device for controlling application through voice, electronic equipment and storage medium | |
CN112468879A (en) | Television user scene switching method, device and terminal based on fingerprint identification | |
CN112331202A (en) | Voice screen projection method and device, electronic equipment and computer readable storage medium | |
CN113068078A (en) | Network and content switching method and device thereof | |
CN108287784B (en) | Webpage debugging method and device | |
CN113835803B (en) | Application theme display method and device | |
CN110598137A (en) | Page display method and device and computing equipment | |
CN114741144B (en) | Web-side complex form display method, device and system | |
CN113391856B (en) | Cross-task-stack page processing method, device, equipment and medium | |
CN106302821B (en) | Data request method and equipment thereof | |
CN112019933B (en) | Service method and device of intelligent hardware equipment | |
CN115220847A (en) | Switching method of mobile application theme, mobile application system, equipment and medium | |
CN114691236A (en) | Method, device, equipment and medium for integrating native program and applet | |
CN111045749B (en) | Application program starting method and device | |
CN113918849A (en) | Page display method, device and system, electronic equipment and storage medium | |
CN112748968A (en) | Auxiliary operation method, device, equipment and storage medium | |
CN113791777A (en) | Picture display method and device, computer readable storage medium and electronic equipment | |
CN111046682A (en) | Remote control method, device, system and terminal | |
CN115037991B (en) | Browser video playing method and device, terminal equipment and readable storage medium | |
CN113365137B (en) | Video advertisement display method and device, electronic equipment and readable storage medium | |
CN112312179B (en) | Key response method, equipment and play control terminal | |
CN113760338B (en) | Method and device for switching application binary interface ABI and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210702 |