CN111722867A - A software configuration method, storage medium and smart TV - Google Patents

A software configuration method, storage medium and smart TV Download PDF

Info

Publication number
CN111722867A
CN111722867A CN201910223213.3A CN201910223213A CN111722867A CN 111722867 A CN111722867 A CN 111722867A CN 201910223213 A CN201910223213 A CN 201910223213A CN 111722867 A CN111722867 A CN 111722867A
Authority
CN
China
Prior art keywords
software
smart
area information
resources
area
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.)
Pending
Application number
CN201910223213.3A
Other languages
Chinese (zh)
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 CN201910223213.3A priority Critical patent/CN111722867A/en
Publication of CN111722867A publication Critical patent/CN111722867A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种软件配置方法、存储介质及智能电视,所述方法包括:当智能电视开机时,读取预先配置的区域信息;根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源;配置查找到的软件资源,以完成软件配置。本发明通过将不同销售区域对应的软件程序配置于同一安装包内,并在智能电视装置软件时根据智能电视对应的区域信息选取软件资源,并配置软件资源以完成软件装配,这样降低软件版本发布及升级管理成本,降低了智能电视的生产成本。

Figure 201910223213

The invention discloses a software configuration method, a storage medium and a smart TV. The method includes: when the smart TV is turned on, reading pre-configured area information; searching for all information in a preset software installation package according to the area information software resources corresponding to the area information; configure the found software resources to complete the software configuration. In the present invention, software programs corresponding to different sales areas are arranged in the same installation package, and software resources are selected according to the area information corresponding to the smart TV when the software of the smart TV is installed, and the software resources are configured to complete the software assembly, thus reducing the release of software versions. and upgrade management costs, reducing the production cost of smart TVs.

Figure 201910223213

Description

一种软件配置方法、存储介质及智能电视A software configuration method, storage medium and smart TV

技术领域technical field

本发明涉及智能电视技术领域,特别涉及一种软件配置方法、存储介质及智能电视。The invention relates to the technical field of smart TVs, in particular to a software configuration method, a storage medium and a smart TV.

背景技术Background technique

随着智能电视的不断发,智能电视的销售区域也在呈全球化发展。而同一款智能电视产品要适应多个不同的销售区域,各销售区域对硬件的基本要求是没有太多差别的,更多的差异在于各个市场需要的差异化的应用。那么,为了让一款产品适配不同的销售区域,目前普遍采用的方法是为不同区域的产品单独发布差异化的软件。这种做法要求企业在软件的发布、管理以及迭代升级等环节投入大量的人力物力资源,并且产品面向的目标市场越多,需要投入的资源也会同比增大,软件的版本管理难度也会急剧上升。With the continuous development of smart TVs, the sales area of smart TVs is also developing globally. The same smart TV product needs to adapt to multiple different sales areas. The basic requirements for hardware in each sales area are not much different. The more difference lies in the differentiated applications required by each market. Then, in order to adapt a product to different sales areas, the currently commonly used method is to release differentiated software separately for products in different areas. This approach requires enterprises to invest a lot of human and material resources in software release, management, and iterative upgrades, and the more target markets the product faces, the more resources that need to be invested, and the more difficult the software version management will be. rise.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题在于,针对现有技术的不足,提供一种软件配置方法、存储介质及智能电视。The technical problem to be solved by the present invention is to provide a software configuration method, a storage medium and a smart TV in view of the deficiencies of the prior art.

本发明所采用的技术方案如下:The technical scheme adopted in the present invention is as follows:

一种软件配置方法,其包括:A software configuration method, comprising:

当智能电视开机时,读取预先配置的区域信息;When the smart TV is turned on, read the pre-configured area information;

根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源;Find the software resource corresponding to the area information in the preset software installation package according to the area information;

配置查找到的软件资源,以完成软件配置。Configure the found software resources to complete the software configuration.

所述软件配置方法,其中,所述当智能电视开机时,读取预先配置的区域信息具体包括:The software configuration method, wherein, when the smart TV is turned on, reading the pre-configured area information specifically includes:

