Video playing method, video playing system, terminal equipment and storage medium

文档序号:1784931 发布日期:2019-12-06 浏览:14次 中文

阅读说明:本技术 一种视频播放方法、视频播放系统、终端设备及存储介质 (Video playing method, video playing system, terminal equipment and storage medium ) 是由 赵琦 王科 毕铎 聂国梁 张健 于 2019-07-16 设计创作,主要内容包括:本发明实施例涉及通信技术领域,公开了一种视频播放方法、视频播放系统、终端设备及存储介质。视频播放方法包括:在第一播放控件播放第一资源时,若检测到针对第二资源的标记符号被触发,则获取第二资源;控制第二播放控件与第一播放控件中的一者播放第二资源,另一者同时播放第一资源;第二播放控件的播放区域与第一播放控件的播放区域无重叠。使用户在观看第二资源的同时,也不会错过第一资源中的精彩画面,从而提升用户的观看体验。(The embodiment of the invention relates to the technical field of communication, and discloses a video playing method, a video playing system, terminal equipment and a storage medium. The video playing method comprises the following steps: when the first playing control plays the first resource, if the fact that a mark symbol aiming at the second resource is triggered is detected, the second resource is obtained; controlling one of the second playing control and the first playing control to play the second resource, and controlling the other one to play the first resource at the same time; the playing area of the second playing control is not overlapped with the playing area of the first playing control. The user can watch the second resource without missing the wonderful picture in the first resource, so that the watching experience of the user is improved.)

1. a video playing method is applied to a first terminal and comprises the following steps:

When a first playing control plays a first resource, if a mark symbol aiming at a second resource is detected to be triggered, acquiring the second resource;

Controlling one of a second playing control and the first playing control to play the second resource, and controlling the other one to play the first resource at the same time;

The playing area of the second playing control is not overlapped with the playing area of the first playing control.

2. The video playing method according to claim 1, wherein the first playing control is located at the first terminal, and the second playing control is located at the second terminal;

The controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource specifically includes:

Sending the first resource to the second terminal, and controlling the second playing control to play the first resource;

and controlling the first playing control to stop playing the first resource and play the second resource while the second playing control plays the first resource.

3. the video playing method according to claim 1, wherein the first playing control is located at the first terminal, and the second playing control is located at the second terminal;

The controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource specifically includes:

and sending the second resource to the second terminal through a gateway server, and controlling the second playing control to play the second resource.

4. The method of claim 3, wherein the controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource simultaneously further comprises:

and sending the first resource to the second terminal, and controlling the second terminal to synchronously play the first resource.

5. The video playback method of claim 1, further comprising:

And controlling the second playing control and the first playing control to synchronously play the first resource when the playing of the second resource is finished.

6. the video playing method according to claim 2 or 3, wherein the first terminal comprises a first resource path and a second resource path, wherein the first resource path is used for obtaining the first resource, and the second resource path is used for obtaining the second resource.

7. The video playing method according to claim 1, wherein the first playing control and the second playing control are located at the first terminal in a split-screen manner;

The controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource at the same time specifically includes:

Starting a second playing control while the first playing control continues to play the first resource, and controlling the second playing control to play the second resource;

The method further comprises the following steps:

and closing the second playing control when the playing of the second resource is finished.

8. The video playback method according to claim 1, wherein the first resource is a live resource; the second resource is a short video resource; and the mark symbol of the second resource is a link address of the short video resource.

9. A video playback system, comprising: the gateway server is respectively connected with the first terminal and the second terminal;

the first terminal is configured to, when a first play control located at the first terminal plays a first resource, obtain a second resource if it is detected that a marker symbol for the second resource is triggered, and send the second resource or the first resource to the gateway server;

The gateway server is used for sending the received first resource or second resource to the second terminal;

The second terminal is configured to play the received first resource or the second resource through a second play control located at the second terminal;

The first terminal is further configured to play the second resource through the first play control when the second play control plays the first resource, or continue to play the first resource through the first play control when the second play control plays the second resource.

10. The video playback system of claim 9,

The first terminal is specifically configured to send the first resource to the gateway server after acquiring the second resource, and continue to play the first resource through the first play control when the second play control plays the second resource;

and the first terminal is further used for continuing to play the first resource after the second resource is played.

11. the video playback system of claim 10,

