Multimedia playing method and device, equipment and storage medium

By introducing a second client into the multimedia playback system and synchronizing the playback progress with the continuation playback instructions, the problem of cumbersome multimedia continuous playback operation in the prior art is solved, and the automatic continuous playback and efficient playback of multimedia between the two clients is realized.

CN119545105APending Publication Date: 2025-02-28GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411741482.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, users need to manually record the playback progress of multimedia on one terminal, and manually adjust the playback progress on another terminal to achieve continuous playback, which is cumbersome and has low human-computer interaction efficiency.

Method used

By running the second client on the second terminal and running the first client on the first terminal, synchronizing the playback progress of the multimedia using the continuation playback instructions, the automatic continuation playback of the multimedia between the two clients is realized.

Benefits of technology

The user operation of multimedia continuous playback is simplified, the playback efficiency of multimedia continuous playback is improved, and the seamless connection between multimedia is achieved between the two clients.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545105A_ABST
    Figure CN119545105A_ABST
Patent Text Reader

Abstract

The invention discloses a multimedia playing method and device, equipment and a storage medium, and belongs to the field of human-computer interaction. The method is executed by a second client, and the second client is a client of a multimedia program running on a second terminal; the method comprises the following steps: in response to a continuous playing instruction of a first terminal, running a second client; continuously playing the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is a client of a multimedia program running on the first terminal; and controlling the first client to stop playing the first multimedia under the condition that the second client continues to play successfully. According to the method, the man-machine interaction efficiency of multimedia continuous playing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of human-computer interaction, and in particular to a multimedia playback method, device, equipment and storage medium. Background Art

[0002] When playing audio or video (multimedia), users often need to transfer the audio or video being played on one terminal to another terminal for continued playback.

[0003] In the related art, the user needs to first note down the playing progress of the multimedia on the first terminal, then close the first terminal, open the application on the second terminal, find and play the multimedia, and adjust the playing progress of the multimedia on the second terminal according to the user's memory to make it consistent with the playing progress of the first terminal, so as to control the second terminal to continue playing the multimedia.

[0004] Using the method in the related art to continue playing multimedia on one terminal to another terminal, the operation is too complicated and the human-computer interaction efficiency is low. Summary of the invention

[0005] The present application provides a multimedia playback method, device, equipment and storage medium, which can improve the human-computer interaction efficiency of multimedia continuous playback. The technical solution is as follows:

[0006] According to one aspect of the present application, a multimedia playback method is provided, the method being executed by a second client, the second client being a client of a multimedia program running on a second terminal; the method comprising:

[0007] In response to the continue playing instruction of the first terminal, running the second client;

[0008] Continuing to play the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is the client of the multimedia program running on the first terminal;

[0009] When the second client continues to play successfully, the first client is controlled to stop playing the first multimedia.

[0010] According to one aspect of the present application, a multimedia playback method is provided, the method being executed by a first client, the first client being a client of a multimedia program running on a first terminal; the method comprising:

[0011] Play the first multimedia;

[0012] In response to the continue playing instruction, based on the current playing progress of the first multimedia, instruct the second terminal to run a second client; the second client is a client of the multimedia program running on the second terminal;

[0013] In response to the second client continuing to play successfully, stopping playing the first multimedia;

[0014] The continued playback success includes the second client continuing to play the first multimedia based on the current playback progress.

[0015] According to one aspect of the present application, a multimedia playback device is provided, wherein the device runs a second client, which is a client of a multimedia program; the device comprises:

[0016] An operation module, configured to operate the second client in response to a continue playing instruction from the first terminal;

[0017] A second playing module is used to continue playing the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is the client of the multimedia program running on the first terminal;

[0018] The second sending module is used to control the first client to stop playing the first multimedia when the second client continues to play successfully.

[0019] According to another aspect of the present application, a multimedia playback device is provided, wherein the device runs a first client, which is a client of a multimedia program; the device comprises:

[0020] A first playing module, used for playing a first multimedia;

[0021] A first sending module is used to instruct a second terminal to run a second client based on the current playback progress of the first multimedia in response to the continuous playback instruction; the second client is a client of the multimedia program running on the second terminal;

[0022] The first playing module is configured to stop playing the first multimedia in response to the second client continuing to play successfully;

[0023] The continued playback success includes the second client continuing to play the first multimedia based on the current playback progress.

[0024] According to another aspect of the present application, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the multimedia playback method described above.

[0025] According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the multimedia playback method described above.

[0026] According to another aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the multimedia playback method provided in various optional implementations of the above aspects.

[0027] The beneficial effects of the technical solution provided by this application include at least:

[0028] When the first client receives a continuous playback instruction during multimedia playback, the second client on the second terminal can be launched, and the playback progress of the multimedia on the first client can be synchronized to the second client, and the second client can be controlled to continue to play the multimedia according to the playback progress, and the first client can be closed, thereby realizing automatic continuous playback of the multimedia between the two clients. The method simplifies the user operation of continuous multimedia playback and improves the playback efficiency of continuous multimedia playback. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 is a schematic diagram of the structure of a computer system provided by an exemplary embodiment of the present application;

[0031] Figure 2 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0032] Figure 3 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0033] Figure 4 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0034] Figure 5 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0035] Figure 6 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0036] Figure 7 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0037] Figure 8 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application;

[0038] Fig. 9 It is a structural schematic diagram of a multimedia playback device provided by an exemplary embodiment of the present application;

[0039] Fig.10 It is a structural schematic diagram of a multimedia playback device provided by an exemplary embodiment of the present application;

[0040] Fig.11 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application.

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0043] Figure 1 A schematic diagram of a computer system provided by an exemplary embodiment of the present application is shown, and the computer system may include a first terminal 101, a second terminal 102 and a server 103.

[0044] Exemplarily, the multimedia playback method shown in the embodiment of the present application can be applied in a terminal (first terminal 101 and / or second terminal 102), which runs an application that supports multimedia playback. The terminal may include a mobile phone, a tablet computer, a notebook computer, a laptop computer, a desktop computer, an all-in-one computer, an Internet of Things device, a vehicle-mounted terminal, an intelligent robot workstation, a television, a set-top box, smart glasses, a smart watch, a digital camera, an MP4 playback device, an MP5 playback device, a learning machine, a point-reading machine, an electronic paper book, an electronic dictionary, a vehicle-mounted device, a virtual reality (VR) playback device or an augmented reality (AR) playback device, etc.

[0045] Exemplarily, the multimedia playback method provided in the present application can be executed by a client in the terminal (a first client on the first terminal or a second client on the second terminal). The client is a client of an application that supports multimedia playback. For example, the application may include at least one of the following: an audio player, a video application, a short video application, a car audio player, a car video player, a reader, a social application, a shopping application, a local service application, a live broadcast application, an information application, a browser, and a game application.

[0046] The first terminal 101 includes a first memory and a first processor. A multimedia playback program is stored in the first memory; the multimedia playback program is called and executed by the first processor to implement the multimedia playback method provided in the present application. The first memory may include but is not limited to the following: random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), and electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM). The first processor may be composed of one or more integrated circuit chips. Optionally, the first processor may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or a network processor (Network Processor, NP). Optionally, the first processor may implement the multimedia playback method provided in the present application by running a program or code.