当智能电视开机时,判断所述智能电视是否为首次开机;When the smart TV is turned on, determine whether the smart TV is turned on for the first time;

当所述智能电视为首次开机时,提取区域信息的存储地址,并根据所述存储地址读取所述区域信息。When the smart TV is powered on for the first time, the storage address of the area information is extracted, and the area information is read according to the storage address.

所述软件配置方法,其中,所述当智能电视开机时,读取预先配置的区域信息之前包括:The software configuration method, wherein, when the smart TV is powered on, before reading the preconfigured area information, it includes:

获取智能电视对应的所有软件资源,并根据获取到的所有软件资源生成软件安装包。Obtain all software resources corresponding to the smart TV, and generate a software installation package according to all the obtained software resources.

所述软件配置方法,其中,所述获取智能电视对应的所有软件资源,并根据获取到的所有软件资源生成软件安装包具体包括:The software configuration method, wherein the acquiring all software resources corresponding to the smart TV, and generating a software installation package according to all the acquired software resources specifically includes:

当智能电视处于出厂配置阶段时,获取其对应的所有软件资源,并获取各软件资源对应的销售区域;When the smart TV is in the factory configuration stage, obtain all its corresponding software resources, and obtain the sales area corresponding to each software resource;

根据所述销售区域将软件资源进行分类,并根据分类后的软件资源生成软件安装包。The software resources are classified according to the sales area, and a software installation package is generated according to the classified software resources.

所述软件配置方法,其中,所述方法还包括:The software configuration method, wherein the method further includes:

获取所述智能电视的生产批次号,并根据所述生产批次号确定所述智能电视对应的区域信息;Obtain the production batch number of the smart TV, and determine the area information corresponding to the smart TV according to the production batch number;

将所述区域信息存储于预设区域,以使得智能电视携带区域信息。The area information is stored in a preset area, so that the smart TV carries the area information.

所述软件配置方法,其中,所述将所述区域信息存储于预设区域,以使得智能电视携带区域信息具体为:The software configuration method, wherein the storing the area information in a preset area, so that the smart TV carries the area information specifically:

将所述区域信息设置于只读状态并将其存储预设区域,以使得智能电视携带区域信息。The area information is set in a read-only state and stored in a preset area, so that the smart TV carries the area information.

所述软件配置方法,其中,所述根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源具体包括:The software configuration method, wherein the searching for the software resource corresponding to the area information in the preset software installation package according to the area information specifically includes:

根据所述区域信息在预设的软件安装包查找其对应的软件资源,并判断所述软件安装包内是否配置公共资源;Find the corresponding software resources in the preset software installation package according to the area information, and determine whether public resources are configured in the software installation package;

当配置公共资源时,将所述公共资源与所述区域信息对应的软件资源相关联。When configuring the public resource, associate the public resource with the software resource corresponding to the area information.

所述软件配置方法,其中,所述配置查找到的软件资源,以完成软件配置具体为:The software configuration method, wherein the configuration of the found software resources to complete the software configuration is specifically:

配置查找到的软件资源以及与其关联的公共资源,以完成软件配置。Configure the found software resources and their associated public resources to complete the software configuration.

一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任一所述的软件配置方法中的步骤。A computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement any of the software configurations described above steps in the method.

一种智能电视,其包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;A smart TV, comprising: a processor, a memory and a communication bus; a computer-readable program executable by the processor is stored on the memory;

所述通信总线实现处理器和存储器之间的连接通信;The communication bus implements connection communication between the processor and the memory;

所述处理器执行所述计算机可读程序时实现如上任一所述的软件配置方法中的步骤。When the processor executes the computer-readable program, the steps in any of the above software configuration methods are implemented.

