[go: up one dir, main page]

CN110913274B - Compatible method for relevant functions of television main chip - Google Patents

Compatible method for relevant functions of television main chip Download PDF

Info

Publication number
CN110913274B
CN110913274B CN201911202284.1A CN201911202284A CN110913274B CN 110913274 B CN110913274 B CN 110913274B CN 201911202284 A CN201911202284 A CN 201911202284A CN 110913274 B CN110913274 B CN 110913274B
Authority
CN
China
Prior art keywords
main chip
hashkeyid
core
functions
complete machine
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
CN201911202284.1A
Other languages
Chinese (zh)
Other versions
CN110913274A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201911202284.1A priority Critical patent/CN110913274B/en
Publication of CN110913274A publication Critical patent/CN110913274A/en
Application granted granted Critical
Publication of CN110913274B publication Critical patent/CN110913274B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a compatible method of relevant functions of a television main chip, which comprises the following steps: step 1: establishing a group of attribute values corresponding to all IP core functions of each main chip in a complete machine attribute table, and assigning values to each complete machine model attribute table to represent the state of each IP core function on the complete machine model; step 2: adding a variable and assigning different values in the environment variable parameter list to indicate that the whole machine model series needs to call the corresponding required authorization key; and step 3: and (3) converting the attribute values and storing the attribute values into environment variables by combining an algorithm agreed by the system middleware, and associating the whole machine function with the key through the environment variables added in the step (2). The television set main chip with the same function specification can be based on the television set main chip, different patent licenses of different series of television sets can be matched, one set of firmware is compatible, development workload is reduced, quick iteration of software is met, product lines are enriched, the number of machine core software is greatly reduced, and development manpower is saved.

Description

