WO2015018211A1 - Cooperative playing method, apparatus, device and system - Google Patents

Cooperative playing method, apparatus, device and system Download PDF

Info

Publication number
WO2015018211A1
WO2015018211A1 PCT/CN2014/076161 CN2014076161W WO2015018211A1 WO 2015018211 A1 WO2015018211 A1 WO 2015018211A1 CN 2014076161 W CN2014076161 W CN 2014076161W WO 2015018211 A1 WO2015018211 A1 WO 2015018211A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
target device
predetermined connection
trigger signal
initiating
Prior art date
Application number
PCT/CN2014/076161
Other languages
French (fr)
Chinese (zh)
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 WO2015018211A1 publication Critical patent/WO2015018211A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress

Definitions

  • the present disclosure relates to the field of network technologies, and in particular, to a cooperative play method, apparatus, device, and system. Background technique
  • electronic devices can realize the playback of multimedia resources, and under the operation of the user, two or more electronic devices can also cooperatively play multimedia resources.
  • the "electronic devices” described herein include smart phones, personal digital assistant PDAs, e-book readers, and the like.
  • the preparation interface may respectively trigger the flower-sharing animation of the first electronic device and the flower-connecting animation of the second electronic device, that is, the first electronic device located on the left side displays an animation of the animated character A sending flowers to the right side, and is located at The second electronic device on the right side displays an animation of the animated character B from the left side of the flower, thereby collaborating to complete the animated character A to send an animated play of the flower to the animated character B.
  • the inventors have found that the above-mentioned technologies have at least the following problems:
  • the animation of the flower delivery and the flower arrangement is triggered by the user manually clicking the preparation interface of the animation of the two electronic devices, and the user is not only familiar with the triggering conditions of the animation of the two electronic devices, but also requires the triggering time.
  • Coordination which requires high learning costs and it is difficult to guarantee the consistency of the trigger. Summary of the invention
  • the embodiments of the present disclosure provide a cooperative playing method, device, device and system.
  • the technical solution is as follows:
  • a cooperative play method for initiating a device, where the method includes:
  • a target triggering signal to the target device, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time; Playing the multimedia resource on the initiating device at the local playing moment.
  • the providing the target trigger signal to the target device by using the predetermined connection comprising: sending the target trigger signal to the target device by using the predetermined connection, where the target trigger signal carries the specified time .
  • the sending, by the predetermined connection, the target triggering signal to the target device includes: receiving a local trigger signal in a ready playing state of a multimedia resource on the initiating device, where the local trigger signal is used Instructing the initiating device to play the multimedia resource on the initiating device at a local playing time;
  • the method further includes:
  • the providing the target trigger signal to the target device by using the predetermined connection includes:
  • the success of the predetermined connection is established as the target trigger signal, and the local play time is determined according to the successful establishment of the predetermined connection.
  • the establishing a predetermined connection with the target device includes:
  • the establishing a predetermined connection with the target device includes:
  • the response information is used to determine that the predetermined connection is successfully established.
  • a cooperative play method for use in a target device, where the method includes:
  • the local playing time is a moment at which the initiating device plays the multimedia resource on the initiating device; and the multimedia resource on the target device is played at the specified time.
  • the acquiring the target trigger signal that is sent by the initiating device by using the predetermined connection includes: receiving the target trigger signal sent by the initiating device by using the predetermined connection, where the target trigger signal carries the Specify the time.
  • the method further includes:
  • the acquiring the target trigger signal provided by the initiating device by using the predetermined connection comprises: establishing a success of the predetermined connection as the target trigger signal, and determining a specified time according to a successful establishment of a predetermined connection.
  • the establishing a predetermined connection with the initiating device includes:
  • the establishing a predetermined connection with the initiating device includes:
  • connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
  • a cooperative playback apparatus includes: a first setup module, configured to establish a predetermined connection with a target device;
  • Providing a module configured to provide a target trigger signal to the target device by using a predetermined connection established by the first establishing module, where the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time
  • the specified time corresponds to a local playing time
  • the first playing module is configured to play the multimedia resource on the initiating device at the local playing moment.
  • the providing module includes:
  • a target sending unit configured to send the target trigger signal to the target device by using the predetermined connection, where the target trigger signal carries the specified time.
  • the target sending unit includes:
  • a receiving subunit configured to receive a local triggering signal in a ready playing state of the multimedia resource on the initiating device, where the local triggering signal is used to indicate that the initiating device plays the multimedia resource on the initiating device at a local playing time ;
  • a sending subunit configured to send the target trigger signal to the target device by using the local trigger signal received by the receiving subunit.
  • the device further includes: a control sending module, configured to send, by using the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a multimedia resource play on the target device Ready to play state.
  • a control sending module configured to send, by using the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a multimedia resource play on the target device Ready to play state.
  • the providing module includes:
  • a local determining unit configured to establish the success of the predetermined connection as the target trigger signal, and determine the local playing time according to the successful establishment of the predetermined connection.
  • the first establishing module is configured to establish a predetermined connection with the target device in a ready playing state of the multimedia resource on the initiating device.
  • the first establishing module includes: a searching unit, configured to search for the target device; a request sending unit, configured to send a connection request to the searched target device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
  • the response receiving unit is configured to receive response information that is sent by the target device and that is corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
  • a cooperative playback apparatus includes:
  • a second establishing module configured to establish a predetermined connection with the initiating device
  • An acquiring module configured to acquire a target trigger signal provided by the initiating device by using a predetermined connection established by the second establishing module, where the target triggering signal is used to trigger the target device to play multimedia on the target device at a specified time a resource, where the specified time corresponds to a local play time, where the local play time is a time when the initiating device plays the multimedia resource on the initiating device;
  • a second playing module configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module.
  • the acquiring module includes:
  • a target receiving unit configured to receive the target trigger signal sent by the initiating device by using the predetermined connection, where the target trigger signal carries the specified time.
  • the device further includes: a control receiving module, configured to receive a control instruction sent by the initiating device through the predetermined connection; and a preparation module, configured to enter the target according to the control instruction received by the control receiving module The ready to play state of the multimedia resource play on the device.
  • a control receiving module configured to receive a control instruction sent by the initiating device through the predetermined connection
  • a preparation module configured to enter the target according to the control instruction received by the control receiving module The ready to play state of the multimedia resource play on the device.
  • the acquiring module includes: a determining determining unit, configured to use the successful establishment of the predetermined connection as the target trigger signal, and determine the specified time according to the successful establishment of the predetermined connection.
  • the second establishing module is configured to establish a predetermined connection with the initiating device in a ready playing state of the multimedia resource on the target device.
  • the second establishing module includes: a request receiving unit, configured to receive a connection request sent by the initiating device, where the connection request is used to establish the reservation between the initiating device and the target device Connection
  • the response sending unit is configured to send, to the initiating device, response information corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
  • a cooperative playback system including an initiating device and a target device, where the initiating device includes the cooperative playing device according to the third aspect, and the target device includes the fourth aspect.
  • Collaborative playback device includes the cooperative playing device according to the third aspect, and the target device includes the fourth aspect.
  • an initiating device where the initiating device includes:
  • One or more processors are One or more processors;
  • Memory Memory; and One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
  • a target triggering signal to the target device, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time;
  • a target device is provided, where the target device includes:
  • One or more processors are One or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
  • the local playing time is a moment at which the initiating device plays the multimedia resource on the initiating device; and the multimedia resource on the target device is played at the specified time.
  • the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time corresponding to the local playing time, and play the local playing time by establishing a predetermined connection with the target device. Initiating multimedia resources on the device; thereby completing collaborative play of multimedia resources on the two devices without learning, and solving the problem of high learning cost due to coordination consistency when multiple electronic devices are required to play multimedia resources; It achieves the effect of ensuring the consistency of multiple electronic devices when playing multimedia resources.
  • FIG. 1 is a flowchart of a method of a cooperative play method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a method of a cooperative play method according to an exemplary embodiment
  • FIG. 3 is a flowchart of a method for a cooperative play method according to an exemplary embodiment
  • FIG. 4 is a schematic diagram of an implementation effect of a cooperative play method according to an exemplary embodiment
  • FIG. 5 is a flowchart of a method for a cooperative play method according to an exemplary embodiment
  • FIG. 6 is a block diagram showing the structure of a cooperative playback apparatus according to an exemplary embodiment
  • FIG. 7 is a block diagram showing the structure of a cooperative playback apparatus according to an exemplary embodiment
  • FIG. 8 is a structural block diagram of a cooperative playback system according to an exemplary embodiment
  • FIG. 9 is a block diagram showing the structure of a cooperative playback system according to an exemplary embodiment.
  • FIG. 10 is a structural block diagram of an initiating device and a target device provided by another embodiment, according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a method for a cooperative play method according to an exemplary embodiment.
  • the method includes - step 101, establishing a predetermined connection with the target device;
  • the initiating device establishes a predetermined connection with the target device.
  • Step 102 Provide a target trigger signal to the target device by using a predetermined connection, where the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, and the specified time corresponds to the local play time;
  • the initiating device provides a target trigger signal to the target device through the predetermined connection, and the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at the specified time, and the specified time corresponds to the local playing time.
  • Step 103 Play a multimedia resource on the initiating device at a local playing time
  • the initiating device plays the multimedia resource on the initiating device at the time of local playing.
  • the cooperative play method provides a target trigger signal for triggering the target device to play the multimedia resource on the target device at a specified time corresponding to the local play time through a predetermined connection, and locally plays the target broadcast signal.
  • the problem of high learning cost is achieved; the coordination and consistency effect of ensuring that multiple electronic devices play multimedia resources is achieved.
  • FIG. 2 is a flowchart of a method for a cooperative play method according to an exemplary embodiment.
  • the method includes - step 201, establishing a predetermined connection with the initiating device;
  • the target device establishes a predetermined connection with the initiating device.
  • Step 202 Acquire a target trigger signal provided by the initiating device through the predetermined connection, where the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, and the specified time corresponds to the local playing time, and the local playing time is initiated by the initiating device. The moment of the multimedia resource on the device;
  • the target device acquires a target trigger signal provided by the initiating device through the predetermined connection, and the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, and the specified time corresponds to the local playing time, and the local playing time is the initiating device playing the initiating device.
  • the moment of multimedia resources is the moment of multimedia resources.
  • Step 203 Play the multimedia resource on the target device at the specified time
  • the target device plays the multimedia resource on the target device at a specified time.
  • the cooperative play method establishes a predetermined connection with the initiating device, and acquires, by using the predetermined connection, the triggering device that is used by the initiating device to trigger the target device to play on the target device at a specified time corresponding to the local playing time.
  • the target trigger signal of the multimedia resource, and the multimedia resource on the target device is played at the specified time according to the target trigger signal, where the local play time is the time at which the initiating device plays the multimedia resource on the initiating device; thus, the two devices can be completed without learning.
  • the cooperative play of multimedia resources solves the problem of high learning cost due to the coordination consistency of multiple electronic devices when playing multimedia resources; and achieves the coordination and consistency effect when multiple electronic devices play multimedia resources. .
  • the following two embodiments take the initiative device as the first user's smart phone, the target device as the second user's smart phone, and the two perform the animation of the screen unlocking process as an example. Be explained.
  • the screen unlocking process of the first user's smartphone is to display an animation of the animated character A
  • the screen unlocking process of the second user's smartphone is to display an animation of another animated character B.
  • the communication between the first user's smart phone and the second user's smart phone is performed by using FC (Near Field Communication) technology.
  • FC Near Field Communication
  • the FC technology is a non-contact.
  • the identification and interconnection technology can be applied to smart phones in a range of ten centimeters; that is, within a range of ten centimeters, the process of identifying and interconnecting between smartphones using FC technology can be realized.
  • the following embodiment uses the FC technology to communicate between two smart phones. However, it is not limited to the FC technology, and communication between the two smart phones can also be realized by other communication technologies, which will not be repeated here.
  • the initiating device provides the target trigger signal to the target device in two ways: First, after the initiating device and the target device establish a predetermined connection, the initiating device sends a target trigger signal to the target device, thereby triggering the target device to play with the local device. Playing the multimedia resource on the target device at the specified time; secondly, the initiating device establishes the successful connection of the predetermined connection between the two as the target trigger signal, thereby triggering the target device to play the target device at the specified time corresponding to the local playing time. Multimedia resources on.
  • FIG. 3 it is a flowchart of a method for cooperative playing according to an exemplary embodiment.
  • the method includes:
  • the initiating device receives the local triggering signal in the ready playing state of the multimedia resource on the initiating device; the initiating device receives the local triggering signal in the ready playing state of the multimedia resource on the initiating device, and locally triggers
  • the signal is used to indicate that the initiating device plays the multimedia resource on the initiating device at the time of local playing.
  • the local trigger signal may be a click signal, a slide signal, a double tap signal, and a click signal or a double tap signal applied to a button on the initiating device on the screen of the initiating device.
  • the user receives a signal of pressing the power button or clicks the signal of the screen interface, according to the signal of pressing the power button or clicking the screen interface.
  • the signal triggers the animation of the screen unlocking process at the time of local playback, that is, the animation of the animated character A.
  • step 304 after the initiating device establishes a predetermined connection with the target device, the local trigger signal is received, and the target trigger signal is sent to the target device according to the local trigger signal; or the step may be performed without a step. 301. That is, if the initiating device and the target device establish a predetermined connection, the initiating device directly sends a target trigger signal to the target device.
  • Step 302 Initiate a device to search for a target device.
  • the first user's smartphone searches for the second device's smartphone.
  • the two smartphones can communicate via FC, when the two smartphones are close to each other within a range of ten centimeters, the first user's smartphone can search for the second user's smartphone.
  • Step 303 The initiating device sends a connection request to the searched target device.
  • the initiating device sends a connection request to the searched target device for establishing a predetermined connection between the initiating device and the target device.
  • the first user's smartphone sends an FC connection request to the searched second user's smartphone, and the FC connection request is used to establish a predetermined connection between the two.
  • the target device receives the FC connection request sent by the initiating device.
  • Step 304 The target device sends response information corresponding to the connection request to the initiating device.
  • the target device After receiving the FC connection request sent by the initiating device, the target device sends response information corresponding to the FC connection request to the initiating device, where the response information is used to determine that the predetermined connection between the initiating device and the target device is successfully established.
  • the second user's smartphone After receiving the FC connection request sent by the first user's smartphone, the second user's smartphone sends a response message corresponding to the FC connection request to the first user's smartphone, and the first user's smartphone receives the response.
  • the response message When the response message is reached, it indicates that the predetermined connection between the two is successfully established.
  • Step 305 The initiating device sends a control instruction to the target device by using a predetermined connection.
  • the target device After the predetermined connection is successfully established, in order to prevent the target device from receiving the target trigger signal sent by the sending device for triggering the playing of the multimedia resource on the target device at the specified time, the target device is in a state other than the ready playing state of the multimedia resource playing.
  • the sending device sends a control command to the target device through the predetermined connection, where the control command is used to control the target device to enter the ready playing state of the multimedia resource playing on the target device, and the ready playing state is The status before the multimedia resource is played.
  • the first user's smart phone sends a smart phone for triggering the second user at the specified time.
  • the control command is sent to the second user's smart phone, so that the second user's smart phone enters the lock screen state before the animation of the screen unlocking process according to the control instruction.
  • the target device receives the control command sent by the sending device.
  • Step 306 The target device enters a ready playing state of playing the multimedia resource on the target device according to the control instruction. If the target device is in the state before the multimedia resource is played when receiving the control command, the control command may be ignored; if the target device receives the control command and is in a state other than the state before the multimedia resource is played, the target device According to the control instruction, the ready to play state of the multimedia resource playing on the target device is entered.
  • the second user's smartphone receives the control command and is already in the lock screen state before the animation of the screen unlocking process, the second user's smartphone does not perform any operation; if the second user's smartphone When the control command is received, the second user's smartphone enters the lock screen state before the animation of the screen unlocking process according to the control command.
  • Step 307 The initiating device sends a target trigger signal to the target device by using a predetermined connection according to the local trigger signal.
  • the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the designated moment corresponds to the local playing time.
  • the first user's smart phone sends a target trigger signal to the second user's smart phone by establishing a successful FC connection according to the local trigger signal sent by the user, and the target trigger signal is used for corresponding local playback.
  • the specified moment of the moment triggers the animation of the screen unlocking process on the second user's smartphone, that is, the animated character B receives the animation of the flower.
  • the target device receives the target trigger signal sent by the initiating device.
  • Step 308 The initiating device plays the multimedia resource on the initiating device at the local playing time.
  • the initiating device triggers the playing of the multimedia resource on the initiating device at the time of local playing.
  • the animation of the screen unlocking process of the first user's smart phone that is, the animation of the animated character A, starts to play at the local playing time.
  • Step 309 The target device plays the multimedia resource on the target device at the specified time
  • step 308 the animation of the screen unlocking process of the first user's smartphone, that is, the animation of the animated character A is started to play after one second of the current time, then the animation of the screen unlocking process on the second user's smartphone is
  • the animated character B flower animation may need to start playing after two seconds of the current time, in order to ensure that the two cooperate to complete the animation consistency of the screen unlocking process; as shown in Figure 4, the first user's smartphone displays The animated character A is sending flowers, and the second user's smartphone screen displays an animated character B is taking flowers. Without animating characters A hasn't started to send flowers, and animated characters B have received uncoordinated consequences of flowers.
  • the cooperation between the initiating device and the target device to complete the playing of the multimedia resource is illustrated as an example. If multiple devices cooperate to complete the playing of the multimedia resource, the same is also performed in one of the devices.
  • the device When receiving the local trigger signal for triggering the playing of the multimedia resource on the device at the local playing time, the device separately sends a corresponding target trigger signal to the multiple devices, and the target trigger signal received by each device is used in the first moment
  • the corresponding second time, the third time, and the like trigger the playing of the multimedia resources on each device, so as to ensure that the cooperation between the multiple devices completes the coordination of the multimedia resources.
  • the cooperative play method when the initiating device receives the local trigger signal for triggering the playing of the multimedia resource on the initiating device at the local playing time, sends the information to the target device for the corresponding
  • the target triggering signal for playing the multimedia resource on the target device is triggered at a specified time of the local playback time, so that only the operation on the initiating device is required to ensure that the playback of the multimedia resource of the initiating device and the target device is coordinated, and the solution is solved.
  • the problem of high learning cost caused by the consistency of multiple electronic devices when playing multimedia resources is achieved; the coordination and consistency effect when multiple electronic devices play multimedia resources can be ensured only by operating on the initiating device.
  • the connection between the initiating device and the target device is also completed by the FC technology. Since the FC technology has the characteristics of point-to-point fast connection, the coordination of multiple electronic devices in cooperatively playing multimedia resources is further ensured. Next, the second mode is described in detail. Referring to FIG. 5, it is a flowchart of a method for cooperative playing according to an exemplary embodiment. The method includes:
  • Step 501 The initiating device searches for a target device in a ready playing state of the multimedia resource.
  • the successful establishment of the predetermined connection between the initiating device and the target device is used as the target triggering signal, so that when the two are scheduled to connect, the two are already in the ready to play state of the respective multimedia resources.
  • the first user's smartphone searches for the smartphone of the second device in the lock screen state.
  • the two smartphones can communicate via FC, when the two smartphones are close to each other within a range of ten centimeters, the first user's smartphone can search for the second user's smartphone.
  • Step 502 The initiating device sends a connection request to the searched target device.
  • the initiating device sends a connection request to the searched target device for establishing a predetermined connection between the initiating device and the target device.
  • the first user's smartphone sends an FC connection request to the searched second user's smartphone in a lock screen state, and the FC connection request is used to establish a predetermined connection between the two.
  • the target device receives the FC connection request sent by the initiating device.
  • Step 503 The target device sends response information corresponding to the connection request to the initiating device.
  • the target device After receiving the FC connection request sent by the initiating device, the target device sends response information corresponding to the FC connection request to the initiating device, where the response information is used to determine that the predetermined connection between the initiating device and the target device is successfully established.
  • the second user's smartphone After receiving the FC connection request sent by the first user's smartphone, the second user's smartphone sends a response message corresponding to the FC connection request to the first user's smartphone in the lock screen state, the first user.
  • the smartphone receives the response message, it indicates that the predetermined connection between the two is successfully established.
  • Step 504 The initiating device establishes a successful establishment of the predetermined connection as a target trigger signal, and determines a local playing time according to the successful establishment of the predetermined connection. After receiving the response information for determining the successful establishment of the predetermined connection between the initiating device and the target device, the initiating device establishes the successful establishment of the predetermined connection as the target trigger signal, and determines the local playing time according to the successful establishment of the predetermined connection.
  • the first user's smartphone determines that the predetermined connection between the two is successfully established, establishes the successful connection of the predetermined connection as the target trigger signal, and establishes the predetermined connection.
  • the moment of success or the time after the predetermined time delay after the scheduled connection establishment is successful is determined as the local playing time.
  • Step 505 The target device establishes a successful connection of the predetermined connection as a target trigger signal, and determines a specified time according to the success of the predetermined connection.
  • the second user's smart phone establishes the success of the predetermined connection between the two as a target trigger signal, and the second user's smart phone determines the reservation between the two after sending the response information to the first user's smart phone.
  • the connection is successfully established, and the successful establishment of the predetermined connection is used as the target trigger signal, and the time when the predetermined connection is established successfully or the time after the predetermined connection is established and the predetermined time is delayed is taken as the designated time.
  • the communication between the initiating device and the target device is performed by using the FC technology, so that the transmission time between the initiating device and the target device of the connection request and the response information may be ignored, and the target device may send the response information.
  • the moment and the moment when the initiating device receives the response information are considered to be the same moment.
  • Step 506 The initiating device plays the multimedia resource on the initiating device at a local playing time.
  • the initiating device triggers the playing of the multimedia resource on the initiating device at the time of local playing.
  • the animation of the screen unlocking process of the first user's smart phone that is, the animation of the animated character A, starts to play at the local playing time.
  • Step 507 The target device plays the multimedia resource on the target device at the specified time.
  • step 506 the animation of the screen unlocking process of the first user's smartphone, that is, the animation of the animated character A, starts to play at the moment when the response information is received, and then the animation of the screen unlocking process on the second user's smartphone is
  • the animated character B flower animation may need to start playing two seconds after the response message is sent, in order to ensure the coordination of the animation playback of the screen unlocking process; as shown in Figure 4, the first user's smartphone The animation character A is being sent on the screen, and the second user's smartphone is displayed on the screen of the second user's smartphone. And there will be no animated characters A has not started to send flowers, animated characters B have received the uncoordinated consequences of flowers.
  • the cooperation between the initiating device and the target device to complete the playing of the multimedia resource is illustrated as an example. If multiple devices cooperate to complete the playing of the multimedia resource, multiple devices are also used.
  • the successful establishment of the predetermined connection is established as the target triggering signal, and each device determines the time at which the self-triggering of the multimedia resource is triggered according to the success of the predetermined connection, thereby ensuring the coordination and consistency of the playback of the multimedia resources by the cooperation between the multiple devices.
  • the cooperative play method establishes, by the initiating device and the target device, the successful establishment of the predetermined connection as the target trigger signal, and each determines the time of triggering the playing of the multimedia resource according to the success of the predetermined connection. , thereby collaborating to complete the playback of multimedia resources; solving the problem of high learning cost due to ensuring the consistency of multiple electronic devices when playing multimedia resources; achieving only multimedia resources
  • the preparation of the predetermined connection in the ready-to-play state can ensure the coordinated consistency effect when multiple electronic devices play multimedia resources.
  • the FC technology is also used to complete the connection between the initiating device and the target device.
  • FIG. 6 is a structural block diagram of a cooperative playback apparatus according to an exemplary embodiment.
  • the cooperative playback device can be implemented as a whole or a part of the initiating device by using software, hardware or a combination of the two.
  • the cooperative playing device includes:
  • the first establishing module 610 is configured to establish a predetermined connection with the target device.
  • a providing module 630 configured to provide a target trigger signal to the target device by using a predetermined connection established by the first establishing module 610, where the target trigger signal is used to trigger the target device to play on the target device at a specified time a multimedia resource, where the specified time corresponds to a local playing time;
  • the first playing module 650 is configured to play the multimedia resource on the initiating device at the local playing moment.
  • the cooperative playback apparatus provided by the embodiment of the present disclosure provides a target trigger signal for triggering the target device to play the multimedia resource on the target device at a specified time corresponding to the local play time through a predetermined connection, and locally plays the target device.
  • the moment when the initiating device plays the multimedia resource on the initiating device thus, the cooperative playing of the multimedia resources on the two devices can be completed without learning, thereby solving the coordination consistency caused by ensuring that the plurality of electronic devices play the multimedia resources.
  • the problem of high learning cost is achieved; the coordination and consistency effect of ensuring that multiple electronic devices play multimedia resources is achieved.
  • FIG. 7, is a structural block diagram of a cooperative playback apparatus according to an exemplary embodiment.
  • the cooperative playback device can be implemented as a whole or a part of the target device by software, hardware or a combination of the two.
  • the cooperative playback device includes:
  • a second establishing module 710 configured to establish a predetermined connection with the initiating device
  • the obtaining module 730 is configured to acquire a target trigger signal provided by the initiating device by using the predetermined connection established by the second establishing module 710, where the target trigger signal is used to trigger the target device to play the target device at a specified time.
  • a multimedia resource where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device;
  • the second playing module 750 is configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module 730.
  • the cooperative playback apparatus acquires a predetermined connection with the initiating device, and acquires, by the initiating device, the predetermined connection provided by the initiating device for triggering the target device to play on the target device at a specified time corresponding to the local playing time.
  • the target trigger signal of the multimedia resource, and the multimedia resource on the target device is played at the specified time according to the target trigger signal, where the local play time is the time at which the initiating device plays the multimedia resource on the initiating device; thus, the two devices can be completed without learning.
  • Collaborative playback of multimedia resources solves the problem of high learning cost due to the coordination and consistency of multiple electronic devices when playing multimedia resources; Coordination effect when playing multimedia resources.
  • FIG. 8 is a structural block diagram of a cooperative playback system according to an exemplary embodiment.
  • the collaborative playback system includes: an initiating device 810 and a target device 860;
  • the initiating device 810 includes:
  • the first establishing module 820 is configured to establish a predetermined connection with the target device.
  • the first establishing module 820 includes: a searching unit 821, configured to search for the target device;
  • a request sending unit 822 configured to send a connection request to the target device searched by the searching unit 821, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
  • the response receiving unit 823 is configured to receive response information that is sent by the target device and that is corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
  • the providing module 830 is configured to provide a target trigger signal to the target device by using a predetermined connection established by the first establishing module 820, where the target trigger signal is used to trigger the target device to play on the target device at a specified time.
  • a multimedia resource where the specified time corresponds to a local playing time;
  • the providing module 830 includes a target sending unit 831, configured to send the target trigger signal to the target device by using the predetermined connection, where the target trigger signal carries the specified time.
  • the target sending unit 831 includes:
  • the receiving sub-unit 831a is configured to receive a local triggering signal in a ready-to-play state of the multimedia resource on the initiating device, where the local triggering signal is used to indicate that the initiating device plays the multimedia on the initiating device at a local playing time.
  • the sending subunit 831b is configured to send the target trigger signal to the target device by using the local trigger signal received by the receiving subunit 831a.
  • the control sending module 840 is configured to send, by using the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a ready playing state of playing multimedia resources on the target device.
  • the first playing module 850 is configured to play the multimedia resource on the initiating device at the local playing moment.
  • the target device 860 includes:
  • a second establishing module 861 configured to establish a predetermined connection with the initiating device
  • the second establishing module 861 includes: a request receiving unit 861a, configured to receive a connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device ;
  • the response sending unit 861b is configured to send, to the initiating device, response information corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
  • the control receiving module 862 is configured to receive, after the predetermined connection is successfully established, a control instruction sent by the initiating device by using the predetermined connection;
  • the preparation module 863 is configured to enter a ready playing state of playing multimedia resources on the target device according to the control instruction received by the control receiving module 862.
  • the obtaining module 864 is configured to acquire a target trigger signal provided by the initiating device by using a predetermined connection established by the second establishing module 861, where the target trigger signal is used to trigger the target device to play the target device at a specified time.
  • a multimedia resource where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device;
  • the obtaining module 864 includes:
  • the target receiving unit 864a is configured to receive, after the predetermined connection is successfully established, the target trigger signal sent by the initiating device by using the predetermined connection, where the target trigger signal carries the specified time.
  • the second playing module 865 is configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module 864.
  • the cooperative playing system sends, by the initiating device, a local trigger signal for triggering playing of the multimedia resource on the initiating device at the time of local playing, to send to the target device for corresponding
  • the target triggering signal for playing the multimedia resource on the target device is triggered at a specified time of the local playback time, so that only the operation on the initiating device is required to ensure that the playback of the multimedia resource of the initiating device and the target device is coordinated, and the solution is solved.
  • the problem of high learning cost caused by the consistency of multiple electronic devices when playing multimedia resources is achieved; the coordination and consistency effect when multiple electronic devices play multimedia resources can be ensured only by operating on the initiating device.
  • the connection between the initiating device and the target device is also completed by the FC technology.
  • FIG. 9 is a structural block diagram of a cooperative playback system according to an exemplary embodiment.
  • the collaborative play system includes: an initiating device 910 and a target device 950;
  • the initiating device 910 includes:
  • the first establishing module 911 is configured to establish a predetermined connection with the target device in a ready playing state of the multimedia resource on the initiating device.
  • the first establishing module 911 includes a searching unit 911a for searching for the target device.
  • a request sending unit 911b configured to send a connection request to the target device searched by the searching unit 911a, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
  • the response receiving unit 911c is configured to receive response information that is sent by the target device and that is corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
  • a providing module 912 configured to provide the target device by using a predetermined connection established by the first establishing module 911 a target triggering signal, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time;
  • the providing module 912 includes a local determining unit 912a for establishing the success of the predetermined connection as the target trigger signal, and determining the local playing time according to the successful establishment of the predetermined connection.
  • the first playing module 913 is configured to play the multimedia resource on the initiating device at the local playing moment.
  • the target device 950 includes:
  • the second establishing module 951 is configured to establish a predetermined connection with the initiating device in a ready playing state of the multimedia resource on the target device.
  • the second establishing module 951 includes: a request receiving unit 951a, configured to receive a connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device ;
  • the response sending unit 951b is configured to send, to the initiating device, response information corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
  • the obtaining module 952 is configured to acquire a target trigger signal that is provided by the initiating device by using a predetermined connection established by the second establishing module 951, where the target triggering signal is used to trigger the target device to play the target device at a specified time.
  • a multimedia resource where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device;
  • the obtaining module 952 includes:
  • the designation determining unit 952a is configured to establish the success of the predetermined connection as the target trigger signal, and determine the designated time according to the successful establishment of the predetermined connection.
  • the second playing module 953 is configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module 952.
  • the cooperative playing system establishes the success of the predetermined connection as the target trigger signal by the initiating device and the target device, and each determines the time of triggering the playing of the multimedia resource according to the success of the predetermined connection. , thereby cooperating to complete the playing of the multimedia resources; solving the problem of high learning cost due to ensuring the consistency of the plurality of electronic devices when playing the multimedia resources; achieving the need to establish the reservation only in the ready-to-play state of the multimedia resources By connecting, you can ensure the consistency of multiple electronic devices when playing multimedia resources.
  • the FC technology is also used to complete the connection between the initiating device and the target device.
  • FIG. 10 is a structural block diagram of an initiating device according to an exemplary embodiment.
  • the initiating device is configured to implement the cooperative playing method in the foregoing embodiment.
  • An initiating device in an embodiment of the present disclosure may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods, for information and storage program instructions, random access memory (RAM), and Read-only memory (ROM), memory for storing data and information, I/O devices, interfaces, antennas, etc. Specifically:
  • the initiating device 1000 may include an RF (Radio Frequency) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a WiFi (Wireless Fidelity) module 1070, a processor 10100, and a power supply. 1082, camera 1090 and other components.
  • RF Radio Frequency
  • the components of the initiating device 1000 are specifically described below with reference to FIG. 10:
  • the RF circuit 1010 can be used for receiving and transmitting signals during and after receiving or transmitting information, and in particular, receiving downlink information of the base station and processing it to the processor 1080; in addition, transmitting the designed uplink data to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • the RF circuit 1010 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access;), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the initiating device 1000 by running software programs and modules stored in the memory 1020.
  • the memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the device 1000 (such as audio data, phone book, etc.) is initiated.
  • memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1030 can be configured to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the initiating device 1000.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 1031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, And detecting a signal brought by the touch operation to transmit the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, sends it to the processor 1080, and can receive the processor 1080 Send the order and execute it.
  • the touch panel 1031 can be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
  • the input unit 1030 may also include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the initiating device 1000.
  • the display unit 1040 may include a display panel 1041.
  • the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 1031 can cover the display panel 1041. After the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041.
  • the touch panel 1031 and the display panel 1041 are implemented as two independent components to implement the input and input functions of the initiating device 1000, in some embodiments, the touch panel 1031 and the display panel 1041 may be The input and output functions of the initiating device 1000 are implemented by integration.
  • the initiating device 1000 can also include at least one type of sensor 1050, such as a gyro sensor, a magnetic inductive sensor, a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 when the initiating device 1000 moves to the ear. And / or backlight.
  • the acceleration sensor can detect the acceleration of each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the application that initiates the attitude of the device (such as horizontal and vertical screen switching, correlation).
  • Game magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • other sensors such as barometer, hygrometer, thermometer, infrared sensor, etc. that can also be configured for the initiating device 1000, will not be described here. .
  • Audio circuit 1060, speaker 1061, and microphone 1062 provide an audio interface between the user and the originating device 1000.
  • the audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, transmitted to the, for example, another initiating device via the RF circuit 1010, or outputted to the memory 1020 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the initiating device 1000 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1070, which provides users with wireless broadband Internet access.
  • FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the initiating device 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 1080 is the control center of the initiating device 1000, which connects various parts of the entire initiating device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and calling the storage in The data in the memory 1020 performs various functions and processing data of the initiating device 1000, thereby performing overall monitoring of the initiating device.
  • the processor 1080 may include one or more processing units.
  • the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
  • the initiating device 1000 further includes a power source 1082 (such as a battery) for supplying power to the various components.
  • a power source 1082 such as a battery
  • the power source can be logically connected to the processor 1082 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the camera 1090 is generally composed of a lens, an image sensor, an interface, a digital signal processor, a CPU, a display screen, and the like.
  • the lens is fixed above the image sensor, and the focus can be changed by manually adjusting the lens;
  • the image sensor is equivalent to the "film" of the conventional camera, and is the heart of the image captured by the camera;
  • the interface is used to connect the camera with the cable and the board to the board And a spring-type connection manner is connected to the initiating device main board, and the collected image is sent to the memory
  • the digital signal processor processes the acquired image by mathematical operations, converts the acquired analog image into a digital image, and transmits it to the memory 1020 through an interface.
  • the initiating device 1000 may further include a Bluetooth module or the like, and details are not described herein again.
  • Initiating device 1000 includes, in addition to one or more processors 1080, a memory, and one or more modules, one or more of which are stored in memory and configured to be executed by one or more processors.
  • processors 1080 include, in addition to one or more processors 1080, a memory, and one or more modules, one or more of which are stored in memory and configured to be executed by one or more processors.
  • modules one or more of which are stored in memory and configured to be executed by one or more processors.
  • One or more of the above modules have the following functions:
  • a target triggering signal to the target device, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time;
  • the one or more modules also have the following functions:
  • the one or more modules also have the following functions:
  • the one or more modules also have the following functions:
  • the one or more modules also have the following functions: The success of the predetermined connection is established as the target trigger signal, and the local play time is determined according to the successful establishment of the predetermined connection.
  • the one or more modules also have the following functions:
  • the one or more modules also have the following functions:
  • the response information is used to determine that the predetermined connection is successfully established.
  • the initiating device provided by the embodiment of the present disclosure provides a target trigger signal for triggering the target device to play the multimedia resource on the target device at a specified time corresponding to the local playing time through the predetermined connection, and the local playing time.
  • the time for initiating the device to play the multimedia resource on the device thus, the cooperative play of the multimedia resources on the two devices can be completed without learning, and the learning caused by ensuring the coordination consistency of the multimedia devices when playing the multimedia resources is solved.
  • the problem of higher cost achieving the effect of ensuring the consistency of multiple electronic devices when playing multimedia resources.
  • FIG. 10 is a structural block diagram of a target device according to an exemplary embodiment.
  • the target device is used to implement the cooperative play method provided in the above embodiment.
  • a target device in an embodiment of the present disclosure may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods, for information and storage program instructions, random access memory (RAM), and Read-only memory (ROM), memory for storing data and information, I/O devices, interfaces, antennas, etc. Specifically:
  • the target device 1000 may include an RF (Radio Frequency) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a WiFi (Wireless Fidelity) module 1070, a processor 1080, and a power supply. 1082, camera 1090 and other components.
  • RF Radio Frequency
  • the components of the target device 1000 will be specifically described below with reference to FIG. 10:
  • the RF circuit 1010 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 1080. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • the RF circuit 1010 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , code division multiple access), WCDMA (Wideband Code Division Multiple Access; Wideband Code Division Multiple Access;), LTE (Long Term Evolution;), e-mail, SMS (Short Messaging Service, Short Message Service), etc.
  • the memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the target device 1000 by running software programs and modules stored in the memory 1020.
  • the memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the target device 1000 (such as audio data, phone book, etc.), and the like.
  • memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1030 can be configured to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the target device 1000.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 1031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 1080 is provided and can receive commands from the processor 1080 and execute them.
  • the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1030 may also include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the target device 1000.
  • the display unit 1040 may include a display panel 1041.
  • the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 1031 can cover the display panel 1041. After the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041.
  • the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the target device 1000, in some embodiments, the touch panel 1031 and the display panel 1041 may be The input and output functions of the target device 1000 are integrated.
  • Target device 1000 may also include at least one type of sensor 1050, such as a gyro sensor, a magnetic induction sensor, a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 when the target device 1000 moves to the ear. And / or backlight.
  • the acceleration sensor can detect the acceleration of each direction (usually three axes), and can detect when it is stationary.
  • the size and direction of gravity can be used to identify the target device's attitude (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the target device 1000 can also Other sensors such as a barometer, a hygrometer, a thermometer, an infrared sensor, etc., are not described here.
  • An audio circuit 1060, a speaker 1061, and a microphone 1062 provide an audio interface between the user and the target device 1000.
  • the audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, sent to the other target device via the RF circuit 1010, or outputted to the memory 1020 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the target device 1000 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1070, which provides users with wireless broadband Internet access.
  • FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the target device 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 1080 is the control center of target device 1000, connecting various portions of the entire device using various interfaces and lines, by running or executing software programs and/or modules stored in memory 1020, and recalling data stored in memory 1020.
  • the various functions and processing data of the target device 1000 are executed to perform overall monitoring of the target device.
  • the processor 1080 may include one or more processing units.
  • the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may not be integrated into the processor 1080.
  • the target device 1000 further includes a power source 1082 (such as a battery) for supplying power to the respective components.
  • a power source 1082 such as a battery
  • the power source can be logically connected to the processor 1082 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the camera 1090 is generally composed of a lens, an image sensor, an interface, a digital signal processor, a CPU, a display screen, and the like.
  • the lens is fixed above the image sensor, and the focus can be changed by manually adjusting the lens;
  • the image sensor is equivalent to the "film" of the conventional camera, and is the heart of the image captured by the camera;
  • the interface is used to connect the camera with the cable and the board to the board
  • the spring-connected connection is connected to the target device motherboard, and the collected image is sent to the memory 1020;
  • the digital signal processor processes the acquired image through mathematical operations, converts the collected analog image into a digital image, and sends the image through the interface.
  • the memory 1020 is given.
  • the target device 1000 may further include a Bluetooth module or the like, and details are not described herein again.
  • Target device 1000 includes, in addition to one or more processors 1080, memory, and one or more modules, one or more of which are stored in memory and configured to be executed by one or more processors.
  • processors 1080 memory
  • modules one or more of which are stored in memory and configured to be executed by one or more processors.
  • One or more of the above modules have the following functions:
  • the one or more modules also have the following functions:
  • the target trigger signal carries the specified time.
  • the one or more modules also have the following functions:
  • the one or more modules also have the function of establishing the success of the predetermined connection as the target trigger signal and determining the designated time based on the successful establishment of the predetermined connection.
  • the one or more modules also have the following functions:
  • the one or more modules also have the following functions:
  • connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
  • the target device provided by the embodiment of the present disclosure acquires a multimedia connection on the target device by using the predetermined connection provided by the initiating device to trigger the target device to play at the specified time corresponding to the local playing time, by establishing a predetermined connection with the initiating device.
  • the target trigger signal of the resource, and the multimedia resource on the target device is played at the specified time according to the target trigger signal, where the local play time is the time at which the initiating device plays the multimedia resource on the initiating device; thus, the two devices can be completed without learning.
  • the cooperative play of multimedia resources solves the problem of high learning cost due to the coordination and consistency of multiple electronic devices when playing multimedia resources; and achieves the effect of ensuring the consistency of multiple electronic devices when playing multimedia resources.
  • the above-mentioned serial numbers of the embodiments of the present disclosure are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure provides a cooperative playing method, apparatus, device and system, belonging to the technical field of network. The method comprises: establishing a predetermined connection with a target device; providing to the target device via the predetermined connection a target trigger signal used for triggering the target device to play multimedia resources at a specified time corresponding to a local playing time; and playing the multimedia resources at the local playing time. By providing to the target device via the predetermined connection the target trigger signal used for triggering the target device to play the multimedia resources at the specified time corresponding to the local playing time, and playing the multimedia resources at the local playing time, the present disclosure thus completes the cooperative playing of the multimedia resources on two devices, thereby resolving the problem of higher study cost due to the guarantee of coordination consistency when the multimedia resources are played by multiple electronic devices, and achieving the effect of guaranteeing the coordination consistency when the multimedia resources are played by the multiple electronic devices.

