Audio and video playback method, data processing device, terminal, medium and computing equipment

The data processing device sends audio and video data of the user-related devices, solving the problem of convenience of audio and video resuming, and achieving smooth resuming in different network environments.

CN115914689BActive Publication Date: 2025-08-08HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211348892.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2025-08-08
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

Audio and video continuation is less convenient when the user terminal does not connect to the LAN, and it is impossible to obtain the latest playback records from the LAN.

Method used

The data processing device sends audio and video data reported by other devices associated with the user to the terminal based on the terminal's login information, so that the terminal can continue to broadcast audio and video of other devices of the user.

Benefits of technology

It improves the convenience of audio and video resuming, ensuring that the terminal can successfully resumes audio and video data in different network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914689B_ABST
    Figure CN115914689B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide an audio and video playback method, a data processing device, a terminal, a medium, and a computing device. The method includes: receiving login information of a first terminal, and determining the user associated with the first terminal based on the login information; obtaining first information of audio and video reported by each second terminal associated with the user, the first information including the identifier of the audio and video played by the second terminal and the time when it has been played; determining target information in each first information, and sending the audio and video data corresponding to the target information to the first terminal, so that the first terminal can continue to play the audio and video data corresponding to the target information. Based on the login information of the terminal, the data processing device sends the audio and video reported by other devices associated with the user to the terminal, so that the terminal can continue to play the audio and video of the user's other devices, thereby improving the convenience of continuing to play audio and video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of audio and video. More specifically, the embodiments of the present disclosure relate to an audio and video playback method, a data processing apparatus, a terminal, a medium, and a computing device. Background Art

[0002] This section is intended to provide a background or context for the embodiments of the present disclosure. No admission is made that the description herein is prior art by virtue of its inclusion in this section.

[0003] Audio and video can be played back across multiple devices. For example, if a user plays an audio or video on their phone and then uses a tablet, the tablet will continue playing the video based on the progress of the audio or video played on the phone.

[0004] In the exemplary technology, the local area network can synchronize the audio and video playback records of the user on the terminal to other terminals of the user connected to the same local area network, so that the audio and video can be played back between the various terminals connected to the same local area network.

[0005] In real-world scenarios, however, the terminal currently playing audio or video may not be connected to a local area network (LAN), or the terminal may not be connected to the target LAN, which is the LAN to which the terminal storing the most recent audio or video playback history is connected. In this case, the terminal can only play audio or video based on its own stored playback history and cannot retrieve the most recent audio or video playback history from the LAN, making it difficult to resume audio or video playback, which means that resuming audio or video playback is inconvenient. Summary of the Invention

[0006] The present disclosure provides an audio and video playback method, a data processing device, a device, a medium and a computing device, which are used to solve the problem of low convenience in continuing to play audio and video.

[0007] In the first aspect of the embodiment of the present disclosure, a method for audio and video playback is provided, including: receiving login information of a first terminal, and determining a user associated with the first terminal based on the login information; obtaining first information of audio and video reported by each second terminal associated with the user, the first information including an identifier of the audio and video played by the second terminal and a playback time; determining target information in each of the first information, and sending the audio and video data corresponding to the target information to the first terminal, so that the first terminal can continue to play the audio and video data corresponding to the target information.

[0008] In one embodiment of the present disclosure, determining target information in each of the first information includes:

[0009] Remove the first information that meets the set conditions from each of the first information to obtain each of the second information;

[0010] The time point at which each second terminal reports the second information is obtained, and target information is determined in each second information according to each time point.

[0011] In another embodiment of the present disclosure, determining target information in each of the second information according to each of the time points includes:

[0012] Sorting each of the time points to obtain a sequence number for each of the time points;

[0013] The second information corresponding to the time point with the preset sequence number is determined as the target information.

[0014] In another embodiment of the present disclosure, it further includes:

[0015] In response to there being multiple identical time points, acquiring target parameters of the second terminal corresponding to each identical time point, the target parameters including a device type, priority, and / or authority of the second terminal;

[0016] The same time points are sorted according to the target parameters.

[0017] In another embodiment of the present disclosure, satisfying the set condition includes at least one of the following:

[0018] The first information is reported by the first terminal;

[0019] The type of the audio and video corresponding to the first information is a preset type;

[0020] A first interval between the reporting time point corresponding to the first information and the current time point is greater than or equal to a preset time period;

[0021] The first terminal does not have permission to play the audio and video corresponding to the first information.

[0022] In another embodiment of the present disclosure, before receiving the login information of the first terminal, the method further includes:

[0023] Obtain each third terminal associated with the user;

[0024] Among the third terminals, remove the inactive terminals to obtain the second terminals associated with the user, where the inactive terminal is a third terminal whose second interval duration is less than the second preset duration, and the second interval duration is the interval duration between the time point when the inactive terminal last played audio or video and the current time point.

[0025] In another embodiment of the present disclosure, after removing inactive terminals from the third terminals to obtain the second terminals associated with the user, the method further includes:

[0026] In response to the number of second terminals associated with the user being greater than or equal to a preset number, setting a state associated with the device identifier of the second terminal to an enabled state, wherein the enabled state is used to instruct the second terminal to report audio and video information;

[0027] In response to the number of second terminals associated with the user being less than a preset number, the state associated with the device identifier of the second terminal is set to a disabled state, where the disabled state is used to indicate that the second terminal is prohibited from reporting audio and video information.

[0028] In another embodiment of the present disclosure, the first terminal is any one of the second terminals, and determining the user associated with the first terminal according to the login information includes:

[0029] Acquire a device identifier of the first terminal according to the login information;

[0030] determining a state of association of the first terminal according to the device identifier;

[0031] In response to the state associated with the first terminal being the startup state, a user identifier is obtained according to the login information, and a user associated with the first terminal is determined according to the user identifier.

[0032] In another embodiment of the present disclosure, it further includes:

[0033] Receive first audio and video information reported by the second terminal, and associate the first information with a user identifier corresponding to the user and store it.

[0034] In another embodiment of the present disclosure, after sending the audio and video corresponding to the target audio and video data to the first terminal, the method further includes:

[0035] Receive third information reported by the first terminal, associate the third information with a user identifier corresponding to the user and store the third information, wherein the third information includes an identifier of the audio and video data currently being played by the first terminal and an elapsed playing time.

[0036] In a second aspect of the embodiments of the present disclosure, there is provided an audio and video playback method, applied to a first terminal, comprising:

[0037] Sending login information of an audio and video application to a data processing device, where the login information is used by the data processing device to determine a user associated with the first terminal;

