CN107404669A - Television system interface display methods, equipment and computer-readable recording medium - Google Patents

Television system interface display methods, equipment and computer-readable recording medium Download PDF

Info

Publication number
CN107404669A
CN107404669A CN201710689730.0A CN201710689730A CN107404669A CN 107404669 A CN107404669 A CN 107404669A CN 201710689730 A CN201710689730 A CN 201710689730A CN 107404669 A CN107404669 A CN 107404669A
Authority
CN
China
Prior art keywords
configuration
system interface
television system
preset keyword
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710689730.0A
Other languages
Chinese (zh)
Other versions
CN107404669B (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

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)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of television system interface display methods, the television system interface display methods comprises the following steps:Before television system interface is shown, the preset keyword and configuration file of TV configuration are read, wherein, multiple versions be present in the configuration file;Each configuration file is parsed, obtains multiple configuration items;Using the preset keyword as search key, search in the configuration item with the presence or absence of the configuration parameter matched with the preset keyword;If in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, the display of television system interface is carried out.The invention also discloses a kind of television system interface display device and computer-readable recording medium.The present invention can support the configuration parameter of different editions, and personnel are further is adjusted without integrated, so as to mitigate the workload of integrated personnel, reduce the maintenance cost and human cost of company, improve product performance.

Description

