WO2017107443A1 - 提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视 - Google Patents

提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视 Download PDF

Info

Publication number
WO2017107443A1
WO2017107443A1 PCT/CN2016/088676 CN2016088676W WO2017107443A1 WO 2017107443 A1 WO2017107443 A1 WO 2017107443A1 CN 2016088676 W CN2016088676 W CN 2016088676W WO 2017107443 A1 WO2017107443 A1 WO 2017107443A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart
mode
working mode
multimedia card
embedded multimedia
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.)
Ceased
Application number
PCT/CN2016/088676
Other languages
English (en)
French (fr)
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.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin 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 Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Priority to US15/237,644 priority Critical patent/US20170180796A1/en
Publication of WO2017107443A1 publication Critical patent/WO2017107443A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4183External card to be used in combination with the client device, e.g. for conditional access providing its own processing capabilities, e.g. external module for video decoding
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4184External card to be used in combination with the client device, e.g. for conditional access providing storage capabilities, e.g. memory stick

Definitions

  • the invention relates to the technical field of smart television, in particular to a method for improving compatibility between a smart television and an embedded multimedia card and a smart television compatible with the embedded multimedia card.
  • Embedded Multi Media Card is a multimedia card (Multi Media Card The standard specifications for embedded memory established by the MMC Association are mainly for mobile phone products.
  • a significant advantage of an embedded multimedia card or eMMC chip is the integration of a controller in the package that provides a standard interface and manages flash memory, enabling smart TV vendors to focus on other parts of product development and reduce time to market Product time. These characteristics are equally important for NAND vendors looking to reduce lithography size and cost.
  • eMMC The architecture consists of an embedded storage solution with MMC (multimedia card) interface, flash memory device and host controller - all in a small BGA Package. With interface speeds of up to 52MB per second, eMMC delivers fast, scalable performance.
  • the memory chips currently used in smart TVs are basically eMMCs.
  • the communication between the smart TV processor and the eMMC chip is mainly realized by data (Data), clock (CLK), command (CMD), and the inventors are implementing the present invention.
  • Data data
  • CLK clock
  • CMD command
  • eMMC chips have problems with slower read and write speeds.
  • CLK is output by the processor
  • Data is composed of eMMC. Output. Therefore, there will be a certain delay in high-speed data transmission, resulting in CLK and Data phase misalignment and data sampling errors.
  • the eMMC specification requires a twenty-first calibration command (CMD21 Command). Tuning) operation, the processor sends CMD21 Command Tuning to eMMC, so that the processor finds the best sampling point when reading data, CMD21 Command
  • the Tuning operation needs to be executed up to 40 times, and the maximum time is 150ms.
  • some smart TV processors use standard read and write timings by default, and do not execute CMD21 Command.
  • the Tuning operation causes some smart TV processors to communicate with an eMMC chip.
  • the read/write speed is slow. The appearance is that the startup speed is slower, and the system may be stuck after startup.
  • the invention provides a method for improving the compatibility between a smart television and an embedded multimedia card, comprising:
  • the working mode obtaining step includes: acquiring, when the smart TV is powered on, obtaining a working mode of the smart television;
  • the working mode detecting step includes: performing a verifying step when the working mode is a non-user mode;
  • the verifying step includes: the processor of the smart TV transmitting a clock data phase check command to the embedded multimedia card.
  • the working mode detecting step further includes: when the working mode is the user mode, ending the booting process after executing the startup process;
  • the verifying step further includes: after the execution of the clock data phase verification command is completed, ending the booting process after executing the startup process.
  • clock data phase verification command is a twenty-first calibration command of the embedded multimedia card specification.
  • the working mode obtaining step specifically includes: when the smart TV is powered on and powered on, acquiring an environment variable stored in the embedded multimedia card in a BootLoader execution phase, and acquiring the working mode from the environment variable.
  • the non-user mode includes a factory mode for debugging before the smart TV is shipped from the factory
  • the working mode detecting step includes:
  • a factory mode flag is obtained from the environment variable, and if the factory mode flag is set, it is determined that the working mode is a factory mode, and a verification step is performed.
  • the invention provides a smart TV compatible with an embedded multimedia card, comprising:
  • a working mode obtaining module configured to: acquire, when the smart TV is powered on, obtain an operating mode of the smart television;
  • a working mode detecting module configured to: when the working mode is a non-user mode, execute a verification module;
  • a verification module configured to: send, by the processor of the smart TV, a clock data phase verification command to the embedded multimedia card.
  • the working mode detecting module further includes: when the working mode is the user mode, ending the booting process after executing the startup process;
  • the verification module further includes: after the execution of the clock data phase verification command is completed, ending the booting process after executing the startup process.
  • clock data phase verification command is a twenty-first calibration command of the embedded multimedia card specification.
  • the working mode acquiring module is configured to: when the smart TV is powered on and powered on, acquire an environment variable stored in the embedded multimedia card in a BootLoader execution phase, and obtain the working mode from the environment variable. .
  • the non-user mode includes a factory mode for debugging before the smart TV is shipped from the factory, and the working mode detecting module is specifically configured to:
  • a factory mode flag is obtained from the environment variable, and if the factory mode flag is set, it is determined that the working mode is a factory mode, and a verification module is executed.
  • the invention judges according to the working mode of the smart TV, and considers reducing the influence on the user, so in the non-user mode, the read timing calibration between the processor and the eMMC chip is performed, so that the processor and the eMMC chip can be enhanced.
  • the compatibility between the two can not affect the boot time.
  • FIG. 1 is a flowchart of a method for improving compatibility between a smart television and an embedded multimedia card according to the present invention
  • Figure 2 is a flow chart showing the operation of the preferred embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a smart TV compatible with an embedded multimedia card according to the present invention.
  • FIG. 1 is a flowchart of a method for improving compatibility between a smart television and an embedded multimedia card according to the present invention, including:
  • Step S101 comprising: acquiring, when the smart TV is powered on, obtaining an operating mode of the smart television;
  • Step S102 including: when the working mode is non-user mode, step S103 is performed;
  • Step S103 comprising: the processor of the smart TV sending a clock data phase check command to the embedded multimedia card.
  • Step S101 is to obtain an operation mode of the smart TV.
  • the working mode is used to indicate the working condition of the smart TV. Different working modes are indicated in the system of the smart television, and the obtaining manner can adopt various existing methods.
  • the smart TV is delivered to the user after being shipped from the factory, its working mode is set to the user mode, and the non-user mode of step S102 refers to a mode other than the user mode. If the clock data phase check is performed in the user mode, the user may be slow to boot due to a certain check time. Therefore, the present invention only triggers the step S103 to perform clock data phase check in the non-user mode. This not only enhances the compatibility between the processor and the eMMC chip, but also does not affect the boot-up time.
  • the step S102 further includes: when the working mode is the user mode, ending the booting process after executing the startup process;
  • the step S103 further includes: after the execution of the clock data phase verification command is completed, ending the booting process after executing the startup process.
  • the clock data phase check is not performed, so that the user can obtain a faster booting time when it is officially used, and when the working mode is the non-user mode, After the clock data phase verification command is executed, the clock data is phase-aligned to make the startup process more accurate and avoid errors.
  • the clock data phase check command is a twenty-first calibration command of the embedded multimedia card specification.
  • the 21st calibration command for the embedded multimedia card specification is CMD21 Command in the eMMC specification. Tuning, using CMD21 Command Tuning can better match all eMMC chips.
  • the step S101 includes: when the smart TV is powered on and powered on, acquiring an environment variable stored in the embedded multimedia card in a BootLoader execution phase, and acquiring the working mode from the environment variable.
  • the BootLoader runs before the operating system kernel runs. It can initialize the hardware device and establish a memory space map to bring the system hardware and software environment to a suitable state, so as to be ready for the final call of the operating system kernel. The right environment. Checking the working mode during the BootLoader execution phase can avoid the interference caused by the working mode to the startup process during the normal startup process.
  • the non-user mode includes a factory mode for debugging before the smart TV is shipped from the factory, and the step S102 includes:
  • the factory mode flag is obtained from the environment variable, and if the factory mode flag is set, it is determined that the working mode is the factory mode, and step S103 is performed.
  • Smart TVs must run a factory mode before leaving the factory, and perform some pre-shipment tests in factory mode.
  • This embodiment selects to execute the clock data phase check command in the factory mode, thereby minimizing the impact on the user.
  • FIG. 2 is a flow chart showing the operation of the preferred embodiment of the present invention, including:
  • Step S201 the smart TV system is started, the working mode is determined in the BootLoader, if it is the factory mode, then proceeds to step S202, otherwise if it is the user mode, then proceeds to step S204;
  • the smart TV determines whether the environment variable "factory_mode” stored in the eMMC chip is in the BootLoader phase of booting. "1" to determine if it is entering the factory mode. If “factory_mode” is 1, it is judged to enter the factory mode, otherwise it is judged to enter the user mode;
  • Step S202 the processor sends a CMD21 Command to the eMMC chip.
  • Tuning calibration operation to the eMMC chip the processor adjusts the phase between CLK and Data to find the optimal sampling point when reading data;
  • Step S203 when the CMD21 Command Tuning calibration operation is completed, step S204 is performed;
  • Step S204 entering a normal startup process
  • step S205 the boot process is ended.
  • the judgment is made according to the working mode of the smart TV, and in consideration of reducing the influence on the user, the read timing calibration between the processor and the eMMC chip is performed in the non-user mode, so that the processor and the eMMC chip can be enhanced.
  • the compatibility between the two can not affect the boot time.
  • FIG. 3 is a structural block diagram of a smart TV compatible with an embedded multimedia card according to the present invention, including:
  • the working mode obtaining module 301 is configured to: acquire the working mode of the smart TV when the smart TV is powered on and powered on;
  • the working mode detecting module 302 is configured to: when the working mode is a non-user mode, execute a verification module;
  • the verification module 303 is configured to: the processor of the smart TV sends a clock data phase verification command to the embedded multimedia card.
  • the working mode obtaining module 301 is configured to obtain a working mode of the smart TV.
  • the working mode is used to indicate the working condition of the smart TV. Different working modes are indicated in the system of the smart television, and the obtaining manner can adopt various existing methods.
  • the smart TV is delivered to the user after being shipped from the factory, its working mode is set to the user mode, and the non-user mode of the working mode detecting module 302 refers to a mode other than the user mode. If the clock data phase check is performed in the user mode, the user may be slow to boot due to a certain check time. Therefore, the present invention only triggers the check module 303 to perform clock data phase calibration in the non-user mode. This will enhance the compatibility between the processor and the eMMC chip, while at the same time not affecting the boot time.
  • the working mode detecting module 302 further includes: when the working mode is the user mode, ending the booting process after executing the startup process;
  • the verification module 303 further includes: after the execution of the clock data phase verification command is completed, ending the boot process after executing the startup process.
  • the clock data phase check is not performed, so that the user can obtain a faster booting time when it is officially used, and when the working mode is the non-user mode, After the clock data phase verification command is executed, the clock data is phase-aligned to make the startup process more accurate and avoid errors.
  • the clock data phase check command is a twenty-first calibration command of the embedded multimedia card specification.
  • the 21st calibration command for the embedded multimedia card specification is CMD21 Command in the eMMC specification. Tuning, using CMD21 Command Tuning can better match all eMMC chips.
  • the working mode obtaining module 301 is specifically configured to: when the smart TV is powered on and powered on, obtain an environment variable stored in the embedded multimedia card in a BootLoader execution phase, and obtain the work from the environment variable. mode.
  • the BootLoader runs before the operating system kernel runs. It can initialize the hardware device and establish a memory space map to bring the system hardware and software environment to a suitable state, so as to be ready for the final call of the operating system kernel. The right environment. Checking the working mode during the BootLoader execution phase can avoid the interference caused by the working mode to the startup process during the normal startup process.
  • the non-user mode includes a factory mode for debugging before the smart TV is shipped from the factory, and the working mode detecting module 302 is specifically configured to:
  • a factory mode flag is obtained from the environment variable, and if the factory mode flag is set, it is determined that the working mode is a factory mode, and a verification module is executed.
  • Smart TVs must run a factory mode before leaving the factory, and perform some pre-shipment tests in factory mode.
  • This embodiment selects to execute the clock data phase check command in the factory mode, thereby minimizing the impact on the user.
  • the embodiment of the invention provides a smart TV compatible with an embedded multimedia card, comprising:
  • One or more processors are One or more processors;
  • One or more programs the one or more programs being stored in the memory, when executed by the one or more processors:
  • the working mode obtaining step includes: acquiring, when the smart TV is powered on, the working mode of the smart television; and the working mode detecting step, comprising: performing a verifying step when the working mode is a non-user mode;
  • the detecting step includes: the processor of the smart TV transmitting a clock data phase check command to the embedded multimedia card.
  • the judgment is made according to the working mode of the smart TV, and in consideration of reducing the influence on the user, the clock data phase verification command is executed in the non-user mode, thereby minimizing the influence on the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开一种提高智能电视与嵌入式多媒体卡兼容性的方法及与嵌入式多媒体卡兼容的智能电视,方法包括:所述智能电视开机启动上电时,获取所述智能电视的工作模式;当所述工作模式为非用户模式时,执行校验步骤;所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。本发明根据智能电视的工作模式进行判断,考虑到减少对用户的影响,因此在非用户模式时,进行处理器与eMMC芯片之间的读取时序校准,这样既可以增强处理器和eMMC芯片之间的兼容性,同时又能够不影响开机启动时间。

Description

提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视
本申请要求在2015年12月21日提交中国专利局、申请号为201510961813.1、发明名称为“提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及智能电视相关技术领域,特别是一种提高智能电视与嵌入式多媒体卡兼容性的方法及与嵌入式多媒体卡兼容的智能电视。
背景技术
嵌入式多媒体卡(Embedded Multi Media Card, eMMC)为多媒体卡(Multi Media Card ,MMC)协会所订立的内嵌式存储器标准规格,主要是针对手机产品为主。嵌入式多媒体卡或称为eMMC芯片的一个明显优势是在封装中集成了一个控制器,它提供标准接口并管理闪存,使得智能电视厂商就能专注于产品开发的其它部分,并缩短向市场推出产品的时间。这些特点对于希望通过缩小光刻尺寸和降低成本的NAND供应商来说,具有同样的重要性。eMMC 结构由一个嵌入式存储解决方案组成,带有MMC (多媒体卡)接口、快闪存储器设备及主控制器—— 所有都在一个小型的BGA 封装。接口速度高达每秒52MB,eMMC具有快速、可升级的性能。智能电视现在用的存储芯片基本上都是eMMC,智能电视处理器和eMMC芯片之间的通讯主要通过数据(Data)、时钟(CLK)、指令(CMD)来实现,发明人在实现本发明的过程中发现,有的eMMC芯片存在读写速度变慢的问题,问题原因在于,就算是同一eMMC芯片厂家,同一批次,不同芯片个体间存在差异,因为CLK由处理器输出,而Data由eMMC输出。所以在高速数据传输时会有一定延时,导致CLK和Data相位不齐,数据采样错误。
针对这个问题,eMMC规范中有要求第二十一号校准命令(CMD21 Command Tuning)的操作,处理器通过发送CMD21 Command Tuning给eMMC,以使得处理器找到读数据时的最佳采样点,CMD21 Command Tuning操作最多需要执行40次,最长时间150ms。
然而现在有些智能电视处理器为了加快系统启动速度,默认用标准的读写时序,并不执行CMD21 Command Tuning操作,这样便导致有些智能电视处理器与某个eMMC芯片通讯时存在读写速度变慢的问题,表象就是启动速度反而变慢,启动后系统可能会存在卡顿的现象。
技术问题
基于此,有必要针对现有技术的智能电视处理器与eMMC芯片通讯时容易出现时钟和数据相位不齐导致数据采样错误的技术问题,提供一种提高智能电视与嵌入式多媒体卡兼容性的方法及与嵌入式多媒体卡兼容的智能电视。
技术解决方案
本发明提供一种提高智能电视与嵌入式多媒体卡兼容性的方法,包括:
工作模式获取步骤,包括:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
工作模式检测步骤,包括:当所述工作模式为非用户模式时,执行校验步骤;
校验步骤,包括:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
进一步的:
所述工作模式检测步骤,还包括:当所述工作模式为用户模式时,执行启动流程后结束开机过程;
所述校验步骤,还包括:当所述时钟数据相位校验命令执行完毕后,执行启动流程后结束开机过程。
进一步的,所述时钟数据相位校验命令为嵌入式多媒体卡规范的第二十一号校准命令。
进一步的:
所述工作模式获取步骤,具体包括:所述智能电视开机启动上电时,在BootLoader执行阶段获取存储在所述嵌入式多媒体卡中的环境变量,从所述环境变量中获取所述工作模式。
更进一步的,所述非用户模式包括用于在所述智能电视出厂前调试的工厂模式,所述工作模式检测步骤,具体包括:
从所述环境变量中获取工厂模式标志,如果所述工厂模式标志置位,则判断所述工作模式为工厂模式,执行校验步骤。
本发明提供一种与嵌入式多媒体卡兼容的智能电视,包括:
工作模式获取模块,用于:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
工作模式检测模块,用于:当所述工作模式为非用户模式时,执行校验模块;
校验模块,用于:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
进一步的:
所述工作模式检测模块,还包括:当所述工作模式为用户模式时,执行启动流程后结束开机过程;
所述校验模块,还包括:当所述时钟数据相位校验命令执行完毕后,执行启动流程后结束开机过程。
进一步的,所述时钟数据相位校验命令为嵌入式多媒体卡规范的第二十一号校准命令。
进一步的:
所述工作模式获取模块,具体用于:所述智能电视开机启动上电时,在BootLoader执行阶段获取存储在所述嵌入式多媒体卡中的环境变量,从所述环境变量中获取所述工作模式。
更进一步的,所述非用户模式包括用于在所述智能电视出厂前调试的工厂模式,所述工作模式检测模块,具体用于:
从所述环境变量中获取工厂模式标志,如果所述工厂模式标志置位,则判断所述工作模式为工厂模式,执行校验模块。
有益效果
本发明根据智能电视的工作模式进行判断,考虑到减少对用户的影响,因此在非用户模式时,进行处理器与eMMC芯片之间的读取时序校准,这样既可以增强处理器和eMMC芯片之间的兼容性,同时又能够不影响开机启动时间。
附图说明
图1为本发明一种提高智能电视与嵌入式多媒体卡兼容性的方法的工作流程图;
图2为本发明最佳实施例的工作流程图;
图3为本发明一种与嵌入式多媒体卡兼容的智能电视的结构模块图。
本发明的实施方式
下面结合附图和具体实施例对本发明做进一步详细的说明。
如图1所示为本发明一种提高智能电视与嵌入式多媒体卡兼容性的方法的工作流程图,包括:
步骤S101,包括:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
步骤S102,包括:当所述工作模式为非用户模式时,执行步骤S103;
步骤S103,包括:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
步骤S101获取智能电视的工作模式,工作模式用于指示智能电视的工作情况,不同的工作模式在智能电视的系统中进行指示,获取方式可以采用现有各种方式。智能电视在出厂之后交付用户使用时,会将其工作模式设置为用户模式,步骤S102的非用户模式,是指除用户模式以外的模式。如果在用户模式下进行时钟数据相位校验,由于会有一定的校验时间,容易造成用户开机慢的情况,因此,本发明仅在非用户模式下,触发步骤S103进行时钟数据相位校验,这样既可以增强处理器和eMMC芯片之间的兼容性,同时又能够不影响开机启动时间。
在其中一个实施例中:
所述步骤S102,还包括:当所述工作模式为用户模式时,执行启动流程后结束开机过程;
所述步骤S103,还包括:当所述时钟数据相位校验命令执行完毕后,执行启动流程后结束开机过程。
当工作模式为用户模式时,为了避免影响用户使用,则不进行时钟数据相位校验,以使得用户在正式使用时能够获得较快的开机启动时间,而当工作模式为非用户模式时,则在时钟数据相位校验命令执行完毕后,使得时钟数据相位对齐,以使得启动流程更为准确,避免错误。
在其中一个实施例中,所述时钟数据相位校验命令为嵌入式多媒体卡规范的第二十一号校准命令。
嵌入式多媒体卡规范的第二十一号校准命令即eMMC规范中的CMD21 Command Tuning,采用CMD21 Command Tuning能更好地与所有的eMMC芯片匹配。
在其中一个实施例中:
所述步骤S101,具体包括:所述智能电视开机启动上电时,在BootLoader执行阶段获取存储在所述嵌入式多媒体卡中的环境变量,从所述环境变量中获取所述工作模式。
在嵌入式操作系统中,BootLoader是在操作系统内核运行之前运行,可以初始化硬件设备、建立内存空间映射图,从而将系统的软硬件环境带到一个合适状态,以便为最终调用操作系统内核准备好正确的环境。在BootLoader执行阶段进行检查工作模式,则能够避免在正常启动流程中获取工作模式对启动流程所造成的干扰。
在其中一个实施例中,所述非用户模式包括用于在所述智能电视出厂前调试的工厂模式,所述步骤S102,具体包括:
从所述环境变量中获取工厂模式标志,如果所述工厂模式标志置位,则判断所述工作模式为工厂模式,执行步骤S103。
智能电视出厂前都要运行一个工厂模式,在工厂模式下进行一些出厂前的测试。本实施例选中在工厂模式下执行时钟数据相位校验命令,从而将对用户的影响降到最低。
如图2所示为本发明最佳实施例的工作流程图,包括:
步骤S201,智能电视系统启动,在BootLoader中判断工作模式,如果为工厂模式,则进入步骤S202,否则如果为用户模式,则进入步骤S204;
具体地,智能电视在开机启动的BootLoader阶段通过判断存储在eMMC芯片中的环境变量“factory_mode” 是否为 “1”来判断是不是进入工厂模式。如果“factory_mode”为1,则判断进入工厂模式,否则判断进入用户模式;
步骤S202,处理器向eMMC芯片发送CMD21 Command Tuning校准操作给eMMC芯片,处理器调整CLK、Data之间的相位,找到读数据时的最佳采样点;
步骤S203,当完成CMD21 Command Tuning校准操作,则执行步骤S204;
步骤S204,进入正常启动流程;
步骤S205,结束开机过程。
本实施例根据智能电视的工作模式进行判断,考虑到减少对用户的影响,因此在非用户模式时,进行处理器与eMMC芯片之间的读取时序校准,这样既可以增强处理器和eMMC芯片之间的兼容性,同时又能够不影响开机启动时间。
如图3所示为本发明一种与嵌入式多媒体卡兼容的智能电视的结构模块图,包括:
工作模式获取模块301,用于:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
工作模式检测模块302,用于:当所述工作模式为非用户模式时,执行校验模块;
校验模块303,用于:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
工作模式获取模块301用于获取智能电视的工作模式,工作模式用于指示智能电视的工作情况,不同的工作模式在智能电视的系统中进行指示,获取方式可以采用现有各种方式。智能电视在出厂之后交付用户使用时,会将其工作模式设置为用户模式,工作模式检测模块302的非用户模式,是指除用户模式以外的模式。如果在用户模式下进行时钟数据相位校验,由于会有一定的校验时间,容易造成用户开机慢的情况,因此,本发明仅在非用户模式下,触发校验模块303进行时钟数据相位校验,这样既可以增强处理器和eMMC芯片之间的兼容性,同时又能够不影响开机启动时间。
在其中一个实施例中:
所述工作模式检测模块302,还包括:当所述工作模式为用户模式时,执行启动流程后结束开机过程;
所述校验模块303,还包括:当所述时钟数据相位校验命令执行完毕后,执行启动流程后结束开机过程。
当工作模式为用户模式时,为了避免影响用户使用,则不进行时钟数据相位校验,以使得用户在正式使用时能够获得较快的开机启动时间,而当工作模式为非用户模式时,则在时钟数据相位校验命令执行完毕后,使得时钟数据相位对齐,以使得启动流程更为准确,避免错误。
在其中一个实施例中,所述时钟数据相位校验命令为嵌入式多媒体卡规范的第二十一号校准命令。
嵌入式多媒体卡规范的第二十一号校准命令即eMMC规范中的CMD21 Command Tuning,采用CMD21 Command Tuning能更好地与所有的eMMC芯片匹配。
在其中一个实施例中:
所述工作模式获取模块301,具体用于:所述智能电视开机启动上电时,在BootLoader执行阶段获取存储在所述嵌入式多媒体卡中的环境变量,从所述环境变量中获取所述工作模式。
在嵌入式操作系统中,BootLoader是在操作系统内核运行之前运行,可以初始化硬件设备、建立内存空间映射图,从而将系统的软硬件环境带到一个合适状态,以便为最终调用操作系统内核准备好正确的环境。在BootLoader执行阶段进行检查工作模式,则能够避免在正常启动流程中获取工作模式对启动流程所造成的干扰。
在其中一个实施例中,所述非用户模式包括用于在所述智能电视出厂前调试的工厂模式,所述工作模式检测模块302,具体用于:
从所述环境变量中获取工厂模式标志,如果所述工厂模式标志置位,则判断所述工作模式为工厂模式,执行校验模块。
智能电视出厂前都要运行一个工厂模式,在工厂模式下进行一些出厂前的测试。本实施例选中在工厂模式下执行时钟数据相位校验命令,从而将对用户的影响降到最低。
本发明实施例提供一种与嵌入式多媒体卡兼容的智能电视,包括:
一个或者多个处理器;
存储器;
一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
工作模式获取步骤,包括:所述智能电视开机启动上电时,获取所述智能电视的工作模式;工作模式检测步骤,包括:当所述工作模式为非用户模式时,执行校验步骤;校验步骤,包括:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
本实施例根据智能电视的工作模式进行判断,考虑到减少对用户的影响,因此在非用户模式时,执行时钟数据相位校验命令,从而将对用户的影响降到最低。
本发明实施例的未尽描述细节,请参见前述各实施例的描述。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (11)

  1. 一种提高智能电视与嵌入式多媒体卡兼容性的方法,其特征在于,包括:
    工作模式获取步骤,包括:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
    工作模式检测步骤,包括:当所述工作模式为非用户模式时,执行校验步骤;
    校验步骤,包括:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
  2. 根据权利要求1所述的提高智能电视与嵌入式多媒体卡兼容性的方法,其特征在于:
    所述工作模式检测步骤,还包括:当所述工作模式为用户模式时,执行启动流程后结束开机过程;
    所述校验步骤,还包括:当所述时钟数据相位校验命令执行完毕后,执行启动流程后结束开机过程。
  3. 根据权利要求1所述的提高智能电视与嵌入式多媒体卡兼容性的方法,其特征在于,所述时钟数据相位校验命令为嵌入式多媒体卡规范的第二十一号校准命令。
  4. 根据权利要求1所述的提高智能电视与嵌入式多媒体卡兼容性的方法,其特征在于:
    所述工作模式获取步骤,具体包括:所述智能电视开机启动上电时,在BootLoader执行阶段获取存储在所述嵌入式多媒体卡中的环境变量,从所述环境变量中获取所述工作模式。
  5. 根据权利要求4所述的提高智能电视与嵌入式多媒体卡兼容性的方法,其特征在于,所述非用户模式包括用于在所述智能电视出厂前调试的工厂模式,所述工作模式检测步骤,具体包括:
    从所述环境变量中获取工厂模式标志,如果所述工厂模式标志置位,则判断所述工作模式为工厂模式,执行校验步骤。
  6. 一种与嵌入式多媒体卡兼容的智能电视,其特征在于,包括:
    工作模式获取模块,用于:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
    工作模式检测模块,用于:当所述工作模式为非用户模式时,执行校验模块;
    校验模块,用于:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
  7. 根据权利要求6所述的与嵌入式多媒体卡兼容的智能电视,其特征在于:
    所述工作模式检测模块,还包括:当所述工作模式为用户模式时,执行启动流程后结束开机过程;
    所述校验模块,还包括:当所述时钟数据相位校验命令执行完毕后,执行启动流程后结束开机过程。
  8. 根据权利要求6所述的与嵌入式多媒体卡兼容的智能电视,其特征在于,所述时钟数据相位校验命令为嵌入式多媒体卡规范的第二十一号校准命令。
  9. 根据权利要求6所述的与嵌入式多媒体卡兼容的智能电视,其特征在于:
    所述工作模式获取模块,具体用于:所述智能电视开机启动上电时,在BootLoader执行阶段获取存储在所述嵌入式多媒体卡中的环境变量,从所述环境变量中获取所述工作模式。
  10. 根据权利要求9所述的与嵌入式多媒体卡兼容的智能电视,其特征在于,所述非用户模式包括用于在所述智能电视出厂前调试的工厂模式,所述工作模式检测模块,具体用于:
    从所述环境变量中获取工厂模式标志,如果所述工厂模式标志置位,则判断所述工作模式为工厂模式,执行校验模块。
  11. 一种与嵌入式多媒体卡兼容的智能电视,其特征在于,包括:
    一个或者多个处理器;
    存储器;
    一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
    工作模式获取步骤,包括:所述智能电视开机启动上电时,获取所述智能电视的工作模式;
    工作模式检测步骤,包括:当所述工作模式为非用户模式时,执行校验步骤;
    校验步骤,包括:所述智能电视的处理器向所述嵌入式多媒体卡发送时钟数据相位校验命令。