[0047] The second terminal 102 includes a second memory and a second processor. The second memory stores a multimedia playback program; the multimedia playback program is called and executed by the second processor to implement the multimedia playback method provided in the present application. The second memory may include but is not limited to the following: RAM, ROM, PROM, EPROM and EEPROM. The second processor may be composed of one or more integrated circuit chips. Optionally, the second processor may be a general-purpose processor, such as a CPU or NP. Optionally, the second processor may implement the multimedia playback method provided in the present application by running a program or code.

[0048] In an optional embodiment, the first terminal 101 and the server 103 may be connected to each other via a wired or wireless network. The second terminal 102 and the server 103 may be connected to each other via a wired or wireless network.

[0049] The first terminal 101 and the second terminal 102 may be connected to each other via a wired or wireless network. And / or, the first terminal 101 and the second terminal 102 may communicate over a short distance, for example, the first terminal 101 and the second terminal 102 may be connected via Bluetooth, wireless network, or near field communication (NFC).

[0050] The server 103 is used to provide background services for the application programs of the terminal (the first terminal 101 and / or the second terminal 102). Optionally, the server 103 undertakes the main computing work and the terminal undertakes the secondary computing work; or, the server 103 undertakes the secondary computing work and the terminal undertakes the main computing work; or, the server 103 and the terminal adopt a distributed computing architecture for collaborative computing.

[0051] The server 103 may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center.

[0052] Optionally, the server 103 includes a third memory and a third processor. The third memory stores a multimedia playback program; the multimedia playback program is called by the third processor to implement the multimedia playback method provided in the present application. Optionally, the third memory may include but is not limited to the following: RAM, ROM, PROM, EPROM, EEPROM. Optionally, the third processor may be a general-purpose processor, such as a CPU or NP.

[0053] For example, the first client on the first terminal 101 is playing multimedia 104. At this time, if the first terminal receives a continue playing instruction, it will pull up the second client on the second terminal 102. The first client synchronizes the playing progress of multimedia 104 with the second client, so that the second client continues to play multimedia 104 according to the playing progress on the first client. After the second client successfully continues to play multimedia 104, the first client is controlled to stop playing multimedia 104 and exit the application.

[0054] Figure 2 FIG. 1 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application. The method can be used for Figure 1 The first terminal shown in the figure. The method comprises the following steps.

[0055] Step 210: Play the first multimedia.

[0056] The method is executed by a first client, which is a client of a multimedia program running on a first terminal. The first client may also be called a source terminal or an initiating terminal.

[0057] Multimedia programs are applications that support multimedia playback. Multimedia may include at least one of the following: audio, video, text, and pictures. Multimedia programs may include at least one of the following: audio player, video application, short video application, car audio player, car video player, reader, social application, shopping application, local service application, live broadcast application, information application, browser, and game application.

[0058] Exemplarily, a second client is running on the second terminal, and the second client is a client on which a multimedia program runs on the second terminal. The second terminal may also be referred to as a receiving terminal or a connecting terminal.

[0059] The multimedia program running on the first terminal and the second terminal is the same. Alternatively, the first terminal and the second terminal run different versions of the same multimedia program; for example, the first terminal runs a mobile client of the multimedia program, and the second terminal runs a vehicle client of the multimedia program; or the first terminal runs version 1.0 of the multimedia program, and the second terminal runs version 2.0 of the multimedia program.

[0060] Exemplarily, the first client and the second client are logged in to the same account, for example, the first client and the second client are both logged in to the first account. Optionally, the first terminal can synchronize the account information of the first account logged in to the first client to the second terminal, so that the second client can automatically log in to the first account and use the first account to play the first multimedia. Alternatively, when the second account is logged in to the first client, an account switching page is displayed to prompt the user to switch the second account to the first account.

[0061] Optionally, different accounts may be logged in on the first client and the second client, but the account logged in on the second client needs to have the playback authority of the first multimedia. For example, the playback of some multimedia in the multimedia program is restricted and needs to be purchased for playback, or membership authority is required for playback. When the first multimedia is a multimedia with restricted playback, the second client can continue to play the first multimedia only when it logs in to the first account or logs in to another account with the playback authority of the first multimedia. Otherwise, the playback fails and the first client continues to play the first multimedia.

[0062] Exemplarily, the first terminal and the second terminal use the same operating system, and based on the continuous communication capability and / or cross-device communication capability provided by the operating system, the multimedia playback method provided in the embodiment of the present application is implemented.

[0063] Optionally, the first terminal runs a multimedia program and plays the first multimedia in the multimedia program. The first multimedia may be any type of audio, video, text, or picture.

[0064] Exemplarily, the first client plays the first multimedia in the first page of the multimedia program. Optionally, the first page also includes a first playlist, and the first multimedia is in the first playlist.

[0065] For example, a user opens the homepage (ie, the first page) of a music player (multimedia program) and plays the first song (ie, the first multimedia) in a "my favorite" playlist (ie, the first playlist) on the homepage.

[0066] Alternatively, the user opens the play page (i.e., first page) of the first video (i.e., first multimedia) in a video player (multimedia program), plays the first video in the play page, the first play page includes a current play list (i.e., first play list), and the current play list includes the first video.

[0067] Alternatively, the user opens a browsing page (ie, first page) of a first novel (ie, first multimedia) in a novel reader (multimedia program), and the text of the first novel is displayed on the browsing page.

[0068] Step 220: In response to the continue playing instruction, based on the current playing progress of the first multimedia, instruct the second terminal to run a second client; the second client is a client of the multimedia program running on the second terminal.

[0069] Exemplarily, the continuous play instruction may be generated by the first client or the first terminal in response to a user operation; the continuous play instruction may also be automatically generated by the first client or the first terminal after a continuous play condition is triggered.

[0070] For example, a resume play control is displayed on the first page playing the first multimedia. In response to the user triggering the resume play control to select the second client / second terminal, a resume play instruction is generated, which is used to instruct to resume playing the first multimedia on the second client / second terminal.

[0071] For example, the continuous playback condition may be that the distance between the first terminal and the second terminal is less than a threshold, or the first terminal establishes a communication connection with the second terminal, or the first terminal detects the second terminal, or the current playback progress of the first multimedia reaches a preset continuous playback progress.

[0072] For example, the first terminal is a mobile phone and the second terminal is a vehicle-mounted terminal. When the first terminal plays the first multimedia and the first terminal establishes a Bluetooth connection with the second terminal, a continuous playback instruction is automatically generated to automatically connect the first multimedia played in the mobile phone to the vehicle-mounted terminal for playback.

[0073] For another example, the user can set the corresponding continuous playback progress of the second terminal on the first terminal. When the first multimedia is played on the first client to the continuous playback progress, a continuous playback instruction is generated to automatically continue the first multimedia to the second client for playback. Based on this method, the user can set at least one continuous playback progress for the first multimedia on the first terminal, and each continuous playback progress corresponds to a continuous terminal (for example, the second terminal or other terminals). When the playback progress of the first multimedia reaches the preset continuous playback progress, a continuous playback instruction is automatically generated to continue playing the first multimedia on the terminal corresponding to the continuous playback progress.

