WO2019114262A1 - 加载用户界面的方法、智能电视及计算机可读存储介质 - Google Patents

加载用户界面的方法、智能电视及计算机可读存储介质 Download PDF

Info

Publication number
WO2019114262A1
WO2019114262A1 PCT/CN2018/095030 CN2018095030W WO2019114262A1 WO 2019114262 A1 WO2019114262 A1 WO 2019114262A1 CN 2018095030 W CN2018095030 W CN 2018095030W WO 2019114262 A1 WO2019114262 A1 WO 2019114262A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
interface
display data
current
service component
Prior art date
Application number
PCT/CN2018/095030
Other languages
English (en)
French (fr)
Inventor
李新乐
麻博
Original Assignee
深圳Tcl新技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Publication of WO2019114262A1 publication Critical patent/WO2019114262A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/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/482End-user interface for program selection
    • 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

Definitions

  • the present application relates to the field of smart television technologies, and in particular, to a method for loading a user interface, a smart television, and a computer readable storage medium.
  • the user interface interaction modules such as the launcher and configuration of the TV product are implemented based on the browser and the traditional webpage display method system, that is, using JavaScript and cascading style sheets (Cascading). Style Sheets, CSS), Hyper Text Markup (Hyper Text Markup Language, HTML) code combination to build the interactive page, and then load the interface through the browser to achieve the final display output.
  • JavaScript and cascading style sheets CSS
  • Hyper Text Markup Hyper Text Markup Language
  • HTML Hyper Text Markup Language
  • the interactive system implemented by the browser also has many drawbacks.
  • the server needs to write a corresponding web interface to implement content support, the maintenance difficulty is not flexible, and the modification needs to be implemented across multiple teams.
  • the most critical point is that the performance of TV products is not comparable to that of tablets or mobile phones. It is difficult to balance the user experience and product cost of the products with web pages.
  • React Native combines the advantages of web applications and native applications. You can use the native user interface component of the reactive abstract operating system in JavaScript instead of the document object model (Document Object Model, DOM) elements are rendered to make the end product have a smoother and better interactive experience. At the same time, React Native supports loading resource content in the form of module components, which solves the problem that the web mode dynamically loads the interface and the experience is poor.
  • DOM Document Object Model
  • the main purpose of the present application is to provide a method for loading a user interface, a smart TV, and a computer readable storage medium, aiming at solving the technical problem that the user interface loading is too complicated in the prior art.
  • the present application provides a method for loading a user interface, where the method for loading a user interface includes the following steps:
  • the smart television When acquiring the interface loading instruction, the smart television acquires the current interface frame information and the current service component information stored locally;
  • the preset service component information corresponding to the target identification information is downloaded;
  • the current interface frame information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded to form a user interface.
  • the smart television When acquiring the interface loading instruction, the smart television acquires the current interface frame information and the current service component information stored locally;
  • the preset service component information corresponding to the target identification information is downloaded;
  • the current interface frame information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded to form a user interface.
  • the method before the obtaining the to-be-checked identification information corresponding to the current service component information, and determining whether the to-be-checked identification information is the target identification information, the method further includes:
  • the configuration information of the current initiator is obtained, and the identifier information corresponding to the configuration information is extracted, and the extracted identifier information is used as the target identifier information.
  • the downloading the preset service component information corresponding to the target identifier information, when the identifier information to be verified is not the target identifier information includes:
  • the cloud server When the identifier information to be verified is not the target identifier information, the cloud server is connected, and the preset service component information corresponding to the target identifier information is downloaded by the cloud server.
  • the combining the current interface framework information with the preset service component information into the interface display data, and dynamically loading the interface display data to form a user interface including:
  • the method before the merging the current interface framework information and the preset service component information into the interface display data, and dynamically loading the interface display data to form the user interface, the method further includes:
  • Determining the type of the preset service component information when the type of the preset service component information is the service component information of the preset format, performing the acquiring the locally stored interface content information, and the interface content information, the current The interface framework information and the preset business component information are merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • the method before the merging the current interface framework information and the preset service component information into the interface display data, and dynamically loading the interface display data to form the user interface, the method further includes:
  • Determining the type of the preset service component information when the type of the preset service component information is the customized service component information, acquiring the customized interface content information, and the customized interface content information, the current framework information, and the customized service component information.
  • the data is merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • the method before the merging the current interface framework information and the preset service component information into the interface display data, and dynamically loading the interface display data to form the user interface, the method further includes:
  • the combining the current interface frame information and the preset service component information into the interface display data, and dynamically loading the interface display data to form a user interface including:
  • the current interface framework information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded by the update manner to form a user interface.
  • the method further includes:
  • the interface display data is marked with a version identifier, and the version identifier is reported to the server, so that the server updates the current version information according to the received version identifier.
  • the present application further provides a smart television, including: a memory, a processor, and a smart TV loading user interface program stored on the memory and operable on the processor,
  • the smart television loading user interface program is configured to implement the steps of the method of loading a user interface as described above.
  • the smart TV acquires the current interface frame information and the current service component information stored locally when acquiring the interface loading instruction; and obtains the to-be-verified identification information corresponding to the current service component information, and determines Whether the to-be-checked identification information is the target identification information; when the to-be-identified identification information is not the target identification information, downloading the preset service component information corresponding to the target identification information;
  • the preset business component information is merged into an interface display data, and the interface display data is dynamically loaded to form a user interface.
  • the application loads the user interface modularly and dynamically, thereby achieving a fast loading user interface and simple maintenance.
  • FIG. 1 is a schematic structural diagram of a smart TV in a hardware operating environment according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for loading a user interface according to the present application
  • FIG. 3 is a schematic structural diagram of an interactive interface of a smart TV according to the present application.
  • FIG. 4 is a schematic flowchart of a second embodiment of a method for loading a user interface according to the present application
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for loading a user interface according to the present application.
  • FIG. 6 is a schematic flowchart of a fourth embodiment of a method for loading a user interface according to the present application.
  • FIG. 7 is a schematic flowchart of a fifth embodiment of a method for loading a user interface according to the present application.
  • FIG. 9 is a schematic flowchart diagram of a sixth embodiment of a method for loading a user interface according to the present application.
  • FIG. 1 is a schematic structural diagram of a smart TV in a hardware operating environment according to an embodiment of the present application.
  • the smart television can include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • FIG. 1 does not constitute a limitation to a smart television, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • a network communication module may be included in the memory 1005 as a computer storage medium.
  • a user interface module may be included in the memory 1005 as a computer storage medium.
  • a smart TV loading user interface program may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to a server and perform data communication with the server;
  • the user interface 1003 is mainly used to connect the user terminal and perform data communication with the terminal;
  • the smart TV of the present application is called by the processor 1001.
  • the smart TV stored in the memory 1005 loads the user interface program and performs the following operations:
  • the preset service component information corresponding to the target identification information is downloaded;
  • the current interface frame information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded to form a user interface.
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • the configuration information of the current initiator is obtained, and the identifier information corresponding to the configuration information is extracted, and the extracted identifier information is used as the target identifier information.
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • the cloud server When the identifier information to be verified is not the target identifier information, the cloud server is connected, and the preset service component information corresponding to the target identifier information is downloaded by the cloud server.
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • Determining the type of the preset service component information when the type of the preset service component information is the service component information of the preset format, performing the acquiring the locally stored interface content information, and the interface content information, the current The interface framework information and the preset business component information are merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • Determining the type of the preset service component information when the type of the preset service component information is the customized service component information, acquiring the customized interface content information, and the customized interface content information, the current framework information, and the customized service component information.
  • the data is merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the smart TV loading user interface program stored in the memory 1005, and also perform the following operations:
  • the interface display data is marked with a version identifier, and the version identifier is reported to the server, so that the server updates the current version information according to the received version identifier.
  • the smart TV obtains the current interface frame information and the current service component information stored locally when acquiring the interface loading instruction, and obtains the to-be-checked identification information corresponding to the current service component information, and determines the to-be-checked Verifying that the identifier information is the target identifier information; when the identifier information to be verified is not the target identifier information, downloading the preset service component information corresponding to the target identifier information; and the current interface framework information and the preset service
  • the component information is merged into an interface to display data, and the interface display data is dynamically loaded to form a user interface.
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for loading a user interface according to the present application.
  • the method of loading a user interface includes the following steps:
  • Step S10 The smart TV acquires the current interface frame information and the current service component information stored locally when the interface loading instruction is obtained;
  • the smart TV after the smart TV is turned on, the smart TV first performs related startup through a local built-in initiator, and the interface loading instruction may refer to that the smart TV is switched from the background to the foreground when the startup is started.
  • the request After the network status changes, the request may be initiated to pull up the latest configuration information, and the interface loading instruction is obtained when the latest configuration information is pulled according to the current configuration information.
  • the related page is loaded by the browser, including the loading of the basic framework to load the basic content, and the current content is implemented by loading the basic content on the basis of the basic framework. Show data.
  • the dynamic component loading layer and the content focus control layer are performed on the basis of the background layer, and the second dynamic loading layer is continuously loaded on the basis of the content requirement, thereby forming Smart TV interface display.
  • Step S20 Obtain the to-be-checked identification information corresponding to the current service component information, and determine whether the to-be-checked identification information is target identification information.
  • the tag information may be tag information in the component information attribute, for example, the token or the ID may be used as the tag information, and may be other types of tag information, which is not limited in this embodiment.
  • the information can be the latest version of the identification information.
  • the latest version of the component information may be pre-stored for the server, and the component information is marked with the configuration identifier, and the latest configuration identifier is sent to the smart TV. After the smart TV receives the latest configuration identifier information, When the latest configuration information needs to be pulled, the current configuration information is obtained, and the current identification information is compared with the identification information sent by the server to check whether it is consistent with the latest identification information.
  • step S30 when the to-be-identified identification information is not the target identification information, the preset service component information corresponding to the target identification information is downloaded;
  • the identifier information to be verified is the identifier information configured by the current component.
  • the identifier information of the current component configuration is not the target identifier information, that is, when the current component configuration is not the latest configuration component, the latest one is downloaded.
  • the preset service component information is the latest configuration component information.
  • the current service component information may be dynamic configuration information, where the dynamic configuration information is content information based on dynamic services, and file integration is generally started in user interface generation.
  • the basic business module is merged on the basis of loading the basic framework file, the basic content resource is formed by loading the basic framework file and the basic business module, and the basic content resource is synthesized with the dynamic business module to generate a final user interface display.
  • the smart TV terminal can initiate a request to pull up the latest configuration information, and determine whether to download the latest dynamic according to the configuration information.
  • the configuration information is obtained by the current dynamic configuration information, and the current dynamic configuration information is not included in the current service component information.
  • the preset service component information is yes, the latest dynamic configuration information is downloaded.
  • the to-be-checked identifier may be that after the smart television receives the dynamic configuration information, the smart configuration information may be marked with a verification identifier, where the to-be-checked identifier and the dynamic configuration information are one by one. Corresponding relationship may be found in the identifier information to be verified whether the current dynamic configuration information is the latest dynamic configuration information.
  • the content update module in the smart TV reads the current initiator configuration information, and determines whether the process is terminated based on whether the token in the configuration is compared with the local value, and if not, in the configuration.
  • Module_URL initiates a request, saves the dynamic configuration information, saves it locally, and saves the token in the configuration to the local.
  • the current version information is marked with the corresponding version, and when the current version information is V1.0, the current latest dynamic configuration information is V1.2, indicating that the current version information does not contain the latest version.
  • Dynamic configuration information downloads the latest dynamic configuration information when the current business component information does not contain the latest dynamic configuration information, that is, downloads the dynamic configuration information of V1.2.
  • Step S40 the current interface frame information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded to form a user interface.
  • the basic content resource is loaded when the smart TV starts (Base Resource, BR)
  • the smart TV initiates the request to pull the latest configuration information, and determines whether it needs to download a new one or more dynamic interactive service modules according to the configuration information (Dynamic Module, DM), the content update module of the smart TV is compared with the local resource configuration information, and if there is no such new content or module, the download is requested.
  • Basic Resource BR
  • DM Dynamic Module
  • the smart TV obtains the dynamic service module
  • the dynamic service module and the basic content resource file are merged into the target presentation resource file package (Target Resource Package, TRP).
  • TRP target presentation resource file package
  • the system rendering module renders resource file package initialization based on this target and uses React
  • the user interface (UI) of the smart TV is created in the runtime environment provided by Native.
  • the smart TV obtains the current interface frame information and the current service component information stored locally when acquiring the interface loading instruction, and obtains the to-be-checked identification information corresponding to the current service component information, and determines the to-be-checked Verifying that the identifier information is the target identifier information; when the identifier information to be verified is not the target identifier information, downloading the preset service component information corresponding to the target identifier information; and the current interface framework information and the preset service
  • the component information is merged into an interface to display data, and the interface display data is dynamically loaded to form a user interface.
  • the method further includes:
  • step S201 the configuration information of the current initiator is obtained, and the identifier information corresponding to the configuration information is extracted, and the extracted identifier information is used as the target identifier information.
  • the smart TV may mark the currently obtained dynamic configuration file with a verification identifier, and perform verification on the dynamic configuration file by using the verification identifier, thereby ensuring that each Dynamic configuration files can be tracked and managed, making it easy for smart TVs to process current dynamic profiles.
  • each dynamic configuration information after downloading the dynamic configuration information, each dynamic configuration information may be marked with a token, and after the dynamic configuration information is downloaded, the obtained dynamic configuration information may be saved locally, and the dynamic The token corresponding to the configuration information is also saved locally. That is, multiple dynamic configuration information is pre-stored locally, and multiple tokens are correspondingly stored for corresponding storage.
  • the smart TV obtains the current service component information, and the current service component information is marked with the configuration identifier, and the configuration identifier is used as the identifier to be verified, thereby ensuring that each dynamic configuration file can be tracked. Management, easy to handle the current dynamic profile of the smart TV.
  • the step S30 includes:
  • step S301 when the to-be-checked identification information is not the target identification information, the cloud server is connected, and the preset service component information corresponding to the target identification information is downloaded by the cloud server.
  • the dynamic configuration information of the related version is downloaded through the cloud server according to the connection to the cloud server.
  • the running state meets the preset condition, And extracting the current service component information in the configuration information, acquiring the to-be-checked identifier corresponding to the current service component information, and extracting the target identifier corresponding to the preset service component information, and performing the to-be-verified identifier and the target identifier. And comparing, when the identifier to be verified is inconsistent with the target identifier, connecting to the cloud server, and downloading the preset service component information by using the cloud server.
  • the smart TV when the running state meets the preset condition, the current service component information in the configuration information is extracted, the to-be-checked identifier corresponding to the current service component information is obtained, and the preset service component is extracted.
  • the target identifier corresponding to the information, the identifier to be verified is compared with the target identifier, and when the identifier to be verified is inconsistent with the target identifier, the cloud server is connected, and the preset service component information is downloaded by the cloud server. Therefore, the smart TV can be pulled and used according to the configuration, thereby saving the memory resources of the smart TV.
  • a fourth embodiment of the method for loading a user interface according to the present application is proposed based on the first embodiment, the second embodiment, and the third embodiment.
  • the method is performed based on the first embodiment.
  • the step S40 includes:
  • step S401 the locally stored interface content information is obtained, and the interface content information, the current interface frame information, and the preset service component information are merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface. .
  • step S401 includes:
  • step S402 the type of the preset service component information is determined.
  • step S401 is performed.
  • the service component information of the preset format may be a regular update mode, and the regular update refers to updating according to a standard content module pushed by the server.
  • the file composition module loads the basic content resource with the new business module 1, merges and generates the final TRP file, and updates the interface through the update module.
  • step S401 includes:
  • Step S403 determining the type of the preset service component information, and when the type of the preset service component information is the customized service component information, acquiring the customized interface content information, and the customized interface content information, the current framework information, and the customization
  • the business component information is merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • the customized service component information is a customized update mode
  • the customized update refers to automatically updating the content with the user on the basis of the content template pushed by the server.
  • the message is synchronously pushed to the mobile application (Application, APP) bound to the user account, and the user customizes the content on the mobile APP to complete the customization and synchronization.
  • the customized information is sent to the television end, and the initial customizable dynamic service module a is replaced, and the customizable dynamic service module A is generated.
  • the file synthesizing module loads the basic content resource and the customizable business module A, merges and generates the final TRP file, and completes the interface update through the update module.
  • the file merge is started, and the locally loaded load base framework file is merged with the basic service module to generate the basic content resource, and the non-customized content is obtained.
  • the dynamic configuration information is synthesized to generate a target configuration file, and the customizable dynamic configuration information is obtained, and when the customized push initiated by the smart TV is obtained, the input customized content is obtained, and the customized content is synchronized to the smart TV. And generate a customizable dynamic profile and generate target configuration information from the underlying content resources and customizable dynamic configuration information.
  • the solution provided by the embodiment can realize the configuration of the user interface by modularizing the synthesis of the non-customizable dynamic configuration information and the customized dynamic configuration information to achieve personalized configuration requirements.
  • a fifth embodiment of the method for loading a user interface according to the present application is proposed based on the first embodiment, the second embodiment, and the third embodiment.
  • the method is performed based on the first embodiment.
  • the description before the step S40 includes:
  • Step S404 Acquire a current update parameter, and determine a corresponding update mode according to the current update parameter.
  • step S40 includes:
  • step S405 the current interface frame information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded by the update mode to form a user interface.
  • the update policy indicates the urgency of the dynamic configuration file to be downloaded, in an embodiment, through Update
  • the strategy parameter indicates the urgency.
  • Update strategy 1: Download when the network is idle, restart the app after the next time. When enabled, indicates the download mode in case the operation requirements are not urgent;
  • Update Strategy 2: Download when the network is idle. After downloading, the application is enabled when it is switched back to the foreground from the background, indicating that the download mode is normal under the operational requirements;
  • Update Strategy 3: Download whether the network is idle or not. After downloading, the application is enabled when it is switched back to the foreground from the background, indicating the download mode when the operation requires the secondary mode.
  • Update strategy 4: Download whether the network is idle or not, and enable it immediately after downloading, indicating the download mode in case of emergency in operation;
  • the solution provided in this embodiment obtains a current update level, determines an update mode corresponding to the update level according to the update level, updates the current configuration information by using the update mode, and loads the user interface by using the updated configuration information. In order to obtain the update mode according to the emergency state, the normal operation of the system is ensured.
  • a sixth embodiment of the method for loading a user interface according to the present application is proposed based on the first embodiment, the second embodiment, and the third embodiment.
  • the method is performed based on the first embodiment.
  • the method further includes:
  • step S406 the interface display data is marked with a version identifier, and the version identifier is reported to the server, so that the server updates the current version information according to the received version identifier.
  • the smart TV identifies the version identifier of the updated configuration information, and performs tracking management on the configuration information according to the version identifier.
  • the embodiment of the present application further provides a computer readable storage medium, where the smart TV loading user interface program is stored, and when the smart TV loading user interface program is executed by the processor, the following operations are implemented:
  • the preset service component information corresponding to the target identification information is downloaded;
  • the current interface frame information and the preset service component information are merged into interface display data, and the interface display data is dynamically loaded to form a user interface.
  • the configuration information of the current initiator is obtained, and the identifier information corresponding to the configuration information is extracted, and the extracted identifier information is used as the target identifier information.
  • the cloud server When the identifier information to be verified is not the target identifier information, the cloud server is connected, and the preset service component information corresponding to the target identifier information is downloaded by the cloud server.
  • Determining the type of the preset service component information when the type of the preset service component information is the service component information of the preset format, performing the acquiring the locally stored interface content information, and the interface content information, the current The interface framework information and the preset business component information are merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • Determining the type of the preset service component information when the type of the preset service component information is the customized service component information, acquiring the customized interface content information, and the customized interface content information, the current framework information, and the customized service component information.
  • the data is merged into the target interface display data, and the target interface display data is dynamically loaded to form a user interface.
  • the smart TV obtains the current interface frame information and the current service component information stored locally when acquiring the interface loading instruction, and obtains the to-be-checked identification information corresponding to the current service component information, and determines the to-be-checked Verifying that the identifier information is the target identifier information; when the identifier information to be verified is not the target identifier information, downloading the preset service component information corresponding to the target identifier information; and the current interface framework information and the preset service
  • the component information is merged into an interface to display data, and the interface display data is dynamically loaded to form a user interface.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种加载用户界面的方法、智能电视及计算机可读存储介质,所述方法包括:智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。

