CN106604109B - Configuration method and device of smart television - Google Patents

Configuration method and device of smart television Download PDF

Info

Publication number
CN106604109B
CN106604109B CN201611270982.1A CN201611270982A CN106604109B CN 106604109 B CN106604109 B CN 106604109B CN 201611270982 A CN201611270982 A CN 201611270982A CN 106604109 B CN106604109 B CN 106604109B
Authority
CN
China
Prior art keywords
configuration
parameter information
information
configuration file
intelligent television
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
CN201611270982.1A
Other languages
Chinese (zh)
Other versions
CN106604109A (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 Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital 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 Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201611270982.1A priority Critical patent/CN106604109B/en
Publication of CN106604109A publication Critical patent/CN106604109A/en
Application granted granted Critical
Publication of CN106604109B publication Critical patent/CN106604109B/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/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
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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

Landscapes

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

Abstract

The invention discloses a configuration method of an intelligent television, which comprises the following steps: acquiring parameter information of the intelligent television; querying a preset configuration file to obtain configuration items corresponding to the parameter information, wherein the configuration file comprises a plurality of configuration items, and different configuration items correspond to different parameter information; and displaying corresponding configuration information on a display screen of the intelligent television according to the acquired configuration items so as to execute corresponding configuration operation according to the configuration information. The invention also discloses a configuration device of the intelligent television. The invention improves the configuration efficiency of the intelligent television.

Description

Configuration method and device of smart television
Technical Field
The invention relates to the technical field of smart televisions, in particular to a configuration method and device of a smart television.
Background
With the development of the times, the smart television becomes an indispensable device in daily life of users. The configuration of the smart televisions for different countries, different regions and different brands is different, for example, the configuration of the language list corresponding to the smart television is different for different countries; for another example, for different areas, the channel searching systems corresponding to the smart television are configured differently. Therefore, in order to meet the requirements of various different smart televisions (smart televisions with different parameter information such as country, region, brand, and the like), related integration personnel need to configure a plurality of corresponding configuration files for the smart televisions with different parameter information, and select a matched configuration file to configure when configuring the smart televisions, so that the operation is complex, and the configuration efficiency of the smart televisions is low.
Disclosure of Invention
The invention mainly aims to provide a configuration method and a configuration device of an intelligent television, and aims to solve the technical problem that the configuration efficiency of the intelligent television is low in the prior art.
In order to achieve the above object, the configuration method of the smart television provided by the present invention includes:
acquiring parameter information of the intelligent television;
querying a preset configuration file to obtain configuration items corresponding to the parameter information, wherein the configuration file comprises a plurality of configuration items, and different configuration items correspond to different parameter information;
and displaying corresponding configuration information on a display screen of the intelligent television according to the acquired configuration items so as to execute corresponding configuration operation according to the configuration information.
Preferably, before the step of acquiring the parameter information of the smart television, the method further includes:
configuring a configuration file corresponding to the intelligent television application, wherein the configuration file comprises configuration items corresponding to various parameter information;
loading the configuration file into the smart television application;
after the step of displaying corresponding configuration information on the display screen of the smart television according to the acquired configuration item, the method further includes:
and when a configuration instruction is received, carrying out corresponding configuration on the intelligent television application according to the configuration information.
Preferably, the step of querying a preset configuration file and acquiring a configuration item corresponding to the parameter information includes:
inquiring a preset configuration file, and judging whether a configuration item corresponding to the parameter information exists or not;
and if the configuration item corresponding to the parameter information exists, acquiring the configuration item.
Preferably, the step of querying a preset configuration file and determining whether a configuration item corresponding to the parameter information exists further includes:
and if the configuration item corresponding to the parameter information does not exist, displaying default value information in the configuration file.
Preferably, before the step of querying the preset configuration file and obtaining the configuration item corresponding to the parameter information, the method further includes:
judging whether a configuration file corresponding to the smart television application is stored in the smart television;
if the configuration file corresponding to the intelligent television application is stored in the intelligent television, executing the step of inquiring the configuration file and acquiring the configuration item corresponding to the parameter information;
and if the configuration file corresponding to the smart television application is not stored in the smart television, displaying preset response information.
In addition, in order to achieve the above object, the present invention further provides a configuration device of a smart tv, where the configuration device of the smart tv includes:
the acquisition module is used for acquiring parameter information of the intelligent television;
the query module is used for querying a preset configuration file and acquiring configuration items corresponding to the parameter information, wherein the configuration file comprises a plurality of configuration items, and different configuration items correspond to different parameter information;
and the display module is used for displaying corresponding configuration information on a display screen of the intelligent television according to the acquired configuration items so as to execute corresponding configuration operation according to the configuration information.
Preferably, the configuration device of the smart television further includes:
the configuration module is used for configuring a configuration file corresponding to the intelligent television application, and the configuration file comprises configuration items corresponding to various parameter information;
the loading module is used for loading the configuration file into the smart television application;
and the processing module is used for carrying out corresponding configuration on the intelligent television application according to the configuration information when a configuration instruction is received.
Preferably, the query module comprises:
the query unit is used for querying a preset configuration file and judging whether a configuration item corresponding to the parameter information exists or not;
and the obtaining unit is used for obtaining the configuration item if the configuration item corresponding to the parameter information exists.
Preferably, the configuration file further includes default value information, and the display module is further configured to:
and if the configuration item corresponding to the parameter information does not exist, displaying default value information in the configuration file.
Preferably, the configuration device of the smart television further includes:
the judging module is used for judging whether a configuration file corresponding to the smart television application is stored in the smart television;
the query module is used for querying the configuration file to obtain the configuration item corresponding to the parameter information if the configuration file corresponding to the smart television application is stored in the smart television;
the display module is further configured to display preset response information if the configuration file corresponding to the smart television application is not stored in the smart television.
The invention provides a configuration method and a configuration device of an intelligent television, which are characterized in that a corresponding configuration file is configured for the intelligent television in advance, the configuration file comprises configuration items of various different parameter information corresponding to the intelligent television, when the intelligent television needs to be configured, the parameter information of the intelligent television is firstly acquired, a preset configuration file is inquired, the configuration item corresponding to the parameter information of the intelligent television is acquired, and then the corresponding configuration information is displayed on a display screen of the intelligent television according to the acquired configuration item so as to execute corresponding configuration operation according to the configuration information. The configuration files comprise corresponding configuration items under various parameter information of the intelligent television, so that the configuration files can meet the requirements of the intelligent television with various different parameter information, the complex operation that an integrator needs to configure a plurality of corresponding configuration files for the intelligent television with various parameter information respectively and select a matched configuration file from the intelligent television for configuration is omitted, and the configuration efficiency of the intelligent television is improved.
Drawings
Fig. 1 is a schematic flowchart of a configuration method of a smart television according to a first embodiment of the present invention;
fig. 2 is a schematic detailed flow chart illustrating a process of querying a preset configuration file and obtaining a configuration item corresponding to the parameter information in a second embodiment of the configuration method of the smart television according to the present invention;
fig. 3 is a functional block diagram of a configuration apparatus of a smart tv according to a first embodiment of the present invention;
fig. 4 is a schematic diagram of a detailed functional module of an inquiry module in a second embodiment of the configuration apparatus of the smart television according to the present 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 configuration method of an intelligent television.
Referring to fig. 1, fig. 1 is a schematic flowchart of a configuration method of an intelligent television according to a first embodiment of the present invention. In this embodiment, the configuration method of the smart television includes:
step S10, acquiring parameter information of the smart television;
step S20, inquiring a preset configuration file to obtain a configuration item corresponding to the parameter information, wherein the configuration file comprises a plurality of configuration items, and different configuration items correspond to different parameter information;
with the development of the times, the smart television becomes an indispensable device in daily life of users. The configuration of the smart televisions for different countries, different regions and different brands is different, for example, the configuration of the language list corresponding to the smart television is different for different countries; for another example, for different areas, the channel searching systems corresponding to the smart television are configured differently. Therefore, in order to meet the requirements of various different smart televisions (smart televisions with different parameter information such as country, region, brand, and the like), related integration personnel need to configure a plurality of corresponding configuration files for the smart televisions with different parameter information, and select a matched configuration file to configure when configuring the smart televisions, so that the operation is complex, and the configuration efficiency of the smart televisions is low.
In order to improve the configuration efficiency of the smart television, in this embodiment, a unified set of optimized configuration files is implemented, which have strong compatibility and can meet the configuration requirements of each platform, each region, and each country on the smart television, thereby reducing the workload and the error rate of the integrators and improving the configuration efficiency. Specifically, before the step S10, the method further includes the steps of:
step a, configuring a configuration file corresponding to the smart television application, wherein the configuration file comprises configuration items corresponding to various parameter information;
and b, loading the configuration file into the intelligent television application.
In this embodiment, a unified configuration file corresponding to the smart television application is configured in advance according to different configuration requirements of each platform, each region, and each country for the smart television application, where the configuration file includes a plurality of configuration items, and each configuration item corresponds to different smart television parameter information. The parameter information includes information such as an area (area), a country (country), a brand (product) and the like corresponding to the smart television. For example, taking a language list as an example, the configuration file includes a plurality of different configuration items such as a language list configuration item corresponding to an EU (european) area, a language list configuration item corresponding to an AU (australia) area, a language list configuration item corresponding to an LA (ramee) area, and a language list configuration item corresponding to an NA (north american) area.
For example, in the case of configuring website information, since website information to be displayed is different for different regions, different countries, and different brands of smart televisions, the website information may be configured as follows:
Figure BDA0001200289280000051
Figure BDA0001200289280000061
as another example, for the language list configuration example, in different areas, such as EU (european) area, AU (australia) area, LA (ramee) area, NA (north america) area, and the like, the language list required by the user is different, and the language list may be configured as follows:
Figure BDA0001200289280000062
Figure BDA0001200289280000071
for another example, for an example of configuring the search interface, different countries have different requirements for the search interface, and some countries have special requirements for the search interface (for example, some specific information needs to be displayed), for example, for more than 2 cable operators, the search interface may be configured as follows:
Figure BDA0001200289280000081
Figure BDA0001200289280000091
wherein, DVBCOperator configures 'UPC' and 'other' for name under return value.
For the channel searching interface configuration of other countries, the channel searching interface can be configured as follows:
Figure BDA0001200289280000092
Figure BDA0001200289280000101
Figure BDA0001200289280000111
each smart television application corresponds to a uniform configuration file, each configuration file comprises a plurality of configuration items corresponding to the smart television under the condition that the smart television corresponds to the plurality of parameter information, and after the configuration file corresponding to the smart television application is configured, the configuration file is loaded into the corresponding smart television application.
Because the configuration requirements of each platform, each region and each country for the smart television are different, when the smart television needs to be configured, the parameter information of the smart television is obtained first, that is, the parameter information of the region, the country, the brand and the like corresponding to the smart television is obtained. Optionally, an interface preset in the smart television is called to obtain parameter information of the smart television.
After the parameter information of the intelligent television is acquired, a pre-configured configuration file is inquired according to the parameter information, and a configuration item corresponding to the parameter information of the intelligent television is acquired from the pre-configured configuration file. Specifically, since the configuration file is stored in the json format, the configuration file needs to be loaded into an input stream, the input stream is converted into a character type, the configuration file in the character type format is analyzed to obtain corresponding configuration items, and the configuration items corresponding to the parameter information of the smart television are obtained from the configuration items.
For example, if the region corresponding to the smart television is the EU region, querying a pre-configured configuration file according to the region corresponding to the smart television, and acquiring a language list configuration item corresponding to the EU region; if the area corresponding to the intelligent television is an LA area, inquiring a pre-configured configuration file according to the area corresponding to the intelligent television, and acquiring a language list configuration item corresponding to the LA area; if the area corresponding to the intelligent television is an AU area, inquiring a pre-configured configuration file according to the area corresponding to the intelligent television, and acquiring a language list configuration item corresponding to the AU area.
And step S30, displaying corresponding configuration information on the display screen of the intelligent television according to the acquired configuration items, so as to execute corresponding configuration operation according to the configuration information.
After the configuration item corresponding to the parameter information of the intelligent television is acquired, corresponding configuration information is displayed on a display screen of the intelligent television according to the configuration item. For example, if the area corresponding to the smart television is the EU area, displaying a language list corresponding to the EU area on a display screen of the smart television; if the area corresponding to the intelligent television is an LA area, displaying a language list corresponding to the LA area on a display screen of the intelligent television; and if the area corresponding to the intelligent television is the AU area, displaying a language list corresponding to the AU area on the display screen of the intelligent television.
Further, after the step S30, the method further includes:
and c, when a configuration instruction is received, carrying out corresponding configuration on the intelligent television application according to the configuration information.
After the corresponding configuration information is displayed on the display screen of the smart television, an integrator or a common user can know the corresponding configuration information of the smart television by looking at the display screen. If the integration personnel or the common user wants to configure the intelligent television, corresponding configuration operation can be executed, and a corresponding configuration instruction is triggered. And when the configuration instruction is received, the intelligent television carries out corresponding configuration on the intelligent television application according to the configuration information currently displayed on the display screen. For example, according to the displayed language list, one language is selected from the language list and set as the current configuration language of the smart television.
According to the scheme provided by the embodiment, a corresponding configuration file is configured for the smart television in advance, the configuration file comprises configuration items corresponding to various different parameter information of the smart television, when the smart television needs to be configured, the parameter information of the smart television is firstly acquired, a preset configuration file is inquired, the configuration items corresponding to the parameter information of the smart television are acquired, and then the corresponding configuration information is displayed on a display screen of the smart television according to the acquired configuration items, so that corresponding configuration operation is executed according to the configuration information. The configuration file comprises the corresponding configuration items under various parameter information of the intelligent television, so that the configuration file can meet the requirements of the intelligent television with various different parameter information, the operation that an integration worker configures a corresponding configuration file for the intelligent television with each parameter information is omitted, and the configuration efficiency of the intelligent television is improved.
Further, as shown in fig. 2, a second embodiment of the configuration method of the smart television according to the present invention is proposed based on the first embodiment, in this embodiment, the step S20 includes:
step S21, inquiring a preset configuration file, and judging whether a configuration item corresponding to the parameter information exists;
step S22, if there is a configuration item corresponding to the parameter information, acquiring the configuration item.
Since the configuration file is also continuously updated, it is possible that the configuration file is not currently configured with configuration items corresponding to some parameter information, in this embodiment, after the parameter information of the smart television is obtained, a preset configuration file is queried, and whether a configuration item corresponding to the parameter information exists is determined. And when judging that the configuration item corresponding to the parameter information exists, the intelligent television acquires the inquired configuration item corresponding to the parameter information. And then, displaying corresponding configuration information on a display screen of the intelligent television according to the acquired configuration items.
Further, in this embodiment, after the step S21, the method further includes the steps of:
and d, if the configuration item corresponding to the parameter information does not exist, displaying the default value information in the configuration file.
Further, in this embodiment, the configuration file includes default value information configured in advance, in addition to the configuration items corresponding to the parameter information. And when a preset configuration file is inquired and it is judged that no configuration item corresponding to the parameter information of the intelligent television exists in the configuration file, default value information in the configuration file is displayed on a display screen of the intelligent television.
Further, in this embodiment, before the step S20, the method further includes:
step e, judging whether a configuration file corresponding to the smart television application is stored in the smart television; if yes, go to step S20; if not, executing the step f;
and f, displaying preset response information.
Each smart television application corresponds to one configuration file, and the smart television may only store the configuration files corresponding to a part of the smart television applications, but not store the configuration files corresponding to some other smart television applications. Therefore, when a certain application of the smart television needs to be configured, whether a configuration file corresponding to the smart television application which needs to be configured currently is stored in the smart television is judged. And if the configuration file corresponding to the intelligent television application is judged to be stored, inquiring the configuration file according to the acquired parameter information of the intelligent television, and acquiring the configuration item corresponding to the parameter information of the intelligent television. And if the configuration file corresponding to the smart television application is not stored, displaying preset response information on a display screen of the smart television. For example, custom default information is displayed.
For example, taking website information as an example, first, it is determined whether a corresponding configuration file area. Json, if the corresponding configuration file area is not stored, displaying preset response information, such as a self-defined default value. And if the corresponding configuration file area.json is stored, further inquiring and judging whether the analysis keyword exists in the configuration file area.json or not according to the analysis keyword (such as network). Json displays a self-defined default value if the analysis keyword does not exist in the configuration file area; if the analysis keyword exists in the configuration file area.json, obtaining the corresponding matches information under the analysis keyword in the configuration file area.json, and obtaining parameter information of the intelligent television, such as country (county), area (area), brand (product), and the like according to the matches information.
Specifically, a string variable return value of the StringBuffer type is created in advance, and an array variable keywords is defined in advance. Storing the matches information into an array variable keywords by using @ as a separator, traversing the keyword array, judging whether a country (country) keyword exists in the keyword array, and if not, not performing response processing; if the value exists, acquiring the count information set by the smart television, adding the count information into a return value variable, and adding an @ delimiter, such as the following codes:
returnValue.append(country).append("@");
when the count information is detected, continuously judging whether the keywords of the region (area) exist in the keyword array, and if not, not performing response processing; if yes, acquiring area information set by the smart television, adding the area information into a return value variable, and adding an @ delimiter, such as the following codes:
returnValue.append(area).append("@");
when the area information is detected, continuously judging whether a brand (product) keyword exists in the keywords array, and if not, not performing response processing; if the product exists, obtaining product information set by the smart television, adding the product information into a return value variable, and adding an @ delimiter, such as the following codes:
returnValue.append(product).append("@");
then, the return value variable is stripped of the last delimiter @, because the mathes information in the configuration file area json is not followed by the @ delimiter, as the following code:
returnValue.deleteCharAt(returnValue.length()-1);
and then, obtaining patterns and pattern information under the patterns, and judging whether the parameter information of the smart television is matched with the pattern information. If the configuration items do not match, namely the configuration items corresponding to the parameter information of the intelligent television do not exist, default value information of default in the configuration file area. And if the parameter information of the smart television is matched with the parameter information of the smart television, returning return value variable information.
It can be understood that other configurations of the smart television, such as a language list, a channel searching interface, and the like, are similar to the configuration of the website information, and are not described herein again.
According to the scheme provided by the embodiment, whether a configuration item corresponding to the parameter information of the smart television exists is judged by inquiring a preset configuration file, and if the configuration item corresponding to the parameter information of the smart television exists, the configuration item is acquired and corresponding configuration information is displayed; if the configuration item corresponding to the parameter information of the smart television does not exist, default value information in the configuration file is displayed, and therefore, no matter whether the corresponding configuration item exists in the configuration file or not, relevant information can be displayed, and user experience is improved.
The invention further provides a configuration device of the intelligent television.
Referring to fig. 3, fig. 3 is a functional module schematic diagram of a configuration apparatus of an intelligent television according to a first embodiment of the present invention.
It should be emphasized that the functional module diagram shown in fig. 3 is only an exemplary diagram of a preferred embodiment, and those skilled in the art can easily add new functional modules around the functional modules of the configuration device of the smart tv shown in fig. 3; the names of the functional modules are self-defined names which are only used for assisting in understanding the program functional blocks of the configuration device of the intelligent television and are not used for limiting the technical scheme of the invention.
In this embodiment, the configuration apparatus of the smart television includes:
the acquisition module 10 is used for acquiring parameter information of the smart television;
the query module 20 is configured to query a preset configuration file to obtain configuration items corresponding to the parameter information, where the configuration file includes multiple configuration items, and different configuration items correspond to different parameter information;
with the development of the times, the smart television becomes an indispensable device in daily life of users. The configuration of the smart televisions for different countries, different regions and different brands is different, for example, the configuration of the language list corresponding to the smart television is different for different countries; for another example, for different areas, the channel searching systems corresponding to the smart television are configured differently. Therefore, in order to meet the requirements of various different smart televisions (smart televisions with different parameter information such as country, region, brand, and the like), related integration personnel need to configure a plurality of corresponding configuration files for the smart televisions with different parameter information, and select a matched configuration file to configure when configuring the smart televisions, so that the operation is complex, and the configuration efficiency of the smart televisions is low.
In order to improve the configuration efficiency of the smart television, in this embodiment, a unified set of optimized configuration files is implemented, which have strong compatibility and can meet the configuration requirements of each platform, each region, and each country on the smart television, thereby reducing the workload and the error rate of the integrators and improving the configuration efficiency. Specifically, the configuration device of the smart television further includes:
the configuration module is used for configuring a configuration file corresponding to the intelligent television application, and the configuration file comprises configuration items corresponding to various parameter information;
and the loading module is used for loading the configuration file into the intelligent television application.
In this embodiment, the configuration module configures a unified configuration file corresponding to the smart television application in advance according to different configuration requirements of each platform, each region, and each country for the smart television application, where the configuration file includes a plurality of configuration items, and each configuration item corresponds to different smart television parameter information. The parameter information includes information such as an area (area), a country (country), a brand (product) and the like corresponding to the smart television. For example, taking a language list as an example, the configuration file includes a plurality of different configuration items such as a language list configuration item corresponding to an EU (european) area, a language list configuration item corresponding to an AU (australia) area, a language list configuration item corresponding to an LA (ramee) area, and a language list configuration item corresponding to an NA (north american) area.
For example, in the case of configuring website information, since website information to be displayed is different for different regions, different countries, and different brands of smart televisions, the website information may be configured as follows:
Figure BDA0001200289280000161
Figure BDA0001200289280000171
as another example, for the language list configuration example, in different areas, such as EU (european) area, AU (australia) area, LA (ramee) area, NA (north america) area, and the like, the language list required by the user is different, and the language list may be configured as follows:
Figure BDA0001200289280000172
Figure BDA0001200289280000181
for another example, for an example of configuring the search interface, different countries have different requirements for the search interface, and some countries have special requirements for the search interface (for example, some specific information needs to be displayed), for example, for more than 2 cable operators, the search interface may be configured as follows:
Figure BDA0001200289280000182
Figure BDA0001200289280000191
Figure BDA0001200289280000201
wherein, DVBCOperator configures 'UPC' and 'other' for name under return value.
For the channel searching interface configuration of other countries, the channel searching interface can be configured as follows:
Figure BDA0001200289280000202
Figure BDA0001200289280000211
each intelligent television application corresponds to a uniform configuration file, each configuration file comprises a plurality of configuration items corresponding to a plurality of parameter information of the intelligent television, and after the configuration module configures the configuration file corresponding to the intelligent television application, the loading module loads the configuration file into the corresponding intelligent television application.
Because the configuration requirements of each platform, each region, and each country for the smart television are different, when the smart television needs to be configured, the obtaining module 10 first obtains the parameter information of the smart television, that is, obtains the parameter information of the region, the country, the brand, and the like corresponding to the smart television. Optionally, the obtaining module 10 calls an interface preset in the smart television to obtain the parameter information of the smart television.
After the obtaining module 10 obtains the parameter information of the smart television, the querying module 20 queries a pre-configured configuration file according to the parameter information, and obtains a configuration item corresponding to the parameter information of the smart television. Specifically, since the configuration file is stored in the json format, the loading module needs to load the configuration file into an input stream, convert the input stream into a character type, analyze the configuration file in the character type format to obtain corresponding configuration items, and obtain the configuration items corresponding to the parameter information of the smart television from the configuration items.
For example, if the obtaining module 10 obtains that the area corresponding to the smart television is the EU area, the querying module 20 queries a pre-configured configuration file according to the area corresponding to the smart television, and obtains a language list configuration item corresponding to the EU area; if the obtaining module 10 obtains that the area corresponding to the smart television is the LA area, the query module 20 queries a pre-configured configuration file according to the area corresponding to the smart television, and obtains a language list configuration item corresponding to the LA area; if the area corresponding to the smart television acquired by the acquisition module 10 is an AU area, the query module 20 queries a pre-configured configuration file according to the area corresponding to the smart television, and acquires a language list configuration item corresponding to the AU area.
And the display module 30 is configured to display corresponding configuration information on a display screen of the smart television according to the acquired configuration item, so as to execute a corresponding configuration operation according to the configuration information.
After the configuration item corresponding to the parameter information of the smart television is acquired, the display module 30 displays the corresponding configuration information on the display screen of the smart television according to the configuration item. For example, if the area corresponding to the smart television is the EU area, the display module 30 displays a language list corresponding to the EU area on the display screen of the smart television; if the area corresponding to the smart television is an LA area, the display module 30 displays a language list corresponding to the LA area on the display screen of the smart television; if the area corresponding to the smart television is an AU area, the display module 30 displays a language list corresponding to the AU area on the display screen of the smart television.
Further, the configuration device of the smart television further includes:
and the processing module is used for carrying out corresponding configuration on the intelligent television application according to the configuration information when a configuration instruction is received.
After the display module 30 displays the corresponding configuration information on the display screen of the smart television, an integrator or a general user can know the corresponding configuration information of the smart television by looking at the display screen. If the integration personnel or the common user wants to configure the intelligent television, corresponding configuration operation can be executed, and a corresponding configuration instruction is triggered. When the configuration instruction is received, the intelligent television of the processing module carries out corresponding configuration on the application of the intelligent television according to the configuration information currently displayed on the display screen. For example, according to the displayed language list, one language is selected from the language list and set as the current configuration language of the smart television.
According to the scheme provided by this embodiment, a corresponding configuration file is configured for the smart television in advance, where the configuration file includes configuration items corresponding to various different parameter information of the smart television, when the smart television needs to be configured, the obtaining module 10 first obtains the parameter information of the smart television, the querying module 20 queries a preset configuration file to obtain the configuration item corresponding to the parameter information of the smart television, and then the display module 30 displays corresponding configuration information on a display screen of the smart television according to the obtained configuration item to perform corresponding configuration operation according to the configuration information. The configuration file comprises the corresponding configuration items under various parameter information of the intelligent television, so that the configuration file can meet the requirements of the intelligent television with various different parameter information, the operation that an integration worker needs to configure a corresponding configuration file for the intelligent television with each parameter information is omitted, and the configuration efficiency of the intelligent television is improved.
Further, as shown in fig. 4, a second embodiment of the configuration apparatus for a smart television according to the present invention is proposed based on the first embodiment, in this embodiment, the query module 20 includes:
the query unit 21 is configured to query a preset configuration file, and determine whether a configuration item corresponding to the parameter information exists;
an obtaining unit 22, configured to obtain the configuration item if the configuration item corresponding to the parameter information exists.
Since the configuration file is also continuously updated, and there is a possibility that configuration items corresponding to some parameter information are not currently configured in the configuration file, in this embodiment, after the obtaining module 10 obtains the parameter information of the smart television, the querying unit 21 queries a preset configuration file, and determines whether there is a configuration item corresponding to the parameter information. When it is determined that the configuration item corresponding to the parameter information exists, the obtaining unit 22 obtains the queried configuration item corresponding to the parameter information. Then, the display module 30 displays corresponding configuration information on the display screen of the smart television according to the acquired configuration item.
Further, in this embodiment, the display module 30 is further configured to:
and if the configuration item corresponding to the parameter information does not exist, displaying default value information in the configuration file.
Further, in this embodiment, the configuration file includes default value information configured in advance, in addition to the configuration items corresponding to the parameter information. When the querying unit 21 queries a preset configuration file and determines that no configuration item corresponding to the parameter information of the smart television exists in the configuration file, the display module 30 displays default value information in the configuration file on a display screen of the smart television.
Further, in this embodiment, the configuration apparatus of the smart television further includes:
the judging module is used for judging whether a configuration file corresponding to the smart television application is stored in the smart television;
the query module 20 is configured to query the configuration file to obtain a configuration item corresponding to the parameter information if the configuration file corresponding to the smart television application is stored in the smart television;
the display module 30 is further configured to display preset response information if the configuration file corresponding to the smart television application is not stored in the smart television.
Each smart television application corresponds to one configuration file, and the smart television may only store the configuration files corresponding to a part of the smart television applications, but not store the configuration files corresponding to some other smart television applications. Therefore, when a certain application of the smart television needs to be configured, the judging module firstly judges whether a configuration file corresponding to the smart television application which needs to be configured currently is stored in the smart television. If the configuration file corresponding to the smart television application is determined to be stored, the query module 20 queries the configuration file according to the acquired parameter information of the smart television, and acquires a configuration item corresponding to the parameter information of the smart television. If the configuration file corresponding to the smart television application is not stored, the display module 30 displays preset response information on a display screen of the smart television. For example, custom default information is displayed.
For example, taking the website information as an example, the determining module first determines whether the corresponding configuration file area. Json, if the corresponding configuration file area is not stored, the display module 30 displays preset response information, such as a custom default value. If the corresponding configuration file area.json is stored, the query module 20 further queries and judges whether the analysis keyword exists in the configuration file area.json according to the analysis keyword (such as network). Json, if the parsing keyword does not exist in the configuration file area, the display module 30 displays a self-defined default value; if the analysis keyword exists in the configuration file area.json, obtaining the corresponding matches information under the analysis keyword in the configuration file area.json, and obtaining parameter information of the intelligent television, such as country (county), area (area), brand (product), and the like according to the matches information.
Specifically, a string variable return value of the StringBuffer type is created in advance, and an array variable keywords is defined in advance. Storing the matches information into an array variable keywords by using @ as a separator, traversing the keyword array, judging whether a country (country) keyword exists in the keyword array, and if not, not performing response processing; if the value exists, acquiring the count information set by the smart television, adding the count information into a return value variable, and adding an @ delimiter, such as the following codes:
returnValue.append(country).append("@");
when the count information is detected, continuously judging whether the keywords of the region (area) exist in the keyword array, and if not, not performing response processing; if yes, acquiring area information set by the smart television, adding the area information into a return value variable, and adding an @ delimiter, such as the following codes:
returnValue.append(area).append("@");
when the area information is detected, continuously judging whether a brand (product) keyword exists in the keywords array, and if not, not performing response processing; if the product exists, obtaining product information set by the smart television, adding the product information into a return value variable, and adding an @ delimiter, such as the following codes:
returnValue.append(product).append("@");
then, the return value variable is stripped of the last delimiter @, because the mathes information in the configuration file area json is not followed by the @ delimiter, as the following code:
returnValue.deleteCharAt(returnValue.length()-1);
and then, obtaining patterns and pattern information under the patterns, and judging whether the parameter information of the smart television is matched with the pattern information. If the configuration items do not match, namely the configuration items corresponding to the parameter information of the intelligent television do not exist, default value information of default in the configuration file area. And if the parameter information of the smart television is matched with the parameter information of the smart television, returning return value variable information.
It can be understood that other configurations of the smart television, such as a language list, a channel searching interface, and the like, are similar to the configuration of the website information, and are not described herein again.
In the scheme proposed in this embodiment, a preset configuration file is queried by the querying unit 21, and whether a configuration item corresponding to the parameter information of the smart television exists is determined, if the configuration item corresponding to the parameter information of the smart television exists, the obtaining unit 22 obtains the configuration item, and the display module 30 displays corresponding configuration information according to the configuration item; if the configuration item corresponding to the parameter information of the smart television does not exist, the display module 30 displays default value information in the configuration file, and therefore, no matter whether the configuration file has the corresponding configuration item or not, the display module 30 displays relevant information, and therefore user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a smart tv to execute the method according to the embodiments of the present invention.
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 (10)

1. A configuration method of an intelligent television is characterized by comprising the following steps:
configuring a configuration file corresponding to the intelligent television application, wherein the configuration file comprises configuration items corresponding to various parameter information;
loading the configuration file into the smart television application;
acquiring parameter information of the intelligent television;
querying a preset configuration file to obtain configuration items corresponding to the parameter information, wherein the configuration file comprises a plurality of configuration items, different configuration items correspond to different parameter information, and the parameter information comprises region, country and brand information corresponding to the smart television;
and displaying corresponding configuration information on a display screen of the intelligent television according to the acquired configuration items so as to execute corresponding configuration operation according to the configuration information.
2. The method for configuring an intelligent television according to claim 1, wherein after the step of displaying the corresponding configuration information on the display screen of the intelligent television according to the acquired configuration items, the method further comprises:
and when a configuration instruction is received, carrying out corresponding configuration on the intelligent television application according to the configuration information.
3. The method for configuring an intelligent television according to claim 1, wherein the step of querying a preset configuration file to obtain the configuration item corresponding to the parameter information comprises:
inquiring a preset configuration file, and judging whether a configuration item corresponding to the parameter information exists or not;
and if the configuration item corresponding to the parameter information exists, acquiring the configuration item.
4. The method for configuring an intelligent television according to claim 3, wherein the configuration file further includes default value information, and after the step of querying a preset configuration file and determining whether a configuration item corresponding to the parameter information exists, the method further includes:
and if the configuration item corresponding to the parameter information does not exist, displaying default value information in the configuration file.
5. The configuration method of the smart tv as claimed in claim 3 or 4, wherein before the step of querying the preset configuration file and obtaining the configuration item corresponding to the parameter information, the method further comprises:
judging whether a configuration file corresponding to the smart television application is stored in the smart television;
if the configuration file corresponding to the intelligent television application is stored in the intelligent television, executing the step of inquiring the configuration file and acquiring the configuration item corresponding to the parameter information;
and if the configuration file corresponding to the smart television application is not stored in the smart television, displaying preset response information.
6. A configuration device of an intelligent television is characterized in that the configuration device of the intelligent television comprises:
the configuration module is used for configuring a configuration file corresponding to the intelligent television application, and the configuration file comprises configuration items corresponding to various parameter information;
the loading module is used for loading the configuration file into the smart television application;
the intelligent television comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring parameter information of the intelligent television, and the parameter information comprises region, country and brand information corresponding to the intelligent television;
the query module is used for querying a preset configuration file and acquiring configuration items corresponding to the parameter information, wherein the configuration file comprises a plurality of configuration items, and different configuration items correspond to different parameter information;
and the display module is used for displaying corresponding configuration information on a display screen of the intelligent television according to the acquired configuration items so as to execute corresponding configuration operation according to the configuration information.
7. The intelligent television configuration device according to claim 6, wherein the intelligent television configuration device further comprises:
and the processing module is used for carrying out corresponding configuration on the intelligent television application according to the configuration information when a configuration instruction is received.
8. The intelligent television configuration device according to claim 6, wherein the query module comprises:
the query unit is used for querying a preset configuration file and judging whether a configuration item corresponding to the parameter information exists or not;
and the obtaining unit is used for obtaining the configuration item if the configuration item corresponding to the parameter information exists.
9. The configuration apparatus of the smart tv as claimed in claim 8, wherein the configuration file further includes default information, and the display module is further configured to:
and if the configuration item corresponding to the parameter information does not exist, displaying default value information in the configuration file.
10. The configuration apparatus of the smart tv as claimed in claim 8 or 9, wherein the configuration apparatus of the smart tv further comprises:
the judging module is used for judging whether a configuration file corresponding to the smart television application is stored in the smart television;
the query module is used for querying the configuration file to obtain the configuration item corresponding to the parameter information if the configuration file corresponding to the smart television application is stored in the smart television;
the display module is further configured to display preset response information if the configuration file corresponding to the smart television application is not stored in the smart television.
CN201611270982.1A 2016-12-30 2016-12-30 Configuration method and device of smart television Active CN106604109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611270982.1A CN106604109B (en) 2016-12-30 2016-12-30 Configuration method and device of smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611270982.1A CN106604109B (en) 2016-12-30 2016-12-30 Configuration method and device of smart television

Publications (2)

Publication Number Publication Date
CN106604109A CN106604109A (en) 2017-04-26
CN106604109B true CN106604109B (en) 2020-12-08

Family

ID=58582313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611270982.1A Active CN106604109B (en) 2016-12-30 2016-12-30 Configuration method and device of smart television

Country Status (1)

Country Link
CN (1) CN106604109B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733708B (en) * 2017-10-16 2020-09-18 平安科技(深圳)有限公司 Equipment parameter configuration method and device, computer equipment and storage medium
CN108111906B (en) * 2017-12-26 2022-01-04 深圳Tcl数字技术有限公司 Channel searching method and device and computer readable storage medium
CN109361943A (en) * 2018-11-30 2019-02-19 深圳创维数字技术有限公司 Multiplexing method, device and the storage medium of remote controler
CN109413472A (en) * 2018-12-06 2019-03-01 北京四达时代软件技术股份有限公司 A kind of configuration method and system of STB terminal
CN113268282A (en) * 2021-05-31 2021-08-17 上海数禾信息科技有限公司 Management method and management system for distributed system configuration items

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244746A (en) * 2011-04-29 2011-11-16 深圳市康冠技术有限公司 Television parameter setting method, exporting method and television
CN102882750A (en) * 2012-09-18 2013-01-16 华为软件技术有限公司 IPTV-based network access method and device
CN103024594A (en) * 2012-12-20 2013-04-03 广州视源电子科技股份有限公司 Method for managing digital television terminal area and digital television terminal
CN104378694A (en) * 2014-11-13 2015-02-25 康佳集团股份有限公司 Parameter configuration method and system of smart televisions
CN104822089A (en) * 2015-04-07 2015-08-05 深圳创维数字技术有限公司 Installation guidance method and device for set top box of television

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244746A (en) * 2011-04-29 2011-11-16 深圳市康冠技术有限公司 Television parameter setting method, exporting method and television
CN102882750A (en) * 2012-09-18 2013-01-16 华为软件技术有限公司 IPTV-based network access method and device
CN103024594A (en) * 2012-12-20 2013-04-03 广州视源电子科技股份有限公司 Method for managing digital television terminal area and digital television terminal
CN104378694A (en) * 2014-11-13 2015-02-25 康佳集团股份有限公司 Parameter configuration method and system of smart televisions
CN104822089A (en) * 2015-04-07 2015-08-05 深圳创维数字技术有限公司 Installation guidance method and device for set top box of television

Also Published As

Publication number Publication date
CN106604109A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN106604109B (en) Configuration method and device of smart television
CN108256067B (en) Method, device and equipment for calculating similarity of house sources and storage medium
CN110457363B (en) Query method, device and storage medium based on distributed database
CN106406844B (en) Method and device for realizing public number menu of communication interaction platform
CN102298614A (en) Method for determining collection category of page collection information and device and equipment
CN108021598B (en) Page extraction template matching method and device and server
WO2018054228A1 (en) Method of identifying type of terminal apparatus, and router
CN108009296B (en) Hbase-based SQL query method, system and related device
CN109710571B (en) File analysis method, device and storage medium
CN109656951A (en) Method and inquiry system based on expression formula inquiry data
CN113312374A (en) Data query method, device, equipment and storage medium
US20150301994A1 (en) Non-transitory computer readable medium, information processing apparatus, and information processing method
CN113688183A (en) Multi-type data source extraction method, system, terminal equipment and storage medium
CN104461618B (en) The method and device of load-on module
CN104765747B (en) Webpage processing method and device
CN106484721B (en) Intelligent search system and method
CN106407322A (en) Quick file searching method based on Android system
CN111090651A (en) Data source processing method, device and equipment and readable storage medium
KR102023999B1 (en) Method and apparatus for generating web pages
WO2014146230A1 (en) Method and apparatus for querying resources through search field
CN116089462A (en) Data query method, device, electronic equipment and storage medium
CN109298862B (en) Customized data value acquisition method and device and storage medium
CN114048381A (en) Product recommendation method, system, storage medium and electronic device
CN113687901A (en) Interface display method and interface display device
CN113596795A (en) Equipment binding method and device and computer readable storage medium

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