PCT/CN2016/088676 2015-12-21 2016-07-05 提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视 Ceased WO2017107443A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/237,644 US20170180796A1 (en) 2015-12-21 2016-08-16 Method for improving compatibility between smart television and embedded multi media card, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510961813.1 2015-12-21
CN201510961813.1A CN105898475A (zh) 2015-12-21 2015-12-21 提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/237,644 Continuation US20170180796A1 (en) 2015-12-21 2016-08-16 Method for improving compatibility between smart television and embedded multi media card, and electronic device

Publications (1)

Publication Number Publication Date
WO2017107443A1 true WO2017107443A1 (zh) 2017-06-29

Family

ID=57002209

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088676 Ceased WO2017107443A1 (zh) 2015-12-21 2016-07-05 提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视

Country Status (2)

Country Link
CN (1) CN105898475A (zh)
WO (1) WO2017107443A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148649A (zh) * 2020-09-03 2020-12-29 深圳市宏旺微电子有限公司 一种u-boot系统下的eMMC HS400传输模式实现方法及装置
CN114385428A (zh) * 2022-01-12 2022-04-22 博为科技有限公司 一种终端设备的测试方法及相关设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656513A (zh) * 2017-08-25 2018-02-02 歌尔丹拿音响有限公司 嵌入式设备的模式切换方法和嵌入式设备
CN109766133A (zh) * 2018-12-29 2019-05-17 合肥杰发科技有限公司 一种内置嵌入式单元的系统及其初始化方法
CN112612525A (zh) * 2020-12-23 2021-04-06 海信视像科技股份有限公司 显示设备及显示设备开机方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6279114B1 (en) * 1998-11-04 2001-08-21 Sandisk Corporation Voltage negotiation in a single host multiple cards system
CN1741589A (zh) * 2004-08-11 2006-03-01 四川长虹电器股份有限公司 可与外部存储器进行数据通讯的电视
CN101202823A (zh) * 2007-08-06 2008-06-18 深圳创维-Rgb电子有限公司 一种电视机程序加载方法及装置
CN101571805A (zh) * 2008-04-29 2009-11-04 环达电脑(上海)有限公司 便携式电子装置及其方法
US20140082398A1 (en) * 2012-09-14 2014-03-20 Samsung Semiconductor Co., Ltd. EMBEDDED MULTIMEDIA CARD (eMMC), HOST CONTROLLING eMMC, AND METHOD OPERATING eMMC SYSTEM
US20140082250A1 (en) * 2012-09-14 2014-03-20 Samsung Electronics Co., Ltd. EMBEDDED MULTIMEDIA CARD (eMMC), HOST FOR CONTROLLING eMMC, AND METHOD OPERATION FOR eMMC SYSTEM

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8804411B1 (en) * 2009-09-11 2014-08-12 Micron Technology, Inc Dual mode clock and data scheme for memory programming
KR101984902B1 (ko) * 2012-09-14 2019-05-31 삼성전자 주식회사 단방향의 리턴 클락 신호를 사용하는 임베디드 멀티미디어 카드, 이를 제어하는 호스트, 및 이들을 포함하는 임베디드 멀티미디어 카드 시스템의 동작 방법
US9459089B2 (en) * 2014-04-09 2016-10-04 Qualcomm Incorporated Method, devices and systems for detecting an attachment of an electronic patch
CN104038803B (zh) * 2014-06-27 2018-07-27 Tcl集团股份有限公司 一种模块化智能电视和应用于模块化智能电视的交互方法
CN104484592B (zh) * 2014-12-31 2017-12-26 广州视源电子科技股份有限公司 移动设备工厂模式的启动方法及系统
CN104834573B (zh) * 2015-05-22 2017-07-28 广东欧珀移动通信有限公司 一种退出智能终端误操作的方法、装置和一种智能终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6279114B1 (en) * 1998-11-04 2001-08-21 Sandisk Corporation Voltage negotiation in a single host multiple cards system
CN1741589A (zh) * 2004-08-11 2006-03-01 四川长虹电器股份有限公司 可与外部存储器进行数据通讯的电视
CN101202823A (zh) * 2007-08-06 2008-06-18 深圳创维-Rgb电子有限公司 一种电视机程序加载方法及装置
CN101571805A (zh) * 2008-04-29 2009-11-04 环达电脑(上海)有限公司 便携式电子装置及其方法
US20140082398A1 (en) * 2012-09-14 2014-03-20 Samsung Semiconductor Co., Ltd. EMBEDDED MULTIMEDIA CARD (eMMC), HOST CONTROLLING eMMC, AND METHOD OPERATING eMMC SYSTEM
US20140082250A1 (en) * 2012-09-14 2014-03-20 Samsung Electronics Co., Ltd. EMBEDDED MULTIMEDIA CARD (eMMC), HOST FOR CONTROLLING eMMC, AND METHOD OPERATION FOR eMMC SYSTEM

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148649A (zh) * 2020-09-03 2020-12-29 深圳市宏旺微电子有限公司 一种u-boot系统下的eMMC HS400传输模式实现方法及装置
CN112148649B (zh) * 2020-09-03 2022-06-21 深圳市宏旺微电子有限公司 一种u-boot系统下的eMMCHS400传输模式实现方法及装置
CN114385428A (zh) * 2022-01-12 2022-04-22 博为科技有限公司 一种终端设备的测试方法及相关设备

