Method for resuming playing multimedia content between devices

A method for playing multimedia content between devices includes a first device that receives first playback information from a second device, where the first playback information corresponds to first multimedia content played by the second device, and the first device and the second device are located in the same wireless network. The first device displays a first playback control card corresponding to the first multimedia content, where the first playback control card includes a first control and a second control, and the second control controls playback of the first multimedia content. In response to a first user input performed on the first control, the first device obtains the first multimedia content from a server based on the first playback information, and takes over the playing of the first multimedia content based on the first playback information.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a U.S. National Stage of International Patent Application No. PCT/CN2021/082246 filed on Mar. 23, 2021, which claims priority to Chinese Patent Application No. 202010419691.4 filed on May 18, 2020 and Chinese Patent Application No. 202010225233.7 filed on Mar. 26, 2020, all of which are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

Embodiments of this application relate to the field of electronic technologies, and in particular, to a method for resuming playing multimedia content between devices.

BACKGROUND

With continuous development of terminal technologies and internet of things technologies, a user has increasingly more types of electronic devices with increasingly more functions. Some of the electronic devices may be configured to play multimedia content (for example, a picture, an audio, and a video). For a user, if playback of multimedia content played on one electronic device can be resumed on another electronic device, user experience is improved.

SUMMARY

Embodiments of this application relate to the field of electronic technologies, and provide a method for resuming playing multimedia content between devices, so that playback of multimedia content can be resumed between devices, and therefore the multimedia content is played more flexibly, and user experience is better. To achieve the foregoing objectives, the following technical solutions are used in embodiments of this application.

According to a first aspect, a first device first receives first playback information sent by a second device, where the first playback information corresponds to first multimedia content played by the second device, and the first device and the second device are located in a same wireless network. Then, the first device displays a first playback control card corresponding to the first multimedia content, where the first playback control card includes a first control and a second control, and the second control is used to control playback of the first multimedia content. Finally, in response to a first user input performed on the first control, the first device obtains the first multimedia content from a server based on the first playback information, and resumes playing the first multimedia content based on the first playback information.

For example, the first device is a mobile phone, and the second device is a smart television. The mobile phone first receives first playback information sent by the smart television, where the first playback information corresponds to a television program played by the smart television, and the mobile phone and the smart television are connected to a same WLAN. The mobile phone displays a first playback control card corresponding to the television program that is being played by the smart television, where the first playback control card includes a playback resume option, a playback option, and a playback pause option, and the playback option and the playback pause option may be used to control the television program that is being played by the smart television. The mobile phone may display the playback control card when the mobile phone lights up during screen-off, or may display the playback control card in a control center interface when receiving an operation gesture of a user. When the mobile phone responds to the user input that a user taps the playback resume option, the mobile phone obtains content of the television program based on a URL address or a multimedia content identifier in the first playback information, and resumes playing the television program based on a video playback progress in the first playback information. According to this design, playback of the multimedia content played on the second device can be resumed on the first device, and therefore user experience can be improved.

To meet a requirement for real-time playback resuming, in a possible design, that the second device synchronizes the first playback information to the second device includes: The second device detects that the first playback information changes. The second device sends the first playback information to the first device through a wireless network. In a possible design, that the second device periodically synchronizes the first playback information to the second device includes: The second device starts a cyclic timer. After a timing time period of the cyclic timer expires, the second device sends the first playback information to the first device through a wireless network. In a possible design, that the second device may further synchronize the first playback information to the first device based on a request of the first device further includes: The first device starts an event listener to listen to any one of the following events: an event that the first device unlocks a screen, an event that the first device joins a wireless network, and an event that the first device is disconnected from a wireless network. After the event listener is triggered, the first device sends a request used to obtain the first play information. The second device sends the first playback information to the first device through a wireless connection.

In a possible design, that the first device displays a first playback control card corresponding to the first multimedia content includes: In response to a sliding gesture that is of sliding to a first interface from left to right and that is performed on a home screen of the first device, the first device displays the first playback control card in the first interface. For example, the first interface is a control center interface. Playback control cards are displayed in the control center interface in a centralized manner, so that good visual experience can be brought to the user. In addition, an operation of opening/closing the control center interface is convenient.

In a possible design, the second control includes at least one of the following: a volume icon, a volume display bar, a playback icon, a playback progress display bar, a rewind icon, a fast-forward icon, or a next-episode icon. According to this design, the electronic device can control playback of the first multimedia content by receiving a playback control command performed by the user on the second control.

In a possible design, the first playback information includes an identifier of the first multimedia content and a playback progress of the first multimedia content.

In a possible design, the first playback information further includes at least one of the following: a source address of the first multimedia content, a playback status of the first multimedia content, a volume status of the first multimedia content, or playback volume of the first multimedia content.

According to this design, more content included in the first playback information indicates that more information about the multimedia content played on the second device can be provided for the user on the first device. This can bring better use experience to the user, and the user can view more information about the first multimedia content.

In a possible design, a playback progress of the first multimedia content resumed by the first device is the same as the playback progress of the first multimedia content played by the second device.

According to this design, the first device resumes playing the first multimedia content from the same playback progress, and the user does not need to adjust the playback progress any more. Therefore, splicing is more appropriate, and better use experience can be brought to the user.

In a possible design, in response to the first user input performed on the first control, the first device opens an application used to play the first multimedia content.

According to this design, the first device resumes playing the first multimedia content in the application. Optionally, the first device may further resume playing the first multimedia content on the playback control card.

In a possible design, the first interface further displays a second playback control card, and the second playback control card corresponds to second multimedia content played by a third device. For example, the control center interface further displays the second playback control card, and the second playback control card corresponds to an audio played by a smart speaker. In this manner, a plurality of cards can be simultaneously displayed in the control center interface, to facilitate a user operation.

In a possible design, the second device is associated with a first area, the third device is associated with a second area, and display effects of the first playback control card and the second playback control card are determined based on a location relationship between the first device and each of the first area and the second area.

In a possible design, that display effects of the first playback control card and the second playback control card are determined based on a location relationship between the first device and each of the first area and the second area includes: When the first device is located in the first area, a display location of the first playback control card in the first interface is above a display location of the second playback control card.

In a possible design, when the first device is located in the second area, the display location of the second playback control card in the first interface is above the display location of the first playback control card; and the first device displays first prompt information, where the first prompt information is used to indicate whether to resume playing the first multimedia content on the third device.

For example, if a smart television is located in a first room, and a smart projector is located in a second room, when a mobile phone is located in the first room, a playback control card of the smart television is displayed above a playback control card of the smart projector; or when the mobile phone is located in the second room, the playback control card of the smart projector is displayed above the playback control card of the smart television, and after the user stays for a period of time, the user is asked whether playback of multimedia content played on the smart projector needs to be resumed on the smart projector. In this design, the user can adjust an arrangement sequence of the playback control cards in different areas and on electronic devices in the different areas, so that viewing is more convenient, and a user experience effect is better.

In a possible design, the first device sends a playback control command to the second device in response to a second user input performed on the second control. The first device displays first prompt information when the first device does not receive a response message corresponding to the playback control command, where the first prompt information is used to indicate that playback control fails.

In a possible design, the first device detects that the first device is disconnected from the wireless network. The first device displays a third playback control card corresponding to the first multimedia content played by the second device, where the third playback control card includes the first control but does not include the second control.

According to this design, the first playback control card includes the first control (for example, the first control is a playback resume option), and after the first device is disconnected from the network, playback resuming can be further supported in response to an input performed on the first control. After the user is reconnected to the network, the first device may further generate a playback control card. In this case, playback control can be performed on the first multimedia content by using the second control, but a playback resume function is not supported, so that the user can focus on the second device (for example, a smart television), and an experience effect is better.

In a possible design, the first device receives second playback information sent by the second device, where the second device is simultaneously playing the first multimedia content and third multimedia content, and the second playback information corresponds to the third multimedia content played by the second device. The first device displays the first playback control card corresponding to the first multimedia content played by the second device and a third playback control card corresponding to the third multimedia content. In response to a third user input, the first device simultaneously resumes playing the first multimedia content and the third multimedia content.

According to this design, when the second device supports simultaneous playing of a plurality of pieces of multimedia content, the first device can display a plurality of playback control cards for user operations. Therefore, this application is applicable to a case in which the plurality of pieces of multimedia content are played.

For example, a screen area of the second device includes a first screen area and a second screen area. The first screen area plays the first multimedia content, and the second screen area plays the third multimedia content. In other words, the first multimedia content and the third multimedia content are simultaneously played on the second device (for example, when the second device is a television, the user watches the two video programs, that is, the first multimedia content and the third multimedia content, on the television in split-screen mode). In this case, the first device may display the first playback control card corresponding to the first multimedia content played by the second device and the third playback control card corresponding to the third multimedia content. If the first device receives the third user input, the first device may simultaneously play the first multimedia content and the third multimedia content (for example, when the first device is a mobile phone, the user watches the two video programs, that is, the first multimedia content and the third multimedia content, on the mobile phone in split-screen mode in response to the third user input).

In a possible design, the first device receives third playback information sent by a fourth device, where the fourth device is playing the first multimedia content, and the third playback information corresponds to the first multimedia content played by the fourth device. The first device displays a fourth playback control card corresponding to the first multimedia content played by the second device and the fourth device.

In a possible design, a playback progress of the first multimedia content played by the fourth device is the same as the playback progress of the first multimedia content played by the second device.

In a possible design, the first device and the second device log in to a same user account, or example, a Huawei account, an Honor account, or an Apple ID. According to this design, data exchange between the first device and the second device can be more secure, and user privacy can be protected.

In a possible design, the wireless network is a wireless fidelity Wi-Fi network. A Wi-Fi technology is a frequently-used technical means for implementing data exchange between electronic devices in the conventional technology, and the means may be further a Bluetooth (Bluetooth, BT) technology, a near field communication (near field communication, NFC) technology, an ultra-wide band (ultra-wide band, UWB) technology, an infrared (infrared, IR) technology, a ZigBee technology, a general 2.4G/5G frequency band wireless communications technology, or the like. Based on these near field connection technologies, data is not exchanged by using a server and/or a cloud service, so that data transmission is more secure, and user privacy can also be protected.

In a possible design, the first device is a mobile phone, and the second device is a television. In a possible design, the first device is a mobile phone, and the second device is a smart speaker. In a possible design, the first device is a mobile phone, and the second device is a smart projector. In a possible design, the first device is a mobile phone, and the second device is VR glasses.

In a possible design, the first device is a tablet, and the second device is a television. In a possible design, the first device is a tablet, and the second device is a smart speaker. In a possible design, the first device is a tablet, and the second device is a smart projector. In a possible design, the first device is a tablet, and the second device is VR glasses.

In a possible design, this application further includes an electronic device. The electronic device includes a memory and one or more processors. The memory is configured to store computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device is enabled to perform the method for resuming playing multimedia content between devices.

In a possible design, this application further includes a computer-readable storage medium, including computer instructions. When the computer instructions are run on an electronic device, the electronic device is enabled to perform the method for resuming playing multimedia content between devices.

In a possible design, this application further includes a computer program product. When the computer program product runs on a computer, the computer is enabled to perform the method for resuming playing multimedia content between devices.

According to a second aspect, in a system, a second device is configured to: send first playback information to a first device, where the first playback information corresponds to first multimedia content played by the second device, and the first device and the second device are located in a same wireless network. The first device is configured to: display a first playback control card corresponding to the first multimedia content, where the first playback control card includes a first control and a second control, and the second control is used to control playback of the first multimedia content; and in response to a first user input performed on the first control, obtain the first multimedia, content from a server based on the first playback information, and resume playing the first multimedia content based on the first playback information.

Beneficial effects of this application are described in the foregoing part. Details are not described herein again.

DESCRIPTION OF EMBODIMENTS

With continuous development of terminal technologies and internet of things technologies, a user has increasingly more types of intelligent electronic devices with increasingly more functions. These intelligent electronic devices have a data processing function and also have a communication function. In some possible implementation solutions, an intelligent multimedia playback device is an intelligent electronic device that can play multimedia content (for example, a picture, an audio, or a video), for example, a smart speaker, a smart television, a smart projector, smart VR glasses, or a smart vehicle-mounted display. The multimedia content is optionally stored in the intelligent multimedia playback device, or optionally shared by another intelligent electronic device and the intelligent multimedia playback device, or optionally obtained by the intelligent multimedia playback device from a server.

In addition to playing the multimedia content, the intelligent multimedia playback device can further exchange data with another intelligent electronic device by using a communication function of the intelligent multimedia playback device. A user may control and/or manage the intelligent multimedia playback device by using a portable electronic device (for example, a mobile phone, a tablet, or a wearable device). In some possible implementation solutions, the intelligent multimedia playback device may also be a portable electronic device.