Description

加载用户界面的方法、智能电视及计算机可读存储介质
技术领域
本申请涉及智能电视技术领域,尤其涉及一种加载用户界面的方法、智能电视及及计算机可读存储介质。
背景技术
目前,出于对运营维护的需要,电视产品的启动器、配置等用户界面交互模块都基于浏览器以及传统的网页显示方法系统实现,即使用JavaScript、层叠样式表(Cascading Style Sheets,CSS)、超文本标记语言(Hyper Text Markup Language,HTML)的代码组合来构建交互页面,然后通过浏览器加载界面,实现最终的显示输出。
但是,采用浏览器方式实现的交互系统也存在着诸多弊端,例如,需要服务端编写对应的web界面来实现内容支持,维护困难不灵活,修改需要跨多个团队来实现等问题。此外,最关键的一点是目前电视产品性能还不能与平板电脑或者移动端的产品相比,采用网页难以兼顾产品的用户体验与产品成本。
Facebook在React.js Conf 2015大会上推出了基于JavaScript的开源框架React Native。React Native结合了网页(web)应用和原生方法(native)应用的优势,可以在JavaScript中用react抽象操作系统原生的用户界面组件,代替文档对象模型(Document Object Model,DOM)元素来渲染,可以使终端产品具有更加流畅、优秀的交互使用体验。同时,React Native支持以模块组件的形式加载资源内容,解决了web模式动态加载界面困难、体验差的问题。
发明内容
本申请的主要目的在于提出一种加载用户界面的方法、智能电视及及计算机可读存储介质,旨在解决现有技术中用户界面加载过于复杂的技术问题。
为实现上述目的,本申请提供一种加载用户界面的方法,所述加载用户界面的方法包括以下步骤:
智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
可选地,所述获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息之前,所述方法还包括:
获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
可选地,所述在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息,包括:
在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
可选地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
可选地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为预设格式的业务组件信息时,执行所述获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面的步骤。
可选地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为定制业务组件信息时,获取定制界面内容信息,将所述定制界面内容信息、当前框架信息以及定制业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
可选地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
获取当前更新参数,根据所述当前更新参数确定对应的更新方式;
相应地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并通过所述更新方式动态加载所述界面展示数据,以形成用户界面。
可选地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之后,所述方法还包括:
对所述界面展示数据标上版本标识,并将所述版本标识上报至服务器,以使所述服务器根据接收的版本标识对当前版本信息进行更新。
此外,为实现上述目的,本申请还提出一种智能电视,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的智能电视加载用户界面程序,所述智能电视加载用户界面程序配置为实现如上文所述的加载用户界面的方法的步骤。
本申请提出的加载用户界面的方法,智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。本申请通过模块化和动态化加载用户界面,从而实现快速加载用户界面以及维护简单的目的。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的智能电视结构示意图;
图2为本申请加载用户界面的方法第一实施例的流程示意图;
图3为本申请智能电视的交互界面结构示意图;
图4为本申请加载用户界面的方法第二实施例的流程示意图;
图5为本申请加载用户界面的方法第三实施例的流程示意图;
图6为本申请加载用户界面的方法第四实施例的流程示意图;
图7为本申请加载用户界面的方法第五实施例的流程示意图;
图8为本申请TRP合成的流程示意图;
图9为本申请加载用户界面的方法第六实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,图1为本申请实施例方案涉及的硬件运行环境的智能电视结构示意图。
如图1所示,该智能电视可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的智能电视结构并不构成对智能电视的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及智能电视加载用户界面程序。
在图1所示的智能电视中,网络接口1004主要用于连接服务器,与服务器进行数据通信;用户接口1003主要用于连接用户终端,与终端进行数据通信;本申请智能电视通过处理器1001调用存储器1005中存储的智能电视加载用户界面程序,并执行以下操作:
在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为预设格式的业务组件信息时,执行所述获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面的步骤。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为定制业务组件信息时,获取定制界面内容信息,将所述定制界面内容信息、当前框架信息以及定制业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
获取当前更新参数,根据所述当前更新参数确定对应的更新方式。
进一步地,处理器1001可以调用存储器1005中存储的智能电视加载用户界面程序,还执行以下操作:
对所述界面展示数据标上版本标识,并将所述版本标识上报至服务器,以使所述服务器根据接收的版本标识对当前版本信息进行更新。
本实施例通过上述方案,智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。本实施例通过模块化和动态化加载用户界面,从而实现快速加载用户界面以及维护简单的目的。
基于上述硬件结构,提出本申请加载用户界面的方法实施例。
参照图2,图2为本申请加载用户界面的方法第一实施例的流程示意图。
在第一实施例中,所述加载用户界面的方法包括以下步骤:
步骤S10,智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
需要说明的是,在智能电视开机后,智能电视首先通过本地中内置的启动器进行相关的启动,所述界面加载指令可指智能电视在启动时,在启动器的应用程序从后台切换到前台以及在网络状态发生变化后,可发起请求拉起最新的配置信息,根据当前的配置信息拉起最新的配置信息时为获取到界面加载指令。
可以理解的是,一般情况下,智能电视启动之后,通过浏览器进行相关页面的加载,其中包括基础框架的加载以基础内容的加载,通过在基础框架的基础上加载基础内容从而实现当前页面的展示数据。
如图3中智能电视的交互界面结构示意图,首先在背景层的基础上进行以及动态组件加载层以及内容焦点控制层,并根据内容的需求在此基础上继续加载二级动态加载层,从而形成智能电视的界面展示。
步骤S20,获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
需要说明的是,所述标记信息可为组件信息属性中标记信息,例如令牌或者ID等可作为标记信息,还可为其他形式的标记信息,本实施例对此不作限制,所述目标标识信息可为最新版本的标识信息。
在具体实现中,可为服务器端预存有最新版本的组件信息,并对所述组件信息标上配置标识,并将最新的配置标识发送到智能电视,智能电视接收到最新的配置标识信息之后,在需要拉取最新的配置信息时,获取当前的配置信息的标识信息,将当前的标识信息与服务器发送的标识信息进行比较,查看与最新的标识信息是否一致。
可以理解的是,还可为在智能电视的启动器的应用程序从后台转换到前端,以及当前的网络状态发生变化后,可对需要相关的组件在预设存储区域进行查找,在查找不到时,拉取获取最新配置信息的指令,并查找当前的配置标识中是否含有最新的配置标识。
步骤S30,在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
在具体实现中,所述待校验标识信息为当前组件配置的标识信息,在当前组件配置的标识信息不为目标标识信息时,即当前的组件配置不为最新的配置组件时,下载最新的配置组件。所述预设业务组件信息为最新的配置组件信息。
需要说明的是,在本实施中,为了实现动态加载组件,所述当前业务组件信息可为动态配置信息,所述动态配置信息为基于动态业务的内容信息,在用户界面生成中一般启动文件合并,在加载基础框架文件的基础上合并基础业务模块,通过加载基础框架文件与基础业务模块形成基础内容资源,并将所述基础内容资源与动态业务模块进行合成生成最终的用户界面的展示。
可以理解是,在启动器的应用程序从后台切换到前台以及在网络状态发生变化后,可在所述智能电视终端发起请求拉取最新的配置信息,根据所述配置信息确定是否下载最新的动态配置信息,在判断是否需要下载最新的动态配置信息之前,获取到当前的动态配置信息,在所述当前的动态配置信息中是否含有最新的动态配置信息,在所述当前业务组件信息中未含有预设业务组件信息是时,下载所述最新的动态配置信息。
需要说明的是,所述待校验标识可为智能电视在接收到动态配置信息之后,都可对所述动态配置信息标上校验标识,所述待校验标识与动态配置信息为一一对应的关系,可从待校验标识信息中查找到所述当前的动态配置信息是否为最新的动态配置信息。
在具体实现中,智能电视中的内容更新模块读取到当前启动器配置信息,基于配置中的令牌(token)与本地值比较是否一致确认是否结束流程,如果不一致则以配置中的 Module_URL 发起一个请求,得到动态配置信息后,保存到本地,同时把配置中的token也保存到本地。
在具体实现中,例如对当前配置信息进行相应的版本标注,获取到当前的版本信息为V1.0时,当前最新的动态配置信息为V1.2,则说明当前的版本信息中未含有最新的动态配置信息,则在当前业务组件信息中未含有最新的动态配置信息时,下载最新的动态配置信息,即下载V1.2的动态配置信息。
步骤S40,将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
在本实施例中,首次开机时,在智能电视启动时加载基础内容资源(Base Resource,BR),避免增加额外的启动时间,智能电视发起请求拉取最新的配置信息,根据配置信息确定是否需要下载新的一个或多个动态交互业务模块(Dynamic Module,DM),智能电视的内容更新模块与本地资源配置信息进行对比校验,若无此新内容或模块,则请求下载。
智能电视获取动态业务模块后,将该动态业务模块与基础内容资源文件合并为目标呈现资源文件包(Target Resource Package,TRP)。系统呈现模块根据此目标呈现资源文件包初始化,并使用React Native提供的运行环境中创建智能电视的用户界面(User Interface,UI)。
同时,结合React Native的技术特性,提出了一种呈现客制化交互业务模块的方法与流程,通过移动终端与电视终端的关联管理,实现对动态业务模块的客制化,最大程度发挥动态化逐渐的特色。
本实施例提供的方案,智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。本实施例通过模块化和动态化加载用户界面,从而实现快速加载用户界面以及维护简单的目的。
进一步地,如图4所示,基于第一实施例提出本申请加载用户界面的方法第二实施例,在本实施例中,所述步骤S20之前,所述方法还包括:
步骤S201,获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
需要说明的是,所述智能电视在获取到动态配置文件时,可对当前获取的动态配置文件标上校验标识,通过所述校验标识对动态配置文件进行相应的验证,从而保证对每个动态配置文件可进行跟踪管理,易于智能电视对当前动态配置文件的处理。
在具体实现中,在下载到动态配置信息之后,可对每个动态配置信息标上token,在下载到动态配置信息之后,可将得到的动态配置信息保存在本地之后,也将与所述动态配置信息对应的token也保存到本地,即在本地中预存有多个动态配置信息也对应有多个token进行对应保存。
本实施例提供的方案,智能电视获取当前业务组件信息,将所述当前业务组件信息标上配置标识,并将所述配置标识作为待校验标识,从而保证对每个动态配置文件可进行跟踪管理,易于智能电视对当前动态配置文件的处理。
进一步地,如图5所示,基于第一实施例提出本申请加载用户界面的方法第三实施例,在本实施例中,所述步骤S30,包括:
步骤S301,在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
需要说明的是,在下载最新版本的动态配置信息,可根据连接到云端服务器,通过云端服务器进行相关版本的动态配置信息的下载,在本实施例中,在所述运行状态满足预设条件时,提取所述配置信息中的当前业务组件信息,获取所述当前业务组件信息对应的待校验标识,并提取预设业务组件信息对应的目标标识,将所述待校验标识与目标标识进行比较,在所述待校验标识与目标标识不一致时,连接云端服务器,通过所述云端服务器下载所述预设业务组件信息。
在具体实现中,为实现差异化版本同时并存,以及 AB 测试、灰度发布等运营功能,需要规定每次发布的动态配置文件,都以新文件形式发布,各个版本的文件资源都存储在云端服务器,智能电视根据配置情况按需拉取使用,从而节省所述智能服务器的内存资源。
本实施例提供的方案,在所述运行状态满足预设条件时,提取所述配置信息中的当前业务组件信息,获取所述当前业务组件信息对应的待校验标识,并提取预设业务组件信息对应的目标标识,将所述待校验标识与目标标识进行比较,在所述待校验标识与目标标识不一致时,连接云端服务器,通过所述云端服务器下载所述预设业务组件信息,从而智能电视根据配置情况按需拉取使用,从而节省智能电视的内存资源。
进一步地,如图6所示,基于第一实施例、第二实施例以及第三实施例提出本申请加载用户界面的方法第四实施例,在本实施例中,以基于第一实施例进行说明,所述步骤S40,包括:
步骤S401,获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
进一步地,所述步骤S401,包括:
步骤S402,判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为预设格式的业务组件信息时,执行步骤S401。
在本实施例中,所述预设格式的业务组件信息可为常规更新方式,常规更新是指按照服务端推送的标准内容模块进行更新。文件合成模块加载基础内容资源与新的业务模块1,合并生成最终TRP文件,通过更新模块进行界面更新。
进一步地,所述步骤S401,包括:
步骤S403,判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为定制业务组件信息时,获取定制界面内容信息,将所述定制界面内容信息、当前框架信息以及定制业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
需要说明的是,所述定制业务组件信息为自定义更新方式,所述自定义更新是指在服务端推送的内容模板的基础上结合用户自动以内容进行更新。当有新的可定制化动态业务模块a推送时,该消息会同步推送至与用户账户绑定的手机应用程序(Application,APP),在手机APP上用户进行内容自定义,完成自定义后同步该自定义信息至电视端,替换初始的可定制化动态业务模块a,生成可定制化动态业务模块A。文件合成模块加载基础内容资源与可定制化业务模块A,合并生成最终TRP文件,通过更新模块完成界面更新。
如图7所示的TRP合成的流程示意图,在一般情况下,智能电视启动时启动文件合并,进本地预存的加载基础框架文件与基础业务模块进行合并生成基础内容资源,在获取到不可定制的动态配置信息进行合成生成目标配置文件,在获取可定制动态配置信息,在获取到用户通过智能电视发起的定制化推送时,获取到输入的定制化内容,并将定制化内容同步到智能电视,并生成可定制的动态配置文件,并将基础内容资源与可定制化动态配置信息生成目标配置信息。
本实施例提供的方案,可通过对不可定制的动态配置信息的合成以及定制化的动态配置信息的合成,从而可通过模块化实现对用户界面的配置,达到个性化的配置需求。
进一步地,如图8所示,基于第一实施例、第二实施例以及第三实施例提出本申请加载用户界面的方法第五实施例,在本实施例中,以基于第一实施例进行说明,所述步骤S40之前,包括:
步骤S404,获取当前更新参数,根据所述当前更新参数确定对应的更新方式;
相应地,步骤S40,包括:
步骤S405,将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并通过所述更新方式动态加载所述界面展示数据,以形成用户界面。
每次将动态配置文件成功保存到本地后,都同时在本地保存该值,作为下次拉取到配置时的比较依据,当配置中的 token 与本地的一致,那就无需做后续的下载和更多相关操作。
为了实现对根据当前设备的运行情况提供不同的更新策略,所述更新策略表明待下载动态配置文件的紧急程度,在实施例中,通过Update strategy参数标注紧急程度,具体的可选值如下:
Update strategy=1:网络空闲时下载,下好后重启APP 时启用,表明在运营要求不紧急的情况下的下载方式;
Update strategy=2:网络空闲时下载,下载好后,应用从后台切回前台的时候启用,表明在运营要求常规情况下的下载方式;
Update strategy=3:不论网络是否空闲都下载,下载后,应用从后台切回前台的时候启用,表明在运营要求次常规模式情况下的下载方式;
Update strategy=4: 不论网络是否空闲都下载,下载后,立即启用,表明在运营要求紧急情况下的下载方式;
本实施例提供的方案,获取当前更新等级,根据所述更新等级确定与所述更新等级对应的更新方式,通过所述更新方式更新所述当前配置信息,并通过更新后的配置信息加载用户界面,从而根据紧急状态获取更新方式,保证系统的正常运行。
进一步地,如图9所示,基于第一实施例、第二实施例以及第三实施例提出本申请加载用户界面的方法第六实施例,在本实施例中,以基于第一实施例进行说明,所述步骤S40之后,所述方法还包括:
步骤S406,对所述界面展示数据标上版本标识,并将所述版本标识上报至服务器,以使所述服务器根据接收的版本标识对当前版本信息进行更新。
需要说明的是,为实现诸如错误上报版本跟踪、问题反馈版本跟踪等需求,需在代码中提供版本号和 配置信息,为此,提供一个独立版本模块,针对电视产品实际的众多产品型号的实际情况,提供一个公有的版本模块,在各个实际平台中使用相关的信息,如version.ms628,version.t962等
本实施例提供的方案,智能电视对所述更新后的配置信息标上的版本标识,并根据所述版本标识对所述配置信息进行跟踪管理。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有智能电视加载用户界面程序,所述智能电视加载用户界面程序被处理器执行时实现如下操作:
在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
进一步地,所述智能电视加载用户界面程序被处理器执行时还实现如下操作:
获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
进一步地,所述智能电视加载用户界面程序被处理器执行时还实现如下操作:
在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
进一步地,所述智能电视加载用户界面程序被处理器执行时还实现如下操作:
获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
进一步地,所述智能电视加载用户界面程序被处理器执行时还实现如下操作:
判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为预设格式的业务组件信息时,执行所述获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面的步骤。
进一步地,所述智能电视加载用户界面程序被处理器执行时还实现如下操作:
判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为定制业务组件信息时,获取定制界面内容信息,将所述定制界面内容信息、当前框架信息以及定制业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
进一步地,所述智能电视加载用户界面程序被处理器执行时还实现如下操作:
获取当前更新参数,根据所述当前更新参数确定对应的更新方式。
本实施例通过上述方案,智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。本实施例通过模块化和动态化加载用户界面,从而实现快速加载用户界面以及维护简单的目的。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种加载用户界面的方法,其中,所述加载用户界面的方法包括以下步骤:
    智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
    获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
    在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
    将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
  2. 如权利要求1所述的加载用户界面的方法,其中,所述获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息之前,所述方法还包括:
    获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
  3. 如权利要求1所述的加载用户界面的方法,其中,所述在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息,包括:
    在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
  4. 如权利要求1所述的加载用户界面的方法,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
    获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
  5. 如权利要求4所述的加载用户界面的方法,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
    判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为预设格式的业务组件信息时,执行所述获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面的步骤。
  6. 如权利要求4所述的加载用户界面的方法,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
    判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为定制业务组件信息时,获取定制界面内容信息,将所述定制界面内容信息、当前框架信息以及定制业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
  7. 如权利要求1所述的加载用户界面的方法,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
    获取当前更新参数,根据所述当前更新参数确定对应的更新方式;
    相应地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
    将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并通过所述更新方式动态加载所述界面展示数据,以形成用户界面。
  8. 如权利要求1所述的加载用户界面的方法,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之后,所述方法还包括:
    对所述界面展示数据标上版本标识,并将所述版本标识上报至服务器,以使所述服务器根据接收的版本标识对当前版本信息进行更新。
  9. 一种智能电视,其中,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的智能电视加载用户界面程序,所述智能电视加载用户界面程序配置为实现如下的加载用户界面的方法的步骤:
    智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
    获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
    在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
    将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
  10. 如权利要求9所述的智能电视,其中,所述获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息之前,所述方法还包括:
    获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
  11. 如权利要求9所述的智能电视,其中,所述在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息,包括:
    在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
  12. 如权利要求9所述的智能电视,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
    获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
  13. 如权利要求12所述的智能电视,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
    判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为预设格式的业务组件信息时,执行所述获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面的步骤。
  14. 如权利要求12所述的智能电视,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
    判断所述预设业务组件信息的类型,在所述预设业务组件信息的类型为定制业务组件信息时,获取定制界面内容信息,将所述定制界面内容信息、当前框架信息以及定制业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
  15. 如权利要求9所述的智能电视,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之前,所述方法还包括:
    获取当前更新参数,根据所述当前更新参数确定对应的更新方式;
    相应地,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
    将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并通过所述更新方式动态加载所述界面展示数据,以形成用户界面。
  16. 如权利要求9所述的智能电视,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面之后,所述方法还包括:
    对所述界面展示数据标上版本标识,并将所述版本标识上报至服务器,以使所述服务器根据接收的版本标识对当前版本信息进行更新。
  17. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有智能电视加载用户界面程序,所述智能电视加载用户界面程序被处理器执行时实现如下所述的加载用户界面的方法的步骤:
    智能电视在获取到界面加载指令时,获取本地存储的当前界面框架信息和当前业务组件信息;
    获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息;
    在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息;
    将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面。
  18. 如权利要求17所述的计算机可读存储介质,其中,所述获取所述当前业务组件信息对应的待校验标识信息,判断所述待校验标识信息是否为目标标识信息之前,所述方法还包括:
    获取本地存储的当前启动器的配置信息,提取所述配置信息对应的标识信息,将提取的标识信息作为目标标识信息。
  19. 如权利要求17所述的计算机可读存储介质,其中,所述在所述待校验标识信息不为目标标识信息时,下载所述目标标识信息对应的预设业务组件信息,包括:
    在所述待校验标识信息不为目标标识信息时,连接云端服务器,通过所述云端服务器下载所述目标标识信息对应的预设业务组件信息。
  20. 如权利要求17所述的计算机可读存储介质,其中,所述将所述当前界面框架信息与预设业务组件信息合并成界面展示数据,并动态加载所述界面展示数据,以形成用户界面,包括:
    获取本地存储的界面内容信息,将所述界面内容信息、当前界面框架信息以及预设业务组件信息进行合并成目标界面展示数据,并动态加载所述目标界面展示数据,以形成用户界面。
PCT/CN2018/095030 2017-12-14 2018-07-09 加载用户界面的方法、智能电视及计算机可读存储介质 WO2019114262A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711346162.0A CN108024136A (zh) 2017-12-14 2017-12-14 加载用户界面的方法、智能电视及计算机可读存储介质
CN201711346162.0 2017-12-14

Publications (1)

Publication Number Publication Date
WO2019114262A1 true WO2019114262A1 (zh) 2019-06-20

Family

ID=62073785

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/095030 WO2019114262A1 (zh) 2017-12-14 2018-07-09 加载用户界面的方法、智能电视及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN108024136A (zh)
WO (1) WO2019114262A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024136A (zh) * 2017-12-14 2018-05-11 深圳Tcl新技术有限公司 加载用户界面的方法、智能电视及计算机可读存储介质
CN108762622B (zh) * 2018-06-04 2021-08-13 北京搜狐新动力信息技术有限公司 一种页面的切换显示方法及装置
CN109032722B (zh) * 2018-06-27 2021-09-28 广州视源电子科技股份有限公司 更新ui组件的显示效果的方法、装置及设备、介质
CN111695058A (zh) * 2019-03-13 2020-09-22 阿里巴巴集团控股有限公司 网页加载方法及装置
CN111163163B (zh) * 2019-12-27 2021-12-31 聚好看科技股份有限公司 业务的处理方法及设备
CN111190684B (zh) * 2019-12-31 2024-04-30 深圳Tcl数字技术有限公司 显示终端用户界面替换方法、装置、设备及存储介质
CN111190921B (zh) * 2020-01-02 2022-09-16 安超云软件有限公司 一种超融合多功能序列号处理的方法及系统
CN111552529B (zh) * 2020-04-17 2023-03-14 南阳柯丽尔科技有限公司 Ui适配方法、装置、计算机设备及存储介质
CN111683382B (zh) * 2020-05-20 2023-10-27 新华三技术有限公司 一种配置信息同步方法及装置
CN112181554B (zh) * 2020-09-08 2023-06-20 安徽鸿程光电有限公司 一种交互界面显示方法、设备、电子设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859245A (zh) * 2009-04-09 2010-10-13 北大方正集团有限公司 一种生成用户界面的方法和装置
CN102253850A (zh) * 2011-07-08 2011-11-23 烽火通信科技股份有限公司 Iptv机顶盒增量式软件升级方法
CN102932441A (zh) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 一种下载应用的方法、终端、服务器及系统
CN103353845A (zh) * 2013-06-28 2013-10-16 贵阳朗玛信息技术股份有限公司 脚本加载、推送方法及装置
CN104598237A (zh) * 2015-01-19 2015-05-06 青岛海信宽带多媒体技术有限公司 一种在升级模式下生成用户界面的方法和装置
CN106412015A (zh) * 2016-08-31 2017-02-15 广州品唯软件有限公司 一种数据发布方法、设备及系统
CN108024136A (zh) * 2017-12-14 2018-05-11 深圳Tcl新技术有限公司 加载用户界面的方法、智能电视及计算机可读存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406846B (zh) * 2015-08-03 2020-02-07 腾讯科技(深圳)有限公司 显示界面的创建方法及装置
CN106686200B (zh) * 2015-11-09 2020-01-31 五八同城信息技术有限公司 移动应用程序更新方法、移动终端及更新系统
CN106951284B (zh) * 2017-03-14 2020-09-11 深圳创维-Rgb电子有限公司 基于安卓系统应用的用户界面升级方法、装置及智能终端
CN107404669B (zh) * 2017-08-11 2021-02-05 深圳Tcl新技术有限公司 电视系统界面显示方法、设备及计算机可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859245A (zh) * 2009-04-09 2010-10-13 北大方正集团有限公司 一种生成用户界面的方法和装置
CN102253850A (zh) * 2011-07-08 2011-11-23 烽火通信科技股份有限公司 Iptv机顶盒增量式软件升级方法
CN102932441A (zh) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 一种下载应用的方法、终端、服务器及系统
CN103353845A (zh) * 2013-06-28 2013-10-16 贵阳朗玛信息技术股份有限公司 脚本加载、推送方法及装置
CN104598237A (zh) * 2015-01-19 2015-05-06 青岛海信宽带多媒体技术有限公司 一种在升级模式下生成用户界面的方法和装置
CN106412015A (zh) * 2016-08-31 2017-02-15 广州品唯软件有限公司 一种数据发布方法、设备及系统
CN108024136A (zh) * 2017-12-14 2018-05-11 深圳Tcl新技术有限公司 加载用户界面的方法、智能电视及计算机可读存储介质

