WO2012139345A1 - 图片资源播放方法及装置 - Google Patents

图片资源播放方法及装置 Download PDF

Info

Publication number
WO2012139345A1
WO2012139345A1 PCT/CN2011/077414 CN2011077414W WO2012139345A1 WO 2012139345 A1 WO2012139345 A1 WO 2012139345A1 CN 2011077414 W CN2011077414 W CN 2011077414W WO 2012139345 A1 WO2012139345 A1 WO 2012139345A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
terminal
switch
play
playing
Prior art date
Application number
PCT/CN2011/077414
Other languages
English (en)
French (fr)
Inventor
王伟立
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012139345A1 publication Critical patent/WO2012139345A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method and device for playing a picture resource. Background technique
  • the present invention provides a method and a device for playing a picture resource, which solves the problem that the interface is simple and boring and the user experience is poor due to the scrolling display of the charging screen by the power icon when the mobile phone is charged.
  • the present invention provides a method for playing a picture resource, including:
  • the present invention also provides a picture resource playing device, including:
  • a picture input module configured to acquire and save a picture resource set by a user
  • a picture processing module configured to determine a charging operation state of the terminal, and play or close the picture resource according to the charging operation state
  • the transformer module is configured to provide a working voltage for the picture resource playing device.
  • the embodiment of the present invention solves the problem that the interface is simple and boring, and the experience is poorly experienced by using the power icon to scroll and display the charging screen during charging of the mobile phone by automatically playing the picture resource during the charging process. It can increase the beauty of the display of the mobile phone interface and greatly enhance the user experience.
  • FIG. 1 is a flowchart of a method for playing a picture resource according to an embodiment of the present invention
  • FIG. 2 is a detailed processing flowchart of a method for playing a picture resource according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a process for determining a charging operation state of a terminal according to an embodiment of the present invention
  • FIG. 4 is a process for setting a picture switch according to an embodiment of the present invention
  • FIG. 5 is a flowchart of processing a picture resource playing according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a picture resource playing device according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a preferred structure of a picture resource playing apparatus according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a method and device for playing a picture resource, which is charged in the mobile phone. During the process, the picture resource in the mobile phone is played.
  • FIG. 1 is the present invention.
  • a flowchart of a method for playing a picture resource in an embodiment, as shown in FIG. 1, a method for playing a picture resource according to an embodiment of the present invention includes the following processing:
  • Step 101 Obtain and save a picture resource set by the user.
  • step 101 first, the user needs to select a picture to be played during charging, and then the terminal automatically acquires the picture resource from the terminal memory (mobile phone memory) to a preset picture resource playing device (also It can be called a picture storage device; wherein, the mobile phone memory is a storage space for storing various programs and data in the mobile phone, and the program refers to a set containing instructions and a set of ordered instructions, the data refers to File information, variables, parameters, etc. during operation.
  • the terminal memory mobile phone memory
  • a preset picture resource playing device also It can be called a picture storage device; wherein, the mobile phone memory is a storage space for storing various programs and data in the mobile phone, and the program refers to a set containing instructions and a set of ordered instructions, the data refers to File information, variables, parameters, etc. during operation.
  • the terminal automatically acquires the picture resource from the terminal memory to the picture resource playing device for storage.
  • the picture resource playing device is a device for playing a picture selected by the user. The specific structure of the picture resource playing device is specifically described in the following device embodiments, and details are not described herein.
  • Step 102 Determine a charging operation state of the terminal, and play or close the picture resource according to the charging operation state.
  • step 102 it is first necessary to determine the charging operation state of the terminal, and then set the picture switch to be on or off according to the charging operation state, and play the picture resource when the picture switch is on. Specifically, the following operations are included:
  • the power manager refers to a device that provides various power sources for the mobile phone and can convert the changed battery voltage into a constant output voltage.
  • the picture play switch is turned off, and the picture resource is prohibited from being played.
  • the baseband processor is mainly A device that performs information processing and signal processing.
  • the picture play switch is turned on, and the picture resource is played; when it is determined that the terminal is performing other operations, the picture play switch is turned off, and the picture resource is prohibited from being played.
  • the power manager of the mobile phone when the charging state is detected, sends the current charging information in the form of a control command, and after the picture resource playing device processes the received control command, the picture switch setting unit plays the picture.
  • the switch is turned on.
  • the control unit comprises two parts: a baseband processing submodule, configured to receive a control command for processing a baseband processor of the mobile phone; and a power management processing submodule for receiving a control command for processing the power manager.
  • the manner of playing the picture resource includes: sequential play, or random play.
  • the mobile terminal only plays the picture format supported by it, and the unsupported picture format does not play.
  • the playing of the picture resource is stopped; after the terminal performs other operations, the picture resource is continuously played; When the battery status or the terminal has finished charging, the playback of the picture resource is stopped, and a message indicating that the battery is full or the charging is stopped is displayed.
  • the baseband processor of the mobile phone when the mobile phone is in the charging process and is in the operating state, the baseband processor of the mobile phone sends the current mobile phone state information in the form of a control command, and the picture resource playing device determines, according to the control command, that the terminal is performing other operations, the picture The play switch is turned off, and the picture resource playback is stopped.
  • the baseband processor of the mobile phone After the user completes the operation, the baseband processor of the mobile phone sends the current mobile phone status information in the form of a control command.
  • the picture resource playback device determines that the terminal does not perform other operations according to the control command, and the picture play switch is turned on, and the picture resource is played.
  • the mobile phone power manager sends the current mobile phone state information in the form of a control command, and the picture resource playing device determines, according to the control command, that the terminal has been charged, the picture playback switch is turned off, and the picture resource is stopped. Play, and remind the user that the battery is fully charged or the charging stops. For example, when the mobile phone picks up the phone and performs web browsing during the charging process, the baseband processor of the mobile phone turns off the current mobile phone state information with a control command.
  • the picture resource playing device determines, according to the control command, that the terminal is performing other operations, the picture playback switch is turned off, and the picture resource is stopped.
  • the baseband processor of the mobile phone sends the current mobile phone status information in the form of a control command PLAY.
  • the picture resource playback device determines that the terminal does not perform other operations according to the control command, and the picture play switch is turned on to continue the picture resource play.
  • the mobile phone power manager sends the current mobile phone state information in the form of a control command STOP, and the picture resource playing device determines that the terminal has been charged according to the control command, and the picture playing switch is turned off, stopping. Play the picture resource and remind the user that the battery is fully charged or the charging stops.
  • step 101 and before step 102 it is also required to detect the state of the picture play switch, and if it is determined that the picture play switch is in the on state, play the picture resource, and determine that the picture play switch is off. In the case of playing, it is forbidden to play the picture resource.
  • the mobile phone automatically plays the picture resource whenever the mobile phone is turned on or off, which solves the problem that the prior art uses the power icon to scroll and display the charging screen when the mobile phone is charging.
  • the interface is simple and tedious, and the user experience is poor.
  • FIG. 2 is a detailed processing flowchart of a method for playing a picture resource according to an embodiment of the present invention. As shown in FIG. 2, the following processing is included:
  • Step S201 the user selects a picture to be played during the charging process, and then The mobile phone automatically acquires the picture resource from the mobile phone memory to the picture resource playing device (picture storage device);
  • Step S202 when the mobile phone power manager detects that it is in a charging state, sends a control command to the picture resource playing device;
  • Step S203 After processing the control command, the picture resource playing device starts the picture playing switch to play the picture resource.
  • FIG. 3 is a flowchart of a process for determining a charging operation state of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the following processing is included:
  • Step S301 the power manager of the mobile phone detects whether it is in a charging state; if the determination is no, the power manager of the mobile phone sends the current charging information to the control unit of the picture resource playing device in the form of a control command STOP; if the determination is yes, Go to step S302;
  • Step S302 the baseband processor of the mobile phone detects whether it is in another operating state; if the determination is no, the baseband processor of the mobile phone sends the current charging information to the control unit of the picture resource playing device in the form of the control command PLAY; if the determination is yes , proceeding to step S303;
  • Step S303 The baseband processor of the mobile phone sends the current mobile phone state information to the control unit of the picture resource playing device in the form of a control command STOP.
  • FIG. 4 is a flowchart of a process of setting a picture switch according to an embodiment of the present invention. As shown in FIG. 4, the following processing is included:
  • Step S401 the terminal determines whether a control command is received, if the determination is no, the operation is ended, if the determination is yes, proceed to step S402;
  • Step S402 if the terminal receives the PLAY control command, the picture play switch is turned on, and the picture resource is played. If the terminal receives the STOP control command, the picture play switch is turned off to stop the picture resource playing.
  • FIG. 5 is a flowchart of processing a picture resource playing according to an embodiment of the present invention. As shown in FIG. 5, the following processing is included: Step S501, whether the user selects a picture to be played; if the determination is no, the operation ends; if the determination is yes, proceed to step S502;
  • Step S502 the terminal automatically reads the picture resource in the mobile phone memory
  • Step S503 The terminal determines whether the picture play switch is in an open state; if the determination is no, the picture resource is not played; if the determination is yes, the picture resource is played.
  • the mobile phone automatically plays the picture resource during the charging process in the power-on or power-off state, which increases the beauty of the display effect of the mobile phone interface, and greatly enhances The user experience.
  • FIG. 6 is a schematic structural diagram of a picture resource playing device according to an embodiment of the present invention. As shown in FIG. The picture input module 60, the picture processing module 62, and the transformer module 64 are described in detail below for each module of the embodiment of the present invention.
  • the picture input module 60 is configured to acquire and save a picture resource set by the user; first, the user needs to select a picture to be played during the charging process, and then the picture input module 60 of the terminal automatically takes the picture resource from the terminal memory. Obtained and saved in (mobile phone memory); wherein, the mobile phone memory is a storage space for storing various programs and data in the mobile phone, and the program refers to a set containing instructions and a set of ordered instructions, and the data refers to File information, variables, parameters, etc. during operation.
  • the picture input module 60 of the terminal automatically acquires and stores the picture resource from the terminal memory only when the user sets the picture resource.
  • the picture processing module 62 is configured to determine a charging operation state of the terminal, and play or close the picture resource according to the charging operation state. Specifically, the picture processing module 62 first needs to determine the charging operation state of the terminal, and then, according to the charging operation state, the picture is taken. The switch is set to on or off, and the picture resource is played with the picture switch turned on.
  • the transformer module 64 is connected to the mobile phone power manager for providing a working voltage for the picture resource playing device.
  • the image processing module 62 specifically includes: a control unit, a picture switch setting unit, and a picture output unit.
  • the control unit is configured to determine a charging operation state of the terminal, where the control unit specifically includes: a power management processing submodule, configured to determine, according to a control command sent by the power manager, whether the terminal is in a charging state; a baseband processing submodule, configured to baseband The control command of the processor determines whether the terminal is performing other operations; that is, the baseband processing sub-module is configured to receive a control command for processing the baseband processor of the mobile phone; and the power management processing sub-module is configured to receive a control command for processing the power manager.
  • a power management processing submodule configured to determine, according to a control command sent by the power manager, whether the terminal is in a charging state
  • a baseband processing submodule configured to baseband The control command of the processor determines whether the terminal is performing other operations; that is, the baseband processing sub-module is configured to receive a control command for processing the baseband processor of the mobile phone; and the power management processing sub-module is configured to receive a control command for processing
  • the power manager refers to a device that provides various power sources for the mobile phone and can convert the changed battery voltage into a constant output voltage.
  • the baseband processor is mainly a device for information processing and signal processing. It should be noted that the specific operation of the control unit can be understood according to FIG. 3, and details are not described herein again.
  • the picture switch setting unit is configured to set the picture switch to be on or off according to the charging operation state; specifically, the picture switch setting unit turns off the picture play switch in determining that the terminal is not in the charging state, determining that the terminal is in the charging state, and When the terminal does not perform other operations, the picture play switch is turned on, and when it is determined that the terminal is in the charging state, and the terminal is performing other operations, the picture play switch is turned off. It should be noted that the specific operation of the picture switch setting unit can be understood according to FIG. 4, and details are not described herein again.
  • the picture output unit is used to play the picture resource when the picture switch is on. Specifically, the picture output unit detects a state of the picture play switch, and when the picture play switch is determined to be in an open state, plays the picture resource, and if it is determined that the picture play switch is in the off state, prohibiting playing the picture resource; Wherein, the picture output unit pairs the picture resource The way to play is: sequential playback, or random playback. In addition, the terminal only plays the picture format supported by the mobile terminal, and the unsupported picture format does not play. It should be noted that the specific operation of the picture output unit can be understood according to FIG. 5, and details are not described herein again.
  • the picture switch setting unit turns off the picture play switch when the terminal is performing other operations during the playing of the picture resource, and starts the picture play switch after the terminal performs other operations. ; Turn off the picture playback switch when the terminal is at full charge or the terminal has finished charging.
  • the power manager of the mobile phone when the power manager of the mobile phone detects the charging state, the current charging information is sent to the power management processing sub-module of the control unit in the form of a control command, and after the power management processing sub-module performs processing, the picture switch is set.
  • the unit turns the picture playback switch on.
  • the power manager of the mobile phone transmits the current charging information to the power management processing sub-module of the control unit in the form of a PLAY control command, and receives the control command and processes the power management processing sub-module of the control unit.
  • the picture switch setting unit turns on the picture playback switch.
  • the picture output unit stops playing the picture resource; after the terminal performs the operation, the picture output unit continues to The picture resource is played; when the terminal is in the full state or the terminal has finished charging, the picture output unit stops playing the picture resource and displays a prompt that the battery is full or the charging is stopped.
  • the baseband processor of the mobile phone when the mobile phone is in the charging process and is in the operating state, the baseband processor of the mobile phone sends the current mobile phone state information in the form of a control command, and the baseband processing sub-module determines, according to the control command, that the terminal is performing other operations, the picture
  • the switch setting unit turns off the picture play switch, and the picture output unit stops playing the picture resource.
  • the baseband processor of the mobile phone After the user completes the operation, sends the current mobile phone status information in the form of a control command, and the baseband processing sub-module determines, according to the control command, that the terminal does not perform other operations, and the picture switch setting unit takes the picture.
  • the play switch is turned on, and the picture output unit continues to play the picture resource.
  • the mobile phone power manager sends the current mobile phone state information in the form of a control command, according to the control command, it is determined that the terminal has been charged, and the picture switch setting unit turns off the picture playing switch, the picture The switch setting unit stops playing the picture resource, and reminds the user that the battery is fully charged or the charging is stopped.
  • the baseband processor of the mobile phone sends the current mobile phone state information in the form of a control command STOP, and the baseband processing sub-module determines, according to the control command, that the terminal is performing other operations.
  • the picture switch setting unit turns off the picture play switch, and the picture output unit stops playing the picture resource.
  • the baseband processor of the mobile phone sends the current mobile phone status information in the form of a control command PLAY, and the baseband processing sub-module determines, according to the control command, that the terminal does not perform other operations, and the picture switch setting unit turns on the picture play switch, and the picture output The unit continues to play the picture resource.
  • the mobile phone power manager sends the current mobile phone state information in the form of a control command STOP.
  • the control command it is determined that the terminal has been charged, and the picture switch setting unit turns off the picture playback switch.
  • the picture output unit stops playing the picture resource, and reminds the user that the battery is fully charged or the charging is stopped.
  • the module of the picture resource playing device of the embodiment of the present invention may be implemented by software, hardware, or combination of software and hardware.
  • the above module is only a preferred structure of the picture resource playing device. In practical applications, the picture resource is played.
  • the module composition of the device may be different from the above embodiment.
  • the picture input module and the picture output unit are collectively configured as a data input/output unit, and the data input and output unit is connected to the mobile phone baseband processor.
  • the transforming unit that supplies the operating voltage to the data input/output unit may not be disposed inside the picture resource playing device, that is, the picture resource playing device may share the same power source with the terminal.
  • the method includes a control unit, a picture switch setting unit, and a data input/output unit, wherein the control unit package
  • the baseband processing submodule is configured to receive a control command for processing a baseband processor of the mobile phone; and the power management processing submodule is configured to receive a control command for processing the power manager.
  • the picture switch setting unit performs the picture play switch on and off; the data input and output unit comprises two parts, the input module, after the user selects the picture to be played, automatically reads and saves the picture resource in the phone memory; the output module, in the picture play switch When the status is on, the picture resource is played.
  • the embodiment of the present invention automatically plays the picture resource during the charging process, which solves the problem that the prior art uses the power icon to scroll and display the charging screen when the mobile phone is charged, and the interface is simple and boring, and the user experience is more experienced. Poor problems can increase the aesthetics of the display on the mobile phone interface and greatly enhance the user experience.

Description

图片资源播放方法及装置 技术领域
本发明涉及移动通讯领域, 特别是涉及一种图片资源播放方法及装置。 背景技术
随着人们生活节奏的加快和移动终端使用的日益普及, 手机已经融入 了人们生活的方方面面, 人们越来越依赖使用手机, 也会越来越多地进行 手机充电操作。 在现有技术中, 在手机充电时, 手机界面显示的是一格一 格慢慢跳动的电源指示图标, 使得在手机充电时画面变化单一, 枯燥乏味, 并且降低了用户的使用体验。
目前, 手机用户在进入操作界面以及进行操作时, 对趣味性和可用性 的要求越来越高, 现有的手机充电技术已不能满足手机用户日益增长的审 美需求。 但目前还未提出有效的解决方案。 发明内容
本发明提供一种图片资源播放方法及装置, 以解决现有技术在手机充 电时采用电源图标滚动显示充电画面而导致的界面简单乏味、 用户体验感 受较差的问题。
本发明提供一种图片资源播放方法, 包括:
获取并保存用户设置的图片资源;
确定终端的充电操作状态, 并根据所述充电操作状态对所述图片资源 进行播放或关闭。
本发明还提供了一种图片资源播放装置, 包括:
图片输入模块, 用于获取并保存用户设置的图片资源; 图片处理模块, 用于确定终端的充电操作状态, 并根据所述充电操作 状态对所述图片资源进行播放或关闭;
变压模块, 用于为所述图片资源播放装置提供工作电压。
本发明有益效果如下:
本发明实施例通过在充电的过程中自动地对图片资源进行播放, 解决 了现有技术在手机充电时采用电源图标滚动显示充电画面而导致的界面简 单乏味、 用于体验感受较差的问题, 能够增加手机界面显示效果的美感, 并且极大地增强了用户的体验感受。 附图说明
图 1是本发明实施例的图片资源播放方法的流程图;
图 2是本发明实施例的图片资源播放方法的详细处理流程图; 图 3是本发明生实施例的判断终端充电操作状态的处理流程图; 图 4是本发明实施例的设置图片开关的处理流程图;
图 5是本发明实施例的图片资源播放的处理流程图;
图 6是本发明实施例的图片资源播放装置的结构示意图;
图 7是本发明实施例的图片资源播放装置的优选结构示意图。 具体实施方式
为了解决现有技术在手机充电时采用电源图标滚动显示充电画面而导 致的界面简单乏味、 用户体验感受较差的问题, 本发明实施例提供了一种 图片资源播放方法及装置, 在手机进行充电过程中, 对手机中的图片资源 进行播放。 以下结合附图以及实施例, 对本发明进行进一步详细说明。 应 当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不限定本发明。
方法实施例
根据本发明的实施例, 提供了一种图片资源播放方法, 图 1是本发明 实施例的图片资源播放方法的流程图, 如图 1 所示, 根据本发明实施例的 图片资源播放方法包括如下处理:
步驟 101 , 获取并保存用户设置的图片资源;
具体地, 在步驟 101 中, 首先, 用户需对将要在充电过程中播放的图 片进行选择, 随后终端自动地将图片资源从终端存储器(手机存储器) 中 获取至预先设置的图片资源播放装置 (也可以称为图片存储装置) 中; 其 中, 手机存储器是用来存放手机中的各种程序和数据的存储空间, 程序是 指包含指令、 以及编成一组有次序的指令的集合, 数据是指操作过程中的 文件信息、 变量、 参数等。
在本发明实施例中, 只有当用户进行图片资源设置时, 终端才会自动 地将图片资源从终端存储器获取至图片资源播放装置进行存储。 其中, 图 片资源播放装置是对用户所选择图片进行播放的装置, 该图片资源播放装 置的具体结构会在后续的装置实施例中具体进行说明, 在此不再赘述。
步驟 102,确定终端的充电操作状态, 并根据充电操作状态对图片资源 进行播放或关闭。
在步驟 102 中, 首先需要确定终端的充电操作状态, 随后, 根据充电 操作状态将图片开关设置为开启或关闭, 并在图片开关为开启的情况下, 对图片资源进行播放。 具体包括如下操作:
1、 根据电源管理器发送的控制命令确定终端是否处于充电状态; 在实 际应用中, 当手机电源管理器在检测到充电器或数据线插入后, 并且有充 电电流的存在时, 即可判定手机处于充电状态。 其中, 电源管理器是指为 手机提供各路电源, 能够将变化的电池电压转化为恒定的输出电压的装置。
2、 在确定终端未处于充电状态的情况下, 关闭图片播放开关, 并禁止 对图片资源进行播放, 在确定终端处于充电状态的情况下, 根据基带处理 器的控制命令确定终端是否正在执行其他操作, 其中, 基带处理器主要是 进行信息处理及信号处理的装置。
3、 在确定终端未执行其他操作的情况下, 开启图片播放开关, 并对图 片资源进行播放; 在确定终端正在执行其他操作的情况下, 关闭图片播放 开关, 并禁止对图片资源进行播放。
在实际应用中, 当检测到充电状态时, 手机的电源管理器将当前充电 信息以控制命令的形式发送, 在图片资源播放装置对接收到的控制命令进 行处理后, 图片开关设置单元将图片播放开关开启。 例如, 当检测到充电 状态时, 手机的电源管理器将当前充电信息以播放(PLAY )控制命令的形 式发送, 在图片资源播放装置的控制单元接收控制命令并进行处理后, 图 片开关设置单元将图片播放开关开启。 其中, 控制单元包括两部分: 基带 处理子模块, 用于接收处理手机的基带处理器的控制命令; 电源管理处理 子模块, 用于接收处理电源管理器的控制命令。
优选地, 在本发明实施例中, 对图片资源进行播放的方式包括: 顺序 播放、 或随机播放。 此外, 手机终端只对其支持的图片格式进行播放, 不 支持的图片格式不会进行播放。
此外, 在实际应用中, 如果在图片资源的播放过程中, 确定终端正在 执行其他操作, 则停止对图片资源的播放; 在终端执行完其他操作后, 继 续对图片资源进行播放; 在终端处于满电量状态或者终端已结束充电的情 况下, 停止对图片资源的播放, 并显示电池电量满或充电停止的提示。
也就是说, 当手机在充电过程中, 且处于操作状态下, 手机的基带处 理器将当前手机状态信息以控制命令的形式发送, 图片资源播放装置根据 该控制命令确定终端正在执行其他操作, 图片播放开关关闭, 停止进行图 片资源播放。 在用户操作完毕后, 手机的基带处理器再将当前手机状态信 息以控制命令的形式发送, 图片资源播放装置根据该控制命令确定终端没 有执行其他操作, 图片播放开关开启, 继续进行图片资源播放。 当手机电 池处在满状态或停止充电状态时, 手机电源管理器将当前手机状态信息以 控制命令的形式发送, 图片资源播放装置根据该控制命令确定终端已充电 完毕, 图片播放开关关闭, 停止进行图片资源的播放, 并向对用户进行提 醒电池充电满或充电停止。 例如, 当手机在充电过程中用户进行接听电话、 进行网页浏览时, 手机的基带处理器将当前手机状态信息以控制命令关闭
( STOP ) 的形式发送, 图片资源播放装置根据该控制命令确定终端正在执 行其他操作, 图片播放开关关闭, 停止进行图片资源播放。 操作完毕后, 手机的基带处理器再将当前手机状态信息以控制命令 PLAY的形式发送, 图片资源播放装置根据该控制命令确定终端没有执行其他操作, 图片播放 开关开启, 继续进行图片资源播放。 当手机电池处在满状态或停止充电状 态时, 手机电源管理器将当前手机状态信息以控制命令 STOP的形式发送, 图片资源播放装置根据该控制命令确定终端已充电完毕, 图片播放开关关 闭, 停止进行图片资源的播放, 并向对用户进行提醒电池充电满或充电停 止。
优选地, 在执行了步驟 101之后且在步驟 102之前, 还需要检测图片 播放开关的状态, 在确定图片播放开关为开启状态的情况下, 对图片资源 进行播放, 在确定图片播放开关为关闭状态的情况下, 禁止对图片资源进 行播放。 此外, 在本发明实施例中, 手机无论是在开机还是关机状态下, 只要进行充电, 都会自动地对图片资源进行播放, 解决了现有技术在手机 充电时采用电源图标滚动显示充电画面而导致的界面简单乏味、 用户体验 感受较差的问题。
以下结合附图, 对本发明实施例的上述技术方案进行详细说明。
图 2是本发明实施例的图片资源播放方法的详细处理流程图, 如图 2 所示, 包括如下处理:
步驟 S201 , 用户对将要在充电过程中进行播放的图片进行选择, 然后 手机自动地将图片资源从手机存储器中获取至图片资源播放装置 (图片存 储装置) 中;
步驟 S202, 当手机电源管理器检测到处于充电状态, 发送控制命令至 图片资源播放装置;
步驟 S203 , 图片资源播放装置在对控制命令进行处理后, 开启图片播 放开关, 进行图片资源播放。
图 3是本发明实施例的判断终端充电操作状态的处理流程图, 如图 3 所示, 包括如下处理:
步驟 S301 , 手机的电源管理器检测是否处于充电状态; 若判定为否, 手机的电源管理器将当前充电信息以控制命令 STOP 的形式发送至图片资 源播放装置的控制单元; 若判定为是, 则进行步驟 S302;
步驟 S302, 手机的基带处理器检测是否处于其他操作状态下; 若判定 为否, 手机的基带处理器将当前充电信息以控制命令 PLAY的形式发送至 图片资源播放装置的控制单元; 若判定为是, 则进行步驟 S303;
步驟 S303 , 手机的基带处理器将当前手机状态信息以控制命令 STOP 的形式发送至图片资源播放装置的控制单元。
图 4是本发明实施例的设置图片开关的处理流程图, 如图 4所示, 包 括如下处理:
步驟 S401 , 终端判断是否接收到控制命令, 若判定为否, 结束操作, 若判定为是, 则进行步驟 S402;
步驟 S402, 若终端接收到 PLAY控制命令, 则开启图片播放开关, 图 片资源播放; 若终端接收到 STOP控制命令, 则关闭图片播放开关, 停止图 片资源播放。
图 5是本发明实施例的图片资源播放的处理流程图, 如图 5所示, 包 括如下处理: 步驟 S501 , 用户是否选择需要播放的图片; 若判定为否, 结束操作, 若判定为是, 则进行步驟 S502;
步驟 S502, 终端自动读取手机存储器中的图片资源;
步驟 S503 , 终端判断图片播放开关是否为开启状态; 若判定为否, 不 进行图片资源播放; 若判定为是, 进行图片资源播放。
综上所述, 借助于本发明实施例的技术方案, 手机无论是在开机还是 关机状态下充电的过程中, 自动地对图片资源进行播放, 增加了手机界面 显示效果的美感, 并且极大地增强了用户的体验感受。
装置实施例
根据本发明的实施例, 提供了一种图片资源播放装置, 图 6是本发明 实施例的图片资源播放装置的结构示意图, 如图 6所示, 根据本发明实施 例的图片资源播放装置包括: 图片输入模块 60、 图片处理模块 62、 变压模 块 64, 以下对本发明实施例的各个模块进行详细的说明。
具体地,图片输入模块 60用于获取并保存用户设置的图片资源;首先, 用户需要对将要在充电过程中进行播放的图片进行选择, 随后终端的图片 输入模块 60自动地将图片资源从终端存储器(手机存储器 )中获取并保存; 其中, 手机存储器是用来存放手机中的各种程序和数据的存储空间, 程序 是指包含指令、 以及编成一组有次序的指令的集合, 数据是指操作过程中 的文件信息、 变量、 参数等。
在本发明实施例中, 只有当用户进行图片资源设置时, 终端的图片输 入模块 60才会自动地从终端存储器中获取图片资源并存储。
图片处理模块 62用于确定终端的充电操作状态, 并根据充电操作状态 对图片资源进行播放或关闭; 具体地, 图片处理模块 62首先需要确定终端 的充电操作状态, 随后, 根据充电操作状态将图片开关设置为开启或关闭, 并在图片开关为开启的情况下, 对图片资源进行播放。 变压模块 64与手机电源管理器相连接, 用于为图片资源播放装置提供 工作电压。
优选地, 在实际应用中, 图片处理模块 62具体包括: 控制单元、 图片 开关设置单元、 以及图片输出单元。
控制单元用于确定终端的充电操作状态; 其中, 控制单元具体包括: 电源管理处理子模块, 用于根据电源管理器发送的控制命令确定终端是否 处于充电状态; 基带处理子模块, 用于根据基带处理器的控制命令确定终 端是否正在执行其他操作; 也就是说, 基带处理子模块用于接收处理手机 的基带处理器的控制命令; 电源管理处理子模块用于接收处理电源管理器 的控制命令。 在实际应用中, 当手机电源管理器在检测到充电器或数据线 插入后, 并且有充电电流的存在时, 即可判定手机处于充电状态。 其中, 电源管理器是指为手机提供各路电源, 能够将变化的电池电压转化为恒定 的输出电压的装置。 基带处理器主要是进行信息处理及信号处理的装置。 需要说明的是, 控制单元的具体操作可以根据图 3进行理解, 在此不再赘 述。
图片开关设置单元用于根据充电操作状态将图片开关设置为开启或关 闭; 具体地, 图片开关设置单元在确定终端未处于充电状态的情况下, 关 闭图片播放开关, 在确定终端处于充电状态、 且终端未执行其他操作的情 况下, 开启图片播放开关, 在确定终端处于充电状态、 且终端正在执行其 他操作的情况下, 关闭图片播放开关。 需要说明的是, 图片开关设置单元 的具体操作可以根据图 4进行理解, 在此不再赘述。
图片输出单元用于在图片开关为开启的情况下, 对图片资源进行播放。 具体地, 图片输出单元检测图片播放开关的状态, 在确定图片播放开关为 开启状态的情况下, 对图片资源进行播放, 在确定图片播放开关为关闭状 态的情况下, 禁止对图片资源进行播放; 其中, 图片输出单元对图片资源 进行播放的方式包括: 顺序播放、 或随机播放。 此外, 终端只对手机终端 所支持的图片格式进行播放, 不支持的图片格式不会进行播放。 需要说明 的是, 图片输出单元的具体操作可以根据图 5进行理解, 在此不再赘述。
优选地, 在本发明实施例中, 图片开关设置单元在图片资源的播放过 程中, 确定到终端正在执行其他操作的情况下, 关闭图片播放开关, 在终 端执行完其他操作后, 开启图片播放开关; 在终端处于满电量状态或者终 端已结束充电的情况下, 关闭图片播放开关。
在实际应用中, 当手机的电源管理器检测到充电状态时, 将当前充电 信息以控制命令的形式发送到控制单元的电源管理处理子模块, 在电源管 理处理子模块进行处理后, 图片开关设置单元将图片播放开关开启。 例如, 当检测到充电状态时, 手机的电源管理器将当前充电信息以 PLAY控制命 令的形式发送到控制单元的电源管理处理子模块, 在控制单元的电源管理 处理子模块接收控制命令并进行处理后, 图片开关设置单元将图片播放开 关开启。
此外, 在实际应用中, 如果在图片资源的播放过程中, 基带处理子模 块确定终端正在执行其他操作, 图片输出单元则停止对图片资源的播放; 在终端执行完操作后, 图片输出单元继续对图片资源进行播放; 在终端处 于满电量状态或者终端已结束充电的情况下, 图片输出单元停止对图片资 源的播放, 并显示电池电量满或充电停止的提示。
也就是说, 当手机在充电过程中, 且处于操作状态下, 手机的基带处 理器将当前手机状态信息以控制命令的形式发送, 基带处理子模块根据该 控制命令确定终端正在执行其他操作, 图片开关设置单元将图片播放开关 关闭, 图片输出单元停止进行图片资源播放。 在用户操作完毕后, 手机的 基带处理器再将当前手机状态信息以控制命令的形式发送, 基带处理子模 块根据该控制命令确定终端没有执行其他操作, 图片开关设置单元将图片 播放开关开启, 图片输出单元继续进行图片资源播放。 当手机电池处在满 状态或停止充电状态时, 手机电源管理器将当前手机状态信息以控制命令 的形式发送, 根据该控制命令确定终端已充电完毕, 图片开关设置单元将 图片播放开关关闭, 图片开关设置单元停止进行图片资源的播放, 并向对 用户进行提醒电池充电满或充电停止。 例如, 当手机在充电过程中用户进 行接听电话、 进行网页浏览时, 手机的基带处理器将当前手机状态信息以 控制命令 STOP 的形式发送, 基带处理子模块根据该控制命令确定终端正 在执行其他操作, 图片开关设置单元将图片播放开关关闭, 图片输出单元 停止进行图片资源播放。 操作完毕后, 手机的基带处理器再将当前手机状 态信息以控制命令 PLAY的形式发送, 基带处理子模块根据该控制命令确 定终端没有执行其他操作, 图片开关设置单元将图片播放开关开启, 图片 输出单元继续进行图片资源播放。 当手机电池处在满状态或停止充电状态 时, 手机电源管理器将当前手机状态信息以控制命令 STOP 的形式发送, 根据该控制命令确定终端已充电完毕, 图片开关设置单元将图片播放开关 关闭, 图片输出单元停止进行图片资源的播放, 并向对用户进行提醒电池 充电满或充电停止。
需要说明的是, 本发明实施例的图片资源播放装置的模块可以通过软 件、 硬件、 或者软硬件结合实现, 上述模块组成只是图片资源播放装置的 一种优选结构, 在实际应用中, 图片资源播放装置的模块组成可以不同于 上述实施例, 例如, 将图片输入模块和图片输出单元合一设置为数据输入 输出单元, 该数据输入输出单元与手机基带处理器连接。 此外, 为数据输 入输出单元提供工作电压的变压单元也可以不设置在图片资源播放装置内 部, 也就是说, 图片资源播放装置可以和终端共享同一个电源。 图 7是本 发明实施例的图片资源播放装置的优选结构示意图, 如图 7所示, 包括控 制单元、 图片开关设置单元、 以及数据输入输出单元, 其中, 控制单元包 括: 基带处理子模块, 用于接收处理手机的基带处理器的控制命令; 电源 管理处理子模块, 用于接收处理电源管理器的控制命令。 图片开关设置单 元进行图片播放开关开启和关闭; 数据输入输出单元包括两部分, 输入模 块, 在用户选择需要播放的图片后, 自动读取保存手机存储器中的图片资 源; 输出模块, 在图片播放开关为开启状态时, 进行图片资源播放。
综上所述, 本发明实施例通过在充电的过程中自动地对图片资源进行 播放, 解决了现有技术在手机充电时采用电源图标滚动显示充电画面而导 致的界面简单乏味、 用户体验感受较差的问题, 能够增加手机界面显示效 果的美感, 并且极大地增强了用户的体验感受。
尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人 员将意识到各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当 不限于上述实施例。

Claims

权利要求书
1、 一种图片资源播放方法, 其特征在于, 包括:
获取并保存用户设置的图片资源;
确定终端的充电操作状态, 并根据所述充电操作状态对所述图片资源 进行播放或关闭。
2、 如权利要求 1所述的方法, 其特征在于, 确定所述终端的充电操作 状态, 并根据所述充电操作状态对所述图片资源进行播放或关闭包括: 确定所述终端的充电操作状态, 根据所述充电操作状态将图片开关设 置为开启或关闭, 并在所述图片开关为开启的情况下, 对所述图片资源进 行播放。
3、 如权利要求 2所述的方法, 其特征在于, 确定所述终端的充电操作 状态, 根据所述充电操作状态将图片开关设置为开启或关闭, 并在所述图 片开关为开启的情况下, 对所述图片资源进行播放包括:
根据电源管理器发送的控制命令确定所述终端是否处于充电状态; 在确定所述终端未处于所述充电状态的情况下, 关闭图片播放开关, 并禁止对所述图片资源进行播放, 在确定所述终端处于充电状态的情况下, 根据基带处理器的控制命令确定所述终端是否正在执行其他操作;
在确定所述终端未执行所述其他操作的情况下, 开启所述图片播放开 关, 并对所述图片资源进行播放; 在确定所述终端正在执行所述其他操作 的情况下, 关闭所述图片播放开关, 并禁止对所述图片资源进行播放。
4、 如权利要求 1所述的方法, 其特征在于, 对所述图片资源进行播放 的方式包括: 顺序播放、 或随机播放。
5、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括: 如果在所述图片资源的播放过程中 , 确定到所述终端正在执行所述其 他操作, 则停止对所述图片资源的播放; 在所述终端执行完所述其他操作后, 继续对所述图片资源进行播放; 在所述终端处于满电量状态或者所述终端已结束充电的情况下, 停止 对所述图片资源的播放, 并显示电池电量满或充电停止的提示。
6、 如权利要求 2所述的方法, 其特征在于, 在获取并保存用户设置的 图片资源后, 所述方法还包括:
检测所述图片播放开关的状态, 在确定所述图片播放开关为开启状态 的情况下, 对所述图片资源进行播放, 在确定所述图片播放开关为关闭状 态的情况下, 禁止对所述图片资源进行播放。
7、 一种图片资源播放装置, 其特征在于, 包括:
图片输入模块, 用于获取并保存用户设置的图片资源;
图片处理模块, 用于确定终端的充电操作状态, 并根据所述充电操作 状态对所述图片资源进行播放或关闭;
变压模块, 用于为所述图片资源播放装置提供工作电压。
8、 如权利要求 7所述的装置, 其特征在于, 所述图片处理模块包括: 控制单元, 用于确定所述终端的充电操作状态;
图片开关设置单元, 用于根据所述充电操作状态将图片开关设置为开 启或关闭;
图片输出单元, 用于在所述图片开关为开启的情况下, 对所述图片资 源进行播放。
9、 如权利要求 8所述的装置, 其特征在于,
所述控制单元包括:
电源管理处理子模块, 用于根据电源管理器发送的控制命令确定所述 终端是否处于充电状态;
基带处理子模块, 用于根据基带处理器的控制命令确定所述终端是否 正在执行其他操作; 所述图片开关设置单元用于:
在确定所述终端未处于所述充电状态的情况下, 关闭所述图片播放开 关, 在确定所述终端处于充电状态、 且所述终端未执行所述其他操作的情 况下, 开启所述图片播放开关, 在确定所述终端处于充电状态、 且所述终 端正在执行所述其他操作的情况下, 关闭所述图片播放开关;
所述图片输出单元用于:
检测所述图片播放开关的状态, 在确定所述图片播放开关为开启状态 的情况下, 对所述图片资源进行播放, 在确定所述图片播放开关为关闭状 态的情况下, 禁止对所述图片资源进行播放;
所述图片开关设置单元还用于:
在所述图片资源的播放过程中 , 确定到所述终端正在执行所述其他操 作的情况下, 关闭所述图片播放开关, 在所述终端执行完所述其他操作后, 开启所述图片播放开关; 在所述终端处于满电量状态或者所述终端已结束 充电的情况下, 关闭所述图片播放开关。
10、 如权利要求 7所述的装置, 其特征在于, 所述图片输出单元对所 述图片资源进行播放的方式包括: 顺序播放、 或随机播放。
PCT/CN2011/077414 2011-04-12 2011-07-21 图片资源播放方法及装置 WO2012139345A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100900406A CN102148901A (zh) 2011-04-12 2011-04-12 图片资源播放方法及装置
CN201110090040.6 2011-04-12

Publications (1)

Publication Number Publication Date
WO2012139345A1 true WO2012139345A1 (zh) 2012-10-18

Family

ID=44422883

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077414 WO2012139345A1 (zh) 2011-04-12 2011-07-21 图片资源播放方法及装置

Country Status (2)

Country Link
CN (1) CN102148901A (zh)
WO (1) WO2012139345A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022396B (zh) * 2018-01-10 2021-04-20 中兴通讯股份有限公司 照片处理方法、装置和计算机可读存储介质
CN113220351B (zh) * 2021-05-11 2022-06-28 深圳掌酷软件有限公司 一种基于智能终端充电状态下自动切换充电动画的系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783895A (zh) * 2004-09-16 2006-06-07 株式会社卡西欧日立移动通信 用于显示多个图像的可折叠便携式信息处理设备
CN101378558A (zh) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 智能型双电池供电系统的移动电话机
US20100121589A1 (en) * 2008-11-12 2010-05-13 Samsung Electronics Co. Ltd. Apparatus and method for implementing application using solar battery charging of portable terminal
CN101729677A (zh) * 2008-10-23 2010-06-09 乐金电子(中国)研究开发中心有限公司 一种手机及其电池用电量提示方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783895A (zh) * 2004-09-16 2006-06-07 株式会社卡西欧日立移动通信 用于显示多个图像的可折叠便携式信息处理设备
CN101378558A (zh) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 智能型双电池供电系统的移动电话机
CN101729677A (zh) * 2008-10-23 2010-06-09 乐金电子(中国)研究开发中心有限公司 一种手机及其电池用电量提示方法
US20100121589A1 (en) * 2008-11-12 2010-05-13 Samsung Electronics Co. Ltd. Apparatus and method for implementing application using solar battery charging of portable terminal

Also Published As

Publication number Publication date
CN102148901A (zh) 2011-08-10

Similar Documents

Publication Publication Date Title
WO2017012267A1 (zh) 充电方法及装置
TWI521420B (zh) 能自動切換操作模式之行動終端裝置
CN100359460C (zh) 一种多显示屏并行显示的终端设备与实现方法
WO2013123863A1 (zh) 一种休眠方法、唤醒方法和移动终端设备
CN104581320A (zh) 一种切换播放模式的方法、装置和终端
WO2020029616A1 (zh) 移动终端及其省电模式控制方法
WO2017032123A1 (zh) 一种视频播放控制方法及装置
CN104578372B (zh) 控制终端设备充电的方法及装置
WO2012149738A1 (zh) 移动终端电源管理方法和装置
CN101776982A (zh) 一种利用数字罗盘进行便携设备控制的方法
US20120058805A1 (en) Mobile device and method for cutoff-based power control
JP2008061111A (ja) 電子機器および無線通信制御方法
WO2017096874A1 (zh) 显示屏亮度控制方法及装置
CN103024179A (zh) 一种移动终端的电量提醒方法及装置
JP2015019238A (ja) 電子機器システム
TWI307601B (en) Power control method for tv module used with portable electronic apparatus
JP2010232762A (ja) 高速出画可能な映像再生装置、映像再生システム、及び映像再生方法
JP5539947B2 (ja) 電子機器
WO2012139345A1 (zh) 图片资源播放方法及装置
CN105578278B (zh) 显示设备及对mhl信源实现来电通功能的方法
US20120327062A1 (en) Electronic apparatus, control method of electronic apparatus, and non-transitory computer-readable medium storing computer executable control program of electronic apparatus
JP2010011334A (ja) 通信端末装置
TW201909513A (zh) 充電方法及電子裝置
CN111525645A (zh) 一种智能充电方法、系统及其相关设备
WO2023045921A1 (zh) 显示方法、装置和电子设备

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

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

Country of ref document: EP

Kind code of ref document: A1