In some possible implementation solutions, the intelligent multimedia playback device can log in to an account, and when the portable electronic device and the intelligent multimedia playback device log in to the same account, the devices can exchange data. In some other implementation solutions, the intelligent multimedia playback device cannot log in to an account, and the portable electronic device optionally does not need to verify the account, and exchanges data with the device.

In some possible implementation solutions, the intelligent multimedia playback device can optionally support playback of one type of multimedia content. For example, a smart speaker can support playback of an audio file. In some other implementation solutions, the intelligent multimedia playback device can support playback of a plurality of types of multimedia content. For example, a smart television can support playback of a picture, an audio file, and a video file.

It may be understood that establishing a connection relationship between devices is a prerequisite for performing data exchange. In the conventional technology, in consideration of factors of security and device costs, an intelligent multimedia playback device usually includes a wireless communications module, and establishes a near field connection to another intelligent multimedia playback device and/or a portable electronic device by using the wireless communications module. After the near field connection is established, the devices can exchange data. A technology for establishing the near field connection includes but is not limited to a wireless local area network (wireless local area network, WLAN) (for example, wireless fidelity (wireless fidelity, Wi-Fi)), a Bluetooth (Bluetooth, BT) technology, a near field communication (near field communication, NFC) technology, an ultra-wide band (ultra-wide band, UWB) technology, an infrared (infrared, IR) technology, a ZigBee technology, a general 2.4G/5G frequency band wireless communications technology, and the like.

In some possible implementation solutions, a representation form of the near field connection is that data exchange is performed between devices, and direct transmission is optionally performed between the devices, or indirect transmission is optionally performed between the devices. In this interaction manner, data is not transmitted through a cloud platform or a server. The near field connection can ensure data security to some extent, and is especially applicable to transmission of some data involving user privacy.

An embodiment of this application describes a method for resuming playing multimedia content between devices. The following uses a home scenario as an example scenario for description, and uses a WLAN as an example technology for establishing a near field connection.

In some possible implementation solutions, the home scenario is optionally divided into one or more areas, and the one or more areas optionally include one or more intelligent multimedia playback devices.FIG.1Ashows an example of a home scenario100. The home scenario100is optionally divided into five areas: a first room110, a second room120, a third room130, a fourth room140, and a corridor150connecting the foregoing rooms. In terms of a type of an intelligent multimedia playback device and a quantity of intelligent multimedia playback devices, the first room110optionally includes a smart television111and a smart speaker113, the second room120optionally includes a smart television121and a smart speaker123, the third room130optionally includes a smart television131, and the fourth room140optionally includes a smart projector141and a smart speaker143. The foregoing intelligent multimedia playback devices are located in a same WLAN, and the WLAN is optionally provided by a router145in the fourth room140inFIG.1A.

In some possible implementation solutions, an application is installed in a portable electronic device of a user as a manner of controlling and/or managing an intelligent multimedia playback device. The following uses an “AI Life” application provided by Huawei Technologies Co., Ltd. (Huawei Technologies Co., Ltd.) as an example for description. It may be understood that, in addition to controlling and/or managing the intelligent multimedia playback device, the application may be further used to control and/or manage another type of intelligent electronic device, for example, a smart home device.FIG.1Bis a diagram of an example of a user interface151of an “AI Life” application according to some implementation solutions.

The user interface151optionally includes a home scenario name153(an example of the home scenario name153herein is “My Home”). When a portable electronic device detects an operation that a user taps an icon155after the home scenario name153, the application is optionally used by the user to modify the home scenario name153, and optionally used by the user to set a room in the home scenario100by using a “room management” option, for example, add a room, delete a room, or change a room name.

In some possible implementation solutions, the room described herein is generated based on a real room, for example, a room obtained through calculation after the user establishes a grid map/point cloud map of the home scenario100in the “AI Life” application. In some other implementation solutions, the room described herein is virtual, and is a virtual location tag established by the user based on a requirement of the user. The intelligent electronic device in the home scenario100has a virtual location tag that can be configured by the user, and intelligent electronic devices having a same virtual location tag are located in a same virtual room.

The user interface151optionally includes an indicator157indicating a quantity of intelligent electronic devices in the home scenario100and a quantity of intelligent scenarios (an example of the home scenario100herein is “8 devices|12 intelligent scenarios”).

The user interface151optionally includes a total of four icons that can respond to a user operation: a “Home” icon159, a “Vmall” icon161, a “Smart” icon163, and a “My” icon165. When detecting an operation that the user taps the icon, the portable electronic device jumps to an interface corresponding to the icon.FIG.1Bshows an interface corresponding to the “Home” icon159. In this case, the “Home” icon159is optionally selected (an example in which the icon is selected herein is represented as that the “Home” icon159is filled).

In the interface corresponding to the “Home” icon159, each intelligent electronic device that is in the home scenario100and that is associated with the “AI Life” application generates a card, and optionally, the user views, in the card, a device name, a device status, and a room in which the intelligent electronic device is located. The device name is optional, and may be independently set based on a preference of the user.

In some possible implementation solutions, the device status optionally includes two states: an online state and an offline state. The online state optionally means that the device is powered on and is in a WLAN. For example, in the home scenario100inFIG.1A, the smart television111is powered on and accesses a WLAN provided by the router145, and the smart television111is optionally in a standby state/playing state/pause state. The offline state optionally means that the device is powered off and/or is not in a WLAN. For example, in the home scenario100inFIG.1A, the smart television111is in a powered-off state and/or the smart television111does not access the WLAN provided by the router145.

The following describes cards corresponding to the intelligent multimedia playback devices in the example of the home scenario100in the interface corresponding to the “Home” icon159.

The smart television111located in the first room110corresponds to a card167shown inFIG.1B, where “Television in the first room” is a name of the smart television111, “Online” is a device status of the smart television111, and “First room” is a room in which the smart television111is located.

The smart television121located in the second room120corresponds to a card169shown inFIG.1B, where “Television in the second room” is a name of the smart television121, “Online” is a device status of the smart television121, and “Second room” is a room in which the smart television121is located.

The smart television131located in the third room130corresponds to a card171shown inFIG.1B, where “Television in the third room” is a name of the smart television131, “Online” is a device status of the smart television131, and “Third room” is a room in which the smart television131is located.

The smart speaker113located in the first room110corresponds to a card173shown inFIG.1B, where “Speaker in the first room” is a name of the smart speaker113, “Offline” is a device status of the smart speaker113, and “First room” is a room in which the smart speaker113is located.

The smart speaker123located in the second room120corresponds to a card175shown inFIG.1B, where “Speaker in the second room” is a name of the smart speaker123, “Offline” is a device status of the smart speaker123, and “Second room” is a room in which the smart speaker123is located.

The smart speaker143located in the fourth room140corresponds to a card177shown inFIG.1B, where “Speaker in the fourth room” is a name of the smart speaker143, “Offline” is a device status of the smart speaker143, and “Fourth room” is a room in which the smart speaker143is located.

The smart projector141located in the fourth room140corresponds to a card179shown inFIG.1B, where “Projector in the fourth room” is a name of the smart projector141, “Offline” is a device status of the smart projector141, and “Fourth room” is a room in which the smart projector141is located.

In addition to the intelligent multimedia playback device, the intelligent electronic device may also generate a card in the interface corresponding to the “Home” icon159. For example, the router145located in the fourth room140corresponds to a card181shown inFIG.1B, where “Huawei router” is a name of the router145, “Online” is a device status of the router145, and “Fourth room” is a room in which the router145is located.

In an interface corresponding to the “Vmall” icon161, the user may view and/or purchase an intelligent multimedia playback device and another type of intelligent electronic device on the market.

To implement intelligent running of the intelligent electronic device and improve user experience, the “AI Life” application optionally provides a function of setting an intelligent scenario for the user, for example, a go home scenario (the user turns on the smart television111and the smart speaker113after going home) and a leave home scenario (the user turns off all the intelligent multimedia playback devices after leaving home).

In some possible implementation solutions, an intelligent scenario is optionally classified into a manual scenario and an automatic scenario in an execution manner. The manual scenario means that after the user sets scenario parameters, the user needs to manually start/stop the intelligent scenario. The automatic scenario means that after the user sets scenario parameters, the intelligent scenario automatically starts/stops based on some conditions (for example, WLAN connection/disconnection and local time). The scenario parameters are optionally start/stop and/or running parameters of one or more devices.

In an interface corresponding to the “Smart” icon163, the “AI Life” application is optionally used by the user to view an existing intelligent scenario, optionally used by the user to add/delete an intelligent scenario, and optionally used by the user to set scenario parameters of one or more intelligent scenarios.

In an interface corresponding to the “My” icon163, the “AI Life” application is used by the user to perform account-related settings, for example, log in to an account, modify an account, and log out of an account.

In some possible implementation solutions, when the portable electronic device detects an operation that the user taps a “More” icon183, more options appear, for example, “Add a device”, “Create smart”, and “Connect to a third-party platform”.

The “Add a device” option is optionally used by the user to add and associate with a new intelligent electronic device.

A “Share a device” option is optionally used by the user to share control rights of one or more intelligent electronic devices in the home scenario100with another user, so that the another user manages and/or controls the shared one or more intelligent electronic devices, to meet a requirement of the home scenario100for multi-user use.

The “Connect to a third-party platform” option is optionally used by the user to associate an account in another application used to manage a smart home device with the “AI Life” application, so that the “AI Life” application can manage more intelligent electronic devices.

The foregoing describes an example of the home scenario100and an example of a schematic diagram of an interface of an application used to control and/or manage an intelligent multimedia playback device in this application. The following describes hardware structures of a portable electronic device and an intelligent multimedia playback device.

In some possible implementation solutions, the portable electronic device includes but is not limited to a mobile phone, a tablet computer, an intelligent wearable device (for example, a headset, a watch, or a band), and the like.

FIG.2Ais a schematic diagram of a structure of a portable electronic device200according to some implementation solutions. The portable electronic device200may include a processor201, an external memory interface203, an internal memory205, a universal serial bus (universal serial bus, USB) port207, a charging management module209, a power management module211, a battery213, an antenna1, an antenna2, a mobile communications module215, a wireless communications module217, an audio module219, a speaker219A, a receiver219B, a microphone219C, a headset jack21917, a sensor module221, a camera223, a display225, and the like.

It may be understood that the structure shown in this embodiment of this application does not constitute a specific limitation on the portable electronic device200. In some other embodiments of this application, the portable electronic device200may include more or fewer components than those shown in the figure, or combine some components, or split some components, or have different component arrangements. The components shown in the figure may be implemented by hardware, software, or a combination of software and hardware.

In some possible implementation solutions, the mobile phone may include a processor201, an external memory interface203, an internal memory205, a universal serial bus (universal serial bus, USB) port207, a charging management module209, a power management module211, a battery213, an antenna1, an antenna2, a mobile communications module215, a wireless communications module217, an audio module219, a speaker219A, a receiver219B, a microphone219C, a headset jack219D, a sensor module221, a camera223, a display225, and the like.

In some possible implementation solutions, the tablet computer may include a processor201, an external memory interface203, an internal memory205, a universal serial bus (universal serial bus USB) port207, a charging management module209, a power management module211, a battery213, a wireless communications module217, an audio module219, a speaker219A, a receiver219B, a microphone219C, a headset jack219D, a sensor module221, a camera223, a display225, and the like.

A memory may be further disposed in the processor201, and is configured to store instructions and data. In some possible implementation solutions, the memory in the processor201is a cache. The memory may store instructions or data just used or cyclically used by the processor201. If the processor201needs to use the instructions or the data again, the processor may directly invoke the instruction or the data from the memory. This avoids repeated access and reduces waiting time of the processor201, to improve system efficiency.

The charging management module209is configured to receive a charging input from the charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module209may receive a charging input from the wired charger through the USB port207. In some embodiments of wireless charging, the charging management module209may receive a wireless charging input through a wireless charging coil of the portable electronic device200. When charging the battery213, the charging management module209may further supply power to the portable electronic device200by using the power management module211.

The power management module211is configured to connect to the battery213, the charging management module209, and the processor201. The power management module211receives an input from the battery213and/or the charging management module209, and supplies power to the processor201, the internal memory205, the external memory, the display225, the camera223, the wireless communications module217, and the like. The power management module211may be further configured to monitor parameters such as a battery capacity, a battery cycle count, and a battery health status (electric leakage or impedance). In some other embodiments, the power management module211may alternatively be disposed in the processor201. In some other embodiments, the power management module211and the charging management module209may alternatively be disposed in a same device.

