CN107404669B - Television system interface display method, equipment and computer readable storage medium - Google Patents

Television system interface display method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN107404669B
CN107404669B CN201710689730.0A CN201710689730A CN107404669B CN 107404669 B CN107404669 B CN 107404669B CN 201710689730 A CN201710689730 A CN 201710689730A CN 107404669 B CN107404669 B CN 107404669B
Authority
CN
China
Prior art keywords
configuration
television system
configuration file
file
matched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710689730.0A
Other languages
Chinese (zh)
Other versions
CN107404669A (en
Inventor
包林玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201710689730.0A priority Critical patent/CN107404669B/en
Publication of CN107404669A publication Critical patent/CN107404669A/en
Application granted granted Critical
Publication of CN107404669B publication Critical patent/CN107404669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a television system interface display method, which comprises the following steps: reading preset keywords and a configuration file of current television configuration before displaying a television system interface, wherein the configuration file has a plurality of versions; analyzing each configuration file to obtain a plurality of configuration items; using the preset keywords as search keywords to search whether configuration parameters matched with the preset keywords exist in the configuration items; and if the configuration parameters matched with the preset keywords exist, displaying the interface of the television system based on the configuration parameters. The invention also discloses a television system interface display device and a computer readable storage medium. The invention can support the configuration parameters of different versions without further adjustment of integration personnel, thereby reducing the workload of the integration personnel, reducing the maintenance cost and the labor cost of a company and improving the service performance of products.

Description

Television system interface display method, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of televisions, in particular to a television system interface display method, equipment and a computer readable storage medium.
Background
With the continuous development of television technology and the continuous improvement of living standard, the television chip is continuously updated in an iterative manner, so that more and more different television configurations appear in the market to realize different application functions, thereby providing better living experience for users.
At present, due to the fact that the configuration of the television is modified or upgraded every time, the corresponding configuration items need to be loaded by the smart television, configuration redundancy is easily caused, operation is slow, an integration worker needs to adjust the loaded configuration items, and maintenance cost and labor cost of a company are increased. Meanwhile, the loaded configuration items may not support some original application functions, such as the original interface display supporting the bluetooth function, and the loaded configuration items do not support the bluetooth function, which is not beneficial to ensuring the use performance of the product and influencing the use time and use effect of the product.
Disclosure of Invention
The invention mainly aims to provide a television system interface display method, equipment and a computer readable storage medium, aiming at solving the technical problem of how to support configuration parameters of different versions.
In order to achieve the above object, the present invention provides a method for displaying an interface of a television system, which comprises the following steps:
reading preset keywords and a configuration file of current television configuration before displaying a television system interface, wherein the configuration file has a plurality of versions;
analyzing each configuration file to obtain a plurality of configuration items;
using the preset keywords as search keywords to search whether configuration parameters matched with the preset keywords exist in the configuration items;
and if the configuration parameters matched with the preset keywords exist, displaying the interface of the television system based on the configuration parameters.
Preferably, the searching whether the configuration item has the configuration parameter matched with the preset keyword includes:
searching whether configuration parameters matched with the preset keywords exist in configuration items in the same version;
and if not, searching whether the configuration item in the next version has the configuration parameters matched with the preset keywords or not based on the version sequence, wherein the version sequence is determined by the version number in the version information of each configuration file.
Preferably, the configuration files comprise at least an application configuration file and a hardware configuration file; the searching whether the configuration item has the configuration parameter matched with the preset keyword comprises:
searching whether a configuration parameter matched with the preset keyword exists in a configuration item obtained by analyzing the application configuration file;
when the configuration parameters do not exist in the configuration items obtained by analyzing the application configuration file, searching whether the configuration parameters matched with the preset keywords exist in the configuration items obtained by analyzing the hardware configuration file;
and returning a default value when the configuration parameters do not exist in the configuration items obtained by analyzing the hardware configuration file.
Preferably, the configuration file further comprises a zone configuration file; the searching whether the configuration item has the configuration parameter matched with the preset keyword comprises:
searching whether a configuration parameter matched with the preset keyword exists in a configuration item obtained by analyzing the regional configuration file;
and when the configuration parameters do not exist in the configuration items obtained by analyzing the regional configuration file, searching whether the configuration parameters matched with the preset keywords exist in the configuration items obtained by analyzing the application configuration file.
Preferably, the parsing manner of the configuration file at least includes: any one of character type data analysis, character set type data analysis, Bundle type data analysis, and Bundle set type data analysis.
Preferably, if there is a configuration parameter matching the preset keyword, displaying an interface of a television system based on the configuration parameter includes:
if a plurality of configuration parameters matched with the preset keywords exist, acquiring version information of configuration files corresponding to the plurality of configuration parameters respectively;
and setting the configuration parameters of the configuration files with the latest update time in the version information as default configuration parameters displayed on the interface of the television system.
In addition, to achieve the above object, the present invention further provides a television system interface display device, including:
a memory storing a television system interface display program;
a processor configured to execute a television system interface display program to perform the following operations:
reading preset keywords and a configuration file of current television configuration before displaying a television system interface, wherein the configuration file has a plurality of versions;
analyzing each configuration file to obtain a plurality of configuration items;
using the preset keywords as search keywords to search whether configuration parameters matched with the preset keywords exist in the configuration items;
and if the configuration parameters matched with the preset keywords exist, displaying the interface of the television system based on the configuration parameters.
Preferably, the operation of searching whether a configuration parameter matching the preset keyword exists in the configuration item includes:
searching whether configuration parameters matched with the preset keywords exist in configuration items in the same version;
and if not, searching whether the configuration item in the next version has the configuration parameters matched with the preset keywords or not based on the version sequence, wherein the version sequence is determined by the version number in the version information of each configuration file.
Preferably, the configuration files comprise at least an application configuration file and a hardware configuration file; the operation of searching whether the configuration item has the configuration parameter matched with the preset keyword comprises the following steps:
searching whether a configuration parameter matched with the preset keyword exists in a configuration item obtained by analyzing the application configuration file;
when the configuration parameters do not exist in the configuration items obtained by analyzing the application configuration file, searching whether the configuration parameters matched with the preset keywords exist in the configuration items obtained by analyzing the hardware configuration file;
and returning a default value when the configuration parameters do not exist in the configuration items obtained by analyzing the hardware configuration file.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a television system interface display program stored thereon, where the television system interface display program, when executed by a processor, implements the steps of the television system interface display method according to any one of the above items.
Before the interface of the television system is displayed, the preset keywords and the configuration files of the current television configuration are read, and then the configuration files of all versions are analyzed to obtain configuration items of a plurality of versions. And determining the currently required configuration parameters by searching whether the configuration parameters matched with the preset keywords exist in the configuration items, and displaying the interface of the television system. In other words, in the configuration items of different versions, through searching by preset keywords, the configuration item of one version has no matched configuration parameter, and the configuration item of the other version has a configuration parameter matched with the configuration item, so that the configuration parameters of different versions are supported, the application functions of different versions are realized, the compatibility is better, the maintenance cost and the labor cost of a company are reduced, and the use performance of the product is further improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for displaying an interface of a television system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a detailed process of searching configuration parameters matched with keywords in the method for displaying an interface of a television system according to a preferred embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed process of searching configuration parameters matched with keywords in the method for displaying an interface of a television system according to another preferred embodiment of the present invention;
fig. 4 is a detailed flowchart of a television system interface display method according to a preferred embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a television system interface display method.
Referring to fig. 1, fig. 1 is a flowchart illustrating a television system interface display method according to an embodiment of the present invention.
In this embodiment, the method for displaying the interface of the television system includes:
step S10, before displaying the interface of the television system, reading preset keywords and a configuration file of the current television configuration, where the configuration file has multiple versions.
In this embodiment, there are multiple television chip manufacturers, and the design schemes of each company are different, which causes differences in the implementation of some application functions, such as some supporting bluetooth functions and some not supporting bluetooth functions. The storage paths of the configuration items, which are usually set by each television chip manufacturer or the same manufacturer at different time periods, are different. The television chip generally comprises a processor and a video coding and decoding part, wherein the processor is responsible for the operation of application programs and the like. The video coding and decoding part takes an image processing engine as a main part and is matched with an algorithm which accords with the broadcast signal standard to finish the video coding and decoding work. Meanwhile, the smart television is a fully-open platform, carries an operating system, can automatically install and uninstall various application software while enjoying common television content, can continuously expand and upgrade new television products, enriches the functions of interface display of the smart television, and is not limited by the factory setting of a television chip.
In this embodiment, before the interface of the television system is displayed, the smart television needs to load configuration parameters and activate and use an application function. The tv configuration is typically dot pitch, resolution, scanning frequency, refresh rate, sound effect, bluetooth, etc. The preset keywords are preset and can be used for searching, and can be words or numbers, and the preset keywords can be one or more words or phrases with meaning, such as simplified Chinese, English, DTS sound effect, soft light, voice search, infrared remote control, sound effect surrounding and the like.
In this embodiment, the configuration file is a set of settings and files of a desired environment to be loaded before the smart television performs system interface display, and stores all data of television-related configurations, such as program items, screen colors, network connections, printer connections, and sizes and positions of windows. The configuration file makes certain rules according to the requirements of each platform, namely configuration items are set. Each platform stores data related to television configuration in a system configuration directory, and meanwhile, for convenience of viewing and management, some platforms integrate the data into a plurality of subdirectory files under the system configuration directory for classified storage of different types of data. Each platform has its own template, so that when reading, the entire configuration-related parent directory is read instead of reading at a designated storage location.
Step S20, parsing each configuration file to obtain a plurality of configuration items.
In this embodiment, since the configuration file stores all data of the configuration related to the television, the configuration file is analyzed, that is, the stored data is calculated, converted, split, and the like through the computing power of the system itself, so as to obtain the configuration item. Configuration items are computer terms, i.e., work products that fall within the scope of configuration management, which are the relevant configurations for maintaining systems and items. Configuration items such as various configuration parameters of software, hardware, etc., change request links, application systems, protocols, etc. Meanwhile, the detailed information of the configuration elements is also recorded, and the relationship among the elements can be recorded: parent configuration items, child configuration items, associated configuration items and the like.
Step S30, using the preset keyword as a search keyword, and searching whether a configuration parameter matching the preset keyword exists in the configuration item.
In this embodiment, the preset keyword is related to the television configuration, and may be used to further search and find a field containing a keyword related to the preset keyword. For example, the preset keyword is "languagelist, CN", and the matched configuration parameters are "languagelist": zh _ CN, zh _ TW, en _ GB ". Specifically, in the configuration files of different versions, configuration items obtained by parsing may have configuration parameters related to the preset keyword, and also may have fields of "languaglist, US" set, so that the related configuration parameters cannot be found, that is, the configuration parameters of "languaglist, CN" cannot be found.
And step S40, if the configuration parameters matched with the preset keywords exist, displaying the interface of the television system based on the configuration parameters.
In this embodiment, the current configuration is based on the configuration parameters matched with the preset keywords, and the system interface is displayed, that is, the matched configuration parameters can be correspondingly displayed in the system interface when being found. The smart television system interface can be compatible with configuration files provided by different platforms, namely, a new version of configuration items can be run, and an old version of configuration items can also be run. Specifically, whether a plurality of configuration items of each version have configuration parameters matched with the configuration items is searched based on preset keywords of the current television configuration, and then the display of a television system interface is carried out based on the configuration parameters. For example, if the preset keyword for reading the current television configuration is Bluetooth, "the configuration parameter that is found in each configuration item and is matched with the configuration item may be" com. Further, since there are many configuration items, if the preset keyword is too simple, a plurality of configuration parameters matching the keyword may be obtained, for example, the preset keyword is only "Bluetooth", and it is possible to obtain the configuration parameters for unloading the Bluetooth field, but it is the television configuration for loading the Bluetooth function, so that the keyword needs to be further defined when setting, for example, whether the application function is Bluetooth on or Bluetooth off, such as "Bluetooth settings" or "com.
In this embodiment, before the interface of the television system is displayed, the preset keywords and the configuration file of the current television configuration are read, and then the configuration files of the versions are analyzed to obtain configuration items of multiple versions. And determining the currently required configuration parameters by searching whether the configuration parameters matched with the preset keywords exist in the configuration items, and displaying the interface of the television system. In other words, in the configuration items of different versions, through searching by preset keywords, the configuration item of one version has no matched configuration parameter, and the configuration item of the other version has a configuration parameter matched with the configuration item, so that the configuration parameters of different versions are supported, the application functions of different versions are realized, the compatibility is better, the maintenance cost and the labor cost of a company are reduced, and the use performance of the product is further improved.
Further, in another embodiment of the interface display method for a television system according to the present invention, the versions of the configuration files established by each platform are different, and the versions of the configuration files established by the same platform at different times are also different, such as an upgraded version, an overseas version, and the like. The configuration files of different versions have corresponding version information, such as identity ID, update time, version number, etc. Specifically, whether the versions are new and old versions of the same project or versions designed by different manufacturers can be identified according to the ID. Further, when the same platform upgrades the configuration items of the same project at different periods, some functions of the configuration items may also be replaced, so that the configuration items of different versions are obtained by analyzing the configuration files of different versions.
Because there are configuration items of multiple versions, if the configuration items are searched simultaneously, more memories or calculation capabilities may be consumed, so that the system operation speed is slow, and the phenomena of blocking and the like occur, so that the configuration items of different versions can be searched in sequence based on the version numbers. Specifically, if all the existing versions are searched, the search operation is ended. Generally, the latest version may be to improve the hidden trouble existing in the old version, or to repair some existing failures, or to add new configuration items to implement new application functions, so that the latest version can obtain better usage effects than the old version, and therefore, when searching, it is preferable to search the configuration items parsed by the configuration file of the latest version. Such as V1 version, V2 version, V3 version, usually V3 version is the latest version, followed by V2 version, thus finding V3 version first, followed by V2 version, and finally V1 version last. Meanwhile, because the version name can be set at will, the configuration items of different versions can be searched in sequence based on the updating time of the version, and the specific searching sequence among the versions can be set according to actual needs. Specifically, the versions are searched one by one, so that not only can the overload of system operation be avoided, but also the condition that the searching is disordered among the versions can be avoided, and further the overall operation time is effectively shortened.
Referring to fig. 2, fig. 2 is a detailed flow diagram of a preferred embodiment of searching for configuration parameters matching keywords in the television system interface display method of the present invention.
In order to facilitate understanding of the configuration parameters matched with the preset keywords in the interface display method of the television system, the configuration files are exemplified by versions V1, V2 and V3. The step of performing the step S30 to find whether there is a configuration item parameter matching the preset keyword in each configuration item can be detailed as step S31 to step S33, and after the step S33 is completed, if there is no configuration parameter matching the preset keyword, the step S34 is performed to end the finding. As shown in fig. 2, step S31 is executed, that is, whether a configuration parameter matching the preset keyword exists in the configuration item of the V3 version is searched first, if not, step S32 is executed to search whether a configuration parameter matching the preset keyword exists in the configuration item of the V2 version, if not, step S33 is executed to search whether a configuration parameter matching the keyword exists in the configuration item of the V1 version, and if no configuration parameter matching the preset keyword exists in all versions, step S34 is executed to end the search. Specifically, if the configuration item is found to have the configuration parameter matching the preset keyword, step S40 is executed to display the interface of the television system based on the configuration parameter, so as to support the configuration parameters of different versions, so that the configuration parameter required by the current television configuration can ensure that a certain function of the V3 version is supported, and a certain function of the V1 version is also supported, thereby having better compatibility, requiring no further adjustment of the configuration file by an integrator to implement the current television configuration, reducing the maintenance cost and the labor cost of a company, and further improving the usability of the product.
Further, in another embodiment of the interface display method for a television system according to the present invention, the configuration file is a whole mother directory related to the configuration, and stores all data related to the configuration. A hardware configuration file (such as a subdirectory file with a suffix name of. ini under/tclconfig/model), an application configuration file (such as a subdirectory file of AppConfig. json under/system/etc/appinfo), an area configuration file (such as a subdirectory file of area. json under assets) and the like are divided under the configuration file directory, so that more subdirectories exist for a plurality of versions of configuration files. At present, in the television chip industry, configuration items related to application are structured into application configuration files, and configuration items related to hardware are structured into hardware configuration files. Some recent platforms have structured regional country-related configuration items into regional configuration files for better management of the configuration items. The configuration items related to regional countries are detailed due to the currently known names of countries, the used languages, characters and other information, and the recent version divides the configuration items into separate subdirectories because the configuration items need less maintenance or upgrading. Specifically, the storage paths are not consistent among platforms and have no uniform standard, so that subdirectories can be identified according to affixes, such as apps, areas and the like.
Furthermore, preset keywords are searched in a plurality of subdirectories one by one, matched configuration parameters can be effectively retrieved, and whether the configuration parameters corresponding to the preset keywords exist in configuration items obtained by analyzing a regional configuration file is preferably searched first. Specifically, simplified Chinese is used in China, that is, the fonts displayed on an operation bar, a menu bar and the like of an interface display are all simplified Chinese. If the font needs to be changed, whether a selection for providing other fonts is needed to be checked, for example, English and Japanese are available, and the font displayed on the interface is the English font according to the selection of the user.
Further, there are keywords of other application functions and the like in the preset keywords besides those related to the regional country, so that when there is no configuration parameter that does not match with the preset keywords, the configuration item generated by the application configuration file is searched. As the name implies, the application configuration file stores configuration information related to the application, such as bluetooth, infrared, live broadcast and other application software information. And when the keyword cannot find the matched configuration parameter in the configuration items generated by the application configuration file, finding the configuration items obtained by analyzing the hardware configuration file.
Further, when the preset keyword does not exist in the configuration items obtained by analyzing the area configuration file, the application configuration file and the hardware configuration file, a default value is returned, and the default value is usually blank or zero, that is, there is no corresponding configuration parameter. Specifically, the sequence of searching the subdirectories such as the area configuration file, the application configuration file, the hardware configuration file and the like step by step can be set according to actual needs. When the old version is not provided with the area configuration file, the application configuration file and the hardware configuration file are searched.
Referring to fig. 3, fig. 3 is a detailed flow chart of another preferred embodiment of searching the configuration parameters matched with the keywords in the television system interface display method of the present invention.
In order to facilitate understanding of the configuration parameters matched with the keywords in the television system interface display method, a version of configuration file is taken as an example, and the configuration file comprises a region configuration file, an application configuration file and a hardware configuration file. The step of executing step S30 to find whether there is a configuration item parameter matching the preset keyword in the configuration item may be detailed as step S311 to step S313, and after step S313 is completed, if there is no configuration parameter matching the preset keyword, that is, there is no configuration parameter matching the preset keyword in the configuration file of the version, step S314 is executed to return to the default value. The default value is typically blank or zero, indicating no corresponding configuration parameter. As shown in fig. 3, step S311 is executed, that is, whether a configuration parameter matching the preset keyword exists in the configuration items obtained by analyzing the regional configuration file is searched first, if not, step S312 is executed to search whether a configuration parameter matching the preset keyword exists in the configuration items obtained by analyzing the application configuration file, if not, step S313 is executed to search whether a configuration parameter matching the preset keyword exists in the configuration items obtained by analyzing the hardware configuration file, and if no configuration parameter matching the keyword exists in the version, step S314 is executed to return to the default value. Specifically, if the configuration item is found to have the configuration parameter matching the preset keyword, step S40 is executed to display the interface of the television system based on the configuration parameter.
Further, in another embodiment of the interface display method for a television system of the present invention, the analyzing the configuration file at least includes: any one of character type data analysis, character set type data analysis, Bundle type data analysis, and Bundle set type data analysis. The character type data is a character data type without calculation capacity, and comprises Chinese characters, English characters, numeric characters and other ASCII characters, and the length (namely the number of the characters) range of the character type data is 0-254 characters; character set type data, Bundle type data, and Bundle set type data are all literal data types. Specifically, Bundle type data is as follows: bundle ═ getIntent (). getextra (). The analysis modes are different, the obtained configuration item characters and symbols are different, namely the return values are different, so that when the configuration file is analyzed, one mode is selected uniformly for analysis, the configuration item form obtained through analysis is the same as the preset keyword form, and the specific mode is selected for analysis and is set according to actual needs.
Further, in another embodiment of the interface display method for a television system according to the present invention, only one corresponding configuration parameter is obtained by presetting a keyword, but since there are a plurality of versions of configuration files and a plurality of configuration items obtained by parsing, there may be a plurality of corresponding configuration parameters and configuration parameters of different versions. Therefore, in order to avoid display function conflict, the configuration parameters of the latest version are set as default configuration participation, and the configuration parameters of other versions can be displayed in a menu for a user to select or hide the configuration parameters and are specifically set according to actual needs.
Referring to fig. 4, fig. 4 is a detailed flow chart of a television system interface display method according to a preferred embodiment of the invention.
To assist in understanding the interface display method of the television system of the present invention, a preferred embodiment is provided herein, which is exemplified by the presence of configuration files in versions V1 and V2, wherein the configuration files in version V2 include zone configuration files, application configuration files, and hardware configuration files, and the configuration files in version V1 include application configuration files and hardware configuration files. The television system interface display method comprises the following steps:
1. reading preset keywords and configuration files of the current television configuration before displaying a television system interface;
2. analyzing each configuration file to obtain a plurality of configuration items;
3. searching whether a configuration item obtained by analyzing the V2 version regional configuration file has a configuration parameter matched with a preset keyword or not, and if not, continuing; if yes, jumping to the step 9;
4. searching whether a configuration item obtained by analyzing the V2 version application configuration file has a configuration parameter matched with a preset keyword or not, and if not, continuing; if yes, jumping to the step 9;
5. searching whether configuration parameters matched with preset keywords exist in configuration items obtained by analyzing the hardware configuration file of the V2 version, and if not, continuing; if yes, jumping to the step 9;
6. searching whether a configuration item obtained by analyzing the V1 version application configuration file has a configuration parameter matched with a preset keyword or not, and if not, continuing; if yes, jumping to the step 9;
7. searching whether configuration parameters matched with preset keywords exist in configuration items obtained by analyzing the hardware configuration file of the V1 version, and if not, continuing; if yes, jumping to the step 9;
8. returning to a default value and finishing searching;
9. and displaying the television system interface based on the configuration parameters.
In the embodiment, in each configuration item of different versions, the configuration parameters supporting different versions can be realized by searching through the preset keywords, so that the application functions of different versions are realized, the compatibility is better, the maintenance cost and the labor cost of a company are reduced, and the service performance of the product is further improved.
Based on the data integrity protection method in the foregoing embodiment of the present invention, this embodiment further provides a television system interface display device, where the television system interface display device includes:
a memory storing a television system interface display program;
a processor configured to execute a television system interface display program to perform the following operations:
reading preset keywords and a configuration file of current television configuration before displaying a television system interface, wherein the configuration file has a plurality of versions;
analyzing each configuration file to obtain a plurality of configuration items;
using the preset keywords as search keywords to search whether configuration parameters matched with the preset keywords exist in the configuration items;
and if the configuration parameters matched with the preset keywords exist, displaying the interface of the television system based on the configuration parameters.
In this embodiment, before the interface of the television system is displayed, the preset keywords and the configuration file of the current television configuration are read, and then the configuration files of the versions are analyzed to obtain configuration items of multiple versions. And determining the currently required configuration parameters by searching whether the configuration parameters matched with the preset keywords exist in the configuration items, and displaying the interface of the television system. In other words, in the configuration items of different versions, through searching by preset keywords, the configuration item of one new version has no matched configuration parameters, and the configuration item of the other old version has matched configuration parameters, so that the original functions can be normally used while the new functions are supported, better compatibility is achieved, the maintenance cost and the labor cost of a company are reduced, and the use performance of the product is improved.
Further, in another embodiment of the present invention, the different versions of the configuration file have corresponding version information, such as an identity ID, an update time, a version number, and the like. Specifically, whether the versions are new and old versions of the same project or versions designed by different manufacturers can be identified according to the ID. Because there are configuration items of multiple versions, if the configuration items are searched simultaneously, more memories or calculation capabilities may be consumed, so that the system operation speed is slow, and the phenomena of blocking and the like occur, so that the configuration items of different versions can be searched in sequence based on the version numbers. Specifically, if all the existing versions are searched, the search operation is ended.
Further, in another embodiment of the present invention, the configuration file is a whole mother directory related to the configuration, and all data related to the configuration is saved. Hardware configuration files, application configuration files, area configuration files and the like are divided under the configuration file directory, so that more subdirectories exist in the configuration files of multiple versions. The keywords are searched in a plurality of subdirectories one by one, matched configuration parameters can be effectively searched, and whether the configuration parameters corresponding to the preset keywords exist in the configuration items obtained by analyzing the regional configuration files is preferably searched first. Specifically, the preset keywords include keywords related to regional countries and keywords of other application functions, so that when configuration parameters which are not matched with the preset keywords do not exist, configuration items generated by application configuration files are searched preferentially, and finally configuration items obtained by analyzing hardware configuration files are searched.
Further, when the keyword does not exist in the configuration items obtained by analyzing the area configuration file, the application configuration file and the hardware configuration file, a default value is returned, and the default value is usually blank or zero, that is, there is no corresponding configuration parameter. Specifically, the sequence of searching the subdirectories such as the area configuration file, the application configuration file, the hardware configuration file and the like step by step can be set according to actual needs. When the old version is not provided with the area configuration file, the application configuration file and the hardware configuration file are searched.
Further, in another embodiment of the present invention, the manner of parsing the configuration file at least includes: any one of character type data analysis, character set type data analysis, Bundle type data analysis, and Bundle set type data analysis. The character type data is a character data type without calculation capacity, and comprises Chinese characters, English characters, numeric characters and other ASCII characters, and the length (namely the number of the characters) range of the character type data is 0-254 characters; character set type data, Bundle type data, and Bundle set type data are all literal data types. Specifically, Bundle type data is as follows: bundle ═ getIntent (). getextra (). The analysis modes are different, the obtained configuration item characters and symbols are different, namely the return values are different, so that when the configuration file is analyzed, one mode is selected uniformly for analysis, the configuration item form obtained through analysis is the same as the preset keyword form, and the specific mode is selected for analysis and is set according to actual needs.
Further, the present invention also provides a computer-readable storage medium, where the computer-readable storage medium provided in this embodiment stores a television system interface display program, which includes reading keywords, parsing, and finding results. The stored television system interface display program can be read, interpreted and executed by the processor, so that the steps of the television system interface display method in any one of the above embodiments of the television system interface display method are realized.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A television system interface display method is characterized by comprising the following steps:
reading preset keywords and a configuration file of current television configuration before displaying a television system interface, wherein the configuration file has a plurality of versions, the configuration file is a mother directory related to configuration, all data related to configuration are stored, and the preset keywords are words or phrases;
analyzing each configuration file to obtain a plurality of configuration items, wherein the data stored in each configuration file is calculated, converted and split according to the operational capability of the television system to obtain the configuration items, and the configuration items comprise various configuration parameters, a change request link, an application system, a protocol, detailed information of configuration elements and the relationship among the elements;
using the preset keywords as search keywords to search whether configuration parameters matched with the preset keywords exist in the configuration items;
if the configuration parameters matched with the preset keywords exist, displaying a television system interface based on the configuration parameters;
wherein, the searching whether the configuration item has the configuration parameter matched with the preset keyword comprises:
searching whether configuration parameters matched with the preset keywords exist in configuration items in the same version;
and if not, searching whether the configuration item in the next version has the configuration parameters matched with the preset keywords or not based on the version sequence, wherein the version sequence is determined by the version number in the version information of each configuration file.
2. The television system interface display method of claim 1, wherein the configuration files include at least an application configuration file and a hardware configuration file; the searching whether the configuration item has the configuration parameter matched with the preset keyword comprises:
searching whether a configuration parameter matched with the preset keyword exists in a configuration item obtained by analyzing the application configuration file;
when the configuration parameters do not exist in the configuration items obtained by analyzing the application configuration file, searching whether the configuration parameters matched with the preset keywords exist in the configuration items obtained by analyzing the hardware configuration file;
and returning a default value when the configuration parameters do not exist in the configuration items obtained by analyzing the hardware configuration file.
3. The television system interface display method of claim 2, wherein the configuration file further comprises a region configuration file; the searching whether the configuration item has the configuration parameter matched with the preset keyword comprises:
searching whether a configuration parameter matched with the preset keyword exists in a configuration item obtained by analyzing the regional configuration file;
and when the configuration parameters do not exist in the configuration items obtained by analyzing the regional configuration file, searching whether the configuration parameters matched with the preset keywords exist in the configuration items obtained by analyzing the application configuration file.
4. The method of claim 1, wherein the parsing of the configuration file comprises at least: any one of character type data analysis, character set type data analysis, Bundle type data analysis, and Bundle set type data analysis.
5. The method for displaying an interface of a television system according to any one of claims 1 to 4, wherein if a configuration parameter matching the preset keyword exists, the displaying the interface of the television system based on the configuration parameter includes:
if a plurality of configuration parameters matched with the preset keywords exist, acquiring version information of configuration files corresponding to the plurality of configuration parameters respectively;
and setting the configuration parameters of the configuration files with the latest update time in the version information as default configuration parameters displayed on the interface of the television system.
6. A television system interface display device, the television system interface display device comprising:
a memory storing a television system interface display program;
a processor configured to execute a television system interface display program to perform the following operations:
reading preset keywords and a configuration file of current television configuration before displaying a television system interface, wherein the configuration file has a plurality of versions, the configuration file is a mother directory related to configuration, all data related to configuration are stored, and the preset keywords are words or phrases;
analyzing each configuration file to obtain a plurality of configuration items, wherein the data stored in each configuration file is calculated, converted and split according to the operational capability of the television system to obtain the configuration items, and the configuration items comprise various configuration parameters, a change request link, an application system, a protocol, detailed information of configuration elements and the relationship among the elements;
using the preset keywords as search keywords to search whether configuration parameters matched with the preset keywords exist in the configuration items;
if the configuration parameters matched with the preset keywords exist, displaying a television system interface based on the configuration parameters; wherein the performing of the operation of searching whether the configuration item has the configuration parameter matched with the preset keyword comprises:
searching whether configuration parameters matched with the preset keywords exist in configuration items in the same version;
and if not, searching whether the configuration item in the next version has the configuration parameters matched with the preset keywords or not based on the version sequence, wherein the version sequence is determined by the version number in the version information of each configuration file.
7. The television system interface display device of claim 6, wherein the configuration files include at least an application configuration file and a hardware configuration file; the operation of searching whether the configuration item has the configuration parameter matched with the preset keyword comprises the following steps:
searching whether a configuration parameter matched with the preset keyword exists in a configuration item obtained by analyzing the application configuration file;
when the configuration parameters do not exist in the configuration items obtained by analyzing the application configuration file, searching whether the configuration parameters matched with the preset keywords exist in the configuration items obtained by analyzing the hardware configuration file;
and returning a default value when the configuration parameters do not exist in the configuration items obtained by analyzing the hardware configuration file.
8. A computer-readable storage medium, having a television system interface display program stored thereon, which when executed by a processor, performs the steps of the television system interface display method of any one of claims 1 to 5.
CN201710689730.0A 2017-08-11 2017-08-11 Television system interface display method, equipment and computer readable storage medium Active CN107404669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710689730.0A CN107404669B (en) 2017-08-11 2017-08-11 Television system interface display method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710689730.0A CN107404669B (en) 2017-08-11 2017-08-11 Television system interface display method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107404669A CN107404669A (en) 2017-11-28
CN107404669B true CN107404669B (en) 2021-02-05

Family

ID=60396563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710689730.0A Active CN107404669B (en) 2017-08-11 2017-08-11 Television system interface display method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107404669B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024136A (en) * 2017-12-14 2018-05-11 深圳Tcl新技术有限公司 Load method, smart television and the computer-readable recording medium of user interface
CN108235109B (en) * 2017-12-28 2021-01-12 深圳Tcl新技术有限公司 Table information transmission method, smart television and computer readable storage medium
CN109996119A (en) * 2017-12-29 2019-07-09 深圳Tcl新技术有限公司 Support method, smart television and the storage medium of multiple user interfaces style
CN110046171B (en) * 2019-04-29 2020-08-14 北京字节跳动网络技术有限公司 System, method and apparatus for obtaining information
CN112631648A (en) * 2020-12-23 2021-04-09 北京达佳互联信息技术有限公司 Service configuration method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455915A (en) * 2010-10-18 2012-05-16 卓望数码技术(深圳)有限公司 Method for automatically configuring distributed system, and server
CN103605506A (en) * 2013-10-30 2014-02-26 南通同洲电子有限责任公司 Graphical user interface resource display method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026512B2 (en) * 2005-08-18 2015-05-05 Emc Corporation Data object search and retrieval
US8738606B2 (en) * 2007-03-30 2014-05-27 Microsoft Corporation Query generation using environment configuration
CN104219246B (en) * 2014-09-22 2018-03-16 广州华多网络科技有限公司 A kind of control method and equipment of client display interface
CN106215418B (en) * 2016-07-06 2017-11-21 深圳超多维科技有限公司 The display control method and its device of a kind of application, terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455915A (en) * 2010-10-18 2012-05-16 卓望数码技术(深圳)有限公司 Method for automatically configuring distributed system, and server
CN103605506A (en) * 2013-10-30 2014-02-26 南通同洲电子有限责任公司 Graphical user interface resource display method and terminal

Also Published As

Publication number Publication date
CN107404669A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107404669B (en) Television system interface display method, equipment and computer readable storage medium
CN106775836B (en) Interface display method and interface display device
CN106294816B (en) Page information processing method and device
JP5336965B2 (en) Information processing apparatus, information processing apparatus control method, and program
US20150040000A1 (en) Methods and systems for generating server-side media queries
US20150094050A1 (en) Multivariant mobile operating system configuration
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
KR101882759B1 (en) Method and apparatus for stabilized binary differencing
CN105554552A (en) UI dynamic layout system and method based on set-top box
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN111538526A (en) Multi-version differentiated function customization implementation method and system for application program
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
US9603020B2 (en) Electronic apparatus and method of executing application program
CN112052029B (en) Configuration method and system of USB device management software and computer device
CN107197354B (en) User interface control method and device and smart television
KR20120055772A (en) System and method for providing service agent
CN115543324B (en) Method, device, equipment and medium for generating interactive interface
CN111045720A (en) Code management method, code management system, server, and medium
US8103651B2 (en) Auto-updating reader program for document files
US20090228678A1 (en) Mapping definition creation system and mapping definition creation program
US9104727B2 (en) Search apparatus and method for controlling search apparatus
CN114691651A (en) Event processing method, device, equipment and storage medium
US20160125359A1 (en) Information processing device, information processing system, and information processing method
CN110309000B (en) Application update prompting method and terminal equipment

Legal Events

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