CN111800666B - WebOS smart television hot key response method and device and smart television - Google Patents

WebOS smart television hot key response method and device and smart television Download PDF

Info

Publication number
CN111800666B
CN111800666B CN202010650498.1A CN202010650498A CN111800666B CN 111800666 B CN111800666 B CN 111800666B CN 202010650498 A CN202010650498 A CN 202010650498A CN 111800666 B CN111800666 B CN 111800666B
Authority
CN
China
Prior art keywords
hash value
webos
hot key
page
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010650498.1A
Other languages
Chinese (zh)
Other versions
CN111800666A (en
Inventor
胡金寿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202010650498.1A priority Critical patent/CN111800666B/en
Publication of CN111800666A publication Critical patent/CN111800666A/en
Application granted granted Critical
Publication of CN111800666B publication Critical patent/CN111800666B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • 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/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • 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
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a hot key response method and device for a WebOS smart television and a smart television, wherein the method comprises the following steps: determining a hot key value according to the received hot key signal; searching a hash value corresponding to the hot key value from a configuration file through a browser agent; updating the hash value of the URL according to the corresponding hash value; acquiring an updated hash value, and acquiring related parameters of a corresponding application page from a configuration file according to the updated hash value; and switching the operation page of the intelligent television to a corresponding application page according to the related parameters. According to the technical scheme, the WebOS intelligent television can quickly respond to the HotKey, the application page of the WebOS intelligent television is switched by utilizing the HotKey, the switching process of the application page is simpler and more convenient, the focus of the page is easier to control, and the method and the device have stronger universality.

Description

WebOS smart television hot key response method and device and smart television
Technical Field
The invention relates to the field of smart televisions, in particular to a WebOS smart television hot key response method and device and a smart television.
Background
With the development and popularization of the Web technology and the more and more diversified front-end technical frameworks related to the Web technology, the adoption of the Web technology to realize a set of WebOS television UI system becomes simpler and more powerful. A Web-based Operating System (WebOS), i.e., a Web-based Operating System, is operated on a television (television) browser, and a television remote controller is used to control a Web application to perform UI interaction with a user. However, in the existing Web application development method, the processing procedure for the key value of the remote controller is complex and tedious, and has performance problems.
Disclosure of Invention
In view of the above problems, the invention provides a hot key response method and device for a WebOS smart television and the smart television.
One embodiment of the invention provides a hot key response method of a WebOS smart television, which comprises the following steps:
determining a hot key value according to the received hot key signal;
searching a hash value corresponding to the hot key value from a configuration file through a browser agent;
updating the hash value of the URL according to the corresponding hash value;
acquiring an updated hash value, and acquiring related parameters of a corresponding application page from a configuration file according to the updated hash value;
and switching the operation page of the intelligent television to a corresponding application page according to the related parameters.
In the above WebOS smart television hotkey response method, the obtaining of the updated hash value includes:
monitoring the hash value of the URL through a first monitoring event;
and when the hash value of the URL is monitored to be updated, acquiring the updated hash value.
The hot key response method of the WebOS intelligent television further comprises the following steps:
monitoring whether a non-hot key value is updated or not through a second monitoring event under the application page;
and if the non-hot key value is updated, determining a corresponding UI (user interface) and/or moving a positioning focus to a corresponding position according to the updated non-hot key value.
According to the WebOS intelligent television hot key response method, the configuration file is in a json format, and the related parameters comprise at least one of application page path information, configuration information of an application page and related configuration information when a network third-party application needs to use a Web application.
According to the hot key response method of the WebOS intelligent television, when the WebOS intelligent television is started, the steps of:
obtaining a hash value of the URL;
if the hash value of the URL is an initialization characteristic character, entering an initialization page;
and if the hash value of the URL is not the initialized characteristic character, entering a menu page.
According to the hot key response method of the WebOS intelligent television, after the WebOS is started, the preset number of WebSockets used for duplex communication between the browser and the server are established for the application page to call.
According to the WebOS intelligent television hot key response method, the application page comprises a shell page and a preset number of local pages;
and when the non-hot key value is updated, updating the corresponding local page according to the updated non-hot key value.
Another embodiment of the present invention provides a WebOS smart tv hotkey response apparatus, including:
the hot key signal receiving module is used for determining a hot key value according to the received hot key signal;
the hash value searching module is used for searching a hash value corresponding to the hot key value from a configuration file through a browser agent;
the hash value updating module is used for updating the hash value of the URL according to the corresponding hash value;
the relevant parameter acquisition module is used for acquiring the updated hash value and acquiring the relevant parameters of the corresponding application page from the configuration file according to the updated hash value;
and the application page switching module is used for switching the operation page of the intelligent television to the corresponding application page according to the related parameters.
The above embodiments relate to a smart television, which includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the terminal device to implement the above-mentioned WebOS smart television hotkey response method.
The above-described embodiments relate to a readable storage medium storing a computer program that, when executed on a processor, performs the above-described WebOS smart tv hotkey response method.
Determining a hot key value according to the received hot key signal; searching a hash value corresponding to the hot key value from a configuration file through a browser agent; updating the hash value of the URL according to the corresponding hash value; acquiring an updated hash value, and acquiring related parameters of a corresponding application page from a configuration file according to the updated hash value; and switching the operation page of the intelligent television to a corresponding application page according to the related parameters. According to the technical scheme, the WebOS intelligent television can quickly respond to the HotKey, the application page of the WebOS intelligent television is switched by utilizing the HotKey, the switching process of the application page is simpler and more convenient, the focus of the page is easier to control, and the method and the device have stronger universality.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
FIG. 1 is a flowchart illustrating a hot key response method of a WebOS smart television according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the contents of a configuration file according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a control process of a hot key response method of a WebOS smart television according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a process of creating and using multiple WebSocket connections of a WebOS smart television according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram illustrating a hotkey response method of a WebOS smart television according to an embodiment of the present invention;
fig. 6 shows a performance effect diagram of the technical solution according to the embodiment of the present invention.
Description of the main element symbols:
1-WebOS intelligent television hot key response device; 100-hot key signal receiving module; 200-hash value lookup module; 300-hash value update module; 400-a relevant parameter acquisition module; 500-application Page switch Module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
In this embodiment, referring to fig. 1, it is shown that a WebOS smart tv hotkey response method includes the following steps:
step S100: and determining a hot key value according to the received hot key signal.
The hot key is a HotKey used for controlling a remote control end of the intelligent television and can also be called as a shortcut key, and a user can quickly trigger the WebOS intelligent television through the HotKey of the remote control end so that the WebOS intelligent television can quickly respond. The remote control end of the intelligent television comprises a remote controller, a mobile phone, an ipad and other terminal equipment capable of controlling the WebOS intelligent television.
When a user presses a certain HotKey key of the remote control end, a key value corresponding to the HotKey key is transmitted to hardware of the WebOS intelligent television through signal transmission and is handed to a system bottom layer for processing.
Step S200: and searching the hash value corresponding to the hot key value from the configuration file through the browser agent.
And the bottom layer of the WebOS intelligent television system informs a Web browser Agent (WebUI Agent) to analyze the configuration file, and searches the hash value corresponding to the hot key value in the configuration file by using the obtained hot key value.
Exemplarily, referring to fig. 2, the configuration file is in a json format, and the related parameter includes at least one of application page path information, configuration information of an application page, and related configuration information when a Web application needs to be used by a network third-party application.
The quick response of the WebOS intelligent television by using the HotKey value can be realized by configuring relevant information such as urlList, pageList, cspCoexistenelist and the like in page. The url List is related information of a page path of the WebOS system and comprises a window name, a page address url, a resident memory persistence, a page display mode displayType, a resource position resource and the like; the pageList is configuration information of each Web application or system/network third-party application, and comprises a window name windowName, a corresponding pageId, a HotKey value, all remote controller key values keyList which can be responded in the application, a default load defaultLoad and the like; the cspCoexistenList is related configuration when a Web application is required to be used by a network third party application, common is common configuration of all network third party applications, netflix is one of the network third party application names, concurrency configured in the netflix is a Web application module list required to be used, and suspennkey is a key value list required to be used.
Step S300: and updating the hash value of the URL according to the corresponding hash value.
When a user presses a HotKey of a remote controller, the WebOS smart television takes a page Id corresponding to the HotKey in page json as a hash value on url through a browser Agent (WebUI Agent) and transmits the hash value to index. For example: html # pageId ═ wizard. The hash value after the feature identifier # of the URL is pageId ═ wizard.
Step S400: and acquiring the updated hash value, and acquiring the relevant parameters of the corresponding application page from the configuration file according to the updated hash value.
Obtaining the updated hash value comprises: monitoring the hash value of the URL through a first monitoring event; and when the hash value of the URL is monitored to be updated, acquiring the updated hash value.
It should be understood that the hash value is the portion of the URL following the "#" character. When a web page is accessed by using a browser, if the URL of the web page carries a hash value, the page is located at the position of an element with the same id (or name) as the hash value. Since the change of the hash value does not cause the page reloading, and the browser does not send the hash value to the server side along with the request, the hash value needs to be acquired and set through the window. The change of the window, location, hash value is directly reflected to the browser address bar (the part behind the browser address bar changes), and meanwhile, the change of the browser address bar hash value also triggers the change of the window, location, hash value, and therefore the hash event is triggered.
Exemplarily, the first listening event may be a hash event, and in the WebOS, the change monitoring is performed on the character string behind the feature identifier # of the url by registering the window listening event hash, and if the change is not detected, the change is not processed, and the change is responded and switched to the corresponding Web application page or system page or network third-party application page.
When the fragment identifier of the URL changes, a hash event (the URL part following the # symbol and including the # symbol) is triggered, and when the hash event triggers, the event object has two attributes of URL (oldurl) before the hash value changes and URL (newurl) after the hash value changes.
And further, acquiring relevant parameters of the corresponding application page from a configuration file page according to the acquired updated hash value.
Step S500: and switching the operation page of the intelligent television to a corresponding application page according to the related parameters.
The application page includes a Web application or a system/network third party application.
Json comprises relevant information such as urlList, pageList, cspCoexisteneList and the like, wherein the window name windowName, the page address url, the resident memory persistence, the page display mode displayType, the resource position resource and the like can be determined according to the page path relevant information urlList of the WebOS system; the method comprises the steps that according to configuration information pageList of Web application or system/network third-party application, a window name windowName, corresponding pageId, HotKey values, all remote controller key values keyList which can respond in the application, default loading defaultLoad and the like can be obtained; according to the related configuration cspCoexistenList of the Web application required to be used by the third party application, the public configuration common of the network third party application, the name netflix of one network third party application, the Web application module list consturency required to be used by the third party application, the key value list suspendley required to be used by the third party application and the like can be obtained.
Therefore, the operation page of the smart television can be switched to the corresponding application page according to the related parameters.
The embodiment determines the hot key value according to the received hot key signal; searching a hash value corresponding to the hot key value from a configuration file through a browser agent; updating the hash value of the URL according to the corresponding hash value; acquiring an updated hash value, and acquiring related parameters of a corresponding application page from a configuration file according to the updated hash value; and switching the operation page of the intelligent television to a corresponding application page according to the related parameters. According to the technical scheme, the WebOS intelligent television can quickly respond to the HotKey, the application page of the WebOS intelligent television is switched by using the HotKey, the switching process of the application page is simpler and more convenient, the focus of the page is easier to control, and the method has stronger universality.
Example 2
In this embodiment, referring to fig. 3, after the WebOS smart television responds that a hotkey enters a corresponding application page, whether a non-hotkey value is updated or not can be monitored through a second monitoring event in the application page; and if the non-hot key value is updated, determining a corresponding UI (user interface) and/or moving a positioning focus to a corresponding position according to the updated non-hot key value.
Exemplarily, in the Web application, the browser obtains a response of the non-HotKey, monitors the pressing state of the remote controller through a second monitoring event document. In a single-page development mode, key event monitoring is carried out on the outermost layer component only once, and then key value information is transmitted through eventBus, so that the method can be used in the whole WebOS. And registering an eventBus event at the outermost layer of the WebOS, and transmitting key value information to eventBus after a user presses a non-HotKey key of a remote controller, wherein the key value information responds to the change of the key value and UI interaction and focus movement inside the application are realized.
Further, the application page comprises a shell page and a preset number of local pages; and when the non-hot key value is updated, updating the corresponding local page according to the updated non-hot key value. The method and the device have the advantages that local refreshing or local change is realized, on one hand, the efficiency of data transmission can be accelerated, on the other hand, the application state management process can be simpler, and meanwhile, the transition animation effect can be realized.
Further, the application page may utilize a single-page technology framework vue. In the development process, vuex is selected as the state management of the whole WebOS, and the problems of data caching, data transmission and communication among the Web applications are managed. A single page uses less memory than multiple pages. For example: after the WebOS is started, the memory utilization rate when the TVMenu is started is as shown in the fourth drawing, the multi-page is 7.5MB, and the single page is 6.3 MB; after a Home homepage is opened by pressing the HotKey, the memory utilization rate is as shown in the figure five, the multi-page is 11.3MB, and the single page is 10.4 MB; after the Media multimedia is opened by pressing the HotKey, the utilization rate of the memory is as shown in figure six, the multi-page is 6.3MB, and the single page is 3.9 MB. Specific performance effects see figure 6.
Example 3
In this embodiment, referring to fig. 3, when the WebOS smart television is started: obtaining a hash value of the URL; if the hash value of the URL is an initialization characteristic character, entering an initialization page; and if the hash value of the URL is not the initialized characteristic character, entering a menu page.
Exemplarily, after the remote controller power key is pressed to start, when a user starts a system for the first time, a browser home page is opened, and url addresses are: html # pageId is wizard, wherein the value of the pageId is the name of the boot page, and the pageId obtained according to the url analysis rule enters the boot page; if not powered on for the first time, the value of pageId and not wizard will go directly to TVMenu application. And after the relevant configuration setting of the boot page is finished, calling a TV interface to notify the background to store the state of finishing initialization, and then switching to TVMenu. The TVMenu application comprises contents of various signal state interactions, current channel information, a television channel list and the like of a television, the UI interaction states of the contents can be locally managed and stored in a memory, and the memory is released when the application is destroyed. If the user does not start up and does not wait for the initialization to complete the shutdown operation, the system is still in the first startup state.
If the mobile terminal is started for the first time, and the pageId value is wizard, the mobile terminal enters an initialization page, a user needs to complete initialization configuration according to related prompt information of the initialization page, and the initialization configuration comprises related operations of filling in a wifi account name, a wifi account password and the like and accessing to a network.
Example 4
In this embodiment, referring to fig. 4, after the WebOS is started, a preset number of websockets for the browser to perform duplex communication with the server are established for the application page to call.
Exemplarily, after the WebOS is started, three websockets are created by using a WebSocket instance defined and packaged, which are respectively WebSocket a, WebSocket b, and WebSocket c, and after the creation, the three websockets can be used for data communication of the Web application. When a user uses the Web application A, according to the related definition of the communication between the application layer and the bottom layer, if the communication modes which can be used by the application are only WebSocketA and WebSocketB, the related data transmission can be realized only by directly calling the WebSocket which is already created. When the user switches to Web application B and Web application C, the manner of use is similar to Web application a.
The WebSocket is changed from an original single instance into multiple instances, and functions of creating, communicating, switching and the like of multiple WebSocket connections can be realized. The WebSocket has a plurality of underlying layers for conveniently processing the logic corresponding to each channel, in the upper application of the WebOS, if the WebSocket is created until the WebSocket needs to be used, the problem is delayed, the WebSocket can be solved by completing the creation once in the starting process, and the WebSocket can be globally used after the creation is completed.
Example 5
In this embodiment, referring to fig. 5, a WebOS smart tv hotkey response device 1 is shown including: the system comprises a hot key signal receiving module 100, a hash value searching module 200, a hash value updating module 300, a related parameter acquiring module 400 and an application page switching module 500.
A hot key signal receiving module 100, configured to determine a hot key value according to the received hot key signal; a hash value searching module 200, configured to search, by a browser agent, a hash value corresponding to the hot key value from a configuration file; a hash value updating module 300, configured to update the hash value of the URL according to the corresponding hash value; a relevant parameter obtaining module 400, configured to obtain an updated hash value, and obtain a relevant parameter of a corresponding application page from a configuration file according to the updated hash value; and the application page switching module 500 is configured to switch the operation page of the smart television to a corresponding application page according to the relevant parameter.
In this embodiment, the WebOS smart television hotkey response device 1 is configured to execute the WebOS smart television hotkey response method described in the above embodiment by using the hotkey signal receiving module 100, the hash value searching module 200, the hash value updating module 300, the relevant parameter obtaining module 400, and the application page switching module 500 in a matching manner, and the implementation scheme and the beneficial effect related to the above embodiment are also applicable in this embodiment, and are not described herein again.
The foregoing embodiments relate to a smart television, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the terminal device to execute the WebOS smart television hotkey response method according to the foregoing embodiments.
The above embodiments relate to a readable storage medium storing a computer program that, when executed on a processor, performs the WebOS smart tv hotkey response method of the above embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A hot key response method of a WebOS smart television is characterized by comprising the following steps:
determining a hot key value according to the received hot key signal;
searching a hash value corresponding to the hot key value from a configuration file through a browser agent;
updating the hash value of the URL according to the corresponding hash value;
acquiring an updated hash value, and acquiring related parameters of a corresponding application page from the configuration file according to the updated hash value;
and switching the operation page of the intelligent television to a corresponding application page according to the related parameters.
2. The WebOS smart television hotkey response method of claim 1, wherein the obtaining the updated hash value comprises:
monitoring the hash value of the URL through a first monitoring event;
and when the hash value of the URL is monitored to be updated, acquiring the updated hash value.
3. The WebOS smart television hotkey response method of claim 1, further comprising:
monitoring whether a non-hot key value is updated or not through a second monitoring event under the application page;
and if the non-hot key value is updated, determining a corresponding UI (user interface) and/or moving a positioning focus to a corresponding position according to the updated non-hot key value.
4. The WebOS smart television hotkey response method of claim 1, wherein the configuration file is in a json format, and the related parameters include at least one of application page path information, configuration information of an application page, and related configuration information when a Web third-party application needs to use a Web application.
5. The WebOS smart television hotkey response method of claim 1, wherein when the WebOS smart television is started:
obtaining a hash value of the URL;
if the hash value of the URL is an initialization characteristic character, entering an initialization page;
and if the hash value of the URL is the non-initialized characteristic character, entering a menu page.
6. The WebOS smart television hotkey response method of claim 1, wherein after WebOS startup is completed, a preset number of WebSockets for duplex communication between a browser and a server are established for the application page to call.
7. The WebOS smart television hotkey response method of claim 3, wherein the application page includes a shell page and a preset number of partial pages;
and when the non-hot key value is updated, updating the corresponding local page according to the updated non-hot key value.
8. A WebOS smart tv hotkey response apparatus, the apparatus comprising:
the hot key signal receiving module is used for determining a hot key value according to the received hot key signal;
the hash value searching module is used for searching a hash value corresponding to the hot key value from a configuration file through a browser agent;
the hash value updating module is used for updating the hash value of the URL according to the corresponding hash value;
a relevant parameter obtaining module, configured to obtain an updated hash value, and obtain a relevant parameter of a corresponding application page from the configuration file according to the updated hash value;
and the application page switching module is used for switching the operation page of the intelligent television to the corresponding application page according to the related parameters.
9. A smart television comprising a memory for storing a computer program and a processor for executing the computer program to enable the smart television to perform the WebOS smart television hotkey response method of any one of claims 1 to 7.
10. A readable storage medium storing a computer program which, when executed on a processor, performs the WebOS smart tv hotkey response method of any one of claims 1 to 7.
CN202010650498.1A 2020-07-08 2020-07-08 WebOS smart television hot key response method and device and smart television Active CN111800666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010650498.1A CN111800666B (en) 2020-07-08 2020-07-08 WebOS smart television hot key response method and device and smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010650498.1A CN111800666B (en) 2020-07-08 2020-07-08 WebOS smart television hot key response method and device and smart television

Publications (2)

Publication Number Publication Date
CN111800666A CN111800666A (en) 2020-10-20
CN111800666B true CN111800666B (en) 2022-04-29

Family

ID=72810545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010650498.1A Active CN111800666B (en) 2020-07-08 2020-07-08 WebOS smart television hot key response method and device and smart television

Country Status (1)

Country Link
CN (1) CN111800666B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782905A (en) * 2009-01-20 2010-07-21 国际商业机器公司 Method and device for expanding shortcut key
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN104778282A (en) * 2015-05-07 2015-07-15 烽火通信科技股份有限公司 Browser webpage fault-tolerance method and system for IPTV set top box
CN105867942A (en) * 2016-04-19 2016-08-17 深圳Tcl数字技术有限公司 Key value expanding method and key value expanding system
CN106201562A (en) * 2015-04-30 2016-12-07 深圳市腾讯计算机系统有限公司 A kind of page switching method and device
CN108563470A (en) * 2018-03-06 2018-09-21 北京酷我科技有限公司 The loaded and optimized strategy of web page under a kind of iOS

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012044453A (en) * 2010-08-19 2012-03-01 Canon Inc Network system, method for customizing the same, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782905A (en) * 2009-01-20 2010-07-21 国际商业机器公司 Method and device for expanding shortcut key
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN106201562A (en) * 2015-04-30 2016-12-07 深圳市腾讯计算机系统有限公司 A kind of page switching method and device
CN104778282A (en) * 2015-05-07 2015-07-15 烽火通信科技股份有限公司 Browser webpage fault-tolerance method and system for IPTV set top box
CN105867942A (en) * 2016-04-19 2016-08-17 深圳Tcl数字技术有限公司 Key value expanding method and key value expanding system
CN108563470A (en) * 2018-03-06 2018-09-21 北京酷我科技有限公司 The loaded and optimized strategy of web page under a kind of iOS

Also Published As

Publication number Publication date
CN111800666A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN101432679B (en) Mobile appliance system and method enabling efficient entry
CN104978267B (en) webpage test method, terminal and server
CN105278799B (en) Interface switching method and device
CN104484193A (en) Method and device for rapidly starting application program
US9280266B2 (en) Apparatus and method for displaying information as background of user interface
CN101160507A (en) Mobile phone having a TV remote style user interface
EP3361417A1 (en) Smart card read/write methods and devices
US20190057072A1 (en) Method, device and electronic equipment for switching name of desktop icon folder
KR101919257B1 (en) Application program switch method, apparatus and electronic terminal
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN111142756A (en) Page display method, equipment and computer readable storage medium
EP4318239A1 (en) Methods and apparatuses for calling application program, storage medium, and electronic device
CN103164214A (en) Calling method and system of browser on camera in mobile terminal
CN111246299A (en) Communication terminal and application management method
US11210449B2 (en) Page display method and device and storage medium
CN112969206B (en) Terminal application layer network management method, device, equipment and computer storage medium
CN113849092A (en) Content sharing method and device and electronic equipment
CN111800666B (en) WebOS smart television hot key response method and device and smart television
CN113190143A (en) Interface display method and device, electronic equipment and medium
CN113282268B (en) Sound effect configuration method and device, storage medium and electronic equipment
CN112558833B (en) Application running method and device and electronic equipment
CN114020379A (en) Terminal device, information feedback method and storage medium
KR20140102339A (en) Method and terminal of calling application using mapping information of preferred function
CN102968483B (en) For the state acquiring method of the search engine of navigation page and device and server
CN109558551A (en) Method, apparatus, storage medium and the electronic equipment of previewing file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant