CN113852873A - Video online method and device, storage medium and electronic equipment - Google Patents

Video online method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113852873A
CN113852873A CN202111120273.6A CN202111120273A CN113852873A CN 113852873 A CN113852873 A CN 113852873A CN 202111120273 A CN202111120273 A CN 202111120273A CN 113852873 A CN113852873 A CN 113852873A
Authority
CN
China
Prior art keywords
online
video file
video
file
strategy
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
CN202111120273.6A
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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN202111120273.6A priority Critical patent/CN113852873A/en
Publication of CN113852873A publication Critical patent/CN113852873A/en
Pending legal-status Critical Current

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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64715Protecting content from unauthorized alteration within the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8541Content authoring involving branching, e.g. to different story endings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video online method, a video online device, a storage medium and electronic equipment, which can determine whether a video file to be online meets an online condition by obtaining the video file to be online; if the video file is determined to meet the online condition, triggering corresponding timing scheduling service aiming at the video file; when an online notification of the timing scheduling service is received, executing corresponding online service aiming at the video file; and determining whether the video file is a main video file of an interactive drama video, if so, searching at least one branch video file corresponding to the video file, and executing the corresponding online service aiming at the branch video file. Therefore, the method and the device can automatically online the video when the video file is determined to meet the online condition, the efficiency is high, and errors cannot be caused.

Description