[0038] The audio and video data sent by the data processing device is received, and the audio and video data is continued to be played based on the played time of the audio and video data, where the audio and video data is the audio and video data reported by the second terminal associated with the user.

[0039] In one embodiment of the present disclosure, after resuming the playback of the audio and video data based on the playback time of the audio and video data, the method further includes:

[0040] Obtaining the identifier of the currently playing audio and video data and the elapsed playing time;

[0041] In response to the terminal association state being an enabled state, the identifier of the currently playing audio and video data and the time at which it has been played are sent to the data processing device, so that the data processing device can associate and store the identifier of the currently playing audio and video data and the time at which it has been played with the user identifier corresponding to the user.

[0042] In a third aspect of the embodiments of the present disclosure, a data processing device is provided, including:

[0043] a first receiving module, configured to receive login information of a first terminal and determine a user associated with the first terminal according to the login information;

[0044] a first acquisition module, configured to acquire first information of audio and video reported by each second terminal associated with the user, the first information including an identifier of the audio and video played by the second terminal and an elapsed time of the playing;

[0045] The determination module is configured to determine target information in each of the first information, and send the audio and video data corresponding to the target information to the first terminal, so that the first terminal can continue to broadcast the audio and video data corresponding to the target information.

[0046] In one embodiment of the present disclosure, the first acquisition module includes:

[0047] a removing unit, configured to remove the first information satisfying a set condition from each piece of the first information, to obtain each piece of second information;

[0048] The first acquiring unit is configured to acquire a time point at which each second terminal reports the second information, and determine target information in each second information according to each time point.

[0049] In another embodiment of the present disclosure, the first acquiring unit includes:

[0050] A sorting subunit, configured to sort each of the time points to obtain a sequence number for each of the time points;

[0051] The determination subunit is configured to determine the second information corresponding to the time point having the preset sequence number as the target information.

[0052] In another embodiment of the present disclosure, the first acquiring unit includes:

[0053] an acquiring subunit, in response to there being multiple identical time points, acquiring target parameters of the second terminal corresponding to each identical time point, the target parameters including a device type, priority, and / or authority of the second terminal;

[0054] The sorting subunit is used to sort the same time points according to the target parameters.

[0055] In another embodiment of the present disclosure, satisfying the set condition includes at least one of the following:

[0056] The first information is reported by the first terminal;

[0057] The type of the audio and video corresponding to the first information is a preset type;

[0058] A first interval between the reporting time point corresponding to the first information and the current time point is greater than or equal to a preset time period;

[0059] The first terminal does not have permission to play the audio and video corresponding to the first information.

[0060] In another embodiment of the present disclosure, the data processing device further includes:

[0061] A second acquisition module, configured to acquire each third terminal associated with the user;

[0062] A removal module is used to remove inactive terminals from each of the third terminals to obtain each second terminal associated with the user, wherein the inactive terminal is a third terminal whose second interval duration is less than a second preset duration, and the second interval duration is the interval duration between the time point when the inactive terminal last played audio or video and the current time point.

[0063] In another embodiment of the present disclosure, it further includes:

[0064] A setting module is configured to, after removing inactive terminals from each of the third terminals and obtaining each second terminal associated with the user, set a state associated with the device identifier of the second terminal to an enabled state in response to the number of second terminals associated with the user being greater than or equal to a preset number, wherein the enabled state is used to instruct the second terminal to report audio and video information;

[0065] The setting module is further configured to, in response to the number of second terminals associated with the user being less than a preset number, set the state associated with the device identifier of the second terminal to a disabled state, wherein the disabled state is configured to indicate that the second terminal is prohibited from reporting audio and video information.

[0066] In another embodiment of the present disclosure, the first receiving module includes:

[0067] a second acquiring unit, configured to acquire a device identification of the first terminal according to the login information;

[0068] a determining unit, configured to determine a state of association with the first terminal according to the device identifier;

[0069] The second acquiring unit is further configured to acquire a user identifier according to the login information in response to the state associated with the first terminal being the startup state, and determine a user associated with the first terminal according to the user identifier.

[0070] In another embodiment of the present disclosure, it further includes:

[0071] The second receiving module is configured to receive first audio and video information reported by the second terminal, and associate the first information with a user identifier corresponding to the user and store the associated information.

[0072] In another embodiment of the present disclosure, it further includes:

[0073] The third receiving module is used to receive third information reported by the first terminal, and store the third information in association with the user identifier corresponding to the user, wherein the third information includes the identifier of the audio and video data currently played by the first terminal and the playback time.

[0074] In a fourth aspect of the embodiments of the present disclosure, a terminal is further provided, including:

[0075] A first sending module, configured to send login information of an audio and video application to a data processing device, wherein the login information is used by the data processing device to determine a user associated with the first terminal;

[0076] The fourth receiving module is used to receive the audio and video data sent by the data processing device and continue to play the audio and video data based on the playback time of the audio and video data. The audio and video data is the audio and video data reported by the second terminal associated with the user.

[0077] In one embodiment of the present disclosure, it further includes:

[0078] a third acquisition module, configured to acquire an identifier and an elapsed playback time of the currently played audio and video data after continuing to play the audio and video data based on the elapsed playback time of the audio and video data;

[0079] The second sending module is used to send the identifier of the currently playing audio and video data and the time when it has been played to the data processing device in response to the terminal association state being an enabled state, so that the data processing device can associate and store the identifier of the currently playing audio and video data and the time when it has been played with the user identifier corresponding to the user.

[0080] In a fifth aspect of the embodiments of the present disclosure, a medium is further provided, comprising: computer-executable instructions, which are used to implement the audio and video playback method described above when executed by a processor.

[0081] In a fifth aspect of the embodiments of the present disclosure, a computing device is further provided, including:

[0082] Memory and processor;

[0083] The memory stores computer-executable instructions;

[0084] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the audio and video playback method as described above.

[0085] In the disclosed embodiment, the data processing device sends the audio and video reported by other devices associated with the user to the terminal based on the terminal's login information, so that the terminal can continue to play the audio and video of the user's other devices, thereby improving the convenience of continuing to play audio and video. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings, in which several embodiments of the present disclosure are shown by way of example and not limitation, wherein:

[0087] Figure 1 The following schematically shows an application scenario of the audio playback method according to an embodiment of the present disclosure;

[0088] Figure 2 Schematically shows a flow chart according to an embodiment of the present disclosure;

[0089] Figure 3 Schematically shows a flow chart according to another embodiment of the present disclosure;

[0090] Figure 4 Schematically shows a flow chart according to another embodiment of the present disclosure;

