[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114979757A - Video distribution method, device, equipment and storage medium - Google Patents

Video distribution method, device, equipment and storage medium Download PDF

Info

Publication number
CN114979757A
CN114979757A CN202210626330.6A CN202210626330A CN114979757A CN 114979757 A CN114979757 A CN 114979757A CN 202210626330 A CN202210626330 A CN 202210626330A CN 114979757 A CN114979757 A CN 114979757A
Authority
CN
China
Prior art keywords
video
release
publishing
user
tolerance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210626330.6A
Other languages
Chinese (zh)
Other versions
CN114979757B (en
Inventor
赵芮
张晓彤
李铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210626330.6A priority Critical patent/CN114979757B/en
Publication of CN114979757A publication Critical patent/CN114979757A/en
Application granted granted Critical
Publication of CN114979757B publication Critical patent/CN114979757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • 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
    • H04N21/26208Content 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 the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen

Landscapes

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

Abstract

The embodiment of the disclosure provides a video publishing method, a video publishing device, video publishing equipment and a storage medium. The method comprises the following steps: responding to a video publishing operation, and acquiring a user publishing tolerance parameter; selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality; and executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy. By adopting the technical scheme, the video quality and the uploading time of the video to be published are balanced according to the publishing tolerance parameter of the user, and the video publishing success rate is improved.

Description

Video distribution method, device, equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of multimedia, and in particular, to a video publishing method, device, equipment and storage medium.
Background
As technology has evolved, more and more users have begun to publish short videos in applications. When a user wants to release a video, the user can shoot or import a section of video, edit the video and then upload the video. However, if the video uploading time is too long, the enthusiasm of the user for publishing the video is reduced, so that the uploading of the video is stopped by the user before the video is successfully published.
Disclosure of Invention
The disclosure provides a video publishing method, a video publishing device, video publishing equipment and a storage medium, so that video image quality and uploading time of a video to be published are balanced according to a user publishing tolerance parameter, and the video publishing success rate is improved.
In a first aspect, an embodiment of the present disclosure provides a video publishing method, including:
responding to video publishing operation, and acquiring a user publishing tolerance parameter;
selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
and executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
In a second aspect, an embodiment of the present disclosure further provides a video publishing method, including:
receiving a parameter acquisition request sent by a client in response to a video publishing operation, and inquiring a user publishing tolerance parameter corresponding to the parameter acquisition request;
returning the user release tolerance parameter to the client, so that the client selects a target video release strategy according to the user release tolerance parameter and executes a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality;
and receiving and storing a target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
In a third aspect, an embodiment of the present disclosure further provides a video distribution apparatus, including:
the information acquisition module is used for responding to video publishing operation and acquiring a user publishing tolerance parameter;
the strategy selection module is used for selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
and the video publishing module is used for executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
In a fourth aspect, an embodiment of the present disclosure further provides a video distribution apparatus, including:
the query module is used for receiving a parameter acquisition request sent by a client in response to a video publishing operation and querying a user publishing tolerance parameter corresponding to the parameter acquisition request;
the return module is used for returning the user release tolerance parameter to the client so that the client can select a target video release strategy according to the user release tolerance parameter and execute a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality;
and the updating module is used for receiving and storing the target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a video distribution method as described in embodiments of the disclosure.
In a sixth aspect, the disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the video distribution method according to the disclosed embodiments.
According to the embodiment of the disclosure, the user release tolerance parameter is obtained by responding to the video release operation; selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality; according to the target video publishing strategy, a video publishing process is executed on the target video corresponding to the video publishing operation, the problem of low video publishing success rate caused by long video uploading time is solved, the video quality and uploading time of the video to be published are balanced according to the user publishing tolerance parameter, and the video publishing success rate is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a video publishing method provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a policy selection process provided by an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another video distribution method provided by the embodiment of the present disclosure;
fig. 4 is a flowchart of an overall implementation of video distribution provided by the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a video distribution apparatus provided in an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another video distribution apparatus provided in the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
It is understood that, before the technical solutions disclosed in the embodiments of the present disclosure are used, the user should be informed of the type, the use range, the use scene, etc. of the personal information related to the present disclosure in a proper manner according to the relevant laws and regulations and obtain the authorization of the user.
For example, in response to receiving a user's active request, prompt information is sent to the user to explicitly prompt the user that the requested operation to be performed would require acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the disclosed technical solution, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and not limiting, and other ways of satisfying relevant laws and regulations may be applied to the implementation of the present disclosure.
Fig. 1 is a schematic flow diagram of a video distribution method provided by an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a situation where a client selects a video distribution policy according to a user distribution tolerance parameter to distribute a video, and the method may be executed by a video distribution apparatus, and the apparatus may be implemented in a form of software and/or hardware, and optionally, implemented by an electronic device, which may be a client and used in cooperation with a server. As shown in fig. 1, the method includes:
and S110, responding to the video publishing operation, and acquiring a user publishing tolerance parameter.
The user publishing tolerance parameter refers to the maximum publishing time length acceptable by a user in the video publishing process, and if the maximum publishing time length exceeds the maximum publishing time length, the video publishing experience of the user is influenced, the success rate of video publishing is reduced, and the video contribution amount of the user is reduced. Of course, the user publishing tolerance parameter may also include the tolerance of the user to other dimensions of video publishing, such as the tolerance to video definition. The process of selecting the video distribution strategy according to the tolerance of other dimensions can be analogized to the process of selecting the video distribution strategy according to the tolerance of the distribution time length.
In this embodiment, when a user clicks an upload video button on a client, the client responds to a video publishing operation, acquires an identifier of a user group where the user is located, generates a parameter acquisition request, and sends the parameter acquisition request to a server, so that the server queries the maximum tolerable publishing duration of the user. The client performs login management on the user, so that the identifier of the user group where the user is located can be obtained when the user logs in the client, a parameter obtaining request is generated and sent to the server, and the user release tolerance parameter returned by the server is cached locally.
If all the user release tolerance parameters issued by the server are stored in the local storage of the client in advance, after the user group identification is obtained, the user release tolerance parameters corresponding to the user group identification can be inquired from the local cache.
Optionally, the user release tolerance parameter includes: and integrally issuing the tolerant time length information, or issuing the tolerant time length information by the user group. The overall release tolerance time length information is obtained by calculation according to video release records of a large number of users and represents the video release time length which can be tolerated by the users in a large range; the user group publishing tolerance time length information is calculated according to the video publishing records of a small number of users, and represents the video publishing time length which can be tolerated by the users in a relatively small range.
In the embodiment, the server divides the users logging in the client into two types according to whether the videos are published or not, and for the users who do not publish the videos, the publishing tolerance duration of the user group cannot be accurately estimated according to the historical video publishing records, so that the whole publishing tolerance duration of all the users in the client can be used for replacing the publishing tolerance duration. That is to say, the video distribution duration that most users in the client can tolerate is taken as the distribution tolerance duration of the user who initially distributes the video. For users who have issued videos, the users can be grouped according to preset rules such as video issuing behaviors of the users, each user group comprises at least one user, and then the user group issuing tolerance time of each user group is updated by analyzing historical video issuing records of each user group on the basis of the whole issuing tolerance time. Therefore, the server stores the whole release tolerance duration information and the user group release tolerance duration information corresponding to each user group identifier in advance.
When a client requests a server for a user to issue tolerance parameters, if the server inquires corresponding user group issuing tolerance duration information through a user group identifier, the user group issuing tolerance duration information is returned to the client as the user issuing tolerance parameters; and if the server does not inquire the user group release tolerance time length information corresponding to the user group identification, returning the whole release tolerance time length information as a user release tolerance parameter to the client.
S120, selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality.
In this embodiment, a plurality of types of video distribution strategies, such as a timeout optimization strategy, a parallel upload strategy, a video quality strategy, and the like, are set in advance in combination with the user distribution tolerance parameter. After the user release tolerance parameter is determined, a video image quality strategy can be selected according to the user release tolerance parameter to process a video to be released, and a timeout optimization strategy or a parallel uploading strategy can be selected according to needs to be matched with the video image quality strategy for use. In other words, the target video distribution strategy at least comprises a video quality strategy. Each video quality policy corresponds to a specified video quality, for example, 720P, 1080P, or the like.
Optionally, the selecting a target video distribution policy according to the user distribution tolerance parameter includes: determining video uploading duration corresponding to each video image quality strategy according to the video characteristics of the target video to be published and the equipment performance parameters; selecting a video image quality strategy with the video uploading duration being less than the user release tolerance parameter, and adding the video image quality strategy into a candidate strategy set; and taking the video quality strategy with the optimal quality in the candidate strategy set as a target video distribution strategy.
In this embodiment, the video characteristics may be information reflecting the size of the video, such as the code rate and the playing duration of the video, and the device performance parameters may be information including the device coding capability. As shown in fig. 2, after the user selects a target video to be published, video characteristics of the target video and performance parameters of a device processing the target video may be acquired. According to the video characteristics and the equipment performance parameters, calculating the video uploading time corresponding to each video image quality strategy, namely, calculating the time required for transcoding the target video into the video image quality corresponding to each video image quality strategy and uploading. Because the user release tolerance parameter is the maximum release duration acceptable by the user, the successful release of the video can be ensured by using the video quality strategy of which the video uploading duration is less than the user release tolerance parameter, and on the basis, in order to improve the video picture quality, the video quality strategy with the optimal quality can be selected as the target video release strategy.
It should be noted that, since recording a high-definition video has a high requirement on the performance of the device itself, if the performance of the device is poor, the transcoding process of the video is very blocked, and the video uploading time is further prolonged, so that the video uploading time corresponding to each video quality policy needs to be calculated by combining the device performance parameters and the video characteristics.
Optionally, the method further includes: if the user release tolerance parameter is larger than a first threshold value, taking an overtime optimization strategy as a target video release strategy; and if the user release tolerance parameter is smaller than a second threshold value, taking the parallel uploading strategy as a target video release strategy.
In this embodiment, in order to further improve the video publishing success rate, other video publishing strategies may be selected according to the user publishing tolerance parameter, and the video publishing strategies and the selected video quality strategies jointly act on the target video. For users with high release tolerance, that is, users with user release tolerance parameters greater than the first threshold, an overtime optimization strategy can be adopted to further improve the video release success rate. Illustratively, if the original release timeout strategy is that the release duration exceeds 300s, the release failure is returned, and if the user group release tolerance duration is 500s and is greater than the first threshold 400s, the release timeout strategy may be adjusted to be that the release duration exceeds 500s, the release failure is returned. For the users with low release tolerance, namely the users with the user release tolerance parameters smaller than the second threshold, a parallel uploading strategy can be adopted, the network speed and the user group release tolerance duration information are combined, the target videos are released in parallel, the video uploading speed is shortened, the video release duration is reduced, and the video quality is improved.
S130, executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
In this embodiment, according to the selected video quality policy, corresponding transcoding processing may be performed on the target video to be released, so that the quality of the target video is consistent with the video quality of the selected video quality policy. If a timeout optimization policy is selected, the publication timeout policy may be adjusted according to the timeout time specified in the policy. And if the parallel uploading strategy is selected, the transcoded target video is uploaded in parallel according to a parallel processing mode specified in the strategy.
Optionally, after the video publishing process is executed on the target video corresponding to the video publishing operation according to the target video publishing policy, the method further includes: and storing the video release record of the target video, and updating the overall release tolerance duration information and the user group release tolerance duration information at regular time according to the stored video release record.
In this embodiment, since the user group release tolerance duration may change with changes in time, environment, and other factors, the entire release tolerance duration information and the user group release tolerance duration information need to be updated periodically to maintain the accuracy of the user release tolerance parameter. Based on this, if the client has the capability of calculating the user release tolerance parameter, after the client executes the video release process on the target video, the client stores the video release record of the target video in the local database, and when the release tolerance time update cycle arrives, for example, a month passes since the last time the user release tolerance parameter is calculated, the client acquires the video release record in the specified time period from the local database, and recalculates the whole release tolerance time information and the user group release tolerance time information.
Or if the client cannot calculate the user release tolerance parameter, the client sends the video release record of the target video to the database of the server for storage after executing the video release process on the target video, so that the server obtains the video release record in the specified time period from the database when the release tolerance time update cycle is reached, and recalculates the whole release tolerance time information and the user group release tolerance time information.
According to the technical scheme of the embodiment of the disclosure, the user release tolerance parameter is obtained by responding to the video release operation; selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality; according to the target video publishing strategy, a video publishing process is executed on the target video corresponding to the video publishing operation, the problem of low video publishing success rate caused by long video uploading time is solved, the video quality and uploading time of the video to be published are balanced according to the user publishing tolerance parameter, and the video publishing success rate is improved.
Fig. 3 is a schematic flow chart of another video publishing method provided by the embodiment of the present disclosure, where the embodiment of the present disclosure is suitable for a situation where a server returns a user publishing tolerance parameter to a client to select a video publishing policy for video publishing, and the method may be executed by a video publishing apparatus, and the apparatus may be implemented in a form of software and/or hardware, and optionally implemented by an electronic device, and the electronic device may be a server and is used in cooperation with the client. As shown in fig. 3, the method includes:
s310, receiving a parameter acquisition request sent by a client in response to a video publishing operation, and inquiring a user publishing tolerance parameter corresponding to the parameter acquisition request.
The parameter obtaining request is generated by the client according to the identification of the user group where the user is located after the user clicks an upload video button on the client or logs in the client, and is used for obtaining the tolerance parameter issued by the user of the user group to the server. The user release tolerance parameter refers to the maximum video release duration acceptable by a user, and when the maximum video release duration exceeds the maximum video release duration, the release enthusiasm of the user is consumed, so that the user may interrupt video release or quit the client, and the video release is failed.
Optionally, the receiving client, in response to a parameter obtaining request sent by a video publishing operation, queries a user publishing tolerance parameter corresponding to the parameter obtaining request, and includes: determining a user group identifier according to the parameter acquisition request; inquiring a release tolerance time list, and acquiring user group release tolerance time information matched with the user group identification as a user release tolerance parameter; and if the user group release tolerance time length information matched with the user group identification does not exist in the release tolerance time length list, taking the whole release tolerance time length information as a user release tolerance parameter.
In this embodiment, the server calculates in advance the entire distribution tolerance duration information corresponding to all users who have distributed the video at the client and the user group distribution tolerance duration information of each user group, and establishes a distribution tolerance duration list according to each user group identifier and the corresponding user group distribution tolerance duration information. After receiving a parameter acquisition request sent by a client, analyzing the parameter acquisition request according to a specified format to acquire a user group identifier. And then, inquiring a release tolerance time length list by using the user group identification, and judging whether the release tolerance time length list has user group release tolerance time length information matched with the user group identification.
If the user group publishing tolerance time length exists, the user group publishing tolerance time length information is calculated according to the recent video publishing record of the user group, and can be used as a user publishing tolerance parameter to represent the tolerance of the user to the video publishing time length. If the user group release tolerance duration information corresponding to the user group identification does not exist in the release tolerance duration list, it indicates that the user has not released the video at the client, and at this time, the video release duration which most users in the client can tolerate is used as the maximum release duration which can be accepted by the user for primarily releasing the video, that is, the whole release tolerance duration information recently calculated by the client is used as the user release tolerance parameter.
And S320, returning the user release tolerance parameter to the client so that the client selects a target video release strategy according to the user release tolerance parameter and executes a video release process on a target video to be released.
In this embodiment, after the server determines the user release tolerance parameter of the user, the server returns the information to the client that sends the parameter acquisition request, so that the client determines the maximum video release duration that the user can tolerate according to the information, and selects a video quality policy with the optimal video quality as the target video release policy from a plurality of video quality policies in which the video release duration is less than the user release tolerance parameter. The target video distribution strategy corresponds to the specified video quality. Or, the overtime optimization strategy or the parallel uploading strategy can be selected according to the tolerance parameter issued by the user and used together with the video image quality strategy.
S330, receiving and storing a target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
In the embodiment, after the client executes the video publishing process on the target video, the video publishing record of the target video is sent to the server, the server stores the video publishing record into the database, when the updating period of the user publishing tolerance parameter is reached, the video publishing record in the specified time period is obtained from the database, and the whole publishing tolerance duration information and the user group publishing tolerance duration information of each user group are recalculated to keep the accuracy of the user publishing tolerance parameter.
Optionally, updating the user release tolerance parameter at regular time according to the video release record, including: responding to the parameter timing updating request, acquiring all video publishing records in a first preset time period, and calculating publishing duration information of each successfully published video; calculating the release success rate corresponding to the release time length information of each successfully released video, and adding the release time length information with the release success rate larger than a specified threshold value into a first set; and taking the maximum value of the release duration information in the first set as the whole release tolerance duration information.
In this embodiment, when the user release tolerance parameter update time is reached, all video release records in the latest month can be obtained from the database for the whole release tolerance duration information, and the records are divided into successfully released videos and unsuccessfully released videos. And calculating the time difference between the moment when the video is successfully published and the moment when the user clicks the publishing button as publishing duration information of each successfully published video. And calculating the time difference between the video unsuccessfully published buried point and the time when the user clicks the publishing button as publishing duration information of each unsuccessfully published video. The embedded point where the video is not successfully published can be the time when the client exits or the time when the background is switched from the client. And for the distribution time length t of each successfully distributed video, counting the total number m1 of the successfully distributed videos with the distribution time length equal to t and the total number m2 of the successfully distributed videos and the unsuccessfully distributed videos with the distribution time length equal to t, and taking the ratio of m1 to m2 as the distribution success rate corresponding to the distribution time length t. And adding the publishing duration information corresponding to the publishing success rate which is greater than the specified threshold value p into the first set, and selecting the maximum value of the publishing duration from the first set as the whole publishing tolerance duration information.
The first preset time period may be one month, or 2 months, or other time periods. The specified threshold may be a large value, such as 80%, to ensure that all publication durations in the first set are approximately sufficient to meet the publication tolerances of all users. When the overall release tolerance duration information is selected, the maximum value of the release duration in the first set is not limited to be selected, and the minimum value of the release duration or other release durations can be selected according to needs.
Optionally, updating the user release tolerance parameter at regular time according to the video release record, including: responding to the parameter timing updating request, respectively acquiring all video release records of each user group in a second preset time period, and forming a second set corresponding to each user group; for each second set, calculating the waiting time length information of each unsuccessfully issued video and the issuing time length information of each successfully issued video; for each second set, taking the minimum value of the waiting time length information as a lower limit of the tolerance time length, and forming a third set by the release time length information smaller than the lower limit of the tolerance time length; and taking the maximum value of the release duration information in each third set as the user group release tolerance duration information of each user group.
In this embodiment, when the user distribution tolerance parameter update time is reached, in order to update the user group distribution tolerance duration information, all video distribution records in the last month may be acquired from the database for each user group, so as to form a second set. For each second set, according to the formula: the video publishing time length is equal to the time when the video is successfully published, and the time when the user clicks the publishing button; the waiting time of the unsuccessfully issued videos is the time of quitting the client (or the time of switching the background from the client), and the time of clicking the issuing button by the user, and the waiting time information of each unsuccessfully issued video and the issuing time information of each successfully issued video are calculated. Because the waiting time of the video which is failed to be published may be the publishing time which cannot be tolerated by the user, the minimum value of the waiting time of the video which is not successfully published can be used as the lower limit of the user tolerance time, namely T Lower limit of tolerated duration Min { the waiting duration for unsuccessful release of video }. Therefore, all the publication duration information smaller than the lower limit of the user tolerance duration is the publication duration which can be tolerated by the user, and the maximum value of the publication duration in the publication duration information can be selected as the publication tolerance duration information of the user group, namely T User group publication tolerance duration Max { t | t ∈ release duration for which video has been successfully released, and t<T Lower limit of tolerated duration }。
If the database has no video publishing record of the user group in the last month or only a few video publishing records which are failed to publish in the last month, the video publishing records before the user group can be continuously obtained, and the publishing tolerance duration information of the user group is calculated. Or, it is not necessary to calculate the user group publishing tolerance time length information of the user group, and the whole publishing tolerance time length information is subsequently used as the user group publishing tolerance time length information. The second preset time period may be the same as or different from the first preset time period.
According to the technical scheme of the embodiment, a parameter acquisition request sent by a client in response to a video publishing operation is received, a user publishing tolerance parameter corresponding to the parameter acquisition request is inquired and returned to the client, so that the client selects a target video publishing strategy for specifying video quality according to the user publishing tolerance parameter and executes a video publishing process on a target video to be published; the method comprises the steps of receiving and storing target video release records sent by a client, updating user release tolerance parameters at regular time according to the video release records, solving the problem of low video release success rate caused by long video uploading time, helping the client to balance the video quality and uploading time of the video to be released by accurately calculating the user release tolerance parameters, and improving the video release success rate.
Fig. 4 is a flowchart of an overall implementation of video distribution provided by an embodiment of the present disclosure, and as shown in fig. 4, a server includes: the system comprises a user portrait platform used for calculating release tolerance duration and a database used for storing video release records of users. The method comprises the following steps:
1) and the server calculates the overall release tolerance time length and the user group release tolerance time length according to the video release records stored in the database.
2) And the client responds to the video publishing operation and sends a parameter acquisition request carrying the user group identification to the server.
3) And the server inquires a release tolerance duration list according to the user group identification in the parameter acquisition request, acquires the user release tolerance parameter and feeds back the user release tolerance parameter to the client.
And if the user group release tolerance time length corresponding to the user group identification exists in the release tolerance time length list, returning the user group release tolerance time length to the client as a user release tolerance parameter, and otherwise, returning the whole release tolerance time length to the client as the user release tolerance parameter.
4) And the client selects a video image quality strategy with the video uploading duration less than the user release tolerance parameter and the optimal video image quality as a target video release strategy according to the user release tolerance parameter.
The client can also select an overtime optimization strategy or a parallel uploading strategy according to tolerance parameters issued by the user, and the overtime optimization strategy or the parallel uploading strategy is matched with the video image quality strategy for use.
5) And the client executes a video publishing flow to the target video to be published according to the selected target video publishing strategy and sends the video publishing record of the target video to the server.
6) And the server stores the video release record into the database, and recalculates the whole release tolerance duration and the user group release tolerance duration of each user group according to the video release record in the designated time period in the database when the user release tolerance parameter update cycle arrives.
Fig. 5 is a schematic structural diagram of a video distribution apparatus according to an embodiment of the present disclosure, and as shown in fig. 5, the apparatus includes: an information acquisition module 510, a policy selection module 520, and a video distribution module 530.
An information obtaining module 510, configured to obtain a user publishing tolerance parameter in response to a video publishing operation;
a policy selection module 520, configured to select a target video distribution policy according to the user distribution tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
the video publishing module 530 is configured to execute a video publishing process on a target video corresponding to the video publishing operation according to the target video publishing policy.
According to the technical scheme provided by the embodiment of the disclosure, the user release tolerance parameter is obtained by responding to the video release operation; selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality; according to the target video publishing strategy, a video publishing process is executed on the target video corresponding to the video publishing operation, the problem that the video publishing success rate is low due to long video uploading time is solved, the video quality and uploading time of the video to be published are balanced according to the user publishing tolerance parameter, and the video publishing success rate is improved.
In the above scheme, the user release tolerance parameter includes: and integrally issuing the tolerant time length information, or issuing the tolerant time length information by the user group.
In the foregoing solution, the policy selecting module 520 may be configured to: determining video uploading duration corresponding to each video image quality strategy according to the video characteristics of the target video to be published and the equipment performance parameters; selecting a video image quality strategy with the video uploading duration being less than the user release tolerance parameter, and adding the video image quality strategy into a candidate strategy set; and taking the video quality strategy with the optimal quality in the candidate strategy set as a target video distribution strategy.
Further, the video distribution apparatus provided in this embodiment may further include: the second strategy selection module is used for taking the overtime optimization strategy as a target video publishing strategy if the user publishing tolerance parameter is greater than a first threshold; and if the user release tolerance parameter is smaller than a second threshold value, taking the parallel uploading strategy as a target video release strategy.
Further, the video distribution apparatus provided in this embodiment may further include: and the data sending module is used for storing the video publishing record of the target video after executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy, and regularly updating the overall publishing tolerance duration information and the user group publishing tolerance duration information according to the stored video publishing record.
The video publishing device provided by the embodiment of the disclosure can execute the video publishing method applied to the client terminal provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the embodiments of the present disclosure.
Fig. 6 is a schematic structural diagram of another video distribution apparatus provided in the embodiment of the present disclosure, and as shown in fig. 6, the apparatus includes: a query module 610, a return module 620, and an update module 630.
The query module 610 is configured to receive a parameter acquisition request sent by a client in response to a video publishing operation, and query a user publishing tolerance parameter corresponding to the parameter acquisition request;
a returning module 620, configured to return the user distribution tolerance parameter to the client, so that the client selects a target video distribution policy according to the user distribution tolerance parameter, and executes a video distribution process on a target video to be distributed; the target video publishing strategy corresponds to the specified video quality;
and the updating module 630 is configured to receive and store a target video release record sent by the client, and update the user release tolerance parameter at regular time according to the video release record.
According to the technical scheme provided by the embodiment of the disclosure, a parameter acquisition request sent by a client in response to a video publishing operation is received, a user publishing tolerance parameter corresponding to the parameter acquisition request is inquired and returned to the client, so that the client selects a target video publishing strategy for specifying video quality according to the user publishing tolerance parameter and executes a video publishing process on a target video to be published; the method comprises the steps of receiving and storing target video release records sent by a client, updating user release tolerance parameters at regular time according to the video release records, solving the problem of low video release success rate caused by long video uploading time, helping the client to balance the video quality and uploading time of the video to be released by accurately calculating the user release tolerance parameters, and improving the video release success rate.
In the above solution, the query module 610 may be configured to: determining a user group identifier according to the parameter acquisition request; inquiring a release tolerance time list, and acquiring user group release tolerance time information matched with the user group identification as a user release tolerance parameter; and if the user group release tolerance time length information matched with the user group identification does not exist in the release tolerance time length list, taking the whole release tolerance time length information as a user release tolerance parameter.
In the above solution, the updating module 630 includes: the first updating unit is used for responding to the parameter timing updating request, acquiring all video publishing records in a first preset time period, and calculating publishing duration information of each successfully published video; calculating the release success rate corresponding to the release time length information of each successfully released video, and adding the release time length information with the release success rate larger than a specified threshold value into a first set; and taking the maximum value of the release duration information in the first set as the whole release tolerance duration information.
In the above solution, the updating module 630 includes: the second updating unit is used for responding to the parameter timing updating request, respectively acquiring all video publishing records of each user group in a second preset time period, and forming a second set corresponding to each user group; for each second set, calculating the waiting time length information of each unsuccessfully issued video and the issuing time length information of each successfully issued video; for each second set, taking the minimum value of the waiting time length information as a lower limit of the tolerance time length, and selecting the release time length information smaller than the lower limit of the tolerance time length to form a third set; and taking the maximum value of the release duration information in each third set as the user group release tolerance duration information of each user group.
The video publishing device provided by the embodiment of the disclosure can execute the video publishing method applied to the server provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the embodiments of the present disclosure.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. Referring now to fig. 7, a schematic diagram of an electronic device (e.g., the terminal device or the server in fig. 7) 500 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An editing/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 7 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The electronic device provided by the embodiment of the present disclosure and the video distribution method provided by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as the above embodiment.
The disclosed embodiments provide a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the video distribution method provided by the above-described embodiments.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to a video publishing operation, and acquiring a user publishing tolerance parameter; selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality; and executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a parameter acquisition request sent by a client in response to a video publishing operation, and inquiring a user publishing tolerance parameter corresponding to the parameter acquisition request; returning the user release tolerance parameter to the client, so that the client selects a target video release strategy according to the user release tolerance parameter and executes a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality; and receiving and storing a target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a module or unit does not in some cases constitute a limitation of the module or unit itself, and for example, the information acquisition module may also be described as a "module that acquires a user distribution tolerance parameter in response to a video distribution operation".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides a video distribution method according to one or more embodiments of the present disclosure, including:
responding to a video publishing operation, and acquiring a user publishing tolerance parameter;
selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
and executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
Example 2 the method of example 1, the user publication tolerance parameter comprising: and integrally issuing the tolerant time length information, or issuing the tolerant time length information by the user group.
Example 3 the method of example 1, the selecting a target video publication policy according to the user publication tolerance parameter, comprising, in accordance with one or more embodiments of the present disclosure:
determining video uploading duration corresponding to each video image quality strategy according to the video characteristics of the target video to be published and the equipment performance parameters;
selecting a video image quality strategy with the video uploading duration being less than the user release tolerance parameter, and adding the video image quality strategy into a candidate strategy set;
and taking the video quality strategy with the optimal quality in the candidate strategy set as a target video distribution strategy.
Example 4 the method of example 3, in accordance with one or more embodiments of the present disclosure, further comprising:
if the user release tolerance parameter is larger than a first threshold value, taking an overtime optimization strategy as a target video release strategy;
and if the user release tolerance parameter is smaller than a second threshold value, taking the parallel uploading strategy as a target video release strategy.
Example 5 the method of example 2, after performing a video distribution procedure on a target video corresponding to the video distribution operation according to the target video distribution policy, according to one or more embodiments of the present disclosure, further comprising:
and storing the video release record of the target video, and updating the overall release tolerance duration information and the user group release tolerance duration information at regular time according to the stored video release record.
Example 6 provides a video distribution method, according to one or more embodiments of the present disclosure, including:
receiving a parameter acquisition request sent by a client in response to a video publishing operation, and inquiring a user publishing tolerance parameter corresponding to the parameter acquisition request;
returning the user release tolerance parameter to the client, so that the client selects a target video release strategy according to the user release tolerance parameter and executes a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality;
and receiving and storing a target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
Example 7 the method of example 6, wherein the receiving client, in response to a parameter obtaining request sent by a video publishing operation, queries a user publishing tolerance parameter corresponding to the parameter obtaining request, and includes:
determining a user group identifier according to the parameter acquisition request;
inquiring a release tolerance time list, and acquiring user group release tolerance time information matched with the user group identification as a user release tolerance parameter;
and if the user group release tolerance time length information matched with the user group identification does not exist in the release tolerance time length list, taking the whole release tolerance time length information as a user release tolerance parameter.
Example 8 according to the method of example 6, periodically updating a user publication tolerance parameter according to a video publication record, according to one or more embodiments of the present disclosure, includes:
responding to a parameter timing updating request, acquiring all video publishing records in a first preset time period, and calculating publishing duration information of each successfully published video;
calculating the release success rate corresponding to the release time length information of each successfully released video, and adding the release time length information with the release success rate larger than a specified threshold value into a first set;
and taking the maximum value of the release duration information in the first set as the whole release tolerance duration information.
Example 9 the method of example 6, the periodically updating a user release tolerance parameter from a video release record, according to one or more embodiments of the present disclosure, comprising:
responding to the parameter timing updating request, respectively acquiring all video release records of each user group in a second preset time period, and forming a second set corresponding to each user group;
for each second set, calculating the waiting time length information of each unsuccessfully issued video and the issuing time length information of each successfully issued video;
for each second set, taking the minimum value of the waiting time length information as the intolerable time length information, and forming a third set by the release time length information smaller than the intolerable time length information;
and taking the maximum value of the release duration information in each third set as the user group release tolerance duration information of each user group.
Example 10 provides, in accordance with one or more embodiments of the present disclosure, a video distribution apparatus comprising:
the information acquisition module is used for responding to video publishing operation and acquiring a user publishing tolerance parameter;
the strategy selection module is used for selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
and the video publishing module is used for executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
Example 11 provides, in accordance with one or more embodiments of the present disclosure, a video distribution apparatus comprising:
the query module is used for receiving a parameter acquisition request sent by a client in response to a video publishing operation and querying a user publishing tolerance parameter corresponding to the parameter acquisition request;
the return module is used for returning the user release tolerance parameter to the client so that the client can select a target video release strategy according to the user release tolerance parameter and execute a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality;
and the updating module is used for receiving and storing the target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
Example 12 provides, in accordance with one or more embodiments of the present disclosure, an electronic device comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the video distribution method of any of examples 1-5, or the video distribution method of any of examples 6-9.
Example 13 provides, in accordance with one or more embodiments of the present disclosure, a storage medium containing computer-executable instructions that, when executed by a computer processor, are operable to perform the video distribution method of any of examples 1-5 or to implement the video distribution method of any of examples 6-9.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (13)

1. A method for video distribution, comprising:
responding to a video publishing operation, and acquiring a user publishing tolerance parameter;
selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
and executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
2. The method of claim 1, wherein the user release tolerance parameter comprises: and integrally issuing the tolerant time length information, or issuing the tolerant time length information by the user group.
3. The method of claim 1, wherein selecting a target video distribution policy according to the user distribution tolerance parameter comprises:
determining video uploading duration corresponding to each video image quality strategy according to the video characteristics of the target video to be published and the equipment performance parameters;
selecting a video image quality strategy with the video uploading duration being less than the user release tolerance parameter, and adding the video image quality strategy into a candidate strategy set;
and taking the video quality strategy with the optimal quality in the candidate strategy set as a target video distribution strategy.
4. The method of claim 3, further comprising:
if the user release tolerance parameter is larger than a first threshold value, taking an overtime optimization strategy as a target video release strategy;
and if the user release tolerance parameter is smaller than a second threshold value, taking the parallel uploading strategy as a target video release strategy.
5. The method according to claim 2, wherein after the performing a video distribution process on the target video corresponding to the video distribution operation according to the target video distribution policy, the method further comprises:
and storing the video release record of the target video, and updating the overall release tolerance duration information and the user group release tolerance duration information at regular time according to the stored video release record.
6. A method for video distribution, comprising:
receiving a parameter acquisition request sent by a client in response to a video publishing operation, and inquiring a user publishing tolerance parameter corresponding to the parameter acquisition request;
returning the user release tolerance parameter to the client, so that the client selects a target video release strategy according to the user release tolerance parameter and executes a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality;
and receiving and storing a target video release record sent by a client, and updating the user release tolerance parameter at regular time according to the video release record.
7. The method according to claim 6, wherein the receiving client queries, in response to a parameter obtaining request sent by a video publishing operation, a user publishing tolerance parameter corresponding to the parameter obtaining request, and includes:
determining a user group identifier according to the parameter acquisition request;
inquiring a release tolerance time list, and acquiring user group release tolerance time information matched with the user group identification as a user release tolerance parameter;
and if the user group release tolerance time length information matched with the user group identification does not exist in the release tolerance time length list, taking the whole release tolerance time length information as a user release tolerance parameter.
8. The method of claim 6, wherein the periodically updating the user distribution tolerance parameter according to the video distribution record comprises:
responding to the parameter timing updating request, acquiring video publishing records in a first preset time period, and calculating publishing duration information of each successfully published video;
calculating the release success rate corresponding to the release time length information of each successfully released video, and adding the release time length information with the release success rate larger than a specified threshold value into a first set;
and taking the maximum value of the release duration information in the first set as the whole release tolerance duration information.
9. The method according to claim 6, wherein said updating the user distribution tolerance parameter periodically according to the video distribution record comprises:
responding to the parameter timing updating request, respectively acquiring video publishing records of each user group in a second preset time period, and forming a second set corresponding to each user group;
for each second set, calculating the waiting time length information of each unsuccessfully issued video and the issuing time length information of each successfully issued video;
for each second set, taking the minimum value of the waiting time length information as a lower limit of the tolerance time length, and selecting the release time length information smaller than the lower limit of the tolerance time length to form a third set;
and taking the maximum value of the release duration information in each third set as the user group release tolerance duration information of each user group.
10. A video distribution apparatus, comprising:
the information acquisition module is used for responding to video publishing operation and acquiring a user publishing tolerance parameter;
the strategy selection module is used for selecting a target video publishing strategy according to the user publishing tolerance parameter; the target video publishing strategy corresponds to the specified video quality;
and the video publishing module is used for executing a video publishing process on the target video corresponding to the video publishing operation according to the target video publishing strategy.
11. A video distribution apparatus, comprising:
the query module is used for receiving a parameter acquisition request sent by a client in response to a video publishing operation and querying a user publishing tolerance parameter corresponding to the parameter acquisition request;
the return module is used for returning the user release tolerance parameter to the client so that the client can select a target video release strategy according to the user release tolerance parameter and execute a video release process on a target video to be released; the target video publishing strategy corresponds to the specified video quality;
and the updating module is used for receiving and storing the target video release record sent by the client, and updating the user release tolerance parameter at regular time according to the video release record.
12. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the video distribution method of any one of claims 1-5 or the video distribution method of any one of claims 6-9.
13. A storage medium containing computer-executable instructions for performing the video distribution method of any one of claims 1-5, or implementing the video distribution method of any one of claims 6-9, when executed by a computer processor.
CN202210626330.6A 2022-06-02 2022-06-02 Video publishing method, device, equipment and storage medium Active CN114979757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210626330.6A CN114979757B (en) 2022-06-02 2022-06-02 Video publishing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210626330.6A CN114979757B (en) 2022-06-02 2022-06-02 Video publishing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114979757A true CN114979757A (en) 2022-08-30
CN114979757B CN114979757B (en) 2024-01-30