Compatible method for relevant functions of television main chip
Technical Field
The invention relates to the embedded technical field, in particular to a method for compatible functions of a television main chip.
Background
With the technical progress of a television main chip and the development of audio and video technical standards, video technologies such as dolby vision, RMVB and blue light, and audio technologies such as dolby panoramic sound, dolby sound, DTS and the like are gradually popularized to an intelligent television terminal, and the technical standards also gradually permeate to content terminals such as HDMI signal equipment, OTT and local multimedia files, so that a new audio and video content industrial chain is formed, and the audio and video content industrial chain becomes a core point for promoting and selling functions of a television. When a certain television complete machine product uses the technology, a technology holding company needs to apply for patent authorization permission and pay the royalty of the corresponding technology.
And by using the same main chip, companies can plan television complete machine product series with different grades, some complete machine product series have the functions corresponding to all the technologies, and some complete machine product series only have one or two functions corresponding to the technologies. In the prior design and development of television products, the matching of the whole machine model and the functions is often carried out by two methods, the first method is that a main chip manufacturer designs and manufactures main chips with the same main model and multiple functional specifications, the main chips are distinguished by suffixes of the chip models, the same set of firmware of the television manufacturer is matched, the function difference of the whole machine is realized by the chip difference, the method causes the material states of the main chips to be increased, and a core board cannot be used universally; the second method is that the main chip manufacturer manufactures the main chip with the same function specification, and the main chip is matched with different firmware of the television manufacturer to realize the function difference of the whole television through the firmware difference.
At present, when different series of televisions are developed, a difficult problem is encountered: how to realize the matching of different patent licenses of different series of televisions based on the main chips of the televisions with the same functional specification provided by the chip company, so that the compatibility of a set of firmware is realized, the development workload is reduced, and the quick iteration of software is met.
Disclosure of Invention
The invention aims to provide a method for compatible functions of television main chips, which is used for solving the problem that different patent licenses of different series of televisions cannot be matched based on the television main chips with the same functional specification, and a set of firmware is compatible.
The invention solves the problems through the following technical scheme:
a compatible method for relevant functions of a television main chip comprises the following steps:
step 1: establishing a group of attribute values corresponding to all IP core functions of each main chip in a complete machine attribute table, and assigning values to each complete machine model attribute table to represent the state of each IP core function on the complete machine model;
step 2: adding a variable and assigning different values in the environment variable parameter list to indicate that the whole machine model series needs to call the corresponding required authorization key;
and step 3: and (3) converting the attribute values and storing the attribute values into environment variables by combining an algorithm agreed by the system middleware, and associating the whole machine function with the key through the environment variables added in the step (2).
Preferably, in step 1, a complete machine configuration tool is used to assign a value to each complete machine model attribute table, and the state of the IP core function includes on and off.
Preferably, the step 3 includes, when the core board is started for the first time, checking whether the variables added in the step 2 exist in the environment variables, and if yes, converting the attribute values into the environment variables; when the core board is started for the second time, checking whether the attributes of the whole machine and the increased environment variables conform to the agreed algorithm, if so, directly continuing normal startup, and if not, regenerating the values of the increased environment variables and continuing normal startup;
after the computer core board is powered on for the first time, the main chip calls a default authorization secret key to ensure that the system can be normally started; and after the main chip is electrified for the second time, reading the environmental variable value added in the environmental variable, calling the corresponding authorization key, closing the IP core which is not needed by the current complete machine model, and continuing normal startup until the startup is completed.
Preferably, after the core board is powered on for the first time, that is, before the Linux system is started after the bootloader is started, since the increased environment variable value is not initialized by the system middleware, the reading fails, and thus the default authorization key is called to ensure that the system is normally started.
Preferably, in step 3, when the core board is booted for the first time, that is, after the Linux system is started, the environment variable is checked through the system middleware.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention can realize matching of different patent licenses of different series of televisions based on the television main chips with the same functional specification, realize compatibility of a set of firmware, reduce development workload, meet quick iteration of software, enrich product lines, greatly compress the number of core software, save development manpower, reduce continuous upgrade iteration workload of smart televisions and well solve the problems in the prior art.
Drawings
FIG. 1 is a system diagram according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a process of initializing and checking environment variables in the middleware of the software system according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a process flow of a master chip reading a key sequence number to control an IP core function according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1:
referring to fig. 1, a method for compatible functions of a main chip of a television set includes the following steps:
step 1: establishing a group of attribute values corresponding to all IP core functions of each main chip in a complete machine attribute table, and assigning values to each complete machine model attribute table to represent the state of each IP core function on the complete machine model;
step 2: adding a variable HashkeyId in the environment variable parameter list, assigning different values to indicate that the whole machine model series needs to call the corresponding required authorization key;
and step 3: and converting the attribute values and storing the attribute values into environment variables by combining an algorithm agreed by the system middleware, and associating the whole machine function with the key through HashkeyId.
Specifically, the scheme needs to be completed by matching hardware and software, and the system structure is shown in fig. 1. And in the aspect of hardware, the main chip and the file system are mainly used. In the aspect of software, in the original software system middleware, a related control logic is added to convert the whole machine attribute value to an environment variable HashkeyId, and a logic for reading the environment variable HashkeyId and calling an authorized key by a main chip is set, so that the realization process is as follows:
firstly, defining a complete machine attribute table, and respectively programming A, B, C series complete machine models by using a 2G RAM and a 16G ROM aiming at a television main chip of a certain specification, wherein the A series has four functions of a Dolby sound effect, a Dolby view field, a DTS and an RMVB; the B series has no Dolby sound effect and has three functions of Dolby view, DTS and RMVB; the C series has no four functions of Dolby sound effect, Dolby view, DTS and RMVB.
And then initializing a software system middleware, checking an environment variable HashkeyId, in the starting process after the first power-on of one of the A, B, C series of whole machine models, checking whether a corresponding HashkeyId exists in the environment variable by the software system middleware, if the check result is none, converting a group of attribute values in a whole machine attribute table into the HashkeyId according to an agreed algorithm (the HashkeyId of A is 255, the HashkeyId of B is 247, and the HashkeyId of C is 240), and storing the HashkeyId into the environment variable. In the second starting process, the software system middleware checks whether the attribute values in the attribute table of the whole machine and the HashkeyId accord with the agreed algorithm, if so, the software system middleware continues normal starting.
Because the core boards are already hardware componentized, and multiplexing is supported, the factory may adjust the overall model of a core board, e.g., from a to B. When the model is adjusted and the power is switched on next time, the software system middleware checks that the attribute value in the attribute table of the whole machine B does not correspond to HashkeyId 255, and then newly generates a new HashkeyId 247, stores the new HashkeyId 247 in the environment variable, and continues normal startup.
And finally, performing function processing of controlling the IP core by the main chip, and calling a default authorization secret key 0 if the main chip fails to read the HashkeyId from the environment variable after the core board is powered on for the first time, so as to ensure that the system can be normally started. After the core board is powered on for the second time, the HashkeyId of the whole machine model A is read to be 255, the corresponding authorization key 255 is called, and according to the convention algorithm, the main chip does not need to close all the functional IP cores. If the model of the whole machine is B, the HashkeyId in the corresponding environment variable is 247, and according to the convention algorithm, the main chip needs to close the Dolby sound effect IP core. After the IP core switching action is finished, the main chip continues the rest starting process, and the whole system enters a formal working state for factory debugging or user use.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (1)

1. A compatible method for relevant functions of a television main chip is characterized by comprising the following steps:
step 1: defining a complete machine attribute table, wherein the complete machine attribute table is used for respectively planning A, B, C series complete machine models by using a 2G RAM and a 16G ROM aiming at a television main chip of a certain specification, wherein the A series has four functions of a Dolby sound effect, a Dolby view field, a DTS and an RMVB; the B series has no Dolby sound effect and has three functions of Dolby view, DTS and RMVB; the C series has no four functions of Dolby sound effect, Dolby view, DTS and RMVB; then, a group of attribute values corresponding to all IP core functions of each main chip are established in a whole machine attribute table, and the whole machine attribute table is assigned to represent the state of each IP core function on the whole machine model; specifically, a complete machine configuration tool is used for assigning values to each complete machine attribute table, and the states of the IP core functions comprise opening and closing;
step 2: adding a control logic in the software system middleware, and converting the whole machine attribute value to an environment variable HashkeyId, wherein the conversion comprises the steps of initializing the software system middleware and checking the environment variable HashkeyId; the HashkeyId is used for expressing that the whole model series needs to call the corresponding required authorization key;
and step 3: A. b, C in the process of starting up after the first power-on of one of the main chips of the whole machine type, the software system middleware checks whether the environment variable has a corresponding HashkeyId, if the check result is none, a group of attribute values in the whole machine attribute table are converted into the HashkeyId according to the convention algorithm and stored in the environment variable; in the second starting process, the software system middleware checks whether the attribute value in the attribute table of the whole machine and the HashkeyId accord with the agreed algorithm or not, if so, the software system middleware continues normal starting; otherwise, the software system middleware converts the attribute value into a value which accords with the appointed algorithm with the HashkeyId, stores the value into the environment variable and then continues the starting process;
in the starting process, after the main chip reads the HashkeyId in the environment variable, the main chip calls the corresponding authorization key according to the HashkeyId, and closes the IP core with the related function according to the key, after the IP core switching action is completed, the main chip continues the rest starting process, and the whole system enters the formal working state.
CN201911202284.1A 2019-11-29 2019-11-29 Compatible method for relevant functions of television main chip Active CN110913274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911202284.1A CN110913274B (en) 2019-11-29 2019-11-29 Compatible method for relevant functions of television main chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911202284.1A CN110913274B (en) 2019-11-29 2019-11-29 Compatible method for relevant functions of television main chip

Publications (2)

Publication Number Publication Date
CN110913274A CN110913274A (en) 2020-03-24
CN110913274B true CN110913274B (en) 2021-08-27

Family

ID=69820957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911202284.1A Active CN110913274B (en) 2019-11-29 2019-11-29 Compatible method for relevant functions of television main chip