A wireless communication function of the portable electronic device200may be implemented by using the antenna1, the antenna2, the mobile communications module215, the wireless communications module217, the modem processor, the baseband processor, and the like.

The mobile communications module215may provide a wireless communication solution that includes 2G/3G/4G/5G or the like and that is applied to the portable electronic device200. The mobile communications module215may include at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA), and the like. The mobile communications module215may receive an electromagnetic wave through the antenna1, perform processing such as filtering and amplification on the received electromagnetic wave, and transmit a processed electromagnetic wave to the modem processor for demodulation. The mobile communications module215may further amplify a signal modulated by the modem processor, and convert an amplified signal into an electromagnetic wave for radiation through the antenna1. In some possible implementation solutions, at least some functional modules in the mobile communications module215may be disposed in the processor201. In some possible implementation solutions, at least some functional modules in the mobile communications module215may be disposed in a same device as at least some modules in the processor201.

The portable electronic device200implements a display function by using the GPU, the display225, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display225and the application processor. The GPU is configured to: perform mathematical and geometric computation, and render an image. The processor201may include one or more GPUs that execute program instructions to generate or change display information.

The display225is configured to display an image, a video, and the like. The display225includes a display panel. The display panel may be a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), a flexible light-emitting diode (flexible light-emitting diode, FLED), a mini-LED, a micro-LED, a micro-OLED, a quantum dot light emitting diode (quantum dot light emitting diode, QLED), or the like. In some possible implementation solutions, the portable electronic device200may include one or more displays225.

The portable electronic device200may implement a photographing function by using the ISP, the camera223, the video codec, the GPU, the display225, the application processor, and the like.

The digital signal processor is configured to process a digital signal, and may further process another digital signal in addition to the digital image signal. For example, when the portable electronic device200selects a frequency, the digital signal processor is configured to perform Fourier transform or the like on frequency energy.

The external memory interface203may be configured to connect to an external storage card such as a micro SD card, to extend a storage capability of the portable electronic device200. The external storage card communicates with the processor201through the external memory interface203, to implement a data storage function. For example, files such as music and videos are stored in the external storage card.

The internal memory205may be configured to store computer executable program code. The executable program code includes instructions. The processor201performs various function applications of the portable electronic device200and data processing by running the instructions stored in the internal memory205. The internal memory205may include a program storage area and a data storage area. The program storage area may store an operating system, an application required by at least one function (for example, a voice playing function or an image playing function), and the like. The data storage area may store data (for example, audio data and an address book) and the like created during use of the portable electronic device200. In addition, the internal memory205may include a high-speed random access memory, and may further include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or a universal flash storage (universal flash storage, UFS).

The portable electronic device200may implement audio functions, for example, an audio file playing function and a recording function, by using the audio module219, the speaker219A, the receiver219B, the microphone219C, the headset jack219D, the application processor, and the like.

The audio module219is configured to convert digital audio information into an analog audio signal for output, and is also configured to convert an analog audio input into a digital audio signal. The audio module219may be further configured to: code and decode an audio signal. In some possible implementation solutions, the audio module219may be disposed in the processor201, or some functional modules of the audio module219are disposed in the processor201.

The speaker219A, also referred to as a “horn”, is configured to convert an audio electrical signal into a sound signal. The portable electronic device200may be used to listen to music or answer a call in a hands-free mode over the speaker219A.

The receiver219B, also referred to as an “earpiece”, is configured to convert an audio electrical signal into a sound signal. When a call is answered or voice information is received by using the portable electronic device200, the receiver219B may be put close to a human ear to listen to a voice.

The microphone219C, also referred to as a “mike” or a “mic”, is configured to convert a sound signal into an electrical signal. When making a call or sending voice information, the user may make a sound by moving a human mouth close to the microphone219C to input a sound signal to the microphone219C. At least one microphone219C may be disposed in the portable electronic device200. In some other embodiments, two microphones219C may be disposed in the portable electronic device200, to implement a noise reduction function in addition to collecting a sound signal. In some other embodiments, three, four, or more microphones219C may alternatively be disposed in the portable electronic device200, to collect a sound signal, reduce noise, identify a sound source, implement a directional recording function, and the like.

The headset jack219D is configured to connect to a wired headset. The headset jack219D may be the USB port207, or may be a 3.5 mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface or cellular telecommunications industry association of the USA (cellular telecommunications industry association of the USA, CTIA) standard interface.

The sensor module221may include a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, an optical proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

Certainly, the portable electronic device200may further include one or more components such as a button, a motor, an indicator, and a SIM card interface. This is not limited in this embodiment of this application.

FIG.2Bis a schematic diagram of a structure of an intelligent multimedia playback device250according to some implementation solutions. The intelligent multimedia playback device250may include a processor251, an external memory interface253, an internal memory255, a universal serial bus (universal serial bus USB) port257, a charging management module259, a power management module261, a battery263, an antenna, a wireless communications module265, an audio module267, a speaker267A, a microphone267B, a headset jack267C, a sensor module269, a camera271, a display273, and the like.

It may be understood that the structure shown in this embodiment of this application does not constitute a specific limitation on the intelligent multimedia playback device250. In some other embodiments of this application, the intelligent multimedia playback device250may include more or fewer components than those shown in the figure, or may combine some components, or may split some components, or may have different component arrangements. The components shown in the figure may be implemented by hardware, software, or a combination of software and hardware.

In some possible implementation solutions, a smart speaker optionally includes a wired Bluetooth speaker and a wireless Bluetooth speaker. The wired Bluetooth speaker may include a processor251, an external memory interface253, an internal memory255, a charging management module259, a power management module261, a wireless communications module265, an audio module267, a speaker267A, a microphone267B, a sensor module269, and the like. Compared with the wired Bluetooth speaker, the wireless Bluetooth speaker may further include a battery263and the like in addition to the foregoing components.

In some possible implementation solutions, a smart television may include a processor251, an external memory interface253, an internal memory255, a universal serial bus (universal serial bus, USB) port257, a charging management module259, a power management module261, a wireless communications module265, an audio module267, a speaker267A, a microphone267B, a headset jack267C, a sensor module269, a camera271, a display273, and the like.

A memory may be further disposed in the processor251, and is configured to store instructions and data. In some possible implementation solutions, the memory in the processor251is a cache. The memory may store instructions or data just used or cyclically used by the processor251. If the processor251needs to use the instructions or the data again, the processor may directly invoke the instructions or the data from the memory. This avoids repeated access and reduces waiting time of the processor251, to improve system efficiency.

The charging management module259is configured to receive a charging input from the charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module259may receive a charging input from the wired charger through the USB port257. In some embodiments of wireless charging, the charging management module259may receive a wireless charging input through a wireless charging coil of the intelligent multimedia playback device250. When charging the battery263, the charging management module259may further supply power to the intelligent multimedia playback device250by using the power management module261.

The power management module261is configured to connect to the battery263, the charging management module259, and the processor251. The power management module261receives an input from the battery263and/or the charging management module259, and supplies power to the processor251, the internal memory255, the external memory, the display273, the camera271, the wireless communications module265, and the like. The power management module261may be further configured to monitor parameters such as a battery capacity, a battery cycle count, and a battery health status (electric leakage or impedance). In some other embodiments, the power management module261may alternatively be disposed in the processor251. In some other embodiments, the power management module261and the charging management module259may alternatively be disposed in a same device.

A wireless communication function of the intelligent multimedia playback device250may be implemented by using the antenna, the wireless communications module265, and the like. The wireless communications module265may provide a wireless communication solution that includes a wireless local area network (wireless local area network, WLAN) (for example, a wireless fidelity (wireless fidelity, Wi-Fi) network), Bluetooth (Bluetooth, BT), a global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), an infrared (infrared, IR) technology, or the like and that is applied to the intelligent multimedia playback device250. The wireless communications module265may be one or more devices that integrate at least one communications processor module. The wireless communications module265receives an electromagnetic wave through the antenna, performs frequency modulation and filtering processing on an electromagnetic wave signal, and sends a processed signal to the processor251. The wireless communications module265may further receive a to-be-sent signal from the processor251, perform frequency modulation and amplification on the signal, and convert a processed signal into an electromagnetic wave for radiation through the antenna.

The display273of the intelligent multimedia playback device250is driven by using a display driver chip, and is configured to display an image, a video, and the like. The display273includes a display panel. The display panel may be a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), a flexible light-emitting diode (flexible light-emitting diode, FLED), a mini-LED, a micro-LED, a micro-OLED, a quantum dot light emitting diode (quantum dot light emitting diode, QLED), or the like. In some possible implementation solutions, the intelligent multimedia playback device250may include one or more displays273.

The external memory interface253may be configured to connect to an external storage card, for example, a micro SD card, to extend a storage capability of the intelligent multimedia playback device250. The external storage card communicates with the processor251through the external memory interface253, to implement a data storage function. For example, files such as music and videos are stored in the external storage card.

The internal memory255may be configured to store computer executable program code. The executable program code includes instructions. The processor251performs various function applications of the intelligent multimedia playback device250and data processing by running the instructions stored in the internal memory255. The internal memory255may include a program storage area and a data storage area. The program storage area may store an operating system, an application required by at least one function (for example, a voice playing function or an image playing function), and the like. The data storage area may store data (for example, audio data and an address book) and the like created during use of the intelligent multimedia playback device250. In addition, the internal memory255may include a high-speed random access memory, and may further include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or a universal flash storage (universal flash storage, UFS).

The intelligent multimedia playback device250may implement audio functions, for example, music playing and recording, by using the audio module267, the speaker267A, the microphone267B, the headset jack267C, the application processor, and the like.

The audio module267is configured to convert digital audio information into an analog audio signal output, and is also configured to convert an analog audio input into a digital audio signal. The audio module267may be further configured to: code and decode an audio signal. In some possible implementation solutions, the audio module267may be disposed in the processor251, or some functional modules of the audio module267are disposed in the processor251.

The speaker267A, also referred to as a “horn”, is configured to convert an audio electrical signal into a sound signal. The intelligent multimedia playback device250may play multimedia content by using the speaker267A.

The microphone267B, also referred to as a “mike” or a “mic”, is configured to convert a sound signal into an electrical signal. When making a call or sending voice information, the user may make a sound by moving a human mouth close to the microphone267B to input a sound signal to the microphone267B. At least one microphone267B may be disposed in the intelligent multimedia playback device250. In some other embodiments, two microphones267B may be disposed in the intelligent multimedia playback device250, to implement a noise reduction function in addition to collecting a sound signal. In some other embodiments, three, four, or more microphones267B may alternatively be disposed in the intelligent multimedia playback device250, to collect a sound signal, reduce noise, identify a sound source, implement a directional recording function, and the like.

The sensor module269may include a pressure sensor, a gyro sensor, a magnetic sensor, a distance sensor, an optical proximity sensor, a fingerprint sensor, a touch sensor, an ambient light sensor, and the like.

The foregoing describes the hardware structures of the portable electronic device200and the intelligent multimedia playback device250. The following describes a software implementation of this application. A mobile phone is used in an embodiment of the portable electronic device200for description.

FIG.3Ashows an example of a user interface301of a portable electronic device200according to some implementation solutions. The user interface301is optionally displayed on a display225of the portable electronic device200.

In some possible implementation solutions, the user interface301optionally includes the following elements, a subset thereof, or a superset thereof:an icon that is fixed on a status bar at the top of the user interface301and that is used to indicate a status of the portable electronic device: one or more signal strength (for example, mobile network or Wi-Fi) indicators303, current time305, and a battery level indicator307used to indicate a battery level of a battery213;applications on a home screen: Clock309, Calendar311, Gallery313, Memo315, File Manager317, Email319, Music321, Wallet323, Huawei Video325, Health327, Weather329, Browser331, AI Life333, Settings335, Recorder337, and App Store339.frequently-used applications fixed at the bottom of the user interface301: Camera341, Contacts343. Phone345, and Messages347; andan indicator349indicating a current interface.

It may be understood that the applications on the home screen include Clock309, Calendar311, Gallery313, Memo315, File Manager317, Email319, Music321, Wallet323, Huawei Video325, Health327, Weather329, Browser331, AI Life333, Settings335, Recorder337, and App Store339. When the user interface301is in another interface used to display an application, the indicator349indicating the current interface points to the switched interface, the icon fixed on the status bar at the top of the user interface301remains unchanged, and the frequently-used applications fixed at the bottom of the user interface301remains unchanged.

It may be understood that the foregoing application and a displayed icon of the application are merely examples, and may be another application and/or another icon.

