CN106303679B - Media playing control method and media playing client - Google Patents

Media playing control method and media playing client Download PDF

Info

Publication number
CN106303679B
CN106303679B CN201610764757.7A CN201610764757A CN106303679B CN 106303679 B CN106303679 B CN 106303679B CN 201610764757 A CN201610764757 A CN 201610764757A CN 106303679 B CN106303679 B CN 106303679B
Authority
CN
China
Prior art keywords
media
information
wearable device
playing
wearable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610764757.7A
Other languages
Chinese (zh)
Other versions
CN106303679A (en
Inventor
陈宗高
张骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610764757.7A priority Critical patent/CN106303679B/en
Publication of CN106303679A publication Critical patent/CN106303679A/en
Application granted granted Critical
Publication of CN106303679B publication Critical patent/CN106303679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/482End-user interface for program selection
    • H04N21/4826End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score

Abstract

The application provides a media playing control method, which comprises the following steps: the terminal equipment is connected with the wearable equipment; responding to a request from the wearable device, and sending media information and/or a playing state to the wearable device by the terminal device; the wearable equipment displays media playing information according to the received media information and/or playing state so as to enable the media playing information displayed by the wearable equipment to be synchronous with the media playing information displayed by the terminal equipment; responding to an operation command input by a user, and sending a corresponding control command to the terminal device by the wearable device; and responding to a control command from the wearable equipment or an operation command input by a user, and executing corresponding media playing control operation by the terminal equipment. Correspondingly, a media playing client is also provided. By adopting the scheme, the media playing performance can be improved.

Description

Media playing control method and media playing client
Technical Field
The present application relates to media playing technologies, and in particular, to a media playing control method and a media playing client.
Background
With the development of smart hardware technology, various wearable devices are continuously appearing, such as smart watches, smart glasses, smart helmets, and the like. Most of the wearable devices are in data communication with the mobile phone, a portable control function is achieved, and a user can achieve control over the mobile phone by issuing instructions to the wearable devices. Among the functions implemented, controlling media playing is an essential item that is used by general users (e.g., controlling audio files to play or stop, and switching different songs from one to another).
Disclosure of Invention
The application provides a media playing control method, which comprises the following steps: the terminal equipment is connected with the wearable equipment; responding to a request from the wearable device, and sending media information and/or a playing state to the wearable device by the terminal device; the wearable equipment displays media playing information according to the received media information and/or playing state so as to enable the media playing information displayed by the wearable equipment to be synchronous with the media playing information displayed by the terminal equipment; responding to an operation command input by a user, and sending a corresponding control command to the terminal device by the wearable device; and responding to a control command from the wearable equipment or an operation command input by a user, and executing corresponding media playing control operation by the terminal equipment.
The application provides a media playing client in a terminal device, which comprises: the data connection module is connected with the wearable equipment; the synchronization module responds to a request from the wearable device and sends media information and/or a playing state to the wearable device so as to synchronize the media playing information displayed by the wearable device with the media playing information of the media playing client; and the operation control module responds to a control command of the wearable device or an operation command input by a user and executes corresponding media playing control operation.
The application provides a media broadcast client in wearable equipment, includes: the data connection module is connected with the terminal equipment; the synchronization module receives media information and/or a playing state from the terminal equipment; the display module is used for displaying the media playing information according to the received media information and/or playing state; and the operation control module responds to an operation command input by a user and sends a corresponding control command to the terminal equipment so as to enable the terminal equipment to execute a corresponding media playing control operation.
By adopting the method and the client provided by the application, the media information and/or the media playing state in the media playing client of the terminal equipment can be synchronized in the media playing client of the wearable equipment, so that the media playing control operation can be performed on both the wearable equipment and the terminal equipment, and the performance of interactive operation between the wearable equipment and the terminal equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only examples of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive effort. Wherein the content of the first and second substances,
FIG. 1 is a schematic flow chart of a method in an example of the present application;
FIG. 2 is a schematic flow chart of a method according to another embodiment of the present application;
FIG. 3 is a flowchart of an interconnect playback method in an example of the present application;
FIG. 4 is a flow chart of a method related to playback in an example of the present application;
FIG. 5 is a flow chart of a synchronization method in an example of the present application;
fig. 6 is a schematic structural diagram of a media playing client in a terminal device in an example of the present application;
fig. 7 is a schematic structural diagram of a media playing client in a wearable device in an example of the present application; and
fig. 8 is a schematic structural diagram of a computing device in an example of the present application.
Detailed Description
The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described examples are some, but not all examples of the present application. All other examples, which can be obtained by a person skilled in the art without making any inventive step based on the examples in this application, are within the scope of protection of this application.
Some examples of the present application provide a media playing control method applied to a media playing client in a terminal device
As shown in fig. 1, the method may include the steps of:
step 101: the media playing client is connected with the wearable device.
The wearable device comprises a smart watch, smart glasses, a smart helmet and the like, physical connection between a media playing client and the wearable device in the terminal device is firstly established, the physical connection comprises Wi-Fi, Bluetooth, a data line and the like, and then data communication can be carried out on the basis of the physical connection.
Step 102: and the media playing client responds to the request from the wearable equipment and sends media information and/or playing state to the wearable equipment.
The media information may include, but is not limited to, text information (e.g., song title, author/singer name, etc.) or pictures (e.g., album picture, singer picture, etc.) of media files (e.g., currently played media files or any media files), subtitle files, lyric files, playlist information, etc., and the playing status of the media may include, but is not limited to, playing, pause status, playing progress, etc.; the information is sent to the wearable device to enable the wearable device to display the media playing information to the user, and media playing state synchronization of the media playing client and the wearable device is achieved.
Step 103: the media playing client executes corresponding media playing control operation in response to a control command from the wearable device or an operation command input by a user.
When the wearable device has user operation command input, the media playing client in the terminal device can respond to the operation command and execute corresponding media playing control operation; similarly, when the user directly inputs an operation command to the terminal device, the media playing client responds to the command and executes corresponding operation.
Step 104: the physical connection with the wearable device is broken.
After the media playing client establishes connection with the wearable device, step 102 or step 103 may be executed, or step 104 may be executed to disconnect, and once the disconnection operation is executed, both steps 103 and 104 are terminated.
In this example, the user can directly operate the wearable device to complete the complete operation from media selection to playing without switching to the media playing client in the terminal device to operate in the middle.
In some examples, the media playing client establishes a physical connection with the wearable device in a Wi-Fi, bluetooth, data line, and the like, and through the established physical connection, the terminal device may obtain device information (such as type, brand, model, and the like) of the wearable device; correspondingly, the terminal device can also send own device information (such as type, brand, model number, operating system version number and the like) to the wearable device. Therefore, in the process of establishing connection, the media playing client in the terminal device and the wearable device can respectively display the device information of the opposite terminal, and the user can determine whether to allow the two devices to be connected or not by operating corresponding operation options in the user interface according to the device information identified by each other. This example may let the user know the device information that needs to be connected and may decide on their own whether to establish a connection.
In some examples, the media playing client may respond to a playlist query request issued by the wearable device and send the current playlist to the wearable device. The playlist inquiry request may be issued by the wearable device and received and responded to by the terminal device before media playback begins. In some examples, when the playlist changes, the media playing client in the terminal device may send the latest playlist to the wearable device. The embodiment realizes the synchronization of the play list between the media play client in the terminal equipment and the media play client in the wearable equipment, and improves the media play performance.
In some examples, the media playing client may respond to a media file information query request issued by the wearable device, and send currently playing media file information to the wearable device. The media file information includes, but is not limited to, text information of the media file, a corresponding picture, a subtitle file, a lyric file, and the like. In some examples, the transmitted media file information includes a picture, the media playing client acquires a data buffer size of the wearable device when performing data connection with the wearable device, packages the picture into at least one data packet according to the acquired data buffer size of the wearable device when transmitting the picture of the currently played media file, and transmits the at least one data packet to the wearable device. In the example, the transmission of the media file information enables the media information to be more complete, and the transmission of the media pictures enriches the display effect of the client during the media playing.
In some examples, a media playback client in the terminal device sends media information and/or playback status information to the wearable device. The media playing client responds to a subscription request of media information and/or playing state of the wearable device, for example: the wearable device sends a 'registration playing state callback' message to a media playing client in the terminal device, the media playing client in the terminal device monitors whether a notification condition carried in the media information and/or playing state subscription request is met, and when the notification condition is met, the media information and/or playing state is sent to the wearable device. According to the embodiment, the playing state and/or the media information are automatically synchronized between the terminal device client and the wearable device in a subscription notification mode, and the synchronization efficiency is improved.
In some examples, the media playing client may respond to a request issued by the wearable device to query the media playing status, where the request may be initiated by a user operating the wearable device, and the media playing client sends the playing status to the wearable device. The embodiment can realize the function of actively inquiring and acquiring the media playing state by the user.
In some examples, after media playback begins, a media playback client in the terminal device receives the above-described media information and/or playback state subscription request from the wearable device. In some examples, before or after media playback begins, a media playback client in the terminal device receives a request from the wearable device to actively query for the aforementioned media information and/or playback status. In some instances, the media playback client described above may stop monitoring the notification condition in response to an unsubscribe request from the wearable device.
The establishment and disconnection of the connection in the above example relate to a heartbeat packet receiving and sending method, and a specific embodiment is that the media playing client sends a heartbeat packet to the wearable device according to a predetermined period, and receives the heartbeat packet from the wearable device; and when the heartbeat packet from the wearable equipment is not received after the preset time, the media playing client judges that the connection is disconnected and stops sending the heartbeat packet to the wearable equipment. Likewise, the media playing client may actively disconnect or respond to a disconnection request of the wearable device, disconnect and stop sending the heartbeat packet.
Still other examples of the present application relate to a media playing control method applied to a media playing client in a wearable device, as shown in fig. 2, the method may include the following steps:
step 201: the method comprises the steps of establishing connection with terminal equipment, wherein the terminal equipment comprises but is not limited to a smart phone, a tablet personal computer and the like, firstly establishing physical connection between a media playing client in the wearable equipment and the terminal equipment, and then performing data communication on the basis of the physical connection, wherein the implementation mode can be but is not limited to Wi-Fi, Bluetooth, a data line and the like.
Step 202: the media playing client receives media information and/or playing status from the terminal device, the media information includes but is not limited to text information, pictures, subtitle files, lyric files, play list information and the like of media files, and the playing status of the media includes but is not limited to playing, pause status, playing progress and the like; the above information can be displayed by the media playing client in the wearable device.
Step 203: the media playing client can respond to an operation command input by a user and send the control command to the terminal equipment, so that the terminal equipment executes corresponding media playing control operation, such as playing, pausing, song switching and the like.
Step 204: the connection with the terminal device is disconnected.
After the media playing client establishes a connection with the wearable device, step 202 or step 203 may be executed, step 204 may also be executed to disconnect, and once the disconnection operation is executed, both steps 203 and 204 are terminated. In this example, the user can operate the media playing client in the wearable device, so that a set of operations from media file selection to playing can be realized, and the user does not need to switch to the media playing client in the terminal device for operation.
In some examples, a media playing client in the wearable device establishes a physical connection with the terminal device in a Wi-Fi, bluetooth, data line, etc., and through the established physical connection, the wearable device can obtain device information (such as type, brand, model, operating system version number, etc.) of the terminal device; accordingly, the wearable device can also send its own device information (such as type, brand, model, etc.) to the terminal device. Therefore, in the process of establishing connection, the media playing client in the wearable device and the terminal device can respectively display the device information of the opposite terminal, and the user can operate corresponding operation options in the user interface to determine whether to allow the two devices to be connected according to the device information identified by each other. This example may let the user know the device information that needs to be connected and may decide on their own whether to establish a connection.
In some examples, a media playing client in the wearable device sends a request for inquiring a playlist to the mobile terminal, the terminal device responds to the request and sends out the media playlist, and the media playing client receives the playlist and displays the received playlist information on a self-displayable module. The playlist inquiry request is sent before the media playback starts. When the playlist of the terminal device changes, the media playing client can receive the updated playlist sent by the terminal, and display the updated playlist on the display module. The example enables synchronization of playlists at the terminal playback client and the wearable device, and displays synchronized playlist information on the wearable device.
In some examples, a media playing client in the wearable device may send a request for querying media file information to a terminal device, the terminal device responds to the request and sends the media file information to the media playing client (the media file information may include text information, pictures, subtitle files, lyric files, etc. of media files), and the corresponding media file information is presented on a self-displayable module. When the media playing client is connected with the terminal, the size of a data buffer area of the media playing client is sent to the terminal equipment, when media information pictures are transmitted, the terminal equipment packs picture data to be sent into at least one data packet according to the size of the received buffer area of the wearable equipment and sends the data packet, the media playing client receives the data packet containing the picture information sent by the terminal, obtains a corresponding picture, and displays the picture on a display module of the media playing client. In the example, the transmission of the media file information enables the media information to be more complete, and the transmission of the media pictures enriches the display effect of the client during the media playing.
In some examples, a media playing client in the wearable device may send a media information and/or playing state subscription request to the terminal device, for example, send a "register playing state callback" message, the terminal device monitors whether a notification condition carried in the media information and/or playing state subscription request is satisfied, and when the notification condition is satisfied, sends the media information and/or playing state to the media playing client, and the media playing client receives the media information and/or playing state and may display the received media information and/or playing state information on a display module. The example realizes the synchronization of the playing state and the media information in the terminal equipment client and the wearable equipment.
In some examples, the media playing client may also actively send a playing state query request to the terminal device, the terminal device responds to the request and sends the current playing state, and the media playing client receives the latest playing state information and displays the received playing state information on the displayable module. The embodiment can realize the function of actively inquiring and acquiring the media playing state by the user.
In some examples, after the media playing starts, the media playing client sends the media information and/or the playing state subscription request to the terminal device. In some examples, the media playing client sends a request for actively inquiring the media information and/or the playing status to the terminal device before or after the media playing starts. Similarly, the media playing client may send a request for canceling subscription to the terminal device, for example, send a "cancel playing state callback" message, so that the terminal device stops monitoring the notification condition, and then stops sending the media information and/or the playing state information in a manner of subscribing the notification.
The implementation of each step in the above example relates to a heartbeat packet receiving and sending method, and a specific implementation manner is that a media playing client in a wearable device sends a heartbeat packet to a terminal device according to a predetermined period and receives the heartbeat packet from the terminal device, and when the heartbeat packet from the terminal device is not received for more than a predetermined time, the media playing client judges that the connection is disconnected and stops sending the heartbeat packet to the terminal device. Similarly, the media playing client may actively disconnect or respond to a disconnection request of the terminal device, disconnect and stop sending the heartbeat packet.
In an example of the present application, a method for controlling an interconnected playing implemented by a terminal media playing client and a smart watch is shown in fig. 3, and the method includes the following steps:
step 301: the media playing client establishes wired or wireless physical connection with the smart watch in a Wi-Fi (wireless fidelity), Bluetooth or data line mode, and after connection is established, data communication is carried out.
Step 302: the media playing client and the intelligent watch mutually send heartbeat packets from the connection establishment, and the heartbeat packets are sent and received throughout the whole connection process.
Step 303: the media playing client sends a device information query request to the smart watch, and can acquire information such as the type, the brand, the model and the like of the device.
Step 304: the smart watch sends a device information query request to a media playing client in the terminal, and can acquire information such as the type, the brand, the model and the like of the terminal device.
Step 305: the media playing client is connected with the smart watch in an interconnected mode to achieve playing related operations.
Step 306: the media playing client can actively send a disconnection command or respond to the disconnection command from the smart watch to execute the disconnection operation and disconnect the mutual connection.
The detailed implementation method of the playing related to step 305 in the above embodiment is shown in fig. 4, and includes the following implementation steps:
step 401: the smart watch sends a request for inquiring a playlist to a media playing client in the terminal, the media playing client responds to the request and sends a current playlist to the smart watch (step 401A), and meanwhile, when the playlist of the media playing client changes, the client can actively send an updated playlist to the smart watch (step 401B).
Step 402: the media playing client and the smart watch can respectively realize control on media playing, including but not limited to playing, pausing, previous music, next music and other operations; when a media playing client on the terminal equipment initiates a control operation on media, synchronizing a corresponding playing state to the smart watch; and when the intelligent watch initiates a control operation on media, synchronizing the corresponding playing state to the media playing client.
Step 403: the smart watch may initiate a media file information query request to a media playing client in the terminal device, where the media information may include text information, picture information, and the like of a media file.
Step 404: and the media playing client in the terminal device responds to the media file information query request in step 403, and sends related information including text information, pictures and the like to the smart watch. And when the sent media file information is a picture, the media playing client packs the data of the picture into at least one data packet to send according to the size of the data buffer area of the smart watch acquired in the connection establishing step.
Step 405: the media playing client in the terminal can respond to a playing state subscription request sent by the smart watch and judge whether a notification condition carried in the subscription request is met, and if the notification condition is met, the media playing client sends the playing state to the smart watch. The playing state can include playing, pausing, playing progress, song information and the like. Similarly, the request for actively inquiring the playing state sent by the smart watch can also be responded by the media playing client and the corresponding information is sent.
The detailed implementation method of the playing related to step 405 in the foregoing embodiment is shown in fig. 5, and includes the following implementation steps:
step 501: after the playing is initiated, the smart watch registers a playing state callback to a media playing client in the terminal, and the client responds to the playing state subscription request and sends the current playing state to the smart watch at the frequency agreed during the registration (step 501A).
Step 502: during the connection period, the intelligent watch can respond to the user operation at any time and actively send a request for inquiring the media playing state to the media playing client, and the media playing client in the terminal can respond to the request and send the current media playing state to the intelligent watch.
Step 503: and the smart watch logs out the play state call back to the media play client, and then the client does not return the current play state to the smart watch.
In some examples, the media playing client in the terminal device may be implemented by the structure shown in fig. 6, which includes a data connection module 601, a synchronization module 602, and a control module 603.
The data connection module 601 can establish and disconnect a wired or wireless physical connection (such as Wi-Fi, bluetooth, data line, etc.) with the wearable device, and realize data communication based on the established physical connection.
The synchronization module 602 may send media information and/or a play status to a wearable device in response to a request from the wearable device to synchronize media play information presented by the wearable device with media play information of the media play client.
The control module 603 may perform a corresponding media playing control operation in response to a control command of the wearable device or an operation command input by the user.
In some examples, the data connection module 601 establishes a wired or wireless physical connection with a wearable device, acquires device information of the wearable device through the physical connection, and sends the device information of the terminal device to the wearable device.
In some instances, synchronization module 602 may send a current playlist to the wearable device in response to a request from the wearable device to query the playlist; or, in response to a request from the wearable device to inquire the media file information, sending information of a currently played media file to the wearable device; or, in response to a subscription request of media information and/or play state from the wearable device, monitoring whether a notification condition carried in the subscription request of media information and/or play state is satisfied, and when the notification condition is satisfied, sending current media information and/or play state to the wearable device; or, in response to a request from the wearable device to query a media play status, sending a current play status to the wearable device.
In some examples, the media client in the wearable device may be implemented by the structure shown in fig. 7, which includes a data connection module 701, a synchronization module 702, a control module 703, and a display module 704.
The data connection module 701 may establish and disconnect a wired or wireless physical connection (such as Wi-Fi, bluetooth, data line, etc.) with the terminal device, and implement data communication based on the established physical connection.
The synchronization module 702 may receive media information and/or play status from the terminal device.
The control module 703 may send a response control command to the terminal device in response to an operation command input by the user, so that the terminal device executes a corresponding media playing control operation.
The display module 704 can display media information received by the synchronization module, such as playing status information of the media, text related to the media, picture information, and the like.
In some examples, the data connection module 701 establishes a wired or wireless physical connection with the terminal device, acquires device information of the terminal device through the physical connection, and sends the device information of the wearable device to the terminal device.
In some examples, the synchronization module 702 sends a request to a terminal device to query a playlist, receives a playlist sent by the terminal device in response to the request to query a playlist; or, sending a request for inquiring the media file information to the terminal device, and receiving the information of the currently played media file sent by the terminal device in response to the request for inquiring the media file information; or sending a subscription request of media information and/or playing state to the terminal device, so that the terminal device monitors whether a notification condition carried in the subscription request of media information and/or playing state is satisfied, and receives the media information and/or playing state sent by the terminal device when the notification condition is satisfied; or, sending a request for inquiring the playing state to the terminal device, and receiving the current playing state sent by the terminal device in response to the request for inquiring the playing state.
The specific implementation principle of the functions of the above modules has been described in the foregoing, and is not described herein again.
In addition, the media playing client and the modules thereof in each example of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more devices or modules are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
In one embodiment, the media playing client described above may be run in various computing devices and loaded in the memory of the computing device.
Fig. 8 is a block diagram illustrating a computing device on which the media playing client is located. The computing device may be a variety of terminal devices or a variety of wearable devices. As shown in fig. 8, the computing device includes one or more processors (CPUs) 802, a communication module 804, a memory 506, a user interface 810, and a communication bus 808 for interconnecting these components.
The processor 802 may receive and transmit data via the communication module 804 to enable network communications and/or local communications.
User interface 810 includes one or more output devices 812 including one or more speakers and/or one or more visual displays. The user interface 810 also includes one or more input devices 814, including, for example, at least one of a keyboard, a mouse, a voice command input unit or microphone, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input buttons or controls, and the like.
The memory 806 may be high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; or non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
The memory 806 stores a set of instructions executable by the processor 802, including at least:
operating system client 816 includes programs for handling various basic system services and for performing hardware related tasks.
The media playing client application 818 includes an application program of the media playing client, and the media playing client can implement the processing flows in the above examples. In some examples, media playback client application 818 may include modules 601-603 of the apparatus of FIG. 6, each module 601-603 may store machine executable instructions. The processor 802 can implement the functions of the modules 601-603 by executing the machine-executable instructions of the modules 601-603 in the memory 806. In some examples, media playback client application 818 may include modules 701-704 of the apparatus of FIG. 7, and each of modules 701-704 may store machine executable instructions. The processor 802 can implement the functions of the modules 701-704 by executing the machine-executable instructions of the modules 701-704 in the memory 806.
In addition, each example of the present application can be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that a data processing program constitutes the present application. Further, the data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present application. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
The present application thus also provides a non-volatile storage medium having stored therein a data processing program for executing any one of the examples of the method of the present application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (14)

1. A media playback control method, the method comprising:
the terminal equipment is connected with the wearable equipment;
responding to a request from the wearable device, and sending media information and/or a playing state to the wearable device by the terminal device;
the wearable equipment displays media playing information according to the received media information and/or playing state so as to enable the media playing information displayed by the wearable equipment to be synchronous with the media playing information displayed by the terminal equipment;
responding to an operation command input by a user, and sending a corresponding control command to the terminal device by the wearable device; and
in response to a control command from the wearable device or an operation command input by a user, the terminal device executes a corresponding media playing control operation,
wherein the method further comprises: the wearable device sends a request for inquiring the playlist to the terminal device;
the terminal device sends media information and/or playing state to the wearable device, and the method comprises the following steps: in response to a request from the wearable device to query a playlist, the terminal device sending a current playlist to the wearable device;
the wearable device displays media playing information according to the received media information and/or playing state, and the method comprises the following steps: the wearable device displays the received playlist so that a user can perform operation of switching media files;
when the user inputs the operation command at the terminal equipment, the terminal equipment responds to the operation command and executes corresponding media playing control operation; after media playing starts, the wearable device sends a media information and/or playing state subscription request to the terminal device; the subscription request comprises a registration play state callback message; the terminal device sends media information and/or playing state to the wearable device, and the method comprises the following steps:
responding to a media information and/or play state subscription request from the wearable device, and monitoring whether a notification condition carried in the media information and/or play state subscription request is met;
when the notification condition is met, sending current media information and/or play state to the wearable device at the frequency agreed when the play state is called back.
2. The method of claim 1, wherein the terminal device establishing a connection with the wearable device comprises:
the terminal equipment and the wearable equipment establish wired or wireless physical connection; and
through the physical connection, the terminal equipment acquires the equipment information of the wearable equipment and sends the equipment information of the terminal equipment to the wearable equipment;
the method further comprises the following steps:
the terminal equipment and the wearable equipment send heartbeat packets to an opposite terminal according to a preset period;
the terminal equipment receives a heartbeat packet from the wearable equipment;
and when the heartbeat packet from the wearable equipment is not received for more than a preset time, the terminal equipment disconnects the connection and stops sending the heartbeat packet to the wearable equipment.
3. The method of claim 1, further comprising:
and when the playlist changes, the terminal equipment sends the current playlist to the wearable equipment.
4. The method of claim 1, wherein the sending media information comprises:
responding to a request for inquiring the media file information from the wearable device, and sending the information of the currently played media file to the wearable device by the terminal device;
the displaying of the media playing information comprises: the wearable device displays the received information of the media file;
wherein, the information of the currently played media file comprises: at least one item of text information, picture, caption file, lyric file of the media file.
5. The method of claim 4, wherein when the information about the currently playing media file comprises a picture of the media file, the terminal device sending the information about the currently playing media file to the wearable device, comprising:
packing the data of the picture into at least one data packet according to the size of a data buffer area of the wearable device, which is obtained when the connection is established with the wearable device; and
sending the at least one data packet to the wearable device;
the wearable device displays media playing information according to the received media information and/or playing state, and the method comprises the following steps:
receiving at least one data packet from the terminal equipment, wherein the terminal equipment packs the data of the pictures into the at least one data packet according to the size of the data buffer area;
sequentially reading the at least one data packet through the data buffer area, and obtaining the picture; and
the obtained picture is shown.
6. The method of claim 1, wherein,
the wearable device displays media playing information according to the received media information and/or playing state, and the method comprises the following steps:
receiving current media information and/or playing state sent by the terminal equipment;
displaying the received media information and/or playing state;
the method further comprises the following steps: ceasing to monitor the notification condition in response to a unsubscribe request from the wearable device, the unsubscribe request including a message to deregister a play state callback.
7. The method of claim 6, wherein the terminal device sends media information and/or sends a play status, further comprising: and responding to a request for inquiring the media playing state from the wearable device, and sending the current playing state to the wearable device.
8. A media playing client in a terminal device, comprising:
the data connection module is connected with the wearable equipment;
the synchronization module responds to a request from the wearable device and sends media information and/or a playing state to the wearable device so as to synchronize the media playing information displayed by the wearable device with the media playing information of the media playing client;
the operation control module responds to a control command of the wearable device or an operation command input by a user and executes corresponding media playing control operation; when the operation command input by the user is received, responding to the operation command and executing corresponding media playing control operation;
the synchronization module further responds to a request for inquiring a playlist from the wearable device, and sends a current playlist to the wearable device, and the wearable device displays the received playlist so that a user can perform an operation of switching media files;
the synchronization module is further used for responding to a media information and/or play state subscription request from the wearable device and monitoring whether a notification condition carried in the media information and/or play state subscription request is met; the subscription request comprises a registration play state callback message; and when the notification condition is met, sending the current media information and/or play state to the wearable device at the frequency agreed when the play state is called back, wherein after the media play is started, the wearable device sends a subscription request of the media information and/or the play state to the terminal device.
9. The media play client of claim 8,
the data connection module establishes wired or wireless physical connection with the wearable device, acquires the device information of the wearable device through the physical connection, sends the device information of the terminal device to the wearable device, and sends a heartbeat packet to the opposite end of the wearable device according to a preset period; receiving a heartbeat packet from the wearable device, and when the heartbeat packet from the wearable device is not received for more than a preset time, disconnecting the connection and stopping sending the heartbeat packet to the wearable device.
10. The media play client of claim 8,
the synchronization module responds to a request for inquiring the media file information from the wearable equipment and sends the information of the currently played media file to the wearable equipment; or, in response to a request from the wearable device to query a media play status, sending a current play status to the wearable device.
11. A media playing client in a wearable device, comprising:
the data connection module is connected with the terminal equipment;
the synchronization module receives media information and/or a playing state from the terminal equipment;
the operation control module responds to an operation command input by a user and sends a corresponding control command to the terminal equipment so as to enable the terminal equipment to execute a corresponding media playing control operation; when the user inputs the operation command in the terminal equipment, the terminal equipment responds to the operation command and executes corresponding media playing control operation;
the display module is used for displaying the media playing information according to the received media information and/or playing state;
the synchronization module sends a request for inquiring a play list to a terminal device and receives the play list sent by the terminal device in response to the request for inquiring the play list;
the display module is used for displaying the received playlist so as to enable a user to execute the operation of switching the media files;
the synchronization module further sends a media information and/or play state subscription request to the terminal device after media play starts, so that the terminal device monitors whether a notification condition carried in the media information and/or play state subscription request is met, and when the notification condition is met, sends current media information and/or play state to the wearable device at a frequency agreed when play state callback is registered; the subscription request includes a register play state callback message.
12. The media playing client according to claim 11, wherein the synchronization module sends a request for querying media file information to the terminal device, receives information of a currently played media file sent by the terminal device in response to the request for querying media file information; or, sending a request for inquiring the playing state to the terminal device, and receiving the current playing state sent by the terminal device in response to the request for inquiring the playing state.
13. A computing device comprising a processor;
a memory coupled to the processor; the memory has stored therein machine-readable instructions executable by the processor to perform the method of any of claims 1 to 7.
14. A computer-readable storage medium having stored thereon machine-readable instructions for causing at least one processor to perform the method of any one of claims 1-7.
CN201610764757.7A 2016-08-30 2016-08-30 Media playing control method and media playing client Active CN106303679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610764757.7A CN106303679B (en) 2016-08-30 2016-08-30 Media playing control method and media playing client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610764757.7A CN106303679B (en) 2016-08-30 2016-08-30 Media playing control method and media playing client

Publications (2)

Publication Number Publication Date
CN106303679A CN106303679A (en) 2017-01-04
CN106303679B true CN106303679B (en) 2020-07-31

Family

ID=57675740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610764757.7A Active CN106303679B (en) 2016-08-30 2016-08-30 Media playing control method and media playing client

Country Status (1)

Country Link
CN (1) CN106303679B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454154B (en) * 2017-07-24 2021-03-30 北京京东尚科信息技术有限公司 Data processing method and system
CN107864518B (en) * 2017-10-12 2020-03-31 歌尔科技有限公司 Message prompting method for wireless communication disconnection and wearable device
CN107888667A (en) * 2017-10-27 2018-04-06 美的智慧家居科技有限公司 Internet of things equipment control method, device, Internet of things system and mancarried electronic aid
CN108156532A (en) * 2017-12-27 2018-06-12 上海传英信息技术有限公司 Processing method, mobile terminal and intelligent terminal based on audio and video playing
CN109240780A (en) * 2018-08-14 2019-01-18 北京大米科技有限公司 Audio operation contents synchronization system and method
CN113271577B (en) * 2021-04-13 2022-04-22 荣耀终端有限公司 Media data playing system, method and related device
CN115567741B (en) * 2022-03-24 2024-02-20 荣耀终端有限公司 Device control method, multimedia data playing system, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007126718A2 (en) * 2006-03-27 2007-11-08 Packetvideo Corp. System and method for identifying common media content
CN101227636A (en) * 2007-01-17 2008-07-23 中国移动通信集团公司 Information sharing method
CN101252663A (en) * 2007-10-23 2008-08-27 南京Lg新港显示有限公司 Image display apparatus and book setting method
CN105163233A (en) * 2015-06-25 2015-12-16 康佳集团股份有限公司 Method and system for interaction between intelligent cloud sound box and intelligent terminal
CN105376591A (en) * 2015-12-17 2016-03-02 Tcl集团股份有限公司 Method and system for remotely controlling synchronous execution of shared file
CN105447084A (en) * 2015-11-05 2016-03-30 广东欧珀移动通信有限公司 Method and apparatus for synchronizing playlist

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282905A1 (en) * 2006-06-06 2007-12-06 Sony Ericsson Mobile Communications Ab Communication terminals and methods for prioritizing the playback of distributed multimedia files
CN1937852B (en) * 2006-08-25 2011-05-11 中国移动通信集团公司 Audio playing system and audio playing control method
US20140198190A1 (en) * 2013-01-16 2014-07-17 Kris Okumu Wearable surgical imaging device with semi-transparent screen
WO2014143776A2 (en) * 2013-03-15 2014-09-18 Bodhi Technology Ventures Llc Providing remote interactions with host device using a wireless device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007126718A2 (en) * 2006-03-27 2007-11-08 Packetvideo Corp. System and method for identifying common media content
CN101227636A (en) * 2007-01-17 2008-07-23 中国移动通信集团公司 Information sharing method
CN101252663A (en) * 2007-10-23 2008-08-27 南京Lg新港显示有限公司 Image display apparatus and book setting method
CN105163233A (en) * 2015-06-25 2015-12-16 康佳集团股份有限公司 Method and system for interaction between intelligent cloud sound box and intelligent terminal
CN105447084A (en) * 2015-11-05 2016-03-30 广东欧珀移动通信有限公司 Method and apparatus for synchronizing playlist
CN105376591A (en) * 2015-12-17 2016-03-02 Tcl集团股份有限公司 Method and system for remotely controlling synchronous execution of shared file

Also Published As

Publication number Publication date
CN106303679A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106303679B (en) Media playing control method and media playing client
US10841661B2 (en) Interactive method, apparatus, and system in live room
EP3146445B1 (en) Continuation of playback of media content by different output devices
JP6492227B2 (en) Method for content projection and mobile terminal
US10734032B2 (en) Method, device, and system of synchronously playing media file
WO2018184488A1 (en) Video dubbing method and device
WO2017202348A1 (en) Video playing method and device, and computer storage medium
JP6430656B2 (en) System, method and apparatus for displaying content items
US10419804B2 (en) Cooperative provision of personalized user functions using shared and personal devices
WO2017008627A1 (en) Multimedia live broadcast method, apparatus and system
CN102325271A (en) Method and device of sending document from mobile terminal to television for sharing and mobile terminal
CN112350981B (en) Method, device and system for switching communication protocol
JP2016535351A (en) Video information sharing method, apparatus, program, and recording medium
CN104394200B (en) The method shown for synchronizing preview between mobile device and web terminals
CN108900855B (en) Live content recording method and device, computer readable storage medium and server
KR102043641B1 (en) Operating Method For Nearby Function and Electronic Device supporting the same
JP2023078286A (en) Methods, systems, and media for providing dynamic media sessions
CN110798745A (en) Multimedia playing control method, server and storage medium
WO2024045905A1 (en) Information processing method and apparatus, storage medium, and electronic device
AU2022309659A1 (en) Video playing method and apparatus, and storage medium
JP6311028B2 (en) Telephone interaction method, user terminal, telephone agent system, telephone interaction system, program, and recording medium
JP2014049811A (en) Terminal device, method, program and radio communication system
US20240137617A1 (en) Video playing method and apparatus, and storage medium
Cole et al. ScreenSquared: Improving Media Sharing with Smartphones

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant