CN115379261A - Video sending method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115379261A
CN115379261A CN202210954156.8A CN202210954156A CN115379261A CN 115379261 A CN115379261 A CN 115379261A CN 202210954156 A CN202210954156 A CN 202210954156A CN 115379261 A CN115379261 A CN 115379261A
Authority
CN
China
Prior art keywords
target
terminal
performance index
video
determining
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
CN202210954156.8A
Other languages
Chinese (zh)
Other versions
CN115379261B (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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN202210954156.8A priority Critical patent/CN115379261B/en
Publication of CN115379261A publication Critical patent/CN115379261A/en
Application granted granted Critical
Publication of CN115379261B publication Critical patent/CN115379261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Landscapes

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

Abstract

The application discloses a video sending method, a video sending device, electronic equipment and a storage medium, belongs to the field of audio and video processing, and can solve the problem that personalized services cannot be provided according to the real performance of a terminal in the related technology. The method comprises the following steps: determining the target definition of a video played by a target terminal; determining a target value range corresponding to the target definition, wherein the target value range comprises a value range of at least one performance index; determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal; and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range.

Description

Video sending method and device, electronic equipment and storage medium
Technical Field
The application belongs to the field of audio and video processing, and particularly relates to a video sending method and device, electronic equipment and a storage medium.
Background
With the rapid popularization of the mobile internet, the internet surfing of mobile phones is very common. How to better serve the internet users of the mobile phones is an important subject to provide better service experience for the users. Because different mobile phones have different performances, if personalized services can be provided for the mobile phones with different performances, the user experience can be better improved.
In order to provide personalized services for mobile phones with different performances, in the related art, hardware parameters of mobile phones with different models, such as a Central Processing Unit (CPU), a memory, a storage and the like, are mainly collected, and then personalized services are provided for users based on the hardware parameters.
However, the actual performance of the mobile phone cannot be well reflected only by the hardware parameters, for example, different mobile phone manufacturers have different degrees of adaptation and optimization of hardware, and therefore, even if the mobile phone has the same hardware configuration, their performance may be greatly different.
In summary, the hardware parameters of the mobile phone cannot reflect the real performance of the mobile phone, and thus cannot provide personalized services according to the real performance of the terminal.
Disclosure of Invention
The embodiment of the application provides a video sending method, a video sending device, electronic equipment and a storage medium, and can solve the problem that personalized services cannot be provided according to the real performance of a terminal in the related art.
In a first aspect, an embodiment of the present application provides a video sending method, where the method includes:
determining the target definition of a video played by a target terminal;
determining a target value range corresponding to the target definition, wherein the target value range comprises a value range of at least one performance index;
determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal;
and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range.
In a second aspect, an embodiment of the present application provides an apparatus for transmitting a video, where the apparatus includes:
the first determining module is used for determining the target definition of the video played by the target terminal;
a second determining module, configured to determine a target value range corresponding to the target definition, where the target value range includes a value range of at least one performance index;
a third determining module, configured to determine, according to the terminal model and the target definition of the target terminal, a target value corresponding to the at least one performance index;
and the sending module is used for sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a target value range corresponding to the target definition is determined by determining the target definition of a video played by a target terminal, wherein the target value range comprises a value range of at least one performance index; determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal; and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index conforms to the target value range. The real performance of the target terminal can be reflected by determining the target value corresponding to the performance index of the target terminal, on the basis, whether the video with the target definition can be sent to the target terminal or not is determined according to the real performance of the terminal, personalized service can be provided for a user according to the real performance of the terminal, and the accuracy and the objectivity of video delivery are improved.
Drawings
Fig. 1 is a flowchart illustrating a video transmission method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a further video transmission method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video transmission apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A video sending method, a video sending apparatus, an electronic device, and a storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings and application scenarios thereof.
Fig. 1 illustrates a video transmission method according to an embodiment of the present invention, which may be performed by an electronic device, where the electronic device may include: a server and/or a terminal device, wherein the terminal device can be a mobile phone terminal or the like. In other words, the method may be performed by software or hardware installed in the electronic device, the method comprising the steps of:
step 101: and determining the target definition of the video played by the target terminal.
Specifically, the target definition may be the definition of a video that a user needs to play at the target terminal, and it can be understood that the definition may be embodied by resolution.
Step 102: and determining a target value range corresponding to the target definition.
Wherein the target value range comprises a value range of at least one performance index.
Specifically, the performance index may be any index parameter used for representing the performance of the terminal, for example, the performance index may be a terminal temperature, and may also be a video playing holdover rate when the terminal plays a video.
Optionally, one performance index may correspond to one value range, that is, there is a one-to-one correspondence between the performance index and the value range.
Step 103: and determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal.
Alternatively, one performance index may correspond to one target value, that is, there is a one-to-one correspondence between the performance index and the target value.
Step 104: and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range.
As a specific example, for example, if the target value range is a value range of a certain performance index, and the performance index corresponds to a target value, at this time, if the target value corresponding to the performance index is within the value range of the performance index, it is determined that the target value corresponding to the performance index conforms to the target value range, and a video with target definition may be sent to the target terminal through the server.
As a specific example, for example, if the target value range includes value ranges of multiple performance indexes, and each performance index corresponds to a target value, at this time, if the target value corresponding to each performance index is within the value range of the corresponding performance index, it is determined that the target value corresponding to the at least one performance index conforms to the target value range; or, at least one key performance index is pre-specified in the at least one performance index, for example, under the condition that multiple performance indexes including a terminal temperature, a video playing stuck rate, a memory size, and the like are included, the terminal temperature and the video playing stuck rate may be specified as the key performance indexes, and at this time, if a target value corresponding to each of the at least one key performance index is within a value range of the corresponding key performance index, it is determined that the target value corresponding to the at least one performance index conforms to the target value range. And after the target value corresponding to the at least one performance index is confirmed to meet the target value range, sending a video with target definition to a target terminal through the server.
Thus, a target value range corresponding to the target definition is determined by determining the target definition of a video played by a target terminal, wherein the target value range comprises a value range of at least one performance index; determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal; and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range. The real performance of the target terminal can be reflected by determining the target value corresponding to the performance index of the target terminal, on the basis, whether the video with the target definition can be sent to the target terminal is determined according to the real performance of the terminal, and personalized service can be provided for a user according to the real performance of the terminal, so that the problem that the personalized service cannot be provided according to the real performance of the terminal in the related art is solved, and the accuracy and the objectivity of video delivery are improved.
In an optional implementation manner, the determining, according to the terminal model and the target definition of the target terminal, the target value corresponding to the at least one performance index includes:
acquiring at least one video playing log corresponding to at least one terminal; determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log; extracting a corresponding first video playing log from the at least one video playing log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter value of each performance index in the first video playing log; and determining the aggregation result corresponding to the at least one performance index after aggregation as a target value corresponding to the at least one performance index.
The related parameters comprise a terminal model, the definition of a played video and the parameter value of the at least one performance index.
The terminal model and the definition in each first video playing log are the same, the terminal model in the first video playing log is the terminal model of a target terminal, and the definition in the first video playing log is the target definition.
Specifically, at least one video play log corresponding to at least one terminal may be obtained through the log access module.
Further, the log access module may include a log collection module, a log pipeline, and a log storage module, where the log collection module may be configured to collect a video play log, for example, the log collection module may be kafka, the log pipeline may be responsible for consuming logs collected by the log collection module, for example, the log pipeline may be logstack, flume, or the like, and the log storage module may be configured to store logs consumed by the log pipeline, for example, the log storage module may be hdfs.
It should be noted that the log collection module, the log pipeline and the log storage module may be any components capable of implementing the functions thereof.
Specifically, the related parameters of the terminal in the log can be analyzed through the computing component, and the parameter values of at least one performance index can be aggregated.
Optionally, the manner of aggregating the parameter values of the at least one performance indicator may be averaging the parameter values of the at least one performance indicator.
It should be noted that the above-mentioned computing component may be any component capable of parsing out the above-mentioned relevant performance indicators and aggregating parameter values of at least one performance indicator, such as spark, and the computing component is not specifically limited herein.
Optionally, the parameter values of the at least one performance index are aggregated, where the aggregation may be performed on all parameter values of each performance index of the at least one performance index, and then an aggregation result of the parameter values of each performance index may be determined as a target value corresponding to each performance index.
As a specific example, for example, the performance index may be a terminal temperature and a video playing holdover rate, and further, all parameter values of the terminal temperature and all parameter values of the video playing holdover rate in at least one first video playing log may be aggregated respectively, so that when a terminal of which the terminal model is the target terminal plays a video with the target definition, a target value corresponding to the terminal temperature and a target value corresponding to the video playing holdover rate may be obtained.
In this way, it is possible to determine a representative value (i.e., a target value) of the parameter value of at least one performance index of a terminal having the terminal model of the target terminal when playing a video of the target definition.
In an optional implementation manner, the determining a target value range corresponding to the target definition includes:
acquiring at least one video playing log corresponding to at least one terminal; determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log; extracting a corresponding second video playing log from the at least one video playing log according to the target definition, and respectively determining the standard deviation of the parameter value of each performance index in the second video playing log; and determining the value range of the target standard deviation of the parameter value smaller than the performance index as the value range of the performance index aiming at each performance index, and obtaining the target value range corresponding to the target definition.
The related parameters comprise a terminal model, the definition of a played video and the parameter value of the at least one performance index.
The definition of each second video playing log is the same, and the definition of the second video playing log is the target definition.
Wherein the target standard deviation is a preset multiple of the standard deviation.
Alternatively, the standard deviation of the parameter values of at least one performance indicator may be the standard deviation of all parameter values of each of the at least one performance indicator.
Optionally, according to the theory of probability theory, the preset multiple may be set to be twice, so that the concentration of the parameter value of the at least one performance index may be determined to be 95.5%, and further the target standard deviation is the concentration of the parameter value of the at least one performance index corresponding to the target definition.
Therefore, when the definition is the target definition, the value range of at least one performance index can be determined, and whether the video with the target definition is suitable for being sent to the target terminal or not can be determined according to the value range.
In an optional implementation manner, in a case that the relevant parameter is a terminal model, the determining the relevant parameter of the at least one terminal in the at least one video playback log includes:
aiming at each video playing log, obtaining the code number of the terminal model corresponding to the video playing log from the video playing log;
if the code of the terminal model is in a preset terminal model comparison table, determining the terminal model corresponding to the code of the terminal model through the terminal model comparison table;
and if the code of the terminal model is not in the terminal model comparison table, acquiring the terminal model corresponding to the code of the terminal model, and adding the corresponding relation between the terminal model and the code of the terminal model into the terminal model comparison table.
The terminal model comparison table stores the corresponding relationship between the code of the terminal model and the terminal model. Illustratively, the terminal Model corresponding to the terminal Model number Model of "LIO-AN00" is "hua shi Mate30 Pro mobile phone", and the terminal Model corresponding to the terminal Model number Model of "NOH-AL00" is "hua shi Mate 40Pro mobile phone".
It can be understood that the code number of the terminal model can be obtained by directly analyzing the video play log.
For the code of the terminal model not in the terminal model comparison table, the cloud server can inquire and obtain the terminal model corresponding to the code of the terminal model; naturally, the manner of determining the code of the terminal model is not limited to query through the cloud server, and any manner in the art that can determine the code of the terminal model is within the scope of the present application.
In this way, the correspondence between the code number of the terminal model and the terminal model that is not stored in the terminal model comparison table can be stored in the terminal model comparison table.
A specific embodiment of the present application will be described below based on fig. 2.
Step 201: and collecting a video playing log corresponding to the terminal.
Specifically, a video playing log of the terminal can be collected through kafka; further, the collected logs can be consumed through the logstack component; still further, the log consumed by the logstack component can be written into hdfs, and the consumed log is stored by hdfs.
Step 202: and determining a target value corresponding to the performance index.
The log can be analyzed through the computing component, for example, the spark can be used for analyzing parameters such as a terminal model, a terminal temperature, a video playing card pause rate and video definition;
furthermore, for all logs with the same terminal model (for example, the terminal model of the target terminal) and the same video definition (for example, the target definition), the terminal temperature and the video playing pause rate in the logs can be aggregated respectively through the computing component to obtain an average value, and then the average value of the terminal temperature and the video playing pause rate can be determined as the target values corresponding to the terminal temperature and the video playing pause rate respectively.
Specifically, the target values of the performance indicators (e.g., the terminal temperature and the video playing calorie ratio) may be stored in a database, such as a mysql database. The database may be in a handset capability library module.
It can be understood that, when the terminal with the target value being the terminal model of the target terminal plays the video with the target definition, the aggregation value of the corresponding terminal temperature and the aggregation result of the video playing holdover rate are obtained.
In this step, it should be noted that the code of the terminal model is analyzed in the log, and in order to determine the terminal model corresponding to the code of the terminal model, a terminal model comparison table may be preset, where a correspondence between the code of the terminal model and the terminal model may be stored in the terminal model comparison table, but since the terminal model is updated very quickly, the correspondence between the code of all the terminal models and the terminal model cannot be stored in the terminal model comparison table.
Step 203: and determining the value range of the performance index corresponding to the target definition.
Specifically, the parameter value of the performance index corresponding to each terminal when playing the video with the target definition can be determined through the video playing log corresponding to each terminal, for example, the terminal temperature and the video playing card segment rate corresponding to each terminal when playing the video with the target definition;
further, the standard deviation of all parameter values of the terminal temperature corresponding to the video with the target definition played by the at least one terminal can be determined, and the standard deviation of all parameter values of the video playing cassette rate corresponding to the video with the target definition played by the at least one terminal is determined;
further, two times of the standard deviation of the terminal temperature and two times of the standard deviation of the video playing pause rate are respectively determined as the value ranges corresponding to the terminal temperature and the video playing pause rate.
Step 204: it is determined whether the target definition video can be transmitted to the terminal.
Specifically, whether the target value corresponding to each performance index is within the value range of each performance index can be determined through the mobile phone performance library module, and if the target value corresponding to each performance index is within the value range of each performance index, the target definition video can be sent to the terminal through the preset performance library interface module. The performance library interface module may be a rest interface.
According to the video sending method provided by the embodiment of the application, the target value range corresponding to the target definition is determined by determining the target definition of the video played by the target terminal, wherein the target value range comprises the value range of at least one performance index; determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal; and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index conforms to the target value range. The real performance of the target terminal can be reflected by determining the target value corresponding to the performance index of the target terminal, on the basis, whether the video with the target definition can be sent to the target terminal or not is determined according to the real performance of the terminal, personalized service can be provided for a user according to the real performance of the terminal, and the accuracy and the objectivity of video delivery are improved.
The video sending method provided by the embodiment of the application can determine the performances of various terminals through video playing logs by utilizing big data analysis, can reflect the real performances of the terminals more truly compared with a method of simply referring to hardware parameters, and enhances the practicability.
In addition, according to the video transmission method provided by the embodiment of the present application, the execution subject may be a video transmission device, or a control module in the video transmission device for executing a video transmission method. In the embodiment of the present application, a video transmitting apparatus executes a video transmitting method as an example, and a video transmitting apparatus provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of a video transmission apparatus according to an embodiment of the present invention. As shown in fig. 3, a video transmission apparatus 300 includes: a first determination module 310, a second determination module 320, a third determination module 330, and a sending module 340.
A first determining module 310, configured to determine a target definition of a video played by a target terminal;
a second determining module 320, configured to determine a target value range corresponding to the target definition, where the target value range includes a value range of at least one performance index;
a third determining module 330, configured to determine, according to the terminal model and the target definition of the target terminal, a target value corresponding to the at least one performance index;
a sending module 340, configured to send a video with the target definition to the target terminal when the target value corresponding to the at least one performance indicator meets the target value range.
In an implementation manner, the third determining module 330 is specifically configured to:
acquiring at least one video playing log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log, wherein the relevant parameters comprise a terminal model, definition of a played video and a parameter value of the at least one performance index;
extracting a corresponding first video playing log from the at least one video playing log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter value of each performance index in the first video playing log;
and determining an aggregation result corresponding to the at least one performance index after aggregation as a target value corresponding to the at least one performance index.
In an implementation manner, the second determining module 320 is specifically configured to:
acquiring at least one video play log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log, wherein the relevant parameters comprise a terminal model, definition of a played video and a parameter value of the at least one performance index;
extracting a corresponding second video playing log from the at least one video playing log according to the target definition, and respectively determining the standard deviation of the parameter value of each performance index in the second video playing log;
and determining the value range of the target standard deviation of the parameter value smaller than the performance index as the value range of the performance index to obtain the target value range corresponding to the target definition aiming at each performance index, wherein the target standard deviation is the standard deviation of a preset multiple.
In an optional implementation manner, in a case that the relevant parameter is a terminal model, the second determining module 320 and the third determining module 330 are specifically configured to:
aiming at each video playing log, obtaining the code number of the terminal model corresponding to the video playing log from the video playing log;
if the code number of the terminal model is in a preset terminal model comparison table, determining the terminal model corresponding to the code number of the terminal model through the terminal model comparison table, wherein the terminal model comparison table stores the corresponding relation between the code number of the terminal model and the terminal model;
and if the code number of the terminal model is not in the terminal model comparison table, acquiring the terminal model corresponding to the code number of the terminal model, and adding the corresponding relation between the code number of the terminal model and the terminal model into the terminal model comparison table.
In an optional implementation manner, the sending module 340 is specifically configured to:
in the at least one performance index, if the target value corresponding to each performance index is in the value range of the corresponding performance index included in the target value range, determining that the target value corresponding to the at least one performance index conforms to the target value range; or, in the at least one performance index, if the target value corresponding to each of the specified at least one key performance index is within the value range of the corresponding key performance index included in the target value range, it is determined that the target value corresponding to the at least one performance index conforms to the target value range.
The video transmission device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
A video transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The video sending apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 and fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement the processes of the foregoing method embodiment, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing embodiment of the video sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned video transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for transmitting video, comprising:
determining the target definition of a video played by a target terminal;
determining a target value range corresponding to the target definition, wherein the target value range comprises a value range of at least one performance index;
determining a target value corresponding to the at least one performance index according to the terminal model and the target definition of the target terminal;
and sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range.
2. The method according to claim 1, wherein the determining the target value corresponding to the at least one performance indicator according to the terminal model and the target definition of the target terminal comprises:
acquiring at least one video playing log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log, wherein the relevant parameters comprise a terminal model, definition of a played video and a parameter value of the at least one performance index;
extracting a corresponding first video playing log from the at least one video playing log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter value of each performance index in the first video playing log;
and determining the aggregation result corresponding to the at least one performance index after aggregation as a target value corresponding to the at least one performance index.
3. The method according to claim 1, wherein the determining a target value range corresponding to the target definition comprises:
acquiring at least one video play log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log, wherein the relevant parameters comprise a terminal model, definition of a played video and a parameter value of the at least one performance index;
extracting a corresponding second video playing log from the at least one video playing log according to the target definition, and respectively determining the standard deviation of the parameter value of each performance index in the second video playing log;
and determining the value range of the target standard deviation of the parameter value smaller than the performance index as the value range of the performance index to obtain the target value range corresponding to the target definition aiming at each performance index, wherein the target standard deviation is the standard deviation of a preset multiple.
4. The method according to claim 2 or 3, wherein when the relevant parameter is a terminal model, the determining the relevant parameter of the terminal corresponding to each video play log in the at least one video play log includes:
aiming at each video playing log, obtaining the code number of the terminal model corresponding to the video playing log from the video playing log;
if the code of the terminal model is in a preset terminal model comparison table, determining the terminal model corresponding to the code of the terminal model through the terminal model comparison table, wherein the terminal model comparison table stores the corresponding relation between the code of the terminal model and the terminal model;
and if the code of the terminal model is not in the terminal model comparison table, acquiring the terminal model corresponding to the code of the terminal model, and adding the corresponding relation between the code of the terminal model and the terminal model into the terminal model comparison table.
5. The method according to claim 1, wherein the method for confirming that the target value corresponding to the at least one performance indicator meets the target value range comprises:
in the at least one performance index, if the target value corresponding to each performance index is within the value range of the corresponding performance index included in the target value range, determining that the target value corresponding to the at least one performance index conforms to the target value range; alternatively, the first and second electrodes may be,
and in the at least one performance index, if the target value corresponding to each of the specified at least one key performance index is in the value range of the corresponding key performance index included in the target value range, determining that the target value corresponding to the at least one performance index conforms to the target value range.
6. A video transmission apparatus, comprising:
the first determining module is used for determining the target definition of a video played by a target terminal;
a second determining module, configured to determine a target value range corresponding to the target definition, where the target value range includes a value range of at least one performance index;
a third determining module, configured to determine, according to the terminal model and the target definition of the target terminal, a target value corresponding to the at least one performance index;
and the sending module is used for sending the video with the target definition to the target terminal under the condition that the target value corresponding to the at least one performance index accords with the target value range.
7. The video transmission apparatus according to claim 6, wherein the third determining module is specifically configured to:
acquiring at least one video playing log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log, wherein the relevant parameters comprise a terminal model, definition of a played video and a parameter value of the at least one performance index;
extracting a corresponding first video playing log from the at least one video playing log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter value of each performance index in the first video playing log;
and determining the aggregation result corresponding to the at least one performance index after aggregation as a target value corresponding to the at least one performance index.
8. The video transmission apparatus according to claim 6, wherein the second determining module is specifically configured to:
acquiring at least one video playing log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video playing log in the at least one video playing log, wherein the relevant parameters comprise a terminal model, definition of a played video and a parameter value of the at least one performance index;
extracting a corresponding second video playing log from the at least one video playing log according to the target definition, and respectively determining the standard deviation of the parameter value of each performance index in the second video playing log;
and determining the value range of the target standard deviation of the parameter value smaller than the performance index as the value range of the performance index to obtain the target value range corresponding to the target definition aiming at each performance index, wherein the target standard deviation is the standard deviation of a preset multiple.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of transmitting video according to any one of claims 1-5.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method of transmitting video according to any one of claims 1 to 5.
CN202210954156.8A 2022-08-10 2022-08-10 Video sending method and device, electronic equipment and storage medium Active CN115379261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210954156.8A CN115379261B (en) 2022-08-10 2022-08-10 Video sending method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210954156.8A CN115379261B (en) 2022-08-10 2022-08-10 Video sending method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115379261A true CN115379261A (en) 2022-11-22
CN115379261B CN115379261B (en) 2024-03-12

Family

ID=84063371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210954156.8A Active CN115379261B (en) 2022-08-10 2022-08-10 Video sending method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115379261B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299921A (en) * 2011-08-09 2011-12-28 深圳市万兴软件有限公司 Conversion method of video file adapted to mobile terminal and system thereof
US20120117225A1 (en) * 2010-10-28 2012-05-10 Avvasi Inc. Methods and apparatus for providing a media stream quality signal
US20140201435A1 (en) * 2013-01-17 2014-07-17 Qualcomm Incorporated Heterogeneous memory systems, and related methods and computer-readable media for supporting heterogeneous memory access requests in processor-based systems
US20170150214A1 (en) * 2015-11-25 2017-05-25 Le Holdings (Beijing) Co., Ltd. Method and apparatus for data processing
CN110149538A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Determination method and device, terminal device and the readable storage medium storing program for executing of clarity
CN110366006A (en) * 2019-07-24 2019-10-22 北京奇艺世纪科技有限公司 Video broadcasting method, device, terminal device and computer readable storage medium
CN110688270A (en) * 2019-09-27 2020-01-14 北京百度网讯科技有限公司 Video element resource processing method, device, equipment and storage medium
US20200028782A1 (en) * 2018-07-17 2020-01-23 Facebook, Inc. Detecting Communication Network Insights Of Alerts
CN111327967A (en) * 2020-03-27 2020-06-23 深圳市酷开网络科技有限公司 Intelligent video speed-multiplying playing method, system and storage medium
CN112203020A (en) * 2020-10-10 2021-01-08 北京达佳互联信息技术有限公司 Method, device and system for configuring camera configuration parameters of terminal equipment
CN113542795A (en) * 2020-04-21 2021-10-22 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN114286128A (en) * 2021-12-28 2022-04-05 广州方硅信息技术有限公司 Live video parameter adjusting method, system, device, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120117225A1 (en) * 2010-10-28 2012-05-10 Avvasi Inc. Methods and apparatus for providing a media stream quality signal
CN102299921A (en) * 2011-08-09 2011-12-28 深圳市万兴软件有限公司 Conversion method of video file adapted to mobile terminal and system thereof
US20140201435A1 (en) * 2013-01-17 2014-07-17 Qualcomm Incorporated Heterogeneous memory systems, and related methods and computer-readable media for supporting heterogeneous memory access requests in processor-based systems
US20170150214A1 (en) * 2015-11-25 2017-05-25 Le Holdings (Beijing) Co., Ltd. Method and apparatus for data processing
CN110149538A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Determination method and device, terminal device and the readable storage medium storing program for executing of clarity
US20200028782A1 (en) * 2018-07-17 2020-01-23 Facebook, Inc. Detecting Communication Network Insights Of Alerts
CN110366006A (en) * 2019-07-24 2019-10-22 北京奇艺世纪科技有限公司 Video broadcasting method, device, terminal device and computer readable storage medium
CN110688270A (en) * 2019-09-27 2020-01-14 北京百度网讯科技有限公司 Video element resource processing method, device, equipment and storage medium
CN111327967A (en) * 2020-03-27 2020-06-23 深圳市酷开网络科技有限公司 Intelligent video speed-multiplying playing method, system and storage medium
CN113542795A (en) * 2020-04-21 2021-10-22 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN112203020A (en) * 2020-10-10 2021-01-08 北京达佳互联信息技术有限公司 Method, device and system for configuring camera configuration parameters of terminal equipment
CN114286128A (en) * 2021-12-28 2022-04-05 广州方硅信息技术有限公司 Live video parameter adjusting method, system, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHINA MOBILE COM. CORPORATION, HUAWEI TECHNOLOGIES CO. LTD: "S4-170559 "Add Parameters for QoE Device Information"", 3GPP TSG_SA\\WG4_CODEC, no. 4 *
张峥嵘;: "浅谈公安视频监控***的建设与管理", 中国公共安全, no. 13 *

Also Published As

Publication number Publication date
CN115379261B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN107391359B (en) Service testing method and device
CN106919635B (en) Group chat record query method and device and electronic equipment
US11800201B2 (en) Method and apparatus for outputting information
CN110737726B (en) Method and device for determining test data of interface to be tested
CN112994980A (en) Time delay testing method and device, electronic equipment and storage medium
CN112650921A (en) Object recommendation method, device, equipment and storage medium
CN111435369A (en) Music recommendation method, device, terminal and storage medium
CN115757150A (en) Production environment testing method, device, equipment and storage medium
CN113626624B (en) Resource identification method and related device
KR20220056836A (en) Method and apparatus for determining voice response rate, electronic device, computer readable storage medium and computer program
CN111158926A (en) Service request analysis method, device and equipment
CN111506455B (en) Checking method and device for service release result
CN112130944A (en) Page abnormity detection method, device, equipment and storage medium
CN115379261B (en) Video sending method and device, electronic equipment and storage medium
CN109271453B (en) Method and device for determining database capacity
CN110727576A (en) Web page testing method, device, equipment and storage medium
CN113590447B (en) Buried point processing method and device
CN105245380B (en) Message propagation mode identification method and device
CN110674839B (en) Abnormal user identification method and device, storage medium and electronic equipment
CN105630830A (en) Method and device for establishing information relationship list
CN109218411B (en) Data processing method and device, computer readable storage medium and electronic equipment
CN110119406B (en) Method and device for checking real-time task records
CN116595990B (en) Property complaint telephone call processing method and system
CN117708304B (en) Database question-answering method, equipment and storage medium
CN116910669B (en) Data classification method, device, electronic equipment and readable storage medium

Legal Events

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