[0074] For another example, when the first terminal is playing the first multimedia and detects a second terminal located nearby, a continue playing control is displayed on the first page, and a continue playing instruction is generated in response to an operation that triggers the continue playing control.

[0075] Exemplarily, in response to the resume play instruction, the first client / first terminal pulls up the second client on the second terminal. Exemplarily, the first terminal / first client sends a resume play request to the second terminal, the resume play request includes instruction information of the multimedia program, and the second terminal runs the second client based on the instruction information of the multimedia program. After starting, the second client returns the version number of the multimedia program corresponding to the second client and the relevant authorization status of the resume play function to the first client, so that the first client can verify the resume play capability of the second client.

[0076] Exemplarily, in response to a continue playback instruction, the first client instructs the second terminal to run the second client; synchronization information is sent to the second client, the synchronization information including indication information of the first multimedia and indication information of the current playback progress; the indication information of the first multimedia is used to instruct the second client to load the first multimedia, and the indication information of the current playback progress is used to instruct the second client to continue playing the first multimedia according to the current playback progress.

[0077] Optionally, after the second client is running, the second client returns a version number and related authorization information of the continuous play function to the first client. The first client determines that the second client supports the continuous play function based on the version number and related authorization information returned by the second client; then the first client sends synchronization information to the second client, and the synchronization information is used to instruct the second client to continue playing the first multimedia.

[0078] In an optional embodiment, the synchronization information may carry the file of the first multimedia and the indication information of the current playback progress. For example, the synchronization information includes the file of the first multimedia and the current playback progress is 50%. Then the second client can continue to play the file of the first multimedia carried in the synchronization information according to the current playback progress. Optionally, the synchronization information may carry the complete file of the first multimedia; or the synchronization information may carry a partial file of the first multimedia, for example, the file of the first multimedia from the current playback progress to the end of the playback, or the cached file of the first multimedia cached in the first client after the current playback progress.

[0079] In another optional embodiment, the synchronization information may carry the indication information of the first multimedia and the indication information of the current playback progress. For example, the synchronization information carries the identification of the first multimedia and the current playback progress is 50%. After receiving the synchronization information, the second client requests the server to obtain the first multimedia according to the current playback progress and the indication information of the first multimedia. After the second client loads the first multimedia from the server, it plays the first multimedia according to the current playback progress.

[0080] Optionally, in order to enable the second client to quickly play the first multimedia and reduce the amount of data written in the synchronization information, the first client can carry the cache file of the first multimedia in the synchronization information and send it to the second client, so that the second client can quickly play the first multimedia based on the cache file; at the same time, the indication information of the first multimedia is carried in the synchronization information, so that the second client can obtain the subsequent files of the first multimedia from the server. That is, the first client sends the synchronization information to the second client, and the synchronization information carries the cache file of the first multimedia, the indication information of the first multimedia, and the indication information of the current playback progress. The cache file is the cache file of the first multimedia cached by the first client after the current playback progress. After receiving the synchronization information, the second client can quickly play the first multimedia according to the current playback progress based on the cache file, and at the same time load the subsequent playback file of the first multimedia from the server based on the indication information of the first multimedia. Compared with the method in which the second client loads and plays the first multimedia in the server, this method can enable the second client to quickly play the first multimedia according to the current playback progress, and the user does not need to wait for the second client to load the first multimedia in the server. The second client loads the subsequent files of the first multimedia from the server while playing the cache file, so that the first multimedia is quickly opened and played continuously on the second client.

[0081] The current playback progress may include at least one of the following: current playback duration, current playback percentage, current playback frame number, and current playback frame number. The current playback progress may be indicated in the synchronization information in any of the above ways.

[0082] Exemplarily, when the first terminal displays the play page (first page) of the first multimedia, the second client can restore the play page. The synchronization information can also include indication information of the first client playing the first page of the first multimedia, and indication information of the first play list where the first multimedia is located; the indication information of the first page is used to instruct the second client to load the second page, and the indication information of the first play list is used to instruct the second client to display the first play list in the second page.

[0083] Step 230: In response to the second client continuing to play successfully, stop playing the first multimedia.

[0084] The continued playback success includes the second client continuing to play the first multimedia based on the current playback progress.

[0085] In an optional embodiment, the first client displays the first multimedia being played on the first page of the multimedia program, and the first multimedia is located in the first play list of the first page; then successful continued playback may include the second client displaying the first multimedia being played on the second page, and the first multimedia is located in the first play list of the second page; the first page and the second page are the same pages displayed on different terminals, and the display states of the first page and the second page are the same.

[0086] When the second client successfully continues to play the first multimedia, the second client sends a successful playback indication to the first client, and the successful playback indication is used to instruct the first client to stop playing the first multimedia. That is, while the second client continues to play the first multimedia according to the current playback progress, the first client stops playing the first multimedia, thereby achieving seamless connection of the first multimedia playback. This avoids the first client and the second client playing the first multimedia at the same time after the second client starts playing the first multimedia, thereby affecting the user's viewing experience.

[0087] Optionally, the first client may automatically close the multimedia program and exit the first client after stopping playing the first multimedia.

[0088] In an optional embodiment, the second client can report the playback progress (including the currently played multimedia and the current playback progress) to the server in real time. The first client can detect the distance between the first terminal and the second terminal in real time after stopping playing the first multimedia. When the distance between the first terminal and the second terminal exceeds the threshold, the first client can request the server to obtain the playback progress of the second client. The server can return the last playback progress of the second client to the first client (including the second multimedia last played by the second client, and the playback progress of the second multimedia) when the second client stops playing. The first client can also continue to play the second multimedia that has not been played by the second client according to the last playback progress of the second client returned by the server. That is, using this method, when the first terminal is a mobile phone and the second terminal is a vehicle-mounted terminal, the user can automatically connect the audio and video played in the mobile phone to the vehicle-mounted terminal for playback when getting on the car; after the user gets off the car, the multimedia played on the vehicle-mounted terminal is automatically connected to the mobile phone for continued playback.

[0089] Figure 3 FIG. 1 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application. The method can be used for Figure 1 The second terminal shown. The method comprises the following steps.

[0090] Step 310: In response to the continue playing instruction from the first terminal, the second client is run.

[0091] Exemplarily, after receiving the continuous play instruction, the first terminal sends a continuous play request to the second terminal, wherein the continuous play request carries the identifier of the multimedia program. After receiving the continuous play request, the second terminal runs the second client of the multimedia program.

[0092] Step 320: Continue playing the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is the client of the multimedia program running on the first terminal.

[0093] Exemplarily, the first client sends synchronization information to the second client. The second client receives the synchronization information sent by the first client, the synchronization information including indication information of the first multimedia and indication information of the current playback progress; loads the first multimedia according to the synchronization information, and continues to play the first multimedia according to the current playback progress indicated by the synchronization information.

[0094] Exemplarily, the first client plays the first multimedia in the first page of the multimedia program, and the first multimedia is in the first play list of the first page. The second client continues to play the first multimedia in the second page of the multimedia program according to the current play progress; the first multimedia is in the first play list of the second page; the first page and the second page are the same page displayed on different terminals, and the display status of the first page and the second page are the same.

