WO2018161788A1 - Procédé et dispositif de partage de données multimédias - Google Patents

Procédé et dispositif de partage de données multimédias Download PDF

Info

Publication number
WO2018161788A1
WO2018161788A1 PCT/CN2018/076482 CN2018076482W WO2018161788A1 WO 2018161788 A1 WO2018161788 A1 WO 2018161788A1 CN 2018076482 W CN2018076482 W CN 2018076482W WO 2018161788 A1 WO2018161788 A1 WO 2018161788A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia
multimedia data
file
playing
terminal device
Prior art date
Application number
PCT/CN2018/076482
Other languages
English (en)
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 WO2018161788A1 publication Critical patent/WO2018161788A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present disclosure relates to the field of terminal technologies, and in particular, to a multimedia data sharing method and apparatus.
  • the multimedia data of the multimedia file currently played by the terminal A is shared with the terminal B through the connection device such as the home gateway and the optical network device, so that the terminal B also Can play this multimedia file.
  • the more popular multimedia data sharing method is: the terminal A obtains the multimedia file from the server, and during the playing of the multimedia file, when the terminal A detects the sharing operation, the sharing instruction can be sent to the terminal B through the connecting device,
  • the sharing instruction carries the file identifier and the playback start point information of the multimedia file.
  • the terminal B may send an acquisition request to the server according to the file identifier and the playback start point information, so as to obtain the target multimedia data corresponding to the file identifier and the playback start point information, where the target multimedia data refers to the playback start information indication.
  • the multimedia data after the starting point is played.
  • the terminal B can play the multimedia file based on the multimedia data, and complete the sharing process of the multimedia data from the terminal A to the terminal B.
  • the process of the terminal B requesting the multimedia data from the server may cause a certain network delay, which causes the startup to be slow and the continuity of the playback process is poor.
  • the first aspect provides a multimedia data sharing method, which is applied to a first terminal device, where the method includes:
  • the sharing instruction is sent to the second terminal device, where the sharing instruction carries the playback start information and the file identifier of the multimedia file;
  • the embodiment of the present disclosure can directly store the stored multimedia data to the first time when the first terminal device shares the multimedia file to the second terminal device by using the multimedia data in the multimedia file during the playing process of the multimedia file.
  • the second terminal device does not need to be connected to the server with the routing distance first, so that the second terminal device can quickly start playing the multimedia file while receiving the multimedia data, thereby improving the continuity of the playing process.
  • the storing the multimedia data in the multimedia file during the playing of the multimedia file includes:
  • the multimedia data of the preset duration after the current playing time of the multimedia file is stored.
  • At least two storage methods are provided, including after storing the initial playing time. Multimedia data and multimedia data after the current playback time.
  • sending the sharing instruction to the second terminal device includes:
  • the play start information is the first play start information
  • the sharing instruction that carries the first play start information is sent to the second terminal device, where the first play start information is used to indicate the second terminal device Resuming playback from the initial playing time of the multimedia file;
  • the play start information is the second play start information
  • the sharing instruction that carries the second play start information is sent to the second terminal device, where the second play start information is used to indicate the second terminal device The playback continues from the current playing time of the multimedia file.
  • the storing the multimedia data in the multimedia file during the playing of the multimedia file includes:
  • the multimedia data in the multimedia file is stored to the external storage on the first terminal device.
  • At least two storage locations when storing multimedia data are provided.
  • multimedia data is buffered to the memory, and for example, in order to stably store multimedia data for a long period of time, the multimedia data is stored to the external memory.
  • the embodiment of the present disclosure receives the multimedia data of the first terminal device, and the second terminal device does not need to be connected to the server having the routing distance first, so that the second terminal device can The multimedia file is quickly started to be played while receiving the multimedia data, thereby improving the continuity of the playback process.
  • the sending the multimedia acquisition request to the first terminal device includes:
  • the sharing instruction When the sharing instruction carries the first play start information and the file identifier, send a first multimedia acquisition request to the first terminal device, where the first play start information is used to indicate from the multimedia file.
  • the initial playing time continues to play, and the first multimedia acquiring request is used to request multimedia data of a preset duration after the initial playing time of the multimedia file; or
  • the method further includes: after the acquiring the multimedia data of the first terminal device, the method further includes:
  • specified multimedia data corresponding to the file identifier, where the specified multimedia data includes at least target multimedia data, where the target multimedia data is multimedia data of the multimedia file that is connected to the multimedia data in time.
  • the specified multimedia data is acquired from the server, so that the second terminal device can play the complete multimedia data.
  • the obtaining, by the server, the specified multimedia data corresponding to the file identifier includes:
  • the multimedia data includes at least the target multimedia data and the multimedia data;
  • At least three methods for acquiring the specified multimedia data based on the playing time are provided.
  • the complete multimedia data corresponding to the multimedia file can be directly obtained from the server, and, for example, in order to reduce the running load of the server and reduce the occupation of the server.
  • the transmission resource may obtain multimedia data after the playback starting point indicated by the playback start point information from the server, or acquire multimedia data of the multimedia file that is temporally connected to the multimedia data acquired from the first terminal device.
  • the obtaining, by the server, the specified multimedia data corresponding to the file identifier includes:
  • the play start point information Determining, according to the play start point information and the number of frames of the multimedia data, a frame number of a sum of the play start frame number and the frame number of the multimedia data as the acquisition start frame number, according to the file Identifying and obtaining the starting frame number, and acquiring the specified multimedia data from the server, the designated multimedia data comprising multimedia data in the multimedia file that is contiguous with the multimedia data in time.
  • At least three methods for obtaining the specified multimedia data based on the playback frame number are provided.
  • the complete multimedia data corresponding to the multimedia file may be directly obtained from the server, and, for example, to reduce the running load of the server and reduce the occupation of the server.
  • the transmission resource may obtain multimedia data after the playback starting point indicated by the playback start point information from the server, or acquire multimedia data of the multimedia file that is temporally connected to the multimedia data acquired from the first terminal device.
  • the method further includes:
  • the target playing time is a time duration of the multimedia data after the playing start point indicated by the playing start information, when playing based on the multimedia data
  • the target play frame number is a frame number of the frame number of the multimedia data after the play start frame number indicated by the play start information
  • the process of playing the multimedia file based on the multimedia data is completed, starting to play from the target playing frame number of the multimedia file based on the specified multimedia data.
  • At least two methods for playing the multimedia file based on the specified multimedia data are provided, for example, based on the playing start point and the duration of the multimedia data, and the determining is performed. And transmitting the multimedia file based on the multimedia data after the target playing time intercepted in the specified multimedia data.
  • the target play frame number is determined based on the play start frame number and the number of frames of the multimedia data, thereby playing the multimedia file based on the multimedia data after the target play frame number intercepted in the specified multimedia data.
  • a third aspect provides a multimedia data sharing device, where the device includes at least one module, and the at least one module is configured to implement the multimedia data sharing provided by the foregoing first aspect or any one of the possible implementation manners of the first aspect. method.
  • a fourth aspect provides a multimedia data sharing device, where the device includes at least one module, and the at least one module is configured to implement multimedia data sharing provided by any one of the foregoing second aspect or the second aspect. method.
  • a fifth aspect provides a terminal device, where the terminal device includes a processor, a memory for storing processor-executable instructions, and the processor is configured to: store the multimedia during playback of the multimedia file The multimedia data in the file; when the sharing operation is detected, the sharing instruction is sent to the second terminal device, where the sharing instruction carries the playback start information and the file identifier of the multimedia file; and receives the multimedia acquisition of the second terminal device The request, the multimedia acquisition request carries the play start point information and the file identifier; and the multimedia data is sent to the second terminal device according to the multimedia acquisition request.
  • the processor is configured to: during the playing of the multimedia file, store multimedia data of a preset duration after an initial playing time of the multimedia file; and/or, The processor is configured to: during the playing of the multimedia file, store the multimedia data of the preset duration after the current playing time of the multimedia file.
  • the processor is configured to: when the sharing operation is detected, determine the play start information; if the play start information is the first play start information, carry The first playback start information is sent to the second terminal device, where the first playback start information is used to instruct the second terminal device to continue playing from the initial playing time of the multimedia file;
  • the playback start information is the second playback start information, and the sharing instruction carrying the second playback start information is sent to the second terminal device, where the second playback start information is used to indicate that the second terminal device is from the The current playback time of the multimedia file continues to play.
  • a terminal device includes a processor, a memory for storing processor-executable instructions, and the processor is configured to: receive a sharing instruction of the first terminal device, the sharing The instruction carries the playback start point information and the file identifier of the multimedia file; and sends a multimedia acquisition request to the first terminal device, where the multimedia acquisition request at least carries the file identifier of the multimedia file; and acquires the multimedia data of the first terminal device; Playing the multimedia file based on the multimedia data.
  • the processor is configured to: when the sharing instruction carries the first play start information and the file identifier, send the first multimedia to the first terminal device Obtaining a request, the first play start information is used to indicate that the play is continued from the initial play time of the multimedia file, and the first multimedia acquisition request is used to request a preset duration after the initial play time of the multimedia file.
  • the multimedia data; or the processor is configured to: when the second playback start information and the file identifier carried by the sharing instruction, send a second multimedia acquisition request to the first terminal device, the second The playback start point information is used to indicate that the playback is continued from the current play time of the multimedia file, and the second acquisition request is used to request the multimedia data of the preset duration after the current play time of the multimedia file.
  • the processor is configured to: obtain, by the server, specified multimedia data corresponding to the file identifier, where the specified multimedia data includes at least target multimedia data, where the target multimedia data is The multimedia data of the multimedia data is continually continued in the multimedia file.
  • the processor is configured to: determine an initial playing time of the multimedia file as an acquiring start point, and acquire, from the server, according to the file identifier and the obtaining starting point Specifying the multimedia data, the specified multimedia data includes the complete multimedia data corresponding to the multimedia file; or the processor is configured to determine, according to the playback start point information, a play starting point indicated by the play start information as Obtaining a starting point, acquiring the specified multimedia data from the server according to the file identifier and the obtaining starting point, where the specified multimedia data includes at least the target multimedia data and the multimedia data; or, the processor uses Determining, according to the playing start point information and the duration of the multimedia data, a time of the sum of the playing start point and the duration of the multimedia data as the acquiring starting point, according to the file identifier and the obtaining starting point, Obtaining the specified multimedia data from the server, the specified multimedia data packet The multimedia data in the multimedia file that continues the multimedia data in time.
  • the processor is configured to: determine an initial play frame number of the multimedia file as a get start frame number, and obtain a start frame number according to the file identifier Obtaining the specified multimedia data from the server, where the specified multimedia data includes complete multimedia data corresponding to the multimedia file; or the processor is configured to: according to the playback start point information, the playback start information information Determining, by the server, the specified multimedia data, where the specified multimedia data is at least included in the specified start frame number, and the obtained start frame number is determined according to the file identifier and the acquired start frame number.
  • the target multimedia data and the multimedia data; or the processor is configured to: according to the play start point information and the number of frames of the multimedia data, the play start frame number and the number of frames of the multimedia data
  • the frame number of the sum is determined as the acquisition start frame number, and the designation is obtained from the server according to the file identifier and the obtained start frame number.
  • Media data, the designated multimedia data comprising multimedia data in the multimedia file at a time subsequent to the multimedia data.
  • the processor is configured to: acquire a target playing time according to the playing start point information and a duration of the multimedia data, where the target playing time is indicated by the playing start information Playing the time of the duration of the multimedia data after the starting point, when the process of playing the multimedia file based on the multimedia data is completed, starting from the target playing time of the multimedia file based on the specified multimedia data; or
  • the processor is configured to: obtain a target play frame number according to the play start point information and the number of frames of the multimedia data, where the target play frame number is the play start frame number indicated by the play start point information, and the multimedia a frame number of a frame number of data, when the process of playing the multimedia file based on the multimedia data is completed, starting from the target play frame number of the multimedia file based on the specified multimedia data.
  • the multimedia file refers to a multimedia file of the source server, and is not limited to a video file or an audio file.
  • the sharing operation refers to an operation triggered by the user on the first terminal device, and is used for sharing the multimedia file played on the first terminal device to the second terminal device, and the sharing operation is not limited to the sharing option on the first terminal device. Click on the action.
  • the play start point information refers to a play start point or a play start frame number of the shared multimedia file on the second play device.
  • the target playing time refers to the playing time of the multimedia data acquired just after the first terminal device.
  • FIG. 1A is a schematic diagram of an implementation environment of multimedia data sharing according to an embodiment of the present disclosure
  • FIG. 1B is a functional block diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a multimedia data sharing method according to an embodiment of the present disclosure
  • FIG. 4 is a block diagram of a multimedia data sharing apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a block diagram of a multimedia data sharing apparatus according to an embodiment of the present disclosure.
  • FIG. 1A is a schematic diagram of an implementation environment of multimedia data sharing according to an embodiment of the present disclosure.
  • the implementation environment includes:
  • the first terminal device 101, the second terminal device 102, at least one server 103, and the connection device 104 are connected to the first terminal device 101, the second terminal device 102, at least one server 103, and the connection device 104.
  • an embodiment of the present disclosure provides a functional module block diagram of a terminal device, where the first terminal device 101 or the second terminal device is not limited to a mobile phone, a tablet computer, a desktop computer, a smart TV, or the like. Moreover, the first terminal device 101 or the second terminal device 102 may each include the control module, the multimedia play module, and the multimedia storage module in FIG. 1B.
  • the server 103 is configured to provide a multimedia service for the first terminal device 101 or the second terminal device 102, and the multimedia service is not limited to providing multimedia files and sharing multimedia files.
  • the server 102 can also configure at least one database to store multimedia files or personal data of users served by the server, and the like.
  • the connection device 104 refers to a connection device in a home network, and is not limited to a home gateway, an optical network device, or a router.
  • the connection device 104 can establish a network connection with all terminal devices in the home network.
  • the connection device 104 can serve as a network element (eg, a server) in the external network and within the home network.
  • the network interface between the terminal devices enables network interaction between the network element in the external network and the terminal device in the home network.
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • the terminal device may be used to perform the multimedia data sharing method in the embodiment of FIG. 3.
  • the terminal device 200 includes:
  • the terminal device 200 includes a radio frequency (RF) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a wireless fidelity (Wireless Fidelity). , WiFi) module 170, processor 180 including one or more processing cores, and power supply 190 and the like.
  • RF radio frequency
  • FIG. 2 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a Low Noise Amplifier (LNA). , duplexer, etc.
  • RF circuitry 110 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 Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • Code Division Multiple Access Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 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 terminal device 200 (such as audio data, phone book, etc.) and the like.
  • memory 120 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. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device 200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal device 200 may also include at least one type of sensor 150, such as a light sensor, 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 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal device 200 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal device 200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal device 200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal device 200.
  • WiFi is a short-range wireless transmission technology
  • the terminal device 200 can help a user to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 2 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal device 200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the terminal device 200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the terminal device 200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; optionally, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal device 200 further includes a power source 190 (such as a battery) for supplying power to the various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through the power management system to manage charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal device 200 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more Execution.
  • the one or more programs include methods for performing the first terminal device or the second terminal device in the embodiment of FIG.
  • FIG. 3 is a flowchart of a multimedia data sharing method according to an embodiment of the present disclosure. Referring to FIG. 3, the method is applied to the interaction process between the first terminal device and the second terminal device, and specifically includes:
  • the first terminal device stores the multimedia data in the multimedia file.
  • the first terminal device refers to any terminal device capable of playing multimedia files, such as a mobile phone, a tablet computer, a smart TV, or a Set Top Box (STB).
  • the multimedia file can be a video file or an audio file or the like.
  • the first terminal device may send a multimedia file acquisition request to the server, where the multimedia file acquisition request carries the file identifier of the multimedia file, and the file identifier is used for unique
  • the multimedia file is not limited to the Uniform Resource Locator (URL) of the multimedia file or the multimedia number of the multimedia file in the server, and the playing operation is not limited to the multimedia file of the user in the shared application provided by the server. Click action.
  • the server may query the corresponding multimedia file based on the file identifier, and return the multimedia data to the first terminal device in the form of a data stream. When the first terminal device receives the multimedia data, the multimedia file may be played and stored. Multimedia data.
  • the stored multimedia data can be played back while continuing to play. It should be noted that, in a case where the first terminal device is connected to a connected device such as an optical network device or a home gateway, the first terminal device may interact with the server based on the connected device.
  • a connected device such as an optical network device or a home gateway
  • the first terminal device stores the multimedia data of the preset duration from the time indicated by the storage starting point according to the configured storage starting point and the preset duration.
  • the preset embodiment of the present disclosure does not specifically limit the preset duration and the storage starting point.
  • the stored procedure may also be specifically: during the playing of the multimedia file, the first terminal device stores the initial of the multimedia file.
  • the first terminal device can read the configured storage start point and the preset duration when the multimedia file starts playing, and the first terminal device can store the initially received information when the storage starting point is the initial playing time. Multimedia data, and determining that the storage end point is the time of the sum of the preset duration and the storage start point, so that until the currently received multimedia data reaches the storage end point in the playback time in the multimedia file, it is determined that the storage process is completed; In the case of the playing time, the first terminal device can store the received multimedia data from the initial playing time, and determine the duration of the currently stored multimedia data in real time. If the length of the stored multimedia data reaches the preset duration, The receiving speed is limited.
  • the embodiment of the present disclosure does not limit the processing manner of the multimedia data that has been stored before the current playing time. For example, in order to save the local storage space, the multimedia data that has been stored before the current playing time is deleted.
  • the first terminal device may also store multimedia data with a preset duration after the start point.
  • the first terminal device stores the multimedia data of the preset duration after the initial playing time, and also stores the preset duration after the current playing time.
  • Multimedia data may also be multimedia data of different preset durations.
  • the storage location of the multimedia data is not limited in the embodiment of the present disclosure.
  • the first terminal device caches the multimedia data in the multimedia file to the memory on the first terminal device during the playing of the multimedia file; or, in order to store the multimedia for a long time and stably Data, in the playing process of the multimedia file, the first terminal device stores the multimedia data in the multimedia file to the external storage on the first terminal device.
  • the playing start information is used to indicate where to start playing the multimedia file on the second playing device, and the playing start information may be set by the user on the first terminal device, or may adopt a default setting value on the first terminal device.
  • the sharing operation refers to an operation of sharing a multimedia file on the first terminal device to the second terminal device, and the operation is not limited to the user's clicking operation on the sharing option in the sharing application.
  • the second terminal device refers to a terminal device that has established a connection with the first terminal device, and the second terminal device can also play the multimedia file. It should be noted that the connection manner between the first terminal device and the second terminal device is not specifically limited in the embodiment of the present disclosure.
  • the step 302 may be specifically: when the first terminal device detects the sharing operation, determining the playback starting point information; if the playback starting point information is the first playback starting point information, sending the sharing instruction carrying the first playback starting point information to the second terminal The device, the first play start information is used to indicate that the second terminal device continues to play from the initial play time of the multimedia file; if the play start information is the second play start information, the sharing instruction carrying the second play start information is sent to the second terminal The device, the second play starting point information is used to instruct the second terminal device to continue playing from the current playing moment of the multimedia file.
  • the sharing instruction may be generated based on the file identifier, the stored multimedia data, and the set playback start information, and the device identifier of the second terminal device carried according to the sharing instruction is
  • the sharing instruction is sent to the connected device, and the sharing device sends the sharing instruction to the second terminal device.
  • the protocol adopted by the shared instruction in the embodiment of the present disclosure is not limited.
  • the Digital Living Network Alliance DLNA
  • XMPP Extensible Messaging and Presence Protocol
  • the sharing instruction may include the following contents:
  • type “EVENT_REMOTE_CONTROL” is used to indicate that the sharing instruction is an event notification type
  • action “functionCall” is used to indicate that the action is a callback
  • functionType “startPlay” is used to indicate a play action
  • mediaCode “2” is used to indicate the multimedia number
  • mediaType “2” is used to indicate the multimedia type
  • playByBookMark “1” is the type of the playback start point, where 1 indicates that the playback starts from the indicated time or number of frames. If the substitution is 0, it means that the playback starts from the initial playback time.
  • PlayByTime “180” is the specific playback starting point, 180 can be 180 seconds (minutes) or 180 frames, and "actionSource”: “myPhone” indicates that the action initiator is The first terminal device, "shareMediaURI”: “/shareMedia/dc12ea.ts” indicates that the stored multimedia data is stored in the first terminal device.
  • the second terminal device receives the sharing instruction of the first terminal device, send a multimedia acquisition request to the first terminal device, where the sharing instruction carries the playback start point information and the file identifier of the multimedia file, and the multimedia acquisition request carries at least the multimedia file.
  • File identification
  • the second terminal device when the second terminal device receives the sharing instruction, generate a multimedia acquisition request based on the playback start information and the file identifier carried in the sharing instruction, and send the multimedia acquisition request to the connected device. Sending a multimedia acquisition request to the first terminal device by the connection device.
  • the second terminal device sends the first multimedia acquisition request to the first terminal device, when the sharing instruction carries the first playback start information and the file identifier, based on the two playback start information in step 302.
  • the first multimedia acquisition request is used to request multimedia data of a preset duration after the initial playing time of the multimedia file; or, when the second playback starting point information and the file identifier carried by the sharing instruction, the second terminal device sends the first terminal device to the first terminal device Sending a second multimedia acquisition request, where the second acquisition request is used to request multimedia data of a preset duration after the current playing time of the multimedia file.
  • the second terminal device may extract the first play start information or the second play start point information from the sharing instruction, where the first play start information indicates that the second terminal device plays the multimedia file from the beginning, so the second terminal device requests Obtaining the multimedia data from the beginning; the second playback starting point information indicates that the second terminal device continues to play the multimedia file from the current playing time, and therefore, the second terminal device requests to acquire the multimedia data after the current playing time.
  • the information carried in the multimedia acquisition request is not specifically limited in the embodiment of the present disclosure.
  • the multimedia acquisition request may further carry the playback start point information, so that the first terminal device can selectively send the multimedia data corresponding to the playback start point information to the second terminal device.
  • the multimedia data is sent to the second terminal device according to the multimedia acquisition request.
  • the file identifier in the multimedia acquisition request may be extracted, and the corresponding stored multimedia data is queried based on the file identifier, and the multimedia data is sent to the second terminal device.
  • the first terminal device may determine a start playing time of the stored multimedia data in the multimedia file, and based on the play starting point information in the multimedia acquiring request, The multimedia data that matches the playback start point information at the start of playback is transmitted to the second terminal device.
  • the second terminal device acquires the multimedia data of the first terminal device, play the multimedia file based on the multimedia data.
  • the second terminal device can immediately start playing the multimedia file based on the received multimedia data while receiving the multimedia data.
  • the embodiment of the present disclosure can directly store the stored multimedia data to the first time when the first terminal device shares the multimedia file to the second terminal device by using the multimedia data in the multimedia file during the playing process of the multimedia file.
  • the second terminal device does not need to be connected to the server with the routing distance first, so that the second terminal device can quickly start playing the multimedia file while receiving the multimedia data, thereby improving the continuity of the playing process.
  • the second terminal device obtains, by the server, specified multimedia data corresponding to the file identifier, where the specified multimedia data includes at least target multimedia data, where the target multimedia data is multimedia of the multimedia file that is successively connected to the multimedia data acquired from the first terminal device. data.
  • the second terminal device can acquire the specified multimedia data from the server.
  • the specific manner in which the specified multimedia data is obtained is not limited in the embodiment of the present disclosure. For example, you can use at least three acquisition methods:
  • the second terminal device determines the initial playing time of the multimedia file as the starting point of the acquisition, and obtains the specified multimedia data from the server according to the file identifier and the obtaining starting point, and the specified multimedia data includes the complete multimedia data corresponding to the multimedia file.
  • the process of intercepting the multimedia data from the multimedia file is omitted, and the second terminal device can directly obtain the complete multimedia data corresponding to the multimedia file from the server.
  • the second terminal device may determine the initial playing time as the acquiring starting point, and send a multimedia data acquiring request carrying the obtaining starting point and the file identifier to the server, so that when the server receives the multimedia data obtaining request, the server may directly identify the file identifier. Querying the corresponding multimedia file, and transmitting the complete multimedia data to the second terminal device according to the obtaining starting point.
  • the second terminal device determines, according to the playback start point information, the play start point indicated by the play start point information as the acquisition start point, and obtains the specified multimedia data from the server according to the file identifier and the acquisition start point, and the specified multimedia data includes at least the target multimedia data and Multimedia data acquired from the first terminal device.
  • the multimedia data acquired from the server can be connected to the multimedia data acquired from the first terminal device.
  • the second terminal device can obtain part of the multimedia data in the multimedia file from the server.
  • the second terminal device may determine the play starting point indicated by the play start information as the acquisition start point, so that the server may determine, according to the acquisition start point, the play time of the multimedia data to be sent in the multimedia file, and intercept the play time.
  • the multimedia data is sent to the second terminal device.
  • the acquisition mode 3 the second terminal device determines, according to the playback start point information and the duration of the multimedia data, the time between the playback start point and the duration of the multimedia data acquired from the first terminal device as the acquisition starting point, according to the file identifier and the acquisition starting point.
  • the specified multimedia data is obtained from the server, and the specified multimedia data includes multimedia data of the multimedia file that is temporally connected to the multimedia data acquired from the first terminal device.
  • the multimedia data acquired from the server can just follow the multimedia data acquired from the first terminal device.
  • the second terminal device can obtain the multimedia data of the multimedia file in the multimedia file in time from the server.
  • the second terminal device may determine the sum of the playback start point and the acquired multimedia data as the acquisition starting point, and send the multimedia data request carrying the acquisition starting point and the file identifier to the server, so that the server intercepts the multimedia file.
  • the multimedia data after the acquisition of the starting point is sent to the second terminal device.
  • the second terminal device can also store the acquired specified multimedia data, and the storage mode and the storage location are the same as the storage mode and the storage location of the first terminal device.
  • the above three acquisition modes correspond to the playback start information as the playback time.
  • the playback start information when it is in the form of a frame number, it can also correspond to at least three acquisition modes, for example, acquisition mode 4, and the second terminal device will use the multimedia file.
  • the initial play frame number is determined to obtain the start frame number
  • the specified multimedia data is obtained from the server according to the file identifier and the start frame number
  • the specified multimedia data includes the complete multimedia data corresponding to the multimedia file
  • the acquisition mode 5 the second terminal device Determining, according to the playback start point information, the play start frame number indicated by the play start information as the get start frame number, acquiring the specified multimedia data from the server according to the file identifier and obtaining the start frame number, and specifying the multimedia data to include at least the target multimedia data. And the multimedia data; the obtaining mode 6.
  • the step may be performed in parallel with step 305, or the step may also be performed when the multimedia data is completed in step 305.
  • the second terminal device continues to play the multimedia file based on the specified multimedia data.
  • the second terminal device may continue to play the multimedia file based on the target multimedia data in the specified multimedia data.
  • the corresponding continuous playback process may be specifically as follows:
  • the second terminal device acquires the target playing time according to the playing start point information and the duration of the multimedia data, and the target playing time is the time of the multimedia data after the playing start point indicated by the playing start information, and plays the multimedia file based on the multimedia data.
  • the playback starts from the target playback time of the multimedia file.
  • the playing process may correspond to the obtaining mode 1 or 2. Since the specified multimedia data includes the target multimedia data but has a longer duration, the second terminal device may play the starting point and the multimedia in order to just continue the played multimedia file and maintain the playing consistency. The next moment of the moment of the sum of the durations of the data is acquired as the target playing time, and the multimedia data after the target playing time in the specified multimedia data is intercepted, so that when the playing process of step 305 is completed, the playback of the multimedia data based on the intercepted multimedia data is continued. Multimedia files.
  • the playing process 2 the second terminal device acquires the target playing frame number according to the playing start point information and the number of frames of the multimedia data, and the target playing frame number is the frame number of the frame number of the multimedia data after the playing start frame number indicated by the playing start point information
  • the playback starts from the target playback frame number of the multimedia file based on the specified multimedia data.
  • the playing process can correspond to the obtaining mode 4 or 5, which is the same as the playing process 1. However, during the playing, the second terminal device acquires the next frame number of the frame number of the sum of the starting frame number and the number of frames of the multimedia data as the target playing frame number.
  • the playing process 3 the second terminal device plays the specified multimedia data.
  • the playback process may correspond to the acquisition mode 3 or 6. Since the specified multimedia data just follows the multimedia data acquired from the first terminal device, when the playback process of step 305 is completed, the specified multimedia data may be directly played.
  • FIG. 4 is a block diagram of a multimedia data sharing apparatus according to an embodiment of the present disclosure.
  • the apparatus includes:
  • a storage module 401 configured to perform the process involved in step 301 above;
  • the sending module 402 is configured to perform the processes involved in steps 302 and 304 above;
  • the receiving module 403 is configured to perform the process involved in step 304 above.
  • the embodiment of the present disclosure can directly store the stored multimedia data to the first time when the first terminal device shares the multimedia file to the second terminal device by using the multimedia data in the multimedia file during the playing process of the multimedia file.
  • the second terminal device does not need to be connected to the server with the routing distance first, so that the second terminal device can quickly start playing the multimedia file while receiving the multimedia data, thereby improving the continuity of the playing process.
  • FIG. 5 is a block diagram of a multimedia data sharing apparatus according to an embodiment of the present disclosure.
  • the device includes:
  • the receiving module 501 is configured to perform the process involved in step 303 above;
  • the sending module 502 is configured to perform the process involved in step 303 above;
  • the obtaining module 503 is configured to perform the process involved in step 305 above;
  • the playing module 504 is configured to perform the process involved in step 305 above.
  • the embodiment of the present disclosure receives the multimedia data of the first terminal device, and the second terminal device does not need to be connected to the server having the routing distance first, so that the second terminal device can The multimedia file is quickly started to be played while receiving the multimedia data, thereby improving the continuity of the playback process.
  • the obtaining module 503 is further configured to perform the process involved in step 306 above.
  • the playing module 504 is further configured to perform the process involved in step 307 above.
  • multimedia data sharing device provided by the foregoing embodiment is only illustrated by the division of each functional module in the multimedia data sharing. 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 perform all or part of the functions described above.
  • the embodiment of the multimedia data sharing device and the multimedia data sharing method provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