In some possible implementation solutions, when detecting an operation that a user taps an application, the portable electronic device200opens the application and displays a running interface of the application. For example, when detecting an operation that the user taps an icon of AI Life333, the portable electronic device200optionally displays an example user interface151shown inFIG.1B.

A card is an interaction design module that is configured to display information and that has a closed shape, and is usually configured to display information about a system/an application. Optionally, a convenient manner is provided for the user to interact with the system/the application. In a visual design, the card has a flexible size. The card is used as an information carrier, so that an operation is convenient and user experience can be improved.

It may be understood that using a card between a plurality of devices on which different systems are installed can further improve compatibility between the different systems. A system of each device generates a card shape according to a rule of the system, processes data using a same data structure, and displays the data in a card.

In some possible implementation solutions, a control center interface/notification center interface optionally provides device system information (for example, time, a weather, and a battery level) for the user, and optionally provides application information (for example, a notification pushed by an application and a status of the application) for the user. Optionally, the user completes some shortcut operations in the control center interface/notification center interface. In some possible implementation solutions, the card is optionally displayed in a control center interface notification center interface of the portable electronic device200. The control center interface is used as an example for description in this embodiment of this application.

In some possible implementation solutions, the control center interface may be triggered and displayed by detecting a gesture of the user. For example, the portable electronic device200inFIG.3Bdetects a sliding gesture from left to right in the user interface301, to obtain an example control center interface353inFIG.3C.

It may be understood that the gesture inFIG.3Bis an example triggering manner of the control center interface/notification center interface, or may be another gesture type (for example, pinching, touching and holding, rotation, a user-defined gesture, or a mid-air gesture), or may be another triggering direction tor example, from top to bottom or from bottom to top). In addition to gesture triggering, the triggering manner may be button triggering, voice recognition triggering, image recognition triggering, brain wave triggering, or the like.

The following describes some content in the control center interface353inFIG.3C.

The control center interface353optionally includes a greeting label355, a user avatar357, and a local or online content search box359.

The control center interface353optionally includes shortcut operations of some applications, for example, “Scan”361, “Payment code”363, and “Mobile top-up”365. For example, “Mobile top-up”365is optionally associated with the application Wallet323. The control center interface353further includes a “More” icon367displaying more shortcut operations. These applications that support shortcut operations are optionally manually selected by the user, optionally last used by the user, and optionally frequently used by the user.

The control center interface353optionally includes a SmartCare interface369and one or more SmartCare cards that have a closed shape and that are generated by a system/an application in the SmartCare interface369. The SmartCare interface369can optionally automatically refresh the SmartCare card, for example, add/delete a card, for example, modify content in the card. A refresh manner is optionally refreshing the SmartCare card when the user interface301is the control center interface353, or optionally refreshing the SmartCare card in the background.

In some possible implementation solutions, the SmartCare card is optionally an application usage details card371, and the application usage details card371provides the user with total usage time of the portable electronic device200and a usage proportion of each application.

In some possible implementation solutions, the SmartCare card is optionally a parking card373, and the parking card373reflects a parking location of a travel tool of the user, parking duration, a distance from the user, a local map, and positioning of the travel tool in the map. The parking card373also optionally includes a “Navigation” icon375. When the portable electronic device200detects an operation that the user taps the “Navigation” icon375, the portable electronic device200opens map software and guides the user to arrive at the parking location.

In some possible implementation solutions, the content in the SmartCare card further includes a “More” icon377. When detecting an operation that the user taps the “More” icon377, the portable electronic device200pops up an option table, and provides the user with more selections of operating the SmartCare card. Options in the option table optionally include the following options, a subset thereof, or a superset thereof: Ignore this time, Share, Pin on top, Display when the screen is locked, Cancel subscription, Display in another interface, and the like.

The foregoing first describes the content in the SmartCare interface369, and then displays some example SmartCare cards. The following describes a use scenario of the intelligent multimedia playback device250and a SmartCare card correspondingly generated in the SmartCare interface369.

FIG.4Ais a schematic diagram of a scenario in which a user is watching a smart television111in a first room110in a home scenario100. In this case, the smart television111is playing “Stepping Bravely” through Huawei Video. Huawei Video herein may be the same as the application Huawei Video325on the mobile phone side, or may be a version of Huawei Video applicable to the smart television111, or may be another video playback application. The smart television111inFIG.4Adisplays an example of a frame401of “Stepping Bravely”.FIG.4Afurther displays a playback icon403(in this case, a playback status is a playing state, or the playback status is optionally a pause state, or the playback status is optionally a buffering state), a playback progress display bar405, and a slider405A in the smart television111. A location of the slider405A relative to the playback progress display bar405indicates a playback progress of the video “Stepping Bravely” on the smart television111. In this case, the smart television111is connected to a WLAN provided by a router145.

FIG.4Bshows that a user picks up a mobile phone407. In this case, the mobile phone407is also in the WLAN provided by the router145. The user expects to resume playing, on the mobile phone407, the video “Stepping Bravely” played on the smart television111. The method for resuming playing multimedia content between devices provided in embodiments of this application can meet such a requirement of a user.FIG.4Cshows an example of a playback control card409corresponding to a smart television111in a SmartCare interface369. The following describes content of the playback control card409.

The playback control card409optionally includes a name411of an application used to play multimedia content, and an icon413corresponding to the application. Herein, for example, Huawei Video325is used as an application used to play a video, and an icon corresponding to Huawei Video325is used.

The playback control card409optionally includes a name415of the multimedia content and an associated picture417of the multimedia content. The associated picture is optionally a cover picture of the multimedia content, or optionally a frame of the multimedia content, or optionally a picture that is received by the mobile phone407and that is specified by the user. Herein, the name and the associated picture respectively correspond to the video “Stepping Bravely” played by the smart television111and a video cover picture of the video. For example, the video cover picture includes a cyclist. It may be understood that the associated picture417of the multimedia content may remain unchanged, or may change continuously, and in this case, it is equivalent to playing “Stepping Bravely” in the playback control card409.

The playback control card409optionally includes a name419of the intelligent multimedia playback device250. For example, the name herein corresponds to a name “Television in the first room” of the smart television111.

The playback control card409optionally includes a volume icon421. When the playback control card409displays the volume icon421, the intelligent multimedia playback device250may play, (for example, by using a built-in speaker267A, an external headset, or an external speaker), an audio corresponding to the multimedia content. For example, the smart television111plays, while playing a video image, an audio corresponding to the video. The volume icon421is optionally an icon that can be used to receive a user operation. When the mobile phone407detects an operation that the user taps the volume icon421, a mute icon441shown inFIG.4Fappears. In this case, the multimedia content is optionally normally played, but the audio corresponding to the multimedia content cannot be played.

The playback control card409optionally includes a playback icon423. When the playback control card409displays the playback icon423, the smart television111plays the multimedia content. The playback icon423is optionally an icon that can be used to respond to a user operation. When the mobile phone407detects an operation that the user taps the playback icon423, a playback pause icon445shown inFIG.4Fappears. In this case, playback of the multimedia content is paused.

The playback control card409optionally includes a volume display bar425. The volume display bar425optionally displays a percentage of current volume to maximum volume by using a slider425A, or optionally displays quantifiable volume (for example, 50 decibels). The volume display bar425is optionally an icon that can be used to respond to a user operation. For example, the mobile phone407receives a drag gesture performed by the user on the slider425A, to adjust volume. In some possible implementation solutions, when the mute icon441appears in the playback control card409, the slider425A is optionally displayed on the leftmost side of the volume display bar425, and is restored to an original location after the volume icon421appears.

The playback control card409optionally includes a playback progress display bar427. The playback progress display bar427optionally displays a playback progress in a unit of time (for example, seconds or minutes) by using a slider427A, and optionally displays the playback progress in proportion. The playback progress display bar427is optionally an icon that can be used to respond to a user operation. For example, a drag gesture performed by the user on the slider427A is received, to adjust the playback progress.

The playback control card409optionally includes a rewind icon429. For example, when the mobile phone407detects an operation that the user taps the rewind icon429, the playback progress rewinds to one or more frames before a current video frame and the video continues being played, and the slider425A on the playback progress display bar425also slides leftward. The rewind icon429is optionally used to identify a tap operation of the user. Each time detecting an operation that the user taps the rewind icon429, the mobile phone407rewinds the video progress once. The rewind icon429is optionally used to identify a touch and hold operation of the user. The mobile phone407detects an operation that the user presses the rewind icon429, records a touch and hold time period until the user lifts, and calculates a quantity of video frames that need to be rewound. Optionally, the mobile phone rewinds the playback progress in a touch and hold process, or optionally rewinds the playback progress after the touch and hold operation ends.

The playback control card409optionally includes a fast-forward icon431. For example, when the mobile phone407detects an operation that the user taps the fast-forward icon431, the playback progress advances to one or more frames after a current video frame and the video continues being played, and the slider425A on the playback progress display bar425also slides rightward. The fast-forward icon431is optionally used to identify a tap operation of the user. Each time detecting an operation that the user taps the fast-forward icon431, the mobile phone407advances the video progress once. The fast-forward icon431is optionally used to identify a touch and hold operation of the user. The mobile phone407detects an operation that the user presses the fast-forward icon431, records a touch and hold time period until the user lifts, and calculates a quantity of video frames that need to be advanced. Optionally, the mobile phone advances the playback progress in a touch and hold process, or optionally advances the playback progress after the touch and hold operation ends.

The playback control card409optionally includes a next-episode icon433. For example, when the mobile phone407detects an operation that the user taps the next-episode icon433, the smart television111plays a next video, and the playback control card409refreshes and displays playback information of a video currently played by the smart television111. The next video is optionally a next episode of a same episode, is optionally another next video recommended by a video playback application (Huawei Video325), or is optionally a next episode specified by the user.

The playback control card409optionally includes a playback resume icon435. For example, when the mobile phone407detects an operation that the user taps the playback resume icon435, optionally, the mobile phone407enters the video playback application (Huawei Video325), and resumes playing a video that is being played on the smart television111. In some possible implementation solutions, the smart television111does not change after the mobile phone407resumes playing the video, and continues playing the video that is currently being played. In some possible implementation solutions, the smart television111ends video playback after the mobile phone407resumes playing the video. In some possible implementation solutions, after the mobile phone407resumes playing the video, the smart television111/the mobile phone407indicates to the user whether playback of the video played on the smart television111needs to be ended.

The playback control card409optionally includes a “More” icon377. When detecting an operation that the user taps the “More” icon377, the mobile phone407optionally displays the following options, a subset thereof or a superset thereof: Ignore this time, Share, Pin to top, Display when the screen is locked, Cancel subscription, Display in another interface, and the like,

FIG.4Lshows an example of an interface in which the playback control card409is displayed when the screen is locked.FIG.4Lshows a lock screen interface453of the mobile phone407. The lock screen interface453includes the playback control card409, and further includes an indicator455indicating that the mobile phone407is in the lock screen interface453. For example, content of the indicator455is “Slide to unlock”.

It may be understood that the playback control card409is an example embodiment. In some other embodiments, the playback control card409optionally includes more/less playback information, optionally includes different names of the playback information, and optionally presents the playback information in different styles and/or layouts.

In some possible implementation solutions.FIG.4Mis an example interface diagram of displaying the playback control card409in a notification center interface457. The notification center interface457includes the playback control card409. The notification center interface457may be obtained in the user interface301shown inFIG.3A, by detecting a top-bottom sliding gesture of the user by the mobile phone407.

FIG.4DandFIG.4Eshow a process in which after playback information on the smart television111changes (for example, a playback progress changes or volume changes), playback information displayed on the playback control card409also changes accordingly.

In some possible implementation solutions, after the smart television111receives a remote control instruction from a remote control of the user, some playback information changes.FIG.4Dshows a playback progress display bar405, a slider405A on the playback progress display bar405, a volume icon437, a volume display bar439, and a slider439A on the volume display bar439after the smart television111receives the remote control instruction from the remote control. Compared with the playback control card409that corresponds to the smart television111inFIG.4Band that is shown inFIG.4C, it can be learned from the playback control card409shown inFIG.4Dthat a playback progress and volume on the smart television111change. After the playback information changes, the smart television111synchronizes the playback information to the mobile phone407by using the wireless communications module265.FIG.4Eshows a volume display bar425, a slider425A on the volume display bar425, a playback progress display bar427, and a slider427A on the playback progress display bar427in the playback control card409corresponding to the smart television111after the playback information is synchronized. It can be learned that playback information displayed on the smart television111inFIG.4Dis basically the same as playback information displayed on the playback control card409inFIG.4E, and corresponding slider locations are basically the same. This indicates that the playback information on the smart television111is synchronized to the playback control card409in real time. Due to factors such as information transfer and/or processing, such real-time synchronization may be understood as real-time synchronization within a specific allowed error range.

FIG.4FandFIG.4Gshow a process in which a user performs playback control on a smart television111by using a playback control card409.

In some possible implementation solutions, when the mobile phone407detects an operation that the user taps the volume icon421inFIG.4C, the volume icon421in the playback control card409changes to a mute icon441shown inFIG.4F. After the mobile phone407sends a playback control command to the smart television111by using the wireless communications module, a mute icon443shown inFIG.4Galso appears on the smart television111.

In some possible implementation solutions, when the mobile phone407detects an operation that the user taps the playback icon423inFIG.4C, the playback icon423in the playback control card409changes to a playback pause icon445inFIG.4F. After the mobile phone407sends a playback control command to the smart television111by using the wireless communications module, the playback icon403in the smart television111also changes to a playback pause icon447shown inFIG.4G.

The following describes a process in which the user resumes, by using the playback control card409, playing the video that is being played on the smart television111.

In some possible implementation solutions, when detecting an operation that the user taps the playback resume icon435inFIG.4C, the mobile phone407jumps to a video playback application and continues playing the video. Herein, the playback information shown inFIG.4Dis used as an example. After the user taps the playback resume icon435in the playback control card409, an example user interface449of Huawei Video325shown inFIG.4Happears on the mobile phone407, and the user can resume playing the video “Stepping Bravely” in the user interface449. It can be learned that, in this case, the playback information shown in Huawei Video325inFIG.4His basically consistent with the playback information shown inFIG.4D. It may be understood that such consistency is consistency within a specific allowed error range.

In some possible implementation solutions, an application used by the user to play multimedia content on a mobile phone and an application used by the user to play multimedia content on a television are completely the same, that is, the application supports both use on the mobile phone and use on the television. In some possible implementation solutions, an application used by the user to play multimedia content on a mobile phone and an application used by the user to play multimedia content on a television are different versions of a same application. For example, the application on the mobile phone is a mobile phone version of Huawei Video325, and the application on the television is a television version of Huawei Video. In some possible implementation solutions, an application used by the user to play multimedia content on a mobile phone and an application used by the user to play multimedia content on a television are associated applications. The television plays the multimedia content by using a first application. The mobile phone receives playback information, where the playback information includes a multimedia content identifier, and the mobile phone can resume playing the multimedia content in a second application by using the multimedia identifier.

In some possible implementation solutions, the multimedia content resumed by the user on the mobile phone and the multimedia content played by the user on the smart television have a same type. In some possible implementation solutions, the multimedia content resumed by the user on the mobile phone and the multimedia content played by the user on the smart television have different types. For example, the multimedia content played on the television is a 4K version of “Stepping Bravely”, and the multimedia content resumed on the mobile phone is a 1080P version of “Stepping Bravely”. For another example, the content played on the television is a VR version of “Stepping Bravely”, and the multimedia content resumed on the mobile phone is a planar version corresponding to the VR version of “Stepping Bravely”. For another example, the content played on the smart VR glasses is a panoramic video version that is of “Stepping Bravely” and that includes depth-of-field data, and the multimedia content resumed on the mobile phone is a panoramic video version of “Stepping Bravely”.

In some possible implementation solutions, an emergency situation such as power-off/WLAN disconnection may occur in the smart television111. In this case, a device status of the smart television111relative to the mobile phone407is an offline state, and a playback control command of the mobile phone407for the smart television111fails To indicate, to the user on the mobile phone407, that playback control fails, display of the playback control card409optionally stops; one or more icons optionally become icons that can be used not to receive a user operation; colors of one or more icons optionally change, for example, colors of the volume icon421, the playback icon423, the volume display bar425, the slider425A, the playback progress display bar427, the slider427A, the rewind icon429, the fast-forward icon431, and the next-episode icon433in the playback control card409shown inFIG.4Ichange to gray; display of one or more icons optionally stops, for example, display of the volume icon421, the playback icon423, the volume display bar425, the slider425A, the playback progress display bar427, the slider427A, the rewind icon429, the fast-forward icon431, and the next-episode icon433in the playback control card409inFIG.4Cstops (as shown inFIG.4J); the user is optionally prompted that playback control fails, for example, a prompt box451in the control center interface353shown inFIG.4K, and an example of content in the prompt box451is “Prompt: Not in the same WLAN. Playback control fails!”, or an example of the content may be “XXX device is offline. Playback control fails!”; or one or a combination of the foregoing implementation solutions optionally exists, or another implementation solution may exist.

In some possible implementation solutions, the mobile phone407may fail to resume playback, for example, a video source is lost, a video parsing error occurs, or the mobile phone407does not have permission to open a video playback application. To indicate, to the user on the mobile phone407, that playback resuming fails, a solution similar to that shown inFIG.4Kis optionally used. For example, the prompt box451is generated in the control center interface353/the user interface449of the video application, to indicate to the user that playback resuming fails, for example, content is “A video parsing error occurs. Playback fails”. Details are not described herein again.

According to the method for resuming playing multimedia content between devices provided in embodiments of this application, playback information of the intelligent multimedia playback device250within a specific time period is reserved on the portable electronic device200, so that the user can resume playing the multimedia content within a specific time period after a WLAN is disconnected for the last time/the intelligent multimedia playback device250exits a playing state/the intelligent multimedia playback device250is powered off, or the like. For example, the user can resume playing “Stepping Bravely” on the mobile phone407within a period of time after the user turns off the smart television111and then leaves home (the WLAN is disconnected). Descriptions are provided below by using an example in which the user continues to watch, on the mobile phone407after leaving home, a video last played on the smart television111.

In some possible implementation solutions, the user expects to resume playing, within a period of time after the user leaves home, a video played on the smart television111. For example, in a scenario shown inFIG.5A, within a period of time, the user watches the video played on the smart television111and leaves home. In this case, the mobile phone407and the smart television111of the user are not in a same WLAN, and a device status of the smart television111relative to the mobile phone407is offline.

Display of an indicator that is in signal strength indicators303inFIG.5Band that is used to indicate a WLAN connection stops. In some possible implementation solutions,FIG.5Bfurther shows a playback control card409in a SmartCare interface369. In this case, the mobile phone407and the smart television111are not in a same WLAN, and the user cannot implement playback control on the smart television111by using the playback control card409. Display of a volume icon421, a volume display bar425, a slider425A, a rewind icon429, a fast-forward icon431, a next-episode icon433, a playback icon423, a playback progress display bar427, and a slider427A stops. In some possible implementation solutions, the playback control card409shown inFIG.5Cretains a playback icon423, a playback progress display bar427, and a slider427A. The mobile phone407collects locally stored latest playback information, and indicates a playback progress of a last played video by using the slider427A, to bring better visual experience to the user.

When detecting an operation that the user taps the playback resume icon435inFIG.5B, the mobile phone407optionally displays the user interface449of the video playback application Huawei Video325shown inFIG.4H. It may be understood that, playback information displayed in the user interface449may be playback information with high real-time performance, and is basically consistent with playback information within a period of time when the user leaves home/the smart television111is turned off (because the playback information is synchronized within a period of time before the user leaves home), or may be earlier playback information (the playback information is not synchronized within a period of time before the user leaves home).

In some possible implementation solutions, the mobile phone407may fail to resume playback, for example, a video source is lost, a video parsing error occurs, or the mobile phone407does not have permission to open a video playback application. To indicate, to the user on the mobile phone407, that playback resuming fails, display of the playback control card409optionally stops; a prompt box501shown inFIG.5Dis optionally generated, where an example of content is “Prompt: A video parsing error occurs. Playback resuming fails!”; or another implementation solution optionally exists. Details are not described herein.

FIG.5Eis a schematic diagram in which a user returns to a home scenario100after leaving home. The user picks up the mobile phone407again to view the playback control card409corresponding to the smart television111. In this case, the mobile phone407and the smart television111are in a same WLAN. An indicator that is in signal strength indicators303inFIG.5Fand that is used to indicate a WLAN connection is re-displayed. The playback control card409changes from the playback control card409shown inFIG.5B/FIG.5Cto the playback control card409shown inFIG.5F. It can be learned that the volume icon421, the playback icon423, the volume display bar425, the slider425A, the playback progress display bar427, the slider427A, the rewind icon429, the fast-forward icon431, and the next-episode icon433are re-displayed. In this case, the playback control information is synchronized again, and the user can perform playback control on the smart television111by using the playback control card.

The following describes a process in which a plurality of intelligent multimedia playback devices250need to generate playback control cards in the SmartCare interface369. In an implementation solution, all the playback control cards are optionally displayed. In an implementation solution, one or more of the cards are optionally displayed, and remaining cards are displayed in the SmartCare interface369in a form of, for example, “Unfolded-Folded”. In another implementation solution, one or more of the cards are displayed, and remaining cards are displayed in another interface different from the SmartCare interface369in a manner of, for example. “Display all-Back”.

FIG.6AandFIG.6Bshow an implementation solution when a plurality of playback control cards need to be displayed. A SmartCare interface369inFIG.6Aincludes a playback control card409and an “Unfold” icon601. When the mobile phone407detects an operation that a user taps the “Unfold” icon601, a SmartCare interface369shown inFIG.6Bappears. The SmartCare interface369includes the playback control card409corresponding to the smart television111, a playback control card603corresponding to a smart speaker113where the playback control card603plays an example audio “Yoga Accompaniment”607, and displays an example picture609, and a playback control card605corresponding to a smart projector141, where the playback control card605plays an example video “Beautiful Scenery”611, and displays an example picture613. The SmartCare interface369further includes a “Fold” icon615. When the mobile phone407detects an operation that the user taps the “Fold” icon615, the SmartCare interface369returns to the interface shown inFIG.6A.

In some possible implementation solutions, multimedia content whose file type is a video can be played by using a video playback application, for example, Huawei Video325. In some other implementation solutions, multimedia content whose file type is an audio can be played by using an audio playback application, for example, Music321. During playback resuming, the mobile phone407needs to determine a type of the multimedia content by using the processor201, and play the multimedia content of the type by using a corresponding application.

In some possible implementation solutions, when the plurality of playback control cards need to be displayed, a sequence of the playback control cards needs to be considered. A method for sorting the playback control cards is optionally sorting the playback control cards based on the name419(for example, a length or an initial letter) of the intelligent multimedia playback device250; optionally sorting the playback control cards based on a playback status (playing/pause/buffering) of the device; optionally sorting the playback control cards based on a device status (online/offline), where an online device supports playback control and/or playback resuming, and an offline device optionally supports playback resuming within a period of time; optionally sorting the playback control cards based on a room in which the user is located; or optionally pining a playback control card on top by using a “More” icon377on the playback control card, to manually change the sorting sequence.

FIG.6CandFIG.6Dshow an implementation solution of sorting playback control cards based on a location of a user.

FIG.6Cshows a movement track617of a user in a home scenario100, that is, the user leaves from a first room110, passes through a corridor150, and finally arrives at a fourth room140. When the user is in the first room110, the SmartCare interface369displays an example of the user interface shown inFIG.6B. A sorting sequence is: the playback control card409corresponding to the smart television111in the first room110→the playback control card603corresponding to the smart speaker113in the first room110→the playback control card605corresponding to the smart projector141in the fourth room140.

FIG.6Dshows a SmartCare interface369shown when a user is in a fourth room140. A sorting sequence is: the playback control card605corresponding to the smart projector141in the fourth room140→the playback control card409corresponding to the smart television111in the first room110→the playback control card603corresponding to the smart speaker113in the first room110.

In the foregoing implementation solution, a user location needs to be identified. This may be implemented by using an indoor positioning technology. The indoor positioning technology includes but is not limited to a Wi-Fi positioning technology, an RFID positioning technology, an infrared technology, an ultrasonic technology, a Bluetooth technology, an inertial navigation technology, a UWB positioning technology, and an image recognition positioning technology.

Optionally, the positioning technology can be implemented by using the portable electronic device200and/or the intelligent multimedia playback device250. Optionally, in addition to the portable electronic device200and/or the intelligent multimedia playback device250, auxiliary positioning is further implemented by using another device (for example, a home camera).

In some possible implementation solutions, a room that needs to be processed by using the positioning technology is a virtual location label, and a relative location may be determined by determining one or more distances between the portable electronic device200and one or more devices. In some other implementation solutions, a room that needs to be processed by using the positioning technology is a physical room. In this case, a specific location of the portable electronic device200in the home scenario TOO may be determined by using an inertial navigation technology, an RFID positioning technology, or the like in the positioning technology.

