WO2021248836A1 - 智能设备启动方法、装置、智能设备和可读存储介质 - Google Patents

智能设备启动方法、装置、智能设备和可读存储介质 Download PDF

Info

Publication number
WO2021248836A1
WO2021248836A1 PCT/CN2020/130197 CN2020130197W WO2021248836A1 WO 2021248836 A1 WO2021248836 A1 WO 2021248836A1 CN 2020130197 W CN2020130197 W CN 2020130197W WO 2021248836 A1 WO2021248836 A1 WO 2021248836A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart device
restart
state
abnormality
detected
Prior art date
Application number
PCT/CN2020/130197
Other languages
English (en)
French (fr)
Inventor
龙立
Original Assignee
深圳创维-Rgb电子有限公司
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 深圳创维-Rgb电子有限公司 filed Critical 深圳创维-Rgb电子有限公司
Publication of WO2021248836A1 publication Critical patent/WO2021248836A1/zh

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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • 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
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Definitions

  • This application relates to the field of smart devices, and in particular to a smart device startup method, device, smart device, and readable storage medium.
  • this application proposes a smart device startup method, device, smart device, and readable storage medium.
  • An embodiment of the present application proposes a method for starting a smart device, and the method includes:
  • the low power consumption operating state is restored after the abnormality triggers the automatic restart of the smart device.
  • the monitoring of each functional module of the smart device includes:
  • driver thread suspension of each driver of the smart device and the continued execution of the driver thread are abnormal.
  • the monitoring each functional module of the smart device includes: when an abnormality of the functional module that causes the restart is detected, sending abnormal information that causes the restart to the power management module;
  • the determining whether an abnormality of the functional module that causes the restart is detected includes: the power management module determines whether the abnormal information that causes the restart is received, and if the abnormal information that causes the restart is received, determining that the function that causes the restart is detected The module is abnormal.
  • the automatic restart of the smart device is an automatic restart of the background system.
  • the above-mentioned smart device startup method further includes: collecting statistics on abnormal information that caused the system of the smart device in a low-power operating state to suddenly crash; if the information about the crash of the smart device is the abnormal Information, the smart device automatically restarts the background system.
  • the low power consumption operating state includes at least one of: a suspend-to-memory state, a suspend-to-hard disk state, and a power supply suspend state.
  • the suspend-to-memory state represents the working state data of the smart device is stored in the memory, and other components of the smart device are in a closed state;
  • the suspend-to-hard disk state represents The main system power supply of the smart device is turned off, and the hard disk of the smart device is in a charged state and can be awakened;
  • the power suspension state ensures that the CPU of the smart device is turned off and other components of the smart device are in a normal working state .
  • the low-power operation state further includes a shutdown state, and the shutdown state indicates that the bus clock of the smart device is turned off, and other components of the smart device are in a normal working state.
  • Another embodiment of the present application provides a device for starting a smart device, and the device includes:
  • a monitoring unit configured to monitor various functional modules of the smart device when the smart device is in a low-power operation state
  • the judging unit is configured to determine whether an abnormality of the functional module that caused the restart is detected when the system startup instruction is received;
  • Normally start the unit configured to start normally if the function module abnormality that caused the restart is not detected;
  • the abnormal activation unit is configured to, if an abnormality of the functional module that causes the restart is detected, restore the low power consumption operating state after the abnormality triggers the automatic restart of the smart device.
  • the monitoring of each functional module of the smart device includes: monitoring whether the driving thread of each driver of the smart device is suspended and whether the driving thread continues to execute abnormally.
  • the monitoring each functional module of the smart device includes: when an abnormality of the functional module that causes the restart is detected, sending abnormal information that causes the restart to the power management module;
  • the foregoing determining whether an abnormality of the functional module that causes the restart is detected includes: the power management module determines whether the abnormal information that causes the restart is received, and if the abnormal information that causes the restart is received , It is determined that an abnormality of the functional module that caused the restart is detected.
  • the automatic restart of the smart device is an automatic restart of the background system.
  • the low-power operating state includes at least one of a suspend-to-memory state, a suspend-to-hard disk state, and a power supply suspend state.
  • the foregoing embodiment relates to a smart device, including a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the smart device to execute the smart device startup method described above.
  • the foregoing embodiment relates to a readable storage medium that stores a computer program that executes the foregoing smart device startup method when the computer program runs on a processor.
  • This application monitors the various functional modules of the smart device in a low-power operating state; when receiving a system startup instruction, it determines whether the abnormality of the functional module that caused the restart is detected; if the abnormality of the functional module that causes the restart is not detected, it is normal Start; if an abnormality of the functional module that caused the restart is detected, the low-power operating state is restored after the abnormality triggers the automatic restart of the smart device.
  • the technical solution of the present application solves the problem that the device in the standby state is suddenly started due to an abnormal trigger of a function module of the smart device, so that the smart device in the standby state is in a stable low-power operation state for a long time, and the low-power operation state of the smart device is ensured. Stability is conducive to improving user experience and effectively saving energy.
  • FIG. 1 shows a schematic flowchart of a method for starting a smart device according to an embodiment of the present application
  • Fig. 2 shows a schematic structural diagram of an apparatus for starting a smart device provided by an embodiment of the present application.
  • the advanced configuration and power management interface ACPI Advanced Configuration and Power Management Interface
  • S0 to S5 have six states, namely S0 to S5, and their meanings are: S0-in fact, this is our normal working state, and all devices are fully open.
  • the power consumption generally exceeds 80W; S1- is also called Power on Suspend (POS). At this time, except for turning off the CPU through the CPU clock controller, other components are still working normally.
  • POS Power on Suspend
  • the power consumption is generally Below 30W; (in fact, some CPU cooling software uses this working principle); S2- At this time the CPU is in a stopped operation state, the bus clock is also turned off, but the rest of the equipment is still running; S3- this is the suspension to the memory STR( Suspend to RAM), the power consumption at this time does not exceed 10W; S4- is also called Suspend to Disk state STD (Suspend to Disk), at this time the main power of the system is turned off, but the hard disk is still powered and can be awakened; S5-this This state is the most simple, that is, all devices including the power supply are all turned off, that is, shutdown (shutdown), and the power consumption is 0.
  • STR Suspend to RAM
  • the power supply continues to supply power to the most necessary devices such as memory to ensure that data is not lost, while other devices are turned off, and the power consumption of the system is extremely low.
  • the Power button host power switch
  • the system is woken up, immediately reads data from the memory and restores to the previous working state of STR.
  • the read and write speed of the memory is extremely fast, so we feel that the time it takes to enter and leave the STR state is only a few seconds; and the S4 state, that is, the principle of suspending to the hard disk STD (Suspend to Disk) and STR are exactly the same , But the data is saved in the hard disk. Since the read and write speed of the hard disk is much slower than the memory, it is not as fast as the STR.
  • a method for starting a smart device including the following steps:
  • Smart devices generally include 4 low-power operating states, namely S1 to S4 corresponding to the advanced configuration and power management interface ACPI, S1-Power on Suspend (POS).
  • S1 to S4 corresponding to the advanced configuration and power management interface ACPI, S1-Power on Suspend (POS).
  • POS S1-Power on Suspend
  • the CPU In addition to the CPU clock controller, the CPU In addition to shutting down, other components are still working normally, and the power consumption at this time is generally below 30W; S2- At this time, the CPU is in a stopped operation state, the bus clock is also turned off, but the rest of the devices are still running; S3- Suspend to memory STR (Suspend to RAM), the power consumption at this time does not exceed 10W, STR is to store the working state data of the system before entering STR in the memory.
  • the power supply continues to supply power to the most necessary devices such as memory To ensure that data is not lost, and other devices are turned off, the power consumption of the system is extremely low.
  • the Power button host power switch
  • the system is woken up, and the data is immediately read from the memory and restored to STR
  • the read and write speed of the memory is extremely fast, so the time it takes to enter and leave the STR state is only a few seconds; S4- Suspend to the hard disk state STD (Suspend to Disk), then the main power of the system is turned off , But the hard drive is still powered and can be awakened.
  • STR standby after the system of the smart device enters STR standby, it will keep a certain interval of RTC (Real-Time Clock) to wake up.
  • RTC Real-Time Clock
  • the user interface When waking up, the user interface is not displayed, just to complete some background timing tasks, and then the system will continue to enter STR standby state.
  • the drivers of various devices When the system wakes up from STR to RTC and then enters STR, the drivers of various devices will execute the Suspend->Resume->Suspend process in turn, that is, the driver thread is suspended -> the driver thread continues to execute -> the driver thread is suspended.
  • monitoring whether the driver thread suspension of each driver of the smart device and the continued execution of the driver thread are abnormal is helpful for discovering the abnormal problem of the driver in time, and effectively handling the abnormal problem of the driver in time.
  • the smart device will determine whether the received system startup instruction is a normal startup instruction or an abnormal startup instruction based on whether an abnormality of the functional module that caused the restart is detected.
  • the abnormal information that caused the restart is sent to the power management module.
  • the power management module will determine whether the abnormal information that caused the restart is received, and if the abnormal information that caused the restart is received, it will determine that the abnormality of the functional module that caused the restart is detected.
  • the smart device When the smart device receives the system startup instruction, and the smart device does not detect the abnormality of the functional module that caused the restart, the smart device starts normally.
  • the smart device When the smart device receives the system startup instruction, and the smart device detects an abnormality of the functional module that caused the restart, the low-power operating state is restored after the smart device is automatically restarted after the abnormal trigger.
  • the automatic restart of the smart device is an automatic restart of the background system, and the display screen is kept in a low-power operation state, so as to avoid the sudden display of the display screen when the smart device is automatically restarted due to an abnormal trigger, which affects the user experience.
  • the abnormal information that caused the system of the smart device in a low-power operating state to suddenly crash can be counted in advance to filter the abnormal information. If it is the abnormal information that will cause the smart device to start abnormally, then The automatic restart of the smart device is the automatic restart of the background system, and the display screen remains in a low-power running state. After the background system is repaired through the automatic restart, the smart device resumes the corresponding low-power running state.
  • each functional module of the smart device in a low-power operation state; upon receiving the system startup instruction, determine whether an abnormality of the functional module that caused the restart is detected; if it is not detected If the functional module that causes the restart is abnormal, it starts normally; if the functional module that causes the restart is detected to be abnormal, the low-power operation state is restored after the abnormality triggers the automatic restart of the smart device.
  • the technical solution of the embodiment of the present application solves the problem that the device in the standby state is suddenly started due to an abnormal trigger of a function module of the smart device, so that the smart device in the standby state is in a stable low-power operation state for a long time, and the low-power operation of the smart device is ensured
  • the stability of the state is conducive to improving the user experience.
  • a smart device activation device 1 including a monitoring unit 100, a judgment unit 200, a normal activation unit 300, and an abnormal activation unit 400.
  • the monitoring unit 100 is configured to monitor various functional modules of the smart device when the smart device is in a low-power operating state; the judging unit 200 is configured to determine whether a restart is detected when a system startup instruction is received The function module is abnormal; the normal start unit 300 is configured to start normally if the function module that caused the restart is not detected abnormal; the abnormal start unit 400 is configured to if the function module that causes the restart is detected to be abnormal, then the abnormality triggers After the smart device is automatically restarted, the low power consumption operating state is restored.
  • the embodiment of the present application provides a smart device startup device 1 that is configured to execute the smart device startup method described in the above embodiment through the cooperation of the monitoring unit 100, the judgment unit 200, the normal startup unit 300, and the abnormal startup unit 400.
  • the above implementation The implementation schemes and beneficial effects involved in the examples are also applicable to the examples of this application, and will not be repeated here.
  • the foregoing embodiment relates to a smart device, including a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program so that the smart device can execute the smart device described in the foregoing embodiment. Smart device startup method.
  • the aforementioned smart devices include other smart home devices such as smart TVs, smart refrigerators, and computers.
  • the foregoing embodiment relates to a readable storage medium that stores a computer program that executes the smart device startup method described in the foregoing embodiment when the computer program runs on a processor.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings.
  • each block in the structure diagram and/or flowchart, and the combination of the blocks in the structure diagram and/or flowchart can be used as a dedicated hardware-based system that performs the specified functions or actions. , Or can be realized by a combination of dedicated hardware and computer instructions.
  • the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
  • the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
  • This application monitors the various functional modules of the smart device in a low-power operating state; when receiving a system startup instruction, it determines whether the abnormality of the functional module that caused the restart is detected; if the abnormality of the functional module that causes the restart is not detected, it is normal Start; if an abnormality of the functional module that caused the restart is detected, the low-power operating state is restored after the abnormality triggers the automatic restart of the smart device.
  • the technical solution of the present application solves the problem that the device in the standby state is suddenly started due to an abnormal trigger of a function module of the smart device, so that the smart device in the standby state is in a stable low-power operation state for a long time, and the low-power operation state of the smart device is ensured. Stability is conducive to improving user experience and effectively saving energy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Power Sources (AREA)