[0091] Figure 5 Schematically shows a flow chart according to yet another embodiment of the present disclosure;

[0092] Figure 6 Schematically shows a flow chart according to an embodiment of the present disclosure;

[0093] Figure 7 A schematic diagram schematically illustrates a program product provided according to an embodiment of the present disclosure;

[0094] Figure 8 The following schematically shows a structural diagram of a data processing device provided according to an embodiment of the present disclosure;

[0095] Figure 9 The following schematically shows a schematic structural diagram of a terminal provided according to an embodiment of the present disclosure;

[0096] Figure 10 The figure schematically shows a structural diagram of a computing device provided according to an embodiment of the present disclosure.

[0097] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts. DETAILED DESCRIPTION

[0098] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided solely to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. Rather, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0099] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, apparatus, device, method, or computer program product. Therefore, the present disclosure may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software.

[0100] According to an embodiment of the present disclosure, an audio and video playback method, a data processing device, a terminal, a medium, and a computing device are proposed.

[0101] In addition, any number of elements in the drawings is for illustration and not limitation, and any naming is for distinction only and does not have any limiting meaning.

[0102] In addition, the data involved in this disclosure may be data authorized by the user or fully authorized by all parties. The collection, dissemination, and use of the data shall comply with the requirements of relevant national laws and regulations. The implementation methods / examples of this disclosure may be combined with each other.

[0103] The principles and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION

[0105] Audio and video can be played back across multiple devices. For example, if a user plays an audio or video on their phone and then uses a tablet, the tablet will continue playing the video based on the progress of the audio or video played on the phone.

[0106] The inventor of this patent discovered that a local area network can synchronize the playback records of the user's audio and video on the terminal to other terminals of the user connected to the same local area network, so that the audio and video can be resumed between the terminals connected to the same local area network. However, the terminal on which the user is currently playing the audio and video is not necessarily connected to the local area network, or the terminal is not connected to the target local area network, which is the local area network to which the terminal that stores the latest record of the user's audio and video playback is connected. In this case, the terminal can only play the audio and video based on its own stored playback records, and cannot obtain the latest record of the user's audio and video playback from the local area network, making it difficult to resume the audio and video, that is, the convenience of resuming the audio and video is low.

[0107] The inventor of this patent therefore thought of sending the audio and video reported by other devices associated with the user to the terminal based on the terminal's login information, so that the terminal can continue to play the audio and video of the user's other devices, thereby improving the convenience of continuing to play audio and video.

[0108] Application Scenario Overview

[0109] First reference Figure 1 , Figure 1 The following is a schematic diagram of an application scenario of the audio and video playback method according to an embodiment of the present disclosure. The data processing device 100 is communicatively connected to the terminal device 200 associated with the user. The data processing device 100 may be a server, a computer or other device, and the terminal device 200 may be a portable device such as a mobile phone or a tablet. When the terminal device 200 logs in to the audio and video application, it sends login information to the data processing device 100. The login information includes a device identifier of the terminal device 200. The data processing device 100 determines the user associated with the terminal device 200 based on the login information, and sends the audio and video data of other terminal devices associated with the user to the terminal device 200 for continued playback.

[0110] Exemplary Methods

[0111] The following combination Figure 1 For application scenarios, refer to Figure 2-Figure 6 To describe the audio and video playback method according to the exemplary embodiment of the present disclosure. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.

[0112] Reference Figure 2 , Figure 2 The following is a flow chart showing an embodiment of an audio and video playback method according to an embodiment of the present disclosure. The audio and video playback method includes:

[0113] Step S201: receiving login information of a first terminal, and determining a user associated with the first terminal according to the login information.

[0114] In this embodiment, the execution subject is a data processing device. For ease of description, the term "device" is used to refer to the data processing device. The device can be a device with data storage, data receiving, and data sending functions, for example, a server.

[0115] When a terminal device plays audio or video, it uploads the audio or video to the device. The device then stores the audio or video in association with the user ID corresponding to the terminal device. The stored audio or video can then be continued on other devices. Audio or video refers to at least one of audio and video.

[0116] When a first terminal logs into an audio or video application, it sends login information to the device. This login information includes the first terminal's device identifier. The device stores an association between the terminal's device identifier and the user's user identifier. After obtaining the first terminal's device identifier, the device determines the user identifier associated with the device identifier based on the device identifier and the stored association. In other words, it determines the user associated with the first terminal based on the device identifier.

[0117] Step S202: Acquire first information of audio and video reported by each second terminal associated with the user, where the first information includes an identifier of the audio and video played by the second terminal and a time when the audio and video has been played.

[0118] A user may be associated with multiple second terminals, meaning that a user identifier is associated with multiple device identifiers. The device determines the multiple second terminals associated with the user based on the user identifier. When the user uses each second terminal to play audio or video, the second terminal reports the first information of the played audio or video, and the reported first information is stored in association with the user identifier of the user associated with the second terminal. After determining the multiple second terminals associated with the user, the device can obtain the first information of the audio or video reported by each second terminal using the user identifier corresponding to the user. The first information includes the identifier of the audio or video played by the second terminal and the time it was played. The identifier is used by the device to locate the audio or video from the database, while the time it was played indicates the time when the audio or video started playing on the first terminal. For example, the second terminal is playing audio D, and the time it has played is 3 minutes. When the user logs in to the first terminal, the device obtains identifier A and the time it has played 3 minutes based on the login information of the first terminal. The device then obtains audio D based on identifier A and marks the time it has played as the 3rd minute of the audio in audio D.

[0119] Step S203: determining target information in each first information, and sending the audio and video data corresponding to the target information to the first terminal, so that the first terminal can continue to play the audio and video data corresponding to the target information.

[0120] After determining the first information of each second terminal associated with the user, the device determines the target information from each first information. For example, the most recently reported first information of audio or video can be determined as the target information. For example, the second terminals associated with the user include a mobile phone, a tablet, and a computer. If the first terminal is a mobile phone, and the user plays audio or video on the tablet in the morning and on the computer in the afternoon, and the current time is afternoon, the device determines the first information of audio or video reported by the computer in the afternoon as the target information.

[0121] After determining the target information, the audio and video data corresponding to the target information is sent to the first terminal, thereby causing the first terminal to resume playing the audio and video data corresponding to the target information. For example, if the target information includes an identifier of the audio or video and an elapsed time, the audio and video data corresponding to the target information is the audio or video corresponding to the identifier, and the audio or video is marked with the elapsed time. After receiving the audio and video data, the first terminal outputs a prompt message based on the marked elapsed time, prompting the user whether to resume playing the audio or video data from the elapsed time.