有益效果:与现有技术相比,本发明提供了一种软件配置方法、存储介质及智能电视,所述方法包括:当智能电视开机时,读取预先配置的区域信息;根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源;配置查找到的软件资源,以完成软件配置。本发明通过将不同销售区域对应的软件程序配置于同一安装包内,并在智能电视装置软件时根据智能电视对应的区域信息选取软件资源,并配置软件资源以完成软件装配,这样降低软件版本发布及升级管理成本,降低了智能电视的生产成本。Beneficial effects: Compared with the prior art, the present invention provides a software configuration method, a storage medium and a smart TV. The method includes: when the smart TV is turned on, reading pre-configured area information; according to the area information Find the software resource corresponding to the area information in the preset software installation package; configure the found software resource to complete the software configuration. In the present invention, software programs corresponding to different sales areas are arranged in the same installation package, and software resources are selected according to the area information corresponding to the smart TV when the software of the smart TV is installed, and the software resources are configured to complete the software assembly, thus reducing the release of software versions. and upgrade management costs, reducing the production cost of smart TVs.

附图说明Description of drawings

图1为本发明提供的软件配置方法的一个实施例的流程图。FIG. 1 is a flowchart of an embodiment of a software configuration method provided by the present invention.

图2为本发明提供的软件配置方法的一个实施例中步骤S20的流程图。FIG. 2 is a flowchart of step S20 in an embodiment of the software configuration method provided by the present invention.

图3为本发明提供的一种智能电视的一个实施例的结构原理图。FIG. 3 is a schematic structural diagram of an embodiment of a smart TV provided by the present invention.

具体实施方式Detailed ways

本发明提供一种软件配置方法、存储介质及智能电视,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a software configuration method, a storage medium and a smart TV. In order to make the purpose, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。 应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof. It will be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in a general dictionary, should be understood to have meanings consistent with their meanings in the context of the prior art and, unless specifically defined as herein, should not be interpreted in idealistic or overly formal meaning to explain.

下面结合附图,通过对实施例的描述,对发明内容作进一步说明。In the following, the content of the invention will be further illustrated by describing the embodiments with reference to the accompanying drawings.

本实施例提供了一种软件配置方法,如图1所示,所述方法包括:This embodiment provides a software configuration method, as shown in FIG. 1 , the method includes:

S10、当智能电视开机时,读取预先配置的区域信息。S10. When the smart TV is turned on, read the preconfigured area information.

具体地,所述区域信息为预先存储于智能电视内,用于表示智能电视所对应的销售区域。其中,所述区域信息是在智能电视处于生产阶段时,生产厂商根据智能电视对应的生产批次号确定并烧录至智能电视的预设区域内的。Specifically, the area information is pre-stored in the smart TV to indicate the sales area corresponding to the smart TV. Wherein, the area information is determined by the manufacturer according to the production batch number corresponding to the smart TV when the smart TV is in the production stage, and is burned into the preset area of the smart TV.

示例性地,所述当智能电视开机时,读取预先配置的区域信息之前还包括:Exemplarily, when the smart TV is powered on, before reading the preconfigured area information, the method further includes:

获取所述智能电视的生产批次号,并根据所述生产批次号确定所述智能电视对应的区域信息;Obtain the production batch number of the smart TV, and determine the area information corresponding to the smart TV according to the production batch number;

将所述区域信息存储于预设区域,以使得智能电视携带区域信息。The area information is stored in a preset area, so that the smart TV carries the area information.

具体地,所述区域信息为智能电视处于生产阶段根据其对应的生产批次号生成并存储于智能电视内的。也就是说,智能电视在生产阶段获取其对应的生产批次号,根据所述生产批次号确定所述生产批次号对应的销售区域。在获取到销售区域后,获取所述销售区域的区域标识,并将所述区域标识作为区域信息存储于预设区域。Specifically, the area information is generated and stored in the smart TV according to its corresponding production batch number when the smart TV is in the production stage. That is to say, the smart TV obtains its corresponding production batch number in the production stage, and determines the sales area corresponding to the production batch number according to the production batch number. After the sales area is acquired, the area identifier of the sales area is acquired, and the area identifier is stored in a preset area as area information.