The first terminal is further configured to send the first resource to the gateway server when the first play control plays the first resource, so that the gateway server sends the first resource to the second terminal;

The second terminal is further configured to synchronously play the first resource through the second play control when the first play control plays the first resource.

12. a terminal device, comprising:

At least one processor; and the number of the first and second groups,

A memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video playback method of any of claims 1-8.

13. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the video playback method of any one of claims 1 to 8.

Technical Field

the embodiments of the present invention relate to the field of communications technologies, and in particular, to a video playing method, a video playing system, a terminal device, and a storage medium.

Background

Along with the diversity of functions of the mobile phone, more and more users can acquire video resources through the mobile phone and watch the video resources, and meanwhile due to the limitation of the size of a screen of the mobile phone, in order to acquire a better view field, the users can directly project the video resources acquired on the mobile phone onto a television for playing.

The inventors found that at least the following problems exist in the related art: although a larger watching visual field can be obtained by adopting a mode of directly projecting a mobile phone to a television, when a second resource played by a wonderful short video appears in the first resource being played, the second resource often occupies the picture of the first resource, so that the picture of the first resource is overlapped with the picture of the second resource, and a user misses the picture in the first resource, thereby reducing the watching experience of the user.

Disclosure of Invention

An object of embodiments of the present invention is to provide a video playing method, a video playing system, a terminal device, and a storage medium, so that a user can watch a second resource without missing a picture in a first resource, thereby improving the watching experience of the user.

In order to solve the above technical problem, an embodiment of the present invention provides a video playing method, applied to a first terminal, including: when the first playing control plays the first resource, if the fact that a mark symbol aiming at the second resource is triggered is detected, the second resource is obtained; controlling one of the second playing control and the first playing control to play the second resource, and controlling the other one to play the first resource at the same time; the playing area of the second playing control is not overlapped with the playing area of the first playing control.

An embodiment of the present invention further provides a video playing system, including: the gateway server is respectively connected with the first terminal and the second terminal; the first terminal is used for acquiring a second resource and sending the second resource or the first resource to the gateway server if the fact that a mark symbol aiming at the second resource is triggered is detected when a first playing control located at the first terminal plays the first resource; the gateway server is used for sending the received first resource or the second resource to the second terminal; the second terminal is used for playing the received first resource or second resource through a second playing control positioned at the second terminal; the first terminal is further configured to play the resource through the first play control when the second play control plays the first resource, or continue to play the first resource through the first play control when the second play control plays the second resource.

an embodiment of the present invention further provides a terminal device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video playback method as described above.

embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when processed implements the video playing method as described above.

Compared with the prior art, the embodiment of the invention has the advantages that when the first playing control plays the first resource, if the triggering of the user for the mark symbol of the second resource is detected, the user is interested in the second resource, at this time, one of the second playing control and the first playing control is controlled to play the second resource, the other one plays the first resource at the same time, and the overlapping of playing areas can not occur, so that the user can not miss the picture in the first resource while watching the second resource, and the watching experience of the user is improved.

in addition, the first playing control is positioned at the first terminal, and the second playing control is positioned at the second terminal; controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource specifically includes: sending the first resource to a second terminal, and controlling a second playing control to play the first resource; and controlling the first playing control to stop playing the first resource and play the second resource when the second playing control plays the first resource. In the implementation, the first playing control and the second playing control are respectively located on different terminals, and after the trigger of the mark symbol for the second resource is detected, the first playing control plays the second resource, and the second playing control plays the first resource, so that the overlapping of playing areas is further avoided.

In addition, the first playing control is positioned at the first terminal, and the second playing control is positioned at the second terminal; controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource specifically includes: and sending the second resource to the second terminal through the gateway server, and controlling the second playing control to play the second resource. In the implementation, the first playing control and the second playing control are respectively located on different terminals, and after the trigger of the mark symbol for the second resource is detected, the first playing control plays the first resource, and the second playing control plays the second resource, so that the diversity of video playing modes is embodied.

In addition, before controlling one of the second playing control and the first playing control to play the second resource and the other one to play the first resource simultaneously, the method further includes: and sending the first resource to the second terminal, and controlling the second terminal to synchronously play the first resource. In the implementation, the second playing control is located on the second terminal, and the second terminal can also play the first resource and switch to play the second resource after receiving the second resource, so that the diversity of the playing mode of the second terminal is embodied.