L'invention se rapporte au domaine des terminaux multimédias et spécifiquement à un procédé et un dispositif de partage de données multimédias. Le procédé comprend les étapes consistant à : stocker, dans un processus de lecture d'un fichier multimédia, des données multimédias dans le fichier multimédia ; transmettre, lors de la détection d'une opération de partage, l'instruction de partage à un second appareil terminal, l'instruction de partage contenant des informations de point de départ de lecture et un identifiant de fichier du fichier multimédia ; recevoir une requête d'acquisition de données multimédias du second appareil terminal, la requête d'acquisition de données multimédias contenant les informations de point de départ de lecture et l'identifiant de fichier ; et transmettre, conformément à la requête d'acquisition multimédia, les données multimédias au second appareil terminal. Dans le mode de réalisation, en stockant des données multimédias dans un fichier multimédia pendant un processus de lecture du fichier multimédia, le premier appareil terminal peut partager le fichier multimédia au second appareil terminal et transmettre directement les données multimédias stockées au second appareil terminal, de façon à permettre au second appareil terminal de démarrer rapidement la lecture du fichier multimédia, améliorant ainsi la continuité du processus de lecture.
PCT/CN2018/076482 2017-03-06 2018-02-12 Procédé et dispositif de partage de données multimédias WO2018161788A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710127820.0 2017-03-06
CN201710127820.0A CN106953899A (zh) 2017-03-06 2017-03-06 多媒体数据共享方法及装置