Abstract

本申请公开了一种智能设备启动方法、装置、智能设备和可读存储介质,该方法包括:当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块;在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;若未监测到导致重启的功能模块异常,则正常启动;若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。本申请可以解决智能设备因某一功能模块异常触发处于待机状态的设备突然启动的问题,使得处于待机的智能设备长期处于稳定的低功耗运行状态,保证智能设备低功耗运行状态的稳定性,有利于提高用户体验。

Description

智能设备启动方法、装置、智能设备和可读存储介质
相关申请的交叉引用
本申请要求于2020年06月11日提交中国专利局的申请号为2020105287592、名称为“智能设备启动方法、装置、智能设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能设备领域,尤其涉及一种智能设备启动方法、装置、智能设备和可读存储介质。
背景技术
目前智能电视已经发展成为人们生活中不可或缺的娱乐、通讯设备,目前市场上尤其是海外市场对智能电视等设备是否支持快速待机功能,即设备的挂起到内存(STR-Suspend To Ram)功能有极大的需求,STR模式可在3秒内实现完全开机,极大的缩短开机时间,并且能比较完整的保持上一次用户使用的环境,用户体验较好。但是在长时间的STR待机过程中,系统各个模块有可能出现异常导致系统奔溃,系统奔溃之后会导致系统重启,这种异常的重启会对用户造成极大的困扰,影响用户体验,还有可能产生客诉。
例如,大部分国家强制要求智能设备需要支持快速待机功能,有大部分的客户反馈电视在待机之后概率性出现自动开机,开机时间不固定,可能是在白天、晚上或者出差旅游回来之后发现电视已开机,这种情况极大的影响用户的使用。
发明内容
鉴于上述问题,本申请提出一种智能设备启动方法、装置、智能设备和可读存储介质。
本申请的一个实施例提出一种智能设备启动方法,该方法包括:
当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块;
在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;
若未监测到导致重启的功能模块异常,则正常启动;
若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
在一种可选的实施方式中,所述监测所述智能设备的各个功能模块,包括:
监测所述智能设备的各个驱动程序的驱动线程挂起和驱动线程继续执行是否异常。
在一种可选的实施方式中,所述监测所述智能设备的各个功能模块包括:在监测到导致重启的功能模块异常时,向电源管理模块发送导致重启的异常信息;
所述确定是否监测到导致重启的功能模块异常包括:所述电源管理模块确定是否接收 到所述导致重启的异常信息,若接收到所述导致重启的异常信息,则确定监测到导致重启的功能模块异常。
在一种可选的实施方式中,所述智能设备自动重启是后台系统自动重启。
在一种可选的实施方式中,上述的智能设备启动方法还包括:统计导致处于低功耗运行状态的智能设备的系统突然崩溃的异常信息;若所述智能设备崩溃的信息为所述异常信息,则所述智能设备进行后台系统自动重启。
在一种可选的实施方式中,所述低功耗运行状态包括:挂起到内存状态、挂起到硬盘状态和电源挂起状态中的至少一种。
在一种可选的实施方式中,所述挂起到内存状态表征所述智能设备的工作状态数据存放到内存中,所述智能设备的其它部件处于关闭状态;所述挂起到硬盘状态表征所述智能设备的主系统电源关闭,所述智能设备的硬盘处于带电状态且可被唤醒;所述电源挂起状态保证所述智能设备的CPU关闭,所述智能设备的其它部件处于正常工作状态。
在一种可选的实施方式中,所述低功耗运行状态还包括停止运作状态,所述停止运作状态表征所述智能设备的总线时钟关闭,所述智能设备的其它部件处于正常工作状态。
本申请的另一个实施例提出一种智能设备启动装置,该装置包括:
监测单元,配置成当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块;
判断单元,配置成在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;
正常启动单元,配置成若未监测到导致重启的功能模块异常,则正常启动;
异常启动单元,配置成若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
在一种可选的实施方式中,所述监测所述智能设备的各个功能模块,包括:监测所述智能设备的各个驱动程序的驱动线程挂起和驱动线程继续执行是否异常。
在一种可选的实施方式中,所述监测所述智能设备的各个功能模块包括:在监测到导致重启的功能模块异常时,向电源管理模块发送导致重启的异常信息;
在一种可选的实施方式中,上述确定是否监测到导致重启的功能模块异常包括:所述电源管理模块确定是否接收到所述导致重启的异常信息,若接收到所述导致重启的异常信息,则确定监测到导致重启的功能模块异常。
在一种可选的实施方式中,所述智能设备自动重启是后台系统自动重启。
在一种可选的实施方式中,所述低功耗运行状态包括挂起到内存状态、挂起到硬盘状态和电源挂起状态中的至少一种。
上述实施例涉及一种智能设备,包括存储器和处理器,所述存储器用于存储计算机程序,所述处理器运行所述计算机程序以使所述智能设备能执行上述的智能设备启动方法。
上述实施例涉及一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行上述的智能设备启动方法。
本申请通过监测处于低功耗运行状态的智能设备的各个功能模块;在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;若未监测到导致重启的功能模块异常,则正常启动;若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。本申请的技术方案解决智能设备因某一功能模块异常触发处于待机状态的设备突然启动的问题,使得处于待机的智能设备长期处于稳定的低功耗运行状态,保证智能设备低功耗运行状态的稳定性,有利于提高用户体验,并有效节约能源。
附图说明
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对本申请保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。
图1示出了本申请实施例提供的一种智能设备启动方法的流程示意图;
图2示出了本申请实施例提供的一种智能设备启动装置的结构示意图。
主要元件符号说明:
1-智能设备启动装置;100-监测单元;200-判断单元;300-正常启动单元;400-异常启动单元。
具体实施方式
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。
通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
在下文中,可在本申请的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。
此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本申请的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本申请的各种实施例中被清楚地限定。
高级配置和电源管理接口ACPI(Advanced Configuration and Power Management Interface)共有六种状态,分别是S0到S5,它们代表的含义分别是:S0-实际上这就是我们平常的工作状态,所有设备全开,功耗一般会超过80W;S1-也称为电源挂起POS(Power on Suspend),这时除了通过CPU时钟控制器将CPU关闭之外,其他的部件仍然正常工作,这时的功耗一般在30W以下;(其实有些CPU降温软件就是利用这种工作原理);S2-这时CPU处于停止运作状态,总线时钟也被关闭,但其余的设备仍然运转;S3-这就是挂起到内存STR(Suspend to RAM),这时的功耗不超过10W;S4-也称为挂起到硬盘状态STD(Suspend to Disk),这时系统主电源关闭,但是硬盘仍然带电并可以被唤醒;S5-这种状态是最干脆的,就是连电源在内的所有设备全部关闭,即关机(shutdown),功耗为0。
最常用到的是S3状态,即挂起到内存STR(Suspend to RAM)模式。顾名思义,STR就是把系统进入STR前的工作状态数据都存放到内存中去。在STR状态下,电源仍然继续为内存等最必要的设备供电,以确保数据不丢失,而其他设备均处于关闭状态,系统的耗电量极低。一旦我们按下Power按钮(主机电源开关),系统就被唤醒,马上从内存中读取数据并恢复到STR之前的工作状态。内存的读写速度极快,因此我们感到进入和离开STR状态所花费的时间不过是几秒钟而已;而S4状态,即挂起到硬盘STD(Suspend to Disk)与STR的原理是完全一样的,只不过数据是保存在硬盘中。由于硬盘的读写速度比内存要慢得多,因此用起来也就没有STR那么快了。
在一种可选的实施例中,参见图1,示出了一种智能设备启动方法包括以下步骤:
S100:当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块。
智能设备一般包括4种低功耗运行状态,即高级配置和电源管理接口ACPI中所对应的S1到S4,S1-电源挂起POS(Power on Suspend),这时除了通过CPU时钟控制器将CPU关闭之外,其他的部件仍然正常工作,这时的功耗一般在30W以下;S2-这时CPU处于停止运作状态,总线时钟也被关闭,但其余的设备仍然运转;S3-挂起到内存STR(Suspend to RAM),这时的功耗不超过10W,STR就是把系统进入STR前的工作状态数据都存放到内 存中去,在STR状态下,电源仍然继续为内存等最必要的设备供电,以确保数据不丢失,而其他设备均处于关闭状态,系统的耗电量极低,一旦按下Power按钮(主机电源开关),系统就被唤醒,马上从内存中读取数据并恢复到STR之前的工作状态,内存的读写速度极快,因此进入和离开STR状态所花费的时间不过是几秒钟而已;S4-挂起到硬盘状态STD(Suspend to Disk),这时系统主电源关闭,但是硬盘仍然带电并可以被唤醒。
应当理解,对于处于低功耗运行状态的智能设备,内部的部分功能元件仍处于工作状态,监测所述智能设备的各个功能模块,有利于当某一功能单元出现异常时,及时处理异常信息。
示范性的,智能设备的系统进入STR待机之后会保持一定时间间隔的RTC(Real-Time Clock)唤醒,唤醒的时候用户界面并无显示,仅仅是为了完成一些后台定时工作,之后系统会继续进入STR待机状态。系统从STR到RTC唤醒再到进入STR的过程中,各类设备的驱动程序会依次执行Suspend->Resume->Suspend流程,即驱动线程挂起->驱动线程继续执行->驱动线程挂起。可以理解,各个驱动模块的供应商提供的驱动稳定性不一致,有可能导致在极长时间(7-30天)的STR之后概率性出现相关驱动模块的崩溃(Panic),进而导致系统异常重启,这类异常启动的时间不固定,有可能是在白天,也有可能是在半夜。
因此,监测所述智能设备的各个驱动程序的驱动线程挂起和驱动线程继续执行是否异常,有利于及时发现驱动程序的异常问题,及时针对驱动程序的异常问题进行有效处理。
S200:在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常。
智能设备对于接收到的系统启动指令,将根据是否监测到导致重启的功能模块异常判断接收到的系统启动指令是正常的启动指令,还是异常的启动指令。
示范性的,当监测到某一驱动模块异常时,向电源管理模块发送导致重启的异常信息。电源管理模块将确定是否接收到导致重启的异常信息,若接收到导致重启的异常信息,则确定监测到导致重启的功能模块异常。
S300:若未监测到导致重启的功能模块异常,则正常启动。
当智能设备接收到的系统启动指令,并且智能设备未监测到导致重启的功能模块异常,则智能设备正常启动。
S400:若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
当智能设备接收到的系统启动指令,并且智能设备监测到导致重启的功能模块异常,则在异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
应当理解,智能设备自动重启是后台系统自动重启,显示屏幕保持低功耗运行状态,避免显示屏幕由于异常触发智能设备自动重启时突然显示,影响用户的使用体验。
在一种可选的实施方式中,可以预先统计导致处于低功耗运行状态的智能设备的系统突然崩溃的异常信息,以对异常信息进行过滤,若是会导致智能设备异常启动的异常信息,则智能设备自动重启是后台系统自动重启,显示屏幕保持低功耗运行状态,后台系统通过自动重启修复完成后,智能设备恢复对应的低功耗运行状态。
在一种可选的实施例中,可以通过监测处于低功耗运行状态的智能设备的各个功能模块;在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;若未监测到导致重启的功能模块异常,则正常启动;若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。本申请实施例的技术方案解决智能设备因某一功能模块异常触发处于待机状态的设备突然启动的问题,使得处于待机的智能设备长期处于稳定的低功耗运行状态,保证智能设备低功耗运行状态的稳定性,有利于提高用户体验。
在一种可选的实施例中,参见图2,示出了一种智能设备启动装置1包括监测单元100、判断单元200、正常启动单元300和异常启动单元400。
监测单元100,配置成当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块;判断单元200,配置成在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;正常启动单元300,配置成若未监测到导致重启的功能模块异常,则正常启动;异常启动单元400,配置成若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
本申请实施例提供一种智能设备启动装置1通过监测单元100、判断单元200、正常启动单元300和异常启动单元400的配合使用,配置成执行上述实施例所述的智能设备启动方法,上述实施例所涉及的实施方案以及有益效果在本申请实施例中同样适用,在此不再赘述。
应当理解,上述实施例涉及一种智能设备,包括存储器和处理器,所述存储器用于存储计算机程序,所述处理器运行所述计算机程序以使所述智能设备能执行上述实施例所述的智能设备启动方法。
上述智能设备包括智能电视、智能冰箱和电脑等其他智能家居设备。
应当理解,上述实施例涉及一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行上述实施例所述的智能设备启动方法。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和结构图显示了根据本申请的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的 一部分,所述模块、程序段或代码的一部分包含一个或多个配置成实现规定的逻辑功能的可执行指令。也应当注意,在作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,结构图和/或流程图中的每个方框、以及结构图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本申请各个实施例中的各功能模块或单元可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或更多个模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是智能手机、个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。。
工业实用性
本申请通过监测处于低功耗运行状态的智能设备的各个功能模块;在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;若未监测到导致重启的功能模块异常,则正常启动;若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。本申请的技术方案解决智能设备因某一功能模块异常触发处于待机状态的设备突然启动的问题,使得处于待机的智能设备长期处于稳定的低功耗运行状态,保证智能设备低功耗运行状态的稳定性,有利于提高用户体验,并有效节约能源。

