CN117616744A - Multimedia data playing method and device, electronic equipment and storage medium - Google Patents
Multimedia data playing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117616744A CN117616744A CN202280004647.4A CN202280004647A CN117616744A CN 117616744 A CN117616744 A CN 117616744A CN 202280004647 A CN202280004647 A CN 202280004647A CN 117616744 A CN117616744 A CN 117616744A
- Authority
- CN
- China
- Prior art keywords
- multimedia data
- playing
- electronic device
- target
- electronic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000004044 response Effects 0.000 claims abstract description 26
- 238000001514 detection method Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 description 19
- 238000012545 processing Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000003825 pressing Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a multimedia data playing method, a device, electronic equipment and a storage medium, and relates to the technical field of multimedia. The method comprises the following steps: displaying a playing interface of the multimedia data; in response to detecting a target sliding operation in the play interface, displaying device information, the device information representing a second electronic device connected to the current first electronic device; and responding to the position of the target sliding operation in the display area of the equipment information, and switching the multimedia data to the second electronic equipment for playing. The scheme for switching and playing the multimedia data through the target sliding operation can be realized only by executing the target sliding operation in the playing interface, the operation is very convenient, and the multimedia data can be rapidly switched between different electronic devices.
Description
The present invention relates to the field of multimedia technologies, and in particular, to a method and apparatus for playing multimedia data, an electronic device, and a storage medium.
As electronic devices increasingly appear in the lives of people, different electronic devices can relay to complete certain works, and great convenience is brought to the use of people.
Taking a scene of playing the multimedia data as an example, in the process of playing the multimedia data through the first electronic device, a user clicks a function option on the first electronic device to call out a function menu, clicks a screen throwing option in the function menu, and can switch the multimedia data to the second electronic device for playing. However, the operations performed in the above-described processes are cumbersome.
Disclosure of Invention
The embodiment of the application provides a multimedia data playing method, a device, electronic equipment and a storage medium, which can realize fast switching of multimedia data among different electronic equipment and are very convenient to operate. The technical scheme is as follows:
according to one aspect of the present application, there is provided a multimedia data playing method, the method including:
displaying a playing interface of the multimedia data;
in response to detecting a target sliding operation in the play interface, displaying device information, the device information representing a second electronic device connected to the current first electronic device;
And responding to the position of the target sliding operation in the display area of the equipment information, and switching the multimedia data to the second electronic equipment for playing.
According to another aspect of the present application, there is provided a multimedia data playing device, the device comprising:
the display module is used for displaying a playing interface of the multimedia data;
the display module is further used for responding to the detection of the target sliding operation in the playing interface and displaying equipment information, wherein the equipment information represents second electronic equipment connected with the current first electronic equipment;
and the switching module is used for switching the multimedia data to the second electronic equipment for playing in response to the fact that the position of the target sliding operation is located in the display area of the equipment information.
According to another aspect of the present application, there is provided an electronic device including:
a processor;
volatile or non-volatile memory for storing executable program code;
wherein the processor is configured to load and execute the executable program code to implement the multimedia data playing method of the above aspect.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein executable program code loaded and executed by a processor to implement the multimedia data playing method as described in the above aspect.
The embodiment of the application provides a scheme for switching and playing multimedia data through target sliding operation, by executing the target sliding operation in a playing interface, the process of switching and playing can be initiated, and the target sliding operation can be moved to a display area of equipment information so as to select second electronic equipment for playing the multimedia data, so that the multimedia data is switched to the second electronic equipment for playing, the switching and playing process can be realized by only executing the target sliding operation in the playing interface, the operation is very convenient, and the rapid switching of the multimedia data between different electronic equipment can be realized.
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
fig. 2 is a flowchart illustrating a multimedia data playing method according to an exemplary embodiment of the present application;
Fig. 3 is a flowchart illustrating a multimedia data playing method according to another exemplary embodiment of the present application;
fig. 4 is a flowchart illustrating a multimedia data playing method according to another exemplary embodiment of the present application;
fig. 5 is a flowchart illustrating a multimedia data playing method according to another exemplary embodiment of the present application;
fig. 6 illustrates a block diagram of a multimedia data playing device according to an exemplary embodiment of the present application;
fig. 7 shows a block diagram of an electronic device provided in an exemplary embodiment of the present application.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description, when taken in conjunction with the accompanying drawings, refers to the same or similar elements in different drawings, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Depending on the context, for example, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination".
It should be noted that, information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, played data, etc.), and signals related to the present application are all authorized by the user or are fully authorized by the parties, and the collection, use, and processing of relevant data is required to comply with relevant laws and regulations and standards of relevant countries and regions.
The following describes the environment in which the present application is implemented:
fig. 1 is a schematic diagram of an implementation environment provided in an exemplary embodiment of the present application, please refer to fig. 1, the implementation environment includes: a first electronic device 101 and a second electronic device 102, the first electronic device 101 and the second electronic device 102 being connected.
The first electronic device 101 and the second electronic device 102 are smart phones, tablet computers, notebook computers, desktop computers, smart televisions, and the like, and the first electronic device 101 and the second electronic device 102 are electronic devices of the same type or different types.
In the process of playing the multimedia data by the first electronic device 101, the user performs a sliding operation on the first electronic device 101, so that the multimedia data can be switched to the second electronic device 102 for playing, and the user can conveniently switch the electronic devices for playing the multimedia data.
For example, the first electronic device 101 is a mobile phone, the second electronic device 102 is a smart tv, after a user views multimedia data on the mobile phone, the user can switch the multimedia data to the tv to play by performing a sliding operation on the mobile phone, and the user can control the multimedia data to pause playing, fast forward or fast backward by using a remote controller of the smart tv.
In some embodiments, the first electronic device 101 runs a target application through which the multimedia data is played. And the second electronic device 102 installs the target application so that the data source of the first electronic device 101 can be inherited in the second electronic device 102, i.e. the multimedia data is played in the second electronic device 102 by the target application. Or, if the second electronic device 102 does not install the target application, the first electronic device 101 and the second electronic device 102 perform real-time transmission, that is, the first electronic device 101 continues to play the multimedia data, and the played multimedia data is provided to the second electronic device 102 as a data source, so that the multimedia data is played in the second electronic device 102.
The following describes a method flow of playing multimedia data in the present application:
fig. 2 is a flowchart of a multimedia data playing method according to an exemplary embodiment of the present application, and referring to fig. 2, the method is performed by the first electronic device 101 shown in fig. 1, and the method includes at least some of the following:
step 201: the first electronic device displays a playing interface of the multimedia data.
The multimedia data is of the type of video, audio, image or document, and the playing interface of the multimedia data is used for displaying part of or all of the content of the multimedia data, and aiming at the multimedia data of the type of video, audio, image or document, the displaying mode in the playing interface can be respectively playing video pictures, displaying audio covers, displaying images or displaying document content, and the like. The embodiment of the application does not limit the type of the multimedia data and the display mode of the playing interface.
Step 202: in response to detecting the target sliding operation in the playback interface, the first electronic device displays device information that indicates a second electronic device connected to the current first electronic device.
The target sliding operation is an operation of sliding one or more fingers in the playing interface, and the device information is a device image used for representing the second electronic device, or a device name or other types of information of the second electronic device, and the device information can refer to the second electronic device.
The first electronic device detects the target sliding operation and indicates that the user wants to switch the currently played multimedia data to the connected second electronic device for playing, so that the first electronic device displays the device information indicating the second electronic device, and then the multimedia data is switched to the second electronic device for playing by triggering the device information.
In this embodiment of the present application, a connection is established between a first electronic device and a second electronic device, where the connection may be a WiFi (Wireless Fidelity ) connection, a bluetooth connection, or a hotspot connection, where a WiFi connection refers to a connection established when the first electronic device and the second electronic device are connected to the same WiFi access point, a bluetooth connection refers to a connection established between the first electronic device and the second electronic device through respective bluetooth modules, and a hotspot connection refers to a hotspot where one of the first electronic device and the second electronic device serves as another electronic device. The first electronic device and the second electronic device are connected, the distance between the first electronic device and the second electronic device is required to be within a certain range, and a user can conveniently use the second electronic device when using the first electronic device.
In addition, the number of the second electronic devices is one or more, which is not limited in the embodiment of the present application.
In some embodiments, in response to the target sliding operation, the first electronic device pauses playing the multimedia data while displaying the device information. If the display of the device information is subsequently canceled, playback of the multimedia data is resumed.
Step 203: the position responding to the target sliding operation is located in the display area of the device information, and the first electronic device switches the multimedia data to the second electronic device to play.
In the process of executing the target sliding operation, the first electronic device displays the device information, and at this time, the user can continue to execute the target sliding operation, so as to slide to the display area of the device information, that is, indicate that the user agrees to switch the multimedia data to the second electronic device represented by the device information for playing. The first electronic device switches the multimedia data to the second electronic device for playing.
The embodiment of the application provides a scheme for switching and playing multimedia data through target sliding operation, by executing the target sliding operation in a playing interface, the process of switching and playing can be initiated, and the target sliding operation can be moved to a display area of equipment information so as to select second electronic equipment for playing the multimedia data, so that the multimedia data is switched to the second electronic equipment for playing, the switching and playing process can be realized by only executing the target sliding operation in the playing interface, the operation is very convenient, and the rapid switching of the multimedia data between different electronic equipment can be realized.
Fig. 3 is a flowchart of a multimedia data playing method according to another exemplary embodiment of the present application, and referring to fig. 3, the method is performed by the first electronic device 101 shown in fig. 1, and the method includes at least some of the following:
step 301: the first electronic device displays a playing interface of the multimedia data.
This step 301 is similar to the step 201 described above and will not be described again.
Step 302: and in response to the detection of the target sliding operation in the playing interface, the first electronic device displays a device image corresponding to the second electronic device in the playing interface.
The device image represents the second electronic device, and a user can view the device image to know that the first electronic device is currently connected with the second electronic device. The displayed device image can intuitively and vividly refer to the second electronic device, so that a user can conveniently and accurately move the target sliding operation to the display area of the device image, and the user operation is facilitated.
The device image may be a real image of the second electronic device, and may be obtained by the first electronic device from the second electronic device. Alternatively, the device image may be a device image matching the device type to which the second electronic device belongs, i.e. the step 302 includes: and responding to the detection of the target sliding operation in the playing interface, acquiring a reference device image corresponding to the device type based on the device type of the second electronic device, and displaying the reference device image in the playing interface, wherein the reference device image contains device type information.
The device type information is used for describing the device type, and may include a name of the device type, or information such as an electronic device belonging to the device type.
In the case where the device type information includes the electronic device belonging to the device type, the reference device image corresponding to the device type to which the second electronic device belongs includes the same electronic device as the second electronic device type, and although the electronic device in the reference device image is not necessarily the second electronic device itself, the second electronic device can be referred to some extent. For example, the second electronic device is a mobile phone and the reference device image also includes a mobile phone, or the second electronic device is a television and the reference device image also includes a television. Therefore, the second electronic device is referred to by the reference device image containing the same type of electronic device, the second electronic device can be indicated without acquiring the image of the second electronic device, and the operation flow is simplified.
In the case where the device type information includes the name of the device type, a reference device image containing the name of the device type is displayed in the playback interface, and the user can determine which device type the second electronic device belongs to, so that the reference device image functions as an indication of the second electronic device.
Step 303: the position responding to the target sliding operation is located in the display area of the device image, and the first electronic device switches the multimedia data to the second electronic device to play.
When the user just starts to execute the target sliding operation in the playing interface, the first electronic device displays the device image, then the user continues to execute the target sliding operation, and the position of the target sliding operation is moved to the display area of the device image, which indicates that the user selects the second electronic device and hopes to switch the multimedia data to the second electronic device for playing.
In some embodiments, the target sliding operation is a sliding operation of a finger, and the position of the target sliding operation is the current position of the finger.
In other embodiments, the target sliding operation is a sliding operation of a target number of fingers, and if the target number is greater than 1, the movement of the position of the target sliding operation to the display area of the device image means: the target number of fingers each slides to a display area of the device image. That is, the first electronic device switches the multimedia data to the second electronic device for playing in response to the target number of fingers sliding to the display area of the device image.
It should be noted that, in the embodiment of the present application, the device information of the second electronic device is taken as an example of a device image, and in other embodiments, the device information may also be information such as a device name.
The embodiment of the application provides a scheme for switching and playing multimedia data through target sliding operation, by executing the target sliding operation in a playing interface, the process of switching and playing can be initiated, and the target sliding operation can be moved to a display area of equipment information so as to select second electronic equipment for playing the multimedia data, so that the multimedia data is switched to the second electronic equipment for playing, the switching and playing process can be realized by only executing the target sliding operation in the playing interface, the operation is very convenient, and the rapid switching of the multimedia data between different electronic equipment can be realized. The displayed device image can intuitively and vividly refer to the second electronic device, so that a user can conveniently and accurately move the target sliding operation to the display area of the device image, and the user operation is facilitated.
In addition, the second electronic device is referred to by the reference device image containing the same type of electronic device, the second electronic device can be indicated without acquiring the image of the second electronic device, and the operation flow is simplified.
Fig. 4 is a flowchart of a multimedia data playing method according to another exemplary embodiment of the present application, referring to fig. 4, the method is performed by the first electronic device 101 shown in fig. 1, and the method is exemplified by a case where the first electronic device 101 is connected to a plurality of second electronic devices 102, and the method includes at least some of the following:
step 401: the first electronic device displays a playing interface of the multimedia data.
This step 401 is similar to step 201 described above and will not be described again.
Step 402: and in response to the detection of the target sliding operation in the playing interface, the first electronic device displays device information corresponding to the plurality of second electronic devices in the playing interface.
In this embodiment of the present invention, when a user performs a target sliding operation in a playing interface, the first electronic device responds to the target sliding operation and displays a plurality of device information in the playing interface. Each piece of equipment information represents a second electronic equipment, and a user can view the plurality of pieces of equipment information to know which second electronic equipment the first electronic equipment is connected with currently.
In some embodiments, the first electronic device displays device images corresponding to the plurality of second electronic devices in the playback interface. The device image may be a real image of the second electronic device, and may be obtained by the first electronic device from the second electronic device. Alternatively, the device image may be a device image matching the type to which the second electronic device belongs, that is, the step 402 includes: and responding to the detection of the target sliding operation in the playing interface, acquiring a reference device image corresponding to the device type based on the device type of the second electronic device, and displaying the reference device image in the playing interface, wherein the reference device image contains device type information.
The device type information is used to describe the device type, and may include a name of the device type, or include an electronic device belonging to the device type, etc.
In the case that the device type information includes electronic devices belonging to the device type, the first electronic device determines a reference device image corresponding to one or more device types, and the reference device image corresponding to the device type to which the second electronic device belongs includes electronic devices of the same type as the second electronic device, and although the electronic devices in the reference device image are not necessarily the second electronic device itself, they can refer to the second electronic device to a certain extent. For example, the second electronic device is a mobile phone and the reference device image also includes a mobile phone, or the second electronic device is a television and the reference device image also includes a television.
When the first electronic device is connected with the plurality of second electronic devices, the reference device images corresponding to the plurality of second electronic devices can be displayed in the mode. The second electronic equipment is referred to by the reference equipment image containing the same type of electronic equipment, and different reference equipment images are displayed, so that a user can conveniently distinguish different second electronic equipment without acquiring the images of the second electronic equipment, the function of indicating the second electronic equipment is achieved, and the operation flow is simplified.
In the case where the device type information includes the name of the device type, an image containing the name of the device type is displayed in the playback interface, and the user can determine which device type the second electronic device belongs to, so that the reference device image functions as an indication of the second electronic device.
In addition, when at least two second electronic devices are the same in type, at least two identical reference device images are displayed, and at this time, other device information of the at least two second electronic devices, such as device names or device numbers, may also be displayed, so as to distinguish different second electronic devices.
Step 403: and responding to the position of the target sliding operation in the display area of the target equipment information, determining the target electronic equipment corresponding to the target equipment information by the first electronic equipment, and switching the multimedia data to the target electronic equipment for playing.
Wherein the target device information is any one of the displayed plurality of device information.
When the user just starts to execute the target sliding operation in the playing interface, the first electronic device displays a plurality of pieces of device information, then the user continues to execute the target sliding operation, and the position of the target sliding operation is moved to the display area of the target device information, which indicates that the user selects the target electronic device corresponding to the target device information, and hopes to switch the multimedia data to the target electronic device corresponding to the target device information for playing.
Therefore, when the first electronic device is connected with the plurality of second electronic devices, the device information of the plurality of second electronic devices is displayed for the user to select, and the user only needs to move the target sliding operation to the display area of the required device information, and does not need to execute additional operation of screening the second electronic devices.
In some embodiments, the target sliding operation is a sliding operation of a finger, and the position of the target sliding operation is the current position of the finger.
In other embodiments, the target sliding operation is a sliding operation of a target number of fingers, and if the target number is greater than 1, the movement of the position of the target sliding operation to the display area of the target device information means that: the target number of fingers are slid to the display area of the target device information. That is, the first electronic device switches the multimedia data to the target electronic device for playing in response to the target number of fingers sliding to the display area of the target device information. By adopting the sliding operation of a plurality of fingers, the situation that a user uses one finger to touch the display area by mistake can be avoided, the operation is more accurate, and the target electronic equipment to be selected by the user can be more accurately determined.
The embodiment of the application provides a scheme for switching and playing multimedia data through target sliding operation, by executing the target sliding operation in a playing interface, the process of switching and playing can be initiated, and the target sliding operation can be moved to a display area of equipment information so as to select second electronic equipment for playing the multimedia data, so that the multimedia data is switched to the second electronic equipment for playing, the switching and playing process can be realized by only executing the target sliding operation in the playing interface, the operation is very convenient, and the rapid switching of the multimedia data between different electronic equipment can be realized. And under the condition that the first electronic equipment is connected with the plurality of second electronic equipment, equipment information of the plurality of second electronic equipment is displayed for selection by a user, and the user only needs to move the target sliding operation to a display area of the required equipment information, so that additional operation of screening the second electronic equipment is not needed.
In addition, the second electronic device is referred to by the reference device image containing the same type of electronic device, the second electronic device can be indicated without acquiring the image of the second electronic device, and the operation flow is simplified.
Fig. 5 is a flowchart of a multimedia data playing method according to another exemplary embodiment of the present application, and referring to fig. 5, the method is performed by the first electronic device 101 shown in fig. 1, and the method includes at least some of the following:
step 501: the first electronic device displays a playing interface of the multimedia data.
In this embodiment of the present application, the first electronic device displays the playing interface of the multimedia data through the target application, where the target application is a video playing application, a video sharing application, or a social application, and the embodiment of the present application is not limited to this. The multimedia data may be multimedia data that has been downloaded by the target application or multimedia data that is played online by the target application. For example, the application server corresponding to the target application sends the data stream of the multimedia data to the first electronic device, and the first electronic device plays the multimedia data based on the data stream through the target application.
Step 502: in response to detecting the target sliding operation in the playback interface, the first electronic device displays device information, and step 503 or 504 is performed.
Wherein the device information indicates a second electronic device connected to the current first electronic device.
In the embodiment of the present application, the switching playing may be performed in different manners according to whether the second electronic device is installed with the target application, and the specific procedure is described in the following steps 503 and 504.
Step 503: and the first electronic device sends a switching play instruction to the second electronic device under the condition that the second electronic device is provided with the target application, wherein the switching play instruction is used for requesting the second electronic device to play the multimedia data through the target application.
In the case that the second electronic device has installed the target application, the multimedia data can also be played by the target application by itself, and the first electronic device no longer needs to provide a data source for the second electronic device. Therefore, the first electronic device sends a play switching instruction to the second electronic device, and the second electronic device can be requested to play the multimedia data through the target application.
The switching playing instruction carries a data identifier of the multimedia data, the data identifier is a name, a number, a playing address or the like of the multimedia data, and the second electronic device can play the multimedia data in the target application based on the data identifier. In addition, besides the data identifier, the play switching instruction can also carry the play progress of the multimedia data, such as the page number of a document, the play time point of a video, the play time point of an audio, and the like, so that the second electronic device can start to play the multimedia data from the position indicated by the play progress based on the play progress, thereby realizing the scheme of automatic continuous play and avoiding repeated play of the multimedia data.
In some embodiments, in order to avoid resource waste, the first electronic device may pause playing the multimedia data, and at this time, the target application may be run in the background, that is, the first electronic device no longer displays a playing interface of the multimedia data, and also no longer plays the voice contained in the multimedia data. Or the foreground is kept to run the target application, and a switching playing interface is displayed in the target application to prompt a user to switch the multimedia data to be played on the second electronic device, and when the exit operation is detected, the target application is switched to the background operation, so that the user can watch the multimedia data on the second electronic device and can use other functions of the first electronic device.
In other embodiments, when the second electronic device closes the multimedia data, or after playing the multimedia data, the second electronic device stops playing the multimedia data and notifies the first electronic device, the first electronic device automatically restores the target application to the foreground operation, and displays the prompt information of the end of playing in the target application, or when the user reopens the target application on the first electronic device, displays the prompt information of the end of playing in the target application.
Step 504: and the position responding to the target sliding operation is positioned in the display area of the equipment information, and under the condition that the target application is not installed in the second electronic equipment, the target application is operated in the background of the first electronic equipment, and the multimedia data is synchronously transmitted to the second electronic equipment for playing.
Under the condition that the target application is not installed in the second electronic equipment, the first electronic equipment can continuously play the multimedia data without the target application, the multimedia data is used as a data source of the second electronic equipment, the multimedia data is synchronously transmitted to the second electronic equipment for playing, and the second electronic equipment can synchronously play the multimedia data with the first electronic equipment.
And, considering that the user can watch the multimedia data on the second electronic device, but can not continue to watch the multimedia data on the first electronic device, the target application is operated in the background of the first electronic device, that is, the first electronic device does not display the playing interface of the multimedia data any more, and also does not play the voice contained in the multimedia data any more. So that the user can view multimedia data on the second electronic device and can use other functions of the first electronic device.
In some embodiments, considering that the user presses the playing interface when starting to perform the target sliding operation in the playing interface, in order to improve the operation efficiency, the first electronic device may obtain the currently played multimedia data for subsequent use in response to the pressing operation in the playing interface. And after the user presses, sliding is performed, the first electronic device detects the target sliding operation, the acquired multimedia data can be packaged at the moment to obtain a data packet, and then the packaged data packet can be transmitted to the second electronic device when the position of the target sliding operation is positioned in the display area of the device information, so that the data packet is analyzed on the second electronic device to obtain the multimedia data, and the multimedia data is played. The multimedia data is obtained in advance, and the packaging operation is performed in advance, so that the processing speed is increased, and the speed of switching and playing the multimedia data is increased.
In one possible implementation manner of the foregoing embodiment, in response to a pressing operation in the playing interface, the first electronic device may first detect a connection condition of the first electronic device, and determine a second electronic device connected to the first electronic device. This process includes two cases, one of which is: in a case where the first electronic device has been connected to the second electronic device, the first electronic device may detect the second electronic device in response to the pressing operation. And then, the device information of the second electronic device can be displayed in response to the target sliding operation. And the other is: when the first electronic device is not connected with other electronic devices, the first electronic device does not detect the connected electronic devices in response to the pressing operation, prompt information can be displayed at the moment, a user is inquired whether the user needs to be connected with one electronic device, after the user confirms that the user is connected with the second electronic device confirmed by the user, after the connection, the device information of the second electronic device can be displayed in response to the target sliding operation.
In some embodiments, during the process of playing the multimedia data by the second electronic device, the user may perform some operations on the multimedia data by the second electronic device, but because the multimedia data is actually located on the first electronic device, the operations performed on the multimedia data need to be synchronized to the first electronic device, that is, the second electronic device sends an operation instruction to the first electronic device, where the operation instruction is used to instruct the second electronic device to perform the operations on the multimedia data, and after the first electronic device receives the operation instruction, in response to the operation instruction, the operations are performed on the multimedia data in the target application, so that it is ensured that the operations performed on the first electronic device and the second electronic device are the same. And then, based on the multimedia data after the operation is executed, continuing to play synchronously with the second electronic equipment.
Wherein the operation is a pause play operation, a continue play operation, a fast forward operation, a fast reverse operation, or the like. For example, the user performs a fast forward operation on the second electronic device, and sends a fast forward operation instruction to the first electronic device through the second electronic device, so that the fast forward operation can be performed on the multimedia data on the first electronic device, then the first electronic device sends the fast forward multimedia data fragment to the second electronic device, and the second electronic device can play the fast forward multimedia data fragment.
The operation instruction may carry operation information, where the operation information may include a type of operation, a current playing time point of the multimedia data, or other information, and the embodiment of the application is not limited to this.
In other embodiments, when the second electronic device closes the multimedia data, or after playing the multimedia data, the second electronic device stops playing the multimedia data and notifies the first electronic device, the first electronic device automatically restores the target application to the foreground operation, and displays the prompt information of the end of playing in the target application, or when the user reopens the target application on the first electronic device, displays the prompt information of the end of playing in the target application.
The embodiment of the application provides a scheme for switching and playing multimedia data through target sliding operation, by executing the target sliding operation in a playing interface, the process of switching and playing can be initiated, and the target sliding operation can be moved to a display area of equipment information so as to select second electronic equipment for playing the multimedia data, so that the multimedia data is switched to the second electronic equipment for playing, the switching and playing process can be realized by only executing the target sliding operation in the playing interface, the operation is very convenient, and the rapid switching of the multimedia data between different electronic equipment can be realized. And only the first electronic equipment is required to install the target application, and whether the second electronic equipment installs the target application or not can switch the multimedia data to the second electronic equipment for playing, so that the applicability is stronger, the required operation is simplified, and the user can easily complete equipment switching.
It should be noted that one or more of the embodiments shown in fig. 2-6 described above may be combined in any manner to form a new embodiment.
Fig. 6 is a block diagram of a multimedia data playing device according to an exemplary embodiment of the present application, and referring to fig. 6, the device includes:
A display module 601, configured to display a playing interface of the multimedia data;
the display module 601 is further configured to display device information in response to detection of a target sliding operation in the playback interface, where the device information indicates a second electronic device connected to the current first electronic device;
and the switching module 602 is configured to switch the multimedia data to the second electronic device for playing in response to the location of the target sliding operation being located in the display area of the device information.
The embodiment of the application provides a scheme for switching and playing multimedia data through target sliding operation, by executing the target sliding operation in a playing interface, the process of switching and playing can be initiated, and the target sliding operation can be moved to a display area of equipment information so as to select second electronic equipment for playing the multimedia data, so that the multimedia data is switched to the second electronic equipment for playing, the switching and playing process can be realized by only executing the target sliding operation in the playing interface, the operation is very convenient, and the rapid switching of the multimedia data between different electronic equipment can be realized.
In some embodiments, the display module 601 includes:
and the display unit is used for responding to the detection of the target sliding operation in the playing interface and displaying the device image corresponding to the second electronic device in the playing interface.
In some embodiments, the display unit is configured to:
in response to detection of a target sliding operation in the playing interface, acquiring a reference device image corresponding to the device type based on the device type to which the second electronic device belongs, wherein the reference device image contains device type information;
and displaying the reference device image in the playing interface.
In some embodiments, the switching module 602 is configured to:
responding to the position of the target sliding operation in the display area of the target equipment information, determining target electronic equipment corresponding to the target equipment information, and switching the multimedia data to the target electronic equipment for playing;
wherein the target device information is any one of the displayed plurality of device information.
In some embodiments, the target sliding operation is a sliding operation of a target number of fingers, the target number being greater than 1;
and the switching module 602 is configured to switch the multimedia data to the second electronic device for playing in response to the target number of fingers sliding to the display area of the device information.
In some embodiments, the multimedia data is played through a target application executed by the first electronic device, and the switching module 602 includes:
the first switching unit is used for suspending playing of the multimedia data under the condition that the second electronic equipment is provided with the target application, sending a switching playing instruction to the second electronic equipment, and requesting the second electronic equipment to play the multimedia data through the target application; or,
And the second switching unit is used for running the target application in the background of the first electronic equipment under the condition that the target application is not installed in the second electronic equipment, keeping the playing state of the multimedia data, and synchronously transmitting the multimedia data to the second electronic equipment for playing.
In some embodiments, the apparatus further comprises:
the operation module is used for receiving an operation instruction sent by the second electronic equipment, and the operation instruction is used for indicating the second electronic equipment to execute the operation on the multimedia data; and responding to the operation instruction, and executing the operation on the multimedia data in the target application.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the internal structure of the electronic device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Fig. 7 is a block diagram of an electronic device provided by an embodiment of the present disclosure. For example, the electronic device 700 may be configured to perform the steps performed by the electronic device in the multimedia data playing method provided in the above embodiments. Referring to fig. 7, an electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 706 provides power to the various components of the electronic device 700. Power supply components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 700.
The multimedia component 708 includes a screen between the electronic device 700 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. When the electronic device 700 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the electronic device 700. For example, the sensor assembly 714 may detect an on/off state of the electronic device 700, a relative positioning of the components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in position of the electronic device 700 or a component of the electronic device 700, the presence or absence of a user's contact with the electronic device 700, an orientation or acceleration/deceleration of the electronic device 700, and a change in temperature of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices, either wired or wireless. The electronic device 700 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short range communications.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein executable program code loaded and executed by a processor to implement the multimedia data playing method provided in the above respective method embodiments. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is provided for implementing the multimedia data playing method provided by the above respective method embodiments, when the computer program product is executed by a processor of an electronic device.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.
Claims (10)
- A method of playing multimedia data, the method comprising:displaying a playing interface of the multimedia data;in response to detecting a target sliding operation in the play interface, displaying device information, the device information representing a second electronic device connected to the current first electronic device;And responding to the position of the target sliding operation in the display area of the equipment information, and switching the multimedia data to the second electronic equipment for playing.
- The method of claim 1, wherein displaying device information in response to detecting a target slide operation in the playback interface comprises:and responding to the detection of the target sliding operation in the playing interface, and displaying a device image corresponding to the second electronic device in the playing interface.
- The method of claim 2, wherein the displaying, in the playback interface, the device image corresponding to the second electronic device in response to detecting the target sliding operation in the playback interface, comprises:responding to the detection of the target sliding operation in the playing interface, and acquiring a reference device image corresponding to the device type based on the device type of the second electronic device, wherein the reference device image contains device type information;and displaying the reference equipment image in the playing interface.
- The method of claim 1, wherein the location responsive to the target slide operation is in a display area of the device information, and wherein switching the multimedia data to the second electronic device for playback comprises:Responding to the position of the target sliding operation in a display area of target equipment information, determining target electronic equipment corresponding to the target equipment information, and switching the multimedia data to the target electronic equipment for playing;wherein the target device information is any one of the plurality of displayed device information.
- The method according to claim 1, wherein the target sliding operation is a sliding operation of a target number of fingers, the target number being greater than 1;the position responding to the target sliding operation is located in a display area of the device information, and the multimedia data is switched to the second electronic device to be played, including:and responding to the target number of fingers to slide to the display area of the equipment information, and switching the multimedia data to the second electronic equipment for playing.
- The method according to any one of claims 1-5, wherein the multimedia data is played by a target application executed by the first electronic device, and the switching the multimedia data to the second electronic device for playing includes:Under the condition that the second electronic equipment is provided with the target application, the playing of the multimedia data is paused, and a switching playing instruction is sent to the second electronic equipment, wherein the switching playing instruction is used for requesting the second electronic equipment to play the multimedia data through the target application; or,and under the condition that the target application is not installed in the second electronic equipment, running the target application in the background of the first electronic equipment, keeping the playing state of the multimedia data, and synchronously transmitting the multimedia data to the second electronic equipment for playing.
- The method of claim 6, wherein after synchronously transmitting the multimedia data to the second electronic device for playback, the method further comprises:receiving an operation instruction sent by the second electronic equipment, wherein the operation instruction is used for indicating the operation of the second electronic equipment on the multimedia data;and responding to the operation instruction, and executing the operation on the multimedia data in the target application.
- A multimedia data playing device, the device comprising:The display module is used for displaying a playing interface of the multimedia data;the display module is further used for responding to the detection of the target sliding operation in the playing interface and displaying equipment information, wherein the equipment information represents second electronic equipment connected with the current first electronic equipment;and the switching module is used for switching the multimedia data to the second electronic equipment for playing in response to the fact that the position of the target sliding operation is located in the display area of the equipment information.
- An electronic device, the electronic device comprising:a processor;volatile or non-volatile memory for storing executable program code;wherein the processor is configured to load and execute the executable program code to implement the multimedia data playing method of any one of claims 1 to 7.
- A computer readable storage medium having stored therein executable program code that is loaded and executed by a processor to implement the multimedia data playing method of any one of claims 1 to 7.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2022/098999 WO2023240501A1 (en) | 2022-06-15 | 2022-06-15 | Multimedia data playback method and apparatus, electronic device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117616744A true CN117616744A (en) | 2024-02-27 |
Family
ID=89192743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202280004647.4A Pending CN117616744A (en) | 2022-06-15 | 2022-06-15 | Multimedia data playing method and device, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117616744A (en) |
WO (1) | WO2023240501A1 (en) |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104810032B (en) * | 2015-03-31 | 2017-08-01 | 广东欧珀移动通信有限公司 | A kind of control method for playing back and terminal |
CN105430482A (en) * | 2015-09-29 | 2016-03-23 | 合一网络技术(北京)有限公司 | Multi-screen interaction method and terminal equipment |
US10694242B2 (en) * | 2016-03-30 | 2020-06-23 | Lenovo (Singapore) Pte. Ltd. | Mechanisms for casting content |
CN108781235B (en) * | 2017-06-13 | 2021-12-28 | 华为技术有限公司 | Display method and device |
CN113504851A (en) * | 2018-11-14 | 2021-10-15 | 华为技术有限公司 | Method for playing multimedia data and electronic equipment |
AU2020314975A1 (en) * | 2019-07-18 | 2022-03-03 | Arris Enterprises Llc | System and method for the transfer of content between devices |
CN111007995B (en) * | 2019-11-20 | 2024-05-17 | 维沃移动通信有限公司 | Data processing method and electronic equipment |
CN110990172A (en) * | 2019-12-02 | 2020-04-10 | 维沃移动通信有限公司 | Application sharing method, first electronic device and computer-readable storage medium |
CN111381791B (en) * | 2020-03-03 | 2023-03-21 | 安徽文香科技有限公司 | Interactive system, method, equipment and storage medium |
CN113794796B (en) * | 2020-05-25 | 2023-06-23 | 荣耀终端有限公司 | Screen projection method and electronic equipment |
CN111880757A (en) * | 2020-06-30 | 2020-11-03 | 北京小米移动软件有限公司 | Screen projection method, screen projection device and storage medium |
CN114567663B (en) * | 2022-02-28 | 2024-06-21 | Oppo广东移动通信有限公司 | Screen projection control method and device of display equipment, electronic equipment and storage medium |
-
2022
- 2022-06-15 CN CN202280004647.4A patent/CN117616744A/en active Pending
- 2022-06-15 WO PCT/CN2022/098999 patent/WO2023240501A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2023240501A1 (en) | 2023-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9667774B2 (en) | Methods and devices for sending virtual information card | |
EP3276976A1 (en) | Method, apparatus, host terminal, server and system for processing live broadcasting information | |
US20170155958A1 (en) | Method, Apparatus and System for Playing Multimedia Data, and Storage Medium | |
EP3188066A1 (en) | A method and an apparatus for managing an application | |
CN113032030B (en) | Camera starting method, device, terminal equipment and storage medium | |
CN112019893B (en) | Screen projection method of terminal and screen projection device of terminal | |
US20190235745A1 (en) | Method and device for displaying descriptive information | |
WO2021169792A1 (en) | Message viewing method and apparatus | |
US20220007074A1 (en) | Method and apparatus for playing videos, and electronic device and storage medium thereof | |
CN107277628B (en) | video preview display method and device | |
EP3147802B1 (en) | Method and apparatus for processing information | |
CN106775202B (en) | Information transmission method and device | |
CN107562349B (en) | Method and device for executing processing | |
CN104216525B (en) | Method and device for mode control of camera application | |
US20220159336A1 (en) | Method and system for displaying screen | |
CN104616241A (en) | Video screen-shot method and device | |
US20180035170A1 (en) | Method and device for controlling playing state | |
US20220391446A1 (en) | Method and device for data sharing | |
US20210165820A1 (en) | Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal | |
CN105912204B (en) | Method and device for starting application interface | |
CN112291631A (en) | Information acquisition method, device, terminal and storage medium | |
CN110636383A (en) | Video playing method and device, electronic equipment and storage medium | |
CN112261453A (en) | Method, device and storage medium for transmitting subtitle splicing map | |
CN104837020B (en) | The method and apparatus for playing video | |
CN116301484A (en) | Data sharing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |