WO2017113588A1 - Method and apparatus for switching smart television network - Google Patents

Method and apparatus for switching smart television network Download PDF

Info

Publication number
WO2017113588A1
WO2017113588A1 PCT/CN2016/084230 CN2016084230W WO2017113588A1 WO 2017113588 A1 WO2017113588 A1 WO 2017113588A1 CN 2016084230 W CN2016084230 W CN 2016084230W WO 2017113588 A1 WO2017113588 A1 WO 2017113588A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage link
dimensional code
file type
smart
type
Prior art date
Application number
PCT/CN2016/084230
Other languages
French (fr)
Chinese (zh)
Inventor
焦新旺
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017113588A1 publication Critical patent/WO2017113588A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
    • H04N21/4725End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content using interactive regions of the image, e.g. hot spots
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8545Content authoring for generating interactive applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Definitions

  • the present invention relates to the field of smart television technologies, and in particular, to a smart television network switching method and apparatus method and apparatus.
  • network smart TV has become popular in people's lives. Users can access network resources through network smart TV, such as watching videos and reading files.
  • network smart TV When playing a television image, the network smart television displays a two-dimensional code mark in the television image.
  • the two-dimensional code mark may be scanned.
  • the network smart television is currently playing a movie recommendation program, and a two-dimensional code mark is displayed in the television image, and the two-dimensional code mark record
  • the play link address of the movie recommended by the movie recommendation program if the user wants to watch the movie, the video content corresponding to the two-dimensional code mark can be obtained by scanning the two-dimensional code mark on the network smart television, in the prior art.
  • the network smart television displays the video content corresponding to the two-dimensional code mark according to the current network connection mode.
  • the prior art has the following drawbacks: if the content corresponding to the two-dimensional code mark displayed in the television image is video, and the current network connection mode of the network smart TV is a wireless network connection mode, the video traffic is usually relatively large, and In the wireless network connection mode, the network smart TV can provide less traffic, so it is easy to cause network congestion, which will cause network paralysis.
  • the main purpose of the present invention is to provide a smart television network switching method and device, which can automatically switch the network connection mode of the smart TV according to the two-dimensional code recognition result to improve the user experience.
  • the present invention provides a smart television network switching method, the method comprising:
  • Determining whether the two-dimensional code content includes a preset specific character string if the two-dimensional code content includes a preset specific character string, determining that the two-dimensional code content is a webpage link;
  • the two-dimensional code content is a webpage link, determining, according to the webpage link, a file type to which the webpage link is linked;
  • the step of determining the file type to which the webpage link is linked according to the webpage link includes:
  • the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
  • the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
  • the step of switching the network connection mode of the smart TV according to the determined file type comprises:
  • the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
  • the method further includes:
  • the two-dimensional code content is displayed on the smart television.
  • the present invention further provides a smart television network switching method, the method comprising:
  • the two-dimensional code content is a webpage link, determining, according to the webpage link, a file type to which the webpage link is linked;
  • the step of determining whether the two-dimensional code content is a webpage link comprises:
  • the two-dimensional code content includes a preset specific character string, it is determined that the two-dimensional code content is a webpage link.
  • the step of determining, according to the webpage link, the file type linked by the webpage link comprises:
  • the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
  • the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
  • the step of switching the network connection mode of the smart TV according to the determined file type comprises:
  • the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
  • the method further includes:
  • the two-dimensional code content is displayed on the smart television.
  • the present invention further provides a smart television network switching apparatus, the apparatus comprising:
  • An obtaining module configured to obtain a two-dimensional code mark on a television image currently played by the smart television
  • An analysis module configured to parse the two-dimensional code mark to obtain a two-dimensional code content
  • a determining module configured to determine whether the content of the two-dimensional code is a webpage link
  • a determining module configured to determine, according to the webpage link, a file type linked by the webpage link, when the judgment result of the judging module is that the two-dimensional code content is a webpage link;
  • a switching module configured to switch the network connection mode of the smart TV according to the determined file type.
  • the determining module comprises:
  • a first determining unit configured to determine whether the preset specific character string is included in the content of the two-dimensional code
  • the first determining unit is configured to determine that the two-dimensional code content is a webpage link when the preset specific character string is included in the two-dimensional code content.
  • the determining module comprises:
  • a second determining unit configured to determine whether the preset first type character string is included in the webpage link
  • a second determining unit configured to determine, when the first type string is included in the webpage link, that the file type linked by the webpage link is an audiovisual file type
  • a third determining unit configured to determine, when the first type string is not included in the webpage link, whether the second type string is included in the webpage link;
  • a third determining unit configured to determine, when the second type string is included in the webpage link, that the file type linked by the webpage link is a text file type.
  • the switching module comprises:
  • a first switching unit configured to switch the network connection mode of the smart TV to a wired network connection mode when the determined file type is an audio and video file type
  • a second switching unit configured to switch the network connection mode of the smart TV to a wireless network connection mode when the determined file type is a text file type.
  • the device further comprises:
  • a display module configured to display the two-dimensional code content on the smart television when the two-dimensional code content is not a webpage link.
  • the method and device for switching a smart television network comprising: acquiring a two-dimensional code mark on a television image currently played by the smart television; analyzing the two-dimensional code mark to obtain a two-dimensional code content; determining the two-dimensional code Whether the code content is a webpage link; if the two-dimensional code content is a webpage link, determining a file type linked by the webpage link according to the webpage link; and switching the smart TV network connection according to the determined file type Mode; the network connection mode of the smart TV can be automatically switched according to the recognition result of the two-dimensional code to improve the user experience.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for switching a smart television network according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for switching a smart television network according to the present invention
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for switching a smart television network according to the present invention.
  • FIG. 4 is a schematic structural diagram of an embodiment of a smart television network switching apparatus according to the present invention.
  • FIG. 5 is a schematic diagram showing a refinement structure of a determining module in a smart television network switching apparatus according to the present invention
  • FIG. 6 is a schematic diagram of a refinement structure of a switching module in a smart television network switching apparatus according to the present invention.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for switching a smart television network according to the present invention. The method includes:
  • the two-dimensional code mark on the television image currently being played by the smart TV can be obtained through a smart terminal (such as a smart phone) that is connected to the smart TV.
  • the user turns on the camera of the smart terminal, takes a picture of the television image currently being played by the smart TV, and then transmits the captured image (the image includes a two-dimensional code mark) to the smart TV.
  • the two-dimensional code mark on the television image currently being played by the smart TV can be obtained by the camera connected to the smart TV. Specifically, the camera is facing the smart TV, and the camera is receiving the camera.
  • the television image currently being played by the smart TV is captured, and then the captured image (the image includes a two-dimensional code mark) is sent to the smart TV, and the camera can be connected to the smart TV by wire or wirelessly.
  • the TV image currently played by the smart TV may be screenshotd by a screenshot tool disposed inside the smart TV to obtain a two-dimensional code mark on the television image currently played by the smart TV.
  • the two-dimensional code mark can be set at any position of the television image.
  • the two-dimensional code mark is disposed at an edge of the television image, for example, the two-dimensional code mark is set at a lower left corner or a lower right corner of the television image.
  • step S30 Determine whether the content of the two-dimensional code is a webpage link. If the content of the two-dimensional code is a webpage link, step S40 is performed; otherwise, step S60 is performed.
  • this step it is determined whether the content of the two-dimensional code is a webpage link. Specifically, whether the preset specific character string is included in the content of the two-dimensional code may be determined, if the content of the two-dimensional code includes a preset specific string. And determining that the content of the two-dimensional code is a webpage link, and if the preset specific character string is not included in the content of the two-dimensional code, determining that the content of the two-dimensional code is not a webpage link.
  • the preset specific string is usually a common string in the URL, such as a preset specific string of www, http, WWW, HTTP. If the two-dimensional code content includes any one of the preset specific character strings, it is determined that the two-dimensional code content is a webpage link. For example, when the content of the two-dimensional code is: http://v.youku.com/v_show/feichengshipin.mp4, since the content of the two-dimensional code includes the character string http, it can be determined that the content of the two-dimensional code is a webpage link.
  • the content of the two-dimensional code is: http://v.youku.com/v_show/douban.txt
  • the content of the two-dimensional code since the content of the two-dimensional code includes the character string http, it can be determined that the content of the two-dimensional code is a webpage link.
  • File types include audio and video file types, text file types, image file types, and more.
  • the file type linked to the web link link can be determined by analyzing the character string in the webpage link.
  • the string of the webpage link includes an extension of the audiovisual file
  • the string of the webpage link includes the extension of the text file
  • the string of the webpage link includes the extension of the image file.
  • the network connection of the smart TV can be tested first.
  • the smart TV sends a network test command to the network server to test whether the smart TV can be connected to the external network, and if the smart TV can be connected to the external network, Further determining whether the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode respectively; when the smart TV can be connected to the external network through the wired network connection mode, the wired network status is identified as 1, when the smart When the TV is connected to the external network through the wireless network connection mode, the wireless network status is marked as 1; when the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode, respectively, according to the determined file type The network connection mode of the smart TV.
  • the network connection mode of the smart TV is switched to the wired network connection mode, and if the file type corresponds to a smaller content to be displayed, , then switch the smart TV network connection mode to the wireless network connection Mode, then the two-dimensional code display content corresponding to the content in the network connection mode after switching.
  • the content of the two-dimensional code is saved in a preset storage module; and then when the smart TV is connected to the external network, the network connection mode of the smart TV is switched according to the content of the two-dimensional code. .
  • the content of the two-dimensional code can be displayed on a preset position of the smart TV.
  • the content of the two-dimensional code can be displayed next to the two-dimensional code mark.
  • the two-dimensional code mark on the television image currently played by the smart television is obtained; the two-dimensional code mark is parsed to obtain the two-dimensional code content; and the two-dimensional code content is determined to be a webpage link; if the two-dimensional code is The content is a webpage link, and the file type linked by the webpage link is determined according to the webpage link; the network connection mode of the smart television is switched according to the determined file type; the smartware can be automatically switched according to the two-dimensional code content two-dimensional code recognition result The TV's network connection mode to improve the user experience.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for switching a smart television network according to the present invention.
  • the step S40 includes:
  • step S41 Determine whether the preset first type character string is included in the webpage link. If the webpage link includes the preset first type character string, step S42 is performed, otherwise step S43 is performed.
  • determining whether the webpage link includes a preset first type character string and when the webpage link includes a preset first type character string, determining that the file type linked by the webpage link is an audio and video file Type, if the preset first type string is not included in the webpage link, it is determined that the file type linked by the webpage link is not an audiovisual file type, and the file type linked by the webpage link may be other types, such as a text file. Type, image file type, etc.
  • the first type string is a common extension of the audio and video file, such as the first type string is mp4, rm, rmvb, wmv, avi, 3gp, and the like.
  • the webpage link is: http://v.youku.com/v_show/feichengshipin.mp4, and the webpage link includes the first type string mp4, and the file type linked by the webpage link is determined. For audio and video file types.
  • step S43 Determine whether the preset second type character string is included in the webpage link. If the webpage link includes the preset second type character string, step S44 is performed.
  • the preset second type string is included in the webpage link.
  • the webpage link includes a preset second type string
  • Type if the preset second type string is not included in the webpage link, it is determined that the file type linked by the webpage link is not a text file type, and the file type linked by the webpage link may be other types, such as an image file type. Wait.
  • the second type string is a common extension of the text file, such as the second type string is txt, doc, docx, and the like.
  • the webpage link is: http://v.youku.com/v_show/douban.txt, and the webpage link includes a second type string txt, so that the file type linked to the webpage link is determined to be Text file type.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for switching a smart television network according to the present invention.
  • the step S50 includes:
  • switching the network link mode of the smart TV to the wired network connection mode may cause the smart TV to display the content linked by the webpage link in the wired network connection mode.
  • the determined file type is an audio/video file type
  • the content linked by the webpage link is a video
  • the content linked by playing the webpage link is smoother.
  • switching the network link mode of the smart TV to the wireless network connection mode may cause the smart TV to display the content linked by the webpage link in the wireless network connection mode.
  • switching the network link mode of the smart TV to the wireless network connection mode may cause the smart TV to display the content linked by the webpage link in the wireless network connection mode.
  • the determined file type is a text file type
  • the content linked by the webpage link is text
  • the wireless network connection mode the content linked by the webpage link is played. Since the content of the text is generally small, the smart TV can smoothly display the content linked by the webpage link in the wireless network connection mode.
  • FIG. 4 is a schematic structural diagram of an embodiment of a smart television network switching apparatus according to the present invention.
  • the apparatus includes:
  • the obtaining module 10 is configured to obtain a two-dimensional code mark on a television image currently played by the smart television;
  • the parsing module 20 is configured to parse the two-dimensional code mark to obtain a two-dimensional code content
  • the determining module 30 is configured to determine whether the content of the two-dimensional code is a webpage link
  • the determining module 40 is configured to determine, according to the webpage link, the file type linked by the webpage link, according to the webpage link, when the judgment result of the judging module 30 is that the two-dimensional code content is a webpage link;
  • the switching module 50 is configured to switch the network connection mode of the smart TV according to the determined file type.
  • the acquiring module 10 can acquire a two-dimensional code mark on a television image currently being played by the smart TV through a smart terminal (such as a smart phone) that is connected to the smart TV.
  • a smart terminal such as a smart phone
  • the user turns on the camera of the smart terminal, takes a picture of the television image currently being played by the smart TV, and then transmits the captured image (the image includes a two-dimensional code mark) to the smart TV.
  • the two-dimensional code mark on the television image currently being played by the smart TV can be obtained by the camera connected to the smart TV. Specifically, the camera is facing the smart TV, and the camera is receiving the camera. When instructing, the television image currently being played by the smart TV is captured, and then the captured image (the image includes a two-dimensional code mark) is sent to the smart TV, and the camera can be connected to the smart TV by wire or wirelessly.
  • the acquiring module 10 can also take a screenshot of the currently-played television image of the smart TV through a screenshot tool disposed inside the smart TV to obtain a two-dimensional code mark on the television image currently played by the smart television.
  • the two-dimensional code mark can be set at any position of the television image.
  • the two-dimensional code mark is disposed at an edge of the television image, for example, the two-dimensional code mark is set at a lower left corner or a lower right corner of the television image.
  • the determining module 30 determines whether the content of the two-dimensional code is a webpage link. Specifically, the determining module 30 includes: a first determining unit, configured to determine whether the preset specific character string is included in the content of the two-dimensional code; And a unit, configured to determine that the two-dimensional code content is a webpage link when the preset specific character string is included in the two-dimensional code content. The first determining unit determines whether the preset specific character string is included in the content of the two-dimensional code. If the content of the two-dimensional code includes a preset specific character string, the first determining unit determines that the content of the two-dimensional code is a webpage. a link, if the preset specific character string is not included in the content of the two-dimensional code, the first determining unit determines that the two-dimensional code content is not a webpage link.
  • the preset specific string is usually a common string in the URL, such as a preset specific string of www, http, WWW, HTTP. If the two-dimensional code content includes any one of the preset specific character strings, the first determining unit determines that the two-dimensional code content is a webpage link. For example, when the content of the two-dimensional code is: http://v.youku.com/v_show/feichengshipin.mp4, since the content of the two-dimensional code includes the character string http, the first determining unit may determine the content of the two-dimensional code. Link to a web page.
  • the first determining unit may determine the content of the two-dimensional code. Link to a web page.
  • File types include audio and video file types, text file types, image file types, and more.
  • the determining module 40 can determine the file type linked by the webpage link link by analyzing the character string feature in the webpage link. Generally, when the file type linked by the webpage link is an audio/video file type, the string of the webpage link includes an extension of the audiovisual file; when the file type linked by the webpage link is a text file type, The string of the webpage link includes the extension of the text file; when the file type linked by the webpage link is the image file type, the string of the webpage link includes the extension of the image file.
  • the switching module 50 can first test the network connection of the smart TV. Specifically, the smart TV sends a network test command to the network server to test whether the smart TV can be connected to the external network, and if the smart TV can be connected to the external network, further Determining whether the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode respectively; when the smart TV can be connected to the external network through the wired network connection mode, the wired network status is identified as 1 when the smart TV When the wireless network connection mode is connected to the external network, the wireless network status is identified as 1; when the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode, respectively, the switching module 50 according to the two-dimensional The code content switches the network connection mode of the smart TV.
  • the network connection mode of the smart TV is switched to the wired network connection mode, and if the file type corresponds to be displayed, If the content is small, switch the smart TV's network connection mode to wireless. Network connection mode, then the two-dimensional code display content corresponding to the content in the network connection mode after switching.
  • the switching saves the content of the two-dimensional code in a preset storage module; and then, when the smart TV is connected to the external network, the network of the smart television is switched according to the content of the two-dimensional code. Connection mode.
  • the device further includes: a display module, configured to display the two-dimensional code content on the smart television when the two-dimensional code content is not a webpage link.
  • a display module configured to display the two-dimensional code content on the smart television when the two-dimensional code content is not a webpage link.
  • the content of the two-dimensional code can be displayed on a preset position of the smart TV.
  • the content of the two-dimensional code can be displayed next to the two-dimensional code mark.
  • FIG. 5 is a schematic diagram of a refinement structure of the judging module 30 in the smart television network switching apparatus according to the present invention.
  • the determining module 40 includes:
  • the second determining unit 41 is configured to determine whether the preset first type character string is included in the webpage link
  • the second determining unit 42 is configured to determine, when the first type string is included in the webpage link, that the file type linked by the webpage link is an audio and video file type;
  • the third determining unit 43 is configured to determine, when the first type string is not included in the webpage link, whether the second type string is included in the webpage link;
  • the third determining unit 44 is configured to determine, when the second type string is included in the webpage link, that the file type linked by the webpage link is a text file type.
  • the second determining unit 41 may determine whether the preset first type character string is included in the webpage link.
  • the second determining unit 42 determines that the webpage link is linked.
  • the file type is an audio and video file type. If the preset first type string is not included in the webpage link, the second determining unit 42 determines that the file type linked by the webpage link is not an audiovisual file type, and the webpage link is
  • the file type of the link may be other types, such as text file type, image file type, and so on.
  • the first type string is a common extension of the audio and video file, such as the first type string is mp4, rm, rmvb, wmv, avi, 3gp, and the like.
  • the webpage link is: http://v.youku.com/v_show/feichengshipin.mp4, and the webpage link includes the character string mp4, and the second determining unit 42 can determine the webpage link
  • the file type of the link is the audio and video file type.
  • the third determining unit 43 may determine whether the webpage link includes a preset second type string, for example, the webpage link includes a preset second type string.
  • the third determining unit 44 determines that the file type linked by the webpage link is the second file type, and if the webpage link does not include the preset second type character string, the third determining unit 44 determines the webpage link.
  • the file type to be linked is not a text file type, and the file type linked to the web page link may be other types, such as an image file type.
  • the second type string is a common extension of the text file, such as the second type string is txt, doc, docx, and the like.
  • the webpage link is: http://v.youku.com/v_show/douban.txt
  • the webpage link includes the second type string txt
  • the third determining unit 44 may determine the webpage link.
  • the linked file type is a text file type.
  • FIG. 6 is a schematic diagram of a refinement structure of a switching module in a smart television network switching apparatus according to the present invention.
  • the switching module includes:
  • the first switching unit 51 is configured to switch the network connection mode of the smart TV to a wired network connection mode when the determined file type is an audio and video file type;
  • the second switching unit 52 is configured to switch the network connection mode of the smart TV to a wireless network connection mode when the determined file type is a text file type.
  • the first switching unit 51 switches the network link mode of the smart TV to a wired network connection mode, so that the smart TV displays the webpage link in the wired network connection mode.
  • the content of the link is an audio/video file type
  • the determined file type is an audio/video file type
  • the content linked by the webpage link is a video
  • the content linked by playing the webpage link is smoother.
  • switching the network link mode of the smart TV to the wireless network connection mode may cause the smart TV to display the content linked by the webpage link in the wireless network connection mode.
  • the second switching unit 52 switches the network link mode of the smart TV to a wireless network connection mode, so that the smart TV displays the webpage link in the wireless network connection mode.
  • the content of the link is a text file type
  • the determined file type is a text file type
  • the content linked by the webpage link is text
  • the wireless network connection mode the content linked by the webpage link is played. Since the content of the text is generally small, the smart TV can smoothly display the content linked by the webpage link in the wireless network connection mode.