Television system interface display methods, equipment and computer-readable recording medium
Technical field
The present invention relates to TV technology, more particularly to television system interface display methods, equipment and computer-readable Storage medium.
Background technology
With the continuous development of TV tech and the continuous improvement of living standard, TV chip also in continuous iteration more Newly, therefore occur more and more different TV configurations on the market, to realize different application functions, so as to be supplied to user More preferable adventure in daily life.
At present, due to changing or upgrading TV configuration each time, intelligent television needs voluntarily to load corresponding configuration item, holds Easily cause configuring redundancy so that operation adds company slowly, it is necessary to integrated personnel are adjusted to the configuration item after loading Maintenance cost and human cost.Meanwhile the configuration item after loading is possible to not support original some application functions, for example, it is original Interface display supports Bluetooth function, and the configuration item after loading does not support Bluetooth function, is unfavorable for ensureing the performance of product, Influence the usage time and using effect of product.
The content of the invention
It is a primary object of the present invention to provide a kind of television system interface display methods, equipment and computer-readable storage Medium, it is intended to solve the technical problem for how realizing the configuration parameter for supporting different editions.
To achieve the above object, a kind of television system interface display methods provided by the invention, the television system interface Display methods comprises the following steps:
Before television system interface is shown, the preset keyword and configuration file of TV configuration are read, wherein, it is described Multiple versions be present in configuration file;
Each configuration file is parsed, obtains multiple configuration items;
Using the preset keyword as search key, search in the configuration item and whether there is and the preset keyword The configuration parameter of matching;
If in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, television system is carried out The display at interface.
Preferably, it is described to search in the configuration item with the presence or absence of the configuration parameter bag matched with the preset keyword Include:
Search in the configuration item of same version with the presence or absence of the configuration parameter matched with the preset keyword;
If being not present, based on version order, search whether there is in the configuration item of next version with it is described pre- If the configuration parameter of keyword match, wherein, the version order is determined by the version number in each configuration file version information.
Preferably, the configuration file comprises at least application configuration file and hardware profile;Match somebody with somebody described in the lookup Put in item includes with the presence or absence of the configuration parameter matched with the preset keyword:
Search and whether there is what is matched with the preset keyword in the configuration item that the application configuration document analysis obtains Configuration parameter;
When the configuration parameter is not present in the configuration item that the application configuration document analysis obtains, then search described hard With the presence or absence of the configuration parameter matched with the preset keyword in the configuration item that part configuration file parses to obtain;
When the configuration parameter is not present in the configuration item that the hardware profile parses to obtain, then acquiescence is returned Value.
Preferably, the configuration file also includes region configuration file;It is described search whether there is in the configuration item with The configuration parameter of the preset keyword matching includes:
Search and whether there is what is matched with the preset keyword in the configuration item that the region configuration file parses to obtain Configuration parameter;
When the configuration parameter is not present in the configuration item that the region configuration file parses to obtain, then described answer is searched With the presence or absence of the configuration parameter matched with the preset keyword in the configuration item for parsing to obtain with configuration file.
Preferably, the analysis mode of the configuration file comprises at least:Character type data parsing, character set mould assembly data solution Any of analysis, the parsing of Bundle types data and the parsing of Bundle assembly types data.
Preferably, if described in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, enter The display of row television system interface includes:
If in the presence of the multiple configuration parameters matched with the preset keyword, obtain the plurality of configuration parameter and each correspond to The version information of configuration file;
The configuration parameter of the nearest configuration file of renewal time in the version information is set into television system interface to show Default configuration parameters.
In addition, to achieve the above object, the present invention also provides a kind of television system interface display device, the television system Interface display device includes:
It is stored with the memory that television system interface shows program;
Processor, it is configured to perform television system interface display program to perform operations described below:
Before television system interface is shown, the preset keyword and configuration file of TV configuration are read, wherein, it is described Multiple versions be present in configuration file;
Each configuration file is parsed, obtains multiple configuration items;
Using the preset keyword as search key, search in the configuration item and whether there is and the preset keyword The configuration parameter of matching;
If in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, television system is carried out The display at interface.
Preferably, described search in the configuration item with the presence or absence of the configuration parameter matched with the preset keyword is performed Operation include:
Search in the configuration item of same version with the presence or absence of the configuration parameter matched with the preset keyword;
If being not present, based on version order, search whether there is in the configuration item of next version with it is described pre- If the configuration parameter of keyword match, wherein, the version order is determined by the version number in each configuration file version information.
Preferably, the configuration file comprises at least application configuration file and hardware profile;Perform the lookup institute State in configuration item includes with the presence or absence of the operation of the configuration parameter matched with the preset keyword:
Search and whether there is what is matched with the preset keyword in the configuration item that the application configuration document analysis obtains Configuration parameter;
When the configuration parameter is not present in the configuration item that the application configuration document analysis obtains, then search described hard With the presence or absence of the configuration parameter matched with the preset keyword in the configuration item that part configuration file parses to obtain;
When the configuration parameter is not present in the configuration item that the hardware profile parses to obtain, then acquiescence is returned Value.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Television system interface is stored with storage medium and shows program, the television system interface shows real when program is executed by processor Now as described above television system interface display methods described in any one the step of.
The present invention is that the preset keyword and configuration text of TV configuration are first read before television system interface is shown Part, the configuration file of each version is then parsed, obtain the configuration item of multiple versions.By search in configuration item whether there is with it is pre- If the configuration parameter of keyword match, current desired configuration parameter is determined, and to carry out the display of television system interface.I.e. In the configuration item of different editions, searched by preset keyword, do not there is matching somebody with somebody for matching in the configuration item of wherein one version Parameter is put, and matching configuration parameter is provided with the configuration item of another version, so as to support the configuration of different editions Parameter, to realize the application function of different editions, there is more excellent compatibility, reduce the maintenance cost of company and manpower into This, and then improve the performance of product.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of television system interface display methods one of the present invention;
Fig. 2 is to search preferably to implement with the configuration parameter one of keyword match in television system interface display methods of the present invention The refinement schematic flow sheet of example;
Fig. 3 is that lookup and the configuration parameter of keyword match are another preferably real in television system interface display methods of the present invention Apply the refinement schematic flow sheet of example;
Fig. 4 is the refinement schematic flow sheet of the preferred embodiment of television system interface display methods one of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of television system interface display methods.
Reference picture 1, Fig. 1 are the schematic flow sheet of the embodiment of television system interface display methods one of the present invention.
In the present embodiment, television system interface display methods includes:
Step S10, before television system interface is shown, the preset keyword and configuration file of TV configuration are read, Wherein, there are multiple versions in the configuration file.
In the present embodiment, there are more families in TV chip manufacturer, different per company's design, causes some application functions Realization also has difference, and such as some support Bluetooth functions, some do not support Bluetooth function etc..Chip producer generally is regarded per household electrical appliances, or The configuration item that same producer is set in different times, its store path also differ.TV chip generally comprised processor and The work such as application program operation are responsible in coding and decoding video two parts, processor part.Drawn with image processing coding and decoding video part Based on holding up, collocation meets the algorithm of broadcast singal standard, to complete coding and decoding video work.Intelligent television simultaneously, it is to have entirely Open platform, operating system is equipped with, user can voluntarily install and uninstall all kinds of answer while general television content is appreciated With software, persistently it can also be expanded function and be upgraded new tv product, enrich the function of itself interface display, without With the Default Value for being limited by TV chip.
In the present embodiment, for intelligent television, it is necessary to load configuration parameter before television system interface is shown, activation uses application Function.TV configuration generally point away from, resolution ratio, scan frequency, refresh rate, audio, bluetooth etc..Preset keyword is advance Set, can include word or word or numeral etc. available for retrieval is carried out, can be one or more, preferably Preset keyword is multiple meaningful words or phrase, for example, simplified form of Chinese Character, English, DTS audios, sheen, phonetic search, Infrared remote control, audio around etc..
In the present embodiment, configuration file is exactly intelligent television before carrying out system interface and showing, to be loaded required environment Setting and file set, storage is all with the data of TV relevant configuration, as procedural item, screen color, network connection, Size and location of printer connection and window etc..Configuration file is formulated certain rule, that is, set according to the demand of each platform Put configuration item.Each platform by with the data storage of TV relevant configuration in system configuration catalogue, while check for convenience with Management, some platforms are different to classification storage by multiple subdirectory files under data consolidation to the system configuration catalogue The data of classification.Each platform has respective template, thus during reading, is not read out in specified storage location, but reads The entirely parent directory related to configuration.
Step S20, each configuration file is parsed, obtain multiple configuration items.
In the present embodiment, because configuration file storage is all and the data of TV relevant configuration, thus configuration file is parsed, That is the data of storage calculated by the operational capability that system carries, changed, split, obtain configuration item.Match somebody with somebody It is computerese to put item, that is, includes the achievement of configuration management category, is the relevant configuration of preservation system and project.Configuration , such as all kinds of configuration parameters of software, hardware etc., change request link, application system, agreement etc..It is also recorded for simultaneously The details of configuration element, and the relation being able to record between each element:Father's configuration item, sub-configuration item, associated configuration item Etc. logical relation.
Step S30, using the preset keyword as search key, search in the configuration item whether there is with it is described pre- If the configuration parameter of keyword match.
In the present embodiment, preset keyword be it is related to TV configuration, available for search further for finding containing with The related field of keyword.For example preset keyword is " languagelist, CN ", the configuration parameter of matching is " languagelist":"zh_CN,zh_TW,en_GB".Specifically, the configuration file of different editions, it parses obtained configuration It has been possible to and preset keyword relevant configured parameter in, it is also possible to the field of " languagelist, US " is provided that, Thus search less than correlation configuration parameter, i.e., can not " languagelist, CN " configuration parameter.
Step S40, if in the presence of the configuration parameter matched with preset keyword, based on configuration parameter, carry out television system The display at interface.
In the present embodiment, it is the configuration parameter based on being matched with preset keyword to be currently configured, and carries out system interface and shows, That is the configuration parameter can for finding matching is correspondingly shown in system interface.That is intelligent television system circle The configuration file that the compatible different platform in face provides, that is to say, that the configuration item of redaction can be run, can also run legacy version Configuration item.Specifically the preset keyword based on TV configuration, numerous configuration items of each version are searched with the presence or absence of having Matching configuration parameter, the display of television system interface is then carried out based on configuration parameter again.For example read current electricity Preset keyword depending on configuration is bluetooth " Bluetooth ", then matching configuration parameter is found in each configuration item It is probably " com.android.settings.bluetooth.BluetoothSettings ", then system is based on configuration parameter Bluetooth function is loaded, and is shown on system interface, that is, supports Bluetooth function, user's can is by bluetooth by TV and mobile phone Carry out online transmitting video pictures etc..Further,, can if preset keyword is excessively simple because configuration item is numerous Multiple and keyword match configuration parameter can be obtained, for example preset keyword is only " Bluetooth ", it is possible to get The configuration parameter of bluetooth field is unloaded, and is intended to realize the TV configuration of loading Bluetooth function in fact, thus keyword is being set Need further to limit when putting, for example the application function is to open bluetooth or close bluetooth, such as " BluetoothSettings " Or " com.android.settings.bluetooth.BluetoothSettings ", while the configuration parameter found should This contains the field information consistent with keyword, so as to avoid function conflict.
It is before television system interface is shown, first the preset keyword of reading TV configuration is with matching somebody with somebody in the present embodiment File is put, then parses the configuration file of each version, obtains the configuration item of multiple versions.Whether deposited by searching in each configuration item In the configuration parameter matched with preset keyword, current desired configuration parameter is determined, and to carry out television system interface Display.I.e. in the configuration item of different editions, searched, do not had in the configuration item of wherein one version by preset keyword The configuration parameter matched somebody with somebody, and matching configuration parameter is provided with the configuration item of another version, so as to support different editions Configuration parameter, to realize the application function of different editions, there is more excellent compatibility, reduce maintenance cost and the people of company Power cost, and then improve the performance of product.
Further, in another embodiment of television system interface display methods of the present invention, the configuration that each platform is formulated is literary The version of part is different, and the version of configuration file that identical platform is formulated in different times is also different, such as upgraded version, abroad Version etc..The configuration file of different editions has corresponding version information, such as identity ID, renewal time, version number etc..Specifically Ground, can according to identity ID identify version between whether be same project new and old edition, or different manufacturers design version.No The configuration information stored with the configuration file of version is possible to differ, thus the application function realized may also be different, Further, identical platform is when different times upgrade to the configuration item of same project, it is also possible to by some of configuration item Function replaces, thus parses the configuration file of different editions, just obtains the configuration item of different editions.
Due to the configuration item of multiple versions be present, if searched simultaneously, may need to consume more internal memories or computing Ability etc. so that system operating rate is slow, phenomena such as interim card occurs, thus can be matched somebody with somebody successively to different editions based on version number Item is put to be searched.Specifically, if after existing all versions are searched, the operation searched is terminated.Usual latest edition It is probably that hidden danger existing for old version is improved, or has repaired existing some failures, or adds new Configuration item realizes new application function, so as to which the latest edition compares old version, can obtain more excellent use effect Fruit, thus during lookup, preferably search the configuration item that the configuration file of latest edition is parsed.Such as V1 versions, V2 versions, V3 versions This, usual V3 versions are latest edition, next to that V2 versions, thus preferential lookup V3 versions, next V2 version, last V1 versions This.Simultaneously because version name can arbitrarily be set, thus the renewal time of version is also based on, different editions are matched somebody with somebody successively Put item to be searched, the lookup order between specific each version can be configured according to being actually needed.Specifically, version is carried out one by one Search, can not only avoid system operations excess load, additionally it is possible to avoid the situation for searching entanglement, Jin Eryou occur between each version Effect shortens the overall operation time.
Reference picture 2, Fig. 2 are that the configuration parameter one with keyword match is searched in television system interface display methods of the present invention The refinement schematic flow sheet of preferred embodiment.
The configuration parameter matched for convenience of lookup in understanding television system interface display methods of the present invention with preset keyword, Configuration file is illustrated with V1, V2, V3 version.Perform to whether there is in each configuration item of step S30 lookups and matched with preset keyword Configuration item parameter the step of can be refined as step S31 to step S33, and after execution of step S33, if in the absence of with it is default The configuration parameter of keyword match, then perform step S34 and terminate to search.As shown in Fig. 2 performing step S31, i.e., first search V3 versions With the presence or absence of the configuration parameter matched with preset keyword in this configuration item, if it is not, then performing step S32 searches V2 versions With the presence or absence of the configuration parameter matched with preset keyword in configuration item, if it is not, then performing the configuration that step S33 searches V1 versions With the presence or absence of the configuration parameter with keyword match in, if the configuration matched with preset keyword is not present in all versions During parameter, then perform step S34 and terminate to search.Specifically, find to have in configuration item and match somebody with somebody in the presence of what is matched with preset keyword Parameter is put, then performs step S40 and is shown based on configuration parameter progress television system interface, so as to support the configuration of different editions to join Number so that the configuration parameter needed for TV configuration can ensure to support a certain function of V3 versions, while also support V1 versions This certain function, thus there is more excellent compatibility, configuration file is done to realize that TV configures without integrated personnel Further adjustment, the maintenance cost and human cost of company are reduced, and then improve the performance of product.
Further, in another embodiment of television system interface display methods of the present invention, configuration file is entirely with matching somebody with somebody The parent directory of correlation is put, preserves all data related to configuration.Division has hardware profile (ratio under configuration file catalogue Such as the subdirectory file of the entitled .ini of suffix under/tclconfig/model), application configuration file (such as/system/etc/ The subdirectory file of AppConfig.json under appinfo), region configuration file (such as under assets area.json Catalogue file) etc., thus the configuration file of multiple versions there is more subdirectories.All be in TV chip industry at present by Configuration item related to application is regular to arrive application configuration file, arrives hardware profile by the configuration item related to hardware is regular. Some recent platforms arrive region configuration file for more preferable management configuration item, by the configuration item related to region country is regular. To the national related configuration item in region because the information such as the national title being currently known, the language used and word is detailed, by In such configuration item less need for maintenance or upgrading, thus this is divided into single subdirectory by recent version.Specifically Ground, each platform of store path is inconsistent, does not seek unity of standard, thus can also be according to affixe, such as identification such as app, area Catalogue.
Further, preset keyword is searched in multiple subdirectories one by one, can effectively retrieve matching somebody with somebody for matching Parameter is put, is preferably first searched in the configuration item that region configuration file parses to obtain with the presence or absence of configuration corresponding with preset keyword Parameter, what it is due to the storage of region configuration file is the configuration item related to region country, such as national title, the language that uses The information such as speech, word, and be first to be searched, to determine that TV configures institute less need for being safeguarded or being upgraded Need the information such as the word that shows.Specifically, at home, it is aobvious using simplified form of Chinese Character, the i.e. action bar of interface display, menu bar etc. The font shown is simplified form of Chinese Character.If necessary to change font, then need to check whether the selection for being provided with other fonts, such as There are English, Japanese, then selected according to user, the font of interface display is english font.
Further, except related to region country in preset keyword, the also keyword of other application function etc., Thus when in the absence of unmatched configuration parameter therewith, the configuration item of application configuration file generated is searched.Application configuration file As its name suggests, exactly it is stored with to applying related configuration information, such as the application software information such as bluetooth, infrared ray, live.Close When key word is searched less than matching configuration parameter in the configuration item of application configuration file generated, hardware profile is searched Parse obtained configuration item.
Further, when preset keyword parses in region configuration file, application configuration file and hardware profile When being not present in obtained configuration item, then default value is returned to, default value is usually blank or is zero, i.e., the configuration ginseng without corresponding to Number.Specifically, the order that the subdirectory such as region configuration file, application configuration file and hardware profile is searched step by step It can be configured according to being actually needed.When old version is not provided with region configuration file, then to application configuration file and firmly Part configuration file is searched.
Reference picture 3, Fig. 3 are that lookup is another with the configuration parameter of keyword match in television system interface display methods of the present invention The refinement schematic flow sheet of one preferred embodiment.
For convenience of lookup and the configuration parameter of keyword match in television system interface display methods of the present invention is understood, with one Exemplified by the configuration file of individual version, the configuration file has region configuration file, application configuration file and hardware profile.Perform Step S30 is searched in configuration item can be refined as step S311 with the presence or absence of the step of configuration item parameter matched with preset keyword To step S313, and after execution of step S313, if in the absence of the configuration parameter matched with preset keyword, i.e. the version The configuration parameter matched with preset keyword is not present in configuration file, then performs step S314 and returns to default value.Default value Usually blank or be zero, indicates the configuration parameter without corresponding to.As shown in figure 3, performing step S311, i.e., first search region configuration With the presence or absence of the configuration parameter matched with preset keyword in the configuration item that document analysis obtains, if it is not, then performing step S312 Search in the configuration item that application configuration document analysis obtains with the presence or absence of the configuration parameter matched with preset keyword, if it is not, then Step S313 is performed to search in the configuration item that hardware profile parses to obtain with the presence or absence of the configuration matched with preset keyword Parameter, if the configuration parameter with keyword match is not present in the version, performs step S314 and return to default value.Specifically Ground, if finding the configuration parameter having in configuration item in the presence of being matched with preset keyword, perform step S40 and be based on configuration parameter Television system interface is carried out to show.
Further, in another embodiment of television system interface display methods of the present invention, the mode of configuration file is parsed Comprise at least:Character type data parsing, the parsing of character set mould assembly data, the parsing of Bundle types data, and Bundle assembly types Any of data parsing.Wherein character type data is the lteral data type for not having computing capability, it include Chinese character, English character, numerical character and other characters of ASC II, its length (i.e. character number) scope is 0-254 character;Character set Mould assembly data, Bundle type data, and Bundle assembly type data are lteral data type.Specifically, Bundle types number According to as follows:Bundle bundle=getIntent () .getExtras ().Analysis mode is different, obtained configuration item Letter symbol differs, i.e., return value is different, thus when being parsed to configuration file, it is unified to select one of which side Formula is parsed, and the configuration item form that parsing obtains should be as preset keyword form, and which specifically chosen mode is carried out Parsing, is configured according to being actually needed.
Further, in another embodiment of television system interface display methods of the present invention, usual preset keyword obtains The only corresponding configuration parameter, but due to the configuration file of multiple versions be present, the configuration item for parsing to obtain is numerous arrived, Multiple corresponding configuration parameters are thus there may exist, and are the configuration parameter of different editions.Thus to exempt from display function conflict, The configuration parameter of latest edition is set into default configuration to participate in, and the configuration parameter of other several versions can be displayed in menu and supply User is selected, or hides the configuration parameter, is configured with specific reference to being actually needed.
Reference picture 4, Fig. 4 are the refinement schematic flow sheet of the preferred embodiment of television system interface display methods one of the present invention.
In order to aid in understanding television system interface display methods of the present invention, a preferred embodiment is provided herein, is to configure There is the citing of V1 and V2 versions in file, the configuration file of wherein V2 versions has region configuration file, application configuration file and hardware Configuration file, the configuration file of V1 versions have application configuration file and hardware profile.Television system interface display methods bag Include:
1. before television system interface is shown, the preset keyword and configuration file of TV configuration are read;
2. each configuration file of parsing, obtains multiple configuration items;
3. it whether there is what is matched with preset keyword in searching the configuration item that V2 version field domain configuration files parse to obtain Configuration parameter, if it is not, continuing;If so, jump to the 9th step;
4. it whether there is what is matched with preset keyword in searching the configuration item that V2 version application configuration document analysis obtains Configuration parameter, if it is not, continuing;If so, jump to the 9th step;
5. it whether there is what is matched with preset keyword in searching the configuration item that V2 version hardware profiles parse to obtain Configuration parameter, if it is not, continuing;If so, jump to the 9th step;
6. it whether there is what is matched with preset keyword in searching the configuration item that V1 version application configuration document analysis obtains Configuration parameter, if it is not, continuing;If so, jump to the 9th step;
7. it whether there is what is matched with preset keyword in searching the configuration item that V1 version hardware profiles parse to obtain Configuration parameter, if it is not, continuing;If so, jump to the 9th step;
8. returning to default value, and terminate to search;
9. being based on configuration parameter, the display of television system interface is carried out.
In the present embodiment, in each configuration item of different editions, searched by preset keyword, can realize and support not With the configuration parameter of version, to realize the application function of different editions, there is more excellent compatibility, reduce the maintenance of company into Sheet and human cost, and then improve the performance of product.
Based on the data completeness protection method in the above embodiment of the present invention, the present embodiment also provides a kind of television system Interface display device, television system interface display device include:
It is stored with the memory that television system interface shows program;
Processor, it is configured to perform television system interface display program to perform operations described below:
Before television system interface is shown, the preset keyword and configuration file of TV configuration are read, wherein, it is described Multiple versions be present in configuration file;
Each configuration file is parsed, obtains multiple configuration items;
Using the preset keyword as search key, search in the configuration item and whether there is and the preset keyword The configuration parameter of matching;
If in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, television system is carried out The display at interface.
It is before television system interface is shown, first the preset keyword of reading TV configuration is with matching somebody with somebody in the present embodiment File is put, then parses the configuration file of each version, obtains the configuration item of multiple versions.Whether deposited by searching in each configuration item In the configuration parameter matched with preset keyword, current desired configuration parameter is determined, and to carry out television system interface Display.I.e. in the configuration item of different editions, searched by preset keyword, do not had in the configuration item of wherein one redaction The configuration parameter of matching, and matching configuration parameter is provided with the configuration item of another legacy version, propped up so as to realize Ensure while holding New function original function also can normal use, there is more excellent compatibility, reduce the maintenance cost of company And human cost, and then improve the performance of product.
Further, in an alternative embodiment of the invention, the configuration file of different editions has corresponding version information, such as Identity ID, renewal time, version number etc..Specifically, whether it is the new and old of same project between version being identified according to identity ID Version, or the version of different manufacturers design.Due to the configuration item of multiple versions be present, if searched simultaneously, may need Consume more internal memories or operational capability etc. so that system operating rate is slow, phenomena such as interim card occurs, thus can be based on version Number the configuration item of different editions is searched successively.Specifically, if after existing all versions are searched, terminate to search Operation.
Further, in an alternative embodiment of the invention, configuration file is the entirely parent directory related to configuration, preservation and Configure related all data.Division has hardware profile, application configuration file, region configuration text under configuration file catalogue Part etc., thus the configuration file of multiple versions there is more subdirectories.Keyword is looked into multiple subdirectories one by one Look for, can effectively retrieve the configuration parameter of matching, preferably first search region configuration file parse in obtained configuration item whether In the presence of configuration parameter corresponding with preset keyword.Specifically, in preset keyword except to region country it is related, also its The keyword of its application function etc., thus when in the absence of unmatched configuration parameter therewith, it is preferential to search application configuration file The configuration item of generation, finally search the configuration item that hardware profile parses to obtain.
Further, when keyword parses to obtain in region configuration file, application configuration file and hardware profile Configuration item in be not present when, then return to default value, default value is usually blank or is zero, i.e., the configuration parameter without corresponding to. Specifically, the order that the subdirectory such as region configuration file, application configuration file and hardware profile is searched step by step can It is configured according to being actually needed.When old version is not provided with region configuration file, then to applying configuration file and hardware Configuration file is searched.
Further, in an alternative embodiment of the invention, the mode for parsing configuration file comprises at least:Character type data solution Any of analysis, the parsing of character set mould assembly data, the parsing of Bundle types data and the parsing of Bundle assembly types data.Its In, character type data is the lteral data type for not having computing capability, it include Chinese character, English character, numerical character and Other characters of ASC II, its length (i.e. character number) scope is 0-254 character;Character set mould assembly data, Bundle type numbers According to, and Bundle assembly type data are lteral data type.Specifically, Bundle types data are as follows:Bundle Bundle=getIntent () .getExtras ().Analysis mode is different, and obtained configuration item letter symbol is differed, that is, returned It is different to return value, thus when being parsed to configuration file, it is unified to select one way in which to be parsed, and parse The configuration item form arrived should be as preset keyword form, and which specifically chosen mode is parsed, according to be actually needed into Row is set.
Further, the present invention also provides a kind of computer-readable recording medium, the computer proposed in the present embodiment Television system interface is stored with readable storage medium storing program for executing and shows program, including reads keyword, parsing and lookup result etc..Storage Television system interface show program can be read out by the processor, understand and perform, so as to realize any of the above-described television system circle The step of television system interface display methods described in plane display method embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of television system interface display methods, it is characterised in that the television system interface display methods includes following step Suddenly:
Before television system interface is shown, the preset keyword and configuration file of TV configuration are read, wherein, the configuration Multiple versions be present in file;
Each configuration file is parsed, obtains multiple configuration items;
Using the preset keyword as search key, search in the configuration item with the presence or absence of being matched with the preset keyword Configuration parameter;
If in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, television system interface is carried out Display.
2. television system interface display methods as claimed in claim 1, it is characterised in that be in the lookup configuration item It is no to include in the presence of the configuration parameter matched with the preset keyword:
Search in the configuration item of same version with the presence or absence of the configuration parameter matched with the preset keyword;
If being not present, based on version order, search and whether there is and the default pass in the configuration item of next version The configuration parameter of key word matching, wherein, the version order is determined by the version number in each configuration file version information.
3. television system interface display methods as claimed in claim 1, it is characterised in that the configuration file comprises at least should With configuration file and hardware profile;It whether there is in the lookup configuration item and match somebody with somebody with what the preset keyword matched Putting parameter includes:
Search in the configuration item that the application configuration document analysis obtains with the presence or absence of the configuration matched with the preset keyword Parameter;
When the configuration parameter is not present in the configuration item that the application configuration document analysis obtains, then searches the hardware and match somebody with somebody Put in the configuration item that document analysis obtains with the presence or absence of the configuration parameter matched with the preset keyword;
When the configuration parameter is not present in the configuration item that the hardware profile parses to obtain, then default value is returned.
4. television system interface display methods as claimed in claim 3, it is characterised in that the configuration file also includes region Configuration file;Described search in the configuration item includes with the presence or absence of the configuration parameter matched with the preset keyword:
Search in the configuration item that the region configuration file parses to obtain with the presence or absence of the configuration matched with the preset keyword Parameter;
When the configuration parameter is not present in the configuration item that the region configuration file parses to obtain, then searches the application and match somebody with somebody Put in the configuration item that document analysis obtains with the presence or absence of the configuration parameter matched with the preset keyword.
5. television system interface display methods as claimed in claim 1, it is characterised in that the analysis mode of the configuration file Comprise at least:Character type data parsing, the parsing of character set mould assembly data, the parsing of Bundle types data and Bundle assembly type numbers According to any of parsing.
6. the television system interface display methods as described in any in claim 1 to 5, it is characterised in that if it is described in the presence of with The configuration parameter of the preset keyword matching, then based on the configuration parameter, carrying out the display of television system interface includes:
If in the presence of the multiple configuration parameters matched with the preset keyword, obtain the plurality of configuration parameter and each correspond to configuration The version information of file;
By the configuration parameter of the nearest configuration file of renewal time in the version information be set to television system interface show it is silent Recognize configuration parameter.
7. a kind of television system interface display device, it is characterised in that the television system interface display device includes:
It is stored with the memory that television system interface shows program;
Processor, it is configured to perform television system interface display program to perform operations described below:
Before television system interface is shown, the preset keyword and configuration file of TV configuration are read, wherein, the configuration Multiple versions be present in file;
Each configuration file is parsed, obtains multiple configuration items;
Using the preset keyword as search key, search in the configuration item with the presence or absence of being matched with the preset keyword Configuration parameter;
If in the presence of the configuration parameter matched with the preset keyword, based on the configuration parameter, television system interface is carried out Display.
8. television system interface display device as claimed in claim 6, it is characterised in that perform the lookup configuration item In include with the presence or absence of the operation of configuration parameter matched with the preset keyword:
Search in the configuration item of same version with the presence or absence of the configuration parameter matched with the preset keyword;
If being not present, based on version order, search and whether there is and the default pass in the configuration item of next version The configuration parameter of key word matching, wherein, the version order is determined by the version number in each configuration file version information.
9. television system interface display device as claimed in claim 6, it is characterised in that the configuration file comprises at least should With configuration file and hardware profile;Perform to whether there is in the lookup configuration item and matched with the preset keyword The operation of configuration parameter include:
Search in the configuration item that the application configuration document analysis obtains with the presence or absence of the configuration matched with the preset keyword Parameter;
When the configuration parameter is not present in the configuration item that the application configuration document analysis obtains, then searches the hardware and match somebody with somebody Put in the configuration item that document analysis obtains with the presence or absence of the configuration parameter matched with the preset keyword;
When the configuration parameter is not present in the configuration item that the hardware profile parses to obtain, then default value is returned.
10. a kind of computer-readable recording medium, it is characterised in that TV system is stored with the computer-readable recording medium System interface display program, the television system interface, which is shown, to be realized when program is executed by processor as any in claim 1 to 5 Described in television system interface display methods the step of.
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 true CN107404669A (en) 2017-11-28
CN107404669B 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)