[0122] Furthermore, when playing audio or video data sent by the device, the first terminal requests the device to store the progress of the first terminal's playback. Specifically, the first terminal reports third information to the device, which then associates and stores the third information with the user ID corresponding to the user. This third information includes the ID of the audio or video currently being played by the first terminal and the elapsed playback time. Furthermore, the first terminal can send this third information to the device when pausing playback of the audio or video data.

[0123] In this embodiment, login information of a first terminal is received, and a user associated with the first terminal is determined based on the login information; first information of audio and video reported by each second terminal associated with the user is obtained, the first information including the identification of the audio and video played by the second terminal and the time when it has been played; target information is determined in each first information, and the audio and video data corresponding to the target information is sent to the first terminal, so that the first terminal can continue to play the audio and video data corresponding to the target information.

[0124] Reference Figure 3 , Figure 3 The flowchart of another embodiment of the audio and video playback method provided by the embodiment of the present disclosure is shown as an example. Figure 2 In the illustrated embodiment, step S203 includes:

[0125] Step S301: Remove the first information that meets the set conditions from each piece of first information to obtain each piece of second information.

[0126] In this embodiment, among the second terminals associated with the user, some of the audio and video reported by the second terminals may not be sent to the first terminal. To this end, the device needs to filter each first message. The device removes the first information that meets the set conditions from each first message to obtain each second message. Meeting the set conditions includes: the first information is reported by the first terminal, the type of audio and video corresponding to the first information is a preset type, the first interval between the reporting time point corresponding to the first information and the current time point is greater than or equal to the preset time, and the first terminal does not have the authority to play the audio and video corresponding to the first information. At least one of the following.

[0127] Specifically, the first terminal stores the audio and video playback record. If the first information is reported by the first terminal, the device does not need to download the audio and video to the first terminal, that is, the first information meets the set conditions, and the first terminal can play based on the recorded audio and video data.

[0128] There are two types of audio and video data. One type is that the audio and video data is local data, that is, the audio and video data is sent by the terminal device from other platforms and is not stored in the device; the other type is that the audio and video data is non-local data, that is, the audio and video data is downloaded from the device. In this embodiment, the preset type refers to audio and video data that is local data. If the audio and video corresponding to the first information is local data, the device cannot download the audio and video data to the first terminal, that is, the first information meets the set conditions, and the device filters the first information.

[0129] Furthermore, the audio or video data may be one that the user has not viewed for a long time, and the user may not be interested in playing such data. To address this, the device determines a first interval between the reporting time of the first information and the current time. If the first interval is greater than or equal to a preset time, the device determines that the user has not viewed the audio or video data corresponding to the first information for a long time, i.e., the first information meets the preset condition, and thus the first information is filtered out.

[0130] Audio and video data has copyright, and a terminal can request to obtain the copyright and obtain playback permission, thereby being able to play the audio and video data. To this end, the device needs to determine whether the first terminal has playback permission for the audio and video corresponding to each first information. If the first terminal does not have permission to play the audio and video corresponding to the first information, then the first information meets the set conditions.

[0131] Step S302: obtaining the time point at which each second terminal reports the second information, and determining target information in each second information according to each time point.

[0132] After removing the first information that meets the set conditions, the device obtains each second information, and the first terminal can play the audio and video corresponding to each second information. To this end, the device can obtain the time point when each second terminal reports the second information, and thus determine the target information in each second information based on each time point.

[0133] Exemplarily, a preset duration is stored in the device, and the device calculates the interval duration between each time point and the current time point, and determines the second information of the time point corresponding to the interval duration less than the preset duration as the target information, that is, the first terminal plays the audio and video most recently played by the user's other terminal devices.

[0134] In this embodiment, the device removes the first information that meets the set conditions from each first information to obtain each second information, and then determines the target information from each second information to prevent the first terminal from being unable to play the audio and video data sent by the device.

[0135] Reference Figure 4 , Figure 4An exemplary flow chart of another embodiment of the audio and video playback method provided in accordance with the present disclosure is shown. Figure 3 In the illustrated embodiment, step S302 includes:

[0136] Step S401: sort the time points to obtain the sequence number of each time point.

[0137] Step S402: The second information corresponding to the time point with a sequence number equal to the preset sequence number is determined as the target information.

[0138] In this embodiment, after obtaining the time points at which each second terminal reports the second information, the device sorts the time points. The device can sort the time points in order from first to last, or from last to first. Each sorted time point has a corresponding sequence number.

[0139] The device determines the target information based on the second information corresponding to the time point of the preset sequence number.

[0140] In one example, the device sorts the time points in order from earliest to latest, and the preset sequence number is the largest sequence number, and the time point corresponding to the largest sequence number is the latest time point.

[0141] In another example, the device sorts the time points in order from the last to the first, and the preset sequence number is the smallest sequence number, and the time point corresponding to the smallest sequence number is the latest time point.

[0142] There may be multiple preset serial numbers. For example, serial numbers 1, 2, and 3 are determined as preset serial numbers.

[0143] Furthermore, in response to there being multiple identical time points, target parameters of the second terminal corresponding to the identical time points are obtained, thereby sorting the identical time points according to the target parameters. The target parameters include at least one of the device type, priority, and authority of the second terminal.

[0144] In one example, the target parameter includes the device type of the second terminal, and the device type represents the type of the second terminal. The device sorts the same time points according to the device type of each second terminal. For example, the device types of the second terminal include mobile phones, tablets, and computers. The probability of a mobile phone playing audio and video is greater than the probability of a tablet playing audio and video, and the probability of a tablet playing audio and video is greater than the probability of a computer playing audio and video. If the time point at which the mobile phone, tablet, and computer upload the second information is the same, the time point corresponding to the mobile phone is sorted before the time point corresponding to the tablet, and the time point corresponding to the tablet is sorted before the time point corresponding to the computer.

[0145] In another example, the target parameter includes the priority of the second terminal. Priority refers to the priority of playing audio and video. For example, the priority of playing audio and video on a mobile phone is higher than that on a tablet, and the priority of playing audio and video on a tablet is higher than that on a computer, and the higher the priority. If the time point at which the mobile phone, tablet, and computer upload the second information is the same, the priority of playing audio and video on the mobile phone is higher than that on the tablet, and the time point corresponding to the mobile phone is before the time point corresponding to the tablet, and the priority of playing audio and video on the tablet is higher than that on the computer, then the time point corresponding to the tablet is before the time point corresponding to the computer. The above priorities can be set according to actual needs.