同时在本实施例中,为了提高区域信息的安全性,所述区域信息以只读方式存储于预设区域。相应的,所述将所述区域信息存储于预设区域,以使得智能电视携带区域信息具体为:将所述区域信息设置于只读状态并将其存储预设区域,以使得智能电视携带区域信息。其中,所述预设区域可以为不会被升级、重置等操作覆写的分区。此外,所述区域信息的只读属性可以根据预设指令进行修改,即智能电视预先配置预设指令,当智能电视接收到预设指令时,根据所述预设指令将所述区域信息的状态修改为可写状态,采用接收到的新区域信息更新所述区域信息。同时,当智能点电视执行区域信息更新后,自动将区域信息的属性配置为只读属性,这样当智能电视更换销售区域时,可以更新智能电视配置的区域信息,使得根据区域信息配置的软件可以满足销售区域的需求。Meanwhile, in this embodiment, in order to improve the security of the area information, the area information is stored in the preset area in a read-only manner. Correspondingly, the storing the area information in the preset area so that the smart TV can carry the area information is specifically: setting the area information in a read-only state and storing it in the preset area, so that the smart TV can carry the area information. information. The preset area may be a partition that will not be overwritten by operations such as upgrade and reset. In addition, the read-only attribute of the area information can be modified according to the preset instruction, that is, the smart TV is preconfigured with the preset instruction, and when the smart TV receives the preset instruction, the state of the area information is changed according to the preset instruction. Modified to a writable state, the area information is updated with the new area information received. At the same time, when the smart TV performs the regional information update, it automatically configures the properties of the regional information as read-only properties, so that when the smart TV changes the sales area, the regional information configured by the smart TV can be updated, so that the software configured according to the regional information can Meet the needs of the sales area.

此外,为了避免软件与使用区域不匹配的问题,当智能电视获取到区域信息后,可以获取其所处的地域信息,当获取到地域信息时,将所述地域信息与区域信息进行比对,当两者一致时,根据所述区域信息确定软件资源;当两者不一致时,提示用户销售区域与使用区域不一致,并根据用户的选择确定区域信息。当然,当未获取到智能电视所处的地域信息时,根据所述区域信息确定软件资源。In addition, in order to avoid the problem that the software does not match the area of use, when the smart TV obtains the regional information, it can obtain the regional information where it is located, and when the regional information is obtained, the regional information is compared with the regional information, When the two are consistent, the software resource is determined according to the area information; when the two are inconsistent, the user is prompted that the sales area is inconsistent with the usage area, and the area information is determined according to the user's selection. Of course, when the area information where the smart TV is located is not obtained, the software resource is determined according to the area information.

进一步,在本发明的一个实施例中,所述当智能电视开机时,读取预先配置的区域信息具体包括:Further, in an embodiment of the present invention, when the smart TV is powered on, reading the pre-configured area information specifically includes:

当智能电视开机时,判断所述智能电视是否为首次开机;When the smart TV is turned on, determine whether the smart TV is turned on for the first time;

当所述智能电视为首次开机时,提取区域信息的存储地址,并根据所述存储地址读取所述区域信息。When the smart TV is powered on for the first time, the storage address of the area information is extracted, and the area information is read according to the storage address.

具体地,所述智能电视首次开机说明智能电视需要装载软件资源,而当智能电视非首次开机时,说明智能电视已经完成软件资源的自动配置,此时无需执行获取区域信息的操作,这样可以提高智能电视开机速度。另外,所述存储地址为存储所述区域信息的地址,所述存储地址可以配置于智能电视的配置文件中,当智能电视首次启动时,获取其携带配置文件,通过获取到的配置文件获取区域信息的存储地址,并在所述存储地址对应的存储区域读取所述区域信息。Specifically, when the smart TV is turned on for the first time, it means that the smart TV needs to load software resources, and when the smart TV is not turned on for the first time, it means that the smart TV has completed the automatic configuration of the software resources. Smart TV boot speed. In addition, the storage address is the address for storing the area information, and the storage address can be configured in the configuration file of the smart TV. When the smart TV is started for the first time, the carrying configuration file is obtained, and the area is obtained through the obtained configuration file. information storage address, and read the area information in the storage area corresponding to the storage address.

S20、根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源。S20. Search for a software resource corresponding to the area information in a preset software installation package according to the area information.

具体地,所述软件安装包为预先配置于所述智能电视内,所述软件安装包配置有智能电视对应的所有软件资源。其中,所有软件资源是智能电视处于开发阶段时获取并存储的。所有软件资源为智能电视对应的所有销售区域所需的所有共有软件资源以及各销售区域的定制资源。同时,在获取到所有软件资源后,根据获取到所有软件资源生成统一版本的软件安装包,所述安装包可以适应于智能电视所对应的所有销售区域。也就是说,所述当智能电视开机时,读取预先配置的区域信息之前包括:获取智能电视对应的所有软件资源,并根据获取到的所有软件资源生成软件安装包。Specifically, the software installation package is preconfigured in the smart TV, and the software installation package is configured with all software resources corresponding to the smart TV. Among them, all software resources are acquired and stored when the smart TV is in the development stage. All software resources are all common software resources required by all sales areas corresponding to the smart TV and customized resources of each sales area. Meanwhile, after all software resources are acquired, a unified version of the software installation package is generated according to all the acquired software resources, and the installation package can be adapted to all sales areas corresponding to the smart TV. That is, when the smart TV is powered on, before reading the preconfigured area information, the steps include: acquiring all software resources corresponding to the smart TV, and generating a software installation package according to all the acquired software resources.

进一步,在本发明的一个实施例中,所述获取智能电视对应的所有软件资源,并根据获取到的所有软件资源生成软件安装包具体包括:Further, in an embodiment of the present invention, the acquiring all software resources corresponding to the smart TV, and generating a software installation package according to all the acquired software resources specifically includes:

当智能电视处于出厂配置阶段时,获取其对应的所有软件资源,并获取各软件资源对应的销售区域;When the smart TV is in the factory configuration stage, obtain all its corresponding software resources, and obtain the sales area corresponding to each software resource;

根据所述销售区域将软件资源进行分类,并根据分类后的软件资源生成软件安装包。The software resources are classified according to the sales area, and a software installation package is generated according to the classified software resources.

具体地,所述软件资源与销售区域之间预先建立对应关系,各软件资源携带其对也得销售区域的销售区域标识,并且各销售区域对应的定制软件资源存储于同一存储区域,以便于快速查找。也就是说,当获取到软件资源后,提取所述软件资源中各销售区域的共有软件资源,将获取到共有销售资源划分为公共资源类。再将未属于公共资源类的软件资源按照其对应的销售区域进行划分,并将划分得到的各类软件资源以其对应的销售区域为类名进行存储。其中,各软件资源均携带其对应的销售区域。其中,各销售区域对应的定制软件资源可以包括默认语言、默认输入法、时区信息、硬件配置、功能使能开关、预置应用、预置媒体资源文件等。Specifically, a corresponding relationship is established between the software resources and the sales area in advance, each software resource carries its sales area identifier for the sales area, and the customized software resources corresponding to each sales area are stored in the same storage area, so as to facilitate rapid Find. That is, after the software resources are acquired, the common software resources of each sales area in the software resources are extracted, and the acquired common sales resources are divided into public resource classes. Then, the software resources that do not belong to the public resource class are divided according to their corresponding sales areas, and the various types of software resources obtained from the division are stored with their corresponding sales areas as class names. Among them, each software resource carries its corresponding sales area. The customized software resources corresponding to each sales area may include default language, default input method, time zone information, hardware configuration, function enable switch, preset application, preset media resource file, and the like.

进一步,在本发明的一个实施例中,如图2所示,所述根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源具体包括:Further, in an embodiment of the present invention, as shown in FIG. 2 , the searching for the software resource corresponding to the area information in the preset software installation package according to the area information specifically includes:

S21、根据所述区域信息在预设的软件安装包查找其对应的软件资源,并判断所述软件安装包内是否配置公共资源;S21, searching for its corresponding software resources in a preset software installation package according to the area information, and judging whether public resources are configured in the software installation package;

S22、当配置公共资源时,将所述公共资源与所述区域信息对应的软件资源相关联。S22. When configuring a public resource, associate the public resource with the software resource corresponding to the area information.

