WO2017031854A1 - 播放设备分组的方法及终端 - Google Patents

播放设备分组的方法及终端 Download PDF

Info

Publication number
WO2017031854A1
WO2017031854A1 PCT/CN2015/096071 CN2015096071W WO2017031854A1 WO 2017031854 A1 WO2017031854 A1 WO 2017031854A1 CN 2015096071 W CN2015096071 W CN 2015096071W WO 2017031854 A1 WO2017031854 A1 WO 2017031854A1
Authority
WO
WIPO (PCT)
Prior art keywords
playing
time period
devices
target
playing time
Prior art date
Application number
PCT/CN2015/096071
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 WO2017031854A1 publication Critical patent/WO2017031854A1/zh

Links

Images

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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • 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/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Definitions

  • the present invention relates to the field of audio playback technologies, and in particular, to a method and a terminal for playing a device group.
  • the network music system consisting of multiple playback devices is becoming more and more popular among consumers.
  • a plurality of playback devices are wirelessly connected into a private network, and the private network provides an interface for the Internet, and the interface can be connected to one or more routers, so that the playback device in the private network can access the network music resources.
  • the device in the private network can be accessed through a dedicated application software to manage the device, including adding and reducing devices, searching for music, creating playlists, and various playback states. control.
  • the playback devices need to be added to a certain playback device group one by one.
  • the playback device A, the playback device B, and the playback device C are added to the first device.
  • the playback device D and the playback device E are added to the second playback device group. In this manner, the playback device needs to be searched, and the process is added after the search, and the process is cumbersome and the user experience is poor.
  • the embodiments of the present invention provide a method and a terminal for playing a device group, which can simplify the grouping process of the playing device and improve the user experience.
  • a first aspect of the embodiments of the present invention discloses a method for grouping a playback device, including:
  • the playing devices corresponding to the first target playing time period among the N playing devices are grouped into a first playing device group.
  • the playing device corresponding to the first target playing time period of the N playing devices is configured to be a first playing device group, including :
  • K is an integer greater than or equal to 1
  • the K playback devices are grouped into a first playback device group.
  • the determining that the playing time period of the N playing devices includes the first target playing time period of the current time comprises:
  • the playing time period i is any one of the playing time periods of the N playing devices
  • the playing time period i is determined as the first target playing time period.
  • the method further includes:
  • the playback device corresponding to the second target playing time period among the N playing devices is formed into a second playing device group.
  • the method further includes:
  • the playback device corresponding to the third target playing time period among the N playing devices is configured as a third playing device group.
  • a second aspect of the embodiment of the present invention discloses a terminal, including:
  • a first obtaining unit configured to acquire a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1;
  • a first determining unit configured to determine a current time
  • a second determining unit configured to determine a first target playing time period that includes the current time determined by the first determining unit in a playing time period of the N playing devices acquired by the first acquiring unit;
  • a first grouping unit configured to compose a playback device corresponding to the first target playing time period determined by the second determining unit among the N playing devices to form a first playing device group.
  • the first grouping unit includes:
  • a third determining unit configured to determine K playing devices corresponding to the first target playing time period, where K is an integer greater than or equal to 1;
  • a first grouping subunit configured to form the K playing devices determined by the third determining unit into the first playing device group.
  • the second determining unit includes:
  • a detecting unit configured to detect whether a starting time of the playing time period i in the playing time period of the N playing devices acquired by the first acquiring unit is before the current time, and an ending time of the playing time period i Whether it is after the current time, wherein the playing time period i is any one of the playing time periods of the N playing devices;
  • a second determining subunit configured to: before the detecting unit detects that the starting time of the playing time period i in the playing time period of the N playing devices acquired by the first acquiring unit is before the current time, and The end time of the playing time period i is determined as the first target playing time period after the current time.
  • the terminal further includes:
  • a fourth determining unit configured to determine a failure time when the playing time period of the playing device i in the playing device corresponding to the first target playing time period is invalid, where the failure time is a playing time period of the playing device i The moment of failure;
  • a fifth determining unit configured to determine a second target playing time period of the next second of the playing time period of the N playing devices that is acquired by the first acquiring unit, and the next time determined by the fourth determining unit;
  • a second grouping unit configured to form, by the playing device corresponding to the second target playing time period determined by the fifth determining unit, the second playing device group.
  • the terminal further includes:
  • a second acquiring unit configured to acquire a timing moment input by the user
  • a sixth determining unit configured to determine a third target playing time period that includes the timing moment in a playing time period of the N playing devices acquired by the first acquiring unit;
  • a third grouping unit configured to form, by the playback device corresponding to the third target playing time period determined by the sixth determining unit, the third playing device group.
  • a third aspect of the embodiments of the present invention discloses a storage medium for storing an application, where the application is used to execute a method for grouping a playback device according to the first aspect of the present invention.
  • a fourth aspect of the embodiments of the present invention discloses a terminal, including: one or more processors; a memory; one or more modules, where the one or more modules are stored in the memory, when When multiple processors are executing, do the following:
  • the playing devices corresponding to the first target playing time period among the N playing devices are grouped into a first playing device group.
  • the embodiment of the present invention acquires a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; determining a playing time period of the N playing devices The first target playing time period of the current time is included; and the playing devices corresponding to the first target playing time period of the N playing devices are combined into the first playing device group.
  • the playback device corresponding to the playback time period of the current time in the wireless music system can be formed into a playback device group, thereby simplifying the grouping process of the playback device and improving the user experience.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for grouping a playback device according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for grouping a playback device according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for grouping a playback device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for grouping a playback device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure
  • FIG. 5b is still another schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of still another embodiment of a terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of still another embodiment of a terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of still another embodiment of a terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
  • the terminal may include, but is not limited to, a notebook computer, a mobile phone, a tablet computer, a smart wearable device, and the like.
  • the system of the terminal refers to the operating system of the device, which may include, but is not limited to, an Android system, a Symbian system, a Windows system, an IOS (a mobile operating system developed by Apple), and the like.
  • the Android terminal refers to the terminal of the Android system
  • the Saipan terminal refers to the terminal of the Saipan system, and the like.
  • the above terminals are merely examples, not exhaustive, and include but are not limited to the above terminals.
  • a method and a terminal for grouping a playback device according to an embodiment of the present invention are described in conjunction with FIG. 1 to FIG.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for grouping a playback device according to an embodiment of the present invention.
  • the method for grouping a playback device described in this embodiment includes the following steps:
  • the wireless music system may be composed of multiple playback devices.
  • the wireless music system includes N playback devices, and the N is an integer greater than 1.
  • the terminal may acquire a playing time period set by the user and allocated to the N playing devices in the wireless music system, wherein the N playing devices may be all playing devices in the wireless music system, or may be part of the wireless music system. Play the device.
  • Each of the N playback devices may include at least one playback time period.
  • S103 Determine a first target playing time of the current time in a playing time period of the N playing devices. segment.
  • the terminal may compose the playing time period including the current time in the playing period of the N playing to form the first target playing time period, for example, the current time is 13:5, and the playing time is 11-14. Point, the playback time period contains the current time.
  • the playback device corresponding to the first target playing time period of the N playing devices is formed into a first playing device group.
  • the terminal may compose the playback device corresponding to the first target playing time period among the N playing devices to form the first playing device group.
  • the terminal may determine K playing devices corresponding to the first target playing time period, where the K is an integer greater than or equal to 1, and the K playing devices are formed into the first playing device group. Further, the terminal may add the K playing devices as one playing device group, that is, the first playing device group.
  • the playing time periods of the three playing devices in the wireless music system acquired by the terminal are as follows: the playing time period of the playing device A is set to: 7:00 to 9:00, 11:00 to 13:00, 19: 00 to 22:00; playback device B: 19:00 to 23:00; playback device C: 0:00 to 24:00.
  • the current time determined by the terminal is 12 noon
  • the first target playing time period determined by the terminal is: 11:00 to 13:00 and 0:00 to 24:00
  • the N playback devices are The playing device corresponding to the first target playing time period is: the playing device A and the playing device C, and the playing device A and the playing device C may be combined into the first playing device group.
  • the first playing device group can be controlled to play music synchronously.
  • the embodiment of the present invention acquires a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; determining a playing time period of the N playing devices The first target playing time period of the current time is included; and the playing devices corresponding to the first target playing time period of the N playing devices are combined into the first playing device group.
  • the playback device corresponding to the playback time period of the current time in the wireless music system can be formed into a playback device group, thereby simplifying the grouping process of the playback device and improving the user experience.
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a method for grouping a playback device according to an embodiment of the present invention.
  • the method for grouping a playback device described in this embodiment includes the following steps:
  • the wireless music system may be composed of multiple playing devices, and the wireless music system is assumed in the embodiment of the present invention.
  • the system includes N playback devices, and the N is an integer greater than 1.
  • the terminal may acquire a playing time period set by the user and allocated to the N playing devices in the wireless music system, wherein the N playing devices may be all playing devices in the wireless music system, or may be part of the wireless music system. Play the device.
  • Each of the N playback devices may include at least one playback time period.
  • the terminal may detect whether the starting time of the playing time period i in the playing time period of the N playing devices is before the current time, and whether the ending time of the playing time period i is after the current time, where the playing time
  • the segment i is any one of the playing time periods of the N playback devices.
  • the current time is 13:5:0
  • a certain playing time period is 11:14 to 14:00, that is, 13:5:0, at the beginning of the playing time, that is, after 11:00.
  • the end of the playing time period that is, before 14 o'clock.
  • the current time is 23:55:40
  • a certain playing time period is 23 o'clock and 4 o'clock, that is, 23 o'clock is the starting time of the playing time period, and 4 o'clock is the playing time period.
  • the end time is then 23:55:40 after the start time of the play time period and before the end time of the play time period.
  • the playing time period i if the playing time period i satisfies the terminal, the starting time of the playing time period i is smaller than the current time, and the ending time of the playing time period i is greater than the current time, the playing time period i is determined as the first target. Play time period.
  • the playback device corresponding to the first target playing time period of the N playing devices is formed into a first playing device group.
  • the terminal may determine K playing devices corresponding to the first target playing time period, where the K is an integer greater than or equal to 1, and the K playing devices are formed into the first playing device group. Further, the terminal may add the K playing devices as one playing device group, that is, the first playing device group.
  • the playing time periods of the three playing devices in the wireless music system acquired by the terminal are as follows: the playing time period of the playing device A is set to: 7:00 to 9:00, 11:00 to 13:00, 19: 00 to 22:00; playback device B: 19:00 to 23:00; playback device C: 0:00 to 24:00.
  • the current time determined by the terminal is 12 noon
  • the first target playing time period determined by the terminal is: 11:00 to 13:00 and 0:00 to 24:00
  • the N playback devices are The playing device corresponding to the first target playing time period is: the playing device A and the playing device C, and the playing device A and the playing device C may be combined into the first playing device group.
  • the controllable The first playback device group plays music synchronously.
  • the embodiment of the present invention acquires a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; detecting the playing time period of the N playing devices Whether the starting time of the playing time period i is before the current time, and whether the ending time of the playing time period i is after the current time, wherein the playing time period i is the N playing devices Any one of the playing time periods; if yes, the playing time period i is determined as the first target playing time period; and the playing of the N playing devices corresponding to the first target playing time period
  • the device constitutes the first playback device group.
  • the playback device corresponding to the playback time period of the current time in the wireless music system can be formed into a playback device group, thereby simplifying the grouping process of the playback device and improving the user experience.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for grouping a playback device according to an embodiment of the present invention.
  • the method for grouping a playback device described in this embodiment includes the following steps:
  • the playback device corresponding to the first target playing time period among the N playing devices is formed into a first playing device group.
  • steps S301-S304 For a detailed description of steps S301-S304, refer to step S101-step S104 in the embodiment of the present invention described in FIG. 1.
  • the failure time is determined, and the invalid time is the ending time of the playing time period of the playing device i.
  • the playing time periods of the three playing devices in the wireless music system acquired by the terminal are as follows: the playing time period of the playing device A is set to: 7:00 to 9:00, 11:00 to 13:00, 19: 00 to 22:00; playback device B: 19:00 to 23:00; playback device C: 0:00 to 24:00.
  • the current time determined by the terminal is 12 noon
  • the first target playing time period determined by the terminal is: 11:00 to 13:00 and 0:00 to 24:00
  • the N playback devices are The playing device corresponding to the first target playing time period is: playing device A and playing device C, then playing device A and The playback device C constitutes a first playback device group.
  • the playback time period expires from 11:00 to 13:00, and 13:00 can be determined as the failure time.
  • the terminal may compose the playing time period including the current time in the playing period of the N playing to form the first target playing time period, for example, the current time is 13:5, and the playing time is 11-14. Point, the playback time period contains the current time.
  • the playback device corresponding to the second target playing time period among the N playing devices is configured as a second playing device group.
  • the embodiment of the present invention acquires a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; determining a playing time period of the N playing devices The first target playing time period of the current time is included; the playing device corresponding to the first target playing time period of the N playing devices is formed into a first playing device group; and the first target playing time is When the playing time period i in the segment is invalid, determining the time of failure, the time of failure is the ending time of the playing time period of the playing device i; determining that the playing time period of the N playing devices includes the time of failure a second target playing time period of the next second; the playing device corresponding to the second target playing time period among the N playing devices is composed of the second playing device group.
  • the playing device including the next second of the dead time in the N playing devices is reconstituted into the playing device group, thereby simplifying the playing device.
  • the grouping process at the same time, improves the user experience.
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for grouping a playback device according to an embodiment of the present invention.
  • the method for grouping a playback device described in this embodiment includes the following steps:
  • S403. Determine a first target playing time period of the current time in a playing time period of the N playing devices.
  • the playback device corresponding to the first target playing time period of the N playing devices is formed into a first playing device group.
  • steps S301-S304 please refer to the steps in the embodiment of the present invention described in FIG. S101 - step S104.
  • the terminal may acquire a timing moment input by the user, and the timing moment may be any moment set by the user.
  • the terminal may compose the playing time period of the current playing time of the N playing time into the third target playing time period, for example, the current time is 13:5, and the playing time is 11-14. Point, the playback time period contains the current time.
  • the playback device corresponding to the third target playing time period among the N playing devices is configured as a third playing device group.
  • the embodiment of the present invention acquires a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; determining a playing time period of the N playing devices The first target playing time period of the current time is included; the playing device corresponding to the first target playing time period of the N playing devices is formed into a first playing device group; and the time instant input by the user is obtained;
  • the playing time period of the N playback devices includes a third target playing time period of the timing moment; and the playing device corresponding to the third target playing time period among the N playing devices is configured as a third playing device group.
  • the playback devices corresponding to the playback time segments of the N playback devices are composed of the playback device group, thereby simplifying the grouping process of the playback device. , improved user experience.
  • FIG. 5a is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention.
  • the terminal described in FIG. 5a may include: a first acquiring unit 501, a first determining unit 502, and a second determining.
  • the unit 503 and the first grouping unit 504 are as follows:
  • the first obtaining unit 501 is configured to acquire a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N is an integer greater than 1.
  • the wireless music system may be composed of multiple playback devices.
  • the wireless music system includes N playback devices, and the N is an integer greater than 1.
  • the first obtaining unit 501 may acquire a playing time period set by the user and allocated to the N playing devices in the wireless music system, where the N playing devices may be all playing devices in the wireless music system, or may be wireless music Part of the playback device in the system.
  • Each of the N playback devices may include at least one playback time period.
  • the first determining unit 502 is configured to determine a current time.
  • the second determining unit 503 is configured to determine a first target playing time period that includes the current time determined by the first determining unit 502 in the playing time period of the N playing devices acquired by the first acquiring unit 501.
  • the second determining unit 503 may form a playing time period including the current time in the N playing time segments into a first target playing time period, for example, the current time is 13:5, and a playing time period is From 11:00 to 14:00, the playback time period contains the current time.
  • the first grouping unit 504 is configured to compose a playback device corresponding to the first target playing time period determined by the second determining unit 503 among the N playing devices to form a first playing device group.
  • the first grouping unit 504 can form a playing device corresponding to the first target playing time period among the N playing devices to form the first playing device group.
  • the playing time periods of the three playing devices in the wireless music system acquired by the first obtaining unit 501 are respectively as follows: the playing time period of the playing device A is set to: 7:00 to 9:00, 11:00 to 13: 00, 19:00 to 22:00; playback device B: 19:00 to 23:00; playback device C: 0:00 value 24:00.
  • the current time determined by the first determining unit 502 is 12 noon
  • the first target playing time period determined by the second determining unit 503 is: 11:00 to 13:00 and 0:00 to 24:00.
  • the playing device corresponding to the first target playing time period of the N playing devices is: the playing device A and the playing device C, and the first grouping unit 504 can form the playing device A and the playing device C into the first playing device group. Further, after the terminal constitutes the first playing device group, the first playing device group can be controlled to play music synchronously.
  • the first grouping unit 504 of the terminal described in FIG. 5a includes: a third determining unit 5041 and a first grouping subunit 5042, as follows:
  • the third determining unit 5041 is configured to determine K playing devices corresponding to the first target playing time period, where the K is an integer greater than or equal to 1.
  • the first grouping subunit 5042 is configured to form the K playing devices determined by the third determining unit 5041 into the first playing device group.
  • the second determining unit 503 of the terminal described in FIG. 5a includes: a detecting unit 5031 and a second determining subunit 5032, as follows:
  • the detecting unit 5031 is configured to detect whether a starting time of the playing time period i in the playing time period of the N playing devices acquired by the first acquiring unit 501 is before the current time, and the playing time period i is Whether the end time is after the current time, wherein the playing time period i is any one of the playing time periods of the N playing devices.
  • the detecting unit 5031 can detect the start of the playing time period i in the playing time period of the N playing devices. Whether the time is before the current time, and whether the end time of the playing time period i is after the current time, wherein the playing time period i is any one of the playing time periods of the N playing devices.
  • the current time is 13:5:0
  • a certain playing time period is 11:14 to 14:00, that is, 13:5:0, at the beginning of the playing time, that is, after 11:00.
  • the end of the playing time period that is, before 14 o'clock.
  • the current time is 23:55:40
  • a certain playing time period is 23 o'clock and 4 o'clock, that is, 23 o'clock is the starting time of the playing time period, and 4 o'clock is the playing time period.
  • the end time is then 23:55:40 after the start time of the play time period and before the end time of the play time period.
  • a second determining sub-unit 5032 configured to: when the detecting unit 5031 detects that the starting time of the playing time period i in the playing time period of the N playing devices obtained by the first acquiring unit 501 is at the current time Previously, and the end time of the playing time period i is after the current time, the playing time period i is determined as the first target playing time period.
  • the terminal described in FIG. 5a may further include: a fourth determining unit 505, a fifth determining unit 506, and a second grouping unit 507, as follows:
  • the fourth determining unit 505 is configured to determine a failure time when the playing time period i in the first target playing time period is invalid, where the failure time is an ending time of the playing time period of the playing device i.
  • the fourth determining unit 505 may determine the failure time, which is the ending time of the playing time period of the playing device i.
  • the playing time periods of the three playing devices in the wireless music system acquired by the terminal are as follows: the playing time period of the playing device A is set to: 7:00 to 9:00, 11:00 to 13:00, 19: 00 to 22:00; playback device B: 19:00 to 23:00; playback device C: 0:00 to 24:00.
  • the current time determined by the terminal is 12 noon
  • the first target playing time period determined by the terminal is: 11:00 to 13:00 and 0:00 to 24:00
  • the N playback devices are The playing device corresponding to the first target playing time period is: the playing device A and the playing device C, and the playing device A and the playing device C may be combined into the first playing device group.
  • the playback time period expires from 11:00 to 13:00, and 13:00 can be determined as the failure time.
  • the fifth determining unit 506 is configured to determine a second target playing time of the next second that includes the failure time determined by the fourth determining unit 505 in the playing time period of the N playing devices acquired by the first acquiring unit 501 segment.
  • the second grouping unit 507 is configured to compose a playback device corresponding to the second target playing time period determined by the fifth determining unit 506 among the N playing devices to form a second playing device group.
  • the first grouping unit of the terminal described in FIG. 5a includes: a second obtaining unit 508, a sixth determining unit 509, and a third grouping unit 510, as follows:
  • the second obtaining unit 508 is configured to acquire a timing moment input by the user.
  • the sixth determining unit 509 is configured to determine a third target playing time period that includes the timing moment in the playing time period of the N playing devices acquired by the first acquiring unit 501.
  • the third grouping unit 510 is configured to compose a playback device corresponding to the third target playing time period determined by the sixth determining unit 509 among the N playing devices to form a third playing device group.
  • the terminal described in the embodiment of the present invention may obtain a playing time period allocated by the user to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; determining the N
  • the playing time period of the playing device includes the first target playing time period of the current time; and the playing devices corresponding to the first target playing time period of the N playing devices form a first playing device group.
  • the playback device corresponding to the playback time period of the current time in the wireless music system can be formed into a playback device group, thereby simplifying the grouping process of the playback device and improving the user experience.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
  • the terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 Connected via bus 5000.
  • the input device 1000 can be a touch panel, a general PC, a liquid crystal screen, a touch screen, a touch button, and the like.
  • the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
  • the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
  • the processor 3000 is configured to:
  • the playing devices corresponding to the first target playing time period among the N playing devices are grouped into a first playing device group.
  • the processor 3000 further includes a playback device corresponding to the first target playing time segment of the N playback devices to form a first playback device group, specifically:
  • K is an integer greater than or equal to 1
  • the K playback devices are grouped into a first playback device group.
  • the processor 3000 determines that the first target playing time period of the current time is included in the playing time period of the N playing devices, specifically:
  • the playing time period i is any one of the playing time periods of the N playing devices
  • the playing time period i is determined as the first target playing time period.
  • the playback device corresponding to the first target playing time segment of the N playback devices is further configured to:
  • the playback device corresponding to the second target playing time period among the N playing devices is formed into a second playing device group.
  • the playback device corresponding to the target playback time period of the N playback devices is further configured to: acquire a timing moment input by the user. ;
  • the playback device corresponding to the third target playing time period among the N playing devices is configured as a third playing device group.
  • the terminal described in the embodiment of the present invention may obtain a playing time period allocated by the user to the N playing devices in the wireless music system, where the N is an integer greater than 1; determining the current time; determining the N
  • the playing time period of the playing device includes the first target playing time period of the current time; and the playing devices corresponding to the first target playing time period of the N playing devices form a first playing device group.
  • the playback device corresponding to the playback time period of the current time in the wireless music system can be formed into a playback device group, thereby simplifying the grouping process of the playback device and improving the user experience.
  • the present invention also provides a storage medium for storing an application for performing a method of grouping a playback device according to any of the embodiments of the present invention.
  • the present invention also proposes a terminal comprising: one or more processors; a memory; one or more modules, one or more modules stored in the memory when being one or more processors Perform the following operations when performing:
  • the playback device corresponding to the first target playing time period among the N playing devices is formed into a first playing device group.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种播放设备分组的方法及终端,所述方法包括:获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。可以将无线音乐系统中包含当前时刻的播放时间段对应的播放设备组成播放设备组,从而简化了播放设备的分组过程,同时,提高了用户体验。

Description

播放设备分组的方法及终端
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2015年8月25日提交的、发明名称为“播放设备分组的方法及终端”的、中国专利申请号“201510528111.4”的优先权。
技术领域
本发明涉及音频播放技术领域,尤其涉及一种播放设备分组的方法及终端。
背景技术
随着生活品质的提高,人们对音乐品质的追求也越来越高。由多个播放设备组成网络音乐系统,正越来越受到消费者的欢迎。即将多个播放设备通过无线方式连接成一个私有网络,该私有网络提供了面向因特网的接口,通过接口可以是连接到一个或多个路由器,从而,使私有网络内的播放设备可以访问网络音乐资源,在用户使用智能手机等终端设备的情况下,通过专用的应用软件可以访问这个私有网络内的设备,对设备进行管理,包括增加和减少设备、搜索音乐、创建播放列表,以及各种播放状态的控制。
实际生活中,用户使用终端对播放设备进行分组的过程中,需要将播放设备一个一个地添加到某一个播放设备组中,如:将播放设备A、播放设备B和播放设备C添加到第一播放设备组中,或者,将播放设备D和播放设备E添加到到第二播放设备组中,这种方式需要对播放设备进行查找,查找到之后进行添加,过程较为繁琐,用户体验较差。
发明内容
本发明实施例提供了一种播放设备分组的方法及终端,可简化播放设备的分组过程,同时,提高用户体验。
本发明实施例第一方面公开了一种播放设备分组的方法,包括:
获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
确定当前时刻;
确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;
将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
结合第一方面,在第一方面的第一种可能的实施方式中,所述将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组,包括:
确定与所述第一目标播放时间段对应的K个播放设备,所述K为大于或等于1的整数;
将所述K个播放设备组成第一播放设备组。
结合第一方面,在第一方面的第二种可能的实施方式中,所述确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段,包括:
检测所述N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段;
若是,将所述播放时间段i确定为第一目标播放时间段。
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,所述将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组之后,所述方法还包括:
在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻;
确定所述N个播放设备的播放时间段中包含所述失效时刻的下一秒的第二目标播放时间段;
将所述N个播放设备中与所述第二目标播放时间段对应的播放设备组成第二播放设备组。
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第四种可能的实施方式中,所述将所述N个播放设备中与所述目标播放时间段对应的播放设备组成第一播放设备组之后,所述方法还包括:
获取用户输入的定时时刻;
确定所述N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段;
将所述N个播放设备中与所述第三目标播放时间段对应的播放设备组成第三播放设备组。
本发明实施例第二方面公开了一种终端,包括:
第一获取单元,用于获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
第一确定单元,用于确定当前时刻;
第二确定单元,用于确定所述第一获取单元获取到的N个播放设备的播放时间段中包含所述第一确定单元确定的当前时刻的第一目标播放时间段;
第一分组单元,用于将所述N个播放设备中与所述第二确定单元确定的第一目标播放时间段对应的播放设备组成第一播放设备组。
结合第二方面,在第二方面的第一种可能的实施方式中,所述第一分组单元包括:
第三确定单元,用于确定与所述第一目标播放时间段对应的K个播放设备,所述K为大于或等于1的整数;
第一分组子单元,用于将所述第三确定单元确定的K个播放设备组成第一播放设备组。
结合第二方面,在第二方面的第二种可能的实施方式中,所述第二确定单元包括:
检测单元,用于检测所述第一获取单元获取到的N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段;
第二确定子单元,用于若所述检测单元检测到所述第一获取单元获取到的N个播放设备的播放时间段中播放时间段i的起始时刻在所述当前时刻之前,且所述播放时间段i的结束时刻在所述当前时刻之后,将所述播放时间段i确定为第一目标播放时间段。
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第三种可能的实施方式中,所述终端还包括:
第四确定单元,用于在所述第一目标播放时间段对应的播放设备中的播放设备i的播放时间段失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段失效的时刻;
第五确定单元,用于确定所述第一获取单元获取到的N个播放设备的播放时间段中包含所述第四确定单元确定的失效时刻的下一秒的第二目标播放时间段;
第二分组单元,用于将所述N个播放设备中与所述第五确定单元确定的第二目标播放时间段对应的播放设备组成第二播放设备组。
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第四种可能的实施方式中,所述终端还包括:
第二获取单元,用于获取用户输入的定时时刻;
第六确定单元,用于确定所述第一获取单元获取的N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段;
第三分组单元,用于将所述N个播放设备中与所述第六确定单元确定的第三目标播放时间段对应的播放设备组成第三播放设备组。
本发明实施例第三方面公开了一种存储介质,用于存储应用程序,所述应用程序用于执行本发明第一方面实施例所述的播放设备分组的方法。
本发明实施例第四方面公开了一种终端,包括:一个或者多个处理器;存储器;一个或者多个模块,所述一个或者多个模块存储在所述存储器中,当被所述一个或者多个处理器执行时进行如下操作:
获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
确定当前时刻;
确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;
将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
实施本发明实施例,具有一下有益效果:
本发明实施例获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。采用本发明实施例,可将无线音乐系统中包含当前时刻的播放时间段对应的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例、描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种播放设备分组的方法的第一实施例的流程示意图;
图2为本发明实施例提供的一种播放设备分组的方法的第二实施例的流程示意图;
图3为本发明实施例提供的一种播放设备分组的方法的第三实施例的流程示意图;
图4为本发明实施例提供的一种播放设备分组的方法的第四实施例的流程示意图;
图5a为本发明实施例提供的一种终端的第一实施例的结构示意图;
图5b为本发明实施例提供的一种终端的第一实施例的又一结构示意图;
图5c为本发明实施例提供的一种终端的第一实施例的又一结构示意图;
图5d为本发明实施例提供的一种终端的第一实施例的又一结构示意图;
图5e为本发明实施例提供的一种终端的第一实施例的又一结构示意图;
图6为本发明实施例提供的一种终端的第二实施例的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明实施例一部分实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
实现中,本发明实施例中,终端可以包括但不限于:笔记本电脑、手机、平板电脑、智能可穿戴设备等等。终端的系统指设备的操作系统,可以包括但不限于:Android系统、塞班系统、Windows系统、IOS(苹果公司开发的移动操作系统)等等。需要说明的是,Android终端指Android系统的终端,塞班终端指塞班系统的终端,等等。上述终端仅是举例,而非穷举,包含但不限于上述终端。
本发明实施例结合图1至图6对本发明实施例提供的一种播放设备分组的方法及终端进行描述。
请参阅图1,图1是本发明实施例提供的一种播放设备分组的方法的第一实施例流程示意图。本实施例中所描述的播放设备分组的方法,包括以下步骤:
S101、获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数。
具体实现中,无线音乐系统可由多个播放设备组成,本发明实施例中假定无线音乐系统包含N个播放设备,该N为大于1的整数。终端可获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,该N个播放设备可为无线音乐系统中所有的播放设备,或者,可为无线音乐系统中的部分播放设备。该N个播放设备中的每一个播放设备可至少包括一个播放时间段。
S102、确定当前时刻。
S103、确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间 段。
具体实现中,终端可将N个播放的播放时间段中包含当前时刻的播放时间段组成第一目标播放时间段,例如,当前时刻为13点5分,某个播放时间段为11点-14点,则该播放时间段包含当前时刻。
S104、将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
具体实现中,终端可将N个播放设备中和第一目标播放时间段对应的播放设备组成第一播放设备组。
可选地,终端可确定与第一目标播放时间段对应的K个播放设备,该K为大于或等于1的整数,将该K个播放设备组成第一播放设备组。进一步地,终端可将该K个播放设备添加成一个播放设备组,即第一播放设备组。
例如,终端获取的无线音乐系统中的3个播放设备的播放时间段,分别如下:播放设备A的播放时间段设置为:7:00至9:00、11:00至13:00、19:00至22:00;播放设备B:19:00至23:00;播放设备C:0:00至24:00。在终端确定的当前时刻为中午12点的情况下,则终端确定的第一目标播放时间段为:11:00至13:00和0:00至24:00,则N个播放设备中与该第一目标播放时间段对应的播放设备为:播放设备A和播放设备C,则可将播放设备A和播放设备C组成第一播放设备组。进一步地,当终端组成了第一播放设备组之后,可控制该第一播放设备组同步播放音乐。
本发明实施例获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。采用本发明实施例,可将无线音乐系统中包含当前时刻的播放时间段对应的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
请参阅图2,图2是本发明实施例提供的一种播放设备分组的方法的第一实施例流程示意图。本实施例中所描述的播放设备分组的方法,包括以下步骤:
S201、获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数。
具体实现中,无线音乐系统可由多个播放设备组成,本发明实施例中假定无线音乐系 统包含N个播放设备,该N为大于1的整数。终端可获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,该N个播放设备可为无线音乐系统中所有的播放设备,或者,可为无线音乐系统中的部分播放设备。该N个播放设备中的每一个播放设备可至少包括一个播放时间段。
S202、确定当前时刻。
S203、检测所述N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段。
具体实现中,终端可检测N个播放设备的播放时间段中播放时间段i的起始时刻是否在当前时刻之前,且该播放时间段i的结束时刻是否在该当前时刻之后,其中,播放时间段i为N个播放设备的播放时间段中的任一播放时间段。例如:当前时刻为13点5分0秒,某个播放时间段为11点整-14点整,即:13点5分0秒在该播放时间段的起始时刻,即11点整之后,且在该播放时间段的结束时刻,即14点整之前。又例如,当前时刻为23点55分40秒,某个播放时间段为23点整-4点整,即:23点整为该播放时间段的起始时刻,4点整为该播放时间段的结束时刻,则23点55分40秒在该播放时间段的起始时刻整之后,且在该播放时间段的结束时刻之前。
S204、若是,将所述播放时间段i确定为第一目标播放时间段。
具体实现中,若播放时间段i满足终端可将播放时间段i的起始时刻小于当前时刻,且该播放时间段i的结束时刻大于该当前时刻,则将播放时间段i确定为第一目标播放时间段。
S205、将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
可选地,终端可确定与第一目标播放时间段对应的K个播放设备,该K为大于或等于1的整数,将该K个播放设备组成第一播放设备组。进一步地,终端可将该K个播放设备添加成一个播放设备组,即第一播放设备组。
例如,终端获取的无线音乐系统中的3个播放设备的播放时间段,分别如下:播放设备A的播放时间段设置为:7:00至9:00、11:00至13:00、19:00至22:00;播放设备B:19:00至23:00;播放设备C:0:00至24:00。在终端确定的当前时刻为中午12点的情况下,则终端确定的第一目标播放时间段为:11:00至13:00和0:00至24:00,则N个播放设备中与该第一目标播放时间段对应的播放设备为:播放设备A和播放设备C,则可将播放设备A和播放设备C组成第一播放设备组。进一步地,当终端组成了第一播放设备组之后,可控制 该第一播放设备组同步播放音乐。
本发明实施例获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;检测所述N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段;若是,将所述播放时间段i确定为第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。采用本发明实施例,可将无线音乐系统中包含当前时刻的播放时间段对应的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
请参阅图3,图3是本发明实施例提供的一种播放设备分组的方法的第三实施例流程示意图。本实施例中所描述的播放设备分组的方法,包括以下步骤:
S301、获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数。
S302、确定当前时刻。
S303、确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段。
S304、将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
其中,步骤S301-步骤S304的具体描述请参照图1中所描述的本发明实施例中的步骤S101-步骤S104。
S305、在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻。
具体实现中,在第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,该失效时刻为播放设备i的播放时间段的结束时刻。
例如,终端获取的无线音乐系统中的3个播放设备的播放时间段,分别如下:播放设备A的播放时间段设置为:7:00至9:00、11:00至13:00、19:00至22:00;播放设备B:19:00至23:00;播放设备C:0:00至24:00。在终端确定的当前时刻为中午12点的情况下,则终端确定的第一目标播放时间段为:11:00至13:00和0:00至24:00,则N个播放设备中与该第一目标播放时间段对应的播放设备为:播放设备A和播放设备C,则可将播放设备A和 播放设备C组成第一播放设备组。进一步地,在13:00的时候,11:00至13:00该播放时间段失效,可将13:00确定为失效时刻。
S306、确定所述N个播放设备的播放时间段中包含所述失效时刻的下一秒的第二目标播放时间段。
具体实现中,终端可将N个播放的播放时间段中包含当前时刻的播放时间段组成第一目标播放时间段,例如,当前时刻为13点5分,某个播放时间段为11点-14点,则该播放时间段包含当前时刻。
S307、将所述N个播放设备中与所述第二目标播放时间段对应的播放设备组成第二播放设备组。
本发明实施例获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组;在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻;确定所述N个播放设备的播放时间段中包含所述失效时刻的下一秒的第二目标播放时间段;将所述N个播放设备中与所述第二目标播放时间段对应的播放设备组成第二播放设备组。采用本发明实施例,第一目标播放时间段中的某个播放时间段失效后,重新将N个播放设备中的包含失效时刻下一秒的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
请参阅图4,图4是本发明实施例提供的一种播放设备分组的方法的第四实施例流程示意图。本实施例中所描述的播放设备分组的方法,包括以下步骤:
S401、获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数。
S402、确定当前时刻。
S403、确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段。
S404、将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
其中,步骤S301-步骤S304的具体描述请参照图1中所描述的本发明实施例中的步骤 S101-步骤S104。
S405、获取用户输入的定时时刻。
具体实现中,终端可获取用户输入的定时时刻,该定时时刻可为用户设置的任一时刻。
S406、确定所述N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段。
具体实现中,终端可将N个播放的播放时间段中包含当前时刻的播放时间段组成第三目标播放时间段,例如,当前时刻为13点5分,某个播放时间段为11点-14点,则该播放时间段包含当前时刻。
S407、将所述N个播放设备中与所述第三目标播放时间段对应的播放设备组成第三播放设备组。
本发明实施例获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组;获取用户输入的定时时刻;确定所述N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段;将所述N个播放设备中与所述第三目标播放时间段对应的播放设备组成第三播放设备组。采用本发明实施例,在当前时刻之后的某个定时时刻,将N个播放设备中包含该定时时刻的播放时间段对应的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
请参见图5a,图5a为本发明实施例提供的一种终端的第一实施例的结构示意图,图5a所描述的终端可包括:第一获取单元501、第一确定单元502、第二确定单元503和第一分组单元504,具体如下:
第一获取单元501,用于获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数。
具体实现中,无线音乐系统可由多个播放设备组成,本发明实施例中假定无线音乐系统包含N个播放设备,该N为大于1的整数。第一获取单元501可获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,该N个播放设备可为无线音乐系统中所有的播放设备,或者,可为无线音乐系统中的部分播放设备。该N个播放设备中的每一个播放设备可至少包括一个播放时间段。
第一确定单元502,用于确定当前时刻。
第二确定单元503,用于确定所述第一获取单元501获取到的N个播放设备的播放时间段中包含所述第一确定单元502确定的当前时刻的第一目标播放时间段。
具体实现中,第二确定单元503可将N个播放的播放时间段中包含当前时刻的播放时间段组成第一目标播放时间段,例如,当前时刻为13点5分,某个播放时间段为11点-14点,则该播放时间段包含当前时刻。
第一分组单元504,用于将所述N个播放设备中与所述第二确定单元503确定的第一目标播放时间段对应的播放设备组成第一播放设备组。
具体实现中,第一分组单元504可将N个播放设备中和第一目标播放时间段对应的播放设备组成第一播放设备组。
例如,第一获取单元501获取的无线音乐系统中的3个播放设备的播放时间段,分别如下:播放设备A的播放时间段设置为:7:00至9:00、11:00至13:00、19:00至22:00;播放设备B:19:00至23:00;播放设备C:0:00值24:00。在第一确定单元502确定的当前时刻为中午12点的情况下,则第二确定单元503确定的第一目标播放时间段为:11:00至13:00和0:00值24:00,则N个播放设备中与该第一目标播放时间段对应的播放设备为:播放设备A和播放设备C,则第一分组单元504可将播放设备A和播放设备C组成第一播放设备组。进一步地,当终端组成了第一播放设备组之后,可控制该第一播放设备组同步播放音乐。
作为一种可能的实施方式,如图5b所示,图5a中所描述的终端的第一分组单元504包括:第三确定单元5041和第一分组子单元5042,具体如下:
第三确定单元5041,用于确定与所述第一目标播放时间段对应的K个播放设备,所述K为大于或等于1的整数。
第一分组子单元5042,用于将所述第三确定单元5041确定的K个播放设备组成第一播放设备组。
作为一种可能的实施方式,如图5c所示,图5a中所描述的终端的第二确定单元503包括:检测单元5031和第二确定子单元5032,具体如下:
检测单元5031,用于检测所述第一获取单元501获取到的N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段。
具体实现中,检测单元5031可检测N个播放设备的播放时间段中播放时间段i的起始 时刻是否在当前时刻之前,且该播放时间段i的结束时刻是否在该当前时刻之后,其中,播放时间段i为N个播放设备的播放时间段中的任一播放时间段。例如:当前时刻为13点5分0秒,某个播放时间段为11点整-14点整,即:13点5分0秒在该播放时间段的起始时刻,即11点整之后,且在该播放时间段的结束时刻,即14点整之前。又例如,当前时刻为23点55分40秒,某个播放时间段为23点整-4点整,即:23点整为该播放时间段的起始时刻,4点整为该播放时间段的结束时刻,则23点55分40秒在该播放时间段的起始时刻整之后,且在该播放时间段的结束时刻之前。
第二确定子单元5032,用于若所述检测单元5031检测到所述第一获取单元获501取到的N个播放设备的播放时间段中播放时间段i的起始时刻在所述当前时刻之前,且所述播放时间段i的结束时刻在所述当前时刻之后,将所述播放时间段i确定为第一目标播放时间段。
作为一种可能的实施方式,如图5d所示,图5a中所描述的终端还可包括:第四确定单元505、第五确定单元506和第二分组单元507,具体如下:
第四确定单元505,用于在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻。
具体实现中,在第一目标播放时间段中的播放时间段i失效的情况下,第四确定单元505可确定失效时刻,该失效时刻为播放设备i的播放时间段的结束时刻。
例如,终端获取的无线音乐系统中的3个播放设备的播放时间段,分别如下:播放设备A的播放时间段设置为:7:00至9:00、11:00至13:00、19:00至22:00;播放设备B:19:00至23:00;播放设备C:0:00至24:00。在终端确定的当前时刻为中午12点的情况下,则终端确定的第一目标播放时间段为:11:00至13:00和0:00至24:00,则N个播放设备中与该第一目标播放时间段对应的播放设备为:播放设备A和播放设备C,则可将播放设备A和播放设备C组成第一播放设备组。进一步地,在13:00的时候,11:00至13:00该播放时间段失效,可将13:00确定为失效时刻。
第五确定单元506,用于确定所述第一获取单元501获取到的N个播放设备的播放时间段中包含所述第四确定单元505确定的失效时刻的下一秒的第二目标播放时间段。
第二分组单元507,用于将所述N个播放设备中与所述第五确定单元506确定的第二目标播放时间段对应的播放设备组成第二播放设备组。
作为一种可能的实施方式,如图5b所示,图5a中所描述的终端的第一分组单元包括:第二获取单元508、第六确定单元509和第三分组单元510,具体如下:
第二获取单元508,用于获取用户输入的定时时刻。
第六确定单元509,用于确定所述第一获取单元501获取的N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段。
第三分组单元510,用于将所述N个播放设备中与所述第六确定单元509确定的第三目标播放时间段对应的播放设备组成第三播放设备组。
本发明实施例所描述的终端可通过获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。采用本发明实施例,可将无线音乐系统中包含当前时刻的播放时间段对应的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
请参阅图6,图6为本发明实施例提供的一种终端的第二实施例的结构示意图。本实施例中所描述的终端包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。
其中,上述输入设备1000可为触控面板、普通PC、液晶屏、触控屏、触控按钮等。
上述存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:
上述处理器3000,用于:
获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
确定当前时刻;
确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;
将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
在一些可行的实施方式中,上述处理器3000,还具体将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组,具体为:
确定与所述第一目标播放时间段对应的K个播放设备,所述K为大于或等于1的整数;
将所述K个播放设备组成第一播放设备组。
在一些可行的实施方式中,上述处理器3000确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段,具体为:
检测所述N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段;
若是,将所述播放时间段i确定为第一目标播放时间段。
在一些可行的实施方式中,上述处理器3000将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组之后,还具体用于:
在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻;
确定所述N个播放设备的播放时间段中包含所述失效时刻的下一秒的第二目标播放时间段;
将所述N个播放设备中与所述第二目标播放时间段对应的播放设备组成第二播放设备组。
在一些可行的实施方式中,上述处理器3000将所述N个播放设备中与所述目标播放时间段对应的播放设备组成第一播放设备组之后,还具体用于:获取用户输入的定时时刻;
确定所述N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段;
将所述N个播放设备中与所述第三目标播放时间段对应的播放设备组成第三播放设备组。
本发明实施例所描述的终端可通过获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;确定当前时刻;确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。采用本发明实施例,可将无线音乐系统中包含当前时刻的播放时间段对应的播放设备组成播放设备组,从而,简化了播放设备的分组过程,同时,提高了用户体验。
为了实现上述实施例,本发明还提出了一种存储介质,用于存储应用程序,该应用程序用于执行本发明任一个实施例所述的播放设备分组的方法。
为了实现上述实施例,本发明还提出了一种终端,包括:一个或者多个处理器;存储器;一个或者多个模块,一个或者多个模块存储在存储器中,当被一个或者多个处理器执行时进行如下操作:
S101’,获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段。
S102’,确定当前时刻。
S103’,确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段。
S104’,将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
以上对本发明实施例公开的一种播放设备分组的方法及终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。

