CN112637668A - Video playing method, device, equipment and medium - Google Patents

Video playing method, device, equipment and medium Download PDF

Info

Publication number
CN112637668A
CN112637668A CN202011492368.6A CN202011492368A CN112637668A CN 112637668 A CN112637668 A CN 112637668A CN 202011492368 A CN202011492368 A CN 202011492368A CN 112637668 A CN112637668 A CN 112637668A
Authority
CN
China
Prior art keywords
video
partner
playing
short video
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011492368.6A
Other languages
Chinese (zh)
Other versions
CN112637668B (en
Inventor
李美娲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011492368.6A priority Critical patent/CN112637668B/en
Publication of CN112637668A publication Critical patent/CN112637668A/en
Application granted granted Critical
Publication of CN112637668B publication Critical patent/CN112637668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the disclosure relates to a video playing method, a video playing device and a video playing medium, wherein the method is applied to a client and comprises the following steps: playing the short video, starting a partner end based on the playing address of the partner long video mapped by the short video, and sending the next short video playing address of the short video to the partner end; and receiving a starting request initiated by the partner side based on the next short video playing address, and playing the next short video of the short video. By adopting the technical scheme, after the long video of the partner is played on the basis of the short video jump partner side, the short video can be fast reflowed to the current client side to continue playing the next short video, so that the step of manually jumping back by a user is avoided, and the efficiency of jumping back from the partner to the current client side is improved.

Description

Video playing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of video playing technologies, and in particular, to a video playing method, apparatus, device, and medium.
Background
With the continuous development of intelligent terminals and network technologies, different types of video contents gradually become an important way for people to obtain information in life.
Short video refers to a high-frequency pushed video content played on various media platforms and suitable for being watched in a moving state and a short leisure state, and the video length ranges from seconds to minutes. Long video differs from short video in video length, which is typically greater than half an hour. The current short video showing mode comprises modes of content appreciation, content payment, advertisement and the like, and the long video entering an external partner through the short video is a novel showing mode which can drive a self-contained platform to take in and can guide the external partner. At present, after a long video entering an external partner based on a short video is played, a user needs to jump back to a client by himself to play a subsequent short video, which causes poor user experience.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a video playing method, apparatus, device and medium.
The embodiment of the disclosure provides a video playing method, which is applied to a client and comprises the following steps:
playing a short video, starting a partner end based on a playing address of a partner long video mapped by the short video, and sending a next short video playing address of the short video to the partner end;
and receiving a starting request initiated by the partner side based on the next short video playing address, and playing the next short video of the short video.
The embodiment of the present disclosure further provides a video playing method, applied to a partner side, including:
receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, wherein the starting request comprises a next short video play address of the short video;
and playing the long video of the partner, and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
The embodiment of the present disclosure further provides a video playing device, configured at a client, including:
the partner module is used for playing short videos, starting a partner end based on the playing address of the partner long video mapped by the short videos, and sending the next short video playing address of the short videos to the partner end;
and the backflow module is used for receiving a starting request initiated by the partner side based on the next short video playing address and playing the next short video of the short videos.
The embodiment of the present disclosure further provides a video playing device, configured at a partner side, including:
the system comprises a starting module, a sending module and a receiving module, wherein the starting module is used for receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, and the starting request comprises a next short video play address of the short video;
and the video playing and backflow starting module is used for playing the long video of the partner and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the video playing method provided by the embodiment of the disclosure.
The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program for executing the video playing method provided by the embodiment of the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the video playing scheme provided by the embodiment of the disclosure, the client plays the short video, the partner end is started based on the playing address of the partner long video mapped by the short video, the next short video playing address of the short video is sent to the partner end, the starting request initiated by the partner end based on the next short video playing address is received, and the next short video of the short video is played. By adopting the technical scheme, after the long video of the partner is played on the basis of the short video jump partner side, the short video can be fast reflowed to the current client side to continue playing the next short video, so that the step of manually jumping back by a user is avoided, and the efficiency of jumping back from the partner to the current client side is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another video playing method provided in the embodiment of the present disclosure;
fig. 3 is a schematic diagram of a short video stream partner for reflowing after long video according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another video playing apparatus provided in the embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a schematic flowchart of a video playing method provided in an embodiment of the present disclosure, where the method may be executed by a video playing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method is applied to a client, and includes:
and 101, playing the short video, starting the partner side based on the playing address of the partner long video mapped by the short video, and sending the next short video playing address of the short video to the partner side.
The short video and the long video are relative concepts, the video duration of the short video is usually smaller than that of the long video, the short video can also be understood as a part of the long video, and the specific video duration is not limited. The long video of the partner refers to a long video under the copyright of an external partner having a cooperative relationship with the client, and the external partner in the embodiment of the disclosure only provides media resource information, but does not provide a specific video file, and needs to jump to the partner end through the media resource information to play the long video of the partner. The next short video playing address refers to a playing address of a next short video sequenced after the current short video in a preset short video stream.
In the embodiment of the present disclosure, the partner long video mapped by the short video specifically refers to a partner long video mapped based on a pre-established association relationship between the local long video and the partner long video after the short video is mapped to the local long video. The local long video can be locally stored local long video authorized by different content parties or local long video from public resources, and the content parties can provide media asset information and video files of the local long video. Therefore, the short video and the local long video can be mapped based on the video file, namely, the videos are matched, and because the media information of the partner long video can be automatically matched with the local long video through the film library matching, an association relation is established, and the short video and the partner long video can be mapped to each other through the local long video. When the film libraries are matched, the media asset information of the video album of the partner can be matched with the media asset information of the local video album, the local video album meeting the matching condition and the video resource identifier associated with the local video album are determined, the cooperative association relationship between the video album of the partner and the video resource identifier is established and stored, and the short video can be mapped to the long video of the partner through the local long video based on the cooperative association relationship.
Specifically, starting the partner side based on the play address of the long video of the partner side mapped by the short video, and sending the next short video play address of the short video to the partner side, may include: determining the page type and the page address of the long video playing page of the partner by analyzing the playing address of the long video of the partner; starting a partner side based on the page type of the partner long video playing page; and sending the page address of the long video playing page of the partner and the next short video playing address of the short video to the partner. The page type may be understood as a jump-in-page protocol (URL Scheme), and the page type of the long video playing page of the partner corresponds to a specific form of the partner side, for example, when the page type is "HTTP", the partner side is started in a H5 page form, and when the page type is a protocol defined by the partner, the partner side is started in a partner client side form.
In the process of playing the short video, if a play request of the short video mapped by the user to the long video of the partner is received, the start request can be sent to the partner based on the play address of the long video of the partner obtained from the server. Specifically, based on the page type of the long video playing page of the partner, a start request may be sent to the partner side, the partner side may be started, and simultaneously, the page address of the long video playing page of the partner and the next short video playing address of the short video may also be added in the start request and sent to the partner side.
Optionally, the start request may further include a resume position of the long video of the partner, and the resume position of the long video of the partner is sent to the partner side, so that the partner side may play the long video of the partner based on the page address of the long video play page of the partner and the resume position of the long video of the partner. The playing address of the long video of the partner and the continuous playing position of the long video of the partner are information in the playing information of the long video of the partner, the playing information of the long video of the partner is determined by the server based on a mapping relation established in advance, and the specific process can be as follows: determining mapping information of the short video in the long video album of the partner based on the mapping information of the short video in the long video album of the local and the first episode incidence relation of the long video album of the local and the long video album of the partner; and determining the play information of the partner long video mapped by the short video based on the mapping information of the short video in the partner long video album.
And 102, receiving a starting request initiated by the partner side based on the next short video playing address, and playing the next short video of the short video.
In the embodiment of the present disclosure, after the partner side starts, the client side may directly close or switch to the background operation, and the start request is a request for restarting the client side or switching the client side from the background to the foreground operation.
Specifically, after the client starts the partner side, the client may receive a start request initiated by the partner side based on the next short video play address of the short video, and then may restart from a closed state or switch from a background to a foreground for operation based on the start request. If the client is restarted from the closed state, the client can play the next short video of the short videos; if the client is switched to the foreground from the background to operate, the client can play the next short video of the short video after the current short video is played in the non-playing time period, and can also directly play the next short video of the short video, specifically, without limitation.
Optionally, the invoking request may include a page address of a next short video playing page, and playing a next short video of the short video may include: acquiring a next short video based on the page address of the next short video playing page; and playing the next short video on the next short video playing page. And after the client side can be restarted from the closed state or switched to the foreground operation from the background, the video resource of the next short video is obtained from the server side and is played on the next short video playing page.
In the scheme, the client jumps to the partner client to play the partner long video, and the user can quickly flow back to the page corresponding to the client of our party to continuously watch the next short video in the process of watching the partner long video or after finishing watching the partner long video, so that the user can achieve the purpose of user backflow without discontinuity.
According to the video playing scheme provided by the embodiment of the disclosure, the client plays the short video, the partner end is started based on the playing address of the partner long video mapped by the short video, the next short video playing address of the short video is sent to the partner end, the call-up request initiated by the partner end based on the next short video playing address is received, and the next short video of the short video is played. By adopting the technical scheme, after the long video of the partner is played on the basis of the short video jump partner side, the short video can be fast reflowed to the current client side to continue playing the next short video, so that the step of manually jumping back by a user is avoided, and the efficiency of jumping back from the partner to the current client side is improved.
Fig. 2 is a schematic flowchart of another video playing method provided in the embodiment of the present disclosure, which may be executed by a video playing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 2, the method is applied to the partner side, and includes:
step 201, receiving a start request initiated by a client based on a play address of a long video of a partner mapped by a short video, wherein the start request includes a next short video play address of the short video.
In the process of playing the short video by the client, if a playing request of a user for the partner long video mapped by the short video is received, a starting request can be sent to the partner. The partner side may receive the initiation request and initiate in response. Wherein, the next short video playing address of the short video can be added to the starting request and sent simultaneously.
Step 202, the long video of the partner is played, and a call request is initiated to the client based on the next short video playing address of the short video, so that the client plays the next short video of the short video.
In the embodiment of the present disclosure, the start request may further include a page address of a long video play page of the partner, and playing the long video of the partner may include: and acquiring the long video of the partner based on the page address of the long video playing page of the partner, and playing the long video of the partner on the long video playing page of the partner. The video resource of the long video of the partner can be obtained from the partner server side corresponding to the partner side based on the page address of the long video playing page of the partner, and the long video of the partner is played on the long video playing page of the partner.
Initiating a tune-up request to the client based on the next short video playing address of the short video may include: determining the page type and the page address of the next short video playing page by analyzing the next short video playing address; and initiating a starting request to the client based on the page type of the next short video playing page, wherein the starting request comprises the page address of the next short video playing page. The start request is a request for restarting the client or switching the client from background to foreground running. And (4) a self-defined protocol of the page type client of the next short video playing page. The partner side can initiate a starting request to the closed client side or the client side running in the background based on the page type of the next short video playing page, and meanwhile, adds the page address of the next short video playing page to the starting request and sends the starting request to the client side.
In this embodiment of the present disclosure, before initiating a tune-up request to a client based on a next short video playing address of a short video, the method may further include: and detecting whether the user has a trigger operation for returning to a play key or detecting whether the long video of the partner is played to the end. The return playing key is a virtual key which is preset by the partner side and used for triggering the return client. The user can trigger the key to send a play back request for returning to the client to play the next short video in the process of playing the long video of the partner. Or, when it is detected that the long video playing of the partner is finished, the next short video playing address based on the short video can be directly and automatically triggered to initiate a call request to the client.
Fig. 3 is a schematic diagram of a short video stream partner for reflowing after a long video according to an embodiment of the present disclosure, and referring to fig. 3, a specific process may be: a user triggers a playing request for the short video, and a client accesses a server; the server can find out the partner long video album and the subordinate episode information corresponding to the short video according to the mapping relation of the backstage in storage, wherein the long video corresponding to the subordinate episode is the partner long video, and the playing information of the partner long video mapped by the short video is further determined; the client plays the short video, and receives a play request of the user for the long video of the partner when the user clicks the entrance based on the displayed long video of the partner; the client skips to the partner side based on the play information of the partner long video; the partner end plays the partner long video; the method comprises the steps that a partner side receives a play returning request of a user and sends a starting request to a client side if a triggering operation of the user on a play returning button is received in the playing process of a partner long video or the partner long video is detected to be played to be finished; and the client restarts or switches to the foreground to operate, and plays the next short video of the short videos.
In the scheme, the partner side can jump according to the playing address of the next short video of the short video provided by the client side, so that the client side continues to play the next short video, the continuous playing of the short video is completed, and the purpose of client side backflow is achieved.
In the video playing scheme provided by the embodiment of the present disclosure, the partner side receives a start request initiated by the client side based on the playing address of the partner long video mapped by the short video, where the start request includes the next short video playing address of the short video, plays the partner long video, and initiates a tune-up request to the client side based on the next short video playing address of the short video, so that the client side plays the next short video of the short video. By adopting the technical scheme, after the long video of the partner is played by the partner side, the fast reflow can be triggered to the client side based on the user to play the next short video, so that the step of manually jumping back by the user is avoided, and the efficiency of jumping back from the partner side to the current client side is improved.
Fig. 4 is a schematic structural diagram of a video playing apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 4, the apparatus is provided in a client, and includes:
the partner module 301 is configured to play a short video, start a partner side based on a play address of a partner long video mapped by the short video, and send a next short video play address of the short video to the partner side;
a reflow module 302, configured to receive a call-up request initiated by the partner side based on the next short video playing address, and play a next short video of the short videos.
Optionally, the partner module 301 is specifically configured to:
determining the page type and the page address of the long video playing page of the partner by analyzing the playing address of the long video of the partner;
starting a partner side based on the page type of the partner long video playing page;
and sending the page address of the long video playing page of the partner and the next short video playing address of the short video to the partner end.
Optionally, the invoking request includes a page address of a next short video playing page, and the reflow module 302 is specifically configured to:
acquiring the next short video based on the page address of the next short video playing page;
and playing the next short video on the next short video playing page.
The video playing device provided by the embodiment of the disclosure is configured in the client, plays the short video, starts the partner side based on the playing address of the partner long video mapped by the short video, sends the next short video playing address of the short video to the partner side, receives the starting request initiated by the partner side based on the next short video playing address, and plays the next short video of the short video. By adopting the technical scheme, after the long video of the partner is played on the basis of the short video jump partner side, the short video can be fast reflowed to the current client side to continue playing the next short video, so that the step of manually jumping back by a user is avoided, and the efficiency of jumping back from the partner to the current client side is improved.
Fig. 5 is a schematic structural diagram of another video playing apparatus provided in the embodiment of the present disclosure, which may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 5, the apparatus is provided in the partner side, and includes:
a starting module 401, configured to receive a starting request initiated by a client based on a play address of a long video of a partner mapped by a short video, where the starting request includes a next short video play address of the short video;
a video playing and reflow tuning module 402, configured to play the long video of the partner, and initiate a tuning request to the client based on the next short video playing address of the short video, so that the client plays the next short video of the short video.
Optionally, the start request further includes a page address of a long video playing page of a partner, and the video playing and reflow starting module 402 includes a playing unit, specifically configured to:
and acquiring the long video of the partner based on the page address of the long video playing page of the partner, and playing the long video of the partner on the long video playing page of the partner.
Optionally, the video playing and reflowing module 402 includes a tuning unit, which is specifically configured to:
determining the page type and the page address of the next short video playing page by analyzing the next short video playing address;
and initiating a starting request to the client based on the page type of the next short video playing page, wherein the starting request comprises the page address of the next short video playing page.
Optionally, the apparatus further includes a triggering module, specifically configured to: before initiating a tune-up request to the client based on the next short video play address of the short video,
and detecting whether the user has a trigger operation for returning to a play key or detecting whether the long video of the partner is played to the end.
The video playing device provided by the embodiment of the disclosure is configured at a partner side, and receives a start request initiated by a client side based on a playing address of a partner long video mapped by a short video, wherein the start request includes a next short video playing address of the short video, plays the partner long video, and initiates a start request to the client side based on the next short video playing address of the short video, so that the client side plays the next short video of the short video. By adopting the technical scheme, after the long video of the partner is played by the partner side, the fast reflow can be triggered to the client side based on the user to play the next short video, so that the step of manually jumping back by the user is avoided, and the efficiency of jumping back from the partner side to the current client side is improved.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now in specific detail, there is shown a schematic diagram of a structure suitable for implementing the electronic device 500 in the embodiments of the present disclosure. The electronic device 500 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The illustrated electronic device is merely an example and should not impose any limitations on the functionality or scope of use of embodiments of the present disclosure.
As shown, the electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While the electronic device 500 is illustrated with various means, it is not required that all illustrated means be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the video playback method of the embodiment of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: playing a short video, starting a partner end based on a playing address of a partner long video mapped by the short video, and sending a next short video playing address of the short video to the partner end; and receiving a starting request initiated by the partner side based on the next short video playing address, and playing the next short video of the short video.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, wherein the starting request comprises a next short video play address of the short video; and playing the long video of the partner, and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, the present disclosure provides a video playing method, applied to a client, including:
playing a short video, starting a partner end based on a playing address of a partner long video mapped by the short video, and sending a next short video playing address of the short video to the partner end;
and receiving a starting request initiated by the partner side based on the next short video playing address, and playing the next short video of the short video.
According to one or more embodiments of the present disclosure, in the video playing method provided by the present disclosure, the starting of the partner side by the play address of the partner long video mapped based on the short video, and sending the next short video play address of the short video to the partner side include:
determining the page type and the page address of the long video playing page of the partner by analyzing the playing address of the long video of the partner;
starting a partner side based on the page type of the partner long video playing page;
and sending the page address of the long video playing page of the partner and the next short video playing address of the short video to the partner end.
According to one or more embodiments of the present disclosure, in a video playing method provided by the present disclosure, the invoking request includes a page address of a next short video playing page, and the playing of the next short video of the short video includes:
acquiring the next short video based on the page address of the next short video playing page;
and playing the next short video on the next short video playing page.
According to one or more embodiments of the present disclosure, the present disclosure provides a video playing method, applied to a partner side, including:
receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, wherein the starting request comprises a next short video play address of the short video;
and playing the long video of the partner, and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
According to one or more embodiments of the present disclosure, in the video playing method provided by the present disclosure, the start request further includes a page address of a long video playing page of a partner, and the playing the long video of the partner includes:
and acquiring the long video of the partner based on the page address of the long video playing page of the partner, and playing the long video of the partner on the long video playing page of the partner.
According to one or more embodiments of the present disclosure, in the video playing method provided by the present disclosure, the initiating a tune-up request to the client based on the next short video playing address of the short video includes:
determining the page type and the page address of the next short video playing page by analyzing the next short video playing address;
and initiating a starting request to the client based on the page type of the next short video playing page, wherein the starting request comprises the page address of the next short video playing page.
According to one or more embodiments of the present disclosure, before initiating a tune-up request to the client based on a next short video playing address of the short video, the video playing method provided by the present disclosure further includes:
and detecting whether the user has a trigger operation for returning to a play key or detecting whether the long video of the partner is played to the end.
According to one or more embodiments of the present disclosure, there is provided a video playing apparatus configured at a client, including:
the partner module is used for playing short videos, starting a partner end based on the playing address of the partner long video mapped by the short videos, and sending the next short video playing address of the short videos to the partner end;
and the backflow module is used for receiving a starting request initiated by the partner side based on the next short video playing address and playing the next short video of the short videos.
According to one or more embodiments of the present disclosure, in a video playing apparatus provided by the present disclosure, the partner module is specifically configured to:
determining the page type and the page address of the long video playing page of the partner by analyzing the playing address of the long video of the partner;
starting a partner side based on the page type of the partner long video playing page;
and sending the page address of the long video playing page of the partner and the next short video playing address of the short video to the partner end.
According to one or more embodiments of the present disclosure, in the video playing apparatus provided by the present disclosure, the call request includes a page address of a next short video playing page, and the reflow module 3 is specifically configured to:
acquiring the next short video based on the page address of the next short video playing page;
and playing the next short video on the next short video playing page.
According to one or more embodiments of the present disclosure, there is provided a video playing apparatus configured at a partner side, including:
the system comprises a starting module, a sending module and a receiving module, wherein the starting module is used for receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, and the starting request comprises a next short video play address of the short video;
and the video playing and backflow starting module is used for playing the long video of the partner and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
According to one or more embodiments of the present disclosure, in the video playing apparatus provided by the present disclosure, the start request further includes a page address of a long video playing page of a partner, and the video playing and reflow adjusting module includes a playing unit, specifically configured to:
and acquiring the long video of the partner based on the page address of the long video playing page of the partner, and playing the long video of the partner on the long video playing page of the partner.
According to one or more embodiments of the present disclosure, in a video playing device provided by the present disclosure, the video playing and reflow adjusting module includes an adjusting unit, specifically configured to:
determining the page type and the page address of the next short video playing page by analyzing the next short video playing address;
and initiating a starting request to the client based on the page type of the next short video playing page, wherein the starting request comprises the page address of the next short video playing page.
According to one or more embodiments of the present disclosure, in a video playing apparatus provided by the present disclosure, the apparatus further includes a triggering module, specifically configured to: before initiating a tune-up request to the client based on the next short video play address of the short video,
and detecting whether the user has a trigger operation for returning to a play key or detecting whether the long video of the partner is played to the end.
In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the video playing method provided by the disclosure.
According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing any of the video playback methods provided by the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (11)

1. A video playing method is applied to a client and comprises the following steps:
playing a short video, starting a partner end based on a playing address of a partner long video mapped by the short video, and sending a next short video playing address of the short video to the partner end;
and receiving a starting request initiated by the partner side based on the next short video playing address, and playing the next short video of the short video.
2. The method according to claim 1, wherein the starting of the partner side based on the play address of the partner long video mapped by the short video, and sending the next short video play address of the short video to the partner side, comprises:
determining the page type and the page address of the long video playing page of the partner by analyzing the playing address of the long video of the partner;
starting a partner side based on the page type of the partner long video playing page;
and sending the page address of the long video playing page of the partner and the next short video playing address of the short video to the partner end.
3. The method of claim 1, wherein the invoking request includes a page address of a next short video playing page, and the playing the next short video of the short videos includes:
acquiring the next short video based on the page address of the next short video playing page;
and playing the next short video on the next short video playing page.
4. A video playing method is applied to a partner side, and comprises the following steps:
receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, wherein the starting request comprises a next short video play address of the short video;
and playing the long video of the partner, and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
5. The method according to claim 4, wherein the start request further includes a page address of a partner long video playing page, and the playing the partner long video includes:
and acquiring the long video of the partner based on the page address of the long video playing page of the partner, and playing the long video of the partner on the long video playing page of the partner.
6. The method of claim 4, wherein the initiating a tune-up request to the client based on the next short video play address of the short video comprises:
determining the page type and the page address of the next short video playing page by analyzing the next short video playing address;
and initiating a starting request to the client based on the page type of the next short video playing page, wherein the starting request comprises the page address of the next short video playing page.
7. The method of claim 4, wherein before initiating a tune-up request to the client based on a next short video play address of the short video, further comprising:
and detecting whether the user has a trigger operation for returning to a play key or detecting whether the long video of the partner is played to the end.
8. A video playback apparatus, configured at a client, comprising:
the partner module is used for playing short videos, starting a partner end based on the playing address of the partner long video mapped by the short videos, and sending the next short video playing address of the short videos to the partner end;
and the backflow module is used for receiving a starting request initiated by the partner side based on the next short video playing address and playing the next short video of the short videos.
9. A video playback apparatus, configured at a partner side, comprising:
the system comprises a starting module, a sending module and a receiving module, wherein the starting module is used for receiving a starting request initiated by a client based on a play address of a short video mapped long video of a partner, and the starting request comprises a next short video play address of the short video;
and the video playing and backflow starting module is used for playing the long video of the partner and initiating a starting request to the client based on the next short video playing address of the short video so as to enable the client to play the next short video of the short video.
10. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the video playing method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the video playback method of any of the above claims 1-7.
CN202011492368.6A 2020-12-16 2020-12-16 Video playing method, device, equipment and medium Active CN112637668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011492368.6A CN112637668B (en) 2020-12-16 2020-12-16 Video playing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011492368.6A CN112637668B (en) 2020-12-16 2020-12-16 Video playing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112637668A true CN112637668A (en) 2021-04-09
CN112637668B CN112637668B (en) 2023-02-28

Family

ID=75316237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011492368.6A Active CN112637668B (en) 2020-12-16 2020-12-16 Video playing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112637668B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438522A (en) * 2021-06-24 2021-09-24 广州欢网科技有限责任公司 Television-side long video recommendation method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916718A (en) * 2013-01-05 2014-07-09 腾讯科技(北京)有限公司 Method and system for playing video based on video clip
CN105635811A (en) * 2014-11-06 2016-06-01 中广美意文化传播控股有限公司 Advertisement playing method and device based on broadcast and TV wireless live broadcast signal
CN108024145A (en) * 2017-12-07 2018-05-11 北京百度网讯科技有限公司 Video recommendation method, device, computer equipment and storage medium
CN110087133A (en) * 2019-04-29 2019-08-02 上海连尚网络科技有限公司 Multimedia resource playback method, device, electronic equipment and medium
CN111930973A (en) * 2020-08-14 2020-11-13 北京字节跳动网络技术有限公司 Multimedia data playing method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916718A (en) * 2013-01-05 2014-07-09 腾讯科技(北京)有限公司 Method and system for playing video based on video clip
CN105635811A (en) * 2014-11-06 2016-06-01 中广美意文化传播控股有限公司 Advertisement playing method and device based on broadcast and TV wireless live broadcast signal
CN108024145A (en) * 2017-12-07 2018-05-11 北京百度网讯科技有限公司 Video recommendation method, device, computer equipment and storage medium
US20200322684A1 (en) * 2017-12-07 2020-10-08 Beijing Baidu Netcom Science And Technology Co., Ltd. Video recommendation method and apparatus
CN110087133A (en) * 2019-04-29 2019-08-02 上海连尚网络科技有限公司 Multimedia resource playback method, device, electronic equipment and medium
CN111930973A (en) * 2020-08-14 2020-11-13 北京字节跳动网络技术有限公司 Multimedia data playing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438522A (en) * 2021-06-24 2021-09-24 广州欢网科技有限责任公司 Television-side long video recommendation method and system

Also Published As

Publication number Publication date
CN112637668B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN110362266B (en) Prompt information display method, system, electronic equipment and computer readable medium
WO2022127523A1 (en) Video playback method and apparatus, device, and medium
CN111064987B (en) Information display method and device and electronic equipment
CN111629251B (en) Video playing method and device, storage medium and electronic equipment
CN111629151B (en) Video co-shooting method and device, electronic equipment and computer readable medium
CN111526411A (en) Video processing method, device, equipment and medium
CN111787415B (en) Video interaction method and device, electronic equipment and storage medium
CN113411642A (en) Screen projection method and device, electronic equipment and storage medium
CN113225483B (en) Image fusion method and device, electronic equipment and storage medium
WO2022078159A1 (en) Broadcasting method and device for live broadcast
CN112312222A (en) Video sending method and device and electronic equipment
CN109582274B (en) Volume adjusting method and device, electronic equipment and computer readable storage medium
CN111246304A (en) Video processing method and device, electronic equipment and computer readable storage medium
US11956531B2 (en) Video sharing method and apparatus, electronic device, and storage medium
CN112312225B (en) Information display method and device, electronic equipment and readable medium
CN112637668B (en) Video playing method, device, equipment and medium
CN114173139A (en) Live broadcast interaction method, system and related device
CN111246245A (en) Method and device for pushing video aggregation page, server and terminal equipment
CN112243157A (en) Live broadcast control method and device, electronic equipment and computer readable medium
CN112015506A (en) Content display method and device
WO2022194025A1 (en) Interactive video connection method and apparatus, and electronic device and storage medium
CN114339402A (en) Video playing completion rate prediction method, device, medium and electronic equipment
CN114827682A (en) Screen projection method, system, equipment and storage medium
CN115225917A (en) Recording plug-flow method, device, equipment and medium
CN113139090A (en) Interaction method, interaction device, electronic equipment and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant