How to modify the whole device configuration data after upgrading the smart TV system software
By storing the index number value in the USB interface memory and using the boot loader to synchronously set the whole machine configuration data, the problem of multiple restarts after the smart TV system software is upgraded is solved, and the efficiency of modifying the whole machine configuration data is improved.
Patent Information
- Application Number
- CN202310062676.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-20
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-01-20
AI Technical Summary
The existing method of modifying the configuration data of the entire smart TV after upgrading the system software requires multiple system restarts, resulting in low efficiency in production and after-sales service.
By storing the index number value in the system upgrade file name of the specified model in the USB interface storage, the boot loader is used to retrieve and read the index number value when the system software is upgraded, and save it to the Model_id.ini file to achieve the synchronization setting of the entire machine configuration data.
The entire machine configuration data can be modified without restarting the system multiple times, which improves operational efficiency and simplifies the process.
Smart Images

Figure CN116437149B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of embedded systems for smart television products, and in particular to a method for modifying whole-machine configuration data after smart television system software is upgraded. Background Art
[0002] Currently, smart TVs require software upgrades at all stages of R&D and production, especially smart TVs with operating systems, which involve upgrading the basic operating system software and modifying and setting the entire machine configuration file.
[0003] Currently, there are three ways to upgrade smart TV software: 1. via USB; 2. via a burner to a read-write memory device such as EMMC; and 3. via OTA (Over-the-Air Technology). Depending on how the upgrade file is packaged, upgrades can be categorized as either full upgrades or differential upgrades.
[0004] The solution described in this patent is suitable for a complete upgrade method via USB. This method is often used during the development of smart TV system software, during the production process, and during the after-sales process.
[0005] In the software of smart TVs, in order to achieve a system compatible with screens, buttons, remote controls, function customization, etc. in multiple states, manufacturers generally separate these configuration files and driver files related to specific hardware into whole-machine configuration files, which are collectively referred to as whole-machine configuration files in the following text. And use a set of digital codes as retrieval numbers to retrieve the total index file of the whole-machine configuration of the target model. We call this retrieval number MID (Model ID, one MID corresponds to a model with different hardware configuration). When the TV is turned on and initialized, the Bootloader program (startup loader) will go to the specified file or peripheral memory to read the user's preset MID. In this way, the total index file of the whole-machine configuration of the model can be indexed according to this digital code (as shown in the attached file). Figure 1 Model_1.ini, Model_2.ini... files in the whole machine configuration index file), and then parse the description field in the whole machine configuration index file (such as Figure 1 The board.ini, ir.ini, panel.ini... fields in the file are used to load and parse the entire machine configuration file, completing the entire machine configuration setting process.
[0006] Currently, the most common method for complete USB upgrades involves: after upgrading the entire system software: 1. Create the Model_id.ini file containing the MID value as a separate upgrade file and then update it to the system again via USB; 2. Engineers manually modify the MID value in the Model_id.ini file through the debug window; 3. Store the MID value in a memory device such as EEPROM. After the complete system upgrade is complete, power on the TV and enter the TV system's preset menu to modify the MID value stored in the EEPROM. Then, when the system is restarted, the bootloader reads the MID value from the EEPROM and updates it to the Model_id.ini file.
[0007] The above three methods all require adding one or more operation processes and restarting the system at least twice, which will significantly affect the production efficiency when performing USB upgrade operations in large quantities in the factory production link or performing after-sales service upgrades in the terminal market.
[0008] Therefore, it is necessary to provide a method for modifying the whole-machine configuration data after the smart TV system software is upgraded to solve the above technical problems. Summary of the Invention
[0009] The main technical problem solved by the present invention is to provide a method for modifying the configuration data of a smart TV after the system software is upgraded, thereby solving the low efficiency problem of the existing method.
[0010] In order to solve the above technical problems, a technical solution adopted by the present invention is to provide a method for modifying the whole machine configuration data after the smart TV system software is upgraded. After completing the system software upgrade of the specified model using the USB interface memory, the whole machine configuration data initialization of the target model is synchronously set.
[0011] In one embodiment, the method includes step S0, placing the index number value of the general index file used to retrieve the entire machine configuration data in a specified field of the system upgrade file name of the specified model, and storing the system upgrade file corresponding to the specified model in the USB interface memory, and the index number value represents the specified model.
[0012] Furthermore, in one embodiment, step S0 further includes the following steps:
[0013] S1. When the system software is upgraded, the boot loader retrieves and reads the system upgrade file name in the USB interface memory;
[0014] S2. Determine whether the system upgrade file name matches the target model. If so, execute step S3; if not, execute step S7;
[0015] S3. Intercept the index number value in the system upgrade file name;
[0016] S4. Save the index number value to the Model_id.ini file stored in the data partition;
[0017] S5. After the system software upgrade is completed, the index number value stored in the Model_id.ini file is read upon startup;
[0018] S6, and use the index number value to retrieve the corresponding target model's total index file to complete the parsing and loading of the target model's entire machine configuration data;
[0019] S7. End.
[0020] Furthermore, in one embodiment, step S3 includes: when the system software is upgraded, the boot loader calls a function for intercepting the index number value; step S4 includes: using the function to update the index number value to the corresponding field in the Model_id.ini file.
[0021] In one embodiment, the index number value is an Arabic numeral.
[0022] In one embodiment, the index number value corresponds to the model of the smart TV one by one.
[0023] The beneficial effects of the present invention are:
[0024] (1) This solves the problem of cumbersome post-software upgrade configuration setup procedures, which currently requires upgrading the index number file of the entire machine configuration data again or manually modifying the index number value after completing the system software upgrade.
[0025] (2) There is no need to start the smart TV twice or even more to update and modify the configuration data of the entire device. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a schematic diagram of the loading process and file structure of the existing smart TV configuration file;
[0027] Figure 2 This is a flowchart of the implementation steps of the first preferred embodiment of the method for modifying the whole device configuration data after the smart TV system software is upgraded according to the present invention. DETAILED DESCRIPTION
[0028] The technical solution of the present invention is described in detail below with reference to the accompanying drawings.
[0029] The method for modifying the whole-machine configuration data after the smart TV system software is upgraded of the present invention utilizes a USB interface memory to complete the system software upgrade of a specified model, and then synchronously sets the whole-machine configuration data initialization of the target model. This eliminates the need to restart the system twice or even more times to modify the whole-machine configuration data index number after the system software upgrade, thereby retrieving the operation process and improving the efficiency of modifying the index number of the whole-machine configuration data.
[0030] Furthermore, the method for modifying the whole-machine configuration data after the smart TV system software is upgraded in the present invention includes step S0, placing the index number value of the general index file used to retrieve the whole-machine configuration data in the specified field of the system upgrade file name of the specified model, and the system upgrade file corresponding to the specified model is stored in the USB interface memory, and the index number value represents the specified model.
[0031] Furthermore, if Figure 2 As shown, after step S0, the process further includes the following steps (process of system software upgrade and index number modification of whole machine configuration data):
[0032] S00, start; this step represents the start of the system software upgrade of the target model;
[0033] S1. When the system software is upgraded, the boot loader retrieves and reads the system upgrade file name in the USB interface memory;
[0034] S2. Determine whether the system upgrade file name matches the target model. If so, execute step S3; if not, execute step S7;
[0035] S3. Intercept the index number value in the system upgrade file name;
[0036] S4. Save the index number value to the Model_id.ini file stored in the data partition;
[0037] S5. After the system software upgrade is completed, the index number value stored in the Model_id.ini file is read upon startup;
[0038] S6, and use the index number value to retrieve the corresponding target model's total index file to complete the parsing and loading of the target model's entire machine configuration data;
[0039] S7. End.
[0040] Specifically, step S3 includes: when the system software is upgraded, the startup loader calls a function for intercepting the index number value; step S4 includes: using the function to update the index number value to the corresponding field in the Model_id.ini file.
[0041] In the present invention, the index number value is an Arabic numeral; the index number value corresponds one-to-one to the model of the smart TV.
[0042] Regarding the method for modifying the configuration data of the entire smart TV system after the software upgrade of the present invention, its implementation method is described in detail with a practical example:
[0043] The MID data representing the entire machine configuration of a model is written to the designated field in the name of the entire machine upgrade software. For ease of description, we use the upgrade file named USB_4K_upgrade_image_MID3.pkg as an example. The number 3 in the MID3 field indicates that after this upgrade, the entire machine configuration data of the model represented by MID 3 needs to be set. When the bootloader program reads the upgrade file name, it extracts the number 3 in the designated field MID3 in the upgrade file name and, by calling the INI file write function, modifies the saved MID value 3 to the designated field gModelID="xx" in the independent INI file recording the MID (which we will name Model_id.ini). At this time, this field becomes gModelID="3". When the upgrade is completed, when the system starts, the system will read gModelID="3" in the Model_id.ini file, thereby retrieving the overall index file Model_3.ini for the entire machine configuration in the folder where Model_xx.ini is stored, and further complete the loading of the entire machine data based on the file index in the entire machine configuration boot file Model_3.in.
[0044] Specifically, the following four steps are used:
[0045] The first step is to name the system upgrade file in the format of xxx_xxx_MIDx.pkg (the suffix is based on the actual file generated by compiling the IDE. For ease of description, the pkg suffix is used as an example). When the smart TV is powered on or restarted, it will search the USB interface storage for an upgrade file named xxx_xxx_MID*.pkg (* is a wildcard, representing any MID number). If a matching upgrade file name is found, its file name is read.
[0046] The second step is to design a file name interception function within the bootloader. This function extracts the specific number represented by the wildcard * in the MID* field of the upgrade file saved in the previous step, such as the number 3 in the USB_4K_upgrade_image_MID3.pkg file in the example above. This number 3 is the MID of the general index file for the entire system configuration required after this system software upgrade. The obtained MID number is then stored in a specified variable.
[0047] The third step is to design a function to write the read MID number into the gModelID="xx" field of the Model_id.ini file stored in the independent partition. Here, the Model_id.ini file is stored in the data partition of the independent partition, and the data of this independent partition will not be erased when the USB upgrade file is packaged.
[0048] In the fourth step, after the smart TV system completes the software upgrade, it starts the loader to read the gModelID="xx" field value in Model_id.ini. Based on the read xx MID value, it retrieves the Model_xx.ini file from the folder where the overall configuration index file is stored. The retrieved Model_xx.ini file is then parsed to load the overall configuration data. After the smart TV system software upgrade is complete, the overall configuration data for the specified model is initialized.
[0049] The above description is only an embodiment of the present invention and does not limit the scope of the present invention.
[0050] Any equivalent structure made by using the contents of the present invention specification and drawings, or directly or indirectly
[0051] Any use in other related technical fields is similarly included in the patent protection scope of this invention.
Claims
1. A method for modifying the configuration data of a smart TV after the system software is upgraded, characterized in that: After completing the system software upgrade of the designated model using the USB interface memory, the entire machine configuration data of the target model is initialized synchronously, including step S0, placing the index number value of the general index file used to retrieve the entire machine configuration data in a designated field of the system upgrade file name of the designated model, and storing the system upgrade file corresponding to the designated model in the USB interface memory, wherein the index number value represents the designated model; The method further comprises the following steps after step S0: S00, start; this step represents the start of the system software upgrade of the target model; S1. When the system software is upgraded, the boot loader retrieves and reads the system upgrade file name in the USB interface memory; S2. Determine whether the system upgrade file name matches the target model. If so, execute step S3; if not, execute step S7; S3. Intercept the index number value in the system upgrade file name; S4. Save the index number value to the Model_id.ini file stored in the data partition; S5. After the system software upgrade is completed, the index number value stored in the Model_id.ini file is read upon startup; S6, and use the index number value to retrieve the corresponding target model's total index file to complete the parsing and loading of the target model's entire machine configuration data; S7. End.
2. The method for modifying the whole device configuration data after the smart TV system software is upgraded according to claim 1, characterized in that: Step S3 includes: when the system software is upgraded, the startup loader calls a function for intercepting the index number value; step S4 includes: using the function to update the index number value to the corresponding field in the Model_id.ini file.
3. The method for modifying the whole device configuration data after the smart TV system software is upgraded according to claim 2, characterized in that: The index number value is an Arabic numeral.
4. The method for modifying the whole-machine configuration data after the smart TV system software is upgraded according to any one of claims 1 to 3, characterized in that: The index number value corresponds one-to-one to the model of the smart TV.
Citation Information
Patent Citations
Method for optimizing OEM order production upgrading for smart television
CN109451357A
Gateway upgrading method and system based on USB
CN110647342A