Publications (1)

Publication Number Publication Date
WO2018161788A1 true WO2018161788A1 (fr) 2018-09-13

Family

ID=59467759

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076482 WO2018161788A1 (fr) 2017-03-06 2018-02-12 Procédé et dispositif de partage de données multimédias

Country Status (2)

Country Link
CN (1) CN106953899A (fr)
WO (1) WO2018161788A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891124A (zh) * 2021-11-04 2022-01-04 北京欧珀通信有限公司 音视频播放方法、装置、电子设备、服务器及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953899A (zh) * 2017-03-06 2017-07-14 华为技术有限公司 多媒体数据共享方法及装置
CN107465606A (zh) * 2017-09-18 2017-12-12 刘柏铄 多媒体信息共享方法、***和存储设备
CN111147919A (zh) * 2019-12-31 2020-05-12 维沃移动通信有限公司 一种播放调整方法、电子设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500232A (zh) * 2013-10-25 2014-01-08 乐视网信息技术(北京)股份有限公司 一种多媒体数据共享方法及电子设备
CN104519051A (zh) * 2014-11-24 2015-04-15 深圳市金立通信设备有限公司 一种多媒体数据共享方法及终端
CN106028125A (zh) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 一种多媒体分享方法和装置
CN106953899A (zh) * 2017-03-06 2017-07-14 华为技术有限公司 多媒体数据共享方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581367A (zh) * 2015-01-04 2015-04-29 华为技术有限公司 分享多媒体内容的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500232A (zh) * 2013-10-25 2014-01-08 乐视网信息技术(北京)股份有限公司 一种多媒体数据共享方法及电子设备
CN104519051A (zh) * 2014-11-24 2015-04-15 深圳市金立通信设备有限公司 一种多媒体数据共享方法及终端
CN106028125A (zh) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 一种多媒体分享方法和装置
CN106953899A (zh) * 2017-03-06 2017-07-14 华为技术有限公司 多媒体数据共享方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891124A (zh) * 2021-11-04 2022-01-04 北京欧珀通信有限公司 音视频播放方法、装置、电子设备、服务器及存储介质

