CN113596542A - Display method and device of application icons of smart television and smart television - Google Patents
Display method and device of application icons of smart television and smart television Download PDFInfo
- Publication number
- CN113596542A CN113596542A CN202110910121.XA CN202110910121A CN113596542A CN 113596542 A CN113596542 A CN 113596542A CN 202110910121 A CN202110910121 A CN 202110910121A CN 113596542 A CN113596542 A CN 113596542A
- Authority
- CN
- China
- Prior art keywords
- target application
- icon
- target
- application
- home page
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000001960 triggered effect Effects 0.000 claims abstract description 10
- 238000004590 computer program Methods 0.000 claims description 12
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000004891 communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000009191 jumping Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 235000002568 Capsicum frutescens Nutrition 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/4221—Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4888—Data services, e.g. news ticker for displaying teletext characters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8173—End-user applications, e.g. Web browser, game
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking 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)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to a display method and device of an application icon of an intelligent television and the intelligent television, wherein the method comprises the following steps: after detecting that the Home key of the intelligent television is triggered, acquiring a target file containing parameter information of a target application from a Portal operator, wherein the parameter information of the target application comprises: a URL corresponding to an icon of the target application; replacing the URL corresponding to the icon of the target application with a preset local path; and adding the parameter information of the target application contained in the target file into a code file of the Home page so as to display the icon of the target application in the Home page. Through the method and the device, the problem that the operation of an APP which a user of the intelligent television in the related technology wants to use is complex is solved, and the Home page of the intelligent television can display some APPs in the Portal so that the user can directly select to enter without entering the Portal first.
Description
Technical Field
The invention relates to the technical field of smart televisions, in particular to a display method and device of smart television application icons, a smart television, computer equipment and a computer readable storage medium.
Background
And after the intelligent television is started, the content of the broadcast or the cable television is played by default. If a user wants to watch a program on the Internet, the user firstly presses a Home key on a remote controller, and at the moment, the television displays a page with a plurality of APPs; next, the user needs to select an application called xxx Portal (entry site), where xxx is a short hand of Portal operators, and Netrange and Foxxm are common; after entering the xxx Portal application, the user selects the APP of the program to be watched finally, such as sonyiliv, Chili Tv, etc. Since there are many APPs in Portal, page-flip lookups in Portal pages are also typically required. For the frequently used APP, this multi-level jump method is cumbersome. The user's operation of entering the APP that he wants to use is cumbersome and needs to make two selections (first selecting the Portal application, second selecting the APP that he wants at the end).
At present, no effective solution is provided for the problem that the operation of an APP which a smart television user wants to use is complicated in the related art.
Disclosure of Invention
The application aims to provide a display method and device of an application icon of a smart television, the smart television, a computer device and a computer readable storage medium for overcoming the defects in the prior art, so as to solve the problem that the operation of entering an APP to be used by a smart television user in the related art is complicated.
In order to achieve the purpose, the technical scheme adopted by the application is as follows:
in a first aspect, an embodiment of the present application provides a method for displaying an application icon of a smart television, including:
after detecting that a Home key of the intelligent television is triggered, acquiring a target file containing parameter information of a target application from a Portal operator, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application;
replacing the URL corresponding to the icon of the target application with a preset local path;
and adding the parameter information of the target application contained in the target file into a code file of a Home page so as to display the icon of the target application in the Home page.
In some embodiments, after the icon of the target application is displayed in the Home page, the method further comprises:
after the target application is detected to be started, sending the URL of the target application included in the parameter information of the target application to a browser in the smart television;
the browser displays a homepage of the target application.
In some embodiments, after displaying the home page of the target application or after displaying the home page of the portal site of the smart television, the method further includes:
the browser judges whether the icon of the target application needs to be updated or not;
and updating the icon of the target application in an IO thread when the icon of the target application is judged to need updating.
In some embodiments, the browser determining whether the icon of the target application needs to be updated includes:
acquiring a current country code from an intelligent television driver;
splicing out a URL by using the country code, and acquiring a target file containing parameter information of a target application from the Portal operator again;
acquiring version information of the target application from the newly acquired target file;
and determining that the icon of the target application needs to be updated under the condition that a country code does not exist in a local storage, the country code acquired from the local storage is inconsistent with the country code acquired from the intelligent television driver, or the version indicated by the version information of the target application acquired from the newly acquired target file is newer than the version indicated by the version information of the target application acquired from the local storage.
In some embodiments, when it is determined that the icon of the target application needs to be updated, updating the icon of the target application in the IO thread includes:
acquiring an icon of the target application from the newly acquired target file;
storing the icon of the target application acquired from the newly acquired target file, the version information of the target application acquired from the newly acquired target file, and the country code acquired from the smart television driver in a local storage.
In a second aspect, an embodiment of the present application provides a display apparatus for smart tv application icons, including:
the acquisition unit is used for acquiring a target file containing parameter information of a target application from a Portal operator after detecting that a Home key of the smart television is triggered, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application;
the replacing unit is used for replacing the URL corresponding to the icon of the target application with a preset local path;
and the adding unit is used for adding the parameter information of the target application contained in the target file into a code file of a Home page so as to display the icon of the target application in the Home page.
In some of these embodiments, the apparatus further comprises:
the sending unit is used for sending the URL of the target application included in the parameter information of the target application to a browser in the smart television after the icon of the target application is displayed in the Home page and the target application is detected to be started;
and the display unit is used for displaying the homepage of the target application by the browser.
In a third aspect, an embodiment of the present application provides a smart television, where the smart television is configured to execute the method for displaying an application icon of the smart television according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements the method for displaying the smart television application icon according to the first aspect.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for displaying smart tv application icons as described in the first aspect above.
By adopting the technical scheme, compared with the prior art, the method for displaying the application icon of the smart television provided by the embodiment of the application acquires the target file containing the parameter information of the target application from a Portal operator after the Home key of the smart television is detected to be triggered, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application; replacing the URL corresponding to the icon of the target application with a preset local path; the parameter information of the target application contained in the target file is added into the code file of the Home page, so that the icon of the target application is displayed in the Home page, the problem that the operation of an intelligent television user who wants to use the APP is complicated in the related technology is solved, and the fact that the Home page of the intelligent television can display some APPs in the Portal for the user to directly select to enter without entering the Portal first is achieved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present application;
fig. 2 is a flowchart of a display method of an intelligent television application icon according to an embodiment of the present application;
fig. 3 is a schematic diagram of the execution flow of the smart tv according to the preferred embodiment of the present invention;
FIG. 4 is a diagram illustrating the logic for determining an update to an application icon in accordance with a preferred embodiment of the present invention;
fig. 5 is a block diagram of a display device for smart tv application icons according to an embodiment of the present application;
fig. 6 is a hardware structure diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The embodiment provides a mobile terminal. Fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 1, the mobile terminal includes: a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each constituent element of the mobile terminal in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuits include, but are not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile terminal by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the mobile terminal. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although the touch panel 131 and the display panel 141 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the mobile terminal.
The mobile terminal may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the mobile terminal, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile terminal, further description is omitted here.
A speaker 161 and a microphone 162 in the audio circuit 160 may provide an audio interface between the user and the mobile terminal. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then transmits the audio data to, for example, another mobile terminal via the RF circuit 110, or outputs the audio data to the memory 120 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential components of the mobile terminal, and it can be omitted or replaced with other short-range wireless transmission modules, such as Zigbee module or WAPI module, etc., as required within the scope not changing the essence of the invention.
The processor 180 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile terminal. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system that may be configured to manage charging, discharging, and power consumption.
Although not shown, the mobile terminal may further include a camera, a bluetooth module, and the like, which will not be described herein.
In this embodiment, the processor 180 is configured to: after detecting that a Home key of the intelligent television is triggered, acquiring a target file containing parameter information of a target application from a Portal operator, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application; replacing the URL corresponding to the icon of the target application with a preset local path; and adding the parameter information of the target application contained in the target file into a code file of a Home page so as to display the icon of the target application in the Home page.
In some of these embodiments, the processor 180 is further configured to: after the icon of the target application is displayed in the Home page, sending the URL of the target application included in the parameter information of the target application to a browser in the smart television after the target application is detected to be started; the browser displays a homepage of the target application.
In some of these embodiments, the processor 180 is further configured to: after the home page of the target application is displayed or after the home page of the entry website of the smart television is displayed, the browser judges whether the icon of the target application needs to be updated or not; and updating the icon of the target application in an IO thread when the icon of the target application is judged to need updating.
In some of these embodiments, the processor 180 is further configured to: acquiring a current country code from an intelligent television driver; splicing out a URL by using the country code, and acquiring a target file containing parameter information of a target application from the Portal operator again; acquiring version information of the target application from the newly acquired target file; and determining that the icon of the target application needs to be updated under the condition that a country code does not exist in a local storage, the country code acquired from the local storage is inconsistent with the country code acquired from the intelligent television driver, or the version indicated by the version information of the target application acquired from the newly acquired target file is newer than the version indicated by the version information of the target application acquired from the local storage.
In some of these embodiments, the processor 180 is further configured to: acquiring an icon of the target application from the newly acquired target file; storing the icon of the target application acquired from the newly acquired target file, the version information of the target application acquired from the newly acquired target file, and the country code acquired from the smart television driver in a local storage.
The embodiment provides a display method of an application icon of a smart television. Fig. 2 is a flowchart of a display method of an application icon of a smart television according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S201, after detecting that the Home key of the smart television is triggered, obtaining a target file containing parameter information of a target application from a Portal operator, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application;
step S202, replacing the URL corresponding to the icon of the target application with a preset local path;
step S203, add the parameter information of the target application contained in the target file to a code file of a Home page, so that an icon of the target application is displayed in the Home page.
Through the steps, after detecting that the Home key of the intelligent television is triggered, acquiring a target file containing parameter information of a target application from a Portal operator, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application; replacing the URL corresponding to the icon of the target application with a preset local path; the parameter information of the target application contained in the target file is added into the code file of the Home page, so that the icon of the target application is displayed in the Home page, the problem that the operation of an intelligent television user who wants to use the APP is complicated in the related technology is solved, and the fact that the Home page of the intelligent television can display some APPs in the Portal for the user to directly select to enter without entering the Portal first is achieved.
In some embodiments, after the icon of the target application is displayed in the Home page, the method further comprises:
after the target application is detected to be started, sending the URL of the target application included in the parameter information of the target application to a browser in the smart television;
the browser displays a homepage of the target application.
In some embodiments, after displaying the home page of the target application or after displaying the home page of the portal site of the smart television, the method further includes:
the browser judges whether the icon of the target application needs to be updated or not;
and updating the icon of the target application in an IO thread when the icon of the target application is judged to need updating.
In some embodiments, the browser determining whether the icon of the target application needs to be updated includes:
acquiring a current country code from an intelligent television driver;
splicing out a URL by using the country code, and acquiring a target file containing parameter information of a target application from the Portal operator again;
acquiring version information of the target application from the newly acquired target file;
and determining that the icon of the target application needs to be updated under the condition that a country code does not exist in a local storage, the country code acquired from the local storage is inconsistent with the country code acquired from the intelligent television driver, or the version indicated by the version information of the target application acquired from the newly acquired target file is newer than the version indicated by the version information of the target application acquired from the local storage.
In some embodiments, when it is determined that the icon of the target application needs to be updated, updating the icon of the target application in the IO thread includes:
acquiring an icon of the target application from the newly acquired target file;
storing the icon of the target application acquired from the newly acquired target file, the version information of the target application acquired from the newly acquired target file, and the country code acquired from the smart television driver in a local storage.
It should be noted that:
the Portal operator provides a network resource, which is a js file (i.e. the above target file), and describes the parameter information of the target application LocalKing APP in the current network of the smart television, as follows:
when a television manufacturer displays a Home page, the television manufacturer initiates an HTTP GET request, acquires the js file from the URL corresponding to the js file, replaces the imgURL of the LocalKingObjs variable in the js file with a local path (such as/data/logging/icon 1.png), and inserts the content of the LocalKingObjs variable into the local implementation of the Home page. Thus, the APP defined in LocalKingObjs can be displayed when the Home page is displayed. When a user clicks the LocalKing APP, the Home page is responsible for sending the URL of the APP carried in the LocalKingObjs to the Browser.
The reason why the television manufacturer replaces imgURL in the LocalKingObjs variable with the local path is two, one is that the display time of the Home page is high in requirement, and a URL request is not allowed to be initiated again to obtain the icon of the APP; and secondly, other parts of the Home page realization are generally icons of the APP obtained from the local, and the icon operation of the LocalKing APP needs to be aligned with the original code.
The icon of the LocalKing APP is prefabricated locally by a television manufacturer, so that the situation that the appearance of a page is influenced because the LocalKing APP is not provided with the icon for displaying when a user enters the Home page for the first time is avoided.
The Browser provider is responsible for updating the icon of the LocalKing APP. The update timing is when xxx Portal or any LocalKing APP is entered. After opening the xxx Portal or the home page of the LocalKing APP, the Browser initiates a GET request to the URL of the mentioned js file, and then whether the country code or the version number of the js file stored locally changes or not, and if so, initiates the update operation of the LocalKing APP icon.
When the Browser updates the LocalKing APP icon, the Browser needs to be in an IO thread instead of a UI thread, otherwise, the smooth operation of the interface is influenced. The icon update operations of multiple APPs are in parallel.
Fig. 3 is a schematic diagram of an execution flow of the smart television according to the preferred embodiment of the present invention, as shown in fig. 3, specifically including:
step S301, a user presses a Home key of a television remote controller;
step S302, request js file from Portal operator according to manufacturer;
step S303, replacing the URL of the LocalKing APP in the returned js file as a local path, and inserting the local path into the Home page of the user;
step S304, the television manufacturer delivers the Home page to the Browser for display;
step S305, selecting a LocalKing APP in the Home page by the user;
step S306, the television manufacturer sends the URL of the LocalKing APP to the Browser;
step S307, the Browser displays the homepage of the LocalKing APP;
step S308, the Browser starts to check whether the icon of the LocalKing APP needs to be updated or not;
step S309, when the updating is judged to be needed, updating icon of the LocalKing APP.
As shown in fig. 4, step S308 specifically includes the following steps:
step S401, the Browser acquires the country code of the television from the television driver;
step S402, the Browser uses the country code to splice the URL, and acquires a js file containing LocalKing APP information from a Portal operator;
step S403, acquiring version of LocalKing APP from js file;
step S404, judging whether the stored country code can be acquired from the local storage; if the request is not obtained (i.e. icon is updated for the first time), jumping to step S408 for execution; if the data is acquired, jumping to the step S405;
step S405, comparing the country code obtained from the local storage with the country code obtained in step S401, and judging whether the country code is changed; if not, go to step S406 to execute; if yes, jumping to step S408 to execute;
step S406, acquiring the version of the saved LocalKing APP from the local storage;
step S407, determining whether the version is updated, that is, whether the version acquired in step S403 is newer than the version acquired in step S406, if so, jumping to step S408; if not, the flow ends.
Step S408, obtaining icon of LocalKing APP in js file by HTTP GET;
step S409, storing the obtained icon into a local file system;
and step S410, storing the country code and the version into a local file system, and ending the process.
Through the embodiment of the application, a television user can directly enter a LocalKing APP customized by a Portal operator from a Home page, and the operation is simplified.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment provides a display device for an application icon of a smart television, which is used for implementing the above embodiments and preferred embodiments, and the description of the device is omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a display device for smart tv application icons according to an embodiment of the present application, and as shown in fig. 5, the device includes:
the obtaining unit 51 is configured to obtain, after detecting that the Home key of the smart television is triggered, a target file including parameter information of a target application from a Portal operator, where the parameter information of the target application includes: a URL corresponding to the icon of the target application;
a replacing unit 52, configured to replace the URL corresponding to the icon of the target application with a preset local path;
an adding unit 53, configured to add the parameter information of the target application included in the target file to a code file of a Home page, so that an icon of the target application is displayed in the Home page.
In some of these embodiments, the apparatus further comprises:
the sending unit is used for sending the URL of the target application included in the parameter information of the target application to a browser in the smart television after the icon of the target application is displayed in the Home page and the target application is detected to be started;
and the display unit is used for displaying the homepage of the target application by the browser.
In some of these embodiments, the apparatus further comprises:
the judging unit is used for judging whether the icon of the target application needs to be updated or not by the browser after the home page of the target application is displayed or after the home page of the entry website of the smart television is displayed;
and the updating unit is used for updating the icon of the target application in the IO thread when the icon of the target application is judged to need to be updated.
In some embodiments, the determining unit includes:
the first acquisition module is used for acquiring the current country code from the intelligent television driving program;
the second acquisition module is used for splicing the URL by using the country code and acquiring the target file containing the parameter information of the target application from the Portal operator again;
the third acquisition module is used for acquiring the version information of the target application from the newly acquired target file;
and the determining module is used for determining that the icon of the target application needs to be updated under the condition that a country code does not exist in the local storage, the country code acquired from the local storage is inconsistent with the country code acquired from the intelligent television driver, or the version indicated by the version information of the target application acquired from the newly acquired target file is newer than the version indicated by the version information of the target application acquired from the local storage.
In some of these embodiments, the update unit includes:
a fourth obtaining module, configured to obtain an icon of the target application from the newly obtained target file;
and the storage module is used for storing the icon of the target application acquired from the newly acquired target file, the version information of the target application acquired from the newly acquired target file and the country code acquired from the intelligent television driver in a local storage.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The embodiment of the application further provides the smart television, and the smart television is used for executing the display method of the smart television application icon.
The embodiment of the application also provides computer equipment. The method for displaying the smart television application icon in combination with the embodiment of the application can be realized by computer equipment. Fig. 6 is a hardware structure diagram of a computer device according to an embodiment of the present application.
The computer device may comprise a processor 61 and a memory 62 in which computer program instructions are stored.
Specifically, the processor 61 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present APPlication.
The memory 62 may be used to store or cache various data files that need to be processed and/or used for communication, as well as possible computer program instructions executed by the processor 61.
The processor 61 reads and executes the computer program instructions stored in the memory 62 to implement the display method of the smart tv application icon in any one of the above embodiments.
In some of these embodiments, the computer device may also include a communication interface 63 and a bus 60. As shown in fig. 6, the processor 61, the memory 62, and the communication interface 63 are connected via a bus 60 to complete mutual communication.
The communication interface 63 is used for implementing communication between modules, devices, units and/or apparatuses in the embodiments of the present application. The communication interface 63 may also enable communication with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
In addition, with the display method of the smart television application icon in the foregoing embodiment, the embodiment of the present application may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by the processor, implement the method for displaying the smart television application icon in any of the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A display method of an application icon of an intelligent television is characterized by comprising the following steps:
after detecting that a Home key of the intelligent television is triggered, acquiring a target file containing parameter information of a target application from a Portal operator, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application;
replacing the URL corresponding to the icon of the target application with a preset local path;
and adding the parameter information of the target application contained in the target file into a code file of a Home page so as to display the icon of the target application in the Home page.
2. The method of claim 1, wherein after the icon for the target application is displayed in the Home page, the method further comprises:
after the target application is detected to be started, sending the URL of the target application included in the parameter information of the target application to a browser in the smart television;
the browser displays a homepage of the target application.
3. The method according to claim 2, wherein after displaying the home page of the target application or after displaying the home page of the portal site of the smart television, the method further comprises:
the browser judges whether the icon of the target application needs to be updated or not;
and updating the icon of the target application in an IO thread when the icon of the target application is judged to need updating.
4. The method of claim 3, wherein the browser determining whether the icon of the target application needs to be updated comprises:
acquiring a current country code from an intelligent television driver;
splicing out a URL by using the country code, and acquiring a target file containing parameter information of a target application from the Portal operator again;
acquiring version information of the target application from the newly acquired target file;
and determining that the icon of the target application needs to be updated under the condition that a country code does not exist in a local storage, the country code acquired from the local storage is inconsistent with the country code acquired from the intelligent television driver, or the version indicated by the version information of the target application acquired from the newly acquired target file is newer than the version indicated by the version information of the target application acquired from the local storage.
5. The method of claim 4, wherein updating the icon of the target application in an IO thread when it is determined that the icon of the target application needs to be updated comprises:
acquiring an icon of the target application from the newly acquired target file;
storing the icon of the target application acquired from the newly acquired target file, the version information of the target application acquired from the newly acquired target file, and the country code acquired from the smart television driver in a local storage.
6. A display device of an application icon of a smart television is characterized by comprising:
the acquisition unit is used for acquiring a target file containing parameter information of a target application from a Portal operator after detecting that a Home key of the smart television is triggered, wherein the parameter information of the target application comprises: a URL corresponding to the icon of the target application;
the replacing unit is used for replacing the URL corresponding to the icon of the target application with a preset local path;
and the adding unit is used for adding the parameter information of the target application contained in the target file into a code file of a Home page so as to display the icon of the target application in the Home page.
7. The apparatus of claim 6, further comprising:
the sending unit is used for sending the URL of the target application included in the parameter information of the target application to a browser in the smart television after the icon of the target application is displayed in the Home page and the target application is detected to be started;
and the display unit is used for displaying the homepage of the target application by the browser.
8. An intelligent television, wherein the intelligent television is configured to execute the method for displaying the intelligent television application icon according to any one of claims 1 to 5.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of displaying a smart tv application icon according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method for displaying smart tv application icons according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110910121.XA CN113596542B (en) | 2021-08-09 | 2021-08-09 | Display method and device of application icons of intelligent television and intelligent television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110910121.XA CN113596542B (en) | 2021-08-09 | 2021-08-09 | Display method and device of application icons of intelligent television and intelligent television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113596542A true CN113596542A (en) | 2021-11-02 |
CN113596542B CN113596542B (en) | 2024-03-15 |
Family
ID=78256523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110910121.XA Active CN113596542B (en) | 2021-08-09 | 2021-08-09 | Display method and device of application icons of intelligent television and intelligent television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113596542B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217369A1 (en) * | 2002-05-17 | 2003-11-20 | Heredia Edwin Arturo | Flexible application information formulation |
CN101211349A (en) * | 2006-12-28 | 2008-07-02 | 深圳市同洲电子股份有限公司 | System for generating digital television startup page and its method |
CN106020901A (en) * | 2016-05-30 | 2016-10-12 | 青岛海信电器股份有限公司 | Application entry configuration method and terminal |
CN106407025A (en) * | 2016-09-14 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Data calling system, method and device |
WO2018098880A1 (en) * | 2016-11-30 | 2018-06-07 | 深圳Tcl数字技术有限公司 | Method and device for downloading website information |
CN108900916A (en) * | 2018-08-15 | 2018-11-27 | 深圳Tcl新技术有限公司 | Television set and its information source configuration method, device, readable storage medium storing program for executing |
-
2021
- 2021-08-09 CN CN202110910121.XA patent/CN113596542B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217369A1 (en) * | 2002-05-17 | 2003-11-20 | Heredia Edwin Arturo | Flexible application information formulation |
CN101211349A (en) * | 2006-12-28 | 2008-07-02 | 深圳市同洲电子股份有限公司 | System for generating digital television startup page and its method |
CN106020901A (en) * | 2016-05-30 | 2016-10-12 | 青岛海信电器股份有限公司 | Application entry configuration method and terminal |
CN106407025A (en) * | 2016-09-14 | 2017-02-15 | 腾讯科技(深圳)有限公司 | Data calling system, method and device |
WO2018098880A1 (en) * | 2016-11-30 | 2018-06-07 | 深圳Tcl数字技术有限公司 | Method and device for downloading website information |
CN108900916A (en) * | 2018-08-15 | 2018-11-27 | 深圳Tcl新技术有限公司 | Television set and its information source configuration method, device, readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN113596542B (en) | 2024-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110139139B (en) | Service processing method, terminal, server and storage medium | |
CN104866505B (en) | Application recommendation method and device | |
CN109040182B (en) | Service access method and device, electronic equipment and storage medium | |
CN104598262A (en) | Method and device for updating mobile application | |
CN106775828B (en) | Application program installation method and device and computer equipment | |
CN108834132B (en) | Data transmission method and equipment and related medium product | |
CN113064635A (en) | Page display method and device of smart television | |
CN107229618B (en) | Method and device for displaying page | |
CN106131930A (en) | A kind of WiFi network connection control method, device and terminal | |
CN109101327B (en) | Switching of light application and mobile terminal | |
CN106210919A (en) | A kind of main broadcaster of broadcasting sings the methods, devices and systems of video | |
CN106095423B (en) | Method, terminal and server for providing browsing service | |
CN106708390B (en) | Screen capturing method, device and system | |
JP5945078B2 (en) | Application installation method, application installation apparatus, facility, program, and recording medium | |
CN107104930A (en) | It is a kind of that the methods, devices and systems for checking authority are set | |
CN114999604A (en) | Visit report generation method and device for clinical research project | |
CN106020945B (en) | Shortcut item adding method and device | |
CN107465646B (en) | A kind of application method for down loading, system and relevant device | |
WO2019041277A1 (en) | Method for recommending search word, and related device | |
CN113115101B (en) | LED display screen, distributed information display system and control method | |
CN108881969B (en) | Method and device for drawing bullet screen and mobile terminal | |
CN111966373A (en) | APN resetting method, terminal equipment and storage medium | |
CN104866288A (en) | Method, device and terminal for accessing application program | |
CN110891262A (en) | Bluetooth pairing method, system and terminal equipment | |
CN113596542B (en) | Display method and device of application icons of intelligent television and intelligent television |
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 |