Claims (12)

  1. 一种播放设备分组的方法,其特征在于,包括:
    获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
    确定当前时刻;
    确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;
    将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
  2. 如权利要求1所述的方法,其特征在于,所述将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组,包括:
    确定与所述第一目标播放时间段对应的K个播放设备,所述K为大于或等于1的整数;
    将所述K个播放设备组成第一播放设备组。
  3. 如权利要求1所述的方法,其特征在于,所述确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段,包括:
    检测所述N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段;
    若是,将所述播放时间段i确定为第一目标播放时间段。
  4. 如权利要求1至3任一项所述的方法,其特征在于,所述将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组之后,所述方法还包括:
    在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻;
    确定所述N个播放设备的播放时间段中包含所述失效时刻的下一秒的第二目标播 放时间段;
    将所述N个播放设备中与所述第二目标播放时间段对应的播放设备组成第二播放设备组。
  5. 如权利要求1至3任一项所述的方法,其特征在于,所述将所述N个播放设备中与所述目标播放时间段对应的播放设备组成第一播放设备组之后,所述方法还包括:
    获取用户输入的定时时刻;
    确定所述N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段;
    将所述N个播放设备中与所述第三目标播放时间段对应的播放设备组成第三播放设备组。
  6. 一种终端,其特征在于,包括:
    第一获取单元,用于获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
    第一确定单元,用于确定当前时刻;
    第二确定单元,用于确定所述第一获取单元获取到的N个播放设备的播放时间段中包含所述第一确定单元确定的当前时刻的第一目标播放时间段;
    第一分组单元,用于将所述N个播放设备中与所述第二确定单元确定的第一目标播放时间段对应的播放设备组成第一播放设备组。
  7. 如权利要求6所述的终端,其特征在于,所述第一分组单元包括:
    第三确定单元,用于确定与所述第一目标播放时间段对应的K个播放设备,所述K为大于或等于1的整数;
    第一分组子单元,用于将所述第三确定单元确定的K个播放设备组成第一播放设备组。
  8. 如权利要求6所述的终端,其特征在于,所述第二确定单元包括:
    检测单元,用于检测所述第一获取单元获取到的N个播放设备的播放时间段中播放时间段i的起始时刻是否在所述当前时刻之前,且所述播放时间段i的结束时刻是否 在所述当前时刻之后,其中,所述播放时间段i为所述N个播放设备的播放时间段中的任一播放时间段;
    第二确定子单元,用于若所述检测单元检测到所述第一获取单元获取到的N个播放设备的播放时间段中播放时间段i的起始时刻在所述当前时刻之前,且所述播放时间段i的结束时刻在所述当前时刻之后,将所述播放时间段i确定为第一目标播放时间段。
  9. 如权利要求6至8任一项所述的终端,其特征在于,所述终端还包括:
    第四确定单元,用于在所述第一目标播放时间段中的播放时间段i失效的情况下,确定失效时刻,所述失效时刻为播放设备i的播放时间段的结束时刻;
    第五确定单元,用于确定所述第一获取单元获取到的N个播放设备的播放时间段中包含所述第四确定单元确定的失效时刻的下一秒的第二目标播放时间段;
    第二分组单元,用于将所述N个播放设备中与所述第五确定单元确定的第二目标播放时间段对应的播放设备组成第二播放设备组。
  10. 如权利要求6至8任一项所述的终端,其特征在于,所述终端还包括:
    第二获取单元,用于获取用户输入的定时时刻;
    第六确定单元,用于确定所述第一获取单元获取的N个播放设备的播放时间段中包含所述定时时刻的第三目标播放时间段;
    第三分组单元,用于将所述N个播放设备中与所述第六确定单元确定的第三目标播放时间段对应的播放设备组成第三播放设备组。
  11. 一种存储介质,其特征在于,用于存储应用程序,所述应用程序用于执行权利要求1至5中任一项所述的播放设备分组的方法。
  12. 一种终端,其特征在于,包括:
    一个或者多个处理器;
    存储器;
    一个或者多个模块,所述一个或者多个模块存储在所述存储器中,当被所述一个或者多个处理器执行时进行如下操作:
    获取用户设置的分配给无线音乐系统中的N个播放设备的播放时间段,其中,所述N为大于1的整数;
    确定当前时刻;
    确定所述N个播放设备的播放时间段中包含所述当前时刻的第一目标播放时间段;
    将所述N个播放设备中与所述第一目标播放时间段对应的播放设备组成第一播放设备组。
PCT/CN2015/096071 2015-08-25 2015-11-30 播放设备分组的方法及终端 WO2017031854A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510528111.4A CN105161123B (zh) 2015-08-25 2015-08-25 一种播放设备分组的方法及终端
CN201510528111.4 2015-08-25

Publications (1)

Publication Number Publication Date
WO2017031854A1 true WO2017031854A1 (zh) 2017-03-02

Family

ID=54801954

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096071 WO2017031854A1 (zh) 2015-08-25 2015-11-30 播放设备分组的方法及终端

Country Status (3)

Country Link
US (1) US9792085B2 (zh)
CN (1) CN105161123B (zh)
WO (1) WO2017031854A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020168938A1 (en) * 2001-05-10 2002-11-14 Chin-Chi Chang Apparatus and method for coordinated music playback in wireless ad-hoc networks
US20140037107A1 (en) * 2012-08-01 2014-02-06 Sonos, Inc. Volume Interactions for Connected Playback Devices
CN104507005A (zh) * 2014-12-05 2015-04-08 广东欧珀移动通信有限公司 无线音箱的分组控制方法及系统
CN104615333A (zh) * 2015-01-23 2015-05-13 广东欧珀移动通信有限公司 一种播放设备的分组方法及播放系统
CN104698884A (zh) * 2015-01-14 2015-06-10 广东欧珀移动通信有限公司 一种控制分组的方法、装置以及系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8234395B2 (en) * 2003-07-28 2012-07-31 Sonos, Inc. System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
US20050286546A1 (en) * 2004-06-21 2005-12-29 Arianna Bassoli Synchronized media streaming between distributed peers
US9003056B2 (en) * 2006-07-11 2015-04-07 Napo Enterprises, Llc Maintaining a minimum level of real time media recommendations in the absence of online friends
CN101631034A (zh) * 2008-07-15 2010-01-20 华为技术有限公司 对等网络中节点管理和接入方法、装置及系统
CN103295604B (zh) * 2013-05-23 2016-02-03 华为终端有限公司 一种控制终端播放的方法、装置及终端
CN104575539B (zh) * 2014-12-29 2017-11-07 广东欧珀移动通信有限公司 一种音乐播放控制方法及装置
US20170006331A1 (en) * 2015-06-30 2017-01-05 Stmicroelectronics International N.V. Synchronized rendering of split multimedia content on network clients

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020168938A1 (en) * 2001-05-10 2002-11-14 Chin-Chi Chang Apparatus and method for coordinated music playback in wireless ad-hoc networks
US20140037107A1 (en) * 2012-08-01 2014-02-06 Sonos, Inc. Volume Interactions for Connected Playback Devices
CN104507005A (zh) * 2014-12-05 2015-04-08 广东欧珀移动通信有限公司 无线音箱的分组控制方法及系统
CN104698884A (zh) * 2015-01-14 2015-06-10 广东欧珀移动通信有限公司 一种控制分组的方法、装置以及系统
CN104615333A (zh) * 2015-01-23 2015-05-13 广东欧珀移动通信有限公司 一种播放设备的分组方法及播放系统