Cited By (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
CN108235109A (en) * 2017-12-28 2018-06-29 深圳Tcl新技术有限公司 Table information transferring 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
CN110046171A (en) * 2019-04-29 2019-07-23 北京字节跳动网络技术有限公司 For obtaining system, the method and apparatus of information
CN112631648A (en) * 2020-12-23 2021-04-09 北京达佳互联信息技术有限公司 Service configuration method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009507278A (en) * 2005-08-18 2009-02-19 イーエムシー コーポレイション Search and restore data objects
CN101652777A (en) * 2007-03-30 2010-02-17 微软公司 Query generation using environment configuration
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
CN104219246A (en) * 2014-09-22 2014-12-17 广州华多网络科技有限公司 Method and device for controlling display interface of client
CN106215418A (en) * 2016-07-06 2016-12-14 深圳超多维科技有限公司 The display control method of a kind of application and device, terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009507278A (en) * 2005-08-18 2009-02-19 イーエムシー コーポレイション Search and restore data objects
CN101652777A (en) * 2007-03-30 2010-02-17 微软公司 Query generation using environment configuration
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
CN104219246A (en) * 2014-09-22 2014-12-17 广州华多网络科技有限公司 Method and device for controlling display interface of client
CN106215418A (en) * 2016-07-06 2016-12-14 深圳超多维科技有限公司 The display control method of a kind of application and device, terminal

Cited By (6)

* 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
CN108235109A (en) * 2017-12-28 2018-06-29 深圳Tcl新技术有限公司 Table information transferring method, smart television and computer readable storage medium
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
CN110046171A (en) * 2019-04-29 2019-07-23 北京字节跳动网络技术有限公司 For obtaining system, the method and apparatus of information
CN112631648A (en) * 2020-12-23 2021-04-09 北京达佳互联信息技术有限公司 Service configuration method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107404669B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN107404669A (en) Television system interface display methods, equipment and computer-readable recording medium
CN103428525B (en) Internet video and the online query of TV programme and control method for playing back and system
US11012505B2 (en) Application information sharing method and apparatus
US20160170712A1 (en) Method for integrally implementing development and release of APP
CN101213515B (en) Method and device for controlling z-order of lifted element in a presentation
US10558335B2 (en) Information providing system, information providing method, and non-transitory recording medium
CN109669716A (en) Page control method, device, equipment and readable storage medium storing program for executing
CN104820589B (en) A kind of method and its device of dynamic adaptation webpage
CN101714086A (en) Method and device for choosing software interface languages
US10339222B2 (en) Information providing system, information providing method, non-transitory recording medium, and data structure
CN110297636B (en) Page automatic generation and parameter management method, system and device based on page configuration file
US11829667B2 (en) Creation of component templates and removal of dead content therefrom
CN110020356A (en) A kind of code generating method of page module, apparatus and system
CN108287918A (en) Method for playing music, device, storage medium based on five application page and electronic equipment
CN107729755A (en) A kind of terminal safety management method, terminal and computer-readable recording medium
CN103677510A (en) Icon arranging method and device
CN101593073A (en) A kind of advertising display device that is integrated in the input method
CN106502648A (en) Application shows the method and terminal of language-specific
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN110347454A (en) Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium
CN104090780A (en) Automatic configuration method and cloud compiling system
CN106604093A (en) Keyboard matching method and device
CN102307259A (en) Content processing method based on mobile terminal application and mobile terminal
CN104853252A (en) Interactive multi-homepage control method, apparatus, and system
CN115061785A (en) Information issuing method and device, storage medium and server

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