CN112612918A - Video resource mapping method, device, equipment and medium - Google Patents

Video resource mapping method, device, equipment and medium Download PDF

Info

Publication number
CN112612918A
CN112612918A CN202011487784.7A CN202011487784A CN112612918A CN 112612918 A CN112612918 A CN 112612918A CN 202011487784 A CN202011487784 A CN 202011487784A CN 112612918 A CN112612918 A CN 112612918A
Authority
CN
China
Prior art keywords
video
album
long video
short
local
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.)
Pending
Application number
CN202011487784.7A
Other languages
Chinese (zh)
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 CN202011487784.7A priority Critical patent/CN112612918A/en
Publication of CN112612918A publication Critical patent/CN112612918A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/71Indexing; Data structures therefor; Storage structures
    • 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/73Querying
    • 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/73Querying
    • G06F16/738Presentation of query results
    • G06F16/739Presentation of query results in form of a video summary, e.g. the video summary being a video sequence, a composite still image or having synthesized frames

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the disclosure relates to a mapping method, a device, equipment and a medium of video resources, wherein the method comprises the following steps: acquiring a short video to be mapped; matching is carried out in a local long video album based on the short video so as to obtain the mapping information of the short video in the local long video album; and acquiring the 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 between the long video album of the local and the long video album of the partner. By adopting the technical scheme, the short video and the long video album of the partner can be quickly and mutually mapped through the local long video album and the pre-established first episode incidence relation between the local long video album and the long video album of the partner, so that the mapping success rate and efficiency of the short video and the long video of the partner are improved.

Description