[0146] In another example, the target parameter includes the authority of the second terminal, and the authority refers to the priority authority for audio and video playback. For example, if a mobile phone and a tablet log in to the audio and video application at the same time, since the authority of the mobile phone is greater than the authority of the tablet, the device sends the audio and video data to the mobile phone, and the mobile phone continues to play. In this regard, if the time point when the mobile phone, tablet and computer upload the second information is the same, the authority of the mobile phone is greater than the authority of the tablet, and the authority of the tablet is greater than the authority of the computer, then the time point corresponding to the mobile phone is ranked before the time point corresponding to the tablet, and the time point corresponding to the tablet is ranked before the time point corresponding to the computer. The above permissions can be set according to actual needs.

[0147] In another example, the target parameters include at least two of the authority, priority and device type of the second terminal, and the authority, priority and device type have corresponding weights and values. Based on the weights, the values corresponding to the authority, priority and device type of the second terminal are weightedly calculated to obtain the score corresponding to the second terminal. The higher the second score, the earlier the time point when the second terminal reports the second information.

[0148] In this embodiment, the device sorts each time point to obtain a serial number corresponding to the time point, and then determines the second information corresponding to the time point with a preset serial number as the target information, that is, the second information corresponding to the time point sorted at the set position is determined as the target information, and then the first terminal sends appropriate audio and video data.

[0149] Reference Figure 5 , Figure 5 An exemplary flow chart of another embodiment of the audio and video playback method provided in accordance with the present disclosure is shown. Figures 2 to 4 In any of the embodiments shown, before step S201, the following steps may be further included:

[0150] Step S501: Acquire each third terminal associated with the user.

[0151] In step S502, in each third terminal, remove the inactive terminal and obtain each second terminal associated with the user. The inactive terminal is a third terminal whose second interval duration is less than the second preset duration. The second interval duration is the interval duration between the time point when the inactive terminal last played audio or video and the current time point.

[0152] In this embodiment, the device stores multiple third-party terminals associated with the user. A user may not have logged into a particular third-party terminal to play audio or video for an extended period. Such terminals are considered inactive. Specifically, an inactive terminal is a third-party terminal whose second interval duration is less than a second preset duration. The second interval duration is the duration between the last time the inactive terminal played audio or video and the current time. The device removes the inactive third-party terminals to obtain the second-party terminals associated with the user.

[0153] Furthermore, the status of the second terminal associated with the user includes an enabled state and a disabled state. The enabled state means that when the second terminal plays audio or video, it automatically uploads the first information of the played audio or video to the device. In other words, the enabled state is used to instruct the second terminal to report the audio or video information. The disabled state means that when the second terminal plays audio or video, it cannot upload the first information of the played audio or video to the device. In other words, the disabled state is used to instruct the second terminal to prohibit reporting audio or video information.

[0154] After determining the second terminals associated with the user, in response to the number of second terminals associated with the user being greater than or equal to a preset number, that is, detecting that the number of second terminals associated with the user is greater than or equal to the preset number, the state associated with the device identifier of the second terminal is set to a startup state, and the startup state is synchronized to the second terminal, so that the second terminal reports the information of the audio and video being played to the device.

[0155] In response to the number of second terminals associated with the user being less than a preset number, that is, detecting that the number of second terminals associated with the user is less than a preset number, the status associated with the device identifier of the second terminal is set to a disabled state, and the disabled state is synchronized to the second terminal, so that the second terminal is prohibited from reporting the information of the played audio and video to the device.

[0156] In addition, since the first terminal is any second terminal, when the first terminal sends login information, the device obtains the device identification of the first terminal according to the login information, and determines the associated state of the first terminal according to the device identification; in response to the associated state of the first terminal being the startup state, the user identification is obtained according to the login information, and the user associated with the first terminal is determined according to the user identification, that is, when the device detects that the associated state of the first terminal is the startup state, it will send the audio and video data to the first terminal for continued broadcast; if the device detects that the associated state of the first terminal is the disabled state, it will not send the audio and video data to the first terminal for continued broadcast.

[0157] In this embodiment, by removing inactive terminals, the device can avoid sending audio and video that has not been watched for a long time to the first terminal, that is, avoid the audio and video sent by the device not meeting the user's expectations, thereby improving the user experience.

[0158] The present disclosure also provides an audio and video playback method.

[0159] Reference Figure 6 , Figure 6 The following is a flow chart showing an embodiment of an audio and video playback method according to an embodiment of the present disclosure, which is applied to a first terminal. The method includes:

[0160] Step S601: Sending login information of an audio and video application to a data processing device. The login information is used by the data processing device to determine a user associated with a first terminal.

[0161] In this embodiment, the execution subject is the first terminal, which is the terminal device currently used by the user. For example, the first terminal can be a mobile phone, a computer, or a tablet.

[0162] When a terminal device plays audio or video, it uploads the audio or video to the device (data processing device). The device stores the audio or video in association with the user ID corresponding to the user associated with the terminal device. The audio or video stored by the device can be continued by the user on other devices. Audio or video refers to at least one of audio and video.

[0163] When a first terminal logs into an audio or video application, it sends login information to the device. This login information includes the first terminal's device identifier. The device stores an association between the terminal's device identifier and the user's user identifier. After obtaining the first terminal's device identifier, the device determines the user identifier associated with the device identifier based on the device identifier and the stored association. In other words, it determines the user associated with the first terminal based on the device identifier.

[0164] A user may be associated with multiple second terminals, meaning that a user identifier is associated with multiple device identifiers. The device determines the multiple second terminals associated with the user based on the user identifier. When the user uses each second terminal to play audio or video, the second terminal reports the first information of the played audio or video, and the reported first information is stored in association with the user identifier of the user associated with the second terminal. After determining the multiple second terminals associated with the user, the device retrieves the first information of the audio or video reported by each second terminal using the user identifier corresponding to the user. The first information includes the identifier of the audio or video played by the second terminal and the time it was played. The identifier is used by the device to locate the audio or video from the database, while the time it was played indicates the time when the audio or video started playing on the first terminal. For example, if the second terminal is playing audio A and the time it has played for 3 minutes, when the user logs in to the first terminal, the device obtains identifier A and the time it has played for 3 minutes based on the login information of the first terminal. The device then obtains audio A based on identifier A and marks the time it has played for the 3rd minute in audio A.

[0165] Step S602: receiving audio and video data sent by the data processing device, and replaying the audio and video data based on the played time of the audio and video data, wherein the audio and video data is the audio and video data reported by the second terminal associated with the user.