Also Published As

Publication number Publication date
CN106953899A (zh) 2017-07-14

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
US10834432B2 (en) Method, device and system for in-sequence live streaming
WO2017202348A1 (fr) Procédé et dispositif de lecture vidéo, et support d'informations informatique
WO2017206916A1 (fr) Procédé de détermination d'une configuration d'exécution de noyau dans un processeur et produit correspondant
EP3525417A1 (fr) Procédé de traitement de données, dispositif, support de stockage, dispositif électronique, et serveur
WO2016150270A1 (fr) Procédé et appareil pour traiter un message de session de groupe
WO2017020663A1 (fr) Procédé et appareil de diffusion vidéo en direct de commentaire en direct, dispositif de source vidéo, et dispositif d'accès au réseau
CN108040091B (zh) 数据处理方法、装置及存储介质
CN107332976B (zh) K歌方法、装置、设备及***
WO2015090248A1 (fr) Procédé et dispositif de protection contre la surcharge d'un serveur
CN103391473B (zh) 一种提供及获取音视频的方法和装置
CN107333162B (zh) 一种播放直播视频的方法和装置
WO2015143900A1 (fr) Procédé, appareil et système de partage de données dans une conférence en réseau
WO2018095130A1 (fr) Procédé et système de détermination de durée de diffusion en continu en direct
CN106254910B (zh) 一种记录图像的方法和装置
WO2018161788A1 (fr) Procédé et dispositif de partage de données multimédias
WO2015032249A1 (fr) Procédé, système, dispositif et terminal d'initialisation par réseau de dispositif de lecture multimédia
US10675541B2 (en) Control method of scene sound effect and related products
CN113986167A (zh) 投屏控制方法、装置、存储介质及显示设备
WO2015131768A1 (fr) Procédé, appareil et système de traitement de vidéo
WO2017215661A1 (fr) Procédé de contrôle d'effet sonore basé sur un scénario, et dispositif électronique
WO2018049971A1 (fr) Procédé de commutation de réseau à point d'accès sans fil et terminaux
WO2018040813A1 (fr) Procédé de communication audiovisuelle, terminal, serveur et support d'informations
WO2017096909A1 (fr) Procédé et appareil d'établissement de connexion de données
CN109495769B (zh) 视频通信方法、终端、智能电视、服务器及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18763336

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

Country of ref document: EP

Kind code of ref document: A1