Video resource mapping method, device, equipment and medium
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a method, an apparatus, a device, and a medium for mapping video resources.
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 kind of high-frequency pushed video content played on various media platforms and suitable for watching in a moving state and a short leisure state, and the duration of the video is from several seconds to several minutes. Long video differs from short video in video duration, 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, the requirement on the matching degree is high when mapping is carried out between short videos and partner long videos, and mapping failure can be caused.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a mapping method, apparatus, device, and medium for video resources.
The embodiment of the disclosure provides a mapping method of video resources, which comprises the following steps
Acquiring a short video to be mapped;
matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album;
and acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
The embodiment of the present disclosure further provides a mapping apparatus for video resources, including:
the short video acquisition module is used for acquiring short videos to be mapped;
the local mapping module is used for matching in a local long video album based on the short video so as to acquire mapping information of the short video in the local long video album;
and the partner mapping module is used for acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
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 mapping method of the video resources 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 mapping method of video resources 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: the mapping scheme of the video resource provided by the embodiment of the disclosure acquires a short video to be mapped, performs matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album, and acquires mapping information of the short video in a partner long video album based on the mapping information of the short video in the local long video album and a first episode incidence relation between the local long video album and the partner long video album. By adopting the technical scheme, the short video and the long video album of the partner can be quickly and mutually mapped through the local long video album and the pre-established first episode incidence relation between the local long video album and the long video album of the partner, so that the mapping success rate and efficiency of the short video and the long video of the partner are 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 mapping method for video resources according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another mapping method for video resources according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a video resource mapping provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for mapping video resources according to an embodiment of the present disclosure;
fig. 5 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 flowchart illustrating a mapping method for video resources according to an embodiment of the present disclosure, where the method may be performed by a mapping apparatus for video resources, 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 server, and includes:
step 101, obtaining a short video to be mapped.
In the embodiment of the present disclosure, the short video and the long video are relative concepts, generally, the video duration of the short video is smaller than that of the long video, and the short video may also be understood as a part of the long video, and the specific video duration is not limited, for example, the video duration of the short video may be 5 minutes, and the video duration of the long video may be 30 minutes.
The short video to be mapped refers to the short video which is matched with the partner in the client and needs to be mapped to the long video of the partner. Illustratively, when a short video is played in a client, if the client has a cooperative relationship with a partner and needs to stream a partner long video through the short video, the short video is the short video to be mapped, which needs to be mapped to the partner long video. The short video may be specifically obtained based on a short video identifier transmitted by the client, and the short video identifier may be a short video ID, which is not limited specifically.
And 102, matching in the local long video album based on the short video to acquire mapping information of the short video in the local long video album.
The local long video album can be a locally stored video album formed by combining a plurality of long videos, and can store the local long video albums authorized by different content parties or the local long video albums from public resources aiming at the same long video resource, and the corresponding media information is different. The content party can provide the media information and the video files of the local long video album to the server.
Specifically, the server may match the short video in a plurality of local long video albums based on a video frame matching manner, calculate each matching degree, and determine the local long video album with the highest matching degree. Then, obtaining mapping information of the short video in the local long video album may include: the episode and/or the location of the short video in the episode in the local long video album is obtained. The mapping information of the short video in the local long video album includes the episode and/or the position of the short video in the episode in the local long video album. The mapping information of the short video in the local long video album with the highest matching degree is obtained, because the local long video album can include a plurality of long videos, one long video is called an episode, and the mapping information specifically includes the episode of the short video in the local long video album and/or the position of the short video in the episode. For example, the mapping information of the short video in the local long video album may be the 2 nd minute to the 10 th minute of the 3 rd set where the short video is located in the local long video album.
And 103, acquiring 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.
Where the partner video album may be a video album of an external partner that established the collaboration. The partner in the embodiment of the disclosure only provides the media asset information to the server, but does not provide the video file of the specific partner video album.
The first episode incidence relation refers to an incidence relation between episodes included by the local long video album and episodes included by the partner long video album, the partner long video album may include at least two first episodes, the local long video album may include at least two second episodes, and the first episode incidence relation between the local long video album and the partner long video album may include a pre-established episode incidence relation between the first episodes and the second episodes. In the embodiment of the disclosure, the local long video album which is determined in the previous step and has the highest matching degree with the short video and the partner long video album have a first episode incidence relation established in advance.
Specifically, based on the mapping information of the short video in the local long video album acquired in the previous step, the first episode incidence relation between the local long video album and the partner long video album is searched, and the mapping information of the short video in the partner long video album is determined. The mapping information of the short video on the partner long video album includes the episode and/or the position of the short video in the episode in the partner long video album. That is, the episode and/or the location in the episode where the short video is located in the partner long video album is obtained based on the location of the short video in the episode and/or in the episode in the local long video album.
In the embodiment of the disclosure, after the mapping information of the short video in the long video album of the partner is acquired, if the play operation of the user on the long video of the partner is received in the process of playing the short video by the client, the long video of the partner can be quickly played based on the mapping information, that is, the position of the short video in the episode and/or the episode in the long video album of the partner, so that the efficiency of the short video for guiding the long video of the partner is improved.
The mapping scheme of the video resource provided by the embodiment of the disclosure acquires a short video to be mapped, performs matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album, and acquires mapping information of the short video in a partner long video album based on the mapping information of the short video in the local long video album and a first episode incidence relation between the local long video album and the partner long video album. By adopting the technical scheme, the short video and the long video album of the partner can be quickly and mutually mapped through the local long video album and the pre-established first episode incidence relation between the local long video album and the long video album of the partner, so that the mapping success rate and efficiency of the short video and the long video of the partner are improved.
In some disclosed embodiments, obtaining mapping information of the short video on the partner long video album may further include: and acquiring the play address of the episode of the short video in the long video album of the partner based on the media asset information of the long video album of the partner. The mapping information of the short video in the partner long video album may include, in addition to the episode and the position in the episode, a play address corresponding to the episode. The playing address corresponding to each episode in the partner long video album can be searched in the media information. The method has the advantages that the playing address of the long video of the partner corresponding to the short video is obtained, and the long video can be played more quickly when the long video is introduced into the stream of the subsequent short video.
In some disclosed embodiments, the native long video album and the partner long video album are both associated with the same video asset identification, the native long video album associated with the video asset identification includes a first native long video album and a second native long video album, the first native long video album includes a different number of episodes than the second native long video album, the first native long video album and the second native long video album having a second episode association relationship.
The video resource identifier may be understood as an aggregate identifier of the media asset information of the local video album and the partner video album belonging to the same video resource, and a representation form of the video resource identifier is not limited in the embodiment of the present disclosure, and may be represented by, for example, words and/or letters. The first local long video album and the second local long video album are two local long video albums which are associated with the video resource identification and have different definition rules or clipping rules through the first local long video album and the second local long video album, the number of episodes included in the first local long video album and the second local long video album may be different, and the episode duration of each episode may also be different. In this embodiment of the disclosure, the first local long video album and the first local long video album are associated with the same video resource identifier, a second episode association relationship between the first local long video album and the first local long video album may be established in advance based on the video resource identifier, where the second episode association relationship refers to an association relationship between an episode included in the first local long video album and an episode included in the first local long video album, that is, each episode included in the first local long video album and each episode included in the first local long video album are in one-to-one correspondence based on matching of video frames. The first local long video album and the partner long video album have no association relationship, and the second local long video album and the partner long video album have a first episode association relationship established in advance.
Based on the local long video album associated with the video asset identification including the first local long video album and the second local long video album, in some disclosed embodiments matching in the local long video album based on the short video includes: and respectively matching the short videos in the first local long video album and the second local long video album, and determining a first matching degree and a second matching degree. Acquiring mapping information of the short video in the local long video album may include: when the first matching degree is larger than the second matching degree, acquiring mapping information of the short video in a first local long video album; based on the mapping information of the short video in the local long video album and the first episode incidence relation between the local long video album and the partner long video album, the mapping information of the short video in the partner long video album is acquired, and the method comprises the following steps: and acquiring the mapping information of the short video on the partner long video album based on the mapping information of the short video on the first local long video album, the second episode incidence relation between the first local long video album and the second local long video album, and the first episode incidence relation between the second local long video album and the partner long video album.
And if the matching degree of the short video and the first local long video album is a first matching degree, the matching degree of the short video and the second local long video album is a second matching degree, and the first matching degree is greater than the second matching degree, the mapping information of the short video in the first local long video album is obtained. In the above scheme, since the first episode association relationship is pre-established between the second local long video album and the partner long video album, when the mapping information of the short video on the partner long video album is acquired, the second local long video album having the second episode association relationship needs to be determined based on the video resource identifier associated with the first local long video album; then determining mapping information of the short video in a second local long video album based on the mapping information of the short video in the first local long video album and the incidence relation of a second episode of the first local long video album and the second local long video album; and then acquiring the 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 second local long video album and the first episode incidence relation of the second local long video album and the long video album of the partner.
For example, assuming that the short video maps to the 3 rd set in the first local long video album, the second episode incidence relation is found, it may be determined that the short video maps to the 4 th set in the second local long video album, and then the first episode incidence relation is found, it may be determined that the short video maps to the 4 th set in the partner long video album.
In addition, when the first matching degree is less than or equal to the second matching degree, since the second local long video album and the partner long video album have the first episode association relationship established in advance, the mapping information of the short video on the partner long video album may be directly obtained based on the obtained mapping information of the short video on the second local long video album and the first episode association relationship of the second local long video album and the partner long video album.
In the scheme, after the short video and the local long video album are mapped, if an episode incidence relation is established between the local long video album and the partner long video album in advance, the mapping of the short video and the partner long video album can be realized; if the local long video album is not associated with the partner long video album, another local long video album associated with the partner long video album can be searched based on the video resource identifier associated with the local long video album, and mapping of the short video and the partner long video album can be realized through the episode association relationship between the another local long video album and the local long video album. Compared with the current scheme, the short video can be quickly mapped with the partner long video, the mapping failure caused by weak matching degree is avoided, the accuracy and the convenience are improved, and the efficiency of the follow-up short video for guiding the partner long video is further improved.
Fig. 2 is a schematic flowchart of another video resource mapping method according to an embodiment of the present disclosure. The present embodiment further specifically describes the mapping method of the video resource on the basis of the above embodiments. As shown in fig. 2, the method includes:
step 201, obtaining a short video to be mapped.
Step 202, matching is respectively performed in the first local long video album and the second local long video album based on the short video, and a first matching degree and a second matching degree are determined.
Step 203, determining whether the first matching degree is greater than the second matching degree, if yes, executing step 204-step 205; otherwise, step 206-step 207 are performed.
And step 204, acquiring mapping information of the short video in the first local long video album.
Step 205, based on the mapping information of the short video in the first local long video album, the second episode incidence relation between the first local long video album and the second local long video album, and the first episode incidence relation between the second local long video album and the partner long video album, the mapping information of the short video in the partner long video album is obtained.
And step 206, acquiring mapping information of the short video in the second local long video album.
And step 207, acquiring the mapping information of the short video on the partner long video album based on the mapping information of the short video on the second local long video album and the first episode incidence relation of the second local long video album and the partner long video album.
For example, fig. 3 is a schematic diagram of a video resource mapping provided by an embodiment of the present disclosure, a video resource identifier local to a server may be associated with multiple local long video albums, such as local long video album 1, local long video album 2, and local long video album 3 in the figure, the video resource identifier may also be associated with partner video albums of multiple partners, two partners are shown in the figure, and partner long video album a1 in partner a and partner long video album B1 in partner B are also associated with the video resource identifier and both match with local long video album 1, so as to establish a first episode association relationship of mapping between episodes.
The local long video album and the partner long video album may each include a plurality of episodes, two episodes being illustrated as an example. In the figure, an album identifier (album id) is used for representing a local long video album and a partner long video album, an episode identifier (episode id) is used for representing each episode in the long video album, and an episode number (seq) is used for representing the episode number of each episode in the long video album, namely the second episode in the episode number. As shown in fig. 3, the episode identification in the local long video album 1, the episode identification of the partner long video album a1, and the episode identification of the partner long video album B1 are all different.
On the basis of fig. 3, the video resource mapping scheme of the embodiment of the present disclosure is illustrated by a specific example. Specifically, after the media information of the television series a12 is provided by the partner a, the server establishes a first episode association relationship between the television series a12 and the local television series high definition version 12, and associates the first episode association relationship with the video resource identifier "television series 12" associated with the local television series high definition version 12; the short videos "12-actors 'events" are matched in the local long video album, and if the highest degree of matching is from 2 minutes to 10 minutes of the 3 rd episode in the local drama high definition version 12, the short videos "12-actors' events" can be mapped to the 2 minutes to 10 minutes of the 3 rd episode in the drama "a 12" of the cooperative party a based on the association relationship between the local drama high definition version 12 and the first episode of the drama "a 12"; if the highest match is from 2 minutes to 10 minutes of the 4 th episode in the local series TV release 12, and the local series TV release 12 also associates the video asset identifier "series 12," the short video may be mapped to from 2 minutes to 10 minutes of the 3 rd episode in the local series high definition 12 based on the second episode association of the local series high definition 12 with the local series TV release 12, and then mapped to from 2 minutes to 10 minutes of the 3 rd episode in the series a12 based on the first episode association of the local series high definition 12 with the series a 12.
According to the mapping scheme of the video resources provided by the embodiment of the disclosure, the short videos and the partner long video albums can be quickly and mutually mapped through the pre-established second episode incidence relation between the at least two local long video albums and the pre-established first episode incidence relation between the local long video albums and the partner long video albums, so that the mapping success rate and efficiency of the short videos and the partner long videos are improved, and further the efficiency of the subsequent short video stream leading the partner long videos is improved.
Fig. 4 is a schematic structural diagram of an apparatus for mapping a video resource according to 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, and the mapping between a short video and a long video album of a partner may be implemented by executing a method for mapping a video resource. As shown in fig. 4, the apparatus includes:
a short video obtaining module 301, configured to obtain a short video to be mapped;
a local mapping module 302, configured to perform matching in a local long video album based on the short video to obtain mapping information of the short video in the local long video album;
the partner mapping module 303 is configured to obtain mapping information of the short video on the partner long video album based on the mapping information of the short video on the local long video album and the first episode incidence relation between the local long video album and the partner long video album.
The mapping scheme of the video resource provided by the embodiment of the disclosure acquires a short video to be mapped, performs matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album, and acquires mapping information of the short video in a partner long video album based on the mapping information of the short video in the local long video album and a first episode incidence relation between the local long video album and the partner long video album. By adopting the technical scheme, the short video and the long video album of the partner can be quickly and mutually mapped through the local long video album and the pre-established first episode incidence relation between the local long video album and the long video album of the partner, so that the mapping success rate and efficiency of the short video and the long video of the partner are improved.
Optionally, the mapping information of the short video in the local long video album includes the episode and/or the position of the short video in the episode in the local long video album.
Optionally, the mapping information of the short video in the partner long video album includes the episode and/or the position of the short video in the episode of the partner long video album.
Optionally, the partner mapping module 303 is further configured to:
and acquiring the play address of the episode of the short video in the long video album of the partner based on the media asset information of the long video album of the partner.
Optionally, the local long video album and the partner long video album are both associated with the same video resource identifier, the local long video album associated with the video resource identifier includes a first local long video album and a second local long video album, the number of episodes included in the first local long video album is different from the number of episodes included in the second local long video album, and the first local long video album and the second local long video album have a second episode association relationship.
Optionally, the local mapping module 302 includes a matching unit, and is specifically configured to:
determining a first matching degree and a second matching degree based on the short videos respectively matched in the first local long video album and the second local long video album.
Optionally, the local mapping module 302 includes a mapping unit, and is specifically configured to:
when the first matching degree is larger than the second matching degree, acquiring mapping information of the short video in the first local long video album;
the partner mapping module 303 is specifically configured to:
and acquiring mapping information of the short video on the partner long video album based on the mapping information of the short video on the first local long video album, the second episode incidence relation between the first local long video album and the second local long video album, and the first episode incidence relation between the second local long video album and the partner long video album.
The video resource mapping device provided by the embodiment of the disclosure can execute the video resource mapping method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 5 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 400 in the embodiments of the present disclosure. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals 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-mounted terminal (e.g., a car navigation terminal), and the like, and fixed terminals 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 400 may include a processing means (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While an electronic device 400 is illustrated having 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 device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing device 401, performs the above-described functions defined in the mapping method of a video asset of the embodiments of the present disclosure.
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: acquiring a short video to be mapped; matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album; and acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
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 mapping method of a video resource, including:
acquiring a short video to be mapped;
matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album;
and acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
According to one or more embodiments of the present disclosure, in the mapping method of the video resource provided by the present disclosure, the mapping information of the short video in the local long video album includes an episode and/or a location in the episode in which the short video is located in the local long video album.
According to one or more embodiments of the present disclosure, in a mapping method of a video resource provided by the present disclosure, mapping information of a short video on a partner long video album includes an episode and/or a location of the short video in the episode in the partner long video album.
According to one or more embodiments of the present disclosure, in the mapping method of a video resource provided by the present disclosure, the obtaining mapping information of the short video on a partner long video album further includes:
and acquiring the play address of the episode of the short video in the long video album of the partner based on the media asset information of the long video album of the partner.
According to one or more embodiments of the present disclosure, in a mapping method of a video resource provided by the present disclosure, the native long video album and the partner long video album are both associated with the same video resource identifier, the native long video album associated with the video resource identifier includes a first native long video album and a second native long video album, the first native long video album includes a different number of episodes than the second native long video album, and the first native long video album and the second native long video album have a second episode association relationship.
According to one or more embodiments of the present disclosure, in a mapping method of a video resource provided by the present disclosure, the matching in a local long video album based on the short video includes:
determining a first matching degree and a second matching degree based on the short videos respectively matched in the first local long video album and the second local long video album.
In accordance with one or more embodiments of the present disclosure, the present disclosure provides a method for mapping a video asset, wherein,
the obtaining of the mapping information of the short video in the local long video album includes:
when the first matching degree is larger than the second matching degree, acquiring mapping information of the short video in the first local long video album;
the acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album includes:
and acquiring mapping information of the short video on the partner long video album based on the mapping information of the short video on the first local long video album, the second episode incidence relation between the first local long video album and the second local long video album, and the first episode incidence relation between the second local long video album and the partner long video album.
According to one or more embodiments of the present disclosure, the present disclosure provides a mapping apparatus of a video resource, including:
the short video acquisition module is used for acquiring short videos to be mapped;
the local mapping module is used for matching in a local long video album based on the short video so as to acquire mapping information of the short video in the local long video album;
and the partner mapping module is used for acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
According to one or more embodiments of the present disclosure, in a mapping apparatus of a video resource provided by the present disclosure, mapping information of the short video in the local long video album includes an episode and/or a location in the episode in which the short video is located in the local long video album.
According to one or more embodiments of the present disclosure, in a mapping apparatus of a video resource provided by the present disclosure, mapping information of a short video on a partner long video album includes an episode and/or a location of the short video in the episode in the partner long video album.
According to one or more embodiments of the present disclosure, in the mapping apparatus for video resources provided by the present disclosure, the partner mapping module is further configured to:
and acquiring the play address of the episode of the short video in the long video album of the partner based on the media asset information of the long video album of the partner.
According to one or more embodiments of the present disclosure, in a mapping apparatus for a video resource provided by the present disclosure, both the native long video album and the partner long video album are associated with the same video resource identifier, the native long video album associated with the video resource identifier includes a first native long video album and a second native long video album, the first native long video album includes a different number of episodes than the second native long video album, and the first native long video album and the second native long video album have a second episode association relationship.
According to one or more embodiments of the present disclosure, in the mapping apparatus for video resources provided by the present disclosure, the local mapping module includes a matching unit, specifically configured to:
determining a first matching degree and a second matching degree based on the short videos respectively matched in the first local long video album and the second local long video album.
According to one or more embodiments of the present disclosure, in the mapping apparatus for video resources provided by the present disclosure, the local mapping module includes a mapping unit, specifically configured to:
when the first matching degree is larger than the second matching degree, acquiring mapping information of the short video in the first local long video album;
the partner mapping module is specifically configured to:
and acquiring mapping information of the short video on the partner long video album based on the mapping information of the short video on the first local long video album, the second episode incidence relation between the first local long video album and the second local long video album, and the first episode incidence relation between the second local long video album and the partner long video album.
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 mapping method of the video resource 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 the mapping method of a video asset as any one of the 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 (10)

1. A method for mapping video resources is characterized by comprising
Acquiring a short video to be mapped;
matching in a local long video album based on the short video to acquire mapping information of the short video in the local long video album;
and acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
2. The method of claim 1, wherein the mapping information of the short video in the local long video album comprises an episode and/or a location of the short video in the episode in the local long video album.
3. The method of claim 1, wherein the mapping information of the short video on the partner long video album comprises an episode and/or a location of the short video in the episode of the partner long video album.
4. The method of claim 3, wherein the obtaining mapping information of the short video on the partner long video album further comprises:
and acquiring the play address of the episode of the short video in the long video album of the partner based on the media asset information of the long video album of the partner.
5. The method of claim 3, wherein the native long video album and the partner long video album are both associated with a same video asset identification, the video asset identification associated native long video album comprising a first native long video album and a second native long video album, the first native long video album comprising a different number of episodes than the second native long video album, the first native long video album and the second native long video album having a second episode association relationship.
6. The method of claim 5, wherein the matching in a local long video album based on the short video comprises:
determining a first matching degree and a second matching degree based on the short videos respectively matched in the first local long video album and the second local long video album.
7. The method of claim 6, wherein the obtaining mapping information of the short video in the local long video album comprises:
if the first matching degree is larger than the second matching degree, acquiring mapping information of the short video in the first local long video album;
the acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album includes:
and acquiring mapping information of the short video on the partner long video album based on the mapping information of the short video on the first local long video album, the second episode incidence relation between the first local long video album and the second local long video album, and the first episode incidence relation between the second local long video album and the partner long video album.
8. An apparatus for mapping video assets, comprising:
the short video acquisition module is used for acquiring short videos to be mapped;
the local mapping module is used for matching in a local long video album based on the short video so as to acquire mapping information of the short video in the local long video album;
and the partner mapping module is used for acquiring the mapping information of the short video in the partner long video album based on the mapping information of the short video in the local long video album and the first episode incidence relation of the local long video album and the partner long video album.
9. 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 asset mapping method according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the mapping method of video assets according to any one of the claims 1-7.
CN202011487784.7A 2020-12-16 2020-12-16 Video resource mapping method, device, equipment and medium Pending CN112612918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011487784.7A CN112612918A (en) 2020-12-16 2020-12-16 Video resource mapping method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011487784.7A CN112612918A (en) 2020-12-16 2020-12-16 Video resource mapping method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112612918A true CN112612918A (en) 2021-04-06

Family

ID=75239799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011487784.7A Pending CN112612918A (en) 2020-12-16 2020-12-16 Video resource mapping method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112612918A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017088415A1 (en) * 2015-11-25 2017-06-01 乐视控股(北京)有限公司 Method, apparatus and electronic device for video content retrieval
CN108024145A (en) * 2017-12-07 2018-05-11 北京百度网讯科技有限公司 Video recommendation method, device, computer equipment and storage medium
CN108989856A (en) * 2018-06-19 2018-12-11 康佳集团股份有限公司 Processing method, terminal and medium based on short video acquisition positive associated data
CN111246254A (en) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 Video recommendation method and device, server, terminal equipment and storage medium
CN111767796A (en) * 2020-05-29 2020-10-13 北京奇艺世纪科技有限公司 Video association method, device, server and readable storage medium
CN111767814A (en) * 2020-06-19 2020-10-13 北京奇艺世纪科技有限公司 Video determination method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017088415A1 (en) * 2015-11-25 2017-06-01 乐视控股(北京)有限公司 Method, apparatus and electronic device for video content retrieval
CN108024145A (en) * 2017-12-07 2018-05-11 北京百度网讯科技有限公司 Video recommendation method, device, computer equipment and storage medium
CN108989856A (en) * 2018-06-19 2018-12-11 康佳集团股份有限公司 Processing method, terminal and medium based on short video acquisition positive associated data
CN111246254A (en) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 Video recommendation method and device, server, terminal equipment and storage medium
CN111767796A (en) * 2020-05-29 2020-10-13 北京奇艺世纪科技有限公司 Video association method, device, server and readable storage medium
CN111767814A (en) * 2020-06-19 2020-10-13 北京奇艺世纪科技有限公司 Video determination method and device

Similar Documents

Publication Publication Date Title
CN110362266B (en) Prompt information display method, system, electronic equipment and computer readable medium
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
WO2022127523A1 (en) Video playback method and apparatus, device, and medium
CN113411642A (en) Screen projection method and device, electronic equipment and storage medium
CN109684589B (en) Client comment data processing method and device and computer storage medium
CN110545472B (en) Video data processing method and device, electronic equipment and computer readable medium
CN110991373A (en) Image processing method, image processing apparatus, electronic device, and medium
CN112995712A (en) Method, device and equipment for determining stuck factors and storage medium
CN111726675A (en) Object information display method and device, electronic equipment and computer storage medium
CN111163336B (en) Video resource pushing method and device, electronic equipment and computer readable medium
CN110856004B (en) Message processing method and device, readable storage medium and electronic equipment
CN111209432A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN113542856B (en) Method, device, equipment and computer readable medium for reverse playing of online video
CN112612919A (en) Video resource association method, device, equipment and medium
CN113038176A (en) Video frame extraction method and device and electronic equipment
CN110414625B (en) Method and device for determining similar data, electronic equipment and storage medium
CN113628097A (en) Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN111669625A (en) Processing method, device and equipment for shot file and storage medium
US11960703B2 (en) Template selection method, electronic device and non-transitory computer-readable storage medium
CN112287171A (en) Information processing method and device and electronic equipment
CN112637668B (en) Video playing method, device, equipment and medium
CN112612918A (en) Video resource mapping method, device, equipment and medium
CN111259287B (en) Page content display method and device, electronic equipment and storage medium
CN113473236A (en) Processing method and device for screen recording video, readable medium and electronic equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210406