Also Published As

Publication number Publication date
US9792085B2 (en) 2017-10-17
US20170060522A1 (en) 2017-03-02
CN105161123A (zh) 2015-12-16
CN105161123B (zh) 2018-07-06

Similar Documents

Publication Publication Date Title
KR102208186B1 (ko) 블록체인 합의 방법 및 디바이스
US11240050B2 (en) Online document sharing method and apparatus, electronic device, and storage medium
WO2017032123A1 (zh) 一种视频播放控制方法及装置
US10062381B2 (en) Method and electronic device for providing content
US20130332846A1 (en) Extensible application state preservation architecture
CN111954051B (zh) 传输视频音频数据的方法、系统、云端服务器和存储介质
TWI493997B (zh) 智慧地選擇網路介面之系統及方法
US10142891B2 (en) Communication method using plurality of networks and device supporting the same
WO2016078254A1 (zh) 一种显示方法及终端、存储介质
WO2013097650A1 (zh) 一种应用程序启动方法、系统及终端设备
US20170168766A1 (en) Content displaying method and device
WO2021135284A1 (zh) 一种厚置备卷创建方法、装置及电子设备和存储介质
US20140145962A1 (en) Recipient-aware keyboard language
US9728226B2 (en) Method for creating a content and electronic device thereof
WO2018103735A1 (zh) 语音数据交互方法、装置及文件服务器
JP2017502421A (ja) メモリアクセスパターンに基づいてdramページ競合を解消するためのシステムおよび方法
JP2017517988A (ja) ローミングネットワークアクセスの方法および装置
WO2017004928A1 (zh) 一种歌曲目录设置方法、移动终端、服务器及系统
WO2017113708A1 (zh) 视频播放方法及装置
WO2019076387A1 (zh) 应用切换方法及装置
US20150323975A1 (en) SYNCHRONIZATION OF ACTIVITY OF MULTIPLE SUBSYSTEMS IN A SoC TO SAVE STATIC POWER
WO2016173075A1 (zh) 一种系统切换方法和装置
US20150077635A1 (en) Method for outputting multiple multimedia tracks along multiple processing paths from a portable electronic device
WO2023222112A1 (zh) 一种直播方法、装置、设备、介质及程序产品
WO2017031854A1 (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: 15902123

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

Country of ref document: EP

Kind code of ref document: A1