Description

协作播放方法、 装置、 设备及系统 本申请基于申请号为 201310339208.1、 申请日为 2013年 8月 6日的中国专利申请提 出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参 考。 技术领域  The present invention is based on a Chinese patent application with the application number 201310339208.1 and the application date being August 6, 2013, and claims the priority of the Chinese patent application, the entire contents of which are This application is hereby incorporated by reference. Technical field
本公开涉及网络技术领域, 特别涉及一种协作播放方法、 装置、 设备及系统。 背景技术  The present disclosure relates to the field of network technologies, and in particular, to a cooperative play method, apparatus, device, and system. Background technique
目前大多数电子设备都可以实现多媒体资源的播放, 并且在用户的操作下, 两台以上 电子设备还可以对多媒体资源进行协作播放。 此处所述的 "电子设备"包括智能手机、 个 人数码助理 PDA和电子书阅读器等等。  At present, most electronic devices can realize the playback of multimedia resources, and under the operation of the user, two or more electronic devices can also cooperatively play multimedia resources. The "electronic devices" described herein include smart phones, personal digital assistant PDAs, e-book readers, and the like.
以两台电子设备协作播放一个送花接花的动画为例进行说明:在第一电子设备和第二 电子设备并排放置以后,用户同时手动点击第一电子设备和第二电子设备的动画播放的准 备界面, 可分别触发第一电子设备的送花动画和第二电子设备的接花动画, 也即位于左侧 的第一电子设备会显示一个动画人物 A向右侧送花的动画,而位于右侧的第二电子设备会 显示一个动画人物 B从左侧接到花的动画, 从而协作完成动画人物 A向动画人物 B送了 一束花的动画播放。  Taking an animation of two electronic devices to play a flower-and-flower arrangement as an example: after the first electronic device and the second electronic device are placed side by side, the user simultaneously manually clicks on the animation of the first electronic device and the second electronic device. The preparation interface may respectively trigger the flower-sharing animation of the first electronic device and the flower-connecting animation of the second electronic device, that is, the first electronic device located on the left side displays an animation of the animated character A sending flowers to the right side, and is located at The second electronic device on the right side displays an animation of the animated character B from the left side of the flower, thereby collaborating to complete the animated character A to send an animated play of the flower to the animated character B.
在实现本公开的过程, 发明人发现上述技术至少存在以下问题: 两台以上电子设备协 作播放多媒体资源时, 需要时间上协调一致, 而上述技术完全依靠用户把握各自动画播放 的触发时间。比如上述送花和接花的动画是由用户手动点击两台电子设备的动画播放的准 备界面而触发的, 不仅需要用户非常熟悉两台电子设备呈现出动画效果的触发条件, 而且 要求触发时间上的协调一致, 即需要很高的学习成本并且很难保证触发的协调一致性。 发明内容  In carrying out the process of the present disclosure, the inventors have found that the above-mentioned technologies have at least the following problems: When two or more electronic devices cooperatively play multimedia resources, it is necessary to coordinate in time, and the above technology completely relies on the user to grasp the trigger time of the respective animations. For example, the animation of the flower delivery and the flower arrangement is triggered by the user manually clicking the preparation interface of the animation of the two electronic devices, and the user is not only familiar with the triggering conditions of the animation of the two electronic devices, but also requires the triggering time. Coordination, which requires high learning costs and it is difficult to guarantee the consistency of the trigger. Summary of the invention
为了解决由于要保证多台电子设备播放多媒体资源时的协调一致性而导致的学习成 本较高的问题, 本公开实施例提供了一种协作播放方法、 装置、 设备及系统。 所述技术方 案如下:  In order to solve the problem that the learning cost is high due to the coordination of the multiple electronic devices when playing the multimedia resources, the embodiments of the present disclosure provide a cooperative playing method, device, device and system. The technical solution is as follows:
根据本公开实施例的第一方面, 提供一种协作播放方法, 用于发起设备中, 所述方法 包括:  According to a first aspect of the embodiments of the present disclosure, a cooperative play method is provided for initiating a device, where the method includes:
与目标设备建立预定连接;  Establishing a predetermined connection with the target device;
通过所述预定连接向所述目标设备提供目标触发信号,所述目标触发信号用于触发所 述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放时刻 对应; 在所述本地播放时刻播放所述发起设备上的多媒体资源。 And providing, by the predetermined connection, a target triggering signal to the target device, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time; Playing the multimedia resource on the initiating device at the local playing moment.
进一步的, 所述通过所述预定连接向所述目标设备提供目标触发信号, 包括: 通过所述预定连接向所述目标设备发送所述目标触发信号,所述目标触发信号携带有 所述指定时刻。  Further, the providing the target trigger signal to the target device by using the predetermined connection, comprising: sending the target trigger signal to the target device by using the predetermined connection, where the target trigger signal carries the specified time .
进一步的, 所述通过所述预定连接向所述目标设备发送所述目标触发信号, 包括: 在所述发起设备上的多媒体资源的准备播放状态下接收本地触发信号,所述本地触发 信号用于指示所述发起设备在本地播放时刻播放所述发起设备上的多媒体资源;  Further, the sending, by the predetermined connection, the target triggering signal to the target device includes: receiving a local trigger signal in a ready playing state of a multimedia resource on the initiating device, where the local trigger signal is used Instructing the initiating device to play the multimedia resource on the initiating device at a local playing time;
根据所述本地触发信号通过所述预定连接向所述目标设备发送所述目标触发信号。 所述方法还包括:  Sending the target trigger signal to the target device through the predetermined connection according to the local trigger signal. The method further includes:
通过所述预定连接向所述目标设备发送控制指令,所述控制指令用于指示所述目标设 备进入所述目标设备上的多媒体资源播放的准备播放状态。  And transmitting, by the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a ready playing state of playing multimedia resources on the target device.
进一步的, 所述通过所述预定连接向目标设备提供目标触发信号, 包括:  Further, the providing the target trigger signal to the target device by using the predetermined connection includes:
将所述预定连接的成功建立作为所述目标触发信号,并根据所述预定连接的成功建立 确定所述本地播放时刻。  The success of the predetermined connection is established as the target trigger signal, and the local play time is determined according to the successful establishment of the predetermined connection.
进一步的, 所述与目标设备建立预定连接, 包括:  Further, the establishing a predetermined connection with the target device includes:
在所述发起设备上的多媒体资源的准备播放状态下与目标设备建立预定连接。  And establishing a predetermined connection with the target device in a ready playing state of the multimedia resource on the initiating device.
进一步的, 所述与目标设备建立预定连接, 包括:  Further, the establishing a predetermined connection with the target device includes:
搜索所述目标设备;  Searching for the target device;
向所述搜索到的目标设备发送连接请求,所述连接请求用于建立所述发起设备和所述 目标设备之间的所述预定连接;  Sending a connection request to the searched target device, the connection request for establishing the predetermined connection between the initiating device and the target device;
接收所述目标设备发送的对应于所述连接请求的响应信息,所述响应信息用于确定所 述预定连接成功建立。  Receiving response information corresponding to the connection request sent by the target device, the response information is used to determine that the predetermined connection is successfully established.
根据本公开实施例的第二方面, 提供一种协作播放方法, 用于目标设备中, 所述方法 包括:  According to a second aspect of the embodiments of the present disclosure, a cooperative play method is provided for use in a target device, where the method includes:
与发起设备建立预定连接;  Establishing a predetermined connection with the initiating device;
获取所述发起设备通过所述预定连接提供的目标触发信号,所述目标触发信号用于触 发所述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放 时刻对应, 所述本地播放时刻为所述发起设备播放所述发起设备上的多媒体资源的时刻; 在所述指定时刻播放所述目标设备上的多媒体资源。  Obtaining a target trigger signal that is sent by the initiating device by using the predetermined connection, where the target triggering signal is used to trigger the target device to play a multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time The local playing time is a moment at which the initiating device plays the multimedia resource on the initiating device; and the multimedia resource on the target device is played at the specified time.
进一步的, 所述获取所述发起设备通过所述预定连接提供的目标触发信号, 包括: 接收所述发起设备通过所述预定连接发送的所述目标触发信号,所述目标触发信号携 带有所述指定时刻。  Further, the acquiring the target trigger signal that is sent by the initiating device by using the predetermined connection, includes: receiving the target trigger signal sent by the initiating device by using the predetermined connection, where the target trigger signal carries the Specify the time.
进一步的, 所述方法还包括:  Further, the method further includes:
接收所述发起设备通过所述预定连接发送的控制指令;  Receiving a control instruction sent by the initiating device through the predetermined connection;
根据所述控制指令进入所述目标设备上的多媒体资源播放的准备播放状态。 进一步的, 所述获取所述发起设备通过所述预定连接提供的目标触发信号, 包括: 将所述预定连接的成功建立作为所述目标触发信号,并根据预定连接的成功建立确定 指定时刻。 And according to the control instruction, entering a ready playing state of playing multimedia resources on the target device. Further, the acquiring the target trigger signal provided by the initiating device by using the predetermined connection comprises: establishing a success of the predetermined connection as the target trigger signal, and determining a specified time according to a successful establishment of a predetermined connection.
进一步的, 所述与发起设备建立预定连接, 包括:  Further, the establishing a predetermined connection with the initiating device includes:
在所述目标设备上的多媒体资源的准备播放状态下与发起设备建立预定连接。  Establishing a predetermined connection with the initiating device in a ready to play state of the multimedia resource on the target device.
进一步的, 所述与发起设备建立预定连接, 包括:  Further, the establishing a predetermined connection with the initiating device includes:
接收所述发起设备发送的连接请求,所述连接请求用于建立所述发起设备和所述目标 设备之间的所述预定连接;  Receiving a connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
向所述发起设备发送对应于所述连接请求的响应信息,所述响应信息用于确定所述预 定连接成功建立。  Sending response information corresponding to the connection request to the initiating device, the response information being used to determine that the predetermined connection is successfully established.
根据本公开实施例的第三方面, 提供一种协作播放装置, 所述装置包括: 第一建立模块, 用于与目标设备建立预定连接;  According to a third aspect of the embodiments of the present disclosure, a cooperative playback apparatus is provided, where the apparatus includes: a first setup module, configured to establish a predetermined connection with a target device;
提供模块,用于通过所述第一建立模块建立的预定连接向所述目标设备提供目标触发 信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上的多媒体 资源, 所述指定时刻与本地播放时刻对应;  Providing a module, configured to provide a target trigger signal to the target device by using a predetermined connection established by the first establishing module, where the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time The specified time corresponds to a local playing time;
第一播放模块, 用于在所述本地播放时刻播放所述发起设备上的多媒体资源。  The first playing module is configured to play the multimedia resource on the initiating device at the local playing moment.
进一步的, 所述提供模块, 包括:  Further, the providing module includes:
目标发送单元, 用于通过所述预定连接向所述目标设备发送所述目标触发信号, 所述 目标触发信号携带有所述指定时刻。  a target sending unit, configured to send the target trigger signal to the target device by using the predetermined connection, where the target trigger signal carries the specified time.
进一步的, 所述目标发送单元包括:  Further, the target sending unit includes:
接收子单元,用于在所述发起设备上的多媒体资源的准备播放状态下接收本地触发信 号,所述本地触发信号用于指示所述发起设备在本地播放时刻播放所述发起设备上的多媒 体资源;  a receiving subunit, configured to receive a local triggering signal in a ready playing state of the multimedia resource on the initiating device, where the local triggering signal is used to indicate that the initiating device plays the multimedia resource on the initiating device at a local playing time ;
发送子单元,用于根据所述接收子单元接收到的本地触发信号通过所述预定连接向所 述目标设备发送所述目标触发信号。  And a sending subunit, configured to send the target trigger signal to the target device by using the local trigger signal received by the receiving subunit.
进一步的, 所述装置还包括- 控制发送模块, 用于通过所述预定连接向所述目标设备发送控制指令, 所述控制指令 用于指示所述目标设备进入所述目标设备上的多媒体资源播放的准备播放状态。  Further, the device further includes: a control sending module, configured to send, by using the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a multimedia resource play on the target device Ready to play state.
进一步的, 所述提供模块, 包括:  Further, the providing module includes:
本地确定单元, 用于将所述预定连接的成功建立作为所述目标触发信号, 并根据所述 预定连接的成功建立确定所述本地播放时刻。  And a local determining unit, configured to establish the success of the predetermined connection as the target trigger signal, and determine the local playing time according to the successful establishment of the predetermined connection.
进一步的, 所述第一建立模块, 用于在所述发起设备上的多媒体资源的准备播放状态 下与目标设备建立预定连接。  Further, the first establishing module is configured to establish a predetermined connection with the target device in a ready playing state of the multimedia resource on the initiating device.
进一步的, 所述第一建立模块, 包括- 搜索单元, 用于搜索所述目标设备; 请求发送单元, 用于向所述搜索到的目标设备发送连接请求, 所述连接请求用于建立 所述发起设备和所述目标设备之间的所述预定连接; Further, the first establishing module includes: a searching unit, configured to search for the target device; a request sending unit, configured to send a connection request to the searched target device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
响应接收单元, 用于接收所述目标设备发送的对应于所述连接请求的响应信息, 所述 响应信息用于确定所述预定连接成功建立。  The response receiving unit is configured to receive response information that is sent by the target device and that is corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
根据本公开实施例的第四方面, 提供一种协作播放装置, 所述装置包括:  According to a fourth aspect of the embodiments of the present disclosure, a cooperative playback apparatus is provided, where the apparatus includes:
第二建立模块, 用于与发起设备建立预定连接;  a second establishing module, configured to establish a predetermined connection with the initiating device;
获取模块,用于获取所述发起设备通过所述第二建立模块建立的预定连接提供的目标 触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上的多 媒体资源, 所述指定时刻与本地播放时刻对应, 所述本地播放时刻为所述发起设备播放所 述发起设备上的多媒体资源的时刻;  An acquiring module, configured to acquire a target trigger signal provided by the initiating device by using a predetermined connection established by the second establishing module, where the target triggering signal is used to trigger the target device to play multimedia on the target device at a specified time a resource, where the specified time corresponds to a local play time, where the local play time is a time when the initiating device plays the multimedia resource on the initiating device;
第二播放模块,用于根据所述获取模块获取到的目标触发信号在所述指定时刻播放所 述目标设备上的多媒体资源。  And a second playing module, configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module.
进一步的, 所述获取模块, 包括:  Further, the acquiring module includes:
目标接收单元, 用于接收所述发起设备通过所述预定连接发送的所述目标触发信号, 所述目标触发信号携带有所述指定时刻。  a target receiving unit, configured to receive the target trigger signal sent by the initiating device by using the predetermined connection, where the target trigger signal carries the specified time.
进一步的, 所述装置还包括- 控制接收模块, 用于接收所述发起设备通过所述预定连接发送的控制指令; 准备模块,用于根据所述控制接收模块接收到的控制指令进入所述目标设备上的多媒 体资源播放的准备播放状态。  Further, the device further includes: a control receiving module, configured to receive a control instruction sent by the initiating device through the predetermined connection; and a preparation module, configured to enter the target according to the control instruction received by the control receiving module The ready to play state of the multimedia resource play on the device.
进一步的, 所述获取模块, 包括- 指定确定单元, 用于将所述预定连接的成功建立作为所述目标触发信号, 并根据预定 连接的成功建立确定指定时刻。  Further, the acquiring module includes: a determining determining unit, configured to use the successful establishment of the predetermined connection as the target trigger signal, and determine the specified time according to the successful establishment of the predetermined connection.
进一步的, 所述第二建立模块, 用于在所述目标设备上的多媒体资源的准备播放状态 下与发起设备建立预定连接。  Further, the second establishing module is configured to establish a predetermined connection with the initiating device in a ready playing state of the multimedia resource on the target device.
进一步的, 所述第二建立模块, 包括- 请求接收单元, 用于接收所述发起设备发送的连接请求, 所述连接请求用于建立所述 发起设备和所述目标设备之间的所述预定连接;  Further, the second establishing module includes: a request receiving unit, configured to receive a connection request sent by the initiating device, where the connection request is used to establish the reservation between the initiating device and the target device Connection
响应发送单元, 用于向所述发起设备发送对应于所述连接请求的响应信息, 所述响应 信息用于确定所述预定连接成功建立。  The response sending unit is configured to send, to the initiating device, response information corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
根据本公开实施例的第五方面, 提供一种协作播放系统, 包括发起设备和目标设备, 所述发起设备包括第三方面所述的协作播放装置,所述目标设备包括第四方面所述的协作 播放装置。  According to a fifth aspect of the present disclosure, a cooperative playback system is provided, including an initiating device and a target device, where the initiating device includes the cooperative playing device according to the third aspect, and the target device includes the fourth aspect. Collaborative playback device.
根据本公开实施例的第六方面, 提供一种发起设备, 所述发起设备包括:  According to a sixth aspect of the embodiments of the present disclosure, an initiating device is provided, where the initiating device includes:
一个或多个处理器;  One or more processors;
存储器; 和 一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 所述一个或多个模块具有如下功能: Memory; and One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
与目标设备建立预定连接;  Establishing a predetermined connection with the target device;
通过所述预定连接向所述目标设备提供目标触发信号,所述目标触发信号用于触发所 述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放时刻 对应;  And providing, by the predetermined connection, a target triggering signal to the target device, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time;
在所述本地播放时刻播放所述发起设备上的多媒体资源。  Playing the multimedia resource on the initiating device at the local playing moment.
根据本公开实施例的第七方面, 提供一种目标设备, 所述目标设备包括:  According to a seventh aspect of the embodiments of the present disclosure, a target device is provided, where the target device includes:
一个或多个处理器;  One or more processors;
存储器; 和  Memory; and
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 所述一个或多个模块具有如下功能:  One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
与发起设备建立预定连接;  Establishing a predetermined connection with the initiating device;
获取所述发起设备通过所述预定连接提供的目标触发信号,所述目标触发信号用于触 发所述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放 时刻对应, 所述本地播放时刻为所述发起设备播放所述发起设备上的多媒体资源的时刻; 在所述指定时刻播放所述目标设备上的多媒体资源。  Obtaining a target trigger signal that is sent by the initiating device by using the predetermined connection, where the target triggering signal is used to trigger the target device to play a multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time The local playing time is a moment at which the initiating device plays the multimedia resource on the initiating device; and the multimedia resource on the target device is played at the specified time.
本公开的实施例提供的技术方案可以包括以下有益效果:  The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
通过与目标设备建立预定连接, 通过预定连接向目标设备提供目标触发信号, 该目标 触发信号用于触发目标设备在与本地播放时刻对应的指定时刻播放目标设备上的多媒体 资源, 在本地播放时刻播放发起设备上的多媒体资源; 从而无需学习即可完成两台设备上 多媒体资源的协作播放,解决了由于要保证多台电子设备播放多媒体资源时的协调一致性 而导致的学习成本较高的问题;达到了保证多台电子设备播放多媒体资源时的协调一致性 效果。  The target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time corresponding to the local playing time, and play the local playing time by establishing a predetermined connection with the target device. Initiating multimedia resources on the device; thereby completing collaborative play of multimedia resources on the two devices without learning, and solving the problem of high learning cost due to coordination consistency when multiple electronic devices are required to play multimedia resources; It achieves the effect of ensuring the consistency of multiple electronic devices when playing multimedia resources.
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。 附图说明  The above general description and the following detailed description are intended to be illustrative and not restrictive. DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本公开的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings which are used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present disclosure. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是根据一示例性实施例示出的协作播放方法的方法流程图;  FIG. 1 is a flowchart of a method of a cooperative play method according to an exemplary embodiment;
图 2是根据一示例性实施例示出的协作播放方法的方法流程图;  2 is a flowchart of a method of a cooperative play method according to an exemplary embodiment;
图 3是根据一示例性实施例示出的协作播放方法的方法流程图; 图 4是根据一示例性实施例示出的协作播放方法的实施效果示意图; 图 5是根据一示例性实施例示出的协作播放方法的方法流程图; FIG. 3 is a flowchart of a method for a cooperative play method according to an exemplary embodiment; FIG. FIG. 4 is a schematic diagram of an implementation effect of a cooperative play method according to an exemplary embodiment; FIG. 5 is a flowchart of a method for a cooperative play method according to an exemplary embodiment;
图 6是根据一示例性实施例示出的协作播放装置的结构方框图;  FIG. 6 is a block diagram showing the structure of a cooperative playback apparatus according to an exemplary embodiment;
图 7是根据一示例性实施例示出的协作播放装置的结构方框图;  FIG. 7 is a block diagram showing the structure of a cooperative playback apparatus according to an exemplary embodiment;
图 8是根据一示例性实施例示出的协作播放系统的结构方框图;  FIG. 8 is a structural block diagram of a cooperative playback system according to an exemplary embodiment;
图 9是根据一示例性实施例示出的协作播放系统的结构方框图;  FIG. 9 is a block diagram showing the structure of a cooperative playback system according to an exemplary embodiment;
图 10是根据一示例性实施例示出的发起设备和另一实施例提供的目标设备的结构方 框图。  FIG. 10 is a structural block diagram of an initiating device and a target device provided by another embodiment, according to an exemplary embodiment.
此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。 具体实施方式  The accompanying drawings, which are incorporated in the specification of FIG detailed description
为使本发明的目的、技术方案和优点更加清楚, 下面将结合附图对本发明作进一步地 详细描述。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
请参考图 1, 其是根据一示例性实施例示出的协作播放方法的方法流程图。 该方法包 括- 步骤 101, 与目标设备建立预定连接;  Please refer to FIG. 1, which is a flowchart of a method for a cooperative play method according to an exemplary embodiment. The method includes - step 101, establishing a predetermined connection with the target device;
发起设备与目标设备建立预定连接。  The initiating device establishes a predetermined connection with the target device.
步骤 102, 通过预定连接向目标设备提供目标触发信号, 目标触发信号用于触发目标 设备在指定时刻播放目标设备上的多媒体资源, 指定时刻与本地播放时刻对应;  Step 102: Provide a target trigger signal to the target device by using a predetermined connection, where the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, and the specified time corresponds to the local play time;
发起设备通过预定连接向目标设备提供目标触发信号, 目标触发信号用于触发目标设 备在指定时刻播放目标设备上的多媒体资源, 指定时刻与本地播放时刻对应。  The initiating device provides a target trigger signal to the target device through the predetermined connection, and the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at the specified time, and the specified time corresponds to the local playing time.
步骤 103, 在本地播放时刻播放发起设备上的多媒体资源;  Step 103: Play a multimedia resource on the initiating device at a local playing time;
发起设备在本地播放时刻播放发起设备上的多媒体资源。  The initiating device plays the multimedia resource on the initiating device at the time of local playing.
综上所述, 本公开实施例提供的协作播放方法, 通过预定连接向目标设备提供用于触 发目标设备在与本地播放时刻对应的指定时刻播放目标设备上的多媒体资源的目标触发 信号, 本地播放时刻为发起设备播放发起设备上的多媒体资源的时刻; 从而无需学习即可 完成两台设备上多媒体资源的协作播放,解决了由于要保证多台电子设备播放多媒体资源 时的协调一致性而导致的学习成本较高的问题;达到了保证多台电子设备播放多媒体资源 时的协调一致性效果。 请参考图 2, 其是根据一示例性实施例示出的协作播放方法的方法流程图。 该方法包 括- 步骤 201, 与发起设备建立预定连接;  In summary, the cooperative play method provided by the embodiment of the present disclosure provides a target trigger signal for triggering the target device to play the multimedia resource on the target device at a specified time corresponding to the local play time through a predetermined connection, and locally plays the target broadcast signal. The moment when the initiating device plays the multimedia resource on the initiating device; thus, the cooperative playing of the multimedia resources on the two devices can be completed without learning, thereby solving the coordination consistency caused by ensuring that the plurality of electronic devices play the multimedia resources. The problem of high learning cost is achieved; the coordination and consistency effect of ensuring that multiple electronic devices play multimedia resources is achieved. Please refer to FIG. 2, which is a flowchart of a method for a cooperative play method according to an exemplary embodiment. The method includes - step 201, establishing a predetermined connection with the initiating device;
目标设备与发起设备建立预定连接。 步骤 202, 获取发起设备通过预定连接提供的目标触发信号, 目标触发信号用于触发 目标设备在指定时刻播放目标设备上的多媒体资源, 指定时刻与本地播放时刻对应, 本地 播放时刻为发起设备播放发起设备上的多媒体资源的时刻; The target device establishes a predetermined connection with the initiating device. Step 202: Acquire a target trigger signal provided by the initiating device through the predetermined connection, where the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, and the specified time corresponds to the local playing time, and the local playing time is initiated by the initiating device. The moment of the multimedia resource on the device;
目标设备获取发起设备通过预定连接提供的目标触发信号, 目标触发信号用于触发目 标设备在指定时刻播放目标设备上的多媒体资源, 指定时刻与本地播放时刻对应, 本地播 放时刻为发起设备播放发起设备上的多媒体资源的时刻。  The target device acquires a target trigger signal provided by the initiating device through the predetermined connection, and the target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, and the specified time corresponds to the local playing time, and the local playing time is the initiating device playing the initiating device. The moment of multimedia resources.
步骤 203, 在指定时刻播放目标设备上的多媒体资源;  Step 203: Play the multimedia resource on the target device at the specified time;
目标设备在指定时刻播放目标设备上的多媒体资源。  The target device plays the multimedia resource on the target device at a specified time.
综上所述, 本公开实施例提供的协作播放方法, 通过与发起设备建立预定连接, 获取 发起设备通过预定连接提供的用于触发目标设备在与本地播放时刻对应的指定时刻播放 目标设备上的多媒体资源的目标触发信号,并根据目标触发信号在指定时刻播放目标设备 上的多媒体资源, 其中, 本地播放时刻为发起设备播放发起设备上的多媒体资源的时刻; 从而无需学习即可完成两台设备上多媒体资源的协作播放,解决了由于要保证多台电子设 备播放多媒体资源时的协调一致性而导致的学习成本较高的问题;达到了保证多台电子设 备播放多媒体资源时的协调一致性效果。 为了更加清楚的说明本案中的技术方案,下述两个实施例以发起设备为第一用户的智 能手机、 目标设备为第二用户的智能手机、 二者协作完成屏幕解锁过程的动画播放为例进 行说明。 其中, 第一用户的智能手机的屏幕解锁过程是显示一个动画人物 A送花的动画, 而第二用户的智能手机的屏幕解锁过程是显示另外一个动画人物 B接花的动画。  In summary, the cooperative play method provided by the embodiment of the present disclosure establishes a predetermined connection with the initiating device, and acquires, by using the predetermined connection, the triggering device that is used by the initiating device to trigger the target device to play on the target device at a specified time corresponding to the local playing time. The target trigger signal of the multimedia resource, and the multimedia resource on the target device is played at the specified time according to the target trigger signal, where the local play time is the time at which the initiating device plays the multimedia resource on the initiating device; thus, the two devices can be completed without learning. The cooperative play of multimedia resources solves the problem of high learning cost due to the coordination consistency of multiple electronic devices when playing multimedia resources; and achieves the coordination and consistency effect when multiple electronic devices play multimedia resources. . In order to more clearly illustrate the technical solution in the present case, the following two embodiments take the initiative device as the first user's smart phone, the target device as the second user's smart phone, and the two perform the animation of the screen unlocking process as an example. Be explained. The screen unlocking process of the first user's smartphone is to display an animation of the animated character A, and the screen unlocking process of the second user's smartphone is to display an animation of another animated character B.
另外下述实施例中以第一用户的智能手机和第二用户的智能手机之间通过 FC (Near Field Communication, 近距离无线通信技术)技术进行通信为例进行说明, FC技术是一 种非接触的识别和互联技术, 可应用于智能手机中, 使用范围在十厘米内; 即在十厘米范 围内, 采用 FC技术的智能手机之间可实现识别和互联的过程。 下述实施例以两部智能 手机之间通过 FC技术进行通信为例, 但是不局限于 FC技术, 也可以通过其他通信技 术来实现两部智能手机之间的通信, 这里不再一一赘述。  In the following embodiments, the communication between the first user's smart phone and the second user's smart phone is performed by using FC (Near Field Communication) technology. The FC technology is a non-contact. The identification and interconnection technology can be applied to smart phones in a range of ten centimeters; that is, within a range of ten centimeters, the process of identifying and interconnecting between smartphones using FC technology can be realized. The following embodiment uses the FC technology to communicate between two smart phones. However, it is not limited to the FC technology, and communication between the two smart phones can also be realized by other communication technologies, which will not be repeated here.
本案中发起设备向目标设备提供目标触发信号的方式有两种: 第一种, 发起设备和目 标设备建立预定连接后, 发起设备向目标设备发送目标触发信号, 从而触发目标设备在与 本地播放时刻对应的指定时刻播放目标设备上的多媒体资源; 第二种, 发起设备将二者之 间的预定连接的成功建立作为目标触发信号,从而触发目标设备在与本地播放时刻对应的 指定时刻播放目标设备上的多媒体资源。  In this case, the initiating device provides the target trigger signal to the target device in two ways: First, after the initiating device and the target device establish a predetermined connection, the initiating device sends a target trigger signal to the target device, thereby triggering the target device to play with the local device. Playing the multimedia resource on the target device at the specified time; secondly, the initiating device establishes the successful connection of the predetermined connection between the two as the target trigger signal, thereby triggering the target device to play the target device at the specified time corresponding to the local playing time. Multimedia resources on.
首先, 对第一种方式进行详细介绍, 请参考图 3, 其是根据一示例性实施例示出的协 作播放方法的方法流程图。 该方法包括:  First, the first mode is described in detail. Referring to FIG. 3, it is a flowchart of a method for cooperative playing according to an exemplary embodiment. The method includes:
步骤 301,发起设备在发起设备上的多媒体资源的准备播放状态下接收本地触发信号; 发起设备在发起设备上的多媒体资源的准备播放状态下接收本地触发信号,本地触发 信号用于指示发起设备在本地播放时刻播放发起设备上的多媒体资源。该本地触发信号可 以是作用于发起设备屏幕上的点击信号、滑动信号、 双击信号和作用于发起设备上的按键 上的点击信号或者双击信号。 In step 301, the initiating device receives the local triggering signal in the ready playing state of the multimedia resource on the initiating device; the initiating device receives the local triggering signal in the ready playing state of the multimedia resource on the initiating device, and locally triggers The signal is used to indicate that the initiating device plays the multimedia resource on the initiating device at the time of local playing. The local trigger signal may be a click signal, a slide signal, a double tap signal, and a click signal or a double tap signal applied to a button on the initiating device on the screen of the initiating device.
比如, 第一用户的智能手机在播放解锁过程的动画之前的锁屏状态下时, 接收用户按 下电源键的信号或者点击屏幕界面的信号,根据该按下电源键的信号或者点击屏幕界面的 信号在本地播放时刻触发屏幕解锁过程的动画的播放, 即动画人物 A送花的动画播放。  For example, when the first user's smart phone plays the lock screen state before the animation of the unlocking process, the user receives a signal of pressing the power button or clicks the signal of the screen interface, according to the signal of pressing the power button or clicking the screen interface. The signal triggers the animation of the screen unlocking process at the time of local playback, that is, the animation of the animated character A.
需要补充说明的是, 步骤 301也可以在步骤 304之后, 即发起设备与目标设备建立预 定连接之后, 接收本地触发信号, 再根据本地触发信号向目标设备发送目标触发信号; 或 者也可以不经过步骤 301, 即预先设定发起设备与目标设备一旦建立预定连接, 发起设备 直接向目标设备发送目标触发信号。  It should be noted that, after step 304, after the initiating device establishes a predetermined connection with the target device, the local trigger signal is received, and the target trigger signal is sent to the target device according to the local trigger signal; or the step may be performed without a step. 301. That is, if the initiating device and the target device establish a predetermined connection, the initiating device directly sends a target trigger signal to the target device.
步骤 302, 发起设备搜索目标设备;  Step 302: Initiate a device to search for a target device.
第一用户的智能手机搜索第二设备的智能手机。  The first user's smartphone searches for the second device's smartphone.
由于两部智能手机之间可以通过 FC进行通信, 所以当两部智能手机相互靠近到十 厘米的范围内时, 第一用户的智能手机即可搜索到第二用户的智能手机。  Since the two smartphones can communicate via FC, when the two smartphones are close to each other within a range of ten centimeters, the first user's smartphone can search for the second user's smartphone.
步骤 303, 发起设备向搜索到的目标设备发送连接请求;  Step 303: The initiating device sends a connection request to the searched target device.
发起设备向搜索到的目标设备发送连接请求,该连接请求用于建立发起设备和目标设 备之间的预定连接。  The initiating device sends a connection request to the searched target device for establishing a predetermined connection between the initiating device and the target device.
比如, 第一用户的智能手机向搜索到的第二用户的智能手机发送 FC连接请求, 该 FC连接请求用于建立二者之间的预定连接。  For example, the first user's smartphone sends an FC connection request to the searched second user's smartphone, and the FC connection request is used to establish a predetermined connection between the two.
相应的, 目标设备接收发起设备发送的 FC连接请求。  Correspondingly, the target device receives the FC connection request sent by the initiating device.
步骤 304, 目标设备向发起设备发送对应于连接请求的响应信息;  Step 304: The target device sends response information corresponding to the connection request to the initiating device.
目标设备接收到发起设备发送的 FC连接请求之后, 向发起设备发送对应于该 FC 连接请求的响应信息, 该响应信息用于确定发起设备和目标设备之间的预定连接成功建 立。  After receiving the FC connection request sent by the initiating device, the target device sends response information corresponding to the FC connection request to the initiating device, where the response information is used to determine that the predetermined connection between the initiating device and the target device is successfully established.
比如,第二用户的智能手机在接收到第一用户的智能手机发送的 FC连接请求之后, 向第一用户的智能手机发送对应于该 FC连接请求的响应信息, 第一用户的智能手机在 接收到该响应信息时就说明二者之间的预定连接成功建立。  For example, after receiving the FC connection request sent by the first user's smartphone, the second user's smartphone sends a response message corresponding to the FC connection request to the first user's smartphone, and the first user's smartphone receives the response. When the response message is reached, it indicates that the predetermined connection between the two is successfully established.
步骤 305, 发起设备通过预定连接向目标设备发送控制指令;  Step 305: The initiating device sends a control instruction to the target device by using a predetermined connection.
在预定连接建立成功之后,为了防止目标设备在接收到发送设备发送的用于在指定时 刻触发目标设备上的多媒体资源的播放的目标触发信号时,处于多媒体资源播放的准备播 放状态以外的其他状态, 发起设备在向目标设备发送目标触发信号之前, 先通过预定连接 向目标设备发送控制指令,控制指令用于控制目标设备进入目标设备上的多媒体资源播放 的准备播放状态, 该准备播放状态即在多媒体资源播放前的状态。  After the predetermined connection is successfully established, in order to prevent the target device from receiving the target trigger signal sent by the sending device for triggering the playing of the multimedia resource on the target device at the specified time, the target device is in a state other than the ready playing state of the multimedia resource playing. Before the sending device sends the target trigger signal to the target device, the sending device sends a control command to the target device through the predetermined connection, where the control command is used to control the target device to enter the ready playing state of the multimedia resource playing on the target device, and the ready playing state is The status before the multimedia resource is played.
比如, 第二用户的智能手机若是处于上网的状态时, 若要实现二者协作完成屏幕解锁 过程的动画播放,则第一用户的智能手机在发送用于在指定时刻触发第二用户的智能手机 的屏幕解锁过程的动画播放的目标触发信号之前, 先向第二用户的智能手机发送控制指 令, 以便第二用户的智能手机根据该控制指令进入屏幕解锁过程的动画播放前的锁屏状 态。 For example, if the second user's smart phone is in the online state, in order to realize the animation playing of the screen unlocking process, the first user's smart phone sends a smart phone for triggering the second user at the specified time. Before the target trigger signal of the animation of the screen unlocking process, the control command is sent to the second user's smart phone, so that the second user's smart phone enters the lock screen state before the animation of the screen unlocking process according to the control instruction.
相应的, 目标设备接收发送设备发送的控制指令。  Correspondingly, the target device receives the control command sent by the sending device.
步骤 306,目标设备根据控制指令进入目标设备上的多媒体资源播放的准备播放状态。 若目标设备在接收到控制指令时, 已经处于多媒体资源播放前的状态, 则可忽略该控 制指令; 若目标设备在接收到控制指令时, 处于多媒体资源播放前的状态以外的状态, 则 目标设备根据该控制指令进入目标设备上的多媒体资源播放的准备播放状态。  Step 306: The target device enters a ready playing state of playing the multimedia resource on the target device according to the control instruction. If the target device is in the state before the multimedia resource is played when receiving the control command, the control command may be ignored; if the target device receives the control command and is in a state other than the state before the multimedia resource is played, the target device According to the control instruction, the ready to play state of the multimedia resource playing on the target device is entered.
比如, 若第二用户的智能手机在接收到该控制指令时, 已经处于屏幕解锁过程的动画 播放前的锁屏状态, 则第二用户的智能手机不做任何操作; 若第二用户的智能手机在接收 到该控制指令时处于上网的状态,则第二用户的智能手机根据该控制指令进入屏幕解锁过 程的动画播放前的锁屏状态。  For example, if the second user's smartphone receives the control command and is already in the lock screen state before the animation of the screen unlocking process, the second user's smartphone does not perform any operation; if the second user's smartphone When the control command is received, the second user's smartphone enters the lock screen state before the animation of the screen unlocking process according to the control command.
步骤 307, 发起设备根据本地触发信号通过预定连接向目标设备发送目标触发信号; 目标触发信号用于触发目标设备在指定时刻播放目标设备上的多媒体资源,该指定时 刻与本地播放时刻对应。  Step 307: The initiating device sends a target trigger signal to the target device by using a predetermined connection according to the local trigger signal. The target trigger signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the designated moment corresponds to the local playing time.
比如, 第一用户的智能手机根据用户发送的本地触发信号, 通过步骤 303和步骤 304 建立成功的 FC连接向第二用户的智能手机发送目标触发信号, 该目标触发信号用于在 对应于本地播放时刻的指定时刻触发第二用户的智能手机上的屏幕解锁过程的动画的播 放, 即动画人物 B接花的动画播放。  For example, the first user's smart phone sends a target trigger signal to the second user's smart phone by establishing a successful FC connection according to the local trigger signal sent by the user, and the target trigger signal is used for corresponding local playback. The specified moment of the moment triggers the animation of the screen unlocking process on the second user's smartphone, that is, the animated character B receives the animation of the flower.
相应的, 目标设备接收发起设备发送的目标触发信号。  Correspondingly, the target device receives the target trigger signal sent by the initiating device.
步骤 308, 发起设备在本地播放时刻播放发起设备上的多媒体资源;  Step 308: The initiating device plays the multimedia resource on the initiating device at the local playing time.
发起设备在本地播放时刻触发发起设备上的多媒体资源的播放。 比如, 第一用户的智 能手机的屏幕解锁过程的动画即动画人物 A送花的动画在本地播放时刻开始播放。  The initiating device triggers the playing of the multimedia resource on the initiating device at the time of local playing. For example, the animation of the screen unlocking process of the first user's smart phone, that is, the animation of the animated character A, starts to play at the local playing time.
步骤 309, 目标设备在指定时刻播放目标设备上的多媒体资源;  Step 309: The target device plays the multimedia resource on the target device at the specified time;
指定时刻和本地播放时刻之间存在对应关系, 二者可以相同, 也可以不同。  There is a correspondence between the specified time and the local playing time, and the two may be the same or different.
比如,步骤 308中第一用户的智能手机的屏幕解锁过程的动画即动画人物 A送花的动 画在当前时间的一秒后开始播放,那么第二用户的智能手机上的屏幕解锁过程的动画即动 画人物 B接花的动画可能需要在当前时间的两秒后开始播放,才能保证二者协作完成屏幕 解锁过程的动画播放的协调一致性; 如图 4所示, 第一用户的智能手机上显示动画人物 A 正在送花、第二用户的智能手机的屏幕上则显示动画人物 B正在接花。而不至于出现动画 人物 A还没有开始送花、 动画人物 B已经接到花的不协调后果。  For example, in step 308, the animation of the screen unlocking process of the first user's smartphone, that is, the animation of the animated character A is started to play after one second of the current time, then the animation of the screen unlocking process on the second user's smartphone is The animated character B flower animation may need to start playing after two seconds of the current time, in order to ensure that the two cooperate to complete the animation consistency of the screen unlocking process; as shown in Figure 4, the first user's smartphone displays The animated character A is sending flowers, and the second user's smartphone screen displays an animated character B is taking flowers. Without animating characters A hasn't started to send flowers, and animated characters B have received uncoordinated consequences of flowers.
需要说明的是,本公开实施例以发起设备和目标设备两台设备之间协作完成多媒体资 源的播放为例进行说明, 若是多台设备之间协作完成多媒体资源的播放, 则同样在其中一 台设备接收到在本地播放时刻触发该设备上多媒体资源的播放的本地触发信号时, 向多台 设备分别发送对应的目标触发信号,各个设备收到的目标触发信号用于分别在与第一时刻 对应的第二时刻、第三时刻等触发各个设备上的多媒体资源的播放, 从而保证多台设备之 间协作完成多媒体资源的播放的协调一致性。 It should be noted that, in the embodiment of the present disclosure, the cooperation between the initiating device and the target device to complete the playing of the multimedia resource is illustrated as an example. If multiple devices cooperate to complete the playing of the multimedia resource, the same is also performed in one of the devices. When receiving the local trigger signal for triggering the playing of the multimedia resource on the device at the local playing time, the device separately sends a corresponding target trigger signal to the multiple devices, and the target trigger signal received by each device is used in the first moment The corresponding second time, the third time, and the like trigger the playing of the multimedia resources on each device, so as to ensure that the cooperation between the multiple devices completes the coordination of the multimedia resources.
综上所述, 本公开实施例提供的协作播放方法, 通过发起设备在接收到用于在本地播 放时刻触发发起设备上的多媒体资源的播放的本地触发信号时, 向目标设备发送用于在对 应于本地播放时刻的指定时刻触发目标设备上的多媒体资源的播放的目标触发信号, 使 得只需要在发起设备上进行操作即可保证发起设备和目标设备的多媒体资源的播放协调 一致,解决了由于要保证多台电子设备播放多媒体资源时的协调一致性而导致的学习成本 较高的问题;达到了只需要在发起设备上操作即可保证多台电子设备播放多媒体资源时的 协调一致性效果。 还通过 FC技术完成发起设备和目标设备之间的连接, 由于 FC技术 具有点对点快速连接的特性,进一步保证了多台电子设备协作播放多媒体资源时的协调一 致性。 其次, 对第二种方式进行详细介绍, 请参考图 5, 其是根据一示例性实施例示出的协 作播放方法的方法流程图。 该方法包括:  In summary, the cooperative play method provided by the embodiment of the present disclosure, when the initiating device receives the local trigger signal for triggering the playing of the multimedia resource on the initiating device at the local playing time, sends the information to the target device for the corresponding The target triggering signal for playing the multimedia resource on the target device is triggered at a specified time of the local playback time, so that only the operation on the initiating device is required to ensure that the playback of the multimedia resource of the initiating device and the target device is coordinated, and the solution is solved. The problem of high learning cost caused by the consistency of multiple electronic devices when playing multimedia resources is achieved; the coordination and consistency effect when multiple electronic devices play multimedia resources can be ensured only by operating on the initiating device. The connection between the initiating device and the target device is also completed by the FC technology. Since the FC technology has the characteristics of point-to-point fast connection, the coordination of multiple electronic devices in cooperatively playing multimedia resources is further ensured. Next, the second mode is described in detail. Referring to FIG. 5, it is a flowchart of a method for cooperative playing according to an exemplary embodiment. The method includes:
步骤 501, 发起设备在多媒体资源的准备播放状态下搜索目标设备;  Step 501: The initiating device searches for a target device in a ready playing state of the multimedia resource.
本实施例以发起设备和目标设备之间的预定连接的成功建立作为目标触发信号,所以 在二者进行预定连接的时候默认二者已经处于各自多媒体资源的准备播放状态。  In this embodiment, the successful establishment of the predetermined connection between the initiating device and the target device is used as the target triggering signal, so that when the two are scheduled to connect, the two are already in the ready to play state of the respective multimedia resources.
比如, 第一用户的智能手机在锁屏状态下搜索第二设备的智能手机。  For example, the first user's smartphone searches for the smartphone of the second device in the lock screen state.
由于两部智能手机之间可以通过 FC进行通信, 所以当两部智能手机相互靠近到十 厘米的范围内时, 第一用户的智能手机即可搜索到第二用户的智能手机。  Since the two smartphones can communicate via FC, when the two smartphones are close to each other within a range of ten centimeters, the first user's smartphone can search for the second user's smartphone.
步骤 502, 发起设备向搜索到的目标设备发送连接请求;  Step 502: The initiating device sends a connection request to the searched target device.
发起设备向搜索到的目标设备发送连接请求,该连接请求用于建立发起设备和目标设 备之间的预定连接。  The initiating device sends a connection request to the searched target device for establishing a predetermined connection between the initiating device and the target device.
比如, 第一用户的智能手机在锁屏状态下向搜索到的第二用户的智能手机发送 FC 连接请求, 该 FC连接请求用于建立二者之间的预定连接。  For example, the first user's smartphone sends an FC connection request to the searched second user's smartphone in a lock screen state, and the FC connection request is used to establish a predetermined connection between the two.
相应的, 目标设备接收发起设备发送的 FC连接请求。  Correspondingly, the target device receives the FC connection request sent by the initiating device.
步骤 503, 目标设备向发起设备发送对应于连接请求的响应信息;  Step 503: The target device sends response information corresponding to the connection request to the initiating device.
目标设备接收到发起设备发送的 FC连接请求之后, 向发起设备发送对应于该 FC 连接请求的响应信息, 该响应信息用于确定发起设备和目标设备之间的预定连接成功建 立。  After receiving the FC connection request sent by the initiating device, the target device sends response information corresponding to the FC connection request to the initiating device, where the response information is used to determine that the predetermined connection between the initiating device and the target device is successfully established.
比如,第二用户的智能手机在接收到第一用户的智能手机发送的 FC连接请求之后, 在锁屏状态下向第一用户的智能手机发送对应于该 FC连接请求的响应信息, 第一用户 的智能手机在接收到该响应信息时就说明二者之间的预定连接成功建立。  For example, after receiving the FC connection request sent by the first user's smartphone, the second user's smartphone sends a response message corresponding to the FC connection request to the first user's smartphone in the lock screen state, the first user. When the smartphone receives the response message, it indicates that the predetermined connection between the two is successfully established.
步骤 504, 发起设备将预定连接的成功建立作为目标触发信号, 并根据预定连接的成 功建立确定本地播放时刻; 发起设备在接收到用于确定发起设备和目标设备之间的预定连接成功建立的响应信 息之后, 将预定连接的成功建立作为目标触发信号, 并根据该预定连接的成功建立确定本 地播放时刻。 Step 504: The initiating device establishes a successful establishment of the predetermined connection as a target trigger signal, and determines a local playing time according to the successful establishment of the predetermined connection. After receiving the response information for determining the successful establishment of the predetermined connection between the initiating device and the target device, the initiating device establishes the successful establishment of the predetermined connection as the target trigger signal, and determines the local playing time according to the successful establishment of the predetermined connection.
比如, 第一用户的智能手机在接收到第二用户的智能手机发送的响应信息之后, 确定 二者之间的预定连接建立成功, 将预定连接的成功建立作为目标触发信号, 并将预定连接 建立成功的时刻或者预定连接建立成功后延时预定时间后的时刻确定为本地播放时刻。  For example, after receiving the response information sent by the second user's smartphone, the first user's smartphone determines that the predetermined connection between the two is successfully established, establishes the successful connection of the predetermined connection as the target trigger signal, and establishes the predetermined connection. The moment of success or the time after the predetermined time delay after the scheduled connection establishment is successful is determined as the local playing time.
步骤 505, 目标设备将预定连接的成功建立作为目标触发信号, 并根据预定连接的成 功建立确定指定时刻;  Step 505: The target device establishes a successful connection of the predetermined connection as a target trigger signal, and determines a specified time according to the success of the predetermined connection.
比如, 第二用户的智能手机将二者之间的预定连接的成功建立作为目标触发信号, 第 二用户的智能手机在向第一用户的智能手机发送响应信息之后,确定二者之间的预定连接 建立成功, 将预定连接的成功建立作为目标触发信号, 并将预定连接建立成功的时刻或者 预定连接建立成功后延时预定时间后的时刻作为指定时刻。  For example, the second user's smart phone establishes the success of the predetermined connection between the two as a target trigger signal, and the second user's smart phone determines the reservation between the two after sending the response information to the first user's smart phone. The connection is successfully established, and the successful establishment of the predetermined connection is used as the target trigger signal, and the time when the predetermined connection is established successfully or the time after the predetermined connection is established and the predetermined time is delayed is taken as the designated time.
需要说明的是, 由于本实施例中以发起设备和目标设备之间通过 FC技术进行通信, 所以可以忽略连接请求和响应信息在发起设备和目标设备之间的传输时间,将目标设备发 送响应信息的时刻和发起设备接收到响应信息的时刻认为是同一时刻。  It should be noted that, in this embodiment, the communication between the initiating device and the target device is performed by using the FC technology, so that the transmission time between the initiating device and the target device of the connection request and the response information may be ignored, and the target device may send the response information. The moment and the moment when the initiating device receives the response information are considered to be the same moment.
步骤 506, 发起设备在本地播放时刻播放发起设备上的多媒体资源;  Step 506: The initiating device plays the multimedia resource on the initiating device at a local playing time.
发起设备在本地播放时刻触发发起设备上的多媒体资源的播放。 比如, 第一用户的智 能手机的屏幕解锁过程的动画即动画人物 A送花的动画在本地播放时刻开始播放。  The initiating device triggers the playing of the multimedia resource on the initiating device at the time of local playing. For example, the animation of the screen unlocking process of the first user's smart phone, that is, the animation of the animated character A, starts to play at the local playing time.
步骤 507, 目标设备在指定时刻播放目标设备上的多媒体资源  Step 507: The target device plays the multimedia resource on the target device at the specified time.
指定时刻和本地播放时刻之间存在对应关系, 二者可以相同, 也可以不同。  There is a correspondence between the specified time and the local playing time, and the two may be the same or different.
比如,步骤 506中第一用户的智能手机的屏幕解锁过程的动画即动画人物 A送花的动 画在接收到响应信息的时刻开始播放,那么第二用户的智能手机上的屏幕解锁过程的动画 即动画人物 B接花的动画可能需要在发送响应信息的时刻两秒后开始播放,才能保证二者 协作完成屏幕解锁过程的动画播放的协调一致性; 如图 4所示, 第一用户的智能手机上显 示动画人物 A正在送花、 第二用户的智能手机的屏幕上则显示动画人物 B正在接花。 而 不至于出现动画人物 A还没有开始送花、 动画人物 B已经接到花的不协调后果。  For example, in step 506, the animation of the screen unlocking process of the first user's smartphone, that is, the animation of the animated character A, starts to play at the moment when the response information is received, and then the animation of the screen unlocking process on the second user's smartphone is The animated character B flower animation may need to start playing two seconds after the response message is sent, in order to ensure the coordination of the animation playback of the screen unlocking process; as shown in Figure 4, the first user's smartphone The animation character A is being sent on the screen, and the second user's smartphone is displayed on the screen of the second user's smartphone. And there will be no animated characters A has not started to send flowers, animated characters B have received the uncoordinated consequences of flowers.
需要说明的是,本公开实施例以发起设备和目标设备两台设备之间协作完成多媒体资 源的播放为例进行说明, 若是多台设备之间协作完成多媒体资源的播放, 则同样将多台设 备之间的预定连接的成功建立作为目标触发信号,各个设备根据预定连接的成功建立确定 自己触发多媒体资源的播放的时刻,从而保证多台设备之间协作完成多媒体资源的播放的 协调一致性。  It should be noted that, in the embodiment of the present disclosure, the cooperation between the initiating device and the target device to complete the playing of the multimedia resource is illustrated as an example. If multiple devices cooperate to complete the playing of the multimedia resource, multiple devices are also used. The successful establishment of the predetermined connection is established as the target triggering signal, and each device determines the time at which the self-triggering of the multimedia resource is triggered according to the success of the predetermined connection, thereby ensuring the coordination and consistency of the playback of the multimedia resources by the cooperation between the multiple devices.
综上所述, 本公开实施例提供的协作播放方法, 通过发起设备和目标设备各自将预定 连接的成功建立作为目标触发信号,并各自根据预定连接的成功建立确定自己触发多媒体 资源的播放的时刻, 从而协作完成多媒体资源的播放; 解决了由于要保证多台电子设备播 放多媒体资源时的协调一致性而导致的学习成本较高的问题;达到了只需要在多媒体资源 的准备播放状态下建立预定连接即可即可保证多台电子设备播放多媒体资源时的协调一 致性效果。 还通过 FC技术完成发起设备和目标设备之间的连接, 由于 FC技术具有点 对点快速连接的特性, 进一步保证了多台电子设备协作播放多媒体资源时的协调一致性。 请参考图 6, 其是根据一示例性实施例示出的协作播放装置的结构方框图。 该协作播 放装置可以通过软件、硬件或者两者的结合实现成为发起设备的全部或者一部分, 该协作 播放装置, 包括: In summary, the cooperative play method provided by the embodiment of the present disclosure establishes, by the initiating device and the target device, the successful establishment of the predetermined connection as the target trigger signal, and each determines the time of triggering the playing of the multimedia resource according to the success of the predetermined connection. , thereby collaborating to complete the playback of multimedia resources; solving the problem of high learning cost due to ensuring the consistency of multiple electronic devices when playing multimedia resources; achieving only multimedia resources The preparation of the predetermined connection in the ready-to-play state can ensure the coordinated consistency effect when multiple electronic devices play multimedia resources. The FC technology is also used to complete the connection between the initiating device and the target device. Because the FC technology has the characteristics of point-to-point fast connection, the coordination and consistency of multiple electronic devices cooperatively playing multimedia resources are further ensured. Please refer to FIG. 6, which is a structural block diagram of a cooperative playback apparatus according to an exemplary embodiment. The cooperative playback device can be implemented as a whole or a part of the initiating device by using software, hardware or a combination of the two. The cooperative playing device includes:
第一建立模块 610, 用于与目标设备建立预定连接。  The first establishing module 610 is configured to establish a predetermined connection with the target device.
提供模块 630, 用于通过所述第一建立模块 610建立的预定连接向所述目标设备提供 目标触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上 的多媒体资源, 所述指定时刻与本地播放时刻对应;  a providing module 630, configured to provide a target trigger signal to the target device by using a predetermined connection established by the first establishing module 610, where the target trigger signal is used to trigger the target device to play on the target device at a specified time a multimedia resource, where the specified time corresponds to a local playing time;
第一播放模块 650, 用于在所述本地播放时刻播放所述发起设备上的多媒体资源。 综上所述, 本公开实施例提供的协作播放装置, 通过预定连接向目标设备提供用于触 发目标设备在与本地播放时刻对应的指定时刻播放目标设备上的多媒体资源的目标触发 信号, 本地播放时刻为发起设备播放发起设备上的多媒体资源的时刻; 从而无需学习即可 完成两台设备上多媒体资源的协作播放,解决了由于要保证多台电子设备播放多媒体资源 时的协调一致性而导致的学习成本较高的问题;达到了保证多台电子设备播放多媒体资源 时的协调一致性效果。 请参考图 7, 其是根据一示例性实施例示出的协作播放装置的结构方框图。 该协作播 放装置可以通过软件、硬件或者两者的结合实现成为目标设备的全部或者一部分, 该协作 播放装置, 包括:  The first playing module 650 is configured to play the multimedia resource on the initiating device at the local playing moment. In summary, the cooperative playback apparatus provided by the embodiment of the present disclosure provides a target trigger signal for triggering the target device to play the multimedia resource on the target device at a specified time corresponding to the local play time through a predetermined connection, and locally plays the target device. The moment when the initiating device plays the multimedia resource on the initiating device; thus, the cooperative playing of the multimedia resources on the two devices can be completed without learning, thereby solving the coordination consistency caused by ensuring that the plurality of electronic devices play the multimedia resources. The problem of high learning cost is achieved; the coordination and consistency effect of ensuring that multiple electronic devices play multimedia resources is achieved. Please refer to FIG. 7, which is a structural block diagram of a cooperative playback apparatus according to an exemplary embodiment. The cooperative playback device can be implemented as a whole or a part of the target device by software, hardware or a combination of the two. The cooperative playback device includes:
第二建立模块 710, 用于与发起设备建立预定连接;  a second establishing module 710, configured to establish a predetermined connection with the initiating device;
获取模块 730, 用于获取所述发起设备通过所述第二建立模块 710建立的预定连接提 供的目标触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设 备上的多媒体资源, 所述指定时刻与本地播放时刻对应, 所述本地播放时刻为所述发起设 备播放所述发起设备上的多媒体资源的时刻;  The obtaining module 730 is configured to acquire a target trigger signal provided by the initiating device by using the predetermined connection established by the second establishing module 710, where the target trigger signal is used to trigger the target device to play the target device at a specified time. a multimedia resource, where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device;
第二播放模块 750, 用于根据所述获取模块 730获取到的目标触发信号在所述指定时 刻播放所述目标设备上的多媒体资源。  The second playing module 750 is configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module 730.
综上所述, 本公开实施例提供的协作播放装置, 通过与发起设备建立预定连接, 获取 发起设备通过预定连接提供的用于触发目标设备在与本地播放时刻对应的指定时刻播放 目标设备上的多媒体资源的目标触发信号,并根据目标触发信号在指定时刻播放目标设备 上的多媒体资源, 其中, 本地播放时刻为发起设备播放发起设备上的多媒体资源的时刻; 从而无需学习即可完成两台设备上多媒体资源的协作播放,解决了由于要保证多台电子设 备播放多媒体资源时的协调一致性而导致的学习成本较高的问题;达到了保证多台电子设 备播放多媒体资源时的协调一致性效果。 请参考图 8, 其是根据一示例性实施例示出的协作播放系统的结构方框图。 该协作播 放系统, 包括: 发起设备 810和目标设备 860; In summary, the cooperative playback apparatus provided by the embodiment of the present disclosure acquires a predetermined connection with the initiating device, and acquires, by the initiating device, the predetermined connection provided by the initiating device for triggering the target device to play on the target device at a specified time corresponding to the local playing time. The target trigger signal of the multimedia resource, and the multimedia resource on the target device is played at the specified time according to the target trigger signal, where the local play time is the time at which the initiating device plays the multimedia resource on the initiating device; thus, the two devices can be completed without learning. Collaborative playback of multimedia resources solves the problem of high learning cost due to the coordination and consistency of multiple electronic devices when playing multimedia resources; Coordination effect when playing multimedia resources. Please refer to FIG. 8, which is a structural block diagram of a cooperative playback system according to an exemplary embodiment. The collaborative playback system includes: an initiating device 810 and a target device 860;
所述发起设备 810, 包括:  The initiating device 810 includes:
所述第一建立模块 820, 用于与目标设备建立预定连接。  The first establishing module 820 is configured to establish a predetermined connection with the target device.
所述第一建立模块 820, 包括- 搜索单元 821, 用于搜索所述目标设备;  The first establishing module 820 includes: a searching unit 821, configured to search for the target device;
请求发送单元 822, 用于向所述搜索单元 821搜索到的目标设备发送连接请求, 所述 连接请求用于建立所述发起设备和所述目标设备之间的所述预定连接;  a request sending unit 822, configured to send a connection request to the target device searched by the searching unit 821, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
响应接收单元 823, 用于接收所述目标设备发送的对应于所述连接请求的响应信息, 所述响应信息用于确定所述预定连接成功建立。  The response receiving unit 823 is configured to receive response information that is sent by the target device and that is corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
提供模块 830, 用于通过所述第一建立模块 820建立的预定连接向所述目标设备提供 目标触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上 的多媒体资源, 所述指定时刻与本地播放时刻对应;  The providing module 830 is configured to provide a target trigger signal to the target device by using a predetermined connection established by the first establishing module 820, where the target trigger signal is used to trigger the target device to play on the target device at a specified time. a multimedia resource, where the specified time corresponds to a local playing time;
所述提供模块 830, 包括- 目标发送单元 831, 用于通过所述预定连接向所述目标设备发送所述目标触发信号, 所述目标触发信号携带有所述指定时刻。  The providing module 830 includes a target sending unit 831, configured to send the target trigger signal to the target device by using the predetermined connection, where the target trigger signal carries the specified time.
所述目标发送单元 831, 包括:  The target sending unit 831 includes:
接收子单元 831a,用于在所述发起设备上的多媒体资源的准备播放状态下接收本地触 发信号,所述本地触发信号用于指示所述发起设备在本地播放时刻播放所述发起设备上的 多媒体资源;  The receiving sub-unit 831a is configured to receive a local triggering signal in a ready-to-play state of the multimedia resource on the initiating device, where the local triggering signal is used to indicate that the initiating device plays the multimedia on the initiating device at a local playing time. Resource
发送子单元 831b, 用于根据所述接收子单元 831a接收到的本地触发信号通过所述预 定连接向所述目标设备发送所述目标触发信号。 控制发送模块 840, 用于通过所述预定连接向所述目标设备发送控制指令, 所述控制 指令用于指示所述目标设备进入所述目标设备上的多媒体资源播放的准备播放状态。  The sending subunit 831b is configured to send the target trigger signal to the target device by using the local trigger signal received by the receiving subunit 831a. The control sending module 840 is configured to send, by using the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a ready playing state of playing multimedia resources on the target device.
第一播放模块 850, 用于在所述本地播放时刻播放所述发起设备上的多媒体资源。 所述目标设备 860, 包括:  The first playing module 850 is configured to play the multimedia resource on the initiating device at the local playing moment. The target device 860 includes:
第二建立模块 861, 用于与发起设备建立预定连接;  a second establishing module 861, configured to establish a predetermined connection with the initiating device;
所述第二建立模块 861, 包括- 请求接收单元 861a,用于接收所述发起设备发送的连接请求,所述连接请求用于建立 所述发起设备和所述目标设备之间的所述预定连接;  The second establishing module 861 includes: a request receiving unit 861a, configured to receive a connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device ;
响应发送单元 861b,用于向所述发起设备发送对应于所述连接请求的响应信息,所述 响应信息用于确定所述预定连接成功建立。 控制接收模块 862, 用于在所述预定连接建立成功之后, 接收所述发起设备通过所述 预定连接发送的控制指令; The response sending unit 861b is configured to send, to the initiating device, response information corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established. The control receiving module 862 is configured to receive, after the predetermined connection is successfully established, a control instruction sent by the initiating device by using the predetermined connection;
准备模块 863, 用于根据所述控制接收模块 862接收到的控制指令进入所述目标设备 上的多媒体资源播放的准备播放状态。  The preparation module 863 is configured to enter a ready playing state of playing multimedia resources on the target device according to the control instruction received by the control receiving module 862.
获取模块 864, 用于获取所述发起设备通过所述第二建立模块 861建立的预定连接提 供的目标触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设 备上的多媒体资源, 所述指定时刻与本地播放时刻对应, 所述本地播放时刻为所述发起设 备播放所述发起设备上的多媒体资源的时刻;  The obtaining module 864 is configured to acquire a target trigger signal provided by the initiating device by using a predetermined connection established by the second establishing module 861, where the target trigger signal is used to trigger the target device to play the target device at a specified time. a multimedia resource, where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device;
所述获取模块 864, 包括:  The obtaining module 864 includes:
目标接收单元 864a,用于在所述预定连接建立成功之后,接收所述发起设备通过所述 预定连接发送的所述目标触发信号, 所述目标触发信号携带有所述指定时刻。  The target receiving unit 864a is configured to receive, after the predetermined connection is successfully established, the target trigger signal sent by the initiating device by using the predetermined connection, where the target trigger signal carries the specified time.
第二播放模块 865, 用于根据所述获取模块 864获取到的目标触发信号在所述指定时 刻播放所述目标设备上的多媒体资源。  The second playing module 865 is configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module 864.
综上所述, 本公开实施例提供的协作播放系统, 通过发起设备在接收到用于在本地播 放时刻触发发起设备上的多媒体资源的播放的本地触发信号时, 向目标设备发送用于在对 应于本地播放时刻的指定时刻触发目标设备上的多媒体资源的播放的目标触发信号, 使 得只需要在发起设备上进行操作即可保证发起设备和目标设备的多媒体资源的播放协调 一致,解决了由于要保证多台电子设备播放多媒体资源时的协调一致性而导致的学习成本 较高的问题;达到了只需要在发起设备上操作即可保证多台电子设备播放多媒体资源时的 协调一致性效果。 还通过 FC技术完成发起设备和目标设备之间的连接, 由于 FC技术 具有点对点快速连接的特性,进一步保证了多台电子设备协作播放多媒体资源时的协调一 致性。 请参考图 9, 其是根据一示例性实施例示出的协作播放系统的结构方框图。 该协作播 放系统, 包括: 发起设备 910和目标设备 950;  In summary, the cooperative playing system provided by the embodiment of the present disclosure sends, by the initiating device, a local trigger signal for triggering playing of the multimedia resource on the initiating device at the time of local playing, to send to the target device for corresponding The target triggering signal for playing the multimedia resource on the target device is triggered at a specified time of the local playback time, so that only the operation on the initiating device is required to ensure that the playback of the multimedia resource of the initiating device and the target device is coordinated, and the solution is solved. The problem of high learning cost caused by the consistency of multiple electronic devices when playing multimedia resources is achieved; the coordination and consistency effect when multiple electronic devices play multimedia resources can be ensured only by operating on the initiating device. The connection between the initiating device and the target device is also completed by the FC technology. Since the FC technology has the characteristics of point-to-point fast connection, the coordination of multiple electronic devices in cooperatively playing multimedia resources is further ensured. Please refer to FIG. 9, which is a structural block diagram of a cooperative playback system according to an exemplary embodiment. The collaborative play system includes: an initiating device 910 and a target device 950;
所述发起设备 910, 包括:  The initiating device 910 includes:
第一建立模块 911, 用于在所述发起设备上的多媒体资源的准备播放状态下与目标设 备建立预定连接。  The first establishing module 911 is configured to establish a predetermined connection with the target device in a ready playing state of the multimedia resource on the initiating device.
所述第一建立模块 911, 包括- 搜索单元 911a, 用于搜索所述目标设备;  The first establishing module 911 includes a searching unit 911a for searching for the target device.
请求发送单元 911b, 用于向所述搜索单元 911a搜索到的目标设备发送连接请求, 所 述连接请求用于建立所述发起设备和所述目标设备之间的所述预定连接;  a request sending unit 911b, configured to send a connection request to the target device searched by the searching unit 911a, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
响应接收单元 911c, 用于接收所述目标设备发送的对应于所述连接请求的响应信息, 所述响应信息用于确定所述预定连接成功建立。  The response receiving unit 911c is configured to receive response information that is sent by the target device and that is corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
提供模块 912, 用于通过所述第一建立模块 911建立的预定连接向所述目标设备提供 目标触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上 的多媒体资源, 所述指定时刻与本地播放时刻对应; a providing module 912, configured to provide the target device by using a predetermined connection established by the first establishing module 911 a target triggering signal, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time;
所述提供模块 912, 包括- 本地确定单元 912a,用于将所述预定连接的成功建立作为所述目标触发信号,并根据 所述预定连接的成功建立确定所述本地播放时刻。  The providing module 912 includes a local determining unit 912a for establishing the success of the predetermined connection as the target trigger signal, and determining the local playing time according to the successful establishment of the predetermined connection.
第一播放模块 913, 用于在所述本地播放时刻播放所述发起设备上的多媒体资源。 所述目标设备 950, 包括:  The first playing module 913 is configured to play the multimedia resource on the initiating device at the local playing moment. The target device 950 includes:
第二建立模块 951, 用于在所述目标设备上的多媒体资源的准备播放状态下与发起设 备建立预定连接。  The second establishing module 951 is configured to establish a predetermined connection with the initiating device in a ready playing state of the multimedia resource on the target device.
所述第二建立模块 951, 包括- 请求接收单元 951a,用于接收所述发起设备发送的连接请求,所述连接请求用于建立 所述发起设备和所述目标设备之间的所述预定连接;  The second establishing module 951 includes: a request receiving unit 951a, configured to receive a connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device ;
响应发送单元 951b,用于向所述发起设备发送对应于所述连接请求的响应信息,所述 响应信息用于确定所述预定连接成功建立。  The response sending unit 951b is configured to send, to the initiating device, response information corresponding to the connection request, where the response information is used to determine that the predetermined connection is successfully established.
获取模块 952, 用于获取所述发起设备通过所述第二建立模块 951建立的预定连接提 供的目标触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设 备上的多媒体资源, 所述指定时刻与本地播放时刻对应, 所述本地播放时刻为所述发起设 备播放所述发起设备上的多媒体资源的时刻;  The obtaining module 952 is configured to acquire a target trigger signal that is provided by the initiating device by using a predetermined connection established by the second establishing module 951, where the target triggering signal is used to trigger the target device to play the target device at a specified time. a multimedia resource, where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device;
所述获取模块 952, 包括:  The obtaining module 952 includes:
指定确定单元 952a,用于将所述预定连接的成功建立作为所述目标触发信号,并根据 预定连接的成功建立确定指定时刻。  The designation determining unit 952a is configured to establish the success of the predetermined connection as the target trigger signal, and determine the designated time according to the successful establishment of the predetermined connection.
第二播放模块 953, 用于根据所述获取模块 952获取到的目标触发信号在所述指定时 刻播放所述目标设备上的多媒体资源。  The second playing module 953 is configured to play the multimedia resource on the target device at the specified time according to the target trigger signal acquired by the acquiring module 952.
综上所述, 本公开实施例提供的协作播放系统, 通过发起设备和目标设备各自将预定 连接的成功建立作为目标触发信号,并各自根据预定连接的成功建立确定自己触发多媒体 资源的播放的时刻, 从而协作完成多媒体资源的播放; 解决了由于要保证多台电子设备播 放多媒体资源时的协调一致性而导致的学习成本较高的问题;达到了只需要在多媒体资源 的准备播放状态下建立预定连接即可即可保证多台电子设备播放多媒体资源时的协调一 致性效果。 还通过 FC技术完成发起设备和目标设备之间的连接, 由于 FC技术具有点 对点快速连接的特性, 进一步保证了多台电子设备协作播放多媒体资源时的协调一致性。 需要说明的是: 上述实施例提供的协作播放装置在协作播放多媒体资源时, 仅以上述 各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的 功能模块完成, 即将装置的内部结构划分成不同的功能模块, 以完成以上描述的全部或者 部分功能。 另外, 上述实施例提供的协作播放装置与协作播放方法实施例属于同一构思, 其实现过程详见方法实施例, 这里不再赘述。 请参考图 10,其是根据一示例性实施例示出的发起设备的结构方框图。该发起设备用 于实施上述实施例中提供协作播放方法。本公开实施例中的发起设备可以包括一个或多个 如下组成部分: 用于执行计算机程序指令以完成各种流程和方法的处理器, 用于信息和存 储程序指令随机接入存储器 (RAM) 和只读存储器 (ROM) , 用于存储数据和信息的存 储器, I/O设备, 界面, 天线等。 具体来讲: In summary, the cooperative playing system provided by the embodiment of the present disclosure establishes the success of the predetermined connection as the target trigger signal by the initiating device and the target device, and each determines the time of triggering the playing of the multimedia resource according to the success of the predetermined connection. , thereby cooperating to complete the playing of the multimedia resources; solving the problem of high learning cost due to ensuring the consistency of the plurality of electronic devices when playing the multimedia resources; achieving the need to establish the reservation only in the ready-to-play state of the multimedia resources By connecting, you can ensure the consistency of multiple electronic devices when playing multimedia resources. The FC technology is also used to complete the connection between the initiating device and the target device. Because the FC technology has the characteristics of point-to-point fast connection, the coordination and consistency of multiple electronic devices cooperatively playing multimedia resources are further ensured. It should be noted that, when the cooperative playback device provided by the foregoing embodiment cooperates to play the multimedia resource, only the division of each functional module is illustrated. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the cooperative playback apparatus provided by the foregoing embodiment is the same concept as the cooperative play method embodiment. The implementation process is detailed in the method embodiment, and details are not described herein again. Please refer to FIG. 10, which is a structural block diagram of an initiating device according to an exemplary embodiment. The initiating device is configured to implement the cooperative playing method in the foregoing embodiment. An initiating device in an embodiment of the present disclosure may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods, for information and storage program instructions, random access memory (RAM), and Read-only memory (ROM), memory for storing data and information, I/O devices, interfaces, antennas, etc. Specifically:
发起设备 1000可以包括 RF (Radio Frequency, 射频) 电路 1010、 存储器 1020、 输 入单元 1030、 显示单元 1040、 传感器 1050、 音频电路 1060、 WiFi(wireless fidelity, 无线 保真)模块 1070、 处理器 10100、 电源 1082、 摄像头 1090等部件。 本领域技术人员可以理 解, 图 10中示出的发起设备结构并不构成对发起设备的限定, 可以包括比图示更多或更 少的部件, 或者组合某些部件, 或者不同的部件布置。  The initiating device 1000 may include an RF (Radio Frequency) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a WiFi (Wireless Fidelity) module 1070, a processor 10100, and a power supply. 1082, camera 1090 and other components. Those skilled in the art will appreciate that the initiating device structure illustrated in Figure 10 does not constitute a limitation to the initiating device, may include more or fewer components than illustrated, or may combine certain components, or different component arrangements.
下面结合图 10对发起设备 1000的各个构成部件进行具体的介绍:  The components of the initiating device 1000 are specifically described below with reference to FIG. 10:
RF电路 1010可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的 下行信息接收后, 给处理器 1080处理; 另外, 将设计上行的数据发送给基站。 通常, RF 电路包括但不限于天线、至少一个放大器、收发信机、耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器) 、 双工器等。 此外, RF电路 1010还可以通过无线通信与网络和其他设备 通信。 所述无线通信可以使用任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯系统)、 GPRS(General Packet Radio Service, 通用分 组无线服务)、 CDMA(Code Division Multiple Access,码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址;)、 LTE(Long Term Evolution,长期演进;)、 电子邮件、 SMS(Short Messaging Service, 短消息服务)等。  The RF circuit 1010 can be used for receiving and transmitting signals during and after receiving or transmitting information, and in particular, receiving downlink information of the base station and processing it to the processor 1080; in addition, transmitting the designed uplink data to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 1010 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access;), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器 1020可用于存储软件程序以及模块,处理器 1080通过运行存储在存储器 1020 的软件程序以及模块,从而执行发起设备 1000的各种功能应用以及数据处理。存储器 1020 可主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能 所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据发起 设备 1000的使用所创建的数据 (比如音频数据、 电话本等)等。 此外, 存储器 1020可以 包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪 存器件、 或其他易失性固态存储器件。  The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the initiating device 1000 by running software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the device 1000 (such as audio data, phone book, etc.) is initiated. In addition, memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元 1030可用于接收输入的数字或字符信息, 以及产生与发起设备 1000的用户 设置以及功能控制有关的键信号输入。具体地, 输入单元 1030可包括触控面板 1031以及 其他输入设备 1032。 触控面板 1031, 也称为触摸屏, 可收集用户在其上或附近的触摸操 作 (比如用户使用手指、 触笔等任何适合的物体或附件在触控面板 1031 上或在触控面板 1031附近的操作), 并根据预先设定的程式驱动相应的连接装置。可选的, 触控面板 1031 可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上接 收触摸信息, 并将它转换成触点坐标, 再送给处理器 1080, 并能接收处理器 1080发来的 命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多种类型实现 触控面板 1031。除了触控面板 1031, 输入单元 1030还可以包括其他输入设备 1032。具体 地, 其他输入设备 1032可以包括但不限于物理键盘、 功能键 (比如音量控制按键、 开关 按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。 The input unit 1030 can be configured to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the initiating device 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, And detecting a signal brought by the touch operation to transmit the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, sends it to the processor 1080, and can receive the processor 1080 Send the order and execute it. In addition, the touch panel 1031 can be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元 1040可用于显示由用户输入的信息或提供给用户的信息以及发起设备 1000 的各种菜单。 显示单元 1040可包括显示面板 1041, 可选的, 可以采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置 显示面板 1041。 进一步的, 触控面板 1031可覆盖显示面板 1041, 当触控面板 1031检测 到在其上或附近的触摸操作后, 传送给处理器 1080 以确定触摸事件的类型, 随后处理器 1080根据触摸事件的类型在显示面板 1041上提供相应的视觉输出。虽然在图 10中,触控 面板 1031与显示面板 1041是作为两个独立的部件来实现发起设备 1000的输入和输入功 能,但是在某些实施例中,可以将触控面板 1031与显示面板 1041集成而实现发起设备 1000 的输入和输出功能。  The display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the initiating device 1000. The display unit 1040 may include a display panel 1041. Alternatively, the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch panel 1031 can cover the display panel 1041. After the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041. Although in FIG. 10, the touch panel 1031 and the display panel 1041 are implemented as two independent components to implement the input and input functions of the initiating device 1000, in some embodiments, the touch panel 1031 and the display panel 1041 may be The input and output functions of the initiating device 1000 are implemented by integration.
发起设备 1000还可包括至少一种传感器 1050, 比如陀螺仪传感器、 磁感应传感器、 光传感器、 运动传感器以及其他传感器。 具体地, 光传感器可包括环境光传感器及接近传 感器, 其中, 环境光传感器可根据环境光线的明暗来调节显示面板 1041 的亮度, 接近传 感器可在发起设备 1000移动到耳边时, 关闭显示面板 1041和 /或背光。 作为运动传感器 的一种, 加速度传感器可检测各个方向上 (一般为三轴)加速度的大小, 静止时可检测出 重力的大小及方向, 可用于识别发起设备姿态的应用 (比如横竖屏切换、 相关游戏、 磁力 计姿态校准) 、 振动识别相关功能 (比如计步器、 敲击) 等; 至于发起设备 1000 还可配 置的气压计、 湿度计、 温度计、 红外线传感器等其他传感器, 在此不再赘述。  The initiating device 1000 can also include at least one type of sensor 1050, such as a gyro sensor, a magnetic inductive sensor, a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 when the initiating device 1000 moves to the ear. And / or backlight. As a kind of motion sensor, the acceleration sensor can detect the acceleration of each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the application that initiates the attitude of the device (such as horizontal and vertical screen switching, correlation). Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; other sensors such as barometer, hygrometer, thermometer, infrared sensor, etc. that can also be configured for the initiating device 1000, will not be described here. .
音频电路 1060、 扬声器 1061, 传声器 1062可提供用户与发起设备 1000之间的音频 接口。 音频电路 1060可将接收到的音频数据转换后的电信号, 传输到扬声器 1061, 由扬 声器 1061转换为声音信号输出;另一方面,传声器 1062将收集的声音信号转换为电信号, 由音频电路 1060接收后转换为音频数据, 再将音频数据输出处理器 1080处理后, 经 RF 电路 1010以发送给比如另一发起设备,或者将音频数据输出至存储器 1020以便进一步处 理。  Audio circuit 1060, speaker 1061, and microphone 1062 provide an audio interface between the user and the originating device 1000. The audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, transmitted to the, for example, another initiating device via the RF circuit 1010, or outputted to the memory 1020 for further processing.
WiFi属于短距离无线传输技术, 发起设备 1000通过 WiFi模块 1070可以帮助用户收 发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访问。 虽然 图 10示出了 WiFi模块 1070,但是可以理解的是,其并不属于发起设备 1000的必须构成, 完全可以根据需要在不改变发明的本质的范围内而省略。  WiFi is a short-range wireless transmission technology, and the initiating device 1000 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1070, which provides users with wireless broadband Internet access. Although FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the initiating device 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器 1080是发起设备 1000的控制中心,利用各种接口和线路连接整个发起设备的 各个部分, 通过运行或执行存储在存储器 1020内的软件程序和 /或模块, 以及调用存储在 存储器 1020内的数据, 执行发起设备 1000的各种功能和处理数据, 从而对发起设备进行 整体监控。 可选的, 处理器 1080可包括一个或多个处理单元; 优选的, 处理器 1080可集 成应用处理器和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用 程序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以 不集成到处理器 1080中。 The processor 1080 is the control center of the initiating device 1000, which connects various parts of the entire initiating device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and calling the storage in The data in the memory 1020 performs various functions and processing data of the initiating device 1000, thereby performing overall monitoring of the initiating device. Optionally, the processor 1080 may include one or more processing units. Preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
发起设备 1000还包括给各个部件供电的电源 1082 (比如电池) , 优选的, 电源可以 通过电源管理系统与处理器 1082逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以及功耗管理等功能。  The initiating device 1000 further includes a power source 1082 (such as a battery) for supplying power to the various components. Preferably, the power source can be logically connected to the processor 1082 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
摄像头 1090—般由镜头、 图像传感器、 接口、 数字信号处理器、 CPU、 显示屏幕等 组成。 其中, 镜头固定在图像传感器的上方, 可以通过手动调节镜头来改变聚焦; 图像传 感器相当于传统相机的"胶卷", 是摄像头采集图像的心脏; 接口用于把摄像头利用排线、 板对板连接器、 弹簧式连接方式与发起设备主板连接, 将采集的图像发送给所述存储器 The camera 1090 is generally composed of a lens, an image sensor, an interface, a digital signal processor, a CPU, a display screen, and the like. Wherein, the lens is fixed above the image sensor, and the focus can be changed by manually adjusting the lens; the image sensor is equivalent to the "film" of the conventional camera, and is the heart of the image captured by the camera; the interface is used to connect the camera with the cable and the board to the board And a spring-type connection manner is connected to the initiating device main board, and the collected image is sent to the memory
1020; 数字信号处理器通过数学运算对采集的图像进行处理, 将采集的模拟图像转换为数 字图像并通过接口发送给存储器 1020。 1020; The digital signal processor processes the acquired image by mathematical operations, converts the acquired analog image into a digital image, and transmits it to the memory 1020 through an interface.
尽管未示出, 发起设备 1000还可以包括蓝牙模块等, 在此不再赘述。  Although not shown, the initiating device 1000 may further include a Bluetooth module or the like, and details are not described herein again.
发起设备 1000除了包括一个或者多个处理器 1080, 还包括有存储器, 以及一个或者 多个模块, 其中一个或者多个模块存储于存储器中, 并被配置成由一个或者多个处理器执 行。 上述一个或者多个模块具有如下功能:  Initiating device 1000 includes, in addition to one or more processors 1080, a memory, and one or more modules, one or more of which are stored in memory and configured to be executed by one or more processors. One or more of the above modules have the following functions:
与目标设备建立预定连接;  Establishing a predetermined connection with the target device;
通过所述预定连接向所述目标设备提供目标触发信号,所述目标触发信号用于触发所 述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放时刻 对应;  And providing, by the predetermined connection, a target triggering signal to the target device, where the target triggering signal is used to trigger the target device to play the multimedia resource on the target device at a specified time, where the specified time corresponds to a local playing time;
在所述本地播放时刻播放所述发起设备上的多媒体资源。  Playing the multimedia resource on the initiating device at the local playing moment.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
通过所述预定连接向所述目标设备发送所述目标触发信号,所述目标触发信号携带有 所述指定时刻。  And transmitting, by the predetermined connection, the target trigger signal to the target device, where the target trigger signal carries the specified time.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
在所述发起设备上的多媒体资源的准备播放状态下接收本地触发信号,所述本地触发 信号用于指示所述发起设备在本地播放时刻播放所述发起设备上的多媒体资源;  Receiving a local triggering signal in a ready-to-play state of the multimedia resource on the initiating device, where the local triggering signal is used to indicate that the initiating device plays the multimedia resource on the initiating device at a local playing time;
根据所述本地接收模块接收到的本地触发信号通过所述预定连接向所述目标设备发 送所述目标触发信号。  And transmitting, by the local trigger signal received by the local receiving module, the target trigger signal to the target device through the predetermined connection.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
通过所述预定连接向所述目标设备发送控制指令,所述控制指令用于指示所述目标设 备进入所述目标设备上的多媒体资源播放的准备播放状态。  And transmitting, by the predetermined connection, a control instruction to the target device, where the control instruction is used to indicate that the target device enters a ready playing state of playing multimedia resources on the target device.
所述一个或者多个模块还具有如下功能: 将所述预定连接的成功建立作为所述目标触发信号,并根据所述预定连接的成功建立 确定所述本地播放时刻。 The one or more modules also have the following functions: The success of the predetermined connection is established as the target trigger signal, and the local play time is determined according to the successful establishment of the predetermined connection.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
在所述发起设备上的多媒体资源的准备播放状态下与目标设备建立预定连接。  And establishing a predetermined connection with the target device in a ready playing state of the multimedia resource on the initiating device.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
搜索所述目标设备;  Searching for the target device;
向所述搜索到的目标设备发送连接请求,所述连接请求用于建立所述发起设备和所述 目标设备之间的所述预定连接;  Sending a connection request to the searched target device, the connection request for establishing the predetermined connection between the initiating device and the target device;
接收所述目标设备发送的对应于所述连接请求的响应信息,所述响应信息用于确定所 述预定连接成功建立。  Receiving response information corresponding to the connection request sent by the target device, the response information is used to determine that the predetermined connection is successfully established.
综上所述, 本公开实施例提供的发起设备, 通过预定连接向目标设备提供用于触发目 标设备在与本地播放时刻对应的指定时刻播放目标设备上的多媒体资源的目标触发信号, 本地播放时刻为发起设备播放发起设备上的多媒体资源的时刻;从而无需学习即可完成两 台设备上多媒体资源的协作播放,解决了由于要保证多台电子设备播放多媒体资源时的协 调一致性而导致的学习成本较高的问题;达到了保证多台电子设备播放多媒体资源时的协 调一致性效果。 请参考图 10,其是根据一示例性实施例示出的目标设备的结构方框图。该目标设备用 于实施上述实施例中提供协作播放方法。本公开实施例中的目标设备可以包括一个或多个 如下组成部分: 用于执行计算机程序指令以完成各种流程和方法的处理器, 用于信息和存 储程序指令随机接入存储器 (RAM) 和只读存储器 (ROM) , 用于存储数据和信息的存 储器, I/O设备, 界面, 天线等。 具体来讲:  In summary, the initiating device provided by the embodiment of the present disclosure provides a target trigger signal for triggering the target device to play the multimedia resource on the target device at a specified time corresponding to the local playing time through the predetermined connection, and the local playing time. The time for initiating the device to play the multimedia resource on the device; thus, the cooperative play of the multimedia resources on the two devices can be completed without learning, and the learning caused by ensuring the coordination consistency of the multimedia devices when playing the multimedia resources is solved. The problem of higher cost; achieving the effect of ensuring the consistency of multiple electronic devices when playing multimedia resources. Please refer to FIG. 10, which is a structural block diagram of a target device according to an exemplary embodiment. The target device is used to implement the cooperative play method provided in the above embodiment. A target device in an embodiment of the present disclosure may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods, for information and storage program instructions, random access memory (RAM), and Read-only memory (ROM), memory for storing data and information, I/O devices, interfaces, antennas, etc. Specifically:
目标设备 1000可以包括 RF (Radio Frequency, 射频) 电路 1010、 存储器 1020、 输 入单元 1030、 显示单元 1040、 传感器 1050、 音频电路 1060、 WiFi(wireless fidelity, 无线 保真)模块 1070、 处理器 1080、 电源 1082、 摄像头 1090等部件。 本领域技术人员可以理 解, 图 10中示出的目标设备结构并不构成对目标设备的限定, 可以包括比图示更多或更 少的部件, 或者组合某些部件, 或者不同的部件布置。  The target device 1000 may include an RF (Radio Frequency) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a WiFi (Wireless Fidelity) module 1070, a processor 1080, and a power supply. 1082, camera 1090 and other components. It will be understood by those skilled in the art that the target device structure shown in Fig. 10 does not constitute a limitation of the target device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面结合图 10对目标设备 1000的各个构成部件进行具体的介绍:  The components of the target device 1000 will be specifically described below with reference to FIG. 10:
RF电路 1010可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的 下行信息接收后, 给处理器 1080处理; 另外, 将设计上行的数据发送给基站。 通常, RF 电路包括但不限于天线、至少一个放大器、收发信机、耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器) 、 双工器等。 此外, RF电路 1010还可以通过无线通信与网络和其他设备 通信。 所述无线通信可以使用任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯系统)、 GPRS(General Packet Radio Service, 通用分 组无线服务)、 CDMA(Code Division Multiple Access,码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址;)、 LTE(Long Term Evolution,长期演进;)、 电子邮件、 SMS(Short Messaging Service, 短消息服务)等。 The RF circuit 1010 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 1080. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 1010 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , code division multiple access), WCDMA (Wideband Code Division Multiple Access; Wideband Code Division Multiple Access;), LTE (Long Term Evolution;), e-mail, SMS (Short Messaging Service, Short Message Service), etc.
存储器 1020可用于存储软件程序以及模块,处理器 1080通过运行存储在存储器 1020 的软件程序以及模块,从而执行目标设备 1000的各种功能应用以及数据处理。存储器 1020 可主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能 所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据目标 设备 1000的使用所创建的数据 (比如音频数据、 电话本等)等。 此外, 存储器 1020可以 包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪 存器件、 或其他易失性固态存储器件。  The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the target device 1000 by running software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the target device 1000 (such as audio data, phone book, etc.), and the like. In addition, memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元 1030可用于接收输入的数字或字符信息, 以及产生与目标设备 1000的用户 设置以及功能控制有关的键信号输入。具体地, 输入单元 1030可包括触控面板 1031以及 其他输入设备 1032。 触控面板 1031, 也称为触摸屏, 可收集用户在其上或附近的触摸操 作 (比如用户使用手指、 触笔等任何适合的物体或附件在触控面板 1031 上或在触控面板 1031附近的操作), 并根据预先设定的程式驱动相应的连接装置。可选的, 触控面板 1031 可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上接 收触摸信息, 并将它转换成触点坐标, 再送给处理器 1080, 并能接收处理器 1080发来的 命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多种类型实现 触控面板 1031。除了触控面板 1031, 输入单元 1030还可以包括其他输入设备 1032。具体 地, 其他输入设备 1032可以包括但不限于物理键盘、 功能键 (比如音量控制按键、 开关 按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。  The input unit 1030 can be configured to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the target device 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information The processor 1080 is provided and can receive commands from the processor 1080 and execute them. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元 1040可用于显示由用户输入的信息或提供给用户的信息以及目标设备 1000 的各种菜单。 显示单元 1040可包括显示面板 1041, 可选的, 可以采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置 显示面板 1041。 进一步的, 触控面板 1031可覆盖显示面板 1041, 当触控面板 1031检测 到在其上或附近的触摸操作后, 传送给处理器 1080 以确定触摸事件的类型, 随后处理器 1080根据触摸事件的类型在显示面板 1041上提供相应的视觉输出。虽然在图 10中,触控 面板 1031与显示面板 1041是作为两个独立的部件来实现目标设备 1000的输入和输入功 能,但是在某些实施例中,可以将触控面板 1031与显示面板 1041集成而实现目标设备 1000 的输入和输出功能。  The display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the target device 1000. The display unit 1040 may include a display panel 1041. Alternatively, the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch panel 1031 can cover the display panel 1041. After the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041. Although in FIG. 10, the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the target device 1000, in some embodiments, the touch panel 1031 and the display panel 1041 may be The input and output functions of the target device 1000 are integrated.
目标设备 1000还可包括至少一种传感器 1050, 比如陀螺仪传感器、 磁感应传感器、 光传感器、 运动传感器以及其他传感器。 具体地, 光传感器可包括环境光传感器及接近传 感器, 其中, 环境光传感器可根据环境光线的明暗来调节显示面板 1041 的亮度, 接近传 感器可在目标设备 1000移动到耳边时, 关闭显示面板 1041和 /或背光。 作为运动传感器 的一种, 加速度传感器可检测各个方向上 (一般为三轴)加速度的大小, 静止时可检测出 重力的大小及方向, 可用于识别目标设备姿态的应用 (比如横竖屏切换、 相关游戏、 磁力 计姿态校准) 、 振动识别相关功能 (比如计步器、 敲击) 等; 至于目标设备 1000 还可配 置的气压计、 湿度计、 温度计、 红外线传感器等其他传感器, 在此不再赘述。 Target device 1000 may also include at least one type of sensor 1050, such as a gyro sensor, a magnetic induction sensor, a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 when the target device 1000 moves to the ear. And / or backlight. As a kind of motion sensor, the acceleration sensor can detect the acceleration of each direction (usually three axes), and can detect when it is stationary. The size and direction of gravity, can be used to identify the target device's attitude (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the target device 1000 can also Other sensors such as a barometer, a hygrometer, a thermometer, an infrared sensor, etc., are not described here.
音频电路 1060、 扬声器 1061, 传声器 1062可提供用户与目标设备 1000之间的音频 接口。 音频电路 1060可将接收到的音频数据转换后的电信号, 传输到扬声器 1061, 由扬 声器 1061转换为声音信号输出;另一方面,传声器 1062将收集的声音信号转换为电信号, 由音频电路 1060接收后转换为音频数据, 再将音频数据输出处理器 1080处理后, 经 RF 电路 1010以发送给比如另一目标设备,或者将音频数据输出至存储器 1020以便进一步处 理。  An audio circuit 1060, a speaker 1061, and a microphone 1062 provide an audio interface between the user and the target device 1000. The audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, sent to the other target device via the RF circuit 1010, or outputted to the memory 1020 for further processing.
WiFi属于短距离无线传输技术, 目标设备 1000通过 WiFi模块 1070可以帮助用户收 发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访问。 虽然 图 10示出了 WiFi模块 1070,但是可以理解的是,其并不属于目标设备 1000的必须构成, 完全可以根据需要在不改变发明的本质的范围内而省略。  WiFi is a short-range wireless transmission technology, and the target device 1000 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1070, which provides users with wireless broadband Internet access. Although FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the target device 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器 1080是目标设备 1000的控制中心,利用各种接口和线路连接整个设备的各个 部分, 通过运行或执行存储在存储器 1020内的软件程序和 /或模块, 以及调用存储在存储 器 1020内的数据, 执行目标设备 1000的各种功能和处理数据, 从而对目标设备进行整体 监控。 可选的, 处理器 1080可包括一个或多个处理单元; 优选的, 处理器 1080可集成应 用处理器和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程序 等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集 成到处理器 1080中。  Processor 1080 is the control center of target device 1000, connecting various portions of the entire device using various interfaces and lines, by running or executing software programs and/or modules stored in memory 1020, and recalling data stored in memory 1020. The various functions and processing data of the target device 1000 are executed to perform overall monitoring of the target device. Optionally, the processor 1080 may include one or more processing units. Preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may not be integrated into the processor 1080.
目标设备 1000还包括给各个部件供电的电源 1082 (比如电池) , 优选的, 电源可以 通过电源管理系统与处理器 1082逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以及功耗管理等功能。  The target device 1000 further includes a power source 1082 (such as a battery) for supplying power to the respective components. Preferably, the power source can be logically connected to the processor 1082 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
摄像头 1090—般由镜头、 图像传感器、 接口、 数字信号处理器、 CPU、 显示屏幕等 组成。 其中, 镜头固定在图像传感器的上方, 可以通过手动调节镜头来改变聚焦; 图像传 感器相当于传统相机的"胶卷", 是摄像头采集图像的心脏; 接口用于把摄像头利用排线、 板对板连接器、 弹簧式连接方式与目标设备主板连接, 将采集的图像发送给所述存储器 1020; 数字信号处理器通过数学运算对采集的图像进行处理, 将采集的模拟图像转换为数 字图像并通过接口发送给存储器 1020。  The camera 1090 is generally composed of a lens, an image sensor, an interface, a digital signal processor, a CPU, a display screen, and the like. Wherein, the lens is fixed above the image sensor, and the focus can be changed by manually adjusting the lens; the image sensor is equivalent to the "film" of the conventional camera, and is the heart of the image captured by the camera; the interface is used to connect the camera with the cable and the board to the board The spring-connected connection is connected to the target device motherboard, and the collected image is sent to the memory 1020; the digital signal processor processes the acquired image through mathematical operations, converts the collected analog image into a digital image, and sends the image through the interface. The memory 1020 is given.
尽管未示出, 目标设备 1000还可以包括蓝牙模块等, 在此不再赘述。  Although not shown, the target device 1000 may further include a Bluetooth module or the like, and details are not described herein again.
目标设备 1000除了包括一个或者多个处理器 1080, 还包括有存储器, 以及一个或者 多个模块, 其中一个或者多个模块存储于存储器中, 并被配置成由一个或者多个处理器执 行。 上述一个或者多个模块具有如下功能:  Target device 1000 includes, in addition to one or more processors 1080, memory, and one or more modules, one or more of which are stored in memory and configured to be executed by one or more processors. One or more of the above modules have the following functions:
与发起设备建立预定连接;  Establishing a predetermined connection with the initiating device;
获取所述发起设备通过所述预定连接提供的目标触发信号,所述目标触发信号用于触 发所述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放 时刻对应, 所述本地播放时刻为所述发起设备播放所述发起设备上的多媒体资源的时刻; 在所述指定时刻播放所述目标设备上的多媒体资源。 Obtaining a target trigger signal provided by the initiating device through the predetermined connection, where the target trigger signal is used to touch Sending, by the target device, the multimedia resource on the target device at a specified time, where the specified time corresponds to a local play time, where the local play time is a time at which the initiating device plays the multimedia resource on the initiating device; Playing the multimedia resource on the target device at the specified time.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
接收所述发起设备通过所述预定连接发送的所述目标触发信号,所述目标触发信号携 带有所述指定时刻。  Receiving, by the originating device, the target trigger signal sent by the predetermined connection, the target trigger signal carries the specified time.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
接收所述发起设备通过所述预定连接发送的控制指令;  Receiving a control instruction sent by the initiating device through the predetermined connection;
根据所述控制指令进入所述目标设备上的多媒体资源播放的准备播放状态。  And according to the control instruction, entering a ready playing state of playing multimedia resources on the target device.
所述一个或者多个模块还具有如下功能- 将所述预定连接的成功建立作为所述目标触发信号,并根据预定连接的成功建立确定 指定时刻。  The one or more modules also have the function of establishing the success of the predetermined connection as the target trigger signal and determining the designated time based on the successful establishment of the predetermined connection.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
在所述目标设备上的多媒体资源的准备播放状态下与发起设备建立预定连接。  Establishing a predetermined connection with the initiating device in a ready to play state of the multimedia resource on the target device.
所述一个或者多个模块还具有如下功能:  The one or more modules also have the following functions:
接收所述发起设备发送的连接请求,所述连接请求用于建立所述发起设备和所述目标 设备之间的所述预定连接;  Receiving a connection request sent by the initiating device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
向所述发起设备发送对应于所述连接请求的响应信息,所述响应信息用于确定所述预 定连接成功建立。  Sending response information corresponding to the connection request to the initiating device, the response information being used to determine that the predetermined connection is successfully established.
综上所述, 本公开实施例提供的目标设备, 通过与发起设备建立预定连接, 获取发起 设备通过预定连接提供的用于触发目标设备在与本地播放时刻对应的指定时刻播放目标 设备上的多媒体资源的目标触发信号,并根据目标触发信号在指定时刻播放目标设备上的 多媒体资源, 其中, 本地播放时刻为发起设备播放发起设备上的多媒体资源的时刻; 从而 无需学习即可完成两台设备上多媒体资源的协作播放,解决了由于要保证多台电子设备播 放多媒体资源时的协调一致性而导致的学习成本较高的问题;达到了保证多台电子设备播 放多媒体资源时的协调一致性效果。 上述本公开实施例序号仅仅为了描述, 不代表实施例的优劣。  In summary, the target device provided by the embodiment of the present disclosure acquires a multimedia connection on the target device by using the predetermined connection provided by the initiating device to trigger the target device to play at the specified time corresponding to the local playing time, by establishing a predetermined connection with the initiating device. The target trigger signal of the resource, and the multimedia resource on the target device is played at the specified time according to the target trigger signal, where the local play time is the time at which the initiating device plays the multimedia resource on the initiating device; thus, the two devices can be completed without learning. The cooperative play of multimedia resources solves the problem of high learning cost due to the coordination and consistency of multiple electronic devices when playing multimedia resources; and achieves the effect of ensuring the consistency of multiple electronic devices when playing multimedia resources. The above-mentioned serial numbers of the embodiments of the present disclosure are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的部分实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above are only some of the embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the scope of the present invention. within.

Claims

权利要求 Rights request
1、 一种协作播放方法, 其特征在于, 用于发起设备中, 所述方法包括: 1. A collaborative playback method, characterized in that, used in the initiating device, the method includes:
与目标设备建立预定连接; Establish a scheduled connection with the target device;
通过所述预定连接向所述目标设备提供目标触发信号,所述目标触发信号用于触发所 述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放时刻 对应; Provide a target trigger signal to the target device through the predetermined connection, the target trigger signal is used to trigger the target device to play the multimedia resources on the target device at a designated time, and the designated time corresponds to the local playback time;
在所述本地播放时刻播放所述发起设备上的多媒体资源。 Play multimedia resources on the initiating device at the local play time.
2、 根据权利要求 1所述的方法, 其特征在于, 所述通过所述预定连接向所述目标设 备提供目标触发信号, 包括: 2. The method according to claim 1, characterized in that: providing a target trigger signal to the target device through the predetermined connection includes:
通过所述预定连接向所述目标设备发送所述目标触发信号,所述目标触发信号携带有 所述指定时刻。 The target trigger signal is sent to the target device through the predetermined connection, and the target trigger signal carries the designated time.
3、 根据权利要求 2所述的方法, 其特征在于, 所述通过所述预定连接向所述目标设 备发送所述目标触发信号, 包括: 3. The method of claim 2, wherein sending the target trigger signal to the target device through the predetermined connection includes:
在所述发起设备上的多媒体资源的准备播放状态下接收本地触发信号,所述本地触发 信号用于指示所述发起设备在本地播放时刻播放所述发起设备上的多媒体资源; Receive a local trigger signal when the multimedia resource on the initiating device is ready to play, and the local trigger signal is used to instruct the initiating device to play the multimedia resource on the initiating device at the local play time;
根据所述本地触发信号通过所述预定连接向所述目标设备发送所述目标触发信号。 The target trigger signal is sent to the target device through the predetermined connection according to the local trigger signal.
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 4. The method according to claim 3, characterized in that, the method further includes:
通过所述预定连接向所述目标设备发送控制指令,所述控制指令用于指示所述目标设 备进入所述目标设备上的多媒体资源播放的准备播放状态。 A control instruction is sent to the target device through the predetermined connection, and the control instruction is used to instruct the target device to enter a preparation state for playing multimedia resources on the target device.
5、 根据权利要求 1所述的方法, 其特征在于, 所述通过所述预定连接向目标设备提 供目标触发信号, 包括- 将所述预定连接的成功建立作为所述目标触发信号,并根据所述预定连接的成功建立 确定所述本地播放时刻。 5. The method according to claim 1, characterized in that: providing a target trigger signal to the target device through the predetermined connection includes - using the successful establishment of the predetermined connection as the target trigger signal, and based on the The successful establishment of the predetermined connection determines the local playback time.
6、根据权利要求 5所述的方法, 其特征在于, 所述与目标设备建立预定连接, 包括: 在所述发起设备上的多媒体资源的准备播放状态下与目标设备建立预定连接。 6. The method according to claim 5, characterized in that: establishing a predetermined connection with the target device includes: establishing a predetermined connection with the target device when the multimedia resources on the initiating device are in a ready-to-play state.
7、 根据权利要求 1至 6任一所述的方法, 其特征在于, 所述与目标设备建立预定连 接, 包括: 7. The method according to any one of claims 1 to 6, characterized in that establishing a predetermined connection with the target device includes:
搜索所述目标设备; Search for said target device;
向所述搜索到的目标设备发送连接请求,所述连接请求用于建立所述发起设备和所述 目标设备之间的所述预定连接; Send a connection request to the searched target device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
接收所述目标设备发送的对应于所述连接请求的响应信息,所述响应信息用于确定所 述预定连接成功建立。 Receive response information corresponding to the connection request sent by the target device, and the response information is used to determine that the predetermined connection is successfully established.
8、 一种协作播放方法, 其特征在于, 用于目标设备中, 所述方法包括: 8. A collaborative playback method, characterized in that it is used in a target device, and the method includes:
与发起设备建立预定连接; Establish a scheduled connection with the initiating device;
获取所述发起设备通过所述预定连接提供的目标触发信号,所述目标触发信号用于触 发所述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放 时刻对应, 所述本地播放时刻为所述发起设备播放所述发起设备上的多媒体资源的时刻; 在所述指定时刻播放所述目标设备上的多媒体资源。 Obtain the target trigger signal provided by the initiating device through the predetermined connection, and the target trigger signal is used to trigger Send the target device to play the multimedia resources on the target device at a designated time, the designated time corresponds to the local playback time, and the local playback time is the time when the initiating device plays the multimedia resources on the initiating device; Play multimedia resources on the target device at the specified moment.
9、 根据权利要求 8所述的方法, 其特征在于, 所述获取所述发起设备通过所述预定 连接提供的目标触发信号, 包括- 接收所述发起设备通过所述预定连接发送的所述目标触发信号,所述目标触发信号携 带有所述指定时刻。 9. The method of claim 8, wherein said obtaining a target trigger signal provided by the initiating device through the predetermined connection includes - receiving the target sent by the initiating device through the predetermined connection. A trigger signal, the target trigger signal carries the specified time.
10、 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 10. The method according to claim 9, characterized in that, the method further includes:
接收所述发起设备通过所述预定连接发送的控制指令; Receive control instructions sent by the initiating device through the predetermined connection;
根据所述控制指令进入所述目标设备上的多媒体资源播放的准备播放状态。 Enter a ready-to-play state for playing multimedia resources on the target device according to the control instruction.
11、根据权利要求 8所述的方法, 其特征在于, 所述获取所述发起设备通过所述预定 连接提供的目标触发信号, 包括: 11. The method according to claim 8, characterized in that: obtaining the target trigger signal provided by the initiating device through the predetermined connection includes:
将所述预定连接的成功建立作为所述目标触发信号,并根据预定连接的成功建立确定 指定时刻。 The successful establishment of the predetermined connection is used as the target trigger signal, and the designated time is determined based on the successful establishment of the predetermined connection.
12、 根据权利要求 11所述的方法, 其特征在于, 所述与发起设备建立预定连接, 包 括- 在所述目标设备上的多媒体资源的准备播放状态下与发起设备建立预定连接。 12. The method according to claim 11, wherein establishing a predetermined connection with the initiating device includes - establishing a predetermined connection with the initiating device when the multimedia resources on the target device are in a ready-to-play state.
13、 根据权利要求 8至 12任一所述的方法, 其特征在于, 所述与发起设备建立预定 连接, 包括: 13. The method according to any one of claims 8 to 12, characterized in that establishing a predetermined connection with the initiating device includes:
接收所述发起设备发送的连接请求,所述连接请求用于建立所述发起设备和所述目标 设备之间的所述预定连接; Receive a connection request sent by the initiating device, the connection request being used to establish the predetermined connection between the initiating device and the target device;
向所述发起设备发送对应于所述连接请求的响应信息,所述响应信息用于确定所述预 定连接成功建立。 Send response information corresponding to the connection request to the initiating device, where the response information is used to determine that the predetermined connection is successfully established.
14、 一种协作播放装置, 其特征在于, 所述装置包括: 14. A collaborative playback device, characterized in that the device includes:
第一建立模块, 用于与目标设备建立预定连接; The first establishment module is used to establish a predetermined connection with the target device;
提供模块,用于通过所述第一建立模块建立的预定连接向所述目标设备提供目标触发 信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上的多媒体 资源, 所述指定时刻与本地播放时刻对应; Providing a module for providing a target trigger signal to the target device through the predetermined connection established by the first establishment module, the target trigger signal being used to trigger the target device to play multimedia resources on the target device at a specified time. , the designated time corresponds to the local playback time;
第一播放模块, 用于在所述本地播放时刻播放所述发起设备上的多媒体资源。 The first playback module is used to play multimedia resources on the initiating device at the local playback moment.
15、 根据权利要求 14所述的装置, 其特征在于, 所述提供模块, 包括: 15. The device according to claim 14, characterized in that the providing module includes:
目标发送单元,用于通过所述预定连接向所述目标设备发送所述目标触发信号,所述 目标触发信号携带有所述指定时刻。 A target sending unit, configured to send the target trigger signal to the target device through the predetermined connection, where the target trigger signal carries the designated time.
16、 根据权利要求 15所述的装置, 其特征在于, 所述目标发送单元包括: 接收子单元,用于在所述发起设备上的多媒体资源的准备播放状态下接收本地触发信 号,所述本地触发信号用于指示所述发起设备在本地播放时刻播放所述发起设备上的多媒 体资源; 16. The device according to claim 15, characterized in that, the target sending unit includes: a receiving subunit, configured to receive a local trigger signal when the multimedia resource on the initiating device is in a ready-to-play state, and the local The trigger signal is used to instruct the initiating device to play the multimedia on the initiating device at the local playback moment. body resources;
发送子单元,用于根据所述接收子单元接收到的本地触发信号通过所述预定连接向所 述目标设备发送所述目标触发信号。 A sending subunit, configured to send the target trigger signal to the target device through the predetermined connection according to the local trigger signal received by the receiving subunit.
17、 根据权利要求 16所述的装置, 其特征在于, 所述装置还包括: 17. The device according to claim 16, characterized in that, the device further includes:
控制发送模块,用于通过所述预定连接向所述目标设备发送控制指令,所述控制指令 用于指示所述目标设备进入所述目标设备上的多媒体资源播放的准备播放状态。 A control sending module, configured to send a control instruction to the target device through the predetermined connection, where the control instruction is used to instruct the target device to enter a ready-to-play state for multimedia resource playback on the target device.
18、 根据权利要求 14所述的装置, 其特征在于, 所述提供模块, 包括: 18. The device according to claim 14, characterized in that the providing module includes:
本地确定单元,用于将所述预定连接的成功建立作为所述目标触发信号,并根据所述 预定连接的成功建立确定所述本地播放时刻。 A local determination unit, configured to use the successful establishment of the predetermined connection as the target trigger signal, and determine the local playback time according to the successful establishment of the predetermined connection.
19、 根据权利要求 18所述的装置, 其特征在于, 所述第一建立模块, 用于在所述发 起设备上的多媒体资源的准备播放状态下与目标设备建立预定连接。 19. The device according to claim 18, wherein the first establishment module is configured to establish a predetermined connection with the target device when the multimedia resources on the initiating device are in a ready-to-play state.
20、根据权利要求 14至 19任一所述的装置,其特征在于,所述第一建立模块,包括: 搜索单元, 用于搜索所述目标设备; 20. The device according to any one of claims 14 to 19, characterized in that the first establishment module includes: a search unit, used to search for the target device;
请求发送单元,用于向所述搜索到的目标设备发送连接请求,所述连接请求用于建立 所述发起设备和所述目标设备之间的所述预定连接; A request sending unit, configured to send a connection request to the searched target device, where the connection request is used to establish the predetermined connection between the initiating device and the target device;
响应接收单元,用于接收所述目标设备发送的对应于所述连接请求的响应信息,所述 响应信息用于确定所述预定连接成功建立。 A response receiving unit, configured to receive response information corresponding to the connection request sent by the target device, where the response information is used to determine that the predetermined connection is successfully established.
21、 一种协作播放装置, 其特征在于, 所述装置包括: 21. A collaborative playback device, characterized in that the device includes:
第二建立模块, 用于与发起设备建立预定连接; The second establishment module is used to establish a scheduled connection with the initiating device;
获取模块,用于获取所述发起设备通过所述第二建立模块建立的预定连接提供的目标 触发信号,所述目标触发信号用于触发所述目标设备在指定时刻播放所述目标设备上的多 媒体资源,所述指定时刻与本地播放时刻对应,所述本地播放时刻为所述发起设备播放所 述发起设备上的多媒体资源的时刻; An acquisition module, configured to acquire a target trigger signal provided by the initiating device through a predetermined connection established by the second establishment module. The target trigger signal is used to trigger the target device to play multimedia on the target device at a specified moment. Resources, the designated time corresponds to the local playback time, and the local playback time is the time when the initiating device plays the multimedia resources on the initiating device;
第二播放模块,用于根据所述获取模块获取到的目标触发信号在所述指定时刻播放所 述目标设备上的多媒体资源。 The second playback module is configured to play the multimedia resources on the target device at the specified time according to the target trigger signal obtained by the acquisition module.
22、 根据权利要求 21所述的装置, 其特征在于, 所述获取模块, 包括: 22. The device according to claim 21, characterized in that the acquisition module includes:
目标接收单元, 用于接收所述发起设备通过所述预定连接发送的所述目标触发信号, 所述目标触发信号携带有所述指定时刻。 A target receiving unit, configured to receive the target trigger signal sent by the initiating device through the predetermined connection, where the target trigger signal carries the designated time.
23、 根据权利要求 22所述的装置, 其特征在于, 所述装置还包括: 23. The device according to claim 22, characterized in that, the device further includes:
控制接收模块, 用于接收所述发起设备通过所述预定连接发送的控制指令; 准备模块,用于根据所述控制接收模块接收到的控制指令进入所述目标设备上的多媒 体资源播放的准备播放状态。 A control receiving module, configured to receive a control instruction sent by the initiating device through the predetermined connection; a preparation module, configured to enter the preparatory playback of the multimedia resource playback on the target device according to the control instruction received by the control receiving module. state.
24、 根据权利要求 21所述的装置, 其特征在于, 所述获取模块, 包括: 24. The device according to claim 21, characterized in that the acquisition module includes:
指定确定单元,用于将所述预定连接的成功建立作为所述目标触发信号,并根据预定 连接的成功建立确定指定时刻。 A designated determining unit is configured to use the successful establishment of the predetermined connection as the target trigger signal, and determine the designated time according to the successful establishment of the predetermined connection.
25、 根据权利要求 24所述的装置, 其特征在于, 所述第二建立模块, 用于在所述目 标设备上的多媒体资源的准备播放状态下与发起设备建立预定连接。 25. The apparatus according to claim 24, wherein the second establishment module is configured to establish a predetermined connection with the initiating device when the multimedia resources on the target device are in a ready-to-play state.
26、根据权利要求 21至 25任一所述的装置,其特征在于,所述第二建立模块,包括: 请求接收单元,用于接收所述发起设备发送的连接请求,所述连接请求用于建立所述 发起设备和所述目标设备之间的所述预定连接; 26. The device according to any one of claims 21 to 25, characterized in that the second establishment module includes: a request receiving unit, configured to receive a connection request sent by the initiating device, and the connection request is used to establishing the predetermined connection between the initiating device and the target device;
响应发送单元,用于向所述发起设备发送对应于所述连接请求的响应信息,所述响应 信息用于确定所述预定连接成功建立。 A response sending unit, configured to send response information corresponding to the connection request to the initiating device, where the response information is used to determine that the predetermined connection is successfully established.
27、 一种协作播放系统, 包括发起设备和目标设备, 所述发起设备包括如权利要求 14至 20任一所述的协作播放装置,所述目标设备包括如权利要求 21至 26任一所述的协 作播放装置。 27. A collaborative playback system, including an initiating device and a target device. The initiating device includes the collaborative playback device as claimed in any one of claims 14 to 20, and the target device includes a device as described in any one of claims 21 to 26. collaborative playback device.
28、 一种发起设备, 其特征在于, 所述发起设备包括: 28. An initiating device, characterized in that the initiating device includes:
一个或多个处理器; one or more processors;
存储器; 和 memory; and
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 所述一个或多个模块具有如下功能: One or more modules, the one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules have the following functions:
与目标设备建立预定连接; Establish a scheduled connection with the target device;
通过所述预定连接向所述目标设备提供目标触发信号,所述目标触发信号用于触发所 述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放时刻 对应; Provide a target trigger signal to the target device through the predetermined connection, the target trigger signal is used to trigger the target device to play the multimedia resources on the target device at a designated time, and the designated time corresponds to the local playback time;
在所述本地播放时刻播放所述发起设备上的多媒体资源。 Play multimedia resources on the initiating device at the local play time.
29、 一种目标设备, 其特征在于, 所述目标设备包括: 29. A target device, characterized in that the target device includes:
一个或多个处理器; one or more processors;
存储器; 和 memory; and
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 所述一个或多个模块具有如下功能: One or more modules, the one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules have the following functions:
与发起设备建立预定连接; Establish a scheduled connection with the initiating device;
获取所述发起设备通过所述预定连接提供的目标触发信号,所述目标触发信号用于触 发所述目标设备在指定时刻播放所述目标设备上的多媒体资源,所述指定时刻与本地播放 时刻对应, 所述本地播放时刻为所述发起设备播放所述发起设备上的多媒体资源的时刻; 在所述指定时刻播放所述目标设备上的多媒体资源。 Obtain a target trigger signal provided by the initiating device through the predetermined connection. The target trigger signal is used to trigger the target device to play the multimedia resources on the target device at a designated time. The designated time corresponds to the local playback time. , the local playback time is the time when the initiating device plays the multimedia resources on the initiating device; the multimedia resources on the target device are played at the designated time.
PCT/CN2014/076161 2013-08-06 2014-04-24 Cooperative playing method, apparatus, device and system WO2015018211A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310339208.1 2013-08-06
CN201310339208.1A CN103442297B (en) 2013-08-06 2013-08-06 Cooperate player method, device, equipment and system

Publications (1)

Publication Number Publication Date
WO2015018211A1 true WO2015018211A1 (en) 2015-02-12

Family

ID=49695955

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076161 WO2015018211A1 (en) 2013-08-06 2014-04-24 Cooperative playing method, apparatus, device and system

Country Status (2)

Country Link
CN (1) CN103442297B (en)
WO (1) WO2015018211A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442297B (en) * 2013-08-06 2017-09-01 小米科技有限责任公司 Cooperate player method, device, equipment and system
CN104750237B (en) * 2013-12-29 2018-10-12 中国移动通信集团公司 A kind of multi-screen interactive connection method, device and electronic equipment
CN109788460A (en) * 2017-11-14 2019-05-21 中兴通讯股份有限公司 Terminal cooperation operation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159850A (en) * 2007-11-21 2008-04-09 华为软件技术有限公司 Method of implementing multi-terminal cooperation control playing video data and play control proxy
CN101923453A (en) * 2009-06-16 2010-12-22 鸿富锦精密工业(深圳)有限公司 Display device and display control method
CN102387171A (en) * 2010-08-25 2012-03-21 株式会社Ntt都科摩 Multi-port collaborative play method of music, multi-port collaborative music play system and user terminals
CN103209360A (en) * 2013-03-04 2013-07-17 北京小米科技有限责任公司 Multi-party video sharing method and device
CN103442297A (en) * 2013-08-06 2013-12-11 北京小米科技有限责任公司 Collaborative play method, device, equipment and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233389B1 (en) * 1998-07-30 2001-05-15 Tivo, Inc. Multimedia time warping system
CN101312514A (en) * 2007-05-23 2008-11-26 明基电通股份有限公司 Electronic device and indication method
WO2012070250A1 (en) * 2010-11-25 2012-05-31 パナソニック株式会社 Communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159850A (en) * 2007-11-21 2008-04-09 华为软件技术有限公司 Method of implementing multi-terminal cooperation control playing video data and play control proxy
CN101923453A (en) * 2009-06-16 2010-12-22 鸿富锦精密工业(深圳)有限公司 Display device and display control method
CN102387171A (en) * 2010-08-25 2012-03-21 株式会社Ntt都科摩 Multi-port collaborative play method of music, multi-port collaborative music play system and user terminals
CN103209360A (en) * 2013-03-04 2013-07-17 北京小米科技有限责任公司 Multi-party video sharing method and device
CN103442297A (en) * 2013-08-06 2013-12-11 北京小米科技有限责任公司 Collaborative play method, device, equipment and system

Also Published As

Publication number Publication date
CN103442297B (en) 2017-09-01
CN103442297A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
US11025686B2 (en) Network call method and apparatus, terminal, and server
TWI663541B (en) Mobile terminal, fingerprint identification control method and device, computer-readable storage medium and computer program product
WO2017020663A1 (en) Live-comment video live broadcast method and apparatus, video source device, and network access device
CN106973330B (en) Screen live broadcasting method, device and system
WO2016150270A1 (en) Method and apparatus for processing group session message
WO2018161353A1 (en) Photo sharing method and device
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
US10084729B2 (en) Apparatuses and methods for web page sharing
JP7403648B2 (en) Synchronization method and electronic equipment
CN111083755B (en) Equipment switching method and related equipment
CN103941982A (en) Method for sharing interface processing and terminal
CN108834132B (en) Data transmission method and equipment and related medium product
WO2018107941A1 (en) Multi-screen linking method and system utilized in ar scenario
CN110673770B (en) Message display method and terminal equipment
CN110213440A (en) A kind of images share method and terminal
WO2014206037A1 (en) Apparatuses and methods for web page sharing
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN109646940A (en) Method, terminal and the computer readable storage medium of synchronization applications
CN106791916B (en) Method, device and system for recommending audio data
CN103347003A (en) Voice interconnection method, device and system
WO2021078215A1 (en) Method for cross-terminal switching of cloud game and related device
WO2017020671A1 (en) Video interaction method and apparatus, and video source device
WO2018119630A1 (en) Interaction method, and terminal
CN109002245B (en) Application interface operation method and mobile terminal
CN107770449B (en) Continuous shooting method, electronic device and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1