Abstract

Disclosed is a method for switching a smart television network. The method comprises: acquiring a two-dimensional code mark on a television image currently played by a smart television; parsing the two-dimensional code mark so as to obtain a two-dimensional code content; determining whether the two-dimensional code content is a webpage link; if the two-dimensional code content is a webpage link, determining according to the webpage link the type of file linked by the webpage link; and switching a network connection mode of the smart television according to the determined file type. Further disclosed is an apparatus for switching a smart television network. By means of the present invention, the network connection mode of a smart television can be automatically switched according to a two-dimensional code identification result, so as to improve the user experience.

Description

智能电视网络切换方法及装置  Smart television network switching method and device
技术领域Technical field
本发明涉及智能电视技术领域,尤其涉及一种智能电视网络切换方法及装置方法和装置。The present invention relates to the field of smart television technologies, and in particular, to a smart television network switching method and apparatus method and apparatus.
背景技术Background technique
随着电子技术的发展,网络智能电视已经在人们的生活中普及,用户可通过网络智能电视上网,获取网络资源,如看视频、看文件等。网络智能电视在播放电视图像时,在该电视图像中显示有二维码标记,当用户对该电视图像中的内容感兴趣,想要获取相应的内容时,可以通过扫描该二维码标记,然后通过该网络智能电视联网,以获取该二维码标记对应的内容,如网络智能电视当前正在播放一个电影推荐节目,在该电视图像中显示了一个二维码标记,该二维码标记记录了该电影推荐节目推荐的电影的播放链接地址,如果用户想观看该电影,则可通过扫描该二维码标记,在网络智能电视获取该二维码标记对应的视频内容,在现有技术中,该网络智能电视按照当前的网络连接模式显示该二维码标记对应的视频内容。采用现有技术,具有如下缺陷:如该电视图像中显示的二维码标记对应的内容是视频,而该网络智能电视当前的网络连接模式为无线网络连接模式,视频的流量通常比较大,而网络智能电视在无线网络连接模式下,能提供的流量较小,因此,容易造成网络堵塞,严重的,将造成网络瘫痪。 With the development of electronic technology, network smart TV has become popular in people's lives. Users can access network resources through network smart TV, such as watching videos and reading files. When playing a television image, the network smart television displays a two-dimensional code mark in the television image. When the user is interested in the content in the television image and wants to obtain the corresponding content, the two-dimensional code mark may be scanned. Then, through the network smart television networking, to obtain content corresponding to the two-dimensional code mark, for example, the network smart television is currently playing a movie recommendation program, and a two-dimensional code mark is displayed in the television image, and the two-dimensional code mark record The play link address of the movie recommended by the movie recommendation program, if the user wants to watch the movie, the video content corresponding to the two-dimensional code mark can be obtained by scanning the two-dimensional code mark on the network smart television, in the prior art. The network smart television displays the video content corresponding to the two-dimensional code mark according to the current network connection mode. The prior art has the following drawbacks: if the content corresponding to the two-dimensional code mark displayed in the television image is video, and the current network connection mode of the network smart TV is a wireless network connection mode, the video traffic is usually relatively large, and In the wireless network connection mode, the network smart TV can provide less traffic, so it is easy to cause network congestion, which will cause network paralysis.
发明内容Summary of the invention
本发明的主要目的在于提出一种智能电视网络切换方法及装置,可以根据二维码识别结果自动切换智能电视的网络连接模式,以改善用户体验。The main purpose of the present invention is to provide a smart television network switching method and device, which can automatically switch the network connection mode of the smart TV according to the two-dimensional code recognition result to improve the user experience.
为实现上述目的,本发明提供一种智能电视网络切换方法,该方法包括:To achieve the above objective, the present invention provides a smart television network switching method, the method comprising:
获取智能电视当前播放的电视图像上的二维码标记;Obtaining a two-dimensional code mark on the television image currently played by the smart TV;
解析所述二维码标记,得到二维码内容;Parsing the two-dimensional code mark to obtain a two-dimensional code content;
判断该二维码内容中是否包括预设的特定字符串;若所述二维码内容中包括预设的特定字符串,则确定所述二维码内容是网页链接;Determining whether the two-dimensional code content includes a preset specific character string; if the two-dimensional code content includes a preset specific character string, determining that the two-dimensional code content is a webpage link;
若所述二维码内容是网页链接,则根据所述网页链接确定所述网页链接所链接的文件类型;If the two-dimensional code content is a webpage link, determining, according to the webpage link, a file type to which the webpage link is linked;
根据确定的文件类型切换所述智能电视的网络连接模式;其中,Switching the network connection mode of the smart TV according to the determined file type; wherein
根据所述网页链接确定所述网页链接所链接的文件类型的步骤包括:The step of determining the file type to which the webpage link is linked according to the webpage link includes:
判断所述网页链接中是否包括预设的第一类型字符串;Determining whether the preset first type string is included in the webpage link;
若所述网页链接中包括第一类型字符串,则确定所述网页链接所链接的文件类型为音视频文件类型;If the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
若所述网页链接中不包括第一类型字符串,则判断所述网页链接中是否包括第二类型字符串;If the first type string is not included in the webpage link, determining whether the webpage link includes the second type string;
若所述网页链接中包括第二类型字符串,则确定所述网页链接所链接的文件类型为文本文件类型。If the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
优选地,根据所述确定的文件类型切换所述智能电视的网络连接模式的步骤包括:Preferably, the step of switching the network connection mode of the smart TV according to the determined file type comprises:
若所述确定的文件类型为音视频文件类型,则切换所述智能电视的网络连接模式为有线网络连接模式;If the determined file type is an audio and video file type, switching the network connection mode of the smart TV to a wired network connection mode;
若所述确定的文件类型为文本文件类型,则切换所述智能电视的网络连接模式为无线网络连接模式。And if the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
优选地,所述判断所述二维码内容是否为网页链接的步骤之后,该方法还包括:Preferably, after the step of determining whether the content of the two-dimensional code is a webpage link, the method further includes:
若所述二维码内容不是网页链接,则将所述二维码内容显示在智能电视上。If the two-dimensional code content is not a webpage link, the two-dimensional code content is displayed on the smart television.
此外,为实现上述目的,本发明还提出一种智能电视网络切换方法,该方法包括:In addition, to achieve the above object, the present invention further provides a smart television network switching method, the method comprising:
获取智能电视当前播放的电视图像上的二维码标记;Obtaining a two-dimensional code mark on the television image currently played by the smart TV;
解析所述二维码标记,得到二维码内容;Parsing the two-dimensional code mark to obtain a two-dimensional code content;
判断所述二维码内容是否是网页链接;Determining whether the content of the two-dimensional code is a webpage link;
若所述二维码内容是网页链接,则根据所述网页链接确定所述网页链接所链接的文件类型;If the two-dimensional code content is a webpage link, determining, according to the webpage link, a file type to which the webpage link is linked;
根据确定的文件类型切换所述智能电视的网络连接模式。Switching the network connection mode of the smart TV according to the determined file type.
优选地,判断所述二维码内容是否是网页链接的步骤包括:Preferably, the step of determining whether the two-dimensional code content is a webpage link comprises:
判断该二维码内容中是否包括预设的特定字符串;Determining whether the preset specific character string is included in the content of the two-dimensional code;
若所述二维码内容中包括预设的特定字符串,则确定所述二维码内容是网页链接。If the two-dimensional code content includes a preset specific character string, it is determined that the two-dimensional code content is a webpage link.
优选地,根据所述网页链接确定所述网页链接所链接的文件类型的步骤包括:Preferably, the step of determining, according to the webpage link, the file type linked by the webpage link comprises:
判断所述网页链接中是否包括预设的第一类型字符串;Determining whether the preset first type string is included in the webpage link;
若所述网页链接中包括第一类型字符串,则确定所述网页链接所链接的文件类型为音视频文件类型;If the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
若所述网页链接中不包括第一类型字符串,则判断所述网页链接中是否包括第二类型字符串;If the first type string is not included in the webpage link, determining whether the webpage link includes the second type string;
若所述网页链接中包括第二类型字符串,则确定所述网页链接所链接的文件类型为文本文件类型。If the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
优选地,根据所述确定的文件类型切换所述智能电视的网络连接模式的步骤包括:Preferably, the step of switching the network connection mode of the smart TV according to the determined file type comprises:
若所述确定的文件类型为音视频文件类型,则切换所述智能电视的网络连接模式为有线网络连接模式;If the determined file type is an audio and video file type, switching the network connection mode of the smart TV to a wired network connection mode;
若所述确定的文件类型为文本文件类型,则切换所述智能电视的网络连接模式为无线网络连接模式。And if the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
优选地,所述判断所述二维码内容是否为网页链接的步骤之后,该方法还包括:Preferably, after the step of determining whether the content of the two-dimensional code is a webpage link, the method further includes:
若所述二维码内容不是网页链接,则将所述二维码内容显示在智能电视上。If the two-dimensional code content is not a webpage link, the two-dimensional code content is displayed on the smart television.
此外,为实现上述目的,本发明还提出一种智能电视网络切换装置,该装置包括:In addition, in order to achieve the above object, the present invention further provides a smart television network switching apparatus, the apparatus comprising:
获取模块,用于获取智能电视当前播放的电视图像上的二维码标记;An obtaining module, configured to obtain a two-dimensional code mark on a television image currently played by the smart television;
解析模块,用于解析所述二维码标记,得到二维码内容;An analysis module, configured to parse the two-dimensional code mark to obtain a two-dimensional code content;
判断模块,用于在判断所述二维码内容是否是网页链接;a determining module, configured to determine whether the content of the two-dimensional code is a webpage link;
确定模块,用于在所述判断模块的判断结果为所述二维码内容是网页链接时,根据所述网页链接确定所述网页链接所链接的文件类型;a determining module, configured to determine, according to the webpage link, a file type linked by the webpage link, when the judgment result of the judging module is that the two-dimensional code content is a webpage link;
切换模块,用于根据确定的文件类型切换所述智能电视的网络连接模式。And a switching module, configured to switch the network connection mode of the smart TV according to the determined file type.
优选地,所述判断模块包括:Preferably, the determining module comprises:
第一判断单元,用于判断该二维码内容中是否包括预设的特定字符串;a first determining unit, configured to determine whether the preset specific character string is included in the content of the two-dimensional code;
第一确定单元,用于在所述二维码内容中包括预设的特定字符串时,确定所述二维码内容是网页链接。The first determining unit is configured to determine that the two-dimensional code content is a webpage link when the preset specific character string is included in the two-dimensional code content.
优选地,所述确定模块包括:Preferably, the determining module comprises:
第二判断单元,用于判断所述网页链接中是否包括预设的第一类型字符串;a second determining unit, configured to determine whether the preset first type character string is included in the webpage link;
第二确定单元,用于在所述网页链接中包括第一类型字符串时,确定所述网页链接所链接的文件类型为音视频文件类型;a second determining unit, configured to determine, when the first type string is included in the webpage link, that the file type linked by the webpage link is an audiovisual file type;
第三判断单元,用于在所述网页链接中不包括第一类型字符串时,判断所述网页链接中是否包括第二类型字符串;a third determining unit, configured to determine, when the first type string is not included in the webpage link, whether the second type string is included in the webpage link;
第三确定单元,用于在所述网页链接中包括第二类型字符串时,确定所述网页链接所链接的文件类型为文本文件类型。And a third determining unit, configured to determine, when the second type string is included in the webpage link, that the file type linked by the webpage link is a text file type.
优选地,所述切换模块包括:Preferably, the switching module comprises:
第一切换单元,用于在所述确定的文件类型为音视频文件类型时,切换所述智能电视的网络连接模式为有线网络连接模式;a first switching unit, configured to switch the network connection mode of the smart TV to a wired network connection mode when the determined file type is an audio and video file type;
第二切换单元,用于在所述确定的文件类型为文本文件类型时,切换所述智能电视的网络连接模式为无线网络连接模式。And a second switching unit, configured to switch the network connection mode of the smart TV to a wireless network connection mode when the determined file type is a text file type.
优选地,所述装置还包括: Preferably, the device further comprises:
显示模块,用于在所述二维码内容不是网页链接时,将所述二维码内容显示在智能电视上。And a display module, configured to display the two-dimensional code content on the smart television when the two-dimensional code content is not a webpage link.
本发明提出的智能电视网络切换方法及装置,该方法包括:获取智能电视当前播放的电视图像上的二维码标记;解析所述二维码标记,得到二维码内容;判断所述二维码内容是否是网页链接;若所述二维码内容是网页链接,则根据所述网页链接确定所述网页链接所链接的文件类型;根据所述确定的文件类型切换所述智能电视的网络连接模式;可根据二维码识别结果自动切换该智能电视的网络连接模式,以改善用户体验。The method and device for switching a smart television network according to the present invention, the method comprising: acquiring a two-dimensional code mark on a television image currently played by the smart television; analyzing the two-dimensional code mark to obtain a two-dimensional code content; determining the two-dimensional code Whether the code content is a webpage link; if the two-dimensional code content is a webpage link, determining a file type linked by the webpage link according to the webpage link; and switching the smart TV network connection according to the determined file type Mode; the network connection mode of the smart TV can be automatically switched according to the recognition result of the two-dimensional code to improve the user experience.
附图说明DRAWINGS
图1为本发明智能电视网络切换方法的第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a method for switching a smart television network according to the present invention;
图2为本发明智能电视网络切换方法的第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a method for switching a smart television network according to the present invention;
图3为本发明智能电视网络切换方法的第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a method for switching a smart television network according to the present invention;
图4为本发明智能电视网络切换装置的一实施例的结构示意图;4 is a schematic structural diagram of an embodiment of a smart television network switching apparatus according to the present invention;
图5为本发明智能电视网络切换装置中确定模块的细化结构示意图;5 is a schematic diagram showing a refinement structure of a determining module in a smart television network switching apparatus according to the present invention;
图6为本发明智能电视网络切换装置中切换模块的细化结构示意图。FIG. 6 is a schematic diagram of a refinement structure of a switching module in a smart television network switching apparatus according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参照图1,图1为本发明智能电视网络切换方法的一实施例的流程示意图,该方法包括:1 is a schematic flowchart of an embodiment of a method for switching a smart television network according to the present invention. The method includes:
S10、获取智能电视当前播放的电视图像上的二维码标记。S10. Obtain a QR code mark on a television image currently played by the smart TV.
在该步骤中,可通过与该智能电视通信连接的智能终端(如智能手机)获取该智能电视当前播放的电视图像上的二维码标记。在一实施例中,用户开启该智能终端的摄像头,对该智能电视当前播放的电视图像进行拍摄,然后将拍摄的图像(该图像包括二维码标记)发送给智能电视。在另一实施例中,可通过与该智能电视连接的摄像头获取该智能电视当前播放的电视图像上的二维码标记,具体的,该摄像头正对着该智能电视,该摄像头在接收到拍摄指令时,对该智能电视当前播放的电视图像进行拍摄,然后将拍摄的图像(该图像包括二维码标记)发送给智能电视,该摄像头可与该智能电视通过有线或无线的方式连接。In this step, the two-dimensional code mark on the television image currently being played by the smart TV can be obtained through a smart terminal (such as a smart phone) that is connected to the smart TV. In an embodiment, the user turns on the camera of the smart terminal, takes a picture of the television image currently being played by the smart TV, and then transmits the captured image (the image includes a two-dimensional code mark) to the smart TV. In another embodiment, the two-dimensional code mark on the television image currently being played by the smart TV can be obtained by the camera connected to the smart TV. Specifically, the camera is facing the smart TV, and the camera is receiving the camera. When instructing, the television image currently being played by the smart TV is captured, and then the captured image (the image includes a two-dimensional code mark) is sent to the smart TV, and the camera can be connected to the smart TV by wire or wirelessly.
在该步骤中,也可以通过设置在该智能电视内部的截图工具,对智能电视当前播放的电视图像进行截图,以获取该智能电视当前播放的电视图像上的二维码标记。In this step, the TV image currently played by the smart TV may be screenshotd by a screenshot tool disposed inside the smart TV to obtain a two-dimensional code mark on the television image currently played by the smart TV.
该二维码标记可设置在该电视图像的任意位置,通常的,该二维码标记设置在该电视图像的边缘,如,将该二维码标记设置在电视图像的左下角或右下角。The two-dimensional code mark can be set at any position of the television image. Typically, the two-dimensional code mark is disposed at an edge of the television image, for example, the two-dimensional code mark is set at a lower left corner or a lower right corner of the television image.
S20、解析该二维码标记,得到二维码内容。S20: Parse the two-dimensional code mark to obtain a two-dimensional code content.
S30、判断该二维码内容是否是网页链接,若该二维码内容是网页链接,则执行步骤S40,否则执行步骤S60。S30. Determine whether the content of the two-dimensional code is a webpage link. If the content of the two-dimensional code is a webpage link, step S40 is performed; otherwise, step S60 is performed.
在该步骤中,判断该二维码内容是否为网页链接,具体的,可判断该二维码内容中是否包括预设的特定字符串,若该二维码内容中包括预设的特定字符串,则确定该二维码内容为网页链接,若该二维码内容中不包括预设的特定字符串,则确定该二维码内容不是网页链接。In this step, it is determined whether the content of the two-dimensional code is a webpage link. Specifically, whether the preset specific character string is included in the content of the two-dimensional code may be determined, if the content of the two-dimensional code includes a preset specific string. And determining that the content of the two-dimensional code is a webpage link, and if the preset specific character string is not included in the content of the two-dimensional code, determining that the content of the two-dimensional code is not a webpage link.
该预设的特定字符串通常为网址中的常用字符串,如预设的特定字符串为www、http、WWW、HTTP。如果该二维码内容中包括预设的特定字符串中的任一特定字符串,则确定该二维码内容为网页链接。如,当该二维码内容为:http://v.youku.com/v_show/feichengshipin.mp4,由于该二维码内容中包括字符串http,则可以确定该二维码内容为网页链接。如,当该二维码内容为:http://v.youku.com/v_show/douban.txt,由于该二维码内容中包括字符串http,则可以确定该二维码内容为网页链接。The preset specific string is usually a common string in the URL, such as a preset specific string of www, http, WWW, HTTP. If the two-dimensional code content includes any one of the preset specific character strings, it is determined that the two-dimensional code content is a webpage link. For example, when the content of the two-dimensional code is: http://v.youku.com/v_show/feichengshipin.mp4, since the content of the two-dimensional code includes the character string http, it can be determined that the content of the two-dimensional code is a webpage link. For example, when the content of the two-dimensional code is: http://v.youku.com/v_show/douban.txt, since the content of the two-dimensional code includes the character string http, it can be determined that the content of the two-dimensional code is a webpage link.
S40、根据该网页链接确定该网页链接所链接的文件类型。S40. Determine, according to the webpage link, a file type to which the webpage link is linked.
文件类型包括音视频文件类型、文本文件类型、图片文件类型等。File types include audio and video file types, text file types, image file types, and more.
在该步骤中,可通过分析该网页链接中的字符串特征,确定该网页链接链接所链接的文件类型。通常的,当该网页链接所链接的文件类型是音视频文件类型时,该网页链接的字符串中包括音视频文件的扩展名;当该网页链接所链接的文件类型是文本文件类型时,该网页链接的字符串中包括文本文件的扩展名;当该网页链接所链接的文件类型是图片文件类型时,该网页链接的字符串中包括图片文件的扩展名。In this step, the file type linked to the web link link can be determined by analyzing the character string in the webpage link. Generally, when the file type linked by the webpage link is an audio/video file type, the string of the webpage link includes an extension of the audiovisual file; when the file type linked by the webpage link is a text file type, The string of the webpage link includes the extension of the text file; when the file type linked by the webpage link is the image file type, the string of the webpage link includes the extension of the image file.
S50、根据确定的文件类型切换该智能电视的网络连接模式。S50. Switch the network connection mode of the smart TV according to the determined file type.
在该步骤中,可先测试该智能电视的网络连接情况,具体的,如智能电视向网络服务器发送网络测试命令,测试该智能电视是否可连接外网,如果该智能电视可连接外网,再进一步确定该智能电视是否可分别通过有线网络连接模式和无线网络连接模式与外网连接;当该智能电视可通过有线网络连接模式与外网连接时,将有线网络状态标识为1,当该智能电视可通过无线网络连接模式与外网连接时,将无线网络状态标识为1;在该智能电视可分别通过有线网络连接模式和无线网络连接模式与外网连接时,根据该确定的文件类型切换该智能电视的网络连接模式,通常的,若该文件类型对应要显示的内容较大,则将该智能电视的网络连接模式切换到有线网络连接模式,若该文件类型对应要显示的内容较小,则将该智能电视的网络连接模式切换到无线网络连接模式,然后在切换后的网络连接模式下显示该二维码内容对应的内容。In this step, the network connection of the smart TV can be tested first. Specifically, the smart TV sends a network test command to the network server to test whether the smart TV can be connected to the external network, and if the smart TV can be connected to the external network, Further determining whether the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode respectively; when the smart TV can be connected to the external network through the wired network connection mode, the wired network status is identified as 1, when the smart When the TV is connected to the external network through the wireless network connection mode, the wireless network status is marked as 1; when the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode, respectively, according to the determined file type The network connection mode of the smart TV. Generally, if the file type corresponds to a large content to be displayed, the network connection mode of the smart TV is switched to the wired network connection mode, and if the file type corresponds to a smaller content to be displayed, , then switch the smart TV network connection mode to the wireless network connection Mode, then the two-dimensional code display content corresponding to the content in the network connection mode after switching.
在该智能电视未与外网连接时,将二维码内容保存在预设的存储模块中;然后在该智能电视连接外网时,再根据该二维码内容切换该智能电视的网络连接模式。When the smart TV is not connected to the external network, the content of the two-dimensional code is saved in a preset storage module; and then when the smart TV is connected to the external network, the network connection mode of the smart TV is switched according to the content of the two-dimensional code. .
S60、将该二维码内容显示在智能电视上。S60. Display the content of the two-dimensional code on the smart TV.
具体的,可将该二维码内容显示在智能电视的预设位置上,如,可将该二维码内容显示在二维码标记旁边。Specifically, the content of the two-dimensional code can be displayed on a preset position of the smart TV. For example, the content of the two-dimensional code can be displayed next to the two-dimensional code mark.
采用上述实施例,通过获取智能电视当前播放的电视图像上的二维码标记;解析该二维码标记,得到二维码内容;判断该二维码内容是否是网页链接;若该二维码内容是网页链接,则根据该网页链接确定该网页链接所链接的文件类型;根据该确定的文件类型切换该智能电视的网络连接模式;可根据二维码内容二维码识别结果自动切换该智能电视的网络连接模式,以改善用户体验。According to the above embodiment, the two-dimensional code mark on the television image currently played by the smart television is obtained; the two-dimensional code mark is parsed to obtain the two-dimensional code content; and the two-dimensional code content is determined to be a webpage link; if the two-dimensional code is The content is a webpage link, and the file type linked by the webpage link is determined according to the webpage link; the network connection mode of the smart television is switched according to the determined file type; the smartware can be automatically switched according to the two-dimensional code content two-dimensional code recognition result The TV's network connection mode to improve the user experience.
参照图2,图2为本发明智能电视网络切换方法的第二实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for switching a smart television network according to the present invention.
基于上述智能电视网络切换方法的第一实施例,该步骤S40包括:Based on the first embodiment of the foregoing smart television network switching method, the step S40 includes:
S41、判断该网页链接中是否包括预设的第一类型字符串,若该网页链接中包括预设的第一类型字符串,则执行步骤S42,否则执行步骤S43。S41. Determine whether the preset first type character string is included in the webpage link. If the webpage link includes the preset first type character string, step S42 is performed, otherwise step S43 is performed.
在该步骤中,判断该网页链接中是否包括预设的第一类型字符串,当该网页链接中包括预设的第一类型字符串,则确定该网页链接所链接的文件类型为音视频文件类型,如果该网页链接中不包括预设的第一类型字符串,则确定该网页链接所链接的文件类型不是音视频文件类型,该网页链接所链接的文件类型可能是其他类型,如文本文件类型、图片文件类型等。该第一类型字符串为音视频文件的常用扩展名,如该第一类型字符串为mp4、rm、rmvb、wmv、avi、3gp等。In this step, determining whether the webpage link includes a preset first type character string, and when the webpage link includes a preset first type character string, determining that the file type linked by the webpage link is an audio and video file Type, if the preset first type string is not included in the webpage link, it is determined that the file type linked by the webpage link is not an audiovisual file type, and the file type linked by the webpage link may be other types, such as a text file. Type, image file type, etc. The first type string is a common extension of the audio and video file, such as the first type string is mp4, rm, rmvb, wmv, avi, 3gp, and the like.
S42、确定该网页链接所链接的文件类型为音视频文件类型。S42. Determine that the file type linked by the webpage link is an audio and video file type.
在一实施例中,该网页链接为:http://v.youku.com/v_show/feichengshipin.mp4,该网页链接中包括第一类型字符串mp4,则可确定该网页链接所链接的文件类型为音视频文件类型。In an embodiment, the webpage link is: http://v.youku.com/v_show/feichengshipin.mp4, and the webpage link includes the first type string mp4, and the file type linked by the webpage link is determined. For audio and video file types.
S43、判断该网页链接中是否包括预设的第二类型字符串,若该网页链接中包括预设的第二类型字符串,则执行步骤S44。S43. Determine whether the preset second type character string is included in the webpage link. If the webpage link includes the preset second type character string, step S44 is performed.
在该步骤中,可判断该网页链接中是否包括预设的第二类型字符串,当该网页链接中包括预设的第二类型字符串,则确定该网页链接所链接的文件类型为文本文件类型,如果该网页链接中不包括预设的第二类型字符串,则确定该网页链接所链接的文件类型不是文本文件类型,该网页链接所链接的文件类型可能是其他类型,如图片文件类型等。该第二类型字符串为文本文件的常用扩展名,如该第二类型字符串为txt、doc、docx等。In this step, it may be determined whether the preset second type string is included in the webpage link. When the webpage link includes a preset second type string, it is determined that the file type linked by the webpage link is a text file. Type, if the preset second type string is not included in the webpage link, it is determined that the file type linked by the webpage link is not a text file type, and the file type linked by the webpage link may be other types, such as an image file type. Wait. The second type string is a common extension of the text file, such as the second type string is txt, doc, docx, and the like.
S44、确定该网页链接所链接的文件类型为文本文件类型。S44. Determine that the file type linked by the webpage link is a text file type.
在一实施例中,网页链接为:http://v.youku.com/v_show/douban.txt,该网页链接中包括第二类型字符串txt,则可确定该网页链接所链接的文件类型为文本文件类型。In an embodiment, the webpage link is: http://v.youku.com/v_show/douban.txt, and the webpage link includes a second type string txt, so that the file type linked to the webpage link is determined to be Text file type.
参照图3,图3为本发明智能电视网络切换方法的第三实施例的流程示意图。Referring to FIG. 3, FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for switching a smart television network according to the present invention.
基于上述智能电视网络切换方法的第一实施例,该步骤S50包括:Based on the first embodiment of the foregoing smart television network switching method, the step S50 includes:
S51、若该确定的文件类型为音视频文件类型,则切换该智能电视的网络连接模式为有线网络连接模式。S51. If the determined file type is an audio and video file type, switch the network connection mode of the smart TV to a wired network connection mode.
在该确定的文件类型为音视频文件类型时,将该智能电视的网络链接模式切换为有线网络连接模式,可使得该智能电视在该有线网络连接模式下显示该网页链接所链接的内容。When the determined file type is an audio and video file type, switching the network link mode of the smart TV to the wired network connection mode may cause the smart TV to display the content linked by the webpage link in the wired network connection mode.
在该确定的文件类型为音视频文件类型时,如该网页链接所链接的内容为视频,则在有线网络连接方式下,播放该网页链接所链接的内容更为流畅。When the determined file type is an audio/video file type, if the content linked by the webpage link is a video, in the wired network connection mode, the content linked by playing the webpage link is smoother.
S52、若该确定的文件类型为文本文件类型,则切换该智能电视的网络连接模式为无线网络连接模式。S52. If the determined file type is a text file type, switch the network connection mode of the smart TV to a wireless network connection mode.
在该确定的文件类型为文本文件类型时,将该智能电视的网络链接模式切换为无线网络连接模式,可使得该智能电视在该无线网络连接模式下显示该网页链接所链接的内容。When the determined file type is a text file type, switching the network link mode of the smart TV to the wireless network connection mode may cause the smart TV to display the content linked by the webpage link in the wireless network connection mode.
在该确定的文件类型为文本文件类型时,将该智能电视的网络链接模式切换为无线网络连接模式,可使得该智能电视在该无线网络连接模式下显示该网页链接所链接的内容。When the determined file type is a text file type, switching the network link mode of the smart TV to the wireless network connection mode may cause the smart TV to display the content linked by the webpage link in the wireless network connection mode.
在该确定的文件类型为文本文件类型时,如该网页链接所链接的内容为文本,则在无线网络连接方式下,播放该网页链接所链接的内容。由于文本的内容一般较小,因此,该智能电视在无线网络连接模式下,也能流畅的显示该网页链接所链接的内容。When the determined file type is a text file type, if the content linked by the webpage link is text, in the wireless network connection mode, the content linked by the webpage link is played. Since the content of the text is generally small, the smart TV can smoothly display the content linked by the webpage link in the wireless network connection mode.
参照图4,图4为本发明智能电视网络切换装置的一实施例的结构示意图,该装置包括:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an embodiment of a smart television network switching apparatus according to the present invention. The apparatus includes:
获取模块10,用于获取智能电视当前播放的电视图像上的二维码标记;The obtaining module 10 is configured to obtain a two-dimensional code mark on a television image currently played by the smart television;
解析模块20,用于解析该二维码标记,得到二维码内容;The parsing module 20 is configured to parse the two-dimensional code mark to obtain a two-dimensional code content;
判断模块30,用于在判断该二维码内容是否是网页链接;The determining module 30 is configured to determine whether the content of the two-dimensional code is a webpage link;
确定模块40,用于在该判断模块30的判断结果为该二维码内容是网页链接时,根据该网页链接确定该网页链接所链接的文件类型;The determining module 40 is configured to determine, according to the webpage link, the file type linked by the webpage link, according to the webpage link, when the judgment result of the judging module 30 is that the two-dimensional code content is a webpage link;
切换模块50,用于根据该确定的文件类型切换该智能电视的网络连接模式。The switching module 50 is configured to switch the network connection mode of the smart TV according to the determined file type.
该获取模块10可通过与该智能电视通信连接的智能终端(如智能手机)获取该智能电视当前播放的电视图像上的二维码标记。在一实施例中,用户开启该智能终端的摄像头,对该智能电视当前播放的电视图像进行拍摄,然后将拍摄的图像(该图像包括二维码标记)发送给智能电视。在另一实施例中,可通过与该智能电视连接的摄像头获取该智能电视当前播放的电视图像上的二维码标记,具体的,该摄像头正对着该智能电视,该摄像头在接收到拍摄指令时,对该智能电视当前播放的电视图像进行拍摄,然后将拍摄的图像(该图像包括二维码标记)发送给智能电视,该摄像头可与该智能电视通过有线或无线的方式连接。The acquiring module 10 can acquire a two-dimensional code mark on a television image currently being played by the smart TV through a smart terminal (such as a smart phone) that is connected to the smart TV. In an embodiment, the user turns on the camera of the smart terminal, takes a picture of the television image currently being played by the smart TV, and then transmits the captured image (the image includes a two-dimensional code mark) to the smart TV. In another embodiment, the two-dimensional code mark on the television image currently being played by the smart TV can be obtained by the camera connected to the smart TV. Specifically, the camera is facing the smart TV, and the camera is receiving the camera. When instructing, the television image currently being played by the smart TV is captured, and then the captured image (the image includes a two-dimensional code mark) is sent to the smart TV, and the camera can be connected to the smart TV by wire or wirelessly.
该获取模块10也可以通过设置在该智能电视内部的截图工具,对智能电视当前播放的电视图像进行截图,以获取该智能电视当前播放的电视图像上的二维码标记。The acquiring module 10 can also take a screenshot of the currently-played television image of the smart TV through a screenshot tool disposed inside the smart TV to obtain a two-dimensional code mark on the television image currently played by the smart television.
该二维码标记可设置在该电视图像的任意位置,通常的,该二维码标记设置在该电视图像的边缘,如,将该二维码标记设置在电视图像的左下角或右下角。The two-dimensional code mark can be set at any position of the television image. Typically, the two-dimensional code mark is disposed at an edge of the television image, for example, the two-dimensional code mark is set at a lower left corner or a lower right corner of the television image.
该判断模块30判断该二维码内容是否为网页链接,具体的,该判断模块30包括:第一判断单元,用于判断该二维码内容中是否包括预设的特定字符串;第一确定单元,用于在该二维码内容中包括预设的特定字符串时,确定该二维码内容是网页链接。该第一判断单元判断该二维码内容中是否包括预设的特定字符串,若该二维码内容中包括预设的特定字符串,则该第一确定单元确定该二维码内容为网页链接,若该二维码内容中不包括预设的特定字符串,则该第一确定单元确定该二维码内容不是网页链接。The determining module 30 determines whether the content of the two-dimensional code is a webpage link. Specifically, the determining module 30 includes: a first determining unit, configured to determine whether the preset specific character string is included in the content of the two-dimensional code; And a unit, configured to determine that the two-dimensional code content is a webpage link when the preset specific character string is included in the two-dimensional code content. The first determining unit determines whether the preset specific character string is included in the content of the two-dimensional code. If the content of the two-dimensional code includes a preset specific character string, the first determining unit determines that the content of the two-dimensional code is a webpage. a link, if the preset specific character string is not included in the content of the two-dimensional code, the first determining unit determines that the two-dimensional code content is not a webpage link.
该预设的特定字符串通常为网址中的常用字符串,如预设的特定字符串为www、http、WWW、HTTP。如果二维码内容中包括预设的特定字符串中的任一特定字符串,则该第一确定单元确定该二维码内容为网页链接。如,当二维码内容为:http://v.youku.com/v_show/feichengshipin.mp4,由于该二维码内容中包括字符串http,则该第一确定单元可以确定该二维码内容为网页链接。如,当二维码内容为:http://v.youku.com/v_show/douban.txt,由于该二维码内容中包括字符串http,则该第一确定单元可以确定该二维码内容为网页链接。The preset specific string is usually a common string in the URL, such as a preset specific string of www, http, WWW, HTTP. If the two-dimensional code content includes any one of the preset specific character strings, the first determining unit determines that the two-dimensional code content is a webpage link. For example, when the content of the two-dimensional code is: http://v.youku.com/v_show/feichengshipin.mp4, since the content of the two-dimensional code includes the character string http, the first determining unit may determine the content of the two-dimensional code. Link to a web page. For example, when the content of the two-dimensional code is: http://v.youku.com/v_show/douban.txt, since the content of the two-dimensional code includes the character string http, the first determining unit may determine the content of the two-dimensional code. Link to a web page.
文件类型包括音视频文件类型、文本文件类型、图片文件类型等。File types include audio and video file types, text file types, image file types, and more.
该确定模块40可通过分析该网页链接中的字符串特征,确定该网页链接链接所链接的文件类型。通常的,当该网页链接所链接的文件类型是音视频文件类型时,该网页链接的字符串中包括音视频文件的扩展名;当该网页链接所链接的文件类型是文本文件类型时,该网页链接的字符串中包括文本文件的扩展名;当该网页链接所链接的文件类型是图片文件类型时,该网页链接的字符串中包括图片文件的扩展名。The determining module 40 can determine the file type linked by the webpage link link by analyzing the character string feature in the webpage link. Generally, when the file type linked by the webpage link is an audio/video file type, the string of the webpage link includes an extension of the audiovisual file; when the file type linked by the webpage link is a text file type, The string of the webpage link includes the extension of the text file; when the file type linked by the webpage link is the image file type, the string of the webpage link includes the extension of the image file.
该切换模块50可先测试该智能电视的网络连接情况,具体的,如智能电视向网络服务器发送网络测试命令,测试该智能电视是否可连接外网,如果该智能电视可连接外网,再进一步确定该智能电视是否可分别通过有线网络连接模式和无线网络连接模式与外网连接;当该智能电视可通过有线网络连接模式与外网连接时,将有线网络状态标识为1,当该智能电视可通过无线网络连接模式与外网连接时,将无线网络状态标识为1;在该智能电视可分别通过有线网络连接模式和无线网络连接模式与外网连接时,该切换模块50根据该二维码内容切换该智能电视的网络连接模式,通常的,若该文件类型对应要显示的内容较大,则将该智能电视的网络连接模式切换到有线网络连接模式,若该文件类型对应要显示的内容较小,则将该智能电视的网络连接模式切换到无线网络连接模式,然后在切换后的网络连接模式下显示该二维码内容对应的内容。The switching module 50 can first test the network connection of the smart TV. Specifically, the smart TV sends a network test command to the network server to test whether the smart TV can be connected to the external network, and if the smart TV can be connected to the external network, further Determining whether the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode respectively; when the smart TV can be connected to the external network through the wired network connection mode, the wired network status is identified as 1 when the smart TV When the wireless network connection mode is connected to the external network, the wireless network status is identified as 1; when the smart TV can be connected to the external network through the wired network connection mode and the wireless network connection mode, respectively, the switching module 50 according to the two-dimensional The code content switches the network connection mode of the smart TV. Generally, if the file type corresponds to a large content to be displayed, the network connection mode of the smart TV is switched to the wired network connection mode, and if the file type corresponds to be displayed, If the content is small, switch the smart TV's network connection mode to wireless. Network connection mode, then the two-dimensional code display content corresponding to the content in the network connection mode after switching.
在该智能电视未与外网连接时,该切换将二维码内容保存在预设的存储模块中;然后在该智能电视连接外网时,再根据该二维码内容切换该智能电视的网络连接模式。When the smart TV is not connected to the external network, the switching saves the content of the two-dimensional code in a preset storage module; and then, when the smart TV is connected to the external network, the network of the smart television is switched according to the content of the two-dimensional code. Connection mode.
进一步的,该装置还包括:显示模块,用于在该二维码内容不是网页链接时,则将该二维码内容显示在智能电视上。具体的,可将该二维码内容显示在智能电视的预设位置上,如,可将该二维码内容显示在二维码标记旁边。Further, the device further includes: a display module, configured to display the two-dimensional code content on the smart television when the two-dimensional code content is not a webpage link. Specifically, the content of the two-dimensional code can be displayed on a preset position of the smart TV. For example, the content of the two-dimensional code can be displayed next to the two-dimensional code mark.
参照图5,图5为本发明智能电视网络切换装置中判断模块30的细化结构示意图,该确定模块40包括:Referring to FIG. 5, FIG. 5 is a schematic diagram of a refinement structure of the judging module 30 in the smart television network switching apparatus according to the present invention. The determining module 40 includes:
第二判断单元41,用于判断该网页链接中是否包括预设的第一类型字符串;The second determining unit 41 is configured to determine whether the preset first type character string is included in the webpage link;
第二确定单元42,用于在该网页链接中包括第一类型字符串时,确定该网页链接所链接的文件类型为音视频文件类型;The second determining unit 42 is configured to determine, when the first type string is included in the webpage link, that the file type linked by the webpage link is an audio and video file type;
第三判断单元43,用于在该网页链接中不包括第一类型字符串时,判断该网页链接中是否包括第二类型字符串;The third determining unit 43 is configured to determine, when the first type string is not included in the webpage link, whether the second type string is included in the webpage link;
第三确定单元44,用于在该网页链接中包括第二类型字符串时,确定该网页链接所链接的文件类型为文本文件类型。The third determining unit 44 is configured to determine, when the second type string is included in the webpage link, that the file type linked by the webpage link is a text file type.
该第二判断单元41可判断该网页链接中是否包括预设的第一类型字符串,当该网页链接中包括预设的第一类型字符串,则第二确定单元42确定该网页链接所链接的文件类型为音视频文件类型,如果该网页链接中不包括预设的第一类型字符串,则第二确定单元42确定该网页链接所链接的文件类型不是音视频文件类型,该网页链接所链接的文件类型可能是其他类型,如文本文件类型、图片文件类型等。该第一类型字符串为音视频文件的常用扩展名,如该第一类型字符串为mp4、rm、rmvb、wmv、avi、3gp等。The second determining unit 41 may determine whether the preset first type character string is included in the webpage link. When the webpage link includes a preset first type character string, the second determining unit 42 determines that the webpage link is linked. The file type is an audio and video file type. If the preset first type string is not included in the webpage link, the second determining unit 42 determines that the file type linked by the webpage link is not an audiovisual file type, and the webpage link is The file type of the link may be other types, such as text file type, image file type, and so on. The first type string is a common extension of the audio and video file, such as the first type string is mp4, rm, rmvb, wmv, avi, 3gp, and the like.
如在一实施例中,该网页链接为:http://v.youku.com/v_show/feichengshipin.mp4,该网页链接中包括字符串mp4,则该第二确定单元42可确定该网页链接所链接的文件类型为音视频文件类型。For example, in an embodiment, the webpage link is: http://v.youku.com/v_show/feichengshipin.mp4, and the webpage link includes the character string mp4, and the second determining unit 42 can determine the webpage link The file type of the link is the audio and video file type.
该第三判断单元43在该网页链接不包括第一类型字符串时,可判断该网页链接中是否包括预设的第二类型字符串,如该网页链接中包括预设的第二类型字符串,则该第三确定单元44确定该网页链接所链接的文件类型为第二文件类型,如果该网页链接中不包括预设的第二类型字符串,则该第三确定单元44确定该网页链接所链接的文件类型不是文本文件类型,该网页链接所链接的文件类型可能是其他类型,如图片文件类型等。该第二类型字符串为文本文件的常用扩展名,如该第二类型字符串为txt、doc、docx等。When the webpage link does not include the first type of character string, the third determining unit 43 may determine whether the webpage link includes a preset second type string, for example, the webpage link includes a preset second type string. The third determining unit 44 determines that the file type linked by the webpage link is the second file type, and if the webpage link does not include the preset second type character string, the third determining unit 44 determines the webpage link. The file type to be linked is not a text file type, and the file type linked to the web page link may be other types, such as an image file type. The second type string is a common extension of the text file, such as the second type string is txt, doc, docx, and the like.
在一实施例中,网页链接为:http://v.youku.com/v_show/douban.txt,该网页链接中包括第二类型字符串txt,则该第三确定单元44可确定该网页链接所链接的文件类型为文本文件类型。In an embodiment, the webpage link is: http://v.youku.com/v_show/douban.txt, and the webpage link includes the second type string txt, and the third determining unit 44 may determine the webpage link. The linked file type is a text file type.
参照图6,图6为本发明智能电视网络切换装置中切换模块的细化结构示意图,该切换模块包括:Referring to FIG. 6, FIG. 6 is a schematic diagram of a refinement structure of a switching module in a smart television network switching apparatus according to the present invention. The switching module includes:
第一切换单元51,用于在该确定的文件类型为音视频文件类型时,切换该智能电视的网络连接模式为有线网络连接模式;The first switching unit 51 is configured to switch the network connection mode of the smart TV to a wired network connection mode when the determined file type is an audio and video file type;
第二切换单元52,用于在该确定的文件类型为文本文件类型时,切换该智能电视的网络连接模式为无线网络连接模式。The second switching unit 52 is configured to switch the network connection mode of the smart TV to a wireless network connection mode when the determined file type is a text file type.
在该确定的文件类型为音视频文件类型时,该第一切换单元51将该智能电视的网络链接模式切换为有线网络连接模式,可使得该智能电视在该有线网络连接模式下显示该网页链接所链接的内容。When the determined file type is an audio/video file type, the first switching unit 51 switches the network link mode of the smart TV to a wired network connection mode, so that the smart TV displays the webpage link in the wired network connection mode. The content of the link.
在该确定的文件类型为音视频文件类型时,如该网页链接所链接的内容为视频,则在有线网络连接方式下,播放该网页链接所链接的内容更为流畅。When the determined file type is an audio/video file type, if the content linked by the webpage link is a video, in the wired network connection mode, the content linked by playing the webpage link is smoother.
在该确定的文件类型为文本文件类型时,将该智能电视的网络链接模式切换为无线网络连接模式,可使得该智能电视在该无线网络连接模式下显示该网页链接所链接的内容。When the determined file type is a text file type, switching the network link mode of the smart TV to the wireless network connection mode may cause the smart TV to display the content linked by the webpage link in the wireless network connection mode.
在该确定的文件类型为文本文件类型时,该第二切换单元52将该智能电视的网络链接模式切换为无线网络连接模式,可使得该智能电视在该无线网络连接模式下显示该网页链接所链接的内容。When the determined file type is a text file type, the second switching unit 52 switches the network link mode of the smart TV to a wireless network connection mode, so that the smart TV displays the webpage link in the wireless network connection mode. The content of the link.
在该确定的文件类型为文本文件类型时,如该网页链接所链接的内容为文本,则在无线网络连接方式下,播放该网页链接所链接的内容。由于文本的内容一般较小,因此,该智能电视在无线网络连接模式下,也能流畅的显示该网页链接所链接的内容。When the determined file type is a text file type, if the content linked by the webpage link is text, in the wireless network connection mode, the content linked by the webpage link is played. Since the content of the text is generally small, the smart TV can smoothly display the content linked by the webpage link in the wireless network connection mode.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (19)

  1. 一种智能电视网络切换方法,其特征在于,该方法包括:A smart television network switching method, characterized in that the method comprises:
    获取智能电视当前播放的电视图像上的二维码标记;Obtaining a two-dimensional code mark on the television image currently played by the smart TV;
    解析所述二维码标记,得到二维码内容;Parsing the two-dimensional code mark to obtain a two-dimensional code content;
    判断该二维码内容中是否包括预设的特定字符串;若所述二维码内容中包括预设的特定字符串,则确定所述二维码内容是网页链接;Determining whether the two-dimensional code content includes a preset specific character string; if the two-dimensional code content includes a preset specific character string, determining that the two-dimensional code content is a webpage link;
    若所述二维码内容是网页链接,则根据所述网页链接确定所述网页链接所链接的文件类型;If the two-dimensional code content is a webpage link, determining, according to the webpage link, a file type to which the webpage link is linked;
    根据确定的文件类型切换所述智能电视的网络连接模式;其中,Switching the network connection mode of the smart TV according to the determined file type; wherein
    根据所述网页链接确定所述网页链接所链接的文件类型的步骤包括:The step of determining the file type to which the webpage link is linked according to the webpage link includes:
    判断所述网页链接中是否包括预设的第一类型字符串;Determining whether the preset first type string is included in the webpage link;
    若所述网页链接中包括第一类型字符串,则确定所述网页链接所链接的文件类型为音视频文件类型;If the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
    若所述网页链接中不包括第一类型字符串,则判断所述网页链接中是否包括第二类型字符串;If the first type string is not included in the webpage link, determining whether the webpage link includes the second type string;
    若所述网页链接中包括第二类型字符串,则确定所述网页链接所链接的文件类型为文本文件类型。If the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
  2. 如权利要求1所述的智能电视网络切换方法,其特征在于,根据所述确定的文件类型切换所述智能电视的网络连接模式的步骤包括:The smart television network switching method according to claim 1, wherein the step of switching the network connection mode of the smart TV according to the determined file type comprises:
    若所述确定的文件类型为音视频文件类型,则切换所述智能电视的网络连接模式为有线网络连接模式;If the determined file type is an audio and video file type, switching the network connection mode of the smart TV to a wired network connection mode;
    若所述确定的文件类型为文本文件类型,则切换所述智能电视的网络连接模式为无线网络连接模式。And if the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
  3. 如权利要求1所述的智能电视网络切换方法,其特征在于,所述判断所述二维码内容是否为网页链接的步骤之后,该方法还包括:The smart television network switching method according to claim 1, wherein after the step of determining whether the content of the two-dimensional code is a webpage link, the method further comprises:
    若所述二维码内容不是网页链接,则将所述二维码内容显示在智能电视上。If the two-dimensional code content is not a webpage link, the two-dimensional code content is displayed on the smart television.
  4. 一种智能电视网络切换方法,其特征在于,该方法包括:A smart television network switching method, characterized in that the method comprises:
    获取智能电视当前播放的电视图像上的二维码标记;Obtaining a two-dimensional code mark on the television image currently played by the smart TV;
    解析所述二维码标记,得到二维码内容;Parsing the two-dimensional code mark to obtain a two-dimensional code content;
    判断所述二维码内容是否是网页链接;Determining whether the content of the two-dimensional code is a webpage link;
    若所述二维码内容是网页链接,则根据所述网页链接确定所述网页链接所链接的文件类型;If the two-dimensional code content is a webpage link, determining, according to the webpage link, a file type to which the webpage link is linked;
    根据确定的文件类型切换所述智能电视的网络连接模式。Switching the network connection mode of the smart TV according to the determined file type.
  5. 如权利要求4所述的智能电视网络切换方法,其特征在于,判断所述二维码内容是否是网页链接的步骤包括:The smart television network switching method according to claim 4, wherein the step of determining whether the two-dimensional code content is a webpage link comprises:
    判断该二维码内容中是否包括预设的特定字符串;Determining whether the preset specific character string is included in the content of the two-dimensional code;
    若所述二维码内容中包括预设的特定字符串,则确定所述二维码内容是网页链接。If the two-dimensional code content includes a preset specific character string, it is determined that the two-dimensional code content is a webpage link.
  6. 如权利要求4所述的智能电视网络切换方法,其特征在于,根据所述网页链接确定所述网页链接所链接的文件类型的步骤包括:The smart television network switching method according to claim 4, wherein the step of determining the file type linked by the webpage link according to the webpage link comprises:
    判断所述网页链接中是否包括预设的第一类型字符串;Determining whether the preset first type string is included in the webpage link;
    若所述网页链接中包括第一类型字符串,则确定所述网页链接所链接的文件类型为音视频文件类型;If the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
    若所述网页链接中不包括第一类型字符串,则判断所述网页链接中是否包括第二类型字符串;If the first type string is not included in the webpage link, determining whether the webpage link includes the second type string;
    若所述网页链接中包括第二类型字符串,则确定所述网页链接所链接的文件类型为文本文件类型。If the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
  7. 如权利要求6所述的智能电视网络切换方法,其特征在于,根据所述确定的文件类型切换所述智能电视的网络连接模式的步骤包括:The smart television network switching method according to claim 6, wherein the step of switching the network connection mode of the smart TV according to the determined file type comprises:
    若所述确定的文件类型为音视频文件类型,则切换所述智能电视的网络连接模式为有线网络连接模式;If the determined file type is an audio and video file type, switching the network connection mode of the smart TV to a wired network connection mode;
    若所述确定的文件类型为文本文件类型,则切换所述智能电视的网络连接模式为无线网络连接模式。And if the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
  8. 如权利要求4所述的智能电视网络切换方法,其特征在于,所述判断所述二维码内容是否为网页链接的步骤之后,该方法还包括:The smart television network switching method according to claim 4, wherein after the step of determining whether the two-dimensional code content is a webpage link, the method further comprises:
    若所述二维码内容不是网页链接,则将所述二维码内容显示在智能电视上。If the two-dimensional code content is not a webpage link, the two-dimensional code content is displayed on the smart television.
  9. 如权利要求8所述的智能电视网络切换方法,其特征在于,判断所述二维码内容是否是网页链接的步骤包括:The smart television network switching method according to claim 8, wherein the step of determining whether the two-dimensional code content is a webpage link comprises:
    判断该二维码内容中是否包括预设的特定字符串;Determining whether the preset specific character string is included in the content of the two-dimensional code;
    若所述二维码内容中包括预设的特定字符串,则确定所述二维码内容是网页链接。If the two-dimensional code content includes a preset specific character string, it is determined that the two-dimensional code content is a webpage link.
  10. 如权利要求8所述的智能电视网络切换方法,其特征在于,根据所述网页链接确定所述网页链接所链接的文件类型的步骤包括:The smart television network switching method according to claim 8, wherein the step of determining the file type linked by the webpage link according to the webpage link comprises:
    判断所述网页链接中是否包括预设的第一类型字符串;Determining whether the preset first type string is included in the webpage link;
    若所述网页链接中包括第一类型字符串,则确定所述网页链接所链接的文件类型为音视频文件类型;If the webpage link includes the first type of character string, determining that the file type linked by the webpage link is an audio and video file type;
    若所述网页链接中不包括第一类型字符串,则判断所述网页链接中是否包括第二类型字符串;If the first type string is not included in the webpage link, determining whether the webpage link includes the second type string;
    若所述网页链接中包括第二类型字符串,则确定所述网页链接所链接的文件类型为文本文件类型。If the webpage link includes a second type of character string, it is determined that the file type linked by the webpage link is a text file type.
  11. 如权利要求10所述的智能电视网络切换方法,其特征在于,根据所述确定的文件类型切换所述智能电视的网络连接模式的步骤包括:The smart television network switching method according to claim 10, wherein the step of switching the network connection mode of the smart TV according to the determined file type comprises:
    若所述确定的文件类型为音视频文件类型,则切换所述智能电视的网络连接模式为有线网络连接模式;If the determined file type is an audio and video file type, switching the network connection mode of the smart TV to a wired network connection mode;
    若所述确定的文件类型为文本文件类型,则切换所述智能电视的网络连接模式为无线网络连接模式。And if the determined file type is a text file type, switching the network connection mode of the smart TV to a wireless network connection mode.
  12. 一种智能电视网络切换装置,其特征在于,该装置包括:A smart television network switching device, characterized in that the device comprises:
    获取模块,用于获取智能电视当前播放的电视图像上的二维码标记;An obtaining module, configured to obtain a two-dimensional code mark on a television image currently played by the smart television;
    解析模块,用于解析所述二维码标记,得到二维码内容;An analysis module, configured to parse the two-dimensional code mark to obtain a two-dimensional code content;
    判断模块,用于在判断所述二维码内容是否是网页链接;a determining module, configured to determine whether the content of the two-dimensional code is a webpage link;
    确定模块,用于在所述判断模块的判断结果为所述二维码内容是网页链接时,根据所述网页链接确定所述网页链接所链接的文件类型;a determining module, configured to determine, according to the webpage link, a file type linked by the webpage link, when the judgment result of the judging module is that the two-dimensional code content is a webpage link;
    切换模块,用于根据确定的文件类型切换所述智能电视的网络连接模式。And a switching module, configured to switch the network connection mode of the smart TV according to the determined file type.
  13. 如权利要求12所述的智能电视网络切换装置,其特征在于,所述判断模块包括:The smart television network switching device according to claim 12, wherein the determining module comprises:
    第一判断单元,用于判断该二维码内容中是否包括预设的特定字符串;a first determining unit, configured to determine whether the preset specific character string is included in the content of the two-dimensional code;
    第一确定单元,用于在所述二维码内容中包括预设的特定字符串时,确定所述二维码内容是网页链接。The first determining unit is configured to determine that the two-dimensional code content is a webpage link when the preset specific character string is included in the two-dimensional code content.
  14. 如权利要求12所述的智能电视网络切换装置,其特征在于,所述确定模块包括:The smart television network switching device according to claim 12, wherein the determining module comprises:
    第二判断单元,用于判断所述网页链接中是否包括预设的第一类型字符串;a second determining unit, configured to determine whether the preset first type character string is included in the webpage link;
    第二确定单元,用于在所述网页链接中包括第一类型字符串时,确定所述网页链接所链接的文件类型为音视频文件类型;a second determining unit, configured to determine, when the first type string is included in the webpage link, that the file type linked by the webpage link is an audiovisual file type;
    第三判断单元,用于在所述网页链接中不包括第一类型字符串时,判断所述网页链接中是否包括第二类型字符串;a third determining unit, configured to determine, when the first type string is not included in the webpage link, whether the second type string is included in the webpage link;
    第三确定单元,用于在所述网页链接中包括第二类型字符串时,确定所述网页链接所链接的文件类型为文本文件类型。And a third determining unit, configured to determine, when the second type string is included in the webpage link, that the file type linked by the webpage link is a text file type.
  15. 如权利要求14所述的智能电视网络切换装置,其特征在于,所述切换模块包括:The smart television network switching device according to claim 14, wherein the switching module comprises:
    第一切换单元,用于在所述确定的文件类型为音视频文件类型时,切换所述智能电视的网络连接模式为有线网络连接模式;a first switching unit, configured to switch the network connection mode of the smart TV to a wired network connection mode when the determined file type is an audio and video file type;
    第二切换单元,用于在所述确定的文件类型为文本文件类型时,切换所述智能电视的网络连接模式为无线网络连接模式。And a second switching unit, configured to switch the network connection mode of the smart TV to a wireless network connection mode when the determined file type is a text file type.
  16. 如权利要求12所述的智能电视网络切换装置,其特征在于,所述装置还包括: The smart television network switching device of claim 12, wherein the device further comprises:
    显示模块,用于在所述二维码内容不是网页链接时,将所述二维码内容显示在智能电视上。And a display module, configured to display the two-dimensional code content on the smart television when the two-dimensional code content is not a webpage link.
  17. 如权利要求16所述的智能电视网络切换装置,其特征在于,所述判断模块包括:The smart television network switching device according to claim 16, wherein the determining module comprises:
    第一判断单元,用于判断该二维码内容中是否包括预设的特定字符串;a first determining unit, configured to determine whether the preset specific character string is included in the content of the two-dimensional code;
    第一确定单元,用于在所述二维码内容中包括预设的特定字符串时,确定所述二维码内容是网页链接。The first determining unit is configured to determine that the two-dimensional code content is a webpage link when the preset specific character string is included in the two-dimensional code content.
  18. 如权利要求16所述的智能电视网络切换装置,其特征在于,所述确定模块包括:The smart television network switching device according to claim 16, wherein the determining module comprises:
    第二判断单元,用于判断所述网页链接中是否包括预设的第一类型字符串;a second determining unit, configured to determine whether the preset first type character string is included in the webpage link;
    第二确定单元,用于在所述网页链接中包括第一类型字符串时,确定所述网页链接所链接的文件类型为音视频文件类型;a second determining unit, configured to determine, when the first type string is included in the webpage link, that the file type linked by the webpage link is an audiovisual file type;
    第三判断单元,用于在所述网页链接中不包括第一类型字符串时,判断所述网页链接中是否包括第二类型字符串;a third determining unit, configured to determine, when the first type string is not included in the webpage link, whether the second type string is included in the webpage link;
    第三确定单元,用于在所述网页链接中包括第二类型字符串时,确定所述网页链接所链接的文件类型为文本文件类型。And a third determining unit, configured to determine, when the second type string is included in the webpage link, that the file type linked by the webpage link is a text file type.
  19. 如权利要求18所述的智能电视网络切换装置,其特征在于,所述切换模块包括:The smart television network switching device according to claim 18, wherein the switching module comprises:
    第一切换单元,用于在所述确定的文件类型为音视频文件类型时,切换所述智能电视的网络连接模式为有线网络连接模式;a first switching unit, configured to switch the network connection mode of the smart TV to a wired network connection mode when the determined file type is an audio and video file type;
    第二切换单元,用于在所述确定的文件类型为文本文件类型时,切换所述智能电视的网络连接模式为无线网络连接模式。And a second switching unit, configured to switch the network connection mode of the smart TV to a wireless network connection mode when the determined file type is a text file type.