Claims (15)

  1. 一种智能设备启动方法,其特征在于,该方法包括:
    当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块;
    在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;
    若未监测到导致重启的功能模块异常,则正常启动;
    若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
  2. 根据权利要求1所述的智能设备启动方法,其特征在于,所述监测所述智能设备的各个功能模块,包括:
    监测所述智能设备的各个驱动程序的驱动线程挂起和驱动线程继续执行是否异常。
  3. 根据权利要求1或2所述的智能设备启动方法,其特征在于,所述监测所述智能设备的各个功能模块包括:在监测到导致重启的功能模块异常时,向电源管理模块发送导致重启的异常信息;
    所述确定是否监测到导致重启的功能模块异常包括:所述电源管理模块确定是否接收到所述导致重启的异常信息,若接收到所述导致重启的异常信息,则确定监测到导致重启的功能模块异常。
  4. 根据权利要求1所述的智能设备启动方法,其特征在于,所述智能设备自动重启是后台系统自动重启。
  5. 根据权利要求4所述的智能设备启动方法,其特征在于,所述方法还包括:
    统计导致处于低功耗运行状态的智能设备的系统突然崩溃的异常信息;
    若所述智能设备崩溃的信息为所述异常信息,则所述智能设备进行后台系统自动重启。
  6. 根据权利要求1-5中任意一项所述的智能设备启动方法,其特征在于,所述低功耗运行状态包括挂起到内存状态、挂起到硬盘状态和电源挂起状态中的至少一种。
  7. 根据权利要求6所述的智能设备启动方法,其特征在于,所述挂起到内存状态表征所述智能设备的工作状态数据存放到内存中,所述智能设备的其它部件处于关闭状态;
    所述挂起到硬盘状态表征所述智能设备的主系统电源关闭,所述智能设备的硬盘处于带电状态且可被唤醒;
    所述电源挂起状态保证所述智能设备的CPU关闭,所述智能设备的其它部件处于正常工作状态。
  8. 根据权利要求6或7所述的智能设备启动方法,其特征在于,所述低功耗运行状态还包括停止运作状态,所述停止运作状态表征所述智能设备的总线时钟关闭,所述智能设备的其它部件处于正常工作状态。
  9. 一种智能设备启动装置,其特征在于,该装置包括:
    监测单元,配置成当所述智能设备处于低功耗运行状态时,监测所述智能设备的各个功能模块;
    判断单元,配置成在接收到系统启动指令时,确定是否监测到导致重启的功能模块异常;
    正常启动单元,配置成若未监测到导致重启的功能模块异常,则正常启动;
    异常启动单元,配置成若监测到导致重启的功能模块异常,则在所述异常触发所述智能设备自动重启后恢复所述低功耗运行状态。
  10. 根据权利要求9所述的智能设备启动装置,其特征在于,所述监测所述智能设备的各个功能模块,包括:
    监测所述智能设备的各个驱动程序的驱动线程挂起和驱动线程继续执行是否异常。
  11. 根据权利要求9或10所述的智能设备启动装置,其特征在于,所述监测所述智能设备的各个功能模块包括:在监测到导致重启的功能模块异常时,向电源管理模块发送导致重启的异常信息;
    所述确定是否监测到导致重启的功能模块异常包括:所述电源管理模块确定是否接收到所述导致重启的异常信息,若接收到所述导致重启的异常信息,则确定监测到导致重启的功能模块异常。
  12. 根据权利要求9所述的智能设备启动装置,其特征在于,所述智能设备自动重启是后台系统自动重启。
  13. 根据权利要求9-12中任意一项所述的智能设备启动装置,其特征在于,所述低功耗运行状态包括挂起到内存状态、挂起到硬盘状态和电源挂起状态中的至少一种。
  14. 一种智能设备,其特征在于,包括存储器和处理器,所述存储器用于存储计算机程序,所述处理器运行所述计算机程序以使所述智能设备能执行权利要求1至8任一项所述的智能设备启动方法。
  15. 一种可读存储介质,其特征在于,其存储有计算机程序,所述计算机程序在处理器上运行时执行权利要求1至8任一项所述的智能设备启动方法。
PCT/CN2020/130197 2020-06-11 2020-11-19 智能设备启动方法、装置、智能设备和可读存储介质 WO2021248836A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010528759.2 2020-06-11
CN202010528759.2A CN111683287B (zh) 2020-06-11 2020-06-11 智能设备启动方法、装置、智能设备和可读存储介质

Publications (1)

Publication Number Publication Date
WO2021248836A1 true WO2021248836A1 (zh) 2021-12-16

Family

ID=72454580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/130197 WO2021248836A1 (zh) 2020-06-11 2020-11-19 智能设备启动方法、装置、智能设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN111683287B (zh)
WO (1) WO2021248836A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880187A (zh) * 2022-04-30 2022-08-09 苏州浪潮智能科技有限公司 一种监控vr芯片异常状态的方法、装置以及介质
CN114900201A (zh) * 2022-06-15 2022-08-12 Oppo广东移动通信有限公司 射频模块启动方法及相关装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683287B (zh) * 2020-06-11 2021-06-25 深圳创维-Rgb电子有限公司 智能设备启动方法、装置、智能设备和可读存储介质
CN111885420B (zh) * 2020-07-31 2022-09-20 深圳创维-Rgb电子有限公司 待机保护方法、装置、智能电视和可读存储介质
CN112616090B (zh) * 2020-12-07 2023-07-18 青岛海信传媒网络技术有限公司 显示设备系统升级方法及显示设备
CN112929912B (zh) * 2021-03-04 2023-04-18 深圳市共进电子股份有限公司 Lte模块监控方法、装置、通信设备和可读存储介质
CN113438157B (zh) * 2021-06-25 2022-09-13 上海钧正网络科技有限公司 一种梯次恢复网络的方法、装置、设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297359A (ja) * 2000-04-14 2001-10-26 Omron Corp 電子機器および電子機器システム
CN106131683A (zh) * 2016-08-15 2016-11-16 深圳市茁壮网络股份有限公司 网关型机顶盒待机系统及方法
CN109582486A (zh) * 2018-11-20 2019-04-05 厦门科灿信息技术有限公司 一种看门狗监测方法、系统及设备和存储介质
CN110740382A (zh) * 2019-10-30 2020-01-31 深圳创维-Rgb电子有限公司 避免电视机非期望自动重启方法、装置、电视机及介质
CN111683287A (zh) * 2020-06-11 2020-09-18 深圳创维-Rgb电子有限公司 智能设备启动方法、装置、智能设备和可读存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937344B (zh) * 2009-06-30 2014-07-30 联想(北京)有限公司 一种计算机快速启动的装置及方法
US9244521B2 (en) * 2012-12-26 2016-01-26 Intel Corporation Supporting runtime D3 and buffer flush and fill for a peripheral component interconnect device
US9971616B2 (en) * 2013-02-26 2018-05-15 Red Hat Israel, Ltd. Virtual machine suspension
CN105916010B (zh) * 2016-05-30 2019-04-12 青岛海信电器股份有限公司 一种智能电视的待机及唤醒方法及装置
CN108040292B (zh) * 2017-11-21 2021-01-12 深圳创维-Rgb电子有限公司 电视待机开机方法、电视及计算机可读存储介质
CN109885343B (zh) * 2019-02-25 2022-03-29 深圳忆联信息系统有限公司 一种控制器低功耗启动方法、装置、计算机设备及存储介质
CN110928719A (zh) * 2019-11-19 2020-03-27 深圳忆联信息系统有限公司 Ssd低功耗模式异常处理方法、装置、计算机设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297359A (ja) * 2000-04-14 2001-10-26 Omron Corp 電子機器および電子機器システム
CN106131683A (zh) * 2016-08-15 2016-11-16 深圳市茁壮网络股份有限公司 网关型机顶盒待机系统及方法
CN109582486A (zh) * 2018-11-20 2019-04-05 厦门科灿信息技术有限公司 一种看门狗监测方法、系统及设备和存储介质
CN110740382A (zh) * 2019-10-30 2020-01-31 深圳创维-Rgb电子有限公司 避免电视机非期望自动重启方法、装置、电视机及介质
CN111683287A (zh) * 2020-06-11 2020-09-18 深圳创维-Rgb电子有限公司 智能设备启动方法、装置、智能设备和可读存储介质

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880187A (zh) * 2022-04-30 2022-08-09 苏州浪潮智能科技有限公司 一种监控vr芯片异常状态的方法、装置以及介质
CN114900201A (zh) * 2022-06-15 2022-08-12 Oppo广东移动通信有限公司 射频模块启动方法及相关装置
CN114900201B (zh) * 2022-06-15 2023-12-26 Oppo广东移动通信有限公司 射频模块启动方法及相关装置