Also Published As

Publication number Publication date
CN108024136A (zh) 2018-05-11

Similar Documents

Publication Publication Date Title
WO2019114262A1 (zh) 加载用户界面的方法、智能电视及计算机可读存储介质
WO2018120429A1 (zh) 一种资源更新的方法、终端、计算机可读存储介质及资源更新设备
WO2019019374A1 (zh) 智能语音设备控制家电的方法、装置及系统
WO2019019378A1 (zh) 业务处理方法、装置、适配器及计算机可读存储介质
WO2018006489A1 (zh) 终端的语音交互方法及装置
WO2017084302A1 (zh) 显示终端开机播放视频的方法及显示终端
WO2019061612A1 (zh) 贷款产品推广方法、装置及计算机可读存储介质
WO2018120457A1 (zh) 数据处理方法、装置、设备及计算机可读存储介质
WO2017054592A1 (zh) 一种界面显示的方法及终端
WO2017143692A1 (zh) 智能电视及其语音控制方法
WO2018149190A1 (zh) 组件调试方法、装置、设备和计算机可读存储介质
WO2015035777A1 (zh) 一种移动终端的软件升级方法和系统
WO2019000801A1 (zh) 数据同步方法、装置、设备及计算机可读存储介质
WO2018233221A1 (zh) 多窗口声音输出方法、电视机以及计算机可读存储介质
WO2018227887A1 (zh) 视频广告投放、生成方法、装置、服务器及可读存储介质
WO2019100531A1 (zh) 数字签名生成、验证方法及其设备和存储介质
WO2018223607A1 (zh) 电视终端及hdr图像转为sdr的方法和计算机可读存储介质
WO2019080247A1 (zh) 产生保单批文的方法、装置、设备及计算机可读存储介质
WO2018233367A1 (zh) 立案方法、装置、终端和计算机可读存储介质
WO2019024219A1 (zh) 文档自动生成方法、装置、文档自动生成器及介质
WO2017206377A1 (zh) 同步播放节目的方法和装置
WO2018188196A1 (zh) 一种数据版本控制方法、数据版本控制器、设备及计算机可读存储介质
WO2019041851A1 (zh) 家电售后咨询方法、电子设备和计算机可读存储介质
WO2019000800A1 (zh) 制证方法、装置、设备及计算机可读存储介质
WO2018188342A1 (zh) 脚本文件生成方法、装置、设备和计算机可读存储介质

Legal Events

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

Ref document number: 18887823

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18887823

Country of ref document: EP

Kind code of ref document: A1