[0095] For example, when the first client and the second client are clients of different versions of the multimedia program, the display modes for the same page of the multimedia program may be different, and the first page and the second page may be different. When the first client and the second client are clients of the same version of the multimedia program, the first page and the second page may be the same page.

[0096] Optionally, the synchronization information also includes indication information of the first client playing the first page of the first multimedia, and indication information of the first playlist in which the first multimedia is located. The second client loads the second page according to the indication information of the first page, displays the first playlist in the second page according to the indication information of the first playlist, loads the first multimedia according to the indication information of the first multimedia, and continues to play the first multimedia in the second page according to the current playback progress.

[0097] Exemplarily, the second client can completely restore the playback status of the first client, including the display page, the current play list, the currently playing multimedia, the playback progress of the multimedia, the playback sound quality of the multimedia, the client skin, etc. The synchronization information can carry indication information of at least one of the above playback statuses to facilitate the second client to restore the playback status of the first client.

[0098] In an optional embodiment, the first multimedia may be a first video, and the first page for playing the first video also includes randomly displayed content, and the second client may also restore the randomly displayed content. For example, the first page includes randomly displayed bullet comments, which are randomly extracted from the bullet comment library corresponding to the first video and displayed on the first page of the first client. This embodiment also provides a method for restoring the randomly displayed bullet comments on the first page to display on the second page, and smoothly transitioning the bullet comments to connect with the bullet comments randomly extracted by the second client.

[0099] Optionally, the synchronization message also includes the bullet message text of the current bullet message. After receiving the synchronization message, the second client replaces the first n bullet messages randomly drawn by the second client with the bullet message text carried in the synchronization message, and displays them on the second page. In this way, the bullet message displayed in the first client can be restored, but since the display position of each bullet message is also random, the position of the same bullet message displayed in the second page may be different from the position displayed in the first page.

[0100] Optionally, the synchronization message may also include a cached screen of the first video rendered by the first client, the cached screen includes at least two frames, and the cached screen is rendered by the first client based on the barrage extracted by the first client and the video screen of the first video. After receiving the synchronization message, the second client can display the cached screen rendered by the first client, and after the cached screen is played, continue to display the video screen of the first video, and display the barrage extracted by the second client on top of the video screen of the first video. In this way, it can be ensured that the barrage restored on the second client is completely consistent with the display position and playback progress on the first client.

[0101] Step 330: When the second client continues to play successfully, control the first client to stop playing the first multimedia.

[0102] In summary, the method provided in this embodiment can, when the first client receives a continuous playback instruction during multimedia playback, pull up the second client on the second terminal, synchronize the playback progress of the multimedia on the first client to the second client, control the second client to continue to play the multimedia according to the playback progress, and close the first client, thereby realizing automatic continuous playback of multimedia between the two clients. This method simplifies the user operation of continuous multimedia playback and improves the playback efficiency of continuous multimedia playback.

[0103] For example, Figure 4 FIG. 1 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application. The method can be used for Figure 1 The first terminal and the second terminal are shown. The method comprises the following steps.

[0104] Step 401, the first terminal plays the first multimedia. When the connection condition is met, a handshake is initiated with the second terminal for connecting the communication. Through the handshake process, the connecting communication with the second terminal is established. After the handshake is successful, the first terminal pulls up the second client on the second terminal. For example, the first multimedia is a song.

[0105] Step 402: The second terminal replies to the first terminal with the version number of the multimedia program and the authorization status of the continuous play function, for example, whether the user has authorized the relevant capabilities required for the continuous play function.

[0106] Step 403: The first terminal receives the version number and authorization status sent by the second client, and determines whether the first client and the second client both meet the continuous playback condition. If the version numbers of the first client and the second client both support the continuous playback function, and the first client and the second client both authorize the relevant capabilities required for the continuous playback function, the first client initiates continuous communication with the second client and sends synchronization information.

[0107] Step 404: The second terminal restores the playback status of the first client through the synchronization information, and continues to play the first multimedia according to the playback progress. After the restoration is completed, a connection success indication is sent to the first terminal. The connection success indication is used to notify the first terminal that the connection process has been completed, and instruct the first terminal to stop playing the first multimedia and exit.

[0108] In summary, the method provided in this embodiment provides an interactive effect that allows a multimedia playback program to freely transfer the playback status between different devices. In the related art, the various ends (car-mounted end, mobile phone end, PC end) of the same multimedia program are relatively separated. When a user uses a mobile phone to enter the car, if he wants to adjust the song list and listening progress of the car terminal to be consistent with the mobile phone end, more cumbersome operations are required, making the user's preparations before driving very cumbersome and boring. The method provided in the embodiment of the present application can simplify the process, automatically connect the listening progress of the mobile phone end to the car terminal, and realize the seamless switching of the same multimedia program between different arbitrary devices. The connection process can achieve the seamless switching of the currently playing multimedia from the source end to the receiving end. When the receiving end starts to continue playing the source end song, the source end can just exit the playback to achieve seamless connection of the sound. The flow process will restore the song list, song progress, playback status, selected sound quality and sound effects, etc. of the source end.

[0109] In an optional embodiment, the second client further verifies the login account authority before continuing to play the multimedia.

[0110] Figure 5 FIG. 1 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application. The method can be used for Figure 1 The second terminal shown. The method comprises the following steps.

[0111] Step 501: The second client receives synchronization information sent by the first client.

[0112] The synchronization information may carry the account information of the first account logged in on the first client.

[0113] Step 502: The second client determines whether the current login account is the first account.

[0114] If yes, then the first multimedia is played continuously based on the synchronization information. Figure 6 As shown, step 320 includes step 321: when the first account is logged in on the second client, the first multimedia is continuously played according to the current playing progress.

[0115] If not, execute step 503.

[0116] Step 503: the second client displays an inquiry window, where the inquiry window is used to inquire whether to switch to the first account.

[0117] If the user switches the account, the login account is switched to the first account, and the first multimedia is played continuously based on the synchronization information. Figure 7 As shown, step 320 includes step 322 and step 323. Step 322: When a second account is logged in on the second client, an account switching prompt is displayed, and the account switching prompt is used to switch to the first account. Step 323: When the first account is switched to the first account, the first multimedia is played continuously according to the current playback progress.

[0118] If the account switching is rejected, step 504 is executed.

[0119] Step 504: The second client verifies whether the current login account (e.g., the second account) has the play permission for the first multimedia. If it has the play permission, the first multimedia is played continuously based on the synchronization information. If it does not have the play permission, a connection failure prompt is displayed, and a connection failure indication is returned to the first client.

[0120] like Figure 7 As shown, step 320 includes step 324. Step 324: When the first account is not logged in and the second account has the first multimedia playback authority, the first multimedia is played continuously according to the current playback progress.

[0121] Step 505: The second client continues to play the first multimedia, and after the continued play is successful, returns a continued play success indication to the first client. After receiving the continued play success indication, the first client stops playing the first multimedia and exits the multimedia program.