[0166] After determining the first information of each second terminal associated with the user, the device determines the target information from each first information. For example, the most recently reported first information of audio or video can be determined as the target information. For example, the second terminals associated with the user include a mobile phone, a tablet, and a computer. If the first terminal is a mobile phone, and the user plays audio or video on the tablet in the morning and on the computer in the afternoon, and the current time is afternoon, the device determines the first information of audio or video reported by the computer in the afternoon as the target information.

[0167] After determining the target information, the audio and video data corresponding to the target information is sent to the first terminal. Specifically, the first terminal receives the audio and video data sent by the data processing device and resumes playing the audio and video data based on the elapsed time of the audio and video data. For example, if the target information includes an audio or video identifier and an elapsed time, the audio and video data corresponding to the target information is the audio or video corresponding to the identifier, and the audio or video is marked with an elapsed time. After receiving the audio and video data, the first terminal outputs a prompt message based on the marked elapsed time, prompting the user whether to resume playing the audio or video data from the elapsed time.

[0168] Furthermore, when playing audio and video data sent by the device, the first terminal requests the terminal to store the progress of the audio and video playback. Specifically, the first terminal obtains the identifier of the currently playing audio and video data and the elapsed playback time, and sends the identifier and elapsed playback time of the currently playing audio and video data to the data processing device, so that the data processing device can associate and store the identifier and elapsed playback time of the currently playing audio and video data with the user identifier corresponding to the user. Furthermore, when pausing the playback of the audio and video data, the first terminal can send the identifier and elapsed playback time of the currently playing audio and video data to the device. Furthermore, the state associated with the first terminal includes an enabled state and a disabled state. In the enabled state, the first terminal automatically sends the currently playing audio and video information to the device for storage; in the disabled state, the first terminal prohibits the sending of the currently playing audio and video information to the device for storage. To this end, after obtaining the identifier and elapsed playback time of the currently playing audio and video data, and in response to the associated state being enabled, the first terminal sends the identifier and elapsed playback time of the currently playing audio and video data to the data processing device.

[0169] In this embodiment, the data processing device sends the audio and video reported by other devices associated with the user to the terminal based on the terminal's login information, so that the terminal can continue to play the audio and video of the user's other devices, thereby improving the convenience of continuing to play audio and video.

[0170] Exemplary media

[0171] After introducing the method of the exemplary embodiment of the present disclosure, next, reference is made to Figure 7 A storage medium according to an exemplary embodiment of the present disclosure is described.

[0172] refer to Figure 7 As shown, the storage medium 70 stores a program product for implementing the above-mentioned method according to an embodiment of the present disclosure. The program product may be a portable compact disc read-only memory (CD-ROM) and includes computer-executable instructions for causing a computing device to execute the audio and video playback method provided by the present disclosure. However, the program product of the present disclosure is not limited thereto.

[0173] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0174] A readable signal medium may include a data signal transmitted in baseband or as part of a carrier wave, which carries computer-executable instructions. Such a transmitted data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium.

[0175] Computer-executable instructions for performing the operations disclosed herein may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The computer-executable instructions may be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN).

[0176] Exemplary devices

[0177] After introducing the medium of the exemplary embodiment of the present disclosure, next, reference is made to Figure 8 The data processing device of the exemplary embodiment of the present disclosure is described. The data processing device is used to implement the method in any of the above-mentioned audio and video playback method embodiments, and its implementation principle and technical effects are similar.

[0178] refer to Figure 8 , Figure 8 The figure schematically shows a structural diagram of a data processing device provided according to an embodiment of the present disclosure.

[0179] like Figure 8As shown, the data processing device includes: a first receiving module 810, which is used to receive the login information of the first terminal and determine the user associated with the first terminal based on the login information; a first obtaining module 820, which is used to obtain the first information of the audio and video reported by each second terminal associated with the user, the first information including the identification of the audio and video played by the second terminal and the time when it has been played; a determining module 830, which is used to determine the target information in each first information, and send the audio and video data corresponding to the target information to the first terminal, so that the first terminal can continue to play the audio and video data corresponding to the target information.

[0180] In one embodiment, the first acquisition module 820 includes: a removal unit, used to remove the first information that meets the set conditions in each first information to obtain each second information; a first acquisition unit, used to obtain the time point when each second terminal reports the second information, and determine the target information in each second information based on each time point.

[0181] In another embodiment, the first acquisition unit includes: a sorting subunit for sorting each time point to obtain a serial number for each time point; a determination subunit for determining the second information corresponding to the time point with a preset serial number as the target information.

[0182] In another embodiment, the first acquisition unit includes: an acquisition sub-unit, which, in response to there being multiple identical time points, acquires target parameters of the second terminal corresponding to the identical time points, the target parameters including the device type, priority and / or authority of the second terminal; and a sorting sub-unit, which is used to sort the identical time points according to the target parameters.

[0183] In another embodiment, satisfying the set conditions includes at least one of the following: the first information is reported by the first terminal; the type of audio and video corresponding to the first information is a preset type; the first interval duration between the reporting time point corresponding to the first information and the current time point is greater than or equal to the preset duration; the first terminal does not have the authority to play the audio and video corresponding to the first information.

[0184] In another embodiment, the data processing device also includes: a second acquisition module, used to obtain each third terminal associated with the user; a removal module, used to remove inactive terminals from each third terminal to obtain each second terminal associated with the user, the inactive terminal is a third terminal whose second interval duration is less than the second preset duration, and the second interval duration is the interval duration between the time point when the inactive terminal last played audio or video and the current time point.

[0185] In another embodiment, it also includes: a setting module, which is used to remove inactive terminals from each third terminal, obtain each second terminal associated with the user, and in response to the number of second terminals associated with the user being greater than or equal to a preset number, set the state associated with the device identifier of the second terminal to an enabled state, wherein the enabled state is used to instruct the second terminal to report audio and video information; the setting module is also used to set the state associated with the device identifier of the second terminal to a disabled state, in response to the number of second terminals associated with the user being less than a preset number, wherein the disabled state is used to instruct the second terminal to prohibit reporting audio and video information.

[0186] In another embodiment, the first receiving module 810 includes: a second acquisition unit, used to obtain the device identification of the first terminal based on the login information; a determination unit, used to determine the state of association of the first terminal based on the device identification; the second acquisition unit is also used to obtain the user identification based on the login information in response to the state of association of the first terminal being the startup state, and determine the user associated with the first terminal based on the user identification.

[0187] In another embodiment, the system further includes: a second receiving module configured to receive first audio and video information reported by the second terminal, and associate the first information with a user identifier corresponding to the user and store the associated information.

