CN111694473A - Control method and control device for music suspension window of household appliance - Google Patents
Control method and control device for music suspension window of household appliance Download PDFInfo
- Publication number
- CN111694473A CN111694473A CN201910190470.1A CN201910190470A CN111694473A CN 111694473 A CN111694473 A CN 111694473A CN 201910190470 A CN201910190470 A CN 201910190470A CN 111694473 A CN111694473 A CN 111694473A
- Authority
- CN
- China
- Prior art keywords
- music
- signal
- floating window
- control
- window
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明提供了一种用于家电的音乐悬浮窗的控制方法及控制装置,所述音乐悬浮窗的控制方法包括以下步骤:接收显示音乐悬浮窗的信号;将所述音乐悬浮窗的视图加载到当前界面。本发明公开的音乐悬浮窗的控制方法及控制装置,通过将音乐悬浮窗加载到当前界面,使得用户在任何界面均可以对音乐播放进行控制,方便了用户的使用,提高了用户体验。
The invention provides a control method and a control device for a music suspension window for home appliances. The control method for the music suspension window includes the following steps: receiving a signal for displaying the music suspension window; loading the view of the music suspension window into a current interface. The control method and control device of the music suspension window disclosed in the present invention enable the user to control the music playback in any interface by loading the music suspension window into the current interface, which facilitates the use of the user and improves the user experience.
Description
技术领域technical field
本发明涉及音乐播放应用控制领域,尤其涉及一种用于家电的音乐悬浮窗的控制方法及控制装置。The invention relates to the field of music playback application control, in particular to a control method and a control device for a music suspension window for home appliances.
背景技术Background technique
目前,为了满足用户的多样化需求,一些智能家用电器中会设置显示屏及智能操作系统。当在显示屏上使用音乐播放功能时,当音乐播放应用在后台播放音乐时,除音乐播放应用界面以外的其他功能模块界面上无法进行歌曲转换和音量调节的等音乐控制操作。在每次需要进行音乐控制操作时,均需要找到主界面上的音乐播放应用并点开图标,这样操作较为繁琐,给用户带来了不便。At present, in order to meet the diverse needs of users, display screens and smart operating systems are installed in some smart home appliances. When using the music playback function on the display screen, when the music playback application plays music in the background, music control operations such as song conversion and volume adjustment cannot be performed on the interface of other functional modules except the music playback application interface. Every time a music control operation needs to be performed, it is necessary to find a music playing application on the main interface and click on the icon, which is complicated and brings inconvenience to the user.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种用于家电的音乐悬浮窗的控制方法及控制装置。The purpose of the present invention is to provide a control method and a control device for a music floating window for home appliances.
为实现上述发明目的,本发明一实施方式提供一种用于家电的音乐悬浮窗的控制方法,所述音乐悬浮窗的控制方法包括以下步骤:接收显示音乐悬浮窗的信号;将所述音乐悬浮窗的视图加载到当前界面。In order to achieve the above purpose of the invention, an embodiment of the present invention provides a control method for a music suspension window for home appliances, the control method for the music suspension window includes the following steps: receiving a signal for displaying the music suspension window; suspending the music The view of the window is loaded into the current interface.
作为本发明的进一步改进,在所述“接收显示音乐悬浮窗的信号”的步骤之前,所述控制方法还包括:接收打开音乐播放应用的信号;判断当前界面是否为音乐播放应用的运行界面;若当前界面不是音乐播放应用的运行界面,则生成显示音乐悬浮窗的信号。As a further improvement of the present invention, before the step of "receiving a signal for displaying a music floating window", the control method further includes: receiving a signal for opening the music playback application; judging whether the current interface is the running interface of the music playback application; If the current interface is not the running interface of the music playing application, a signal for displaying the music floating window is generated.
作为本发明的进一步改进,在所述“将所述音乐悬浮窗的视图加载到当前界面”的步骤之后,所述控制方法还包括:接收手势控制信号;判断所述手势控制信号的类型;若所述手势控制信号为第一手势信号,则将所述音乐悬浮窗的展开视图加载到当前页面;若所述手势控制信号为第二手势信号,则将所述音乐悬浮窗的收起视图加载到当前界面。As a further improvement of the present invention, after the step of "loading the view of the music floating window into the current interface", the control method further includes: receiving a gesture control signal; judging the type of the gesture control signal; If the gesture control signal is the first gesture signal, load the expanded view of the music suspension window to the current page; if the gesture control signal is the second gesture signal, load the collapsed view of the music suspension window Load into the current interface.
作为本发明的进一步改进,在所述“接收手势控制信号”的步骤之后,所述控制方法还包括:判断所述手势控制信号是否为连续作用于所述音乐悬浮窗上的拖动信号;若所述手势控制信号为连续作用于所述音乐悬浮窗上的拖动信号,则控制所述音乐悬浮窗跟随所述拖动信号移动到当前界面的不同位置。As a further improvement of the present invention, after the step of "receiving a gesture control signal", the control method further includes: judging whether the gesture control signal is a drag signal continuously acting on the music suspension window; if If the gesture control signal is a drag signal continuously acting on the music suspension window, the music suspension window is controlled to move to different positions on the current interface following the drag signal.
作为本发明的进一步改进,在所述“若所述手势控制信号为第一手势信号,则将所述音乐悬浮窗的展开视图加载到当前页面”之后,所述控制方法还包括:在所述展开视图上加载多个音乐控件。As a further improvement of the present invention, after the "if the gesture control signal is the first gesture signal, load the expanded view of the music floating window to the current page", the control method further includes: in the Loads multiple music controls on the expanded view.
作为本发明的进一步改进,在所述“在所述展开视图上加载多个音乐控件”的步骤之后,所述控制方法还包括:将音乐播放应用切换到后台运行状态;接收对所述音乐悬浮窗上的第一音乐控件的触控操作;控制所述音乐播放应用内与所述第一音乐控件相对应的第二音乐控件响应所述触控操作。As a further improvement of the present invention, after the step of "loading multiple music controls on the expanded view", the control method further includes: switching the music playing application to a background running state; receiving a response to the music suspension touch operation of the first music control on the window; control the second music control corresponding to the first music control in the music playing application to respond to the touch operation.
作为本发明的进一步改进,所述音乐控件包括退出键,所述控制方法还包括:接收对所述退出键的触控操作;控制所述音乐悬浮窗关闭;控制所述音乐播放应用暂停播放音乐或停止运行。As a further improvement of the present invention, the music control includes an exit key, and the control method further includes: receiving a touch operation on the exit key; controlling the music suspension window to close; controlling the music playing application to pause playing music or stop running.
本发明另一方面还公开了一种用于家电的音乐悬浮窗的控制装置,包括:接收模块,用于接收显示音乐悬浮窗的信号;加载模块,用于将所述音乐悬浮窗的视图加载到当前界面。Another aspect of the present invention also discloses a control device for a music suspension window for home appliances, comprising: a receiving module for receiving a signal for displaying the music suspension window; a loading module for loading a view of the music suspension window to the current interface.
作为本发明的进一步改进,在接收显示音乐悬浮窗的信号之前,所述接收模块还用于接收打开音乐播放应用的信号;所述控制装置还包括:判断模块,用于判断当前界面是否为用于播放应用的界面;生成模块,用于在当前界面不是音乐播放应用的运行界面时,生成显示音乐悬浮窗的信号。As a further improvement of the present invention, before receiving the signal for displaying the music floating window, the receiving module is further used for receiving a signal for opening the music playing application; the control device further includes: a judging module for judging whether the current interface is It is used for the interface of the playing application; the generating module is used to generate a signal for displaying the music floating window when the current interface is not the running interface of the music playing application.
作为本发明的进一步改进,在将音乐悬浮窗的视图加载到当前界面之后,所述接收模块还用于接收手势控制信号;所述判断模块还用于判断所述手势控制信号的类型;所述加载模块还用于:在所述手势控制信号为第一手势信号时,将所述音乐悬浮窗的展开视图加载到当前页面;以及在手势控制信号为第二手势信号时,将所述音乐悬浮窗的收起视图加载到当前界面。As a further improvement of the present invention, after the view of the music suspension window is loaded into the current interface, the receiving module is further configured to receive a gesture control signal; the judging module is further configured to determine the type of the gesture control signal; the The loading module is further configured to: when the gesture control signal is the first gesture signal, load the expanded view of the music floating window to the current page; and when the gesture control signal is the second gesture signal, load the music The collapsed view of the floating window is loaded into the current interface.
作为本发明的进一步改进,所述判断模块还用于:判断所述手势控制信号是否为连续作用于所述音乐悬浮窗上的拖动信号;As a further improvement of the present invention, the judgment module is further configured to: judge whether the gesture control signal is a drag signal continuously acting on the music suspension window;
所述控制装置还包括处理模块,所述处理模块用于在所述手势控制信号为拖动信号时,控制所述音乐悬浮窗跟随所述拖动信号移动到当前界面的不同位置。The control device further includes a processing module configured to control the music floating window to follow the drag signal to move to different positions on the current interface when the gesture control signal is a drag signal.
与现有技术相比,本发明公开的音乐悬浮窗的控制方法,通过将音乐悬浮窗加载到当前界面,使得用户在任何界面均可以对音乐播放进行控制,方便了用户的使用,提高了用户体验。Compared with the prior art, the control method of the music suspension window disclosed in the present invention enables the user to control the music playback in any interface by loading the music suspension window into the current interface, which is convenient for the user to use and improves the user experience. experience.
附图说明Description of drawings
图1是本发明第一实施方式中用于家电的音乐悬浮窗的控制方法的流程示意图;1 is a schematic flowchart of a control method for a music floating window for a home appliance in a first embodiment of the present invention;
图2是本发明第二实施方式中用于家电的音乐悬浮窗的控制方法的流程示意图;2 is a schematic flowchart of a control method for a music floating window for a home appliance in a second embodiment of the present invention;
图3是本发明第三实施方式中用于家电的音乐悬浮窗的控制方法的流程示意图;3 is a schematic flowchart of a control method for a music floating window for a home appliance in a third embodiment of the present invention;
图4是本发明第三实施方式中用于家电的音乐悬浮窗的控制方法的流程示意图;4 is a schematic flowchart of a control method for a music floating window for a home appliance in a third embodiment of the present invention;
图5是本发明第三实施方式中用于家电的音乐悬浮窗的控制方法的流程示意图;5 is a schematic flowchart of a control method for a music floating window for a home appliance in a third embodiment of the present invention;
图6是本发明一实施方式中用于家电的音乐悬浮窗的控制装置的结构示意图;6 is a schematic structural diagram of a control device for a music floating window for a home appliance according to an embodiment of the present invention;
图7是本发明一实施方式中音乐悬浮窗的收起视图的示意图;7 is a schematic diagram of a stowed view of a music suspension window in an embodiment of the present invention;
图8是本发明一实施方式中音乐悬浮窗的展开视图的示意图。FIG. 8 is a schematic diagram of an expanded view of a music floating window in an embodiment of the present invention.
具体实施方式Detailed ways
以下将结合附图所示的具体实施方式对本发明进行详细描述。但这些实施方式并不限制本发明,本领域的普通技术人员根据这些实施方式所做出的结构、方法、或功能上的变换均包含在本发明的保护范围内。The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and structural, method, or functional changes made by those skilled in the art according to these embodiments are all included in the protection scope of the present invention.
应该理解,本文使用的例如“上”、“上方”、“下”、“下方”等表示空间相对位置的术语是出于便于说明的目的来描述如附图中所示的一个单元或特征相对于另一个单元或特征的关系。空间相对位置的术语可以旨在包括设备在使用或工作中除了图中所示方位以外的不同方位。It should be understood that terms such as "upper", "above", "lower", "below" and the like used herein indicating relative positions in space are for convenience of description to describe the relative position of an element or feature as shown in the drawings. relationship to another element or feature. The term spatially relative position may be intended to encompass different orientations of the device in use or operation in addition to the orientation shown in the figures.
如图1-5所示,本发明公开了一种用于家电的音乐悬浮窗的控制方法。具体来说,所述控制方法可以应用于安装有智能操作系统的冰箱、电视机或洗衣机等家用电器,其中智能操作系统中安装有音乐播放应用。As shown in Figs. 1-5, the present invention discloses a control method of a music floating window for home appliances. Specifically, the control method can be applied to household appliances such as refrigerators, televisions or washing machines installed with an intelligent operating system, wherein a music playing application is installed in the intelligent operating system.
如图1所示,为本发明第一实施方式公开的用于家电的音乐悬浮窗的控制方法。所述方法包括以下步骤:As shown in FIG. 1 , a method for controlling a music floating window for a home appliance disclosed in the first embodiment of the present invention is disclosed. The method includes the following steps:
S110,接收显示音乐悬浮窗的信号。S110: Receive a signal for displaying a music floating window.
具体来说,音乐悬浮窗主要应用的场景为:当用户播放音乐,但仍需要使用其他界面时,需要在其他界面上也可以对音乐播放应用的部分功能进行操作。因此,当当前页面并非音乐播放的运行界面时,会生产显示音乐悬浮窗的信号。同时,也可以在音乐播放应用上设置显示音乐悬浮窗的控件,以便用户在需要时主动点击控件以显示音乐悬浮窗。Specifically, the main application scenarios of the music floating window are: when the user plays music but still needs to use other interfaces, it is necessary to operate some functions of the music playing application on other interfaces. Therefore, when the current page is not the running interface for music playback, a signal for displaying the music floating window will be generated. At the same time, a control for displaying the music floating window can also be set on the music playing application, so that the user can actively click the control to display the music floating window when needed.
S120,将所述音乐悬浮窗的视图加载到当前界面。S120, load the view of the music floating window into the current interface.
在接收到显示音乐悬浮窗的信号之后,可以在当前页面上加载音乐悬浮窗的视图。音乐悬浮窗的视图可以显示在当前页面的任意位置,并且,在每次加载音乐悬浮窗时,均会调取上次用户关闭音乐悬浮窗视图时其视图所处的位置,以便在本次加载中将上述视图显示在上一次关闭前的位置。After receiving the signal to display the music floating window, a view of the music floating window may be loaded on the current page. The view of the music floating window can be displayed at any position on the current page, and each time the music floating window is loaded, the position of the view when the user closed the music floating window view will be recalled, so as to be loaded this time. Displays the above view in the position it was in before it was last closed.
可以理解的是,所述音乐悬浮窗悬浮显示在当前界面上,在用户未对所述音乐悬浮窗进行操作的情况下,音乐悬浮窗保持在固定位置且不随所述用户界面的改变而改变。It can be understood that the music floating window is displayed in a suspended manner on the current interface, and when the user does not operate the music floating window, the music floating window remains in a fixed position and does not change with the change of the user interface.
如图2所述,为本发明第二实施方式公开的用于家电的音乐悬浮窗的控制方法。所述方法包括以下步骤:As shown in FIG. 2 , a method for controlling a music floating window for a home appliance disclosed in a second embodiment of the present invention is disclosed. The method includes the following steps:
S210,接收打开音乐播放应用的信号。S210: Receive a signal for opening a music playing application.
用户可通过直接对家用电器上的智能操作系统进行触控操作,从而生成打开音乐播放应用的信号;用户还可以通过另外的终端,包括但不限于手机、平板电脑等终端对家用电器上的智能操作系统进行远程操作,从而生成打开音乐播放应用的信号。The user can directly touch the smart operating system on the household appliance to generate a signal to open the music playback application; the user can also use other terminals, including but not limited to mobile phones, tablet computers and other terminals to control the smart devices on the household appliances. The operating system operates remotely, generating a signal to open the music player application.
S220,判断当前界面是否为音乐播放应用的运行界面,若当前界面不是音乐播放应用的运行界面,则执行步骤S230。S220: Determine whether the current interface is the running interface of the music playing application, and if the current interface is not the running interface of the music playing application, execute step S230.
在当前界面为音乐播放应用的运行界面时,用户可直接对音乐播放的功能进行操作,而无需显示音乐悬浮窗。When the current interface is the running interface of the music playing application, the user can directly operate the music playing function without displaying the music floating window.
S230,生成显示音乐悬浮窗的信号。S230, a signal for displaying the music floating window is generated.
也就是说,在有加载音乐悬浮窗的需求时,才会将音乐悬浮窗的视图加载到当前页面。That is to say, when there is a need to load the music floating window, the view of the music floating window will be loaded into the current page.
S240,接收显示音乐悬浮窗的信号。S240: Receive a signal for displaying the music floating window.
S250,将所述音乐悬浮窗的视图加载到当前界面。S250, load the view of the music floating window into the current interface.
如图3所示,为本发明第三实施方式公开的用于家电的音乐悬浮窗的控制方法。所述方法包括以下步骤:As shown in FIG. 3 , a method for controlling a music floating window for a home appliance disclosed in a third embodiment of the present invention is disclosed. The method includes the following steps:
S310,接收显示音乐悬浮窗的信号。S310: Receive a signal for displaying the music floating window.
S320,将所述音乐悬浮窗的视图加载到当前界面。S320, load the view of the music suspension window into the current interface.
S330,接收手势控制信号。S330, receive a gesture control signal.
用户可以对音乐悬浮窗的视图进行手势操作,此时音乐悬浮窗会接收到手势控制信号。具体的手势包括但不限于:向任意方向的滑动,向任意方向的拖动等。The user can perform gesture operations on the view of the music floating window, and the music floating window will receive a gesture control signal at this time. Specific gestures include but are not limited to: sliding in any direction, dragging in any direction, and the like.
S340,判断所述手势控制信号是否为第一手势信号,若所述手势控制信号为第一手势信号,则执行步骤S341;若所述手势控制信号不是第一手势信号,则执行步骤S350。S340, determine whether the gesture control signal is the first gesture signal, if the gesture control signal is the first gesture signal, execute step S341; if the gesture control signal is not the first gesture signal, execute step S350.
具体来说,第一手势信号可以为向左滑动,第二手势信号可以为向右滑动。拖动信号可以为连续作用于音乐悬浮窗的视图上的手势控制信号。当然,手势控制信号还可以为向上滑动、向下滑动等其他控制方式。Specifically, the first gesture signal may be sliding to the left, and the second gesture signal may be sliding to the right. The drag signal may be a gesture control signal continuously acting on the view of the music floating window. Of course, the gesture control signal may also be other control methods such as sliding up and sliding down.
S341,将所述音乐悬浮窗的展开视图加载到当前页面。S341, load the expanded view of the music floating window to the current page.
此时,手势控制信号为第一手势信号,例如向左滑动,则可将展开视图加载到当前页面。在展开视图上可以设置一些音乐控件,以便用户对音乐播放进行操作。At this time, the gesture control signal is the first gesture signal, for example, by sliding to the left, the expanded view can be loaded into the current page. Some music controls can be set on the expanded view so that the user can operate the music playback.
S350,判断所述手势控制信号是否为第二手势信号,若所述手势控制信号为第二手势信号,则执行步骤S351;若所述手势控制信号不是第二手势信号,则执行步骤S360。S350, determine whether the gesture control signal is the second gesture signal, if the gesture control signal is the second gesture signal, execute step S351; if the gesture control signal is not the second gesture signal, execute the step S360.
S351,将所述音乐悬浮窗的收起视图加载到当前界面。S351: Load the collapsed view of the music floating window into the current interface.
此时,手势控制信号为第二手势信号,例如向右滑动,则可将收起视图加载到当前页面。收起视图可以为音乐悬浮窗的默认视图,也即将音乐悬浮窗的视图加载到当前界面时,即显示的是收起视图。在收起视图的图标为占据当前页面较小位置的图标,图标可以为圆形、方形或其他任意形状。在收起视图上可以不设置音乐控件,以节省占据的面积;也可以设置一个音乐控件,例如播放/暂停键。At this time, the gesture control signal is the second gesture signal, for example, by sliding to the right, the collapsed view can be loaded into the current page. The collapsed view can be the default view of the music floating window, that is, when the view of the music floating window is loaded into the current interface, the collapsed view is displayed. The icon in the collapsed view is the icon occupying a small position on the current page, and the icon can be circular, square or any other shape. The music control may not be set on the collapsed view to save the area occupied; it is also possible to set a music control, such as a play/pause key.
S360,判断所述手势控制信号是否为拖动信号,若所述手势控制信号为拖动势信号,则执行步骤S361。S360: Determine whether the gesture control signal is a drag signal, and if the gesture control signal is a drag potential signal, perform step S361.
拖动信号为持续作用在音乐悬浮窗上的手势控制信号。The drag signal is a gesture control signal that continuously acts on the music floating window.
S361,控制所述音乐悬浮窗跟随所述拖动信号移动到当前界面的不同位置。S361 , controlling the music floating window to move to different positions on the current interface following the dragging signal.
具体可以设定若用户连续作用在音乐悬浮窗上的时间超过预设时间时,即判断此为拖动信号。当用户再向任意方向滑动时,音乐悬浮窗会跟随所述拖动信号而移动到当前界面的不同位置。Specifically, it can be set that if the time that the user continuously acts on the music floating window exceeds the preset time, it is determined that this is a drag signal. When the user slides in any direction, the music floating window will follow the drag signal and move to different positions on the current interface.
在步骤S341之后,所述方法还包括:After step S341, the method further includes:
S342,在所述展开视图上加载多个音乐控件。S342, load multiple music controls on the expanded view.
所述音乐控件至少包括播放键、音量调节键、播放下一首键及播放上一首键。The music controls at least include a play key, a volume adjustment key, a play next key and a play previous key.
如图4所示,在步骤S320之后,所述方法还包括:As shown in Figure 4, after step S320, the method further includes:
S321,将音乐播放应用切换到后台运行状态。S321, switch the music playing application to a background running state.
当在当前页面上加载音乐悬浮窗的视图之后,音乐播放应用相应地即被切换到后台运行状态。此时音乐可以继续播放。After the view of the music floating window is loaded on the current page, the music playing application is switched to the background running state accordingly. At this point the music can continue to play.
S322,接收对所述音乐悬浮窗上的第一音乐控件的触控操作。S322: Receive a touch operation on the first music control on the music floating window.
具体来说,当音乐悬浮窗加载展开视图时,用户可触控在所述展开视图上的多个第一音乐控件,以便对音乐播放进行控制。例如,点击播放/暂停键,或点击音量增大/降低键等。Specifically, when the music floating window loads the expanded view, the user can touch a plurality of first music controls on the expanded view to control music playback. For example, tap the play/pause key, or tap the volume up/down key, etc.
S323,控制所述音乐播放应用内与所述第一音乐控件相对应的第二音乐控件响应所述触控操作。S323, controlling the second music control corresponding to the first music control in the music playing application to respond to the touch operation.
具体来说,在用户对第一音乐控件进行触控操作时,此时实际上是音乐播放应用内的相应的第二音乐控件响应所述触控操作。例如,当点击展开视图上的暂停键,实际上是音乐播放应用内的暂停键对上述操作进行了响应,从而将音乐暂停播放。Specifically, when the user performs a touch operation on the first music control, at this time, the corresponding second music control in the music playing application actually responds to the touch operation. For example, when the pause button on the expanded view is clicked, the pause button in the music player actually responds to the above operation, thereby pausing the music.
如图5所示,在步骤S342之后,所述方法还包括:As shown in Figure 5, after step S342, the method further includes:
S3421,接收对所述退出键的触控操作。S3421, receiving a touch operation on the exit key.
具体来说,展开视图上加载了退出键。在用户触控退出键时,即接收到了对退出键的触控操作。Specifically, the escape key is loaded on the expanded view. When the user touches the exit key, the touch operation on the exit key is received.
S3422,控制所述音乐悬浮窗关闭。S3422, control the music floating window to close.
当点击退出键时,则代表用户不再使用音乐悬浮窗,可将音乐悬浮窗关闭。When the exit button is clicked, it means that the user no longer uses the music floating window, and the music floating window can be closed.
S3423,控制所述音乐播放应用暂停播放音乐或停止运行。S3423, control the music playing application to pause playing music or stop running.
当音乐悬浮窗关闭之后,此时后台运行的音乐播放应用可以暂停播放应用,或者停止运行,也即关闭音乐悬浮窗即为关闭音乐播放应用。After the music floating window is closed, the music playing application running in the background can pause the playing application, or stop running, that is, closing the music floating window means closing the music playing application.
如图6所示,本发明另一方面还公开了一种用于家电的音乐悬浮窗的控制装置。所述装置包括接收模块410及加载模块420。As shown in FIG. 6 , another aspect of the present invention further discloses a control device for a music floating window for a home appliance. The apparatus includes a receiving
所述接收模块410用于接收显示音乐悬浮窗的信号。具体来说,音乐悬浮窗主要应用的场景为:当用户播放音乐,但仍需要使用其他界面时,需要在其他界面上也可以对音乐播放应用的部分功能进行操作。因此,当当前页面并非音乐播放的运行界面时,会生产显示音乐悬浮窗的信号。同时,也可以在音乐播放应用上设置显示音乐悬浮窗的控件,以便用户在需要时主动点击控件以显示音乐悬浮窗。The receiving
所述加载模块420用于将所述音乐悬浮窗的视图加载到当前界面。在接收到显示音乐悬浮窗的信号之后,可以在当前页面上加载音乐悬浮窗的视图。音乐悬浮窗的视图可以显示在当前页面的任意位置,并且,在每次加载音乐悬浮窗时,均会调取上次用户关闭音乐悬浮窗视图时其视图所处的位置,以便在本次加载中将上述视图显示在上一次关闭前的位置。The
所述控制系统还包括判断模块430及生成模块440。The control system further includes a
所述判断模块430用于判断当前界面是否为用于播放应用的界面。在当前界面为音乐播放应用的运行界面时,用户可直接对音乐播放的功能进行操作,而无需显示音乐悬浮窗。The judging
生成模块440用于在当前界面不是音乐播放应用的运行界面时,生成显示音乐悬浮窗的信号。也就是说,在有加载音乐悬浮窗的需求时,才会将音乐悬浮窗的视图加载到当前页面。The
可以理解的是,在将音乐悬浮窗的视图加载到当前界面之后,所述接收模块410还用于接收手势控制信号。用户可以对音乐悬浮窗的视图进行手势操作,此时音乐悬浮窗会接收到手势控制信号。具体的手势包括但不限于:向任意方向的滑动,向任意方向的拖动等。It can be understood that, after the view of the music floating window is loaded into the current interface, the receiving
所述判断模块430还用于判断所述手势控制信号的类型。具体来说,第一手势信号可以为向左滑动,第二手势信号可以为向右滑动。拖动信号可以为连续作用于音乐悬浮窗的视图上的手势控制信号。当然,手势控制信号还可以为向上滑动、向下滑动等其他控制方式。The judging
进一步地,所述加载模块420还用于在所述手势控制信号为第一手势信号时,将所述音乐悬浮窗的展开视图加载到当前页面。此时,手势控制信号为第一手势信号,例如向左滑动,则可将展开视图加载到当前页面。在展开视图上可以设置一些音乐控件,以便用户对音乐播放进行操作。Further, the
所述加载模块420还用于在手势控制信号为第二手势信号时,将所述音乐悬浮窗的收起视图加载到当前界面。此时,手势控制信号为第二手势信号,例如向右滑动,则可将收起视图加载到当前页面。收起视图可以为音乐悬浮窗的默认视图,也即将音乐悬浮窗的视图加载到当前界面时,即显示的是收起视图。在收起视图的图标为占据当前页面较小位置的图标,图标可以为圆形、方形或其他任意形状。在收起视图上可以不设置音乐控件,以节省占据的面积;也可以设置一个音乐控件,例如播放/暂停键。The
所述判断模块430还用于判断所述手势控制信号是否为连续作用于所述音乐悬浮窗上的拖动信号。拖动信号为持续作用在音乐悬浮窗上的手势控制信号。具体可以设定若用户连续作用在音乐悬浮窗上的时间超过预设时间时,即判断此为拖动信号。The
所述控制装置还包括处理模块450,所述处理模块450用于在所述手势控制信号为拖动信号时,控制所述音乐悬浮窗跟随所述拖动信号移动到当前界面的不同位置。在判断手势控制信号为拖动信号时,当用户再向任意方向滑动时,音乐悬浮窗会跟随所述拖动信号而移动到当前界面的不同位置。The control device further includes a
所述处理模块450还用于在所述展开视图加载多个控件之后,将音乐播放应用切换到后台运行状态。当在当前页面上加载音乐悬浮窗的视图之后,音乐播放应用相应地即被切换到后台运行状态。此时音乐可以继续播放。The
所述接收模块410还用于接收对所述音乐悬浮窗上的第一音乐控件的触控操作。具体来说,当音乐悬浮窗加载展开视图时,用户可触控在所述展开视图上的多个第一音乐控件,以便对音乐播放进行控制。例如,点击播放/暂停键,或点击音量增大/降低键等。The receiving
所述处理模块450还用于控制所述音乐播放应用内与所述第一音乐控件相对应的第二音乐控件响应所述触控操作。具体来说,在用户对第一音乐控件进行触控操作时,此时实际上是音乐播放应用内的相应的第二音乐控件响应所述触控操作。例如,当点击展开视图上的暂停键,实际上是音乐播放应用内的暂停键对上述操作进行了响应,从而将音乐暂停播放。The
所述接收模块410还用于接收对所述退出键的触控操作。具体来说,展开视图上加载了退出键。在用户触控退出键时,接收模块410即接收到了对退出键的触控操作。The receiving
所述处理模块450还用于控制所述音乐悬浮窗关闭以及控制所述音乐播放应用暂停播放音乐或停止运行。当点击退出键时,则代表用户不再使用音乐悬浮窗,可将音乐悬浮窗关闭。当音乐悬浮窗关闭之后,此时后台运行的音乐播放应用可以暂停播放应用,或者停止运行,也即关闭音乐悬浮窗即为关闭音乐播放应用。The
如图7所示,为本发明实施方式中音乐悬浮窗的收起视图,收起视图仅显示了当前播放歌曲的专辑封面。如图8所示,为本发明实施方式中音乐悬浮窗的展开视图,在展开视图上设置了播放/暂停件、音量调节件、播放上一首键、播放下一首件及退出键等。As shown in FIG. 7 , it is a collapsed view of the music floating window in an embodiment of the present invention, and the collapsed view only displays the album cover of the currently playing song. As shown in FIG. 8 , it is an expanded view of the music floating window in the embodiment of the present invention. The expanded view is provided with a play/pause component, a volume adjustment component, a play previous key, a next play key, and an exit key.
应当理解,虽然本说明书按照实施方式加以描述,但并非每个实施方式仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施方式中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described in terms of embodiments, not every embodiment only includes an independent technical solution, and this description in the specification is only for the sake of clarity, and those skilled in the art should take the specification as a whole, and each The technical solutions in the embodiments can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
上文所列出的一系列的详细说明仅仅是针对本发明的可行性实施方式的具体说明,它们并非用以限制本发明的保护范围,凡未脱离本发明技艺精神所作的等效实施方式或变更均应包含在本发明的保护范围之内。The series of detailed descriptions listed above are only specific descriptions for the feasible embodiments of the present invention, and they are not used to limit the protection scope of the present invention. Changes should all be included within the protection scope of the present invention.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190470.1A CN111694473A (en) | 2019-03-13 | 2019-03-13 | Control method and control device for music suspension window of household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190470.1A CN111694473A (en) | 2019-03-13 | 2019-03-13 | Control method and control device for music suspension window of household appliance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111694473A true CN111694473A (en) | 2020-09-22 |
Family
ID=72475848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910190470.1A Pending CN111694473A (en) | 2019-03-13 | 2019-03-13 | Control method and control device for music suspension window of household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111694473A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101500125A (en) * | 2008-02-03 | 2009-08-05 | 突触计算机系统(上海)有限公司 | Method and apparatus for providing user interaction during displaying video on customer terminal |
CN103294398A (en) * | 2013-05-08 | 2013-09-11 | 深圳Tcl新技术有限公司 | Method and device for controlling display terminal based on suspension-type visual window |
US20140154982A1 (en) * | 2005-05-12 | 2014-06-05 | Robin Dua | System-on-chip having near field communication and other wireless communication |
CN104166458A (en) * | 2014-08-12 | 2014-11-26 | 广州华多网络科技有限公司 | Method and device for controlling multimedia player |
CN105468240A (en) * | 2015-12-29 | 2016-04-06 | 北京金山安全软件有限公司 | Multimedia content display method and device |
CN105700763A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Terminal interface window moving method and terminal interface window moving device |
CN106873869A (en) * | 2017-01-06 | 2017-06-20 | 珠海格力电器股份有限公司 | Music playing control method and device |
CN106980441A (en) * | 2017-03-29 | 2017-07-25 | 杭州弗凡科技有限公司 | The suspension windows exchange method and vehicle mounted guidance terminal of vehicle mounted guidance terminal |
CN108683801A (en) * | 2018-04-24 | 2018-10-19 | Oppo广东移动通信有限公司 | Method, device and terminal for controlling audio playing and computer readable storage medium |
CN108762627A (en) * | 2018-04-17 | 2018-11-06 | 网宿科技股份有限公司 | Instant message display methods and terminal |
-
2019
- 2019-03-13 CN CN201910190470.1A patent/CN111694473A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140154982A1 (en) * | 2005-05-12 | 2014-06-05 | Robin Dua | System-on-chip having near field communication and other wireless communication |
CN101500125A (en) * | 2008-02-03 | 2009-08-05 | 突触计算机系统(上海)有限公司 | Method and apparatus for providing user interaction during displaying video on customer terminal |
CN103294398A (en) * | 2013-05-08 | 2013-09-11 | 深圳Tcl新技术有限公司 | Method and device for controlling display terminal based on suspension-type visual window |
CN104166458A (en) * | 2014-08-12 | 2014-11-26 | 广州华多网络科技有限公司 | Method and device for controlling multimedia player |
CN105700763A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Terminal interface window moving method and terminal interface window moving device |
CN105468240A (en) * | 2015-12-29 | 2016-04-06 | 北京金山安全软件有限公司 | Multimedia content display method and device |
CN106873869A (en) * | 2017-01-06 | 2017-06-20 | 珠海格力电器股份有限公司 | Music playing control method and device |
CN106980441A (en) * | 2017-03-29 | 2017-07-25 | 杭州弗凡科技有限公司 | The suspension windows exchange method and vehicle mounted guidance terminal of vehicle mounted guidance terminal |
CN108762627A (en) * | 2018-04-17 | 2018-11-06 | 网宿科技股份有限公司 | Instant message display methods and terminal |
CN108683801A (en) * | 2018-04-24 | 2018-10-19 | Oppo广东移动通信有限公司 | Method, device and terminal for controlling audio playing and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11054988B2 (en) | Graphical user interface display method and electronic device | |
US9311167B2 (en) | APP operating method and device and APP output device supporting the same | |
CN104854821B (en) | Subscriber terminal equipment, the network equipment and its control method | |
KR102302353B1 (en) | Electronic device and method for displaying user interface thereof | |
US10108331B2 (en) | Method, apparatus and computer readable medium for window management on extending screens | |
JP2022031339A (en) | Display method and device | |
CN103412763B (en) | Background program management method of mobile terminal and mobile terminal | |
US20130159903A1 (en) | Method of displaying graphic user interface using time difference and terminal supporting the same | |
US20150128050A1 (en) | User interface for internet of everything environment | |
KR20180101624A (en) | Multi-screen mobile device and operation | |
US20140340204A1 (en) | Interactive multi-touch remote control | |
CN103430519A (en) | Remote control interface providing head-up operation and visual feedback | |
KR20130093043A (en) | Method and mobile device for user interface for touch and swipe navigation | |
CN110531920A (en) | Display method and device of sidebar, terminal and storage medium | |
KR20100009986A (en) | The method for inputing user commond and the electronic apparatus thereof | |
CN112306364B (en) | IoT (Internet of things) equipment control method and device, terminal and storage medium | |
CN103809856A (en) | Information processing method and first electronic device | |
CN201417444Y (en) | Display system and display device thereof | |
CN106293430A (en) | Virtual slide-mouse control system and control method thereof | |
CN105472679A (en) | Communication terminal network switching method and device | |
CN102981760A (en) | Method and device for locking screen of touch screen terminal | |
CN111831196B (en) | Control method of folding screen, terminal device and storage medium | |
WO2019061052A1 (en) | Split-screen display control method for intelligent terminal | |
CN111694473A (en) | Control method and control device for music suspension window of household appliance | |
WO2020087304A1 (en) | Terminal device and graphical user interface thereof, and multi-task interactive control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 266101 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Applicant after: QINGDAO HAIER REFRIGERATOR Co.,Ltd. Applicant after: Haier Smart Home Co., Ltd. Address before: 266101 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Applicant before: QINGDAO HAIER REFRIGERATOR Co.,Ltd. Country or region before: China Applicant before: QINGDAO HAIER JOINT STOCK Co.,Ltd. |
|
CB02 | Change of applicant information |