Family

ID=82960035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210626330.6A Active CN114979757B (en) 2022-06-02 2022-06-02 Video publishing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114979757B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345892A (en) * 2008-08-19 2009-01-14 北京中星微电子有限公司 Video display method and system
US20110050699A1 (en) * 2009-08-28 2011-03-03 International Business Machines Corporation Teleport Preview Provisioning In Virtual Environments
US20120259945A1 (en) * 2011-04-07 2012-10-11 Infosys Technologies, Ltd. System and method for dynamically modifying content based on user expectations
CN103974135A (en) * 2014-05-07 2014-08-06 广州骏视信息科技有限公司 Video sharing method and system
CN107680042A (en) * 2017-09-27 2018-02-09 杭州群核信息技术有限公司 Rendering intent, device, engine and storage medium
CN110909277A (en) * 2019-11-06 2020-03-24 北京奇艺世纪科技有限公司 Multimedia resource loading method and device, electronic equipment and storage medium
CN110996164A (en) * 2020-01-02 2020-04-10 北京字节跳动网络技术有限公司 Video distribution method and device, electronic equipment and computer readable medium
CN111354235A (en) * 2020-04-24 2020-06-30 刘纯 Piano remote teaching system
CN112312135A (en) * 2020-10-23 2021-02-02 广州市百果园网络科技有限公司 Video publishing method and device, computer equipment and storage medium
CN112351285A (en) * 2020-11-04 2021-02-09 北京金山云网络技术有限公司 Video encoding method and apparatus, video decoding method and apparatus, electronic device, and storage medium
WO2021089942A1 (en) * 2019-11-05 2021-05-14 Orange Method for managing zapping of digital multimedia contents obtained by http adaptive streaming (has), and corresponding management device, multimedia stream reader and computer program
CN113434289A (en) * 2021-06-16 2021-09-24 北京达佳互联信息技术有限公司 Cloud host distribution method and device, electronic equipment and storage medium
CN113518246A (en) * 2021-09-10 2021-10-19 腾讯科技(深圳)有限公司 Data transmission method, data transmission device, computer equipment, storage medium and program product
CN113573062A (en) * 2020-04-29 2021-10-29 华为技术有限公司 Traffic shaping method and device and electronic equipment
CN114422860A (en) * 2022-01-21 2022-04-29 武汉风行在线技术有限公司 Method, device and system for reducing CDN bandwidth of peak period video on demand

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345892A (en) * 2008-08-19 2009-01-14 北京中星微电子有限公司 Video display method and system
US20110050699A1 (en) * 2009-08-28 2011-03-03 International Business Machines Corporation Teleport Preview Provisioning In Virtual Environments
US20120259945A1 (en) * 2011-04-07 2012-10-11 Infosys Technologies, Ltd. System and method for dynamically modifying content based on user expectations
CN103974135A (en) * 2014-05-07 2014-08-06 广州骏视信息科技有限公司 Video sharing method and system
CN107680042A (en) * 2017-09-27 2018-02-09 杭州群核信息技术有限公司 Rendering intent, device, engine and storage medium
WO2021089942A1 (en) * 2019-11-05 2021-05-14 Orange Method for managing zapping of digital multimedia contents obtained by http adaptive streaming (has), and corresponding management device, multimedia stream reader and computer program
CN110909277A (en) * 2019-11-06 2020-03-24 北京奇艺世纪科技有限公司 Multimedia resource loading method and device, electronic equipment and storage medium
CN110996164A (en) * 2020-01-02 2020-04-10 北京字节跳动网络技术有限公司 Video distribution method and device, electronic equipment and computer readable medium
CN111354235A (en) * 2020-04-24 2020-06-30 刘纯 Piano remote teaching system
CN113573062A (en) * 2020-04-29 2021-10-29 华为技术有限公司 Traffic shaping method and device and electronic equipment
CN112312135A (en) * 2020-10-23 2021-02-02 广州市百果园网络科技有限公司 Video publishing method and device, computer equipment and storage medium
CN112351285A (en) * 2020-11-04 2021-02-09 北京金山云网络技术有限公司 Video encoding method and apparatus, video decoding method and apparatus, electronic device, and storage medium
CN113434289A (en) * 2021-06-16 2021-09-24 北京达佳互联信息技术有限公司 Cloud host distribution method and device, electronic equipment and storage medium
CN113518246A (en) * 2021-09-10 2021-10-19 腾讯科技(深圳)有限公司 Data transmission method, data transmission device, computer equipment, storage medium and program product
CN114422860A (en) * 2022-01-21 2022-04-29 武汉风行在线技术有限公司 Method, device and system for reducing CDN bandwidth of peak period video on demand

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DI WU ET AL: "A Dynamic Image Playing Method of Ultra-high Definition based on Big Data Distributed Storage", 《2019 IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND EDUCATIONAL INFORMATIZATION》 *
周晨曦: "移动设备上用户的视频观看行为和观看质量分析", 《硕士论文》 *
宋晓丹: "面向云移动媒体计算的图像视频通信和存储技术研究", 《中国博士学位论文全文数据库(电子期刊)》 *

