CN114760509B - Video distribution method, system, storage medium and electronic equipment - Google Patents

Video distribution method, system, storage medium and electronic equipment Download PDF

Info

Publication number
CN114760509B
CN114760509B CN202210666279.1A CN202210666279A CN114760509B CN 114760509 B CN114760509 B CN 114760509B CN 202210666279 A CN202210666279 A CN 202210666279A CN 114760509 B CN114760509 B CN 114760509B
Authority
CN
China
Prior art keywords
video
target
playing
type
app
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.)
Active
Application number
CN202210666279.1A
Other languages
Chinese (zh)
Other versions
CN114760509A (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.)
Feihu Information Technology Tianjin Co Ltd
Original Assignee
Feihu Information Technology Tianjin 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 Feihu Information Technology Tianjin Co Ltd filed Critical Feihu Information Technology Tianjin Co Ltd
Priority to CN202210666279.1A priority Critical patent/CN114760509B/en
Publication of CN114760509A publication Critical patent/CN114760509A/en
Application granted granted Critical
Publication of CN114760509B publication Critical patent/CN114760509B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video publishing method, a system, a storage medium and electronic equipment, which are used for responding to a video publishing request, analyzing the video publishing request and determining a target playing end type corresponding to a video to be published, wherein the playing end type comprises an APP playing end and a PC playing end; acquiring a target state field corresponding to a video to be published based on the type of a target playing terminal; switching the target state field to an online state, and acquiring a target release link corresponding to the type of the target playing terminal; and based on the target release link, releasing the video to be released to a target playing end corresponding to the type of the target playing end. Can carry out video publishing based on the broadcast end type, for example the video publishing flow of APP broadcast end does not receive the video broadcast page's of PC broadcast end generation and synchronous influence, has shortened APP broadcast end video publishing time, has promoted video publishing efficiency.

Description

