Processing method for smart TV software to adapt to multiple digital power amplifier hardware platforms

By storing the digital power amplifier type in the EMMC partition and initializing the driver, it solves the problem that smart TV software cannot be applied after the hardware platform is replaced, enabling the software to adapt to multiple digital power amplifier hardware platforms, avoiding redevelopment and waste of resources, and ensuring that the software Stability after flashing.

CN115665350BActive Publication Date: 2024-08-30SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211332624.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2024-08-30
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

Smart TV software cannot be applied after the hardware platform is replaced with a digital power amplifier, resulting in the need to re-develop the software, resulting in a waste of time and resources and chaotic management.

Method used

By defining variables in the EMMC partition to store the digital power amplifier type, and using the IIC read interface to read the register value to determine the power amplifier type, and initializing the corresponding driver, the software can be adapted to multiple digital power amplifier hardware platforms.

Benefits of technology

Smart TV software can adapt to multiple digital power amplifier hardware platforms to solve the problem of software inapplicability, and retain variables after the device is flashed to avoid impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115665350B
    Figure CN115665350B
Patent Text Reader

Abstract

The invention discloses a processing method for adapting smart TV software to multiple digital power amplifier hardware platforms, relates to the technical field of smart TVs, stores the digital power amplifier type configured by the smart TV through variables in an EMMC partition, and initializes the corresponding power amplifier driver according to the digital power amplifier type, so that the smart TV software can adapt to multiple digital power amplifiers, solves the problem in the prior art that the smart TV software is not applicable after the digital power amplifier is replaced on the hardware platform, and the invention is applicable to smart TVs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart televisions, and in particular to a processing method for smart television software to adapt to multiple digital power amplifier hardware platforms. Background Art

[0002] The whole smart TV will be replaced with another digital amplifier depending on factors such as the shortage of digital amplifier chips or price, which will result in the need to add a set of software to the same smart TV.

[0003] Today's software is developed based on the current hardware platform. The hardware comes first and then the software. When the hardware platform is replaced with a digital amplifier, the software cannot meet the needs and needs to be redeveloped. In this way, every time a new digital amplifier is replaced, a corresponding set of software is added. During production, the hardware platform needs to correspond to the software one by one. Therefore, when writing the software program, it is necessary to determine which amplifier is currently used in order to write the corresponding program, which can easily cause confusion and inconvenience in management, thus resulting in a waste of time and resources. Summary of the invention

[0004] The technical problem solved by the present invention is to provide a processing method for adapting smart TV software to multiple digital power amplifier hardware platforms, thereby solving the problem in the prior art that the smart TV software is not applicable when the hardware platform replaces the digital power amplifier.

[0005] The present invention solves the above technical problems by adopting a technical solution: a processing method for adapting smart TV software to multiple digital power amplifier hardware platforms, comprising the following steps:

[0006] S01, obtaining device addresses, register addresses and values ​​in register addresses of multiple digital power amplifiers configured on a hardware platform;

[0007] S02, defining a variable in the EMMC partition and setting the initial value of the variable, wherein the variable is used to store the power amplifier type;

[0008] S03, using the IIC read interface to read the value in the register address through the device address and the register address, and determining the type of the power amplifier according to the read content;

[0009] S04, storing the determined type of the power amplifier in the variable;

[0010] S05. When the smart TV is turned on, if the variable is the set initial value, steps S03 and S04 are repeated; if the variable is not the set initial value, the corresponding power amplifier driver is initialized according to the power amplifier type in the variable.

[0011] Furthermore, device addresses, register addresses, and values ​​in the register addresses of multiple digital power amplifiers are uniformly placed in one enumeration.

[0012] Furthermore, a variable reset operation is provided in the smart TV, and the variable reset operation is used to reset the variable to an initial value.

[0013] Furthermore, if the smart TV has a newly added digital power amplifier, the device address, register address and value in the register address of the newly added digital power amplifier are added to the enumeration, and the variables are reset to initial values ​​using a reset operation.

[0014] Furthermore, the initial value of the variable is set to 0xff.

[0015] Beneficial effects of the present invention: The processing method of the smart TV software adapting to multiple digital power amplifier hardware platforms of the present invention stores the digital power amplifier type configured by the smart TV through the variables in the EMMC partition, and initializes the corresponding power amplifier driver according to the digital power amplifier type, so that the smart TV software can adapt to multiple digital power amplifiers, which solves the problem in the prior art that the smart TV software is not applicable when the hardware platform replaces the digital power amplifier, and when the smart TV software is re-flashed, the EMMC partition will not be flushed, and the variables will be retained all the time, so there will be no impact after the device is flashed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Attached Figure 1 It is a flowchart of a processing method for adapting smart TV software to multiple digital power amplifier hardware platforms according to the present invention. DETAILED DESCRIPTION