Video online method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of video, and in particular, to a video online method, an apparatus, a storage medium, and an electronic device.
Background
Currently, video online needs editors to submit online requests to each video file, online failures often occur due to reasons such as file transcoding and incomplete delivery of a CDN server, and manual video online operation is performed after a period of time, so that efficiency is low.
Disclosure of Invention
In view of the above, the present invention provides a video online method, apparatus, storage medium, and electronic device that overcome or at least partially solve the above problems.
In a first aspect, a video online method includes:
acquiring a video file to be online, and determining whether the video file meets an online condition;
if the video file is determined to meet the online condition, triggering corresponding timing scheduling service aiming at the video file so that the timer service can send an online notification when the difference between the current time and the preset online time is determined to be not more than a preset time threshold value;
when an online notification of the timing scheduling service is received, executing corresponding online service aiming at the video file;
and determining whether the video file is a main video file of an interactive drama video, if so, searching at least one branch video file corresponding to the video file, and executing the corresponding online service aiming at the branch video file.
With reference to the first aspect, in some optional embodiments, when an online notification of the timing scheduling service is received, the performing, for the video file, a corresponding online service includes:
when receiving the on-line notification of the timing scheduling service, verifying the file issuing information and the copyright information of the video file;
if the file issuing information and the copyright information are verified, modifying the video state of the video file into an online state, and uploading the video file;
if at least one of the file issuing information and the copyright information is not verified, judging whether the number of times of executing corresponding online service aiming at the video file is greater than a preset number of times; if yes, terminating the online video file; otherwise, returning to execute the step of executing the corresponding timing scheduling service aiming at the video file.
With reference to the previous embodiment, in some optional embodiments, after the step of returning to execute the corresponding timing scheduling service for the video file, the method further includes: and sending a notice that the verification fails to pass to the preset device.
Optionally, in some optional embodiments, the returning to execute the step of executing the corresponding timing scheduling service for the video file includes:
monitoring the difference between the current moment and the preset online moment;
when the difference is not larger than the preset time threshold, sending the online notification aiming at the video file;
when the difference is larger than the preset time threshold, continuing to monitor the difference between the current moment and the preset online moment until the online notification aiming at the video file is sent out.
With reference to the first aspect, in certain optional embodiments, the method further comprises: configuring a corresponding online strategy for the video file in advance;
the on-line strategy is as follows: a timing automatic online strategy, an automatic online strategy after the three audits pass, a periodic cycle online strategy or a main video online strategy.
With reference to the previous embodiment, in some optional embodiments, the obtaining a video file to be online and determining whether the video file meets an online condition includes:
obtaining the video file to be online;
checking the online policy of the video file;
if the on-line strategy is the timing automatic on-line strategy, checking a status flag bit of the video file when the timing time of the timing automatic on-line strategy is reached; if the status flag bit of the video file is the status value to be on-line, determining that the video file meets the on-line condition; if the status flag bit of the video file is an off-line status value, determining that the video file does not conform to an on-line condition;
if the online strategy is the automatic online strategy after the three audits are passed, determining whether a three audits pass notification aiming at the video file is received; if the three-trial passing notice is received, determining that the video file meets the online condition; if the three-audit pass notice is not received, determining that the video file does not meet the online condition currently;
if the on-line strategy is the periodic cycle on-line strategy, determining whether the current time is the preset time of the periodic cycle on-line strategy; if the current moment is the preset moment of the periodic cycle online strategy, determining that the video file meets the online condition; if the current time is not the preset time of the periodic cycle online strategy, determining that the video file does not meet the online condition currently;
if the online strategy is the main video online strategy, judging whether the video file is recorded in a preset interactive drama video configuration table, if so, determining that the video file meets online conditions, otherwise, determining that the video file does not meet the online conditions.
With reference to the first aspect, in some optional embodiments, the determining whether the video file is a main video file of an interactive drama video includes:
and checking the type flag bit of the video file, if the type flag bit is a main video flag value, determining that the video file is a main video file of the interactive drama video, and otherwise, determining that the video file is not the main video file of the interactive drama video.
In a second aspect, a video online device includes: the system comprises a file obtaining unit, a scheduling service unit, an online service unit, a main video determining unit and a branch video unit;
the file obtaining unit is configured to obtain a video file to be online and determine whether the video file meets an online condition;
the scheduling service unit is configured to execute a corresponding timing scheduling service aiming at the video file if the video file is determined to meet the online condition, so that the timer service sends an online notification when the difference between the current time and a preset online time is determined to be not greater than a preset time threshold;
the online service unit is configured to execute corresponding online service aiming at the video file when an online notification of the timing scheduling service is received;
the main video determining unit is configured to determine whether the video file is a main video file of an interactive drama video, and if so, trigger the branch video unit;
the branch video unit is configured to search at least one branch video file corresponding to the video file, and execute the corresponding online service for the branch video file.
In a third aspect, a storage medium has stored thereon a program which, when executed by a processor, implements the video online method of any of the above.
In a fourth aspect, an electronic device includes at least one processor, and at least one memory, a bus, connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform any of the above-described video online methods.
By means of the technical scheme, the video online method, the video online device, the storage medium and the electronic equipment can obtain the video file to be online and determine whether the video file meets the online condition; if the video file is determined to meet the online condition, triggering corresponding timing scheduling service aiming at the video file; when an online notification of the timing scheduling service is received, executing corresponding online service aiming at the video file; and determining whether the video file is a main video file of an interactive drama video, if so, searching at least one branch video file corresponding to the video file, and executing the corresponding online service aiming at the branch video file. Therefore, the method and the device can automatically online the video when the video file is determined to meet the online condition, the efficiency is high, and errors cannot be caused.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a video online method according to the present invention;
fig. 2 is a schematic structural diagram of a video online device provided by the invention;
fig. 3 shows a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, the present invention provides a video online method, which includes: s100, S200, S300, S400, and S500;
s100, obtaining a video file to be online, and determining whether the video file meets an online condition;
optionally, the video file to be online refers to a video file that is prepared by transcoding in advance and can be online, which is not limited in the present invention.
Optionally, the invention does not limit the file format of the video file, and any feasible manner falls into the protection scope of the invention. Such as MPEG format, AVI format, nAVI format, ASF format, WMV format, MOV format, 3GP format, and the like.
Optionally, the type of the video corresponding to the video file of the present invention may be an individual web video, or a video under a collection, or a video of an interactive drama, which is not limited in the present invention.
Optionally, different online strategies can be set according to actual needs for different types of videos. For example, for an individual webpage video, a timing automatic online strategy or an automatic online strategy after three audits pass can be set for the individual webpage video; aiming at the videos in the collection, a timing automatic online strategy, an automatic online strategy after the three audits pass or a periodic cycle online strategy can be set for the videos; for videos of interactive dramas, a main video online policy can be set for the videos.
Optionally, the online condition in the present invention may be understood as an online policy, and determining whether the video file meets the online condition may be understood as: and determining whether the video file meets the requirement of the online policy, which is not limited by the present invention.
Optionally, an online policy may be preset for a video file, which is not limited in the present invention.
That is, in some alternative embodiments, in combination with the embodiment shown in fig. 1, the method further comprises: configuring a corresponding online strategy for the video file in advance;
the on-line strategy is as follows: a timing automatic online strategy, an automatic online strategy after the three audits pass, a periodic cycle online strategy or a main video online strategy.
In combination with the previous embodiment, in certain alternative embodiments, the S100 includes: step 1.1, step 1.2, step 1.3, step 1.4, step 1.5 and step 1.6;
step 1.1, obtaining the video file to be online;
step 1.2, checking the online strategy of the video file;
optionally, the online policy is configured in a configuration file, and the online policy of the video file may be checked and determined by searching for content in the configuration file.
Step 1.3, if the on-line strategy is the timing automatic on-line strategy, checking a status flag bit of the video file when the timing time of the timing automatic on-line strategy is reached; if the status flag bit of the video file is the status value to be on-line, determining that the video file meets the on-line condition; if the status flag bit of the video file is an off-line status value, determining that the video file does not conform to an on-line condition;
optionally, the status flag bit may be a field set in a configuration file of the video file, and when a value of a corresponding field of the status flag bit is a status value to be on-line (e.g., "0"), it indicates that the video file is not on-line, and it is determined that the video file meets an on-line condition; when the value of the corresponding field of the status flag bit is the offline status value, it indicates that the video file has been online and offline, and does not need to be online any more, and it can be determined that the video file does not meet the online condition, which is not limited by the present invention.
Optionally, in step 1.3, if it is determined that the video file does not meet the online condition, the current video online process may be ended, so that the scheme provided by the present invention is executed on the new video file, which is not limited in this regard.
Optionally, the current time of the server is checked, and if the server time is slow, the server is not online if the server time exceeds the allowable error time range. If it is set that 11 am gets online, the server receives 10: and 50, if the error exceeds 30 seconds, returning to fail, waiting for next online, and if the receiving time of the server is greater than the set online time, allowing.
Step 1.4, if the online strategy is the automatic online strategy after the three audits are passed, determining whether a three audits pass notification aiming at the video file is received; if the three-trial passing notice is received, determining that the video file meets the online condition; if the three-audit pass notice is not received, determining that the video file does not meet the online condition currently;
alternatively, the online video must undergo three inspections, namely, a first inspection, a second inspection and a final inspection, according to the national regulations. When a three-audit passing notice aiming at the video file sent by an audit system is received, the video file is proved to pass the three audits, the video can be directly on-line, timing or delaying on-line is not needed, and the video file is determined to meet the on-line condition. If the three-trial-pass notification is not received, it indicates that the three-trial-pass notification has not been performed on the video file or that the video file does not pass the three-trial-pass notification, and in order to avoid an error, it may be determined that the video file does not currently meet the online condition, which is not limited by the present invention.
If it is determined in step 1.4 that the video file does not meet the online condition currently, the video online process can be ended, so that the scheme provided by the invention is executed for the new video file. The scheme provided by the present invention may also be executed on a new video file, while waiting for obtaining a three-trial notification from the auditing system, if the subsequently received three-trial notification for the video file is a three-trial passing notification, the subsequent process of the present invention may be executed, and if the subsequently received three-trial notification for the video file is a three-trial failing notification, the present video online process may be ended, so that the scheme provided by the present invention is executed on the new video file, which is not limited by the present invention.
Step 1.5, if the on-line strategy is the periodic cycle on-line strategy, determining whether the current time is the preset time of the periodic cycle on-line strategy; if the current moment is the preset moment of the periodic cycle online strategy, determining that the video file meets the online condition; and if the current time is not the preset time of the periodic cycle online strategy, determining that the video file does not meet the online condition currently.
Step 1.6, if the online strategy is the main video online strategy, judging whether the video file is recorded in a preset interactive drama video configuration table, if so, determining that the video file meets online conditions, otherwise, determining that the video file does not meet the online conditions.
S200, if the video file is determined to meet the online condition, triggering corresponding timing scheduling service aiming at the video file so that the timer service can send an online notification when the difference between the current time and the preset online time is determined to be not more than a preset time threshold;
optionally, the timing scheduling service may send an online notification for the video file that is determined to be online, so that the background may execute the corresponding online service according to the online notification, which is not limited in the present invention.
Optionally, the timing scheduling service may be used as a layer of verification, and the online notification is sent when it is determined that a difference between the current time and the preset online time is not greater than a preset time threshold, so as to avoid sending the online notification when the server time is incorrect, which is not limited in the present invention.
For example, in combination with the embodiment shown in fig. 1, in some alternative embodiments, the executing process of the timing scheduling service includes: step 2.1, step 2.2 and step 2.3;
step 2.1, if the video file is determined to meet the online condition, monitoring the difference between the current moment and the preset online moment;
step 2.2, when the difference is not larger than the preset time threshold, sending the online notification aiming at the video file;
and 2.3, when the difference is larger than the preset time threshold, continuing to monitor the difference between the current moment and the preset online moment until the online notification aiming at the video file is sent out.
Optionally, the preset online time is not specifically limited, and may be set according to actual needs, and any feasible manner belongs to the protection scope of the present invention, and the present invention is not limited to this.
S300, when an online notification of the timing scheduling service is received, executing corresponding online service aiming at the video file;
optionally, the online notification of the timing scheduling service may be used as a trigger condition of a corresponding online service to trigger execution of the online service, so as to implement online of the video file, which is not limited in the present invention.
Optionally, the present invention does not limit the specific process of online service, and any feasible manner falls into the scope of the present invention, which is not limited by the present invention.
For example, in combination with the embodiment shown in fig. 1, in some alternative embodiments, the S300 includes: step 3.1, step 3.2 and step 3.3;
step 3.1, when receiving the on-line notification of the timing scheduling service, verifying the file issuing information and the copyright information of the video file;
optionally, the video file needs to have a corresponding play file when online, so it needs to check whether the CDN service has already delivered the corresponding play file, and the play file records file delivery information, for example, whether the record is delivered to the front end, which is not limited in the present invention.
Optionally, the database may store a copyright table, where the copyright table records specific copyright information, and if the playing is prohibited at all ends, the video file is not allowed to be online, which is not limited by the present invention.
Step 3.2, if the file issuing information and the copyright information are verified, modifying the video state of the video file into an online state, and uploading the video file;
optionally, the present invention does not limit the specific process of the verification, and any feasible manner is within the protection scope of the present invention.
Optionally, the video status refers to an online status of a current video file, and includes an offline status, an online status, and a status that the current video file was online and offline, which is not limited in this disclosure.
The present invention is not limited to the way of modifying the video status, and any feasible way falls into the protection scope of the present invention.
Alternatively, online video files are also needed due to the search service, recommendation service, general service, and the like of the front end. Therefore, the corresponding front-end device can be notified after the video file is online, which is not limited by the present invention.
Step 3.3, if at least one of the file issuing information and the copyright information is not verified, judging whether the number of times of executing corresponding online service aiming at the video file is greater than a preset number of times; if yes, terminating the online video file; otherwise, returning to execute the step of executing the corresponding timing scheduling service aiming at the video file.
Optionally, in the present invention, the step of executing the timing scheduling service for the video file is executed in a return manner in three cases, as follows:
in case one, the file delivery information is not verified and the copyright information is not verified.
And in the second situation, the file issuing information is verified and the copyright information is not verified.
And in the third case, the file issuing information is not verified and the copyright information is verified.
Optionally, executing the corresponding online service for the video file refers to: one video file may correspond to a one-time online service, and when an online notification for a specific one of the video files is received, the one-time online service may be executed, which is not limited in the present invention.
Optionally, before the step of executing the corresponding timing scheduling service for the video file is returned each time, a timing may be delayed first, and then the corresponding timing scheduling service is executed. Therefore, the file issuing information and the copyright information can be updated and verified after enough time, the efficiency of the method is improved, and the method is not limited.
Optionally, in the process of executing the step of executing the corresponding timing scheduling service for the video file each time, the number of cycles may be continuously recorded, and if the number of cycles is greater than the preset number, it indicates that the file delivery information and the copyright information of a specific video file have been repeatedly verified for multiple times, but none of the file delivery information and the copyright information passes, and the verification may not be continued, so that the online of the video file may be terminated.
Optionally, the cycle number may be determined by the number of times of executing the corresponding online service, or may be determined by the verification file delivery information and the copyright information, because the online service covers the verification file delivery information and the copyright information, which is not limited in the present invention.
Optionally, it may be determined whether the execution times are greater than a preset time in the process of returning to execute the step of executing the corresponding timing scheduling service for the video file each time, or it may actively acquire the execution times at regular time or at irregular time and determine whether the execution times are greater than the preset time in an active determination manner, which is not limited in the present invention.
Optionally, after terminating the online video file, another video file may be obtained, and the scheme of the present invention is returned to be executed, which is not limited by the present invention.
With reference to the previous embodiment, in some optional embodiments, after the step of returning to execute the corresponding timing scheduling service for the video file, the method further includes: and sending a notice that the verification fails to pass to the preset device.
Optionally, the preset device may be a communication device directed to an editor or other administrator, for example, a mobile phone of the editor, which is not limited in the present invention.
Optionally, a notification that the verification fails is sent to the editor, so that the editor can timely know that the video file fails to be verified and intervene in time. For example, after the verification is determined to be passed manually, the video file is online manually, which is not limited by the invention.
S400, determining whether the video file is a main video file of the interactive drama video, and if so, executing S500;
optionally, the present invention does not limit the manner of determining whether the video file is the main video file of the interactive drama video, and any feasible manner falls within the scope of the present invention.
For example, in combination with the embodiment shown in fig. 1, in some optional embodiments, the determining in S400 whether the video file is a main video file of an interactive drama video includes:
and checking the type flag bit of the video file, if the type flag bit is a main video flag value, determining that the video file is a main video file of the interactive drama video, and otherwise, determining that the video file is not the main video file of the interactive drama video.
Optionally, the configuration file of the video file may include a plurality of fields, and the fields include a plurality of flag bits, including the type flag bit. If the values on the type identification bits are different, the types of the videos corresponding to the video file are identified to be different, which is not limited by the present invention.
S500, at least one branch video file corresponding to the video file is searched, and the corresponding online service is executed aiming at the branch video file.
Optionally, if it is determined that a specific video file is a main video file, after the main video file is online, other branch video files of the main video file may be online, which is not limited in the present invention.
Optionally, the present invention may search all the branch video files of a specific main video file at one time, and then execute corresponding online services for all the branch video files, which is not limited in the present invention.
Optionally, if it is determined that the video file is not the main video file of the interactive drama video, ending the online of the video.
Optionally, the ending of the online of the current video here means: if the video file is already online, the process may be ended, so that the scheme of the present invention may be returned to be executed again.
As shown in fig. 2, the present invention provides a video online apparatus, including: a file obtaining unit 100, a scheduling service unit 200, an online service unit 300, a main video determining unit 400, and a branch video unit 500;
the file obtaining unit 100 is configured to perform obtaining a video file to be online and determine whether the video file meets an online condition;
the scheduling service unit 200 is configured to execute, if it is determined that the video file meets an online condition, triggering a corresponding timing scheduling service for the video file, so that the timer service sends an online notification when it is determined that a difference between a current time and a preset online time is not greater than a preset time threshold;
the online service unit 300 is configured to execute, when an online notification of the timing scheduling service is received, a corresponding online service for the video file;
the main video determining unit 400 is configured to determine whether the video file is a main video file of an interactive drama video, and if so, trigger the branch video unit 500;
the branch video unit 500 is configured to search for at least one branch video file corresponding to the video file, and execute the corresponding online service for the branch video file.
In some optional embodiments, in combination with the embodiment shown in fig. 2, the online service unit 300 is specifically configured to perform:
when receiving the on-line notification of the timing scheduling service, verifying the file issuing information and the copyright information of the video file;
if the file issuing information and the copyright information are verified, modifying the video state of the video file into an online state, and uploading the video file;
if at least one of the file issuing information and the copyright information is not verified, judging whether the number of times of executing corresponding online service aiming at the video file is greater than a preset number of times; if yes, terminating the online video file; otherwise, returning to execute the step of executing the corresponding timing scheduling service aiming at the video file.
In combination with the previous embodiment, in some optional embodiments, the online service unit 300 is specifically configured to perform: and after the step of executing the corresponding timing scheduling service for the video file is returned, sending a notice that the verification fails to pass to a preset device.
Optionally, in some optional embodiments, when the online service unit 300 executes the step of executing the corresponding timing scheduling service for the video file, it is specifically configured to execute:
monitoring the difference between the current moment and the preset online moment;
when the difference is not larger than the preset time threshold, sending the online notification aiming at the video file;
when the difference is larger than the preset time threshold, continuing to monitor the difference between the current moment and the preset online moment until the online notification aiming at the video file is sent out.
In some alternative embodiments, in combination with the embodiment shown in fig. 2, the apparatus further comprises: a policy pre-configuration unit;
the policy pre-configuration unit is configured to execute pre-configuration of a corresponding online policy for the video file;
the on-line strategy is as follows: a timing automatic online strategy, an automatic online strategy after the three audits pass, a periodic cycle online strategy or a main video online strategy.
With reference to the previous embodiment, in some optional embodiments, the file obtaining unit 100 is specifically configured to perform:
obtaining the video file to be online;
checking the online policy of the video file;
if the on-line strategy is the timing automatic on-line strategy, checking a status flag bit of the video file when the timing time of the timing automatic on-line strategy is reached; if the status flag bit of the video file is the status value to be on-line, determining that the video file meets the on-line condition; if the status flag bit of the video file is an off-line status value, determining that the video file does not conform to an on-line condition;
if the online strategy is the automatic online strategy after the three audits are passed, determining whether a three audits pass notification aiming at the video file is received; if the three-trial passing notice is received, determining that the video file meets the online condition; if the three-audit pass notice is not received, determining that the video file does not meet the online condition currently;
if the on-line strategy is the periodic cycle on-line strategy, determining whether the current time is the preset time of the periodic cycle on-line strategy; if the current moment is the preset moment of the periodic cycle online strategy, determining that the video file meets the online condition; if the current time is not the preset time of the periodic cycle online strategy, determining that the video file does not meet the online condition currently;
if the online strategy is the main video online strategy, judging whether the video file is recorded in a preset interactive drama video configuration table, if so, determining that the video file meets online conditions, otherwise, determining that the video file does not meet the online conditions.
With reference to the embodiment shown in fig. 2, in some optional embodiments, when the main video determining unit 400 performs determining whether the video file is a main video file of an interactive drama video, the main video determining unit is specifically configured to perform:
and checking the type flag bit of the video file, if the type flag bit is a main video flag value, determining that the video file is a main video file of the interactive drama video, and otherwise, determining that the video file is not the main video file of the interactive drama video.
The present invention provides a storage medium having stored thereon a program which, when executed by a processor, implements a video online method as recited in any one of the above.
As shown in fig. 3, the present invention provides an electronic device 70, wherein the electronic device 70 comprises at least one processor 701, at least one memory 702 connected to the processor 701, and a bus 703; the processor 701 and the memory 702 complete communication with each other through the bus 703; the processor 701 is configured to call the program instructions in the memory 702 to execute any of the above-described video online methods.
In this application, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
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.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for video online, comprising:
acquiring a video file to be online, and determining whether the video file meets an online condition;
if the video file is determined to meet the online condition, triggering corresponding timing scheduling service aiming at the video file so that the timer service can send an online notification when the difference between the current time and the preset online time is determined to be not more than a preset time threshold value;
when an online notification of the timing scheduling service is received, executing corresponding online service aiming at the video file;
and determining whether the video file is a main video file of an interactive drama video, if so, searching at least one branch video file corresponding to the video file, and executing the corresponding online service aiming at the branch video file.
2. The method according to claim 1, wherein when receiving an online notification of the timing scheduling service, executing a corresponding online service for the video file comprises:
when receiving the on-line notification of the timing scheduling service, verifying the file issuing information and the copyright information of the video file;
if the file issuing information and the copyright information are verified, modifying the video state of the video file into an online state, and uploading the video file;
if at least one of the file issuing information and the copyright information is not verified, judging whether the number of times of executing corresponding online service aiming at the video file is greater than a preset number of times; if yes, terminating the online video file; otherwise, returning to execute the step of executing the corresponding timing scheduling service aiming at the video file.
3. The method of claim 2, wherein after said step of returning to perform said corresponding said timing scheduling service for said video file, said method further comprises: and sending a notice that the verification fails to pass to the preset device.
4. The method according to claim 2, wherein said step of returning to execute said corresponding said timing scheduling service for said video file comprises:
monitoring the difference between the current moment and the preset online moment;
when the difference is not larger than the preset time threshold, sending the online notification aiming at the video file;
when the difference is larger than the preset time threshold, continuing to monitor the difference between the current moment and the preset online moment until the online notification aiming at the video file is sent out.
5. The method of claim 1, further comprising: configuring a corresponding online strategy for the video file in advance;
the on-line strategy is as follows: a timing automatic online strategy, an automatic online strategy after the three audits pass, a periodic cycle online strategy or a main video online strategy.
6. The method of claim 5, wherein obtaining the video file to be online and determining whether the video file meets an online condition comprises:
obtaining the video file to be online;
checking the online policy of the video file;
if the on-line strategy is the timing automatic on-line strategy, checking a status flag bit of the video file when the timing time of the timing automatic on-line strategy is reached; if the status flag bit of the video file is the status value to be on-line, determining that the video file meets the on-line condition; if the status flag bit of the video file is an off-line status value, determining that the video file does not conform to an on-line condition;
if the online strategy is the automatic online strategy after the three audits are passed, determining whether a three audits pass notification aiming at the video file is received; if the three-trial passing notice is received, determining that the video file meets the online condition; if the three-audit pass notice is not received, determining that the video file does not meet the online condition currently;
if the on-line strategy is the periodic cycle on-line strategy, determining whether the current time is the preset time of the periodic cycle on-line strategy; if the current moment is the preset moment of the periodic cycle online strategy, determining that the video file meets the online condition; if the current time is not the preset time of the periodic cycle online strategy, determining that the video file does not meet the online condition currently;
if the online strategy is the main video online strategy, judging whether the video file is recorded in a preset interactive drama video configuration table, if so, determining that the video file meets online conditions, otherwise, determining that the video file does not meet the online conditions.
7. The method of claim 1, wherein the determining whether the video file is a main video file of an interactive drama video comprises:
and checking the type flag bit of the video file, if the type flag bit is a main video flag value, determining that the video file is a main video file of the interactive drama video, and otherwise, determining that the video file is not the main video file of the interactive drama video.
8. A video cable apparatus, comprising: the system comprises a file obtaining unit, a scheduling service unit, an online service unit, a main video determining unit and a branch video unit;
the file obtaining unit is configured to obtain a video file to be online and determine whether the video file meets an online condition;
the scheduling service unit is configured to execute a corresponding timing scheduling service aiming at the video file if the video file is determined to meet the online condition, so that the timer service sends an online notification when the difference between the current time and a preset online time is determined to be not greater than a preset time threshold;
the online service unit is configured to execute corresponding online service aiming at the video file when an online notification of the timing scheduling service is received;
the main video determining unit is configured to determine whether the video file is a main video file of an interactive drama video, and if so, trigger the branch video unit;
the branch video unit is configured to search at least one branch video file corresponding to the video file, and execute the corresponding online service for the branch video file.
9. A storage medium having a program stored thereon, wherein the program, when executed by a processor, implements the video online method of any one of claims 1 to 7.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to perform the video online method of any of claims 1-7.
CN202111120273.6A 2021-09-24 2021-09-24 Video online method and device, storage medium and electronic equipment Pending CN113852873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111120273.6A CN113852873A (en) 2021-09-24 2021-09-24 Video online method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111120273.6A CN113852873A (en) 2021-09-24 2021-09-24 Video online method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113852873A true CN113852873A (en) 2021-12-28