PCT/CN2016/084230 2015-12-28 2016-06-01 Method and apparatus for switching smart television network WO2017113588A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511005872.8A CN105635839B (en) 2015-12-28 2015-12-28 Smart television method for switching network and device
CN201511005872.8 2015-12-28

Publications (1)

Publication Number Publication Date
WO2017113588A1 true WO2017113588A1 (en) 2017-07-06

Family

ID=56050257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084230 WO2017113588A1 (en) 2015-12-28 2016-06-01 Method and apparatus for switching smart television network

Country Status (2)

Country Link
CN (1) CN105635839B (en)
WO (1) WO2017113588A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012120524A2 (en) * 2011-03-09 2012-09-13 Tata Consultancy Services Limited A method and system for implementation of an interactive television application
CN103781187A (en) * 2012-10-19 2014-05-07 华为终端有限公司 File transmission controlling method and terminal
JP2014216683A (en) * 2013-04-23 2014-11-17 株式会社キッズステーション Digital content distribution system using two-dimensional code of data broadcasting and its information distribution method
CN204046750U (en) * 2014-04-09 2014-12-24 广州珠江数码集团有限公司 A kind of video playback box

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1149795A (en) * 1995-11-02 1997-05-14 邝冬英 Multi media digital transmission broadcasting system
US20050080911A1 (en) * 2002-09-17 2005-04-14 Stiers Todd A. System and method for the packaging and distribution of data
KR20110010427A (en) * 2009-07-24 2011-02-01 삼성전기주식회사 Printed circuit board and manufacturing method thereof
KR20110010427U (en) * 2010-04-29 2011-11-04 최상덕 bon_geul
US9280042B2 (en) * 2012-03-16 2016-03-08 City University Of Hong Kong Automatic switching of a multi-mode projector display screen for displaying three-dimensional and two-dimensional images
CN104284206B (en) * 2013-07-12 2018-03-23 珠海扬智电子科技有限公司 Audio/video player system, video frequency transmitter and video play device
CN103458012B (en) * 2013-08-20 2017-06-27 小米科技有限责任公司 A kind of method and equipment that controlled in wireless is carried out to network TV terminal
CN103854139A (en) * 2014-03-14 2014-06-11 甘肃新空间环境科技有限公司 Inspection supervision and management system and method for seed products
CN104038841A (en) * 2014-05-27 2014-09-10 四川长虹电器股份有限公司 Special network terminating method of smart television system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012120524A2 (en) * 2011-03-09 2012-09-13 Tata Consultancy Services Limited A method and system for implementation of an interactive television application
CN103781187A (en) * 2012-10-19 2014-05-07 华为终端有限公司 File transmission controlling method and terminal
JP2014216683A (en) * 2013-04-23 2014-11-17 株式会社キッズステーション Digital content distribution system using two-dimensional code of data broadcasting and its information distribution method
CN204046750U (en) * 2014-04-09 2014-12-24 广州珠江数码集团有限公司 A kind of video playback box