[0017] The processing method of the smart TV software adapting to multiple digital power amplifier hardware platforms of the present invention is as shown in the attached Figure 1 As shown, the following steps are included:

[0018] S01, obtaining device addresses, register addresses and values ​​in register addresses of multiple digital power amplifiers configured on a hardware platform;

[0019] Specifically, the device addresses, register addresses and values ​​in the register addresses of multiple digital power amplifiers are uniformly placed in one enumeration, where the device address is deviceaddr, the register address is reg, and the value in the register address is regval.

[0020] S02, defining a variable in the EMMC partition and setting the initial value of the variable, wherein the variable is used to store the power amplifier type;

[0021] Specifically, a power amplifier category variable amptype is defined in the EMMC partition, and its default value is 0xff.

[0022] S03, using the IIC read interface to read the value in the register address through the device address and the register address, and determining the type of the power amplifier according to the read content;

[0023] Specifically, the IIC read interface is: iic_read(deviceaddr,reg,regval), through which regval is read. If the read fails, regval=0xff, if the read succeeds, regval=read value. Thus, the type of power amplifier configured by the smart TV can be determined by regval. For example, if regval=5805, the corresponding power amplifier is NAME1.

[0024] S04, storing the determined type of the power amplifier in the variable;

[0025] Specifically, taking regval=5805, the corresponding power amplifier is NAME1, and NAME1 is stored in amptype.

[0026] S05. When the smart TV is turned on, if the variable is the set initial value, steps S03 and S04 are repeated; if the variable is not the set initial value, the corresponding power amplifier driver is initialized according to the power amplifier type in the variable.

[0027] Specifically, if the smart TV is turned on for the first time, amptype=0xff, therefore, enter S03 and S04, read regval, determine the type of power amplifier configured by the smart TV, and store it in amptype. If the smart TV is not turned on for the first time, the power amplifier type has been stored before, such as amptype=NAME1, then initialize the driver of NAME1 to adapt the smart TV to the power amplifier.

[0028] When a smart TV is produced, its hardware platform may add a new amplifier type to improve the performance of the smart TV or reduce the cost, etc. Therefore, it is necessary to add a new amplifier type to the enumeration in S01.

[0029] In addition, the power amplifier of the smart TV may be replaced. Therefore, after replacing the power amplifier, the amptype needs to be reset to the initial value. Therefore, when the smart TV is turned on, a reset operation is set to reset the amptype variable to the initial value.

Claims

1. A processing method for adapting smart TV software to multiple digital power amplifier hardware platforms, characterized in that: The following steps are involved: S01, obtaining device addresses, register addresses and values ​​in register addresses of multiple digital power amplifiers configured on a hardware platform; S02, defining a variable in the EMMC partition and setting the initial value of the variable, wherein the variable is used to store the power amplifier type; S03, using the IICread interface to read the value in the register address through the device address and the register address, and determining the type of the power amplifier according to the read content; S04, storing the determined type of the power amplifier in the variable; S05. When the smart TV is turned on, if the variable is the set initial value, steps S03 and S04 are repeated; if the variable is not the set initial value, the corresponding power amplifier driver is initialized according to the power amplifier type in the variable.

2. The method for processing smart TV software to adapt to multiple digital power amplifier hardware platforms according to claim 1, characterized in that: The device addresses, register addresses, and values ​​in the register addresses of multiple digital power amplifiers are put together in one enumeration.

3. The processing method for adapting smart TV software to multiple digital power amplifier hardware platforms according to claim 1 or 2, characterized in that: The smart TV is provided with a variable reset operation, and the variable reset operation is used to reset the variable to an initial value.

4. The method for processing smart TV software to adapt to multiple digital power amplifier hardware platforms according to claim 3, characterized in that: If the smart TV has a newly added digital power amplifier, the device address, register address and value in the register address of the newly added digital power amplifier are added to the enumeration, and the variables are reset to the initial values ​​using a reset operation.

5. The method for processing smart TV software to adapt to multiple digital power amplifier hardware platforms according to claim 3, characterized in that: The initial value of the variable is set to 0xff.

Citation Information

Patent Citations

  • Power amplifier adaptation method, terminal device, storage medium and computer program product

    WO2022222292A1