In some possible implementation solutions, the portable electronic device200can resume playing, on a second intelligent multimedia playback device250, multimedia content played on a first intelligent multimedia playback device250. It may be understood that the second intelligent multimedia playback device250needs to support playback of a type of multimedia content played on the first intelligent multimedia playback device250. For example, as shown inFIG.6E, after the user moves from the first room110to the fourth room140, a prompt box619appears in the SmartCare interface369of the mobile phone407, to ask the user whether playback of “Stepping Bravely” that is being played on the smart television111needs to be resumed on the smart projector141.FIG.6Fis a schematic diagram of a scenario in which after the portable electronic device200receives an operation that the user taps “Yes”, the smart projector141resumes playing “Stepping Bravely” played on the smart television111.FIG.6Fshows a playback icon621, a playback progress display bar623, and a slider623A on the playback progress display bar623in a smart projector141. Playback information of the smart projector141shown inFIG.6Fis basically consistent with the playback information of the smart television111shown inFIG.6D.FIG.6Gshows playback control cards displayed in the SmartCare interface369after the portable electronic device200receives an operation that the user taps “Yes”. It can be learned that the playback information displayed in the playback control card605corresponding to the smart projector141is refreshed, and is basically consistent with the playback information displayed in the playback control card409corresponding to the smart television111, so that playback of the multimedia content played on the smart television111is resumed on the smart projector141.

After the second intelligent multimedia playback device250resumes playing the multimedia content of the first multimedia playback device250, details are as follows: In some possible implementation solutions, the first intelligent multimedia playback device250remains unchanged, and continues playing the multimedia content. In some possible implementation solutions, the first intelligent multimedia playback device250stops playing the multimedia content. In some possible implementation solutions, the portable electronic device200/the first intelligent multimedia playback device250/the second intelligent multimedia playback device250asks the user whether playback on the first intelligent multimedia playback device250needs to end.

FIG.6Hshows a scenario in which the user uses the smart television111in split-screen mode. In this case, a first split screen625of the smart television111is playing a video “Stepping Bravely”, and a second split screen627of the smart television111is playing a video “Football”. Audios corresponding to the videos that are being played on the first split screen625and the second split screen627are optionally output by a same device, for example, output by the smart television111; are optionally output by different devices, for example, the audio corresponding to the video played on the first split screen625is output by the smart speaker113, and the audio corresponding to the video played on the second split screen627is output by the smart television111, or may be output by another device such as a speaker or a headset.

FIG.6Ishows that the smart television111separately displays, in a SmartCare interface369, a playback control card629corresponding to the first split screen625and a playback control card631corresponding to the second split screen627. Names of intelligent multimedia playback devices in the playback control cards are “Television111in the first room”, In some possible implementation solutions, the playback control card629corresponding to the first split screen625is displayed above the playback control card631corresponding to the second split screen627. In some possible implementation solutions, optionally, the “first split screen” and the “second split screen” are respectively marked in the playback control card629and the playback control card631for prompting the user (this solution is not shown inFIG.6I).

FIG.6Jshows that the smart television111displays, in a SmartCare interface369, a playback control card633corresponding to the first split screen625and the second split screen627. The playback control card633includes playback information of both the first split screen625and the second split screen. In this embodiment, a plurality of pieces of different multimedia content in one intelligent multimedia playback device250are optionally displayed in one playback control card.

FIG.6Kis a schematic diagram of playing a plurality of videos in a SmartCare interface369when the user watches the plurality of videos by using the smart television111in split screen mode. The SmartCare interface369includes a playback control card635corresponding to the first split screen625and a playback control card637corresponding to the second split screen627. In this case, an associated picture639of the multimedia content corresponds to a real-time frame corresponding to a playback progress in the video played on the first split screen625, and an associated picture641of the multimedia content corresponds to a real-time frame corresponding to a video playback progress in the video played on the second split screen627. In this manner, the user can watch the multimedia content in real time in the playback control card.

In some possible implementation solutions, when the portable electronic device200detects behavior that the user touches and holds a playback resume icon643, the portable electronic device200shows an interface shown inFIG.6L. A first area645of the interface plays the video played on the first split screen625, and a second area647of the interface corresponds to the user interface301. When the portable electronic device200detects a gesture649that the user slides from left to right in the second area647, the second area647is displayed as a control center interface353shown inFIG.6M, and the control center interface353includes a playback control card651. It may be understood that touching and holding is optionally an example of a representation manner, or is optionally a voice input whose semantics is watching in split-screen mode, or is optionally an operation that the portable electronic device200detects that the user presses the playback resume icon643and then drags the playback resume icon to the playback control card637. In some possible implementation solutions, when the portable electronic device200detects behavior that the user taps the playback resume icon653, the portable electronic device200shows an interface shown inFIG.6N. A first area645of the interface plays the video played on the first split screen625, and a second area647of the interface plays the video played on the second split screen627. It may be understood that tapping is optionally an example of a representation manner, or is optionally a voice input Whose semantics is watching in split-screen mode.

In some possible implementation solutions, the portable electronic device200may alternatively display, in a form of one or more floating windows, an interface shown inFIG.6O. The interface includes a first floating window655and a second floating window657. The portable electronic device200can optionally detect a user input, to adjust a size and a location of the floating window. It may be understood that the portable electronic device200optionally includes more or fewer floating windows than those shown inFIG.6O.

In some possible implementation solutions, the portable electronic device200may receive a user operation to determine whether to generate a playback control card corresponding to an intelligent multimedia playback device250on the portable electronic device200, for example, a playback control card setting interface659shown inFIG.6PThe interface659includes an interface identifier “Playback control card settings”661, and the interface659displays intelligent multimedia playback devices250that are associated with the “AI Life” application and that are used for configuration, for example, the television111in the first room and the television121in the second room.

In some possible implementation solutions, the portable electronic device200may further receive a user operation to determine whether the playback control card supports a playback resume function, for example, a playback resume function setting interface663shown inFIG.6Q. The interface663includes an interface identifier “Playback resume function settings”665, the interface663includes an interface identifier “Playback control card settings”665, and the interface663displays intelligent multimedia playback devices250that are associated with the “AI Life” application and that are used for configuration, for example, the television111in the first room and the television121in the second room.

In some possible implementation solutions, the intelligent multimedia playback device250can support a playback resume function only when a playback control card is generated. In some possible implementation solutions, the intelligent multimedia playback device250can also support the playback resume function without displaying the playback control card, for example, implement the playback resume function through a voice input. For example, after receiving a user voice “Hey Celia, continue playing ‘Stepping Bravely’ on the television on the mobile phone”, the portable electronic device200may resume playing, on the portable electronic device200, video content played on the television.

In some possible implementation solutions, a plurality of intelligent multimedia playback devices250of a same type play same multimedia content and have same playback information, and the plurality of intelligent multimedia playback devices250are displayed in one playback control card. In this scenario, in a large family, family members in a plurality of rooms can simultaneously watch same multimedia content by using multimedia devices in respective rooms, and playback progresses or volume of the multimedia content in the rooms is the same. In this case, the playback control card can display the volume and the playback progress. In some examples, in a scenario in which family members in a plurality of rooms simultaneously watch same multimedia content by using multimedia devices in respective rooms, playback progresses or volume of the multimedia content in the rooms may be different (for example, a user in a first room prefers high volume, and a television in the first room may increase the volume when playing “Stepping Bravely”). In this case, the playback control card may not display the volume or the playback progress. As shown inFIG.6R, the television111in the first room and the television121in the second room are playing same multimedia content, and a playback control card667is displayed in a SmartCare interface369. In this manner, playback control can be performed on a plurality of intelligent multimedia playback devices in one playback control card.

In some possible implementation solutions, a plurality of intelligent multimedia playback devices250of different types play same multimedia content. For example, a smart television is playing a video corresponding to the multimedia content, and a smart speaker is playing an audio corresponding to the multimedia content. In this case, the plurality of intelligent multimedia playback devices250are displayed in one playback control card. As shown inFIG.6S, the television111in the first room and the speaker113in the first room are playing same multimedia content, and a playback control card669is displayed in a SmartCare interface369. In some possible implementation solutions, the playback control card669optionally includes a volume display bar corresponding to each intelligent multimedia playback device250, so that a user input can be received to adjust volume of each intelligent multimedia playback device250.

In some possible implementation solutions, a plurality of intelligent multimedia playback devices250of different types play same multimedia content, and the plurality of intelligent multimedia playback devices250are optionally displayed in one playback control card. As shown inFIG.6T, the television111in the first room and the smart projector141are playing same multimedia content, and a playback control card671is displayed in a SmartCare interface369. The playback control card671includes an area671A used to display multimedia content, an area671B used to display playback information of the television111in the first room, and an area671C used to display playback information of the projector141in the fourth room. In this case, at least one piece of playback information of the smart television111and the projector141is different. If the playback information of the smart television111and the projector141is the same, the playback control card is optionally the playback control card669shown inFIG.6S. A display sequence of the area671B and the area671C may be adjusted and displayed based on a location of the portable electronic device200in the home scenario100. As shown inFIG.6T, the portable electronic device200is in the first room110, the user is watching “Stepping Bravely” through the smart television111, and the area671B is displayed above the area671C. As shown inFIG.6U, the portable electronic device200is in the fourth room140, the user is watching “Stepping Bravely” through the projector141, and the area671C is displayed above the area671B, to bring better moving watching experience to the user.

The following describes a specific method procedure in embodiments of this application.

Playback information optionally includes a multimedia content name (for example, the name “Stepping Bravely”415of the played video in the playback control card409shown inFIG.4C), a multimedia content identifier, a multimedia content type (for example, an audio or a video), multimedia content duration, an associated picture of the multimedia content (for example, the associated picture417of the played video in the playback control card409shown inFIG.4C), a multimedia content source address, and the like. The playback information optionally includes a playback status (for example, a playing state/pause state, and optionally represented by the playback icon423/playback pause icon445), a playback progress (for example, displayed by the playback progress display bar427), a volume status (for example, a non-muted state/muted state, and displayed by the volume icon421/mute icon441), and playback volume (for example, displayed by the volume display bar425).

The multimedia content identifier and the multimedia content source address may enable the device or another device to obtain the multimedia content from a server.

Device information optionally includes a device name (for example, the name419of the intelligent multimedia playback device250, for example, a name “Television in the first room” of the smart television111), a device identifier, and a device type (for example, the smart television111or the smart speaker113).

FIG.7Ashows an embodiment of this application. Step701is an optional execution step.

A portable electronic device200establishes (step701) a near field connection to an intelligent multimedia playback device250, and the devices that establish the near field connection can exchange data. For example, the mobile phone407of the user inFIG.4Baccesses, by using the wireless communications module217, a WLAN provided by the router145shown inFIG.1A, and the smart television111and the smart speaker113access, by using the wireless communications module265, the WLAN provided by the router145shown inFIG.1A. In this case, the mobile phone407, the smart television111, and the smart speaker113are located in a same wireless network, and the devices can exchange data.

In some possible implementation solutions, the portable electronic device200and the intelligent multimedia playback device250may log in to a same user account (for example, a Huawei account or a Huawei Video account).

The intelligent multimedia playback device250is playing (step703) first multimedia content. It may be understood that the intelligent multimedia playback device250may have played the multimedia content before step701, or may start to play the multimedia content after step701. For example, the smart television111inFIG.4Ais playing a video file “Stepping Bravely”, and displays a frame401of the video file. It may be understood that the smart television111may have played “Stepping Bravely” before being in the same WLAN as the mobile phone407, or may start to play “Stepping Bravely” after being in the same WLAN as the mobile phone407.

The portable electronic device200receives (step705) first playback information sent by the intelligent multimedia playback device250, where the first playback information corresponds to the first multimedia content played by the intelligent multimedia playback device250. An optional obtaining manner is as follows: The intelligent multimedia playback device250periodically sends the playback information to the portable electronic device200; the intelligent multimedia playback device250sends the playback information to the portable electronic device200after the playback information changes; or after the portable electronic device200sends an obtaining request, the intelligent multimedia playback device250sends the playback information to the portable electronic device200. The first playback information includes an identifier of the first multimedia content and a playback progress of the first multimedia content, and optionally includes a source address of the first multimedia content, a playback status of the first multimedia content, a volume status of the first multimedia content, or playback volume of the first multimedia content.

The portable electronic device200displays (step707) a first playback control card corresponding to the first multimedia content, where the first playback control card includes a first control and a second control, and the second control is used to control playback of the first multimedia content. For example, the first control is a playback resume option, and the second control is used to display or perform playback control on the first multimedia content. When detecting a user gesture351, the mobile phone407displays, in the SmartCare interface369in the control center interface353, the playback control card409corresponding to the smart television111shown inFIG.4C, where the playback control card409includes the playback resume icon435. It may be understood that the playback control card409may alternatively be displayed in another interface of the mobile phone407, for example, a notification center interface.