具体地,在根据所述销售区域查找其对应的软件资源时,获取到的是所述销售区域对应的定制软件资源,所述智能电视中存储有公共软件资源,从而在获取到销售区域对应的软件资源后,还需要获取智能电视携带公共软件资源。当获取到公共软件资源时,将销售区域的对应的软件资源与公共软件资源相关性,均为所述销售区域对应的软件资源,以保证软件资源配置的正确性以及完整性。Specifically, when searching for the corresponding software resource according to the sales area, what is obtained is the customized software resource corresponding to the sales area, and the smart TV stores public software resources. After the software resources are obtained, it is also necessary to obtain the public software resources carried by the smart TV. When the public software resources are acquired, the correlation between the software resources corresponding to the sales area and the public software resources is the software resources corresponding to the sales area, so as to ensure the correctness and integrity of the configuration of the software resources.

S30、配置查找到的软件资源,以完成软件配置。S30. Configure the found software resources to complete software configuration.

具体地,所述配置查找到的软件资源指的是配置查找到的销售区域对应的软件资源以及公共资源。也就是说,将销售区域对应的软件资源以及公共软件资源作为智能电视的当前软件资源,并装配当前软件资源以完成软件配置,实现了根据统一软件安装包实现不同销售区域的软件安装,这样针对多个区域的产品只需维护一版软件,降低了开发阶段投入的人力、物力资源成本。同时,版本分支减少大幅降低了版本管理的难度和成本,也降低了出问题的风险。Specifically, the software resources found in the configuration refer to software resources and public resources corresponding to the sales areas found in the configuration. That is to say, the software resources corresponding to the sales area and the public software resources are used as the current software resources of the smart TV, and the current software resources are assembled to complete the software configuration, realizing the software installation in different sales areas according to the unified software installation package. Products in multiple regions only need to maintain one version of software, which reduces the cost of human and material resources invested in the development phase. At the same time, the reduction of version branches greatly reduces the difficulty and cost of version management, and also reduces the risk of problems.

基于上述软件配置方法,本发明还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述实施例任一所述的软件配置方法中的步骤Based on the above software configuration method, the present invention also provides a computer-readable storage medium, characterized in that, the computer-readable storage medium stores one or more programs, and the one or more programs can be stored by one or more programs. Each processor is executed to implement the steps in the software configuration method described in any of the foregoing embodiments

基于上述软件配置方法,本发明还提供了一种智能电视,如图3所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。Based on the above software configuration method, the present invention also provides a smart TV, as shown in FIG. 3 , which includes at least one processor 20 ; a display screen 21 ; and a memory 22 , and may also include a communication interface ( Communications Interface) 23 and bus 24. The processor 20 , the display screen 21 , the memory 22 and the communication interface 23 can communicate with each other through the bus 24 . The display screen 21 is set to display a user guide interface preset in the initial setting mode. The communication interface 23 can transmit information. The processor 20 may invoke logic instructions in the memory 22 to perform the methods in the above-described embodiments.

此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器20通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。As a computer-readable storage medium, the memory 22 may be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, ie, implements the methods in the above embodiments.

存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Additionally, memory 22 may include high-speed random access memory, and may also include non-volatile memory. For example, U disk, removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes, or temporary state storage medium.

此外,上述存储介质以及智能电视中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。In addition, the specific process of loading and executing the above-mentioned storage medium and the processor of multiple instructions in the smart TV has been described in detail in the above-mentioned method, and will not be described one by one here.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种软件配置方法,其特征在于,其包括:1. a software configuration method, is characterized in that, it comprises: 当智能电视开机时,读取预先配置的区域信息;When the smart TV is turned on, read the pre-configured area information; 根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源;Find the software resource corresponding to the area information in the preset software installation package according to the area information; 配置查找到的软件资源,以完成软件配置。Configure the found software resources to complete the software configuration. 2.根据权利要求1所述软件配置方法,其特征在于,所述当智能电视开机时,读取预先配置的区域信息具体包括:2. The software configuration method according to claim 1, wherein when the smart TV is turned on, reading the preconfigured area information specifically comprises: 当智能电视开机时,判断所述智能电视是否为首次开机;When the smart TV is turned on, determine whether the smart TV is turned on for the first time; 当所述智能电视为首次开机时,提取区域信息的存储地址,并根据所述存储地址读取所述区域信息。When the smart TV is powered on for the first time, the storage address of the area information is extracted, and the area information is read according to the storage address. 3.根据权利要求1所述软件配置方法,其特征在于,所述当智能电视开机时,读取预先配置的区域信息之前包括:3. The software configuration method according to claim 1, wherein when the smart TV is turned on, before reading the preconfigured area information, the method comprises: 获取智能电视对应的所有软件资源,并根据获取到的所有软件资源生成软件安装包。Obtain all software resources corresponding to the smart TV, and generate a software installation package according to all the obtained software resources. 4.根据权利要求3所述软件配置方法,其特征在于,所述获取智能电视对应的所有软件资源,并根据获取到的所有软件资源生成软件安装包具体包括:4. The software configuration method according to claim 3, wherein the acquiring all software resources corresponding to the smart TV, and generating a software installation package according to all the acquired software resources specifically includes: 当智能电视处于出厂配置阶段时,获取其对应的所有软件资源,并获取各软件资源对应的销售区域;When the smart TV is in the factory configuration stage, obtain all its corresponding software resources, and obtain the sales area corresponding to each software resource; 根据所述销售区域将软件资源进行分类,并根据分类后的软件资源生成软件安装包。The software resources are classified according to the sales area, and a software installation package is generated according to the classified software resources. 5.根据权利要求1所述软件配置方法,其特征在于,所述方法还包括:5. The software configuration method according to claim 1, wherein the method further comprises: 获取所述智能电视的生产批次号,并根据所述生产批次号确定所述智能电视对应的区域信息;Obtain the production batch number of the smart TV, and determine the area information corresponding to the smart TV according to the production batch number; 将所述区域信息存储于预设区域,以使得智能电视携带区域信息。The area information is stored in a preset area, so that the smart TV carries the area information. 6.根据权利要求5所述软件配置方法,其特征在于,所述将所述区域信息存储于预设区域,以使得智能电视携带区域信息具体为:6. The software configuration method according to claim 5, wherein the said area information is stored in a preset area, so that the area information carried by the smart TV is specifically: 将所述区域信息设置于只读状态并将其存储预设区域,以使得智能电视携带区域信息。The area information is set in a read-only state and stored in a preset area, so that the smart TV carries the area information. 7.根据权利要求1所述软件配置方法,其特征在于,所述根据所述区域信息在预设的软件安装包中查找所述区域信息对应的软件资源具体包括:7. The software configuration method according to claim 1, wherein the searching for the software resource corresponding to the area information in the preset software installation package according to the area information specifically comprises: 根据所述区域信息在预设的软件安装包查找其对应的软件资源,并判断所述软件安装包内是否配置公共资源;Find the corresponding software resources in the preset software installation package according to the area information, and determine whether public resources are configured in the software installation package; 当配置公共资源时,将所述公共资源与所述区域信息对应的软件资源相关联。When configuring the public resource, associate the public resource with the software resource corresponding to the area information. 8.根据权利要求7所述软件配置方法,其特征在于,所述配置查找到的软件资源,以完成软件配置具体为:8. The software configuration method according to claim 7, wherein the software resources found in the configuration are specifically: to complete the software configuration: 配置查找到的软件资源以及与其关联的公共资源,以完成软件配置。Configure the found software resources and their associated public resources to complete the software configuration. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1~8任意一项所述的软件配置方法中的步骤。9. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the claim Steps in the software configuration method described in any one of requirements 1 to 8. 10.一种智能电视,其特征在于,包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;10. A smart TV, comprising: a processor, a memory and a communication bus; a computer-readable program executable by the processor is stored on the memory; 所述通信总线实现处理器和存储器之间的连接通信;The communication bus implements connection communication between the processor and the memory; 所述处理器执行所述计算机可读程序时实现如权利要求1-8任意一项所述的软件配置方法中的步骤。When the processor executes the computer-readable program, the steps in the software configuration method according to any one of claims 1-8 are implemented.
CN201910223213.3A 2019-03-22 2019-03-22 A software configuration method, storage medium and smart TV Pending CN111722867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910223213.3A CN111722867A (en) 2019-03-22 2019-03-22 A software configuration method, storage medium and smart TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910223213.3A CN111722867A (en) 2019-03-22 2019-03-22 A software configuration method, storage medium and smart TV