Also Published As

Publication number Publication date
CN105635839B (en) 2019-03-29
CN105635839A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2015142016A1 (en) Method for controlling content playback and content playback apparatus for executing same
WO2018032680A1 (en) Method and system for playing audio and video
WO2018006489A1 (en) Terminal voice interaction method and device
WO2014107102A1 (en) Display apparatus and method of controlling display apparatus
WO2017143692A1 (en) Smart television and voice control method therefor
WO2018023926A1 (en) Interaction method and system for television and mobile terminal
WO2018223607A1 (en) Television terminal, method for converting hdr image into sdr image, and computer readable storage medium
WO2019114269A1 (en) Method for resuming playing program, television device, and computer readable storage medium
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2016032021A1 (en) Apparatus and method for recognizing voice commands
WO2017020649A1 (en) Audio/video playback control method and device thereof
WO2014187158A1 (en) Method, server, and terminal for controlling cloud sharing of terminal data
WO2017084302A1 (en) Method for playing boot video of a display terminal and display terminal
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2018227887A1 (en) Video advertisement delivery method, video advertisement generation method, device, server and readable storage medium
WO2019041851A1 (en) Home appliance after-sales consulting method, electronic device and computer-readable storage medium
WO2017045441A1 (en) Smart television-based audio playback method and apparatus
WO2018036057A1 (en) Method and device for background adaptive upgrading of software
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2019085543A1 (en) Television system and television control method
WO2017054488A1 (en) Television play control method, server and television play control system
WO2016183973A1 (en) Page processing method and system
WO2018032679A1 (en) Setting method and device for timed startup and shutoff of television
WO2017024876A1 (en) Television program broadcast method and device
WO2018023925A1 (en) Photography method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880396

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/11/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16880396

Country of ref document: EP

Kind code of ref document: A1