In addition, still include: and controlling the second playing control and the first playing control to synchronously play the first resource when the playing of the second resource is finished.

in addition, the first terminal includes a first resource path and a second resource path, wherein the first resource path is used for acquiring the first resource, and the second resource path is used for acquiring the second resource. In the implementation, different resources are acquired through two independent paths, mutual interference is avoided, and acquisition of the first resource is not influenced while acquisition of the second resource is ensured.

In addition, the first playing control and the second playing control are positioned at the first terminal in a split screen mode; controlling one of the second playing control and the first playing control to play the second resource and the other to play the first resource at the same time, specifically comprising: starting a second playing control and controlling the second playing control to play a second resource while the first playing control continues to play the first resource; the method further comprises the following steps: and closing the second playing control when the playing of the second resource is finished. In the implementation, the first playing control and the second playing control are respectively located on the first terminal in a split screen mode, and after the trigger of the marker symbol for the second resource is detected, the first playing control plays the first resource, and the second playing control plays the second resource, so that the diversity of video playing modes is embodied.

in addition, the first resource is a live broadcast resource; the second resource is a short video resource; the label symbol of the second resource is a link address of the short video resource.

Drawings

one or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.

fig. 1 is a flowchart of a video playing method according to a first embodiment of the present invention;

FIG. 2-1 is a schematic diagram of an application scenario of the first and second implementations of the first embodiment of the present invention;

Fig. 2-2 is a schematic diagram showing an effect of the first implementation manner in the first embodiment of the present invention;

2-3 are schematic diagrams of another effect of the first implementation manner in the first embodiment of the invention;

FIGS. 2-4 are schematic diagrams showing an effect of the first implementation manner in the first embodiment of the present invention;

FIGS. 2 to 5 are schematic diagrams showing another effect of the first implementation manner in the first embodiment of the present invention;

FIGS. 2 to 6 are schematic diagrams showing an effect of the third implementation manner in the first embodiment of the present invention;

FIG. 3 is a flow chart of a video playing method according to a second embodiment of the present invention;

FIG. 4 is a schematic structural diagram of a video playback system according to a third embodiment of the present invention;

fig. 5 is a schematic structural diagram of a terminal device in a fourth embodiment of the present invention.

Detailed Description

in order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.

the first embodiment of the invention relates to a video playing method which is applied to a first terminal. The specific process is shown in fig. 1, and comprises the following steps:

Step 101, when the first playing control plays the first resource, if it is detected that the marker symbol for the second resource is triggered, the second resource is obtained.

In this embodiment, the first resource is specifically a live broadcast resource, the second resource is a short video resource, and the mark symbol of the second resource is a link address of the short video resource.

It should be noted that, the first terminal in this embodiment may specifically be a mobile terminal, such as a mobile phone or a tablet computer, and the first terminal may also be connected to a resource server, where the resource server stores a first resource and a second resource that need to be released, and the second resource in this embodiment specifically is a short video resource related to the first resource, that is, a live video resource, for example, if the first resource being played is a soccer game, the second resource may be a goal highlight short video of the soccer game before the current time. And the link address of the short video resource is also generated in the resource server and issued to the first terminal, and the specific way of generating the link address of the short video resource by the resource server is not the focus of the present application, so the detailed description is not repeated in the embodiments of the present application.

in one specific implementation, the first terminal has a display device, for example, a touch display screen, a first playing control located in the first terminal is broadcasting a video of a football match, and the resource server issues a mark symbol of the second resource, i.e., a link address of a goal wonderful short video, to the first terminal, and the mark symbol of the second resource is displayed on the touch display screen. If the user wants to watch the second resource, the mark symbol is clicked on the touch display screen, the mark symbol of the second resource is triggered, the first terminal generates a trigger instruction after detecting that the mark symbol aiming at the second resource is triggered, the trigger instruction is sent to the resource server, and the resource server sends the mark symbol, namely the second resource corresponding to the link address, to the first terminal after receiving the trigger instruction, so that the first terminal can obtain the second resource.

In the embodiment of the present application, the mark symbol of the second resource may be included in the first resource, that is, the mark symbol of the second resource may be displayed by the first terminal when the first resource is played, or of course, the mark symbol of the second resource may be displayed separately.

And 102, controlling one of the second playing control and the first playing control to play the second resource, and controlling the other one to play the first resource, wherein the playing area of the second playing control is not overlapped with the playing area of the first playing control.

in the present embodiment, the step mainly includes three implementations, which are specifically described below.

the first implementation mode comprises the following steps:

The first playing control is located at the first terminal, the second playing control is located at the second terminal, the first resource is sent to the second terminal, the second playing control is controlled to play the first resource, and the first playing control is controlled to stop playing the first resource and play the second resource while the second playing control plays the first resource. The second terminal may specifically be a television, a projector, and the like, and specifically may be that the first terminal places the first resource to the second play control through the gateway server, where a specific application scenario is shown in fig. 2-1, the gateway server is in communication connection with the first terminal (e.g., a mobile phone in fig. 2-1) and the second terminal (e.g., a television in fig. 2-1), specifically may perform communication connection in a wired or Wireless manner, and the Wireless communication manner includes bluetooth or Wireless Fidelity (WIFI), which is, of course, only exemplified in this embodiment and does not limit a specific manner of Wireless communication.

Specifically, in this implementation manner, after the first terminal is triggered to acquire the second resource, the first terminal sends a play conversion instruction to the first play control to control the first play control to stop playing the first resource and start playing the acquired second resource. If the second playing control has synchronously played the first resource while the first playing control plays the first resource before, the first terminal continues to send the first resource to the second terminal after the first terminal is triggered to acquire the second resource, and the second playing control of the second terminal continues to play according to the time of the synchronously played first resource; if the second resource is not played synchronously while the first resource is played by the first playing control, after the first terminal is triggered to acquire the second resource, the first terminal needs to send the first resource and the current playing time to the second terminal, and the second terminal is controlled to play the first resource from the current playing time.

It should be noted that, in this implementation manner, after the first playing control finishes playing the second resource, the first terminal may also control the first playing control to switch back to play the first resource, and the second playing control may stop playing the first resource or continue playing the first resource, and keep playing synchronously with the first playing control. Certainly, the first terminal may further include a play end button for the second resource, and when the first play control does not end playing the second resource, if the user does not want to continue watching, the play stop button for the second resource may be directly operated, and after the first terminal detects the play stop instruction for the second resource, the first play control may be controlled to switch back to the first resource and keep playing synchronously with the second terminal.

as shown in fig. 2-2, at time T1 (before being triggered by the second resource marker), the mobile phone (i.e., the first terminal) and the television (i.e., the second terminal) play the football game (i.e., the first resource) synchronously, and at time T2 (after being triggered by the second resource marker), the mobile phone switches the played football game to a short video, for example, the television continues playing the football game at the moment of the previous goal (i.e., the second resource). At time T3 (after the second resource is played), the mobile phone switches to playing the football game.

Another specific effect of this implementation is as shown in fig. 2-3, at time T1 (before being triggered by the second resource marker), only the mobile phone (i.e., the first terminal) plays the football game (i.e., the first resource), and at time T2 (after being triggered by the second resource marker), the mobile phone switches the played football game to a short video, such as a highlight moment (i.e., the second resource) of the previous goal, and sends the live stream of the football game and the current time to the television, so as to control the television to play the football game. At time T3 (after the second resource is played), the mobile phone switches to playing the football game.

the second implementation mode comprises the following steps:

the first playing control is located at the first terminal, the second playing control is located at the second terminal, the second resource is obtained while the first playing control continues to play the first resource, the second resource is sent to the second terminal through the gateway server, and the second playing control is controlled to play the second resource. A specific application scenario of the present implementation is shown in fig. 2-1, and a connection manner of the first terminal, the gateway service, and the second terminal is the same as that in the first implementation, and therefore, the description is omitted.

Specifically, in this implementation manner, before one of the second playing control and the first playing control is controlled to play the second resource and the other one of the second playing control and the first playing control simultaneously plays the first resource, the first resource may also be sent to the second terminal, and the second terminal is controlled to synchronously play the first resource. Therefore, if the second terminal has played the first resource with the first terminal synchronously through the second play control before, after the second resource is sent to the second terminal through the gateway server, the first terminal also sends a play conversion instruction to the second play control through the gateway server to control the second play control to switch to play the second resource, and the second play control can terminate playing after the second resource is played, and can also continue playing the first resource. If the first resource is not synchronously played by the second terminal and the first terminal before, and the other types of video resources are not played by the second terminal, the second resource can be directly played through the second playing control after the second terminal acquires the second resource; if the second terminal does not play the first resource synchronously with the first terminal before, but the second terminal is playing other cartoons, the second playing control receives the second resource sent by the gateway server, and also receives a playing conversion instruction sent by the first terminal to the second playing control, and controls the second playing control to switch to play the second resource, or the second terminal can also newly open a window to play the second resource, that is, the second playing control can be a playing control which has been operated on the second terminal originally, or a playing control which is newly started by the second terminal.