Country Status (1)

Country Link
CN (1) CN110913274B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667646A (en) * 2004-03-09 2005-09-14 上海华虹集成电路有限责任公司 Method for configuring smart cards
CN202189147U (en) * 2011-04-19 2012-04-11 中国电子科技集团公司第五十四研究所 Multimode navigation information terminal SoC (system on chip) chip integrating multiple IP cores
CN102609583A (en) * 2012-02-08 2012-07-25 福州瑞芯微电子有限公司 Chip register information management method
CN103412834A (en) * 2013-07-23 2013-11-27 中国科学院计算技术研究所 Single SOC chip and multi-working mode multiplexing method of single SOC chip
CN109543467A (en) * 2018-10-31 2019-03-29 宁波大学 A kind of chip means of defence with multiple Hardware I P cores

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578174B2 (en) * 2001-06-08 2003-06-10 Cadence Design Systems, Inc. Method and system for chip design using remotely located resources
US7861027B2 (en) * 2008-05-30 2010-12-28 Intel Corporation Providing a peripheral component interconnect (PCI)-compatible transaction level protocol for a system on a chip (SoC)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667646A (en) * 2004-03-09 2005-09-14 上海华虹集成电路有限责任公司 Method for configuring smart cards
CN202189147U (en) * 2011-04-19 2012-04-11 中国电子科技集团公司第五十四研究所 Multimode navigation information terminal SoC (system on chip) chip integrating multiple IP cores
CN102609583A (en) * 2012-02-08 2012-07-25 福州瑞芯微电子有限公司 Chip register information management method
CN103412834A (en) * 2013-07-23 2013-11-27 中国科学院计算技术研究所 Single SOC chip and multi-working mode multiplexing method of single SOC chip
CN109543467A (en) * 2018-10-31 2019-03-29 宁波大学 A kind of chip means of defence with multiple Hardware I P cores

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Terrestrial Digital TV Receiver IP Core & Hardware Platform;Hossein Dehghan and Bill Black-Hogins;《IEEE》;20070430;全文 *
基于视频处理系统平台的IP模块开发;金健;《中国优秀硕士学位论文全文数据库》;20160331;全文 *

Also Published As

Publication number Publication date
CN110913274A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN113498594B (en) Control method and device of smart home system, electronic equipment and storage medium
CN103516961B (en) Image processor and preparation method thereof and master card
CN102789396A (en) Switching system and method for BIOS (Basic Input/Output System) configuration mode
CN105824652A (en) Method and system for directly changing BIOS settings in operating system
CN110971412B (en) Method for safe network distribution of smart home based on block chain
CN104932875A (en) Image processing device, managing system, and managing method
CN110913274B (en) Compatible method for relevant functions of television main chip
WO2024108703A1 (en) Multi-view video monitoring system building method and electronic device
KR102012937B1 (en) Apparatus and method for connecting an external device in a portable terminal
CN103024542A (en) Intelligent television configuration management method
US20200278874A1 (en) Online Reconfiguration Of A Node In A Process Control System
CN111301566A (en) Digital control method for intelligent electric vehicle
CN113407214B (en) Reconfigurable multithreading parallel upper computer system based on can communication
CN103684745B (en) Set-top box copy prevention method, set-top-box system and set-top box
CN102354275A (en) Text input box and data processing method thereof
CN102984504A (en) Video equipment integration method and system based on window driver model
CN103501324B (en) Theme packaging method and device as well as server
CN116627408A (en) Method and system for realizing rendering of different styles based on vue set of codes
RU2449339C2 (en) Replacement method of structural components of automation system
CN109889909A (en) A kind of display control method, system and terminal device
CN104159147A (en) Method and device for switching to external audio input-output equipment
CN110908767A (en) Parameter automatic deployment method and device
CN108694048A (en) A kind of implementation method of batch issuing service
CN106933641A (en) A kind of scm software is from upgrade method and system
CN106371331A (en) Intelligent home control system

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