Also Published As

Publication number Publication date
CN105898475A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017107443A1 (zh) 提高智能电视与嵌入式多媒体卡兼容性的方法、智能电视
US10282192B1 (en) Updating device code through a bus
JP4279451B2 (ja) ロー・ピン・カウントのバスにおけるメモリ・トランザクション
JP6080984B2 (ja) 異なる相互接続プロトコルのための一つの相互接続プロトコルの列挙および/または設定機構の活用
JP7484068B2 (ja) 拡張モード(xm)バス上のデバイスへのxmモードバス変更、コンフィギュレーションレジスタアクセスおよびブロードキャスト/マルチキャストトランザクション
US8719517B2 (en) Method and apparatus for executing a program by an SPI interface memory
US20170262395A1 (en) Method, apparatus, system for including interrupt functionality in sensor interconnects
TW476884B (en) Method for slave DMA emulation on a computer system bus
WO2022134855A1 (zh) PCIe外插卡的带宽分配方法、装置、设备及存储介质
WO2018036000A1 (zh) 应用程序跨系统运行的方法和装置
WO2014032437A1 (zh) 一种存储控制芯片、存储设备及其系统数据写入方法
US8850086B2 (en) SD switch box in a cellular handset
US8631185B2 (en) Method and system for transferring high-speed data within a portable device
CN103077102A (zh) 计算机开机侦测系统
TW201229908A (en) Method and apparatus for integrating driver(s) of a portable device into the portable device
WO2017128592A1 (zh) 一种基于智能电视提高应用程序适配性的方法和装置
WO2018094839A1 (zh) 一种移动终端预装应用的安装方法及装置
WO2014089781A1 (zh) 一种硬盘系统操作方法、存储系统及处理器
CN113835756B (zh) 主机命令解析方法和装置、固态硬盘控制器、固态硬盘
WO2018117747A1 (en) Electronic device, method for controlling thereof and computer-readable recording medium
CN102421004B (zh) 电视机软件系统的调试方法及装置
CN108549611A (zh) 一种基于gt9系列芯片的驱动实现方法及系统
WO2022126398A1 (zh) 消息通知方法及装置
TW200832141A (en) Semiconductor integrated circuit, system device including semiconductor integrated circuit, and semiconductor integrated circuit control method
US9785593B2 (en) Portable device with data transmission between main system and subsystem and control method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877255

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877255

Country of ref document: EP

Kind code of ref document: A1