A specific effect of this implementation is as shown in fig. 2-4, at time T1 (before being triggered by the second resource marker), the mobile phone (i.e., the first terminal) and the television (i.e., the second terminal) play the football game (i.e., the first resource) synchronously, or when the mobile phone plays the football game, the television plays the animation, at time T2 (after being triggered by the second resource marker), the television switches the played football game or animation to a short video, and if the football game is played continuously in the moment of the previous goal (i.e., the second resource). At time T3 (after the second asset is played), the tv switches to playing the football game or the cartoon.

Another specific effect of this implementation is as shown in fig. 2-5, at time T1 (before being triggered by the second resource marker), the mobile phone is playing a soccer game, the television is playing an animation, and at time T2 (after being triggered by the second resource marker), the television newly opens a window to play a previous goal highlight (i.e., the second resource), that is, the television is divided into two screens, one screen continues to play the animation, the other screen plays the highlight, and the mobile phone continues to play the soccer game. At time T3 (after the second asset is played), the television switches to playing the animation again.

It should be noted that, in the two implementation manners, the first terminal includes a first resource path and a second resource path, and the first resource path is used to acquire the first resource and the second resource path is used to acquire the second resource. Different resources are obtained through two independent paths, mutual interference is avoided, and the acquisition of the first resource is not influenced while the second resource is obtained.

It should be noted that, the user may also edit the text bullet screen through the first terminal, and display the text bullet screen on the first terminal, and at the same time, after receiving the text bullet screen received by the user, the first terminal may also transmit the text bullet screen to the second terminal through the gateway server, so that the second terminal and the first terminal synchronously display the text bullet screen edited by the user, and interactivity of the user in the process of viewing the first resource is increased.

The third implementation mode comprises the following steps:

the first playing control and the second playing control are positioned at the first terminal in a split screen mode, and the second playing control is started and controlled to play the second resource while the first playing control continues to play the first resource.

Specifically, in this implementation manner, the first playing control and the second playing control are simultaneously located on the first terminal, and the second playing control can be further closed after the playing of the second resource is finished.

A specific effect of this implementation is as shown in fig. 2-6, at time T1 (before being triggered by the second resource marker), the mobile phone plays the soccer game, and at time T2 (after being triggered by the second resource marker), the mobile phone newly opens a window to play the previous goal highlight (i.e. the second resource), that is, the mobile phone is divided into two screens, one screen continues playing the soccer game, and the other screen plays the highlight. At time T3 (after the second resource is played), the mobile phone closes one screen again, and plays the football game through one screen.

Compared with the prior art, the embodiment of the invention has the advantages that when the first playing control plays the first resource, if the triggering of the user for the mark symbol of the second resource is detected, the user is interested in the second resource, at this time, one of the second playing control and the first playing control is controlled to play the second resource, the other one plays the first resource at the same time, and the overlapping of playing areas can not occur, so that the user can not miss the picture in the first resource while watching the second resource, and the watching experience of the user is improved.

a second embodiment of the present invention relates to a video playback method. The embodiment is further improved on the basis of the first embodiment, and the specific improvement is as follows: before the first playing control plays the first resource, the steps of respectively sending test data packets to the first playing control and the second playing control and determining that the communication states of the first playing control and the second playing control are respectively normal are added. The flow of the video playing method in this embodiment is shown in fig. 3. Specifically, in the present embodiment, the method includes steps 201 to 203, where steps 202 to 203 are substantially the same as steps 101 to 102 in the first embodiment, and are not repeated herein, and differences are mainly introduced below, and technical details that are not described in detail in the present embodiment may be referred to the video playing method provided in the first embodiment, and are not repeated herein.

step 201, sending test data packets to the first playing control and the second playing control, respectively, and determining that the communication states of the first playing control and the second playing control are normal, respectively.