In response to a first user input performed on the first control, the portable electronic device200obtains the first multimedia content from a server based on the first playback information, and resumes playing the first multimedia content based on the first playback information (step709). In some possible implementation solutions, a playback progress of the first multimedia content resumed by the first device is the same as the playback progress of the first multimedia content played by the second device. For example, playback of a video is resumed. The playback control card409corresponding to the smart television111shown inFIG.4Dand the playback information are used as an example. In this case, in response to an operation that the user taps the playback resume icon435, the mobile phone407opens Huawei Video325used to play the video, and implements playback resuming (for example, displays the user interface449shown inFIG.4H). For another example, playback of an audio is resumed. The playback control card603corresponding to the smart speaker113shown inFIG.6Band the playback information are used as an example. In this case, in response to an operation that the user taps a playback resume icon (the playback resume icon is not marked), the mobile phone407opens Music321used to play the audio, and implements playback resuming. Playback of the multimedia content is resumed by optionally searching for a multimedia content name, by optionally searching for a multimedia content identifier, or by optionally searching for a multimedia file source address.

In some possible implementation solutions, the portable electronic device200may obtain playback information of another multimedia playback device and generate a corresponding playback control card. For example, in addition to obtaining playback information of the smart television111and generating a playback control card corresponding to the smart television111, the portable electronic device200may further obtain playback information of audio content played by the smart speaker123, and generate a playback control card corresponding to the smart speaker113. The playback control card corresponding to the smart television111and the playback control card corresponding to the smart speaker123may be simultaneously displayed in the SmartCare interface369shown inFIG.6D.

In some possible implementation solutions, the SmartCare interface369displays a plurality of playback control cards. For example, the SmartCare interface369displays a first playback control card corresponding to the smart television111and a second playback control card corresponding to the smart speaker123. Display effects of the first playback control card and the second playback control card are determined based on a location relationship between the portable electronic device200and each of a first area (for example, the first room110) corresponding to the smart television111and a second area (for example, the second room120) corresponding to the smart speaker123.

The following provides a specific example in which the display effects of the first playback control card and the second playback control card are determined based on the location relationship between the portable electronic device200and each of the first area (for example, the first room110) corresponding to the smart television111and the second area (for example, the second room120) corresponding to the smart speaker123: When the portable electronic device200is located in the first area (for example, the first room110), the first playback control card in the SmartCare interface369is displayed above the second playback control card.

In some possible implementation solutions, after breaking the connection to the wireless network, the portable electronic device200may display a playback control card corresponding to the intelligent multimedia playback device250, where the playback control card includes a first control (that is, a playback resume option). When the portable electronic device200is in the wireless network, the displayed playback control card corresponding to the intelligent multimedia playback device250does not include the first control (that is, the playback resume option). In this way, when the user is at home, the user may focus on the content played by the intelligent multimedia playback device250, and when the user leaves home, the user may continue playing the multimedia content by using the playback resume option in the playback control card.

With reference toFIG.7BtoFIG.7D, the following shows a process in which the portable electronic device200obtains playback information of multimedia content played on the intelligent multimedia playback device250.

FIG.7Bshows a process in which an intelligent multimedia playback device250synchronizes playback information to a portable electronic device200after the playback information changes.

After device startup, the intelligent multimedia playback device250invokes (step711) a playback information subscription interface provided by a video playback application. When the playback information changes, the intelligent multimedia playback device250receives a notification of the playback information subscription interface. For example, the playback information optionally changes when the intelligent multimedia playback device250changes from playing no multimedia content to playing multimedia content, optionally changes when the intelligent multimedia playback device250plays multimedia content, or optionally changes when the intelligent multimedia playback device250changes from playing multimedia content to playing no multimedia content.

The intelligent multimedia playback device250obtains and stores changed playback information, and refreshes a current local UTC timestamp of the playback information. For example, after being started, the smart television111invokes a playback information subscription interface provided by Huawei Video on the smart television111.FIG.4Dshows a scenario in which the user remotely controls the smart television111by using a remote control. After the remote control, a location of the slider405A on the playback progress display bar405changes compared with a location of the slider405A originally shown inFIG.4A, and a location of the slider439A on the volume display bar439changes (the volume display bar439is not shown inFIG.4A, but optionally, it can be learned, from the slider427A on the volume display bar427in the playback control card409that is shown inFIG.4Cand that corresponds to the smart television111inFIG.4A, that the location of the slider439A changes). After receiving the notification of the playback information subscription interface, the smart television111obtains and stores changed playback information, and refreshes a current local UTC timestamp of the playback information.

In some possible implementation solutions, the intelligent multimedia playback device250directly synchronizes the playback information to the portable electronic device200. However, due to existence of some continuously changing playback information (for example, a playback progress of multimedia content, where a playback progress of multimedia content that is being played keeps changing), a synchronization frequency is excessively high and consequently power consumption increases. In some other implementation solutions, after obtaining and storing the changed playback information, the intelligent multimedia playback device250first determines (step713) whether current synchronization needs to be performed. When only continuously changing playback information (for example, a playback progress) changes incrementally with time, the synchronization does not need to be performed, the following steps are skipped, and the current synchronization ends. When playback information other than the continuously changing playback information changes, the synchronization needs to be performed, and the following steps continue to be performed. For example, compared with the playback information inFIG.4A, in the playback information collected by the smart television111shown inFIG.4Dafter the smart television111receives the remote control from the user, in addition to the location of the slider405A for displaying a playback progress, the location of the slider439A for displaying volume also changes. In this case, the playback information collected this time needs to be synchronized. In some other implementation solutions, the intelligent multimedia playback device250may determine, based on a type of the playback information, whether to synchronize the playback information.

The intelligent multimedia playback device250finds (step715) intelligent electronic devices in a same network, and collects device information of these intelligent electronic devices. For example, the smart television111finds, by using the wireless communications module265, that other devices in a WLAN provided by the router145include a smart speaker113and a mobile phone407. The smart television111collects and stores device information of the two devices.

The intelligent multimedia playback device250connects (step717) to the portable electronic device200in the same network. Optionally, a connection manner is that the intelligent multimedia playback device250sends, to the portable electronic device200, a login account bound to the intelligent multimedia playback device250. If the portable electronic device200determines that a received login account is the same as a login account of the portable electronic device200, a connection may be established. For example, the smart television111sends a login account of the smart television111to the mobile phone407. After verification succeeds, the mobile phone407optionally returns a return code indicating that the connection succeeds. After verification fails, the mobile phone407optionally returns a return code indicating that the connection fails.

In some possible implementation solutions, the intelligent multimedia playback device250is connected to a device whose device type is the portable electronic device200. In some possible implementation solutions, in addition to the device whose device type is the portable electronic device200, the intelligent multimedia playback device250is further connected to another type of intelligent electronic device.

The intelligent multimedia playback device250sends (step719) the playback information to the successfully connected portable electronic device200. For example, the smart television111sends, by using the wireless communications module265, the playback information collected in step711to the mobile phone407.

The portable electronic device200stores (step721) the playback information. After receiving the playback information sent by the intelligent multimedia playback device250in step721, the portable electronic device200stores the playback information received this time, sets, to online, a device status of the intelligent multimedia device that sends the playback information, and refreshes a current local UTC timestamp of the playback information. Optionally, the portable electronic device200sends, after storage, a return code indicating that the synchronization succeeds. For example, after receiving the playback information sent by the smart television111, the mobile phone407stores the playback information received this time, sets a device status of the television111to online, and refreshes a current local UTC timestamp of the playback information.

FIG.7Cshows a process in which an intelligent multimedia playback device250periodically synchronizes playback information to a portable electronic device200.

The portable electronic device200stores playback information that is not time-sensitive of the intelligent multimedia playback device250. For example, when the intelligent multimedia playback device250is forcibly powered off, the intelligent multimedia playback device250does not synchronize the playback information to the portable electronic device200for a long time period.

Therefore, that the intelligent multimedia playback device250periodically synchronizes the playback information to the portable electronic device200may be used as a basis for the portable electronic device200to determine whether the intelligent multimedia playback device250is online.

The intelligent multimedia playback device250starts (step723) a cyclic timer. For example, a period of the cyclic timer is 30 minutes. The cyclic timer may be generated by the processor251, or may be generated by another timer module/chip connected to the processor251.

After a timing time period expires, the intelligent multimedia playback device250finds (step725) intelligent electronic devices in a same network, connects (step727) to the portable electronic device200in the same network, and sends (step729) the playback information. After receiving the playback information, the portable electronic device200stores (step731) the playback information. Step725to step731are the same as step715to step721shown inFIG.7B. Details are not described herein again.

In addition to a manner in which the intelligent multimedia playback device250synchronizes the playback information to the portable electronic device200, the playback information may be further synchronized as follows: The portable electronic device200actively collects the playback information of the multimedia playback device250.FIG.7Dshows this active collection process.

The portable electronic device200disposes (step733) an event listener after the device is started. Optionally, the event listener is configured to listen to a screen unlock event of the portable electronic device200and an event of establishing/exiting a near field connection by the portable electronic device200, or another trigger event. When the event listened by the listener is triggered, the portable electronic device200receives a notification from the listener. For example, when a screen unlock event occurs on the portable electronic device200, the portable electronic device200receives a notification from the event listener. When the portable electronic device200accesses a WLAN provided by the router145, the portable electronic device200receives a notification from the event listener. When the portable electronic device200is disconnected from a WLAN provided by the router145, the portable electronic device200receives a notification from the event listener.

The portable electronic device200determines (step735) whether playback information needs to be collected. After the listener is triggered, the portable electronic device200determines whether the portable electronic device200establishes a near field connection to a surrounding device. If the near field connection is established, the portable electronic device200continues to perform the following steps. If the near field connection is not established/broken, the portable electronic device200skips the following steps and ends this active collection process.

In some possible implementation solutions, because a network is unstable, the portable electronic device200frequently accesses/exits the WLAN, or the user frequently unlocks a screen, and suppression needs to be performed. In some possible implementation solutions, a shortest collection period TSmay be set. For example, a local current UTC timestamp of last locally stored playback information is T0, and a local current UTC timestamp of initiating current determining of whether to perform collection is T1. In this case, it is determined whether T1−T0is greater than or equal to the shortest collection period TS. If T1−T0is greater than or equal to the shortest collection period TS, the collection is performed. If T1−T0is less than the shortest collection period TS, the following steps are skipped and this active collection process is completed.

The portable electronic device200finds (step737) intelligent electronic devices in a same network, and collects device information of these intelligent electronic devices. For example, the mobile phone407finds, by using the wireless communications module217, that other devices in a WLAN provided by the router145include a smart television111and a smart speaker113. The mobile phone407collects and stores device information of the two devices.

The portable electronic device200connects (step739) to the intelligent multimedia playback device250in the same network. Optionally, a connection manner is that the portable electronic device200sends, to the intelligent multimedia playback device250, a login account bound to the portable electronic device200. If the intelligent multimedia playback device250determines that a received login account is the same as a login account of the intelligent multimedia playback device250, a connection may be established. For example, the mobile phone407sends a login account of the mobile phone407to the smart television111and the smart speaker113. After verification succeeds, the smart television111and the smart speaker113each optionally return a return code indicating that the connection succeeds. After verification fails, the smart television111and the smart speaker113each optionally returns a return code indicating that the connection fails.

In some possible implementation solutions, the portable electronic device200is connected only to a device whose device type is the intelligent multimedia playback device250. In some possible implementation solutions, in addition to the device whose device type is the intelligent multimedia playback device250, the portable electronic device200is further connected to another type of intelligent electronic device. In some other implementation solutions, the portable electronic device200is connected to all types of intelligent electronic devices.

In some possible implementation solutions, some intelligent electronic devices do not have a capability of logging in to an account, and the portable electronic device200optionally connects to these intelligent electronic devices, or optionally does not connect to these intelligent electronic devices for security reasons.

In some possible implementation solutions, after being associated with an application, some intelligent electronic devices may be considered as having an account of the device on which the application is installed, and the portable electronic device200optionally connects to these intelligent electronic devices, or optionally does not connect to these intelligent electronic devices for security reasons.

The portable electronic device200sends (step741) a playback information obtaining request to the intelligent multimedia playback device250, and receives the playback information sent by the intelligent multimedia playback device250. For the intelligent multimedia playback device250that is successfully connected in step735, the portable electronic device200sends the playback information obtaining request. After receiving the request from the portable electronic device200, the intelligent multimedia playback device250collects and returns the playback information. After receiving the returned playback information, the portable electronic device200sets, as online, a device status of a multimedia playback device250that successfully sends the playback information, and refreshes a current local UTC timestamp of the playback information; and sets, as offline, a device status of a multimedia playback device250that is found in step737but is not successfully connected (step739)/fails to send (step741) the playback information, and does not refresh a current local UTC timestamp of the playback information.