[0122] In summary, the method provided in this embodiment meets the requirements of multimedia playback programs in terms of permission verification and asset protection. In the process of initiating the connection, the permission judgment of the account between devices is performed to avoid permission loopholes after the transfer and to avoid playing multimedia beyond the account's permission. At the same time, when the two ends of the connection are different accounts, it will prompt whether it is necessary to jump to the login page to log in to the same account before continuing, so as to avoid the user's playback experience being degraded due to different accounts.

[0123] In an optional embodiment, the first terminal includes a portable terminal, and the second terminal includes a vehicle-mounted terminal. The vehicle-mounted terminal is located in a vehicle, and at least two seats are provided in the vehicle, and a display and a speaker corresponding to each seat are respectively provided. The second terminal can also control the display and the speaker at the corresponding position to play the first multimedia according to the seat position of the first terminal. That is, users at different seats can watch the multimedia on their own portable terminals in succession.

[0124] Figure 8 FIG. 1 is a flowchart of a multimedia playback method provided by an exemplary embodiment of the present application. The method can be used for Figure 1 The first terminal and the second terminal shown. Figure 2 In the illustrated embodiment, step 220 includes step 221. Figure 3 In the illustrated embodiment, step 310 includes step 311 and step 312 .

[0125] Step 221 , in response to the second terminal establishing a communication connection with the first terminal, triggering a continue playing instruction, and instructing the second terminal to run a second client based on the current playing progress of the first multimedia.

[0126] The second terminal runs the second client in response to the continue playing instruction of the first terminal; the continue playing instruction is triggered by the first terminal establishing a communication connection with the second terminal.

[0127] Exemplarily, when the portable terminal approaches the vehicle-mounted terminal and automatically establishes a communication connection with the vehicle-mounted terminal, the portable terminal can automatically identify whether multimedia is currently being played. If multimedia is being played, a continue playback instruction is triggered to automatically continue the multimedia being played to the vehicle-mounted terminal for playback.

[0128] Step 311: The second terminal runs a second client, and the second client identifies a first seat corresponding to the first terminal.

[0129] Among them, the first display screen and the first speaker for playing the first multimedia are determined based on the first seat corresponding to the first terminal; the first display is a display set for the first seat, and the first speaker is a speaker set for the first seat.

[0130] Exemplarily, the vehicle includes a display and a speaker corresponding to each seat. The second client can identify the seat where the portable terminal is located in the vehicle, and use the display and the speaker corresponding to the seat to continuously play the multimedia, so that users in different seats in the vehicle can continuously play their own multimedia.

[0131] In an optional embodiment, when the first terminal is located in the driver's seat, the driver's seat corresponds to the main display screen of the vehicle and all the speakers in the vehicle, that is, when the portable terminal is the terminal used by the driver, the main display screen of the vehicle and all the speakers in the vehicle are used to play the multimedia played on the driver's portable terminal, providing the driver with the best audio-visual enjoyment. When the first terminal is located in the passenger seat, the passenger seats correspond to their respective displays and speakers, that is, when the portable terminal is the terminal used by the passenger, only the display and speakers close to the passenger's seat are used to play the multimedia on the passenger's portable terminal, so as to avoid the multimedia played by the passenger affecting the driver's driving.

[0132] In another optional embodiment, when the first terminal is located at the driving position and no other terminal has established a communication connection with the second terminal, the driving position corresponds to the main display and all speakers of the vehicle. When the first terminal is located at the driving position and at least one other terminal has established a communication connection with the second terminal, the driving position corresponds to the main display and the speakers of the driving position. That is, when only the driver is driving the vehicle, all the speakers of the vehicle are used to play multimedia, and when there are passengers in the vehicle, only the speakers of the driving position are used to play the multimedia corresponding to the driver.

[0133] Among them, the first seat may include at least one of the following: a driving seat, a co-pilot seat, a passenger seat, a left passenger seat, a middle passenger seat, a right passenger seat, and an xth passenger seat.

[0134] Optionally, the second client may identify the first seat in at least one of the following ways.

[0135] (1) The first seat is a seat pre-set for the first terminal.

[0136] Obtain a first seat corresponding to the first terminal; the first seat is a seat pre-set for the first terminal.

[0137] For example, the second terminal has established a historical connection with the first terminal. During the historical connection, a default seat (first seat) was set for the first terminal. When the first terminal accesses the second terminal again, the second terminal assumes that the first terminal is located at the preset position (first seat).

[0138] Alternatively, the first client may display a default position selection interface when the first terminal accesses the second terminal for the first time, and in response to the user selecting the first seat, determine the first seat as the seat corresponding to the first terminal.

[0139] (2) The first seat is determined based on the position of the first terminal in the vehicle.

[0140] A first position of the first terminal in the vehicle is located, and a first seat corresponding to the first position is determined.

[0141] Exemplarily, the second client may use wireless signals to locate the position of the first terminal in the vehicle, and determine the seat based on the position of the first terminal.

[0142] (3) The first seat is determined based on ambient audio collected by at least two microphones installed in the vehicle and a multimedia audio signal of the first multimedia; the first seat corresponds to the first microphone, and the energy value of the multimedia audio signal in the ambient audio corresponding to the first microphone is the highest.

[0143] At least two ambient audios are obtained by respectively collecting ambient audio in the vehicle through at least two microphones arranged in the vehicle; a multimedia audio signal of a first multimedia is obtained; a first microphone is determined from the at least two microphones based on the multimedia audio signal and at least two ambient audios, and an energy value of the multimedia audio signal in the ambient audio corresponding to the first microphone is the highest; and a first seat corresponding to the first microphone is obtained.

[0144] Exemplarily, the vehicle can be equipped with a microphone next to each seat, and the second client can collect ambient audio through each microphone respectively, match the ambient audio with the multimedia signal of the first multimedia, and select the ambient audio with the highest multimedia signal volume (highest energy value). The microphone is closest to the first terminal, and the seat corresponding to the microphone is determined as the seat where the first terminal is located.

[0145] (4) The first seat is determined based on at least two pressure sensors in the vehicle and a motion sensor of the first terminal; the first seat corresponds to the first pressure sensor, and a pressure sensing signal of the first pressure sensor matches a motion sensing signal of the motion sensor.

[0146] Obtain pressure sensing signals from at least two pressure sensors in a vehicle, wherein the at least two pressure sensors are respectively arranged on at least two seats in the vehicle; obtain a motion sensing signal from a motion sensor of a first terminal; determine a first pressure sensor whose pressure sensing signal matches the motion sensing signal from the at least two pressure sensors; and obtain a first seat corresponding to the first pressure sensor.

[0147] For example, the second client can also sense the user's movement by combining a pressure sensor under a seat in the vehicle and a motion sensor on the first terminal. When the pressure sensor signal of the pressure sensor changes and the motion sensor signal changes at the same time, and the change trends are consistent, it can be determined that the first terminal is located at the seat corresponding to the pressure sensor. For example, a neural network model can be used to determine whether the pressure sensor signal and the motion sensor signal match.

[0148] Step 312: display the second page of the second client on the first display corresponding to the first seat, and use the first speaker corresponding to the first seat to play the audio of the second client.

[0149] The first display is a display arranged for the first seat, and the first speaker is a speaker arranged for the first seat.

[0150] After the seat where the first terminal is located is determined, the first multimedia can be played using the display and speaker corresponding to the seat. The first display can be the display closest to the first seat, or the first display is the display located in front of the first seat. The first speaker is the speaker closest to the first seat, or the first speaker can include at least two or all speakers in the vehicle.

[0151] In summary, the method provided in this embodiment, in the scenario where a portable terminal and a vehicle-mounted terminal perform multimedia playback continuity, if there are at least two displays and / or at least two speakers in the vehicle, the second client can use the display and speaker corresponding to the seat where the first terminal is located to play multimedia. Users in different seats can use different displays and speakers to continuously play their own multimedia, meeting the diverse needs of users. This method realizes automatic continuous playback of multimedia between a portable terminal and a vehicle-mounted terminal. It simplifies the user operation of multimedia continuous playback and improves the playback efficiency of multimedia continuous playback.

[0152] It should be noted that before collecting relevant data of users and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of users after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of users are terminated, that is, the relevant data of users are not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0153] It should be noted that the sequence of the method steps provided in the embodiments of the present application can be appropriately adjusted, and the steps can be increased or decreased accordingly according to the circumstances. Any technician familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be included in the protection scope of the present application, so they will not be repeated here.

[0154] Fig. 9 1 is a schematic diagram of a multimedia playback device provided by an exemplary embodiment of the present application. The device runs a second client, which is a client of a multimedia program; the device includes:

[0155] An operation module 701 is used to operate the second client in response to a continue playing instruction of the first terminal;

[0156] The second playing module 702 is used to continue playing the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is the client of the multimedia program running on the first terminal;

[0157] The second sending module 703 is used to control the first client to stop playing the first multimedia when the second client continues to play successfully.

[0158] In an optional embodiment, the first client plays the first multimedia in the first page of the multimedia program, and the first multimedia is located in the first play list of the first page;

[0159] The second playback module 702 is used to continue playing the first multimedia in the second page of the multimedia program according to the current playback progress; the first multimedia is located in the first playback list of the second page; the first page and the second page are the same page displayed on different terminals, and the display status of the first page and the second page is the same.

[0160] In an optional embodiment, the device further includes:

[0161] A second receiving module 705 is used to receive synchronization information sent by the first client, where the synchronization information includes indication information of the first multimedia and indication information of the current playback progress;

[0162] The second playing module 702 is used to load the first multimedia according to the synchronization information, and continue to play the first multimedia according to the current playing progress indicated by the synchronization information.

[0163] In an optional embodiment, the synchronization information further includes indication information that the first client plays the first page of the first multimedia, and indication information of a first playlist where the first multimedia is located;

[0164] The second playback module 702 is used to load the second page according to the indication information of the first page, display the first playlist in the second page according to the indication information of the first playlist, load the first multimedia according to the indication information of the first multimedia, and continue to play the first multimedia in the second page according to the current playback progress.

[0165] In an optional embodiment, a first account is logged in to the first client;

[0166] The second playing module 702 is configured to continue playing the first multimedia according to the current playing progress when the first account is logged in on the second client.

[0167] In an optional embodiment, a first account is logged in to the first client; and the device further includes:

[0168] A display module 704 is used to display an account switching prompt when a second account is logged in on the second client, and the account switching prompt is used to switch to log in to the first account;

[0169] The second playback module 702 is configured to continue playing the first multimedia according to the current playback progress when the first account is switched to login; and to continue playing the first multimedia according to the current playback progress when the first account is not switched to login and the second account has the first multimedia playback permission.

[0170] In an optional embodiment, the first terminal includes a portable terminal, and the second terminal includes a vehicle-mounted terminal;

[0171] The operation module 701 is used to operate the second client in response to a continuous playback instruction of the first terminal; the continuous playback instruction is triggered by the first terminal establishing a communication connection with the second terminal;

[0172] The operation module 701 is used to identify a first seat corresponding to the first terminal;

[0173] The operation module 701 is used to display the second page of the second client on the first display corresponding to the first seat, and use the first speaker corresponding to the first seat to play the audio of the second client;

[0174] The first display is a display provided for the first seat, and the first speaker is a speaker provided for the first seat.

[0175] In an optional embodiment, the operation module 701 is used to perform at least one of the following:

[0176] Acquire the first seat corresponding to the first terminal; the first seat is a seat pre-set for the first terminal;

[0177] Locating a first position of the first terminal in the vehicle, and determining the first seat corresponding to the first position;

[0178] The environmental audio in the vehicle is collected by at least two microphones provided in the vehicle, respectively, to obtain at least two environmental audios; a multimedia audio signal of the first multimedia is obtained; a first microphone is determined from the at least two microphones based on the multimedia audio signal and the at least two environmental audios, and the energy value of the multimedia audio signal in the environmental audio corresponding to the first microphone is the highest; and the first seat corresponding to the first microphone is obtained;

[0179] Obtain pressure sensing signals from at least two pressure sensors in the vehicle, wherein the at least two pressure sensors are respectively arranged on at least two seats in the vehicle; obtain a motion sensing signal from a motion sensor of the first terminal; determine a first pressure sensor from the at least two pressure sensors whose pressure sensing signal matches the motion sensing signal; and obtain a first seat corresponding to the first pressure sensor.

[0180] Fig.10 1 is a schematic diagram of a multimedia playback device provided by an exemplary embodiment of the present application. The device runs a first client, which is a client of a multimedia program; the device includes:

[0181] The first playing module 801 is used to play the first multimedia;

[0182] A first sending module 802 is used to instruct a second terminal to run a second client based on the current playback progress of the first multimedia in response to the continuous playback instruction; the second client is a client of the multimedia program running on the second terminal;

[0183] The first playing module 801 is used for stopping playing the first multimedia in response to the second client continuing to play successfully;

[0184] The continued playback success includes the second client continuing to play the first multimedia based on the current playback progress.

[0185] In an optional embodiment, the first playing module 801 is used to display the first multimedia being played on the first page of the multimedia program, where the first multimedia is located in the first play list of the first page;

[0186] Among them, the successful continued playback includes that the second client displays the first multimedia being played on the second page, and the first multimedia is located in the first play list of the second page; the first page and the second page are the same page displayed on different terminals, and the display status of the first page and the second page is the same.

[0187] In an optional embodiment, the first sending module 802 is used to instruct the second terminal to run the second client in response to the continue playing instruction;

[0188] The first sending module 802 is used to send synchronization information to the second client, and the synchronization information includes indication information of the first multimedia and indication information of the current playback progress; the indication information of the first multimedia is used to instruct the second client to load the first multimedia, and the indication information of the current playback progress is used to instruct the second client to continue playing the first multimedia according to the current playback progress.

[0189] In an optional embodiment, the synchronization information further includes indication information that the first client plays the first page of the first multimedia, and indication information of a first playlist where the first multimedia is located;

[0190] The indication information of the first page is used to instruct the second client to load the second page, and the indication information of the first playlist is used to instruct the second client to display the first playlist in the second page.

[0191] In an optional embodiment, the first terminal includes a portable terminal, and the second terminal includes a vehicle-mounted terminal;

[0192] The first sending module 802 is configured to, in response to the second terminal establishing a communication connection with the first terminal, instruct the second terminal to run a second client based on the current playback progress of the first multimedia;

[0193] Among them, the first display screen and the first speaker used for playing the first multimedia are determined based on the first seat corresponding to the first terminal; the first display is a display set for the first seat, and the first speaker is a speaker set for the first seat.

[0194] In an optional embodiment, the first seat is determined in at least one of the following ways:

[0195] The first seat is a seat pre-set for the first terminal;

[0196] The first seat is determined based on a position of the first terminal in the vehicle;

[0197] The first seat is determined based on the ambient audio collected by at least two microphones arranged in the vehicle and the multimedia audio signal of the first multimedia; the first seat corresponds to the first microphone, and the energy value of the multimedia audio signal in the ambient audio corresponding to the first microphone is the highest;

[0198] The first seat is determined based on at least two pressure sensors in the vehicle and a motion sensor of the first terminal; the first seat corresponds to a first pressure sensor, and a pressure sensing signal of the first pressure sensor matches a motion sensing signal of the motion sensor.

[0199] It should be noted that the multimedia playback device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the multimedia playback device provided in the above embodiment and the multimedia playback method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0200] The embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the multimedia playback method provided by the above-mentioned method embodiments. The computer device can be implemented as a terminal.

[0201] For example, Fig.11 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application.

[0202] Typically, the computer device 1700 includes a processor 1701 and a memory 1702 .

[0203] The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0204] The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1702 is used to store at least one instruction, which is used to be executed by the processor 1701 to implement the multimedia playback method provided in the method embodiment of the present application.

[0205] In some embodiments, the computer device 1700 may also optionally include: a peripheral device interface 1703 and at least one peripheral device. The processor 1701, the memory 1702 and the peripheral device interface 1703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1704, a display screen 1705, a camera assembly 1706, an audio circuit 1707 and a power supply 1708.

[0206] The peripheral device interface 1703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1701 and the memory 1702. In some embodiments, the processor 1701, the memory 1702, and the peripheral device interface 1703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1701, the memory 1702, and the peripheral device interface 1703 may be implemented on a separate chip or circuit board, which is not limited in the embodiments of the present application.

[0207] The radio frequency circuit 1704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1704 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1704 can communicate with other computer devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0208] The display screen 1705 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1705 is a touch display screen, the display screen 1705 also has the ability to collect touch signals on the surface or above the surface of the display screen 1705. The touch signal can be input to the processor 1701 as a control signal for processing. At this time, the display screen 1705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1705 can be one, and the front panel of the computer device 1700 is set; in other embodiments, the display screen 1705 can be at least two, which are respectively set on different surfaces of the computer device 1700 or are folded; in some other embodiments, the display screen 1705 can be a flexible display screen, which is set on the curved surface or folded surface of the computer device 1700. Even, the display screen 1705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1705 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0209] The camera assembly 1706 is used to capture images or videos. Optionally, the camera assembly 1706 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the computer device 1700, and the rear camera is arranged on the back of the computer device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0210] The audio circuit 1707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1701 for processing, or input them into the radio frequency circuit 1704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1700. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1701 or the radio frequency circuit 1704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1707 may also include a headphone jack.

[0211] The power supply 1708 is used to power various components in the computer device 1700. The power supply 1708 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1708 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0212] In some embodiments, the computer device 1700 further includes one or more sensors 1709 , including but not limited to: an acceleration sensor 1710 , a gyroscope sensor 1711 , a pressure sensor 1712 , an optical sensor 1713 , and a proximity sensor 1714 .

[0213] The acceleration sensor 1710 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1700. For example, the acceleration sensor 1710 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1701 can control the touch display screen 1705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1710. The acceleration sensor 1710 can also be used to collect game or user motion data.

[0214] The gyro sensor 1711 can detect the body direction and rotation angle of the computer device 1700, and the gyro sensor 1711 can cooperate with the acceleration sensor 1710 to collect the user's 3D actions on the computer device 1700. The processor 1701 can implement the following functions based on the data collected by the gyro sensor 1711: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0215] The pressure sensor 1712 can be set on the side frame of the computer device 1700 and / or the lower layer of the touch display screen 1705. When the pressure sensor 1712 is set on the side frame of the computer device 1700, it can detect the user's grip signal of the computer device 1700, and the processor 1701 performs left and right hand recognition or shortcut operations according to the grip signal collected by the pressure sensor 1712. When the pressure sensor 1712 is set on the lower layer of the touch display screen 1705, the processor 1701 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0216] The optical sensor 1713 is used to collect the ambient light intensity. In one embodiment, the processor 1701 can control the display brightness of the touch display screen 1705 according to the ambient light intensity collected by the optical sensor 1713. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1705 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1705 is reduced. In another embodiment, the processor 1701 can also dynamically adjust the shooting parameters of the camera assembly 1706 according to the ambient light intensity collected by the optical sensor 1713.

[0217] The proximity sensor 1714, also called a distance sensor, is usually arranged on the front panel of the computer device 1700. The proximity sensor 1714 is used to collect the distance between the user and the front of the computer device 1700. In one embodiment, when the proximity sensor 1714 detects that the distance between the user and the front of the computer device 1700 is gradually decreasing, the processor 1701 controls the touch display screen 1705 to switch from the screen-on state to the screen-off state; when the proximity sensor 1714 detects that the distance between the user and the front of the computer device 1700 is gradually increasing, the processor 1701 controls the touch display screen 1705 to switch from the screen-off state to the screen-on state.

[0218] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the computer device 1700, and the computer device 1700 may include more or less components than shown in the figure, or combine some components, or adopt a different arrangement of components.

[0219] A computer-readable storage medium is also provided in an embodiment of the present application, in which at least one instruction, at least one program, code set or instruction set is stored. When the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor of a computer device, the multimedia playback method provided in the above-mentioned method embodiments is implemented.

[0220] The present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the multimedia playback method provided by the above-mentioned method embodiments.

[0221] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned readable storage medium may be a read-only memory, a disk or an optical disk, etc.

[0222] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent switching, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A multimedia playing method, characterized in that: The method is performed by a second client, which is a client of a multimedia program running on a second terminal; the method comprises: In response to the continue playing instruction of the first terminal, running the second client; Continuing to play the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is the client of the multimedia program running on the first terminal; When the second client continues to play successfully, the first client is controlled to stop playing the first multimedia.

2. The method according to claim 1, characterized in that The first client plays the first multimedia in the first page of the multimedia program, and the first multimedia is located in the first play list of the first page; The step of continuously playing the first multimedia according to the current playing progress includes: In the second page of the multimedia program, continue to play the first multimedia according to the current playing progress; The first multimedia is located in the first play list of the second page; the first page and the second page are the same page displayed on different terminals, and the display status of the first page and the second page is the same.

3. The method according to claim 1 or 2, characterized in that: The step of continuously playing the first multimedia according to the current playing progress includes: Receiving synchronization information sent by the first client, the synchronization information including indication information of the first multimedia and indication information of the current playback progress; The first multimedia is loaded according to the synchronization information, and the first multimedia is continuously played according to the current playing progress indicated by the synchronization information.

4. The method according to claim 3, characterized in that The synchronization information further includes instruction information that the first client plays the first page of the first multimedia, and instruction information of the first playlist where the first multimedia is located; The step of loading the first multimedia according to the synchronization information and continuously playing the first multimedia according to the current playing progress indicated by the synchronization information includes: The second page is loaded according to the instruction information of the first page, the first playlist is displayed in the second page according to the instruction information of the first playlist, the first multimedia is loaded according to the instruction information of the first multimedia, and the first multimedia is continuously played in the second page according to the current playback progress.

5. The method according to claim 1 or 2, characterized in that: A first account is logged in to the first client; The step of continuously playing the first multimedia according to the current playing progress includes: When the first account is logged in on the second client, the first multimedia is played continuously according to the current playing progress.

6. The method according to claim 1 or 2, characterized in that: A first account is logged in to the first client; The step of continuously playing the first multimedia according to the current playing progress includes: When a second account is logged in on the second client, an account switching prompt is displayed, where the account switching prompt is used to switch to the first account; When the user switches to log in to the first account, the first multimedia is played continuously according to the current playback progress; when the user does not switch to log in to the first account and the second account has the first multimedia playback permission, the first multimedia is played continuously according to the current playback progress.

7. The method according to claim 1 or 2, characterized in that: The first terminal includes a portable terminal, and the second terminal includes a vehicle-mounted terminal; The step of running the second client in response to the continuous playback instruction of the first terminal includes: In response to a continue playing instruction from the first terminal, running the second client; the continue playing instruction is triggered by the first terminal establishing a communication connection with the second terminal; identifying a first seat corresponding to the first terminal; Displaying a second page of the second client on a first display corresponding to the first seat, and playing audio of the second client using a first speaker corresponding to the first seat; The first display is a display provided for the first seat, and the first speaker is a speaker provided for the first seat.

8. The method according to claim 7, characterized in that The identifying the first seat of the first terminal includes at least one of the following: Acquire the first seat corresponding to the first terminal; the first seat is a seat pre-set for the first terminal; Locating a first position of the first terminal in the vehicle, and determining the first seat corresponding to the first position; Collecting the ambient audio in the vehicle by using at least two microphones arranged in the vehicle respectively, obtaining at least two ambient audios; Acquire a multimedia audio signal of the first multimedia; determine a first microphone from the at least two microphones based on the multimedia audio signal and the at least two ambient audios, wherein the energy value of the multimedia audio signal in the ambient audio corresponding to the first microphone is the highest; and acquire the first seat corresponding to the first microphone; Acquire pressure sensing signals of at least two pressure sensors in the vehicle, wherein the at least two pressure sensors are respectively arranged on at least two seats in the vehicle; acquire motion sensing signals of a motion sensor of the first terminal; Determine a first pressure sensor from among the at least two pressure sensors whose pressure sensing signal matches the motion sensing signal; and obtain a first seat corresponding to the first pressure sensor.

9. A multimedia playing method, characterized in that: The method is performed by a first client, which is a client of a multimedia program running on a first terminal; the method comprises: Play the first multimedia; In response to the continue playing instruction, based on the current playing progress of the first multimedia, instruct the second terminal to run a second client; the second client is a client of the multimedia program running on the second terminal; In response to the second client continuing to play successfully, stopping playing the first multimedia; The continued playback success includes the second client continuing to play the first multimedia based on the current playback progress.

10. The method according to claim 9, characterized in that The playing of the first multimedia includes: Displaying the first multimedia being played on the first page of the multimedia program, where the first multimedia is located in the first play list of the first page; Among them, the successful continued playback includes that the second client displays the first multimedia being played on the second page, and the first multimedia is located in the first play list of the second page; the first page and the second page are the same page displayed on different terminals, and the display status of the first page and the second page is the same.

11. The method according to claim 9 or 10, characterized in that: The step of instructing the second terminal to run the second client based on the current playback progress of the first multimedia in response to the continuous playback instruction includes: In response to the continue playing instruction, instructing the second terminal to run the second client; Send synchronization information to the second client, the synchronization information including indication information of the first multimedia and indication information of the current playback progress; the indication information of the first multimedia is used to instruct the second client to load the first multimedia, and the indication information of the current playback progress is used to instruct the second client to continue playing the first multimedia according to the current playback progress.

12. The method according to claim 10, characterized in that The synchronization information further includes instruction information that the first client plays the first page of the first multimedia, and instruction information of the first playlist where the first multimedia is located; The indication information of the first page is used to instruct the second client to load the second page, and the indication information of the first playlist is used to instruct the second client to display the first playlist in the second page.

13. The method according to claim 9 or 10, characterized in that: The first terminal includes a portable terminal, and the second terminal includes a vehicle-mounted terminal; The step of instructing the second terminal to run the second client based on the current playback progress of the first multimedia in response to the continuous playback instruction includes: In response to the second terminal establishing a communication connection with the first terminal, triggering the continuous playback instruction, and instructing the second terminal to run the second client based on the current playback progress of the first multimedia; Among them, the first display screen and the first speaker used for playing the first multimedia are determined based on the first seat corresponding to the first terminal; the first display is a display set for the first seat, and the first speaker is a speaker set for the first seat.

14. The method according to claim 13, characterized in that The first seat is determined in at least one of the following ways: The first seat is a seat pre-set for the first terminal; The first seat is determined based on a position of the first terminal in the vehicle; The first seat is determined based on the ambient audio collected by at least two microphones arranged in the vehicle and the multimedia audio signal of the first multimedia; the first seat corresponds to the first microphone, and the energy value of the multimedia audio signal in the ambient audio corresponding to the first microphone is the highest; The first seat is determined based on at least two pressure sensors in the vehicle and a motion sensor of the first terminal; the first seat corresponds to a first pressure sensor, and a pressure sensing signal of the first pressure sensor matches a motion sensing signal of the motion sensor.

15. A multimedia playback device, characterized in that: The device runs a second client, which is a client of a multimedia program; the device includes: An operation module, configured to operate the second client in response to a continue playing instruction from the first terminal; A second playing module is used to continue playing the first multimedia according to the current playing progress; the current playing progress is the playing progress of the first multimedia on the first client; the first client is the client of the multimedia program running on the first terminal; The second sending module is used to control the first client to stop playing the first multimedia when the second client continues to play successfully.

16. A multimedia playback device, characterized in that: The device runs a first client, which is a client of a multimedia program; the device includes: A first playing module, used for playing a first multimedia; A first sending module is used to respond to the continuous playback instruction and instruct the second terminal to run a second client based on the current playback progress of the first multimedia; the second client is a client of the multimedia program running on the second terminal; The first playing module is configured to stop playing the first multimedia in response to the second client continuing to play successfully; The continued playback success includes the second client continuing to play the first multimedia based on the current playback progress.

17. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the multimedia playback method according to any one of claims 1 to 14.

18. A computer-readable storage medium, characterized in that: The readable storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the multimedia playback method according to any one of claims 1 to 14.

19. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the multimedia playback method as described in any one of claims 1 to 14.

Citation Information

Cited By

  • Continuous playing method and system of multimedia data stream, storage medium and electronic device

    CN120711217A