Publications (1)

Publication Number Publication Date
CN111722867A true CN111722867A (en) 2020-09-29

Family

ID=72562792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910223213.3A Pending CN111722867A (en) 2019-03-22 2019-03-22 A software configuration method, storage medium and smart TV

Country Status (1)

Country Link
CN (1) CN111722867A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764799A (en) * 2021-01-08 2021-05-07 重庆创通联智物联网有限公司 Vehicle central control system and configuration method and device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170435A (en) * 2007-09-20 2008-04-30 中兴通讯股份有限公司 A method for solving non-symmetric digital user line modulation and demodulation software loss
CN106775899A (en) * 2017-01-17 2017-05-31 上海华章信息科技有限公司 A kind of many distribution districts list ROM implementation methods based on android
CN109062616A (en) * 2018-06-21 2018-12-21 中兴通讯股份有限公司 System self-adaption method, mobile terminal and the storage medium of mobile terminal
CN109101268A (en) * 2018-08-02 2018-12-28 Oppo(重庆)智能科技有限公司 Intelligent terminal configuration method, electronic device and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170435A (en) * 2007-09-20 2008-04-30 中兴通讯股份有限公司 A method for solving non-symmetric digital user line modulation and demodulation software loss
CN106775899A (en) * 2017-01-17 2017-05-31 上海华章信息科技有限公司 A kind of many distribution districts list ROM implementation methods based on android
CN109062616A (en) * 2018-06-21 2018-12-21 中兴通讯股份有限公司 System self-adaption method, mobile terminal and the storage medium of mobile terminal
CN109101268A (en) * 2018-08-02 2018-12-28 Oppo(重庆)智能科技有限公司 Intelligent terminal configuration method, electronic device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋方纯编著: "微型计算机系统安装调试与维护维修", 31 July 2000, 西安电子科技大学出版社, pages: 61 - 62 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764799A (en) * 2021-01-08 2021-05-07 重庆创通联智物联网有限公司 Vehicle central control system and configuration method and device thereof
CN112764799B (en) * 2021-01-08 2024-01-19 重庆创通联智物联网有限公司 Vehicle central control system and configuration method and device thereof

Similar Documents

Publication Publication Date Title
CN108898230B (en) Equipment management method and management server
US20070169084A1 (en) Persistent maintenance of customization data on computing devices
WO2017088388A1 (en) Method and system for upgrading sdk of application
US9558016B2 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
US10754708B2 (en) Orchestrator and console agnostic method to deploy infrastructure through self-describing deployment templates
CN105700925B (en) A kind of interface implementing method and device of APP
JP6089065B2 (en) Update method and computer system
WO2018090528A1 (en) Method and system for mirror image package preparation and application operation
CN109614147A (en) A PHY register reading and writing method and device
WO2020019723A1 (en) Initialization method for bios mirror image and bios mirror image
CN105354065B (en) A kind of multi-product method for upgrading software and terminal
CN106020837A (en) Method and system for loading set top box drive
CN112084488A (en) Application rights management method, device and system
CN109445823A (en) A kind of MCU firmware fast updating method
CN111722867A (en) A software configuration method, storage medium and smart TV
CN113656005B (en) Application component library construction method, application component configuration method and related devices
CN110502296B (en) Method, equipment and storage medium for displaying firmware upgrading command
WO2024244414A1 (en) Code branch environment deployment method and apparatus, and electronic device
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN107562440B (en) A kind of eeprom version update method and device
CN114443104B (en) Application deployment method and device, storage medium and electronic device
CN104702517A (en) Router with multiple reading ports and method for reading data
WO2017156999A1 (en) Method and device enabling function interfaces of application by use of pressure
CN109634685B (en) Starting and stopping method and related device for PXE function of PCH gigabit Ethernet
CN113157329A (en) Method, system, server and storage medium for starting application

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929

RJ01 Rejection of invention patent application after publication