The portable electronic device200can obtain time-sensitive playback information of the intelligent multimedia playback device250in the foregoing several playback information synchronization manners shown inFIG.7BtoFIG.7D.

FIG.7Eshows an example of a diagram of data exchange between a portable electronic device200and an intelligent multimedia playback device250. A number is optionally in a unit of minutes. A time difference between T0, T1, T2, and the like is optionally 10 minutes.

It can be learned that, at a minute T0, the intelligent multimedia playback device250sends playback information to the portable electronic device200, where a status in this case is optionally that the intelligent multimedia playback device250switches from an idle state to a state in which playback control is performed on multimedia content, or the intelligent multimedia playback device250and the portable electronic device200access a same WLAN, to trigger the procedure shown inFIG.7B. In minutes T1to T2, the intelligent multimedia playback device250sends playback information to the portable electronic device200, where a status in this case is optionally that a user remotely controls the intelligent multimedia playback device250by using a remote control. In this case, playback information of multimedia content changes, and the procedure shown inFIG.7Bis triggered. At a minute T3, the intelligent multimedia playback device250synchronizes playback information to the portable electronic device200. In this case, a periodic sending time point is exactly reached, and the procedure shown inFIG.7Cis triggered. In minutes T3to T4, the portable electronic device200unlocks a screen, to trigger the procedure shown inFIG.7D. The portable electronic device200sends the playback information obtaining request to the intelligent multimedia playback device250, and the intelligent multimedia playback device250returns the playback information after receiving the request. At a minute T6, the intelligent multimedia playback device250synchronizes playback information to the portable electronic device200. In this case, a periodic sending time point is exactly reached, and the procedure shown inFIG.7Cis triggered. It should be noted that the procedures shown inFIG.7BtoFIG.7Dare performed in parallel. When there is a conflict, any one of the procedures is optionally performed, or all of the procedures are optionally performed in sequence.

FIG.8shows a process in which a portable electronic device200displays and refreshes a playback control card.

The portable electronic device200displays (step801) a control center interface in response to a user input. For example, the user input is optionally the example gesture351shown inFIG.3B. When detecting the gesture351entered by the user, the mobile phone407displays an example control center interface353. For example, the control center interface353includes a SmartCare interface369. It may be understood that the control center interface353is merely an example interface, or may be another interface, for example, a notification center interface.

The portable electronic device200queries (step803) playback information last stored by each intelligent multimedia playback device250, and displays a playback control card, where the playback control card includes the playback information and/or an icon that can be used to respond to a user operation. For example, inFIG.4C, the mobile phone407queries a current local UTC timestamp last refreshed by the smart television111, and selects playback information corresponding to the current local UTC timestamp. A playback control card409is displayed in the SmartCare interface369, and the playback control card409includes playback information and/or an icon that can be used to respond to a user operation.

It may be understood that, from a perspective of technical implementations, the portable electronic device200may always store playback information of the multimedia playback device250, for example, by using the internal memory module205or an external storage card connected to the external memory interface203. Therefore, the playback control card can exist permanently. However, from a perspective of user experience, the user prefers to obtain a specific time-sensitive playback control card. Therefore, this embodiment of this application provides an implementation solution. Only a playback control card corresponding to an intelligent multimedia playback device whose device status is online or that is online within a specific time period (for example, within 30 minutes) is displayed in the SmartCare interface369. For example, the playback control card409shown inFIG.4Cthat corresponds to an online device is displayed. The playback control card409shown inFIG.5BorFIG.5Cthat corresponds to an intelligent multimedia playback device250whose device status is offline and whose offline time period is less than 30 minutes is displayed. A playback control card corresponding to an intelligent multimedia playback device250whose device status is offline and whose offline time period is greater than or equal to 30 minutes is displayed.

The portable electronic device200creates (step805) a persistent connection to the intelligent multimedia playback device250whose device status is online. The persistent connection is different from a non-persistent connection. The non-persistent connection means that a connection is broken after devices are connected and complete data exchange. The persistent connection means that a connection is maintained after devices are connected and complete data exchange. For example, a period in which the intelligent multimedia playback device250synchronizes the playback information to the portable electronic device200is 30 minutes. If the smart television111is forcibly powered off at a moment within 30 minutes, and the mobile phone407is always in a control center interface353, it takes approximately 30 minutes to determine that the smart television111is offline. Establishing the persistent connection from the portable electronic device200to each intelligent multimedia playback device250can speed up determining. For example, after the smart television111generates the playback control card409, the mobile phone407establishes a persistent connection to the smart television111. The mobile phone407sends first persistent connection information to the smart television111every 15 seconds. After receiving the first persistent connection information, the smart television111returns second persistent connection information to the mobile phone407. If the mobile phone407does not receive the second persistent connection information within a specific time period, it indicates that the persistent connection is interrupted. In this case, it is considered that the smart television111is offline, and a device status of the smart television111is changed to offline. In some possible implementation solutions, content of persistent connection information is a status code. For example, content of the first persistent connection information is “1”, and content of the second persistent connection information is “2”. In this manner, an amount of transmitted data can be reduced. In some other implementation solutions, optionally, content of the first persistent connection information is a playback information obtaining request, and content of the second persistent connection information is playback information.

The portable electronic device200refreshes (step807) the playback control card. When the portable electronic device displays the control center interface353, the playback control card needs to be refreshed based on factors such as a change of the playback control information/a device status/a location of the user to determine whether the playback control card exists/content in the playback control card and a sequence of playback control cards. The portable electronic device200invokes a local playback information subscription interface. When the locally stored playback information changes, the portable electronic device receives a notification, and refreshes the playback control card in the SmartCare interface369.

When a current interface of the portable electronic device200is not the control center interface353, the playback control card does not need to be refreshed. The portable electronic device200cancels invoking the local playback information subscription interface, and breaks the persistent connection to each online intelligent multimedia playback device250.

The following considers a case in which the portable electronic device200is disconnected from a WLAN, for example, the scenario in which the user leaves home shown inFIG.5A. After being disconnected from the WLAN, the portable electronic device200sots device statuses of all local intelligent multimedia playback devices250as offline. If the current interface of the portable electronic device200is the control center interface353, and refreshes the playback control card in the process of refreshing the playback control card in step807, for example, the playback control card409corresponding to the smart television111is changed from the playback control card shown inFIG.4Cto the playback control card shown inFIG.4IorFIG.4J. If the current interface of the portable electronic device200is not the control center interface353, the playback control card409shown inFIG.5BorFIG.5Cis displayed when a user input of sliding to the control center interface353is received next time.

FIG.9shows a process of resuming playing, on a portable electronic device200, multimedia content played on an intelligent multimedia playback device250.

The portable electronic device200detects (step901) a user input. For example, the user input is that the user taps a playback resume icon435on the playback control card409.

The portable electronic device200collects (step903) playback information. When the portable electronic device200does not establish a near field connection to the intelligent multimedia playback device250that needs to resume playback, the portable electronic device200views locally stored last playback information of the intelligent multimedia playback device250. When the portable electronic device200and the intelligent multimedia playback device250that needs to resume playback are in a near field connection, the portable electronic device200may also view locally stored last playback information of the intelligent multimedia playback device250. In some other implementation solutions, the portable electronic device200reconnects to the device, and obtains latest playback information again. In this manner of reconnecting to the device and obtaining the playback information, the playback information can be latest, and user experience can be improved.

The portable electronic device200opens (step905) a video playback application, uses the playback information obtained in step903as an input, and resumes playing the multimedia content. For example, if a type of the multimedia content is a video, the mobile phone407opens Huawei Video32to resume playing the video. If a type of the multimedia content is an audio, the mobile phone407opens Music321to resume playing the audio.

FIG.10shows a process in which a portable electronic device200performs playback control on a multimedia playback device250.

The portable electronic device200detects (step1001) a user input performed on an icon that is in a playback control card and that can be operated by a user, for example, tap a volume icon421, tap a playback icon423, drag a volume display bar425, drag a playback progress display bar427, tap a rewind icon429, tap a fast-forward icon431, and tap a next-episode icon433.

The portable electronic device200sends (step1003) a playback control command to the intelligent multimedia playback device250corresponding to the playback control card, and receives a return code from the intelligent multimedia playback device250after the execution succeeds/fails. For an intelligent multimedia playback device that fails to execute the playback control command, the portable electronic device200modifies a device status of the device to offline.

The portable electronic device200refreshes (step1005) the playback control card, where the playback control card includes playback information and an icon that is in the playback control card and that can be used to respond to a user operation. For example, after a video playback status changes from playing to pause, a playback icon423changes to a playback pause icon445, and content on the playback control card is refreshed. For example, after a user drags the volume display bar425, the volume display bar425displays a correct location based on adjusted volume. When playback control fails, display of the playback control card optionally stops; one or more icons optionally become icons that can be used not to receive a user operation; colors of one or more icons optionally change, for example, the playback control card409shown inFIG.4I; display of one or more icons optionally stops, for example, the playback control card409shown inFIG.4J; the user is optionally prompted that playback control fails, for example, the prompt box451in the control center interface353shown inFIG.4K; or one or a combination of the foregoing implementation solutions optionally exists.

In some possible implementation solutions, in a system, a second device is configured to: send first playback information to a first device, where the first playback information corresponds to first multimedia content played by the second device, and the first device and the second device are located in a same wireless network. The first device is configured to: display a first playback control card corresponding to the first multimedia content, where the first playback control card includes a first control and a second control, and the second control is used to control playback of the first multimedia content; and in response to a first user input performed on the first control, obtain the first multimedia content from a server based on the first playback information, and resume playing the first multimedia content based on the first playback information.

In some possible implementation solutions, a mobile phone receives first playback information sent by a television, where the first playback information corresponds to a video played by the television, and the mobile phone and the television are connected to same Wi-Fi. The mobile phone displays a first playback control card corresponding to the video, where the first playback control card includes a first control and a second control, and the second control is used to control playback of the video. In response to an operation performed on the first control, the mobile phone obtains the video from a server based on a video identifier in the first playback information, and resumes playing the video based on a playback progress in the first playback information.

In some possible implementation solutions, an embodiment of this application provides an electronic device, including a memory and one or more processors. The memory is configured to store computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device is enabled to perform the method for resuming playing multimedia content between devices.

In some possible implementation solutions, an embodiment of this application provides a computer program product. When the computer program product runs on a computer, the computer is enabled to perform the method for resuming playing multimedia content between devices.

In some possible implementation solutions, an embodiment of this application provides a schematic diagram of a structure of a portable electronic device200. As shown inFIG.11, the portable electronic device200includes one or more processing units1101, a storage unit1102, and a communications unit1103, and may perform the method for resuming playing multimedia content provided in embodiments of this application.

In some possible implementation solutions, an embodiment of this application provides a schematic diagram of a structure of a portable electronic device200. When a processing unit1101is a processor, a storage unit1102is a memory, and a communications unit1103is a communications module, as shown inFIG.12, the portable electronic device200includes one or more processors1201, a memory1202, and a communications module1203, and may perform the method for resuming playing multimedia content provided in embodiments of this application.

In some possible implementation solutions, an embodiment of this application provides a schematic diagram of a structure of an intelligent multimedia playback device250. As shown inFIG.13, the intelligent multimedia playback device250includes one or more processing units1301, a storage unit1302, and a communications unit1303, and may perform the method for resuming playing multimedia content provided in embodiments of this application.

In some possible implementation solutions, an embodiment of this application provides a schematic structural diagram of an intelligent multimedia playback device250. When the processing unit1301is a processor, the storage unit1302is a memory, and the communications unit1303is a communications module, as shown inFIG.14, the intelligent multimedia playback device250includes one or more processors1401, a memory1402, and a communications module1403, to perform the multimedia content resuming method provided in embodiments of this application.

Based on the foregoing descriptions of the implementations, a person skilled in the art may clearly understand that for the purpose of convenient and brief descriptions, division into the foregoing functional modules is merely used as an example for description. In actual application, the foregoing functions can be allocated to different functional modules for implementation based on a requirement, that is, an inner structure of an apparatus is divided into different functional modules to implement all or some of the functions described above.

The units described as separate parts may or may not be physically separate, and parts displayed as units may be one or more physical units, and may be located in one position, or may be distributed in a plurality of different positions. Some or all of the units may be selected based on an actual requirement to achieve the objectives of the solutions in embodiments of this application.