[0188] In another embodiment, it further includes: a third receiving module, which is used to receive third information reported by the first terminal, and store the third information in association with the user identifier corresponding to the user, wherein the third information includes the identifier of the audio and video data currently played by the first terminal and the time when it has been played.

[0189] After introducing the medium of the exemplary embodiment of the present disclosure, next, reference is made to Figure 9 A terminal according to an exemplary embodiment of the present disclosure is described. The terminal is used to implement a method in any of the above-mentioned audio and video playback method embodiments, and the implementation principles and technical effects thereof are similar.

[0190] refer to Figure 9 , Figure 9 The schematic diagram schematically shows the structure of a terminal provided according to an embodiment of the present disclosure.

[0191] Reference Figure 9 The terminal includes: a first sending module 910, used to send login information of the audio and video application to the data processing device, and the login information is used by the data processing device to determine the user associated with the first terminal; a fourth receiving module 920, used to receive audio and video data sent by the data processing device, and to resume playing the audio and video data based on the playback time of the audio and video data, and the audio and video data is the audio and video data reported by the second terminal associated with the user.

[0192] In one embodiment, it also includes: a third acquisition module, which is used to obtain the identifier and the played time of the currently played audio and video data after replaying the audio and video data based on the played time of the audio and video data; a second sending module, which is used to send the identifier and the played time of the currently played audio and video data to the data processing device in response to the terminal association status being an enabled state, so that the data processing device can associate and store the identifier and the played time of the currently played audio and video data with the user identifier corresponding to the user.

[0193] Exemplary Computing Devices

[0194] After introducing the method, medium and apparatus of the exemplary embodiments of the present disclosure, Figure 10 A computing device according to an exemplary embodiment of the present disclosure is described.

[0195] Figure 10 The computing device 100 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present disclosure. Figure 10 As shown, computing device 100 is implemented as a general-purpose computing device. Components of computing device 100 may include, but are not limited to, at least one processing unit 1001, at least one storage unit 1002, and a bus 1003 connecting various system components (including processing unit 1001 and storage unit 1002). The at least one storage unit 1002 stores computer-executable instructions; the at least one processing unit 1001 includes a processor that executes the computer-executable instructions to implement the methods described above.

[0196] The bus 1003 includes a data bus, a control bus, and an address bus.

[0197] The storage unit 1002 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 10021 and / or a cache memory 10022 , and may further include a readable medium in the form of a non-volatile memory, such as a read-only memory (ROM) 10023 .

[0198] The storage unit 1002 may also include a program / utility 10025 having a set (at least one) of program modules 10024, such program modules 10024 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0199] The computing device 100 may also communicate with one or more external devices 1004 (e.g., a keyboard, a pointing device, etc.). Such communication may be performed via an input / output (I / O) interface 1005. Furthermore, the computing device 100 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1006. Figure 10 As shown, network adapter 1006 communicates with other modules of computing device 100 via bus 1003. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with computing device 100, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0200] It should be noted that although the detailed description above mentions several units / modules or sub-units / modules of the data processing device / terminal, this division is merely exemplary and not mandatory. In practice, according to embodiments of the present disclosure, the features and functions of two or more units / modules described above may be embodied in a single unit / module. Conversely, the features and functions of a single unit / module described above may be further divided and embodied by multiple units / modules.

[0201] Furthermore, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0202] Although the spirit and principles of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the specific embodiments disclosed, and the division into various aspects does not mean that the features in these aspects cannot be combined to benefit. Such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the appended claims.

Claims

1. An audio and video playback method, applied to a data processing device, characterized in that: include: receiving login information of a first terminal, and determining a user associated with the first terminal according to the login information; Obtaining first information of audio and video reported by each second terminal associated with the user, the first information including an identifier of the audio and video played by the second terminal and an elapsed playing time; Determining target information in each of the first information, and sending the audio and video data corresponding to the target information to the first terminal, so that the first terminal continues to play the audio and video data corresponding to the target information; Before receiving the login information of the first terminal, the method further includes: Obtain each third terminal associated with the user; Remove inactive terminals from the third terminals to obtain second terminals associated with the user; In response to the number of second terminals associated with the user being greater than or equal to a preset number, setting a state associated with the device identifier of the second terminal to an enabled state, wherein the enabled state is used to instruct the second terminal to report audio and video information; In response to the number of second terminals associated with the user being less than a preset number, the state associated with the device identifier of the second terminal is set to a disabled state, where the disabled state is used to indicate that the second terminal is prohibited from reporting audio and video information.

2. The audio and video playback method according to claim 1, wherein: The determining target information in each of the first information includes: Remove the first information that meets the set conditions from each of the first information to obtain each of the second information; The time point at which each second terminal reports the second information is obtained, and target information is determined in each second information according to each time point.

3. The audio and video playback method according to claim 2, wherein: The determining target information in each of the second information according to each of the time points includes: Sorting each of the time points to obtain a sequence number for each of the time points; The second information corresponding to the time point with the preset sequence number is determined as the target information.

4. The audio and video playback method according to claim 3, wherein: Also includes: In response to there being multiple identical time points, acquiring target parameters of the second terminal corresponding to each identical time point, the target parameters including a device type, priority, and / or authority of the second terminal; The same time points are sorted according to the target parameters.

5. The audio and video playback method according to claim 2, wherein: Meeting the set conditions includes at least one of the following: The first information is reported by the first terminal; The type of the audio and video corresponding to the first information is a preset type; A first interval between the reporting time point corresponding to the first information and the current time point is greater than or equal to a preset time length; The first terminal does not have permission to play the audio and video corresponding to the first information.

6. The audio and video playback method according to claim 1, wherein: The inactive terminal is a third terminal whose second interval duration is less than a second preset duration, and the second interval duration is the interval duration between the time point when the inactive terminal last played audio or video and the current time point.

7. The audio and video playback method according to claim 1, wherein: The first terminal is any one of the second terminals, and determining the user associated with the first terminal according to the login information includes: Acquire a device identifier of the first terminal according to the login information; determining a state of association of the first terminal according to the device identifier; In response to the state associated with the first terminal being the startup state, a user identifier is obtained according to the login information, and a user associated with the first terminal is determined according to the user identifier.

8. The audio and video playback method according to claim 1, wherein: Also includes: Receive first audio and video information reported by the second terminal, and associate the first information with a user identifier corresponding to the user and store it.

9. The audio and video playback method according to any one of claims 1 to 8, characterized in that: After the audio and video data corresponding to the target information is sent to the first terminal, the method further includes: Receive third information reported by the first terminal, associate the third information with a user identifier corresponding to the user and store the third information, wherein the third information includes an identifier of the audio and video data currently being played by the first terminal and an elapsed playing time.