Specifically, in this embodiment, first, a gateway server or other testing device sends test data packets to the first playing control and the second playing control, respectively. Under the condition that the first playing control and the second playing control acquire and display the test data packet, the communication states of the first playing control and the second playing control can be determined to be respectively normal, and information sent by other equipment can be accurately received. By determining that the communication states of the first playing control and the second playing control are normal respectively, the problem that the picture of the first resource or the second resource is interrupted due to communication faults in the playing process of the first resource or the second resource of the first playing control and the second playing control can be reduced or avoided, and therefore the watching experience of a user is further improved.

Step 202, when the first playing control plays the first resource, if it is detected that the marker symbol for the second resource is triggered, the second resource is obtained.

step 203, controlling one of the second playing control and the first playing control to play the second resource, and controlling the other one to play the first resource at the same time. And the playing area of the second playing control is not overlapped with the playing area of the first playing control.

compared with the prior art, according to the embodiment of the invention, when the first playing control plays the first resource, if the trigger of the user for the marker symbol of the second resource is detected, the user is interested in the second resource, at this time, one of the second playing control and the first playing control is controlled to play the second resource, the other one plays the first resource at the same time, and the overlapping of playing areas does not occur, so that the user can not miss the picture in the first resource while watching the second resource, thereby improving the watching experience of the user. And before the first playing control plays the first resource, the test data packet is sent to the first playing control and the second playing control respectively, and the communication states of the first playing control and the second playing control are determined to be normal respectively, so that the problem that the picture of the first resource or the picture of the second resource is interrupted due to communication faults in the playing process of the first resource or the second resource by the first playing control and the second playing control can be reduced or avoided, and the watching experience of a user is further improved.

the steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.

A third embodiment of the present invention relates to a video playback system, as shown in fig. 4, including: a first terminal 41, a gateway server 42 and a second terminal 43, the gateway server 42 being connected to the first terminal 41 and the second terminal 43, respectively.

In this embodiment, the first terminal 41 is configured to, when the first play control located at the first terminal 41 plays the first resource, if it is detected that the marker symbol for the second resource is triggered, obtain the second resource, and send the second resource or the first resource to the gateway server 42. And a gateway server 42, configured to send the received first resource or second resource to the second terminal 43. And the second terminal 43 is configured to play the received first resource or second resource through a second play control located at the second terminal. The first terminal 41 is further configured to play the second resource through the first play control when the second play control plays the first resource, or continue to play the first resource through the first play control when the second play control plays the second resource.

the first terminal 41 is specifically configured to send the first resource to the gateway server 42 after acquiring the second resource, and continue to play the first resource through the first play control when the second play control plays the second resource. The first terminal 41 is further configured to continue playing the first resource when the playing of the second resource is finished.

The first terminal 41 is further configured to send the first resource to the gateway server 42 when the first play control plays the first resource, so that the gateway server 42 sends the first resource to the second terminal 43. The second terminal 43 is further configured to play the first resource synchronously through the second play control when the first play control plays the first resource.

It should be noted that, for specific functions of the first terminal 41, the gateway server 42 and the second terminal 43, reference may be made to relevant contents in the first or second embodiment, and details are not described in this embodiment of the application again.

A fourth embodiment of the present invention relates to a terminal device, as shown in fig. 5, including at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the video playing method in the above embodiments.

In this embodiment, the processor 501 is a Central Processing Unit (CPU), and the Memory 502 is a Random Access Memory (RAM). The processor 501 and the memory 502 may be connected by a bus or other means, and fig. 5 illustrates the connection by the bus as an example. The memory 502 is a non-volatile computer-readable storage medium, which can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the programs for implementing the video playing method in the embodiments of the present application, in the memory 502. The processor 501 executes various functional applications and data processing of the device, i.e., implements the above-described video playing method, by running the non-volatile software programs, instructions, and modules stored in the memory 502.

The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 502 may optionally include memory located remotely from processor 501, which may be connected to an external device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

One or more program modules are stored in the memory 502 and, when executed by the one or more processors 501, perform the video playback method in any of the method embodiments described above.

The above-mentioned product can execute the method provided by the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method, and the technical details not described in detail in the embodiment can be referred to the video playing method provided by the embodiment of the present application.

A fifth embodiment of the present application relates to a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, is capable of implementing a video playback method as referred to in any of the method embodiments of the present invention.

Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware to complete, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:弹幕显示方法、装置、设备及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类