Also Published As

Publication number Publication date
CN114979757B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
US9325796B2 (en) System and method of device capability signaling
EP3777101B1 (en) Group enhanced content delivery
US10257291B1 (en) Event-based content sharing using geofencing
US12074931B2 (en) Interaction method and apparatus, and electronic device
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111246228B (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN111163336B (en) Video resource pushing method and device, electronic equipment and computer readable medium
CN112256733A (en) Data caching method and device, electronic equipment and computer readable storage medium
EP4084482A1 (en) Stream pull method and device for live stream
CN109639813B (en) Video file transmission processing method and device, electronic equipment and storage medium
CN111225255B (en) Target video push playing method and device, electronic equipment and storage medium
CN114979757A (en) Video distribution method, device, equipment and storage medium
CN112169312A (en) Queuing scheduling method, device, equipment and storage medium for cloud game service
CN110996164A (en) Video distribution method and device, electronic equipment and computer readable medium
CN116185665A (en) Message processing method, device, equipment and medium
CN114979768A (en) Video caching method, device, equipment and storage medium
CN114979762A (en) Video downloading and transmission method, device, terminal equipment, server and medium
CN111444457B (en) Data release method and device, storage medium and electronic equipment
CN112636971A (en) Service degradation method and device, electronic equipment and storage medium
CN111291254A (en) Information processing method and device
CN111367592A (en) Information processing method and device
CN111246229B (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN117692672A (en) Snapshot-based video information sending method and device, electronic equipment and medium
CN116980469A (en) Multimedia sharing method, device, equipment and medium
CN118354122A (en) Multimedia data stream processing method and device, electronic equipment and storage medium

Legal Events

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