Video distribution method, system, storage medium and electronic equipment
Technical Field
The present invention relates to the field of video technologies, and in particular, to a video distribution method, a video distribution system, a storage medium, and an electronic device.
Background
The current video playing client includes two categories, a PC end and an APP (Application program) end, where the PC end is a port in a network that can be connected to a host computer, and is an interface system of a computer, for example, video playing through the PC end is mainly performed on a browser of an electronic device by inputting a network address, that is, each video at the PC end needs to have a video playing page and a corresponding URL (Uniform Resource Locator), which is a Uniform Resource Locator of WWW and is a network address), a user accesses the URL address through the browser, and after the browser loads a video playing page, js (script information running on the browser) in the video playing page recalls a video information interface to obtain video information, and the video file address is handed to a player in the playing page to play and watch.
The APP end does not need a video playing page, when a user watches videos through the APP, the user does not need to input a URL address, and does not need to play and watch videos through a browser, at the moment, the APP end only needs to call a video information interface to obtain video information, and the video file address is handed to a built-in player of the APP to be played and watched.
Because the compiling and generating of the video playing page are synchronized to a CDN system (an intelligent virtual network system, which stores and distributes content) all require time, when a large number of videos are simultaneously delivered in batch, for example, when a plurality of tv shows are simultaneously on-line, the time consumed for delivery is longer, and the APP end does not actually need the video playing page, but still needs to wait for the video playing page to be generated and synchronized to complete the delivery flow, so that if the video playing page is failed to be generated or synchronized to the CDN fails, the video delivery of the APP end also fails, and the delivery flow needs to be executed from the beginning, thereby affecting the efficiency of video delivery.
Disclosure of Invention
In view of the foregoing problems, the present invention provides a video distribution method, system, storage medium, and electronic device, which improve the speed of video distribution.
In order to achieve the purpose, the invention provides the following technical scheme:
a video distribution method, comprising:
responding to a video release request, analyzing the video release request, and determining a target playing end type corresponding to a video to be released, wherein the playing end type comprises an APP playing end and a PC playing end;
acquiring a target state field corresponding to the video to be published based on the type of the target playing terminal;
switching the target state field to an online state, and acquiring a target release link corresponding to the type of the target playing terminal;
and issuing the video to be issued to a target playing end corresponding to the type of the target playing end based on the target issuing link.
Optionally, the method further comprises:
acquiring basic information corresponding to an initial video, and compiling the basic information to obtain target basic information;
generating a state field of the video to be released, which is matched with the type of each playing end;
and generating a video to be published corresponding to the initial video based on the target basic information and the state field.
Optionally, the type of the target playback end is an APP playback end, where the obtaining a target state field corresponding to the video to be published based on the type of the target playback end includes:
and acquiring a state field of the APP playing end corresponding to the video to be published based on the APP playing end.
Optionally, the switching the target status field to an online status, and acquiring a target release link corresponding to the type of the target playback end includes:
determining whether the state field of the APP playing end is in an on-line state, and if not, switching the state field of the APP playing end to the on-line state;
and acquiring an application program interface corresponding to the APP playing end to control the application program interface to expose the video to be published at the APP playing end.
Optionally, the type of the target playback end is a PC playback end, and the method further includes:
determining a compiling template of the video to be published;
and compiling the video to be issued based on the compiling template and the network address corresponding to the PC playing end to generate a video playing page.
Optionally, the switching the target status field to an online status, and acquiring a target release link corresponding to the type of the target playback end includes:
switching a target state field corresponding to the video playing page from an off-line state to an on-line state;
and acquiring a browser interface corresponding to the PC playing end to control the browser interface to expose the video playing page at the PC playing end.
Optionally, the publishing the video to be published to a target playback end corresponding to the type of the target playback end includes:
determining attribute characteristics of the video to be published;
adding the video to be published to a target video list based on the attribute characteristics;
and responding to a received video request matched with the attribute characteristics, and displaying the video to be published through the target video list and the target playing terminal.
A video distribution system, comprising:
the device comprises an analyzing unit, a processing unit and a processing unit, wherein the analyzing unit is used for responding to a video publishing request, analyzing the video publishing request and determining a target playing end type corresponding to a video to be published, and the playing end type comprises an APP playing end and a PC playing end;
a first obtaining unit, configured to obtain a target status field corresponding to the video to be published based on the type of the target playing terminal;
the second obtaining unit is used for switching the target state field to an online state and obtaining a target release link corresponding to the type of the target playing terminal;
and the issuing unit is used for issuing the video to be issued to a target playing end corresponding to the type of the target playing end based on the target issuing link.
A storage medium storing executable instructions which, when executed by a processor, implement a video distribution method as claimed in any one of the preceding claims.
An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, where the program is specifically configured to implement the video distribution method as described in any one of the above.
Compared with the prior art, the invention provides a video publishing method, a system, a storage medium and electronic equipment, which are used for responding to the obtained video publishing request, analyzing the video publishing request and determining the type of a target playing end corresponding to a video to be published, wherein the type of the playing end comprises an APP playing end and a PC playing end; acquiring a target state field corresponding to a video to be published based on the type of a target playing terminal; switching the target state field to an online state, and acquiring a target release link corresponding to the type of the target playing terminal; and based on the target release link, releasing the video to be released to a target playing end corresponding to the type of the target playing end. Can carry out video publishing based on the broadcast end type, for example the video publishing flow of APP broadcast end does not receive the video broadcast page's of PC broadcast end generation and synchronous influence, has shortened APP broadcast end video publishing time, has promoted video publishing efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a video publishing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a video distribution system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
For convenience of explanation of the video distribution method in the embodiment of the present invention, the related terms are now explained as follows:
copyright video: the method refers to videos purchased by a video website, such as movies, TV shows, and integrated art with playing copyright.
The VRS system: the copyright video management system can be used for uploading, transcoding, releasing or offline management of copyright videos of video websites.
VCMS system: the system can manage the layout and each component of a video playing page, compile the whole page, generate a final playing page HTML (hypertext Markup Language), push the HTML page to a CDN system, and finally push the playing page content to a browser end of a user based on a WEB World Web (global Wide area network) technology when the user accesses a URL (Uniform Resource Locator, which is a Uniform Resource Locator of a WWW (World Wide Web), namely a network address. Where the video playback page URL is pre-generated prior to compilation.
A CDN system: the CDN is an intelligent virtual network constructed on the basis of the existing network, and by means of edge servers deployed in various places and functional modules of load balancing, content distribution, scheduling and the like of a central platform, a user can obtain required content nearby, network congestion is reduced, and the access response speed and hit rate of the user are improved. The key technology of the CDN is mainly content storage and distribution technology.
Video playing page: and (5) compiling by the VCMS to generate a final playing page html. Is a static page accessed by the user through the video play URL. (note: currently, only the PC end and the H5 end need to have a video playing page when playing video, and the APP end does not need a video playing page when playing video.)
Video release: the editing method comprises the steps of uploading purchased copyright video source files to a video website server through a VRS system, transcoding the videos through the VRS system, and converting the videos into playable videos meeting the code rate specification of the video website. And then, the state of the video information is changed into an online state (the publishing field of the database video table is changed into the online state) by operating the VRS system. And then calling the vcms system to generate a static page file of the video playing page through template compiling, and synchronizing the static page file to the cdn system. After the static page file is synchronized to the cdn system, the user can access it through the url path. Thereby completing the complete video distribution.
Mysql database: a Database (Database) is a repository that organizes, stores, and manages data according to a data structure. MySQL is a relational database management system, which is a relational database management system that stores data in different tables instead of putting all the data in one large repository, thus increasing speed and flexibility.
Video information table: a table stored in a database for recording basic information of a video, comprising: title, introduction, play page url, video file address, release status, etc.
Video information API: when a user wants to watch a certain video, a service interface called by a pc-side page (app-side client) is used for acquiring video information including video files and providing the video information to a player for playing the video.
Video exposure API: when the release status of the video information table changes to online, the vrs system will notify the video that the api is exposed, and the video is online. The video exposure api exposes the video on the pc side (app side). Such as: when searching the video, the video is exposed in the search result; exposing the video in a TV play list; the video is exposed on the video classification list.
Message queue: the message queue middleware is an important component in a distributed system and mainly solves the problems of application coupling, asynchronous messages, traffic cut and the like. A high performance, highly available, scalable and ultimately consistent architecture is achieved. Is an indispensable middleware of a large-scale distributed system. The message queue used by the present invention is a rockmq.
Message: bearer of information transfer in message queue.
Producer: the message producer, also known as the message publisher, is responsible for producing and sending messages. Creating a Producer in a rockmq requires specifying topic and group.
Consumer: message consumers, also known as message subscribers, are responsible for receiving and consuming messages. Creating a Consumer in a RockettMQ requires specifying topic and group.
Topic: are categories where the producer is sending messages and the consumer is pulling messages. I.e., message Topic, primary message type, the message is classified by Topic.
Group: a type of Producer or Consumer, which typically produces or consumes the same type of message, with consistent logic of message publication or subscription.
Referring to fig. 1, a schematic flow chart of a video publishing method provided in an embodiment of the present invention may include the following steps:
s101, responding to the obtained video publishing request, analyzing the video publishing request, and determining the type of a target playing end corresponding to the video to be published.
The video publishing request may be request information generated after an operation and maintenance person performs a video publishing operation in a VRS system (copyright video management system), for example, after the operation and maintenance person clicks a video publishing button in a video operation interface, a corresponding video publishing request may be generated.
For convenience of description, the APP player is described as an APP end, and the PC player is described as a PC end, where video distribution at the APP end and video distribution at the PC end are processed separately, that is, if video distribution is performed at the APP end, it is not necessary to wait for generation and other processing of a video play page at the PC end. Therefore, after the video publishing request is obtained, the request needs to be analyzed to determine the playing end to which the video to be published needs to be published, for example, the video can be published only at the APP end, only at the PC end, or both at the APP end and the PC end, the playing platform to be published is determined as the target playing end, and then the target playing end is determined to belong to the APP end or the PC end, so as to obtain the type corresponding to the target playing end.
S102, acquiring a target state field corresponding to the video to be published based on the type of the target playing terminal.
It should be noted that, in the embodiment of the present invention, the video information table corresponding to each video to be published includes a publishing state field, and the publishing state field corresponds to the PC playing end and the APP playing end respectively, for example, APP _ status and PC _ status may be represented as APP _ status and PC _ status, which represent the publishing states of the APP end and the PC end respectively, and the corresponding states are changed among three states of unpublished, online, and offline, and the initial states are all unpublished states.
S103, switching the target state field to an online state, and acquiring a target release link corresponding to the type of the target playing terminal.
And S104, based on the target release link, releasing the video to be released to a target playing end corresponding to the type of the target playing end.
The initial state of the video to be published is an unpublished state, and when the video to be published is determined to need to be published, the target state field can be switched to an online state and published through a corresponding target publishing link. The target publishing link includes a corresponding API (Application Programming Interface), a transmission module corresponding to the playing end, a network template, and the like. If the target release link is released at the APP terminal, the target release link is a release link comprising an API of the APP terminal; and if the publishing is carried out at the PC end, the target publishing link is a publishing link comprising the API of the PC end.
The embodiment of the present invention further provides a method for creating a video information table, which can distinguish a flow of video publishing at a PC end or an APP end based on relevant information in the video information table, and specifically, the process may include:
acquiring basic information corresponding to an initial video, and compiling the basic information to obtain target basic information;
generating a state field of the video to be published matched with the type of each playing end;
and generating a video to be published corresponding to the initial video based on the target basic information and the state field.
The initial video may be a video that needs to be published, and the corresponding basic information may include a video name, video identification information (such as video number information), video category information, video description information, and the like. The status field is divided into an APP status field and a PC status field, such as APP _ status and PC _ status, and may specifically include three statuses, i.e., unpublished, online, and offline.
Further, the video information api is separated into a pc end api and an app end api, when the video information is read to obtain a video file address, whether the video is published online or not is firstly confirmed, and a pc _ status field and an app _ status field of the video information table are respectively read for confirmation.
In an embodiment, if the type of the target playback end is an APP playback end, the obtaining a target state field corresponding to the video to be published based on the type of the target playback end includes: and acquiring a state field of the APP playing end corresponding to the video to be published based on the APP playing end.
Correspondingly, the switching the target status field to an online status and acquiring a target release link corresponding to the type of the target player includes: determining whether the state field of the APP playing end is in an on-line state, and if not, switching the state field of the APP playing end to the on-line state; and acquiring an application program interface corresponding to the APP playing end to control the application program interface to expose the video to be published at the APP playing end.
In another embodiment, if the target playback end type is a PC playback end, the method further includes:
determining a compiling template of the video to be published;
and compiling the video to be issued based on the compiling template and the network address corresponding to the PC playing end to generate a video playing page.
Correspondingly, the switching the target status field to an online status and acquiring a target release link corresponding to the type of the target player includes: switching a target state field corresponding to the video playing page from an off-line state to an on-line state; and acquiring a browser interface corresponding to the PC playing end to control the browser interface to expose the video playing page at the PC playing end.
For example, a video distribution operation is performed in a VRS system. Clicking a video release button, and if the app _ status field is in an online state, not processing the app _ status field; if the app _ status field is not in an online state, the state of the app _ status field is immediately changed to an online state, and the pc _ status remains unchanged and remains in an unpublished state. It should be noted that when the editing selects a plurality of video clicks on the batch release button, the state transition is the same. When the APP _ status state is changed from the non-online state to the online state, the VRS system informs the APP video exposure api to expose the video at the APP end, and the video release of the APP end is completed. And when the user clicks and watches the video at the APP terminal, the video information is obtained through the APP video information interface to be played.
And the VRS system informs the VCMS system of generating and synchronizing the video playing pages. The VCMS system generates video playing pages according to the sequence notified by the VRS system, if the video playing pages are failed to be generated, the VCMS system notifies the VRS system of failed release, skips to the target state field switching step, and re-executes the release process; and if the video playing page is successfully generated, synchronizing the video playing page to the CDN system. If the synchronization of the video playing page to the CDN system fails, the CDN system informs the VCMS system of the failure of the delivery, the VCMS system informs the VRS system of the failure of the delivery, the switching step of the target state field is skipped, and the delivery process is executed again. If the video playing page is successfully synchronized to the CDN system, the CDN system informs the VCMS system that the delivery is successful, the VCMS system informs the VRS system that the delivery is successful, and the VRS system changes the state of the pc _ status field into an on-line state. The VRS system notifies the PC video exposure api to expose the video on the PC side, and completes video distribution on the PC side. And when the user clicks and watches the video at the PC end, the video information is acquired through the PC video information interface and played, and the video publishing process is completed.
The following describes a process of switching a target status field corresponding to a video to be published to an online status. The video editor uploads the copyright video in the VRS system, and after the video is successfully uploaded, basic information in a video information table, such as 'ID' representing a video identifier, 'TV _ NAME' representing a video NAME, 'TV _ DESC' representing a video description, and 'TV _ ACTOR' representing performer information contained in the video, can be saved, and information such as a video director, a cover page and the like can be further included. And then, the copyright VIDEO is forwarded, and after transcoding is successful, VIDEO information table information is stored, such as VIDEO _ VERSION information and VIDEO _ FILE (VIDEO FILE) is stored. The editor clicks the video release button on the VRS system, and the video information table information is saved: "idle _ TIME", "TV _ PUBLISH _ USER _ ID (video distribution USER information)". And changing the video information table 'APP _ STATUS' from the unpublished state to the online state, wherein the video at the APP end can be exposed and played. The VRS system produces a video release message as a Producer and sends the video release message to the video release Topic, wherein the message contains the detailed information of the video and specifies a compiling template (which template is used for compiling). The VCMS serves as a video release message in Consumer consumption video release Topic one by one, a video playing page is generated by compiling according to a specified template, the video playing page is pushed to the CDN system after being generated, after the pushing is successful, the VCMS serves as a Producer to produce a video release success message, and a url address of the video playing page is attached to the video release success Topic, and the video release success Topic is sent to the video release success Topic. The VRS system is used as a video publishing success message in the Consumer consumption video publishing success Topic one by one, and stores the video information table information: the "VEDIO _ URL" changes the video information table "PC _ STATUS" from the unpublished state to the online state, and the video can be exposed and played on the PC side.
In an implementation manner of the embodiment of the present invention, the publishing the video to be published to a target playback end corresponding to the type of the target playback end includes: determining attribute characteristics of the video to be published; adding the video to be published to a target video list based on the attribute characteristics; and responding to a received video request matched with the attribute characteristics, and displaying the video to be published through the target video list and the target playing terminal.
The type of the video to be published can be determined through the attribute characteristics, the added target video list is determined based on the type, for example, the video to be published can be added to a television video list and a movie video list, meanwhile, the duration of the video to be published can be determined according to the attribute characteristics, if the duration is matched with the feature film duration, the video to be published can be added to the feature film video list, and if the duration is shorter, the video to be published can be added to the forecast video list. Therefore, when the video playing request is received, the video can be obtained from the corresponding video list for playing.
Specifically, the PC terminal is exposed as follows: the TV play list of the PC side exposes the button of the latest episode (the latest episode is the video); the video is exposed on a comic movie list page (namely, each channel page is exposed) on the PC side; when the PC side searches for a certain keyword, the video is exposed in the search result (namely, the search is exposed).
Examples of APP end exposure are as follows: and the search result is exposed at the PC side, namely at a TV play list and each channel page. The exposure API displays the video information to be exposed when requested, and the video information can be exposed at each end.
The video exposure service has its own cache, which caches all the latest video information. The video information table app _ status is changed to be on-line, at the moment, the VRS system serves as a producer to produce a video change message which is sent to the video change topic, and the message contains all fields of the video information table, namely the message is the latest video information; the video exposure service consumes the video change message in the video change Topic one by one as a consumer, and checks whether app _ status and pc _ status in the message change to an online state. If app _ status (pc _ status, the same) is not online, then the exposed service does not process. If app _ status (pc _ status, same) is online, then the service is exposed: a. inquiring whether the video information exists in the cache of the user according to the video id in the message; b. if yes, checking whether app _ status (pc _ status is the same as the status) in the cache is in an online state, and if yes, not processing; c. if the video information does not exist in the cache or exists but the app _ status (pc _ status and the like) in the cache is not in an online state, updating the video information in the cache according to the message content; when a television play list is opened, a channel page is opened, and keywords are searched, a pc end or app end program requests a video to expose an api, the video to be exposed is displayed by the video to expose the api, and then the video exposure is completed.
Specifically, the video information service has its own cache, and all latest video information is cached, and the processing flow of the video information API is as follows:
when the video information table is changed every time, the VRS system serves as a producer to produce a video change message which is sent to the video change topic, wherein the message contains all fields of the video information table, namely the message is the latest video information; and the video information service is used as a consumer to consume video change messages in the video change Topic one by one, and whether the video information in the messages is consistent with the local cache or not is checked. If the message is consistent with the local cache, the local cache is not processed, and if the message is inconsistent with the local cache, the local cache is updated according to the message content. A user clicks a video playing button at a PC end or an APP end; initiating a request to call a video information API by a js program of a PC end or a client program of an APP end; the video information API reads the video information in the cache, firstly checks whether pc _ status or app _ status is in an online state, and if not, returns an error (the video is not exposed in the offline state, and a user cannot click a play button); if pc _ status or app _ status is on-line, the video _ file video file address is returned. And after the Pc end or app end player acquires the video _ file address, the video _ file can be played normally.
In the embodiment of the invention, the video publishing process of the APP end is not influenced by the process of generating and synchronizing the PC end video playing page to the CDN system, the video publishing time of the APP end can be effectively shortened, particularly, under the condition of simultaneously publishing a large number of videos in batches, the effect is more remarkable, and the video publishing of the APP end can be effectively accelerated.
Referring to fig. 2, in an embodiment of the present invention, a video distribution system is further provided, where the system includes:
the parsing unit 201 is configured to parse, in response to obtaining a video publishing request, the video publishing request, and determine a target playing end type corresponding to a video to be published, where the playing end type includes an APP playing end and a PC playing end;
a first obtaining unit 202, configured to obtain, based on the type of the target playing end, a target status field corresponding to the video to be published;
a second obtaining unit 203, configured to switch the target status field to an online status, and obtain a target release link corresponding to the type of the target playback end;
the publishing unit 204 is configured to publish the video to be published to a target playback end corresponding to the target playback end type based on the target publishing link.
In one embodiment, the system further comprises: the information generation unit is used for:
acquiring basic information corresponding to an initial video, and compiling the basic information to obtain target basic information;
generating a state field of the video to be published matched with the type of each playing end;
and generating a video to be published corresponding to the initial video based on the target basic information and the state field.
In an embodiment, the target playback end type is an APP playback end, where the first obtaining unit is specifically configured to:
and acquiring a state field of the APP playing end corresponding to the video to be published based on the APP playing end.
Further, the second obtaining unit is specifically configured to:
determining whether the state field of the APP playing end is in an on-line state, and if not, switching the state field of the APP playing end to the on-line state;
and acquiring an application program interface corresponding to the APP playing end so as to control the application program interface to expose the video to be published at the APP playing end.
In another embodiment, the target playback end type is a PC playback end, and the system further includes: the video playing page generating unit is used for:
determining a compiling template of the video to be published;
and compiling the video to be released based on the compiling template and the network address corresponding to the PC playing end to generate a video playing page.
Further, the second obtaining unit is specifically configured to:
switching a target state field corresponding to the video playing page from an offline state to an online state;
and acquiring a browser interface corresponding to the PC playing end to control the browser interface to expose the video playing page at the PC playing end.
Optionally, the publishing unit is specifically configured to:
determining attribute characteristics of the video to be published;
adding the video to be published to a target video list based on the attribute characteristics;
and responding to a received video request matched with the attribute characteristics, and displaying the video to be published through the target video list and the target playing end.
The embodiment of the invention provides a video publishing system, which is used for responding to a video publishing request, analyzing the video publishing request and determining a target playing end type corresponding to a video to be published, wherein the playing end type comprises an APP playing end and a PC playing end; acquiring a target state field corresponding to a video to be published based on the type of a target playing terminal; switching the target state field to an online state, and acquiring a target release link corresponding to the type of the target playing terminal; and based on the target release link, releasing the video to be released to a target playing end corresponding to the type of the target playing end. Can carry out video publishing based on the broadcast end type, for example the video publishing flow of APP broadcast end does not receive the video broadcast page's of PC broadcast end generation and synchronous influence, has shortened APP broadcast end video publishing time, has promoted video publishing efficiency.
Based on the foregoing embodiments, embodiments of the present application provide a storage medium storing executable instructions that, when executed by a processor, implement a video distribution method as recited in any one of the above.
An embodiment of the present invention further provides an electronic device, including:
a memory for storing a program;
a processor configured to execute the program, where the program is specifically configured to implement the video distribution method as described in any one of the above.
The Processor or the CPU may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above-mentioned processor function may be other electronic devices, and the embodiments of the present application are not particularly limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for video distribution, comprising:
responding to the obtained video release request, analyzing the video release request, and determining a target playing end type corresponding to the video to be released, wherein the playing end type comprises an APP playing end and a PC playing end;
acquiring a target state field corresponding to the video to be published based on the type of the target playing terminal;
switching the target state field to an online state, and acquiring a target release link corresponding to the type of the target playing terminal;
and based on the target release link, releasing the video to be released to a target playing end corresponding to the type of the target playing end so as to realize the release process of the target playing end being an APP playing end without waiting for the generation and synchronization of the video playing page.
2. The method of claim 1, further comprising:
acquiring basic information corresponding to an initial video, and compiling the basic information to obtain target basic information;
generating a state field of the video to be published matched with the type of each playing end;
and generating a video to be published corresponding to the initial video based on the target basic information and the state field.
3. The method according to claim 1, wherein the target playback end type is an APP playback end, and wherein the obtaining a target state field corresponding to the video to be distributed based on the target playback end type includes:
and acquiring a state field of the APP playing end corresponding to the video to be published based on the APP playing end.
4. The method according to claim 3, wherein the switching the target status field to an online status and acquiring a target release link corresponding to the type of the target playback end comprises:
determining whether the state field of the APP playing end is in an on-line state, and if not, switching the state field of the APP playing end to the on-line state;
and acquiring an application program interface corresponding to the APP playing end to control the application program interface to expose the video to be published at the APP playing end.
5. The method of claim 1, wherein the target cast end type is a PC cast end, the method further comprising:
determining a compiling template of the video to be published;
and compiling the video to be issued based on the compiling template and the network address corresponding to the PC playing end to generate a video playing page.
6. The method according to claim 5, wherein the switching the target status field to an online status and acquiring the target release link corresponding to the target player type includes:
switching a target state field corresponding to the video playing page from an off-line state to an on-line state;
and acquiring a browser interface corresponding to the PC playing end to control the browser interface to expose the video playing page at the PC playing end.
7. The method according to claim 1, wherein the publishing the video to be published to a target playback end corresponding to the target playback end type includes:
determining attribute characteristics of the video to be published;
adding the video to be published to a target video list based on the attribute characteristics;
and responding to a received video request matched with the attribute characteristics, and displaying the video to be published through the target video list and the target playing terminal.
8. A video distribution system, comprising:
the device comprises an analyzing unit, a processing unit and a processing unit, wherein the analyzing unit is used for responding to a video publishing request, analyzing the video publishing request and determining a target playing end type corresponding to a video to be published, and the playing end type comprises an APP playing end and a PC playing end;
a first obtaining unit, configured to obtain a target status field corresponding to the video to be published based on the type of the target playing terminal;
the second acquisition unit is used for switching the target state field to an online state and acquiring a target release link corresponding to the type of the target playing terminal;
and the issuing unit is used for issuing the video to be issued to the target playing end corresponding to the type of the target playing end based on the target issuing link so as to realize the issuing process of the APP playing end in the type of the target playing end without waiting for the generation and synchronization of the video playing page.
9. A storage medium storing executable instructions which, when executed by a processor, implement a video distribution method as claimed in any one of claims 1 to 7.
10. An electronic device, comprising:
a memory for storing a program;
a processor for executing the program, the program being in particular for implementing the video distribution method as claimed in any one of claims 1 to 7.
CN202210666279.1A 2022-06-14 2022-06-14 Video distribution method, system, storage medium and electronic equipment Active CN114760509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210666279.1A CN114760509B (en) 2022-06-14 2022-06-14 Video distribution method, system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210666279.1A CN114760509B (en) 2022-06-14 2022-06-14 Video distribution method, system, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114760509A CN114760509A (en) 2022-07-15
CN114760509B true CN114760509B (en) 2022-09-20

Family

ID=82336807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210666279.1A Active CN114760509B (en) 2022-06-14 2022-06-14 Video distribution method, system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114760509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633191A (en) * 2022-09-15 2023-01-20 北京百度网讯科技有限公司 Video playing method, device, system, electronic equipment and readable storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577458A (en) * 2012-08-01 2014-02-12 上海亿动信息技术有限公司 Control method and corresponding control device for displaying webpage according to terminal type
WO2014029268A1 (en) * 2012-08-24 2014-02-27 中兴通讯股份有限公司 Media type processing and media playing method and device in iptv system
CN104333728A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 A Method, device and system for regulating and controlling audio and video transmission
CN107124635A (en) * 2017-06-06 2017-09-01 北京奇艺世纪科技有限公司 A kind of loading method of video, system for managing video and live broadcast system
CN109120964A (en) * 2018-09-30 2019-01-01 武汉斗鱼网络科技有限公司 Information push method, device, computer equipment and the storage medium of video collection
WO2019024257A1 (en) * 2017-08-03 2019-02-07 乐蜜有限公司 Method and device for publishing video files
CN110049266A (en) * 2019-04-10 2019-07-23 北京字节跳动网络技术有限公司 Video data issues method, apparatus, electronic equipment and storage medium
CN112507273A (en) * 2020-12-15 2021-03-16 北京金山云网络技术有限公司 Webpage generating method and device and electronic equipment
CN112543346A (en) * 2021-01-14 2021-03-23 浙江口碑网络技术有限公司 Information distribution method and device, computer storage medium and electronic equipment
CN113132376A (en) * 2021-04-14 2021-07-16 腾讯科技(深圳)有限公司 Media data processing method, device and system, electronic equipment and storage medium
CN113727168A (en) * 2021-08-17 2021-11-30 北京奇艺世纪科技有限公司 Video publishing method, device, terminal and storage medium
CN113783997A (en) * 2021-09-13 2021-12-10 北京字跳网络技术有限公司 Video publishing method and device, electronic equipment and storage medium
CN114302208A (en) * 2021-12-23 2022-04-08 北京字跳网络技术有限公司 Video distribution method, video distribution device, electronic equipment, storage medium and program product
CN114491149A (en) * 2022-01-13 2022-05-13 腾讯科技(深圳)有限公司 Information processing method and apparatus, electronic device, storage medium, and program product
WO2022111376A1 (en) * 2020-11-25 2022-06-02 北京字跳网络技术有限公司 Method, apparatus, and device for publishing and replying to multimedia content

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100481088C (en) * 2007-06-07 2009-04-22 北京大学 Web page resource issuing method and issuing system
CN101986706B (en) * 2010-11-16 2012-07-18 重庆抛物线信息技术有限责任公司 Mobile terminal video release system and method as well as application thereof
CN102625259A (en) * 2011-01-27 2012-08-01 天脉聚源(北京)传媒科技有限公司 System and method for publishing video instantly
US9083997B2 (en) * 2012-05-09 2015-07-14 YooToo Technologies, LLC Recording and publishing content on social media websites
KR101859822B1 (en) * 2016-07-01 2018-05-18 패스 모바일 인크 피티이. 엘티디. Posting method of contents and posting apparatus
CN109194976A (en) * 2018-10-22 2019-01-11 网宿科技股份有限公司 Video processing, dissemination method, storage management, Content Management Platform and system
CN114339456B (en) * 2022-03-16 2022-05-27 飞狐信息技术(天津)有限公司 Video publishing method and device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577458A (en) * 2012-08-01 2014-02-12 上海亿动信息技术有限公司 Control method and corresponding control device for displaying webpage according to terminal type
WO2014029268A1 (en) * 2012-08-24 2014-02-27 中兴通讯股份有限公司 Media type processing and media playing method and device in iptv system
CN104333728A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 A Method, device and system for regulating and controlling audio and video transmission
CN107124635A (en) * 2017-06-06 2017-09-01 北京奇艺世纪科技有限公司 A kind of loading method of video, system for managing video and live broadcast system
WO2019024257A1 (en) * 2017-08-03 2019-02-07 乐蜜有限公司 Method and device for publishing video files
CN109120964A (en) * 2018-09-30 2019-01-01 武汉斗鱼网络科技有限公司 Information push method, device, computer equipment and the storage medium of video collection
CN110049266A (en) * 2019-04-10 2019-07-23 北京字节跳动网络技术有限公司 Video data issues method, apparatus, electronic equipment and storage medium
WO2022111376A1 (en) * 2020-11-25 2022-06-02 北京字跳网络技术有限公司 Method, apparatus, and device for publishing and replying to multimedia content
CN112507273A (en) * 2020-12-15 2021-03-16 北京金山云网络技术有限公司 Webpage generating method and device and electronic equipment
CN112543346A (en) * 2021-01-14 2021-03-23 浙江口碑网络技术有限公司 Information distribution method and device, computer storage medium and electronic equipment
CN113132376A (en) * 2021-04-14 2021-07-16 腾讯科技(深圳)有限公司 Media data processing method, device and system, electronic equipment and storage medium
CN113727168A (en) * 2021-08-17 2021-11-30 北京奇艺世纪科技有限公司 Video publishing method, device, terminal and storage medium
CN113783997A (en) * 2021-09-13 2021-12-10 北京字跳网络技术有限公司 Video publishing method and device, electronic equipment and storage medium
CN114302208A (en) * 2021-12-23 2022-04-08 北京字跳网络技术有限公司 Video distribution method, video distribution device, electronic equipment, storage medium and program product
CN114491149A (en) * 2022-01-13 2022-05-13 腾讯科技(深圳)有限公司 Information processing method and apparatus, electronic device, storage medium, and program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多媒体信息发布系统及图书馆应用;远红亮;《现代情报》(第07期);全文 *

Also Published As

Publication number Publication date
CN114760509A (en) 2022-07-15

Similar Documents

Publication Publication Date Title
US8903863B2 (en) User interface with available multimedia content from multiple multimedia websites
KR101635876B1 (en) Singular, collective and automated creation of a media guide for online content
US9407974B2 (en) Segmenting video based on timestamps in comments
US7610187B2 (en) Lingual translation of syndicated content feeds
US8301596B2 (en) Method and apparatus for providing supplemental video content for third party websites
CN109474843B (en) Method for voice control of terminal, client and server
US20110179010A1 (en) Method and apparatus for providing supplemental video content for third party websites
US20060031751A1 (en) Method for creating editable web sites with increased performance & stability
JP2001515246A (en) Automated content scheduling and display devices
CN101820350A (en) Method, device and system for automatically replacing skin
CN104919455B (en) Bookmark is added to the expection media content on computer network
CN103907357A (en) System and method for presenting a video stream
KR20030060932A (en) User specified parallel data fetching for optimized web access
WO2010081378A1 (en) Server, digital television receiving terminal and program information display system and method
CN114760509B (en) Video distribution method, system, storage medium and electronic equipment
JP2003141167A (en) Content providing system, retrieval server and content providing method
CN109672911B (en) Video processing method and device
CN101203853B (en) Techniques and systems for supporting podcasting
JP5624056B2 (en) Method, apparatus and computer program for generating a query
US9189547B2 (en) Method and apparatus for presenting a search utility in an embedded video
JP6127624B2 (en) Information processing program, information processing method and apparatus
Curtis et al. Multimedia content management-provision of validation and personalisation services
CN111586447A (en) Flow guide method of multimedia website, playing method of multimedia data and server
JP2001211431A (en) Transmitter, receiver, transmission reception system, transmission method, and reception method
JP2008283265A (en) Digital content link system, and digital content link server used for the same system

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