10. An audio and video playback method, applied to a first terminal, characterized in that: include: Sending login information of an audio and video application to a data processing device, where the login information is used by the data processing device to determine a user associated with the first terminal; receiving audio and video data sent by the data processing device, and replaying the audio and video data based on a time at which the audio and video data has been played, wherein the audio and video data is audio and video data reported by a second terminal associated with the user; The data processing device is further configured to: Obtain each third terminal associated with the user; Remove inactive terminals from the third terminals to obtain second terminals associated with the user; In response to the number of second terminals associated with the user being greater than or equal to a preset number, setting a state associated with the device identifier of the second terminal to an enabled state, wherein the enabled state is used to instruct the second terminal to report audio and video information; In response to the number of second terminals associated with the user being less than a preset number, the state associated with the device identifier of the second terminal is set to a disabled state, where the disabled state is used to indicate that the second terminal is prohibited from reporting audio and video information.

11. The audio and video playback method according to claim 10, wherein: After the audio and video data are continued to be played based on the played time of the audio and video data, the method further includes: Obtaining the identifier of the currently playing audio and video data and the elapsed playing time; In response to the terminal association state being an enabled state, the identifier of the currently playing audio and video data and the time at which it has been played are sent to the data processing device, so that the data processing device can associate and store the identifier of the currently playing audio and video data and the time at which it has been played with the user identifier corresponding to the user.

12. A data processing device, characterized in that: include: a first receiving module, configured to receive login information of a first terminal and determine a user associated with the first terminal according to the login information; a first acquisition module, configured to acquire first information of audio and video reported by each second terminal associated with the user, the first information including an identifier of the audio and video played by the second terminal and an elapsed time of the playing; a determination module, configured to determine target information in each of the first information, and send the audio and video data corresponding to the target information to the first terminal, so that the first terminal can continue to play the audio and video data corresponding to the target information; The invention also includes: a second acquisition module, configured to acquire each third terminal associated with the user; a removal module, configured to remove inactive terminals from each third terminal to obtain each second terminal associated with the user; A setting module is configured to, after removing inactive terminals from each third terminal and obtaining each second terminal associated with the user, set the state associated with the device identifier of the second terminal to an enabled state in response to the number of second terminals associated with the user being greater than or equal to a preset number, wherein the enabled state is used to instruct the second terminal to report audio and video information; The setting module is further configured to set the state associated with the device identifier of the second terminal to a disabled state in response to the number of second terminals associated with the user being less than a preset number, wherein the disabled state is used to indicate that the second terminal is prohibited from reporting audio and video information.

13. The data processing device according to claim 12, characterized in that The first acquisition module includes: a removing unit, configured to remove the first information satisfying a set condition from each piece of the first information, to obtain each piece of second information; The first acquiring unit is configured to acquire a time point at which each second terminal reports the second information, and determine target information in each second information according to each time point.

14. The data processing device according to claim 13, characterized in that The first acquiring unit includes: A sorting subunit, configured to sort each of the time points to obtain a sequence number for each of the time points; The determination subunit is configured to determine the second information corresponding to the time point having the preset sequence number as the target information.

15. The data processing device according to claim 14, characterized in that The first acquiring unit includes: an acquiring subunit, in response to there being multiple identical time points, acquiring target parameters of the second terminal corresponding to each identical time point, the target parameters including a device type, priority, and / or authority of the second terminal; The sorting subunit is used to sort the same time points according to the target parameters.

16. The data processing device according to claim 13, characterized in that Meeting the set conditions includes at least one of the following: The first information is reported by the first terminal; The type of the audio and video corresponding to the first information is a preset type; A first interval between the reporting time point corresponding to the first information and the current time point is greater than or equal to a preset time length; The first terminal does not have permission to play the audio and video corresponding to the first information.

17. The data processing device according to claim 12, characterized in that The inactive terminal is a third terminal whose second interval duration is less than a second preset duration, and the second interval duration is the interval duration between the time point when the inactive terminal last played audio or video and the current time point.

18. The data processing device according to claim 12, characterized in that The first receiving module includes: a second acquiring unit, configured to acquire a device identification of the first terminal according to the login information; a determining unit, configured to determine a state of association with the first terminal according to the device identifier; The second acquiring unit is further configured to acquire a user identifier according to the login information in response to the state associated with the first terminal being the startup state, and determine a user associated with the first terminal according to the user identifier.

19. The data processing device according to claim 12, wherein: Also includes: The second receiving module is configured to receive first audio and video information reported by the second terminal, and associate the first information with a user identifier corresponding to the user and store the associated information.

20. The data processing device according to any one of claims 12 to 19, characterized in that: Also includes: The third receiving module is used to receive third information reported by the first terminal, and store the third information in association with the user identifier corresponding to the user, wherein the third information includes the identifier of the audio and video data currently played by the first terminal and the playback time.

21. A terminal, characterized in that: include: A first sending module, configured to send login information of an audio and video application to a data processing device, wherein the login information is used by the data processing device to determine a user associated with the first terminal; a fourth receiving module, configured to receive audio and video data sent by the data processing device, and to resume playing the audio and video data based on a time at which the audio and video data has been played, wherein the audio and video data is audio and video data reported by a second terminal associated with the user; The data processing device is further configured to: Obtain each third terminal associated with the user; Remove inactive terminals from the third terminals to obtain second terminals associated with the user; In response to the number of second terminals associated with the user being greater than or equal to a preset number, setting a state associated with the device identifier of the second terminal to an enabled state, wherein the enabled state is used to instruct the second terminal to report audio and video information; In response to the number of second terminals associated with the user being less than a preset number, the state associated with the device identifier of the second terminal is set to a disabled state, where the disabled state is used to indicate that the second terminal is prohibited from reporting audio and video information.

22. The terminal according to claim 21, characterized in that Also includes: a third acquisition module, configured to acquire an identifier and an elapsed playback time of the currently played audio and video data after continuing to play the audio and video data based on the elapsed playback time of the audio and video data; The second sending module is used to send the identifier of the currently playing audio and video data and the time when it has been played to the data processing device in response to the terminal association state being an enabled state, so that the data processing device can associate and store the identifier of the currently playing audio and video data and the time when it has been played with the user identifier corresponding to the user.

23. A medium, characterized in that include: Computer-executable instructions, which, when executed by a processor, are used to implement the audio and video playback method according to any one of claims 1 to 11.

24. A computing device, characterized in that include: Memory and processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the audio and video playback method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method and system of multi-terminal break-point continuous play

    CN104080009A

  • Audio playing method, device and system

    CN115220684A