Also Published As

Publication number Publication date
CN111683287A (zh) 2020-09-18
CN111683287B (zh) 2021-06-25

Similar Documents

Publication Publication Date Title
WO2021248836A1 (zh) 智能设备启动方法、装置、智能设备和可读存储介质
EP0813707B1 (en) A computer system with unattended on-demand availability
US9122480B2 (en) Sleep wake event logging
US7137117B2 (en) Dynamically variable idle time thread scheduling
US7849463B2 (en) Dynamically variable idle time thread scheduling
EP2495655B1 (en) Method for switching operating system and electronic apparatus using the same
US6832311B2 (en) Information processing system and resume processing method used in the system
US20070150760A1 (en) Reducing the amount of memory contents saved to non-volatile storage
US7685466B2 (en) BIOS for saving and restoring operational state in the absence of AC power
US7360045B2 (en) System and method for backing up data from a quiesced storage device
US7383450B2 (en) Low power firmware
CN101154131A (zh) 信息处理设备和系统状态控制方法
JPH11288334A (ja) コンピュータ・システムのパワーダウン方法及び装置
US6681336B1 (en) System and method for implementing a user specified processing speed in a computer system and for overriding the user specified processing speed during a startup and shutdown process
US11662803B2 (en) Control method, apparatus, and electronic device
US7240189B2 (en) Fast resume to normal operation of a computer in a power saving mode
US7716504B2 (en) System for retaining power management settings across sleep states
CN110083491A (zh) 一种bios初始化方法、装置、设备及存储介质
CN1584847B (zh) 在交流电源不存在时的操作状态保存的方法和系统
TWI461905B (zh) 可遠端當機復原的運算裝置、用於運算裝置之遠端當機復原之方法及電腦可讀取媒體
JP2001117663A (ja) コンピュータシステムおよびその処理速度制御方法
CN100401233C (zh) 重新启动周边装置的方法
JP2004192489A (ja) 電子機器
JP2003345474A (ja) コンピュータシステムおよびデータ転送制御方法
JP2004288209A (ja) 情報処理装置および情報処理装置システムならびにそのレジューム方法

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: 20939987

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25-04-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20939987

Country of ref document: EP

Kind code of ref document: A1