Family

ID=78979683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111120273.6A Pending CN113852873A (en) 2021-09-24 2021-09-24 Video online method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113852873A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181867A1 (en) * 2016-04-21 2017-10-26 中兴通讯股份有限公司 Method of acquiring video descriptor file, content distribution server, set-top box, and system
CN109151258A (en) * 2018-09-30 2019-01-04 北京亿幕信息技术有限公司 A kind of cloud cuts method of video distribution and system
CN110267118A (en) * 2019-06-18 2019-09-20 北京奇艺世纪科技有限公司 A kind of video distribution method and apparatus and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181867A1 (en) * 2016-04-21 2017-10-26 中兴通讯股份有限公司 Method of acquiring video descriptor file, content distribution server, set-top box, and system
CN109151258A (en) * 2018-09-30 2019-01-04 北京亿幕信息技术有限公司 A kind of cloud cuts method of video distribution and system
CN110267118A (en) * 2019-06-18 2019-09-20 北京奇艺世纪科技有限公司 A kind of video distribution method and apparatus and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109189665B (en) Method and device for recording, replaying and automatically testing data
US20050065987A1 (en) System for archive integrity management and related methods
CN108710681B (en) File acquisition method, device, equipment and storage medium
CN107748790B (en) Online service system, data loading method, device and equipment
CN107453889A (en) The method for uploading and device of a kind of journal file
US9112825B2 (en) Performance monitoring of a media player launched by a web browser
CN105354126A (en) Method and device for monitoring exception in page script file
US8407329B2 (en) Reporting information to a network
CN111046310A (en) Page processing method, device, server and computer readable storage medium
CN112737856B (en) Link tracking method and device, storage medium and electronic device
CN113342689A (en) Automatic testing method and device for interface, electronic equipment and storage medium
CN111711544A (en) Link dial testing method and device, electronic equipment and storage medium
US11715496B2 (en) Systems and methods for processing video data
CN109150587B (en) Maintenance method and device
CN113852873A (en) Video online method and device, storage medium and electronic equipment
CN112148920B (en) Data management method
CN112073219B (en) Log collection system, method, device and storage medium
US20170286440A1 (en) Method, business processing server and data processing server for storing and searching transaction history data
CN109327349B (en) Method, medium, device and system for limiting block chain account during creation
CN110597794A (en) Data processing method and device and electronic equipment
CN112995648B (en) Internet television full-flow fault diagnosis method and device and computing equipment
CN111488252B (en) Flow playback method and device
CN111106962B (en) Streaming media fault monitoring method and device, electronic equipment and storage medium
CN108449224B (en) Data acquisition method, device, equipment and storage medium
CN116881089B (en) Buried point and buried point management method for calling chain state feedback state

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