CN115379261B - 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
CN115379261B
CN115379261B CN202210954156.8A CN202210954156A CN115379261B CN 115379261 B CN115379261 B CN 115379261B CN 202210954156 A CN202210954156 A CN 202210954156A CN 115379261 B CN115379261 B CN 115379261B
Authority
CN
China
Prior art keywords
target
terminal
video
performance index
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.)
Active
Application number
CN202210954156.8A
Other languages
Chinese (zh)
Other versions
CN115379261A (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

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 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, a video sending device, electronic equipment and a storage medium.
Background
With the rapid popularization of mobile internet, mobile phone surfing is very popular. How to better serve the mobile phone internet surfing users and provide better service experience for the users is an important subject. Because the performances of different mobile phones are different, 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, related technologies mainly collect hardware parameters of mobile phones with different models, such as a central processing unit (Central Processing Unit, CPU), a memory, a storage, and the like, so as to provide personalized services for users based on the hardware parameters.
However, the true performance of the mobile phone cannot be well reflected by only relying on hardware parameters, for example, the adaptation and optimization degree of hardware are different for different mobile phone manufacturers, so that even for mobile phones with the same hardware configuration, the performances of the mobile phones may be quite different.
In summary, the hardware parameters of the mobile phone cannot reflect the real performance of the mobile phone, and thus, the personalized service cannot be provided 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, which can solve the problem that personalized services cannot be provided according to the real performance of a terminal in the related technology.
In a first aspect, an embodiment of the present application provides a method for sending a video, where the method includes:
determining 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 a video transmitting apparatus, including:
the first determining module is used for determining the target definition of the video played by the target terminal;
the second determining module is used for 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;
the third determining module is used for 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 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, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, a target definition of a video played by a target terminal is determined, and a target value range corresponding to the target definition is determined, 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, whether the video with the target definition can be sent to the target terminal or not can be determined according to the real performance of the terminal on the basis, personalized service can be provided for a user according to the real performance of the terminal, and the accuracy and objectivity of video delivery are improved.
Drawings
Fig. 1 is a flow chart of a video sending method provided in an embodiment of the present application;
fig. 2 is a flowchart of another video sending method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video transmitting apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural view of an electronic device according to another embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail a video sending method, a device, an electronic apparatus, and a storage medium provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 illustrates a method for transmitting video according to an embodiment of the present invention, which may be performed by an electronic device, and the electronic device may include: a server and/or a terminal device, wherein the terminal device may be, for example, a mobile phone terminal or the like. In other words, the method may be performed by software or hardware installed in an 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 the video that the user needs to play at the target terminal, and it is 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 includes at least one value range of the performance index.
Specifically, the performance index may be any index parameter used for characterizing the performance of the terminal, for example, may be the terminal temperature, or may be the video playing click-through rate when the terminal plays the video, etc.
Alternatively, a performance index may correspond to a range of values, that is, the performance index has a one-to-one correspondence with the range of values.
Step 103: and determining a target value corresponding to the at least one performance index according to the terminal model of the target terminal and the target definition.
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, 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 confirmed that the target value corresponding to the performance index corresponds to the target value range, and the video with the target definition may be sent to the target terminal through the server.
As a specific example, for example, if the target value range includes a plurality of value ranges of 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 confirmed that the target value corresponding to the at least one performance index corresponds to the target value range; or, at least one key performance index is pre-designated in the at least one performance index, for example, under the condition that a plurality of performance indexes including terminal temperature, video playing katon rate, memory size and the like are included, the terminal temperature and the video playing katon rate can be designated as the key performance indexes, and at this time, if the target values corresponding to the at least one key performance index are respectively within the value ranges of the corresponding key performance indexes, it is confirmed that the target values corresponding to the at least one performance index conform to the target value ranges. After confirming that the target value corresponding to the at least one performance index accords with the target value range, the video with the target definition can be sent to the target terminal through the server.
In this way, the target definition of the video played by the target terminal is determined, and a target value range corresponding to the target definition is determined, wherein the target value range comprises the value range of at least one performance index; determining a target value corresponding to at least one performance index according to the terminal model of the target terminal and the target definition; 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, whether the video with the target definition can be sent to the target terminal or not can be determined according to the real performance of the terminal on the basis, and personalized service can be provided for a user according to the real performance of the terminal, so that the problem that personalized service cannot be provided according to the real performance of the terminal in the related technology is solved, and the accuracy and 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 play log corresponding to at least one terminal; determining relevant parameters of a terminal corresponding to each video play log in the at least one video play log; extracting a corresponding first video play log from the at least one video play log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter values of each performance index in the first video play 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.
The related parameters comprise a terminal model, the definition of a playing video and the parameter value of the at least one performance index.
The terminal model and the definition in each first video play log are the same, the terminal model in the first video play log is the terminal model of the target terminal, and the definition in the first video play log is the target definition.
Specifically, at least one video play log corresponding to at least one terminal can be obtained through a 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 used to collect video play logs, 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 logstash, flume, etc., and the log storage module may be used to store logs after log pipeline consumption, 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 component capable of achieving the functions thereof.
Specifically, the relevant parameters of the terminal in the log can be analyzed by the computing component, and the parameter values of at least one performance index can be aggregated.
Alternatively, the manner of aggregating the parameter values of the at least one performance indicator may be to average the parameter values of the at least one performance indicator.
It should be noted that the computing component may be any component capable of analyzing the related performance index and aggregating parameter values of at least one performance index, for example spark, and the computing component is not specifically limited herein.
Optionally, the aggregating the parameter values of at least one performance index may be aggregating all parameter values of each performance index in at least one performance index, so that an aggregate 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, the performance index may be, for example, a terminal temperature and a video playing click-through rate, and further, all parameter values of the terminal temperature and all parameter values of the video playing click-through rate in at least one first video playing log may be respectively aggregated, so that a target value corresponding to the terminal temperature and a target value corresponding to the video playing click-through rate when a terminal with a terminal model being a target terminal plays a video with a target definition may be obtained.
In this way, it is possible to determine a representative value (i.e., target value) of the parameter value of at least one performance index of the terminal having the terminal model of the target terminal when playing the video of the target definition.
In an alternative implementation, the determining the target value range corresponding to the target definition includes:
acquiring at least one video play log corresponding to at least one terminal; determining relevant parameters of a terminal corresponding to each video play log in the at least one video play log; extracting a corresponding second video play log from the at least one video play log according to the target definition, and respectively determining standard deviations of parameter values of each performance index in the second video play log; and determining a value range of a target standard deviation smaller than the parameter value of the performance index as the value range of the performance index aiming at each performance index to obtain a target value range corresponding to the target definition.
The related parameters comprise a terminal model, the definition of a playing video and the parameter value of the at least one performance index.
The definition of each second video play log is the same, and the definition of the second video play log is the target definition.
Wherein the target standard deviation is the standard deviation of a preset multiple.
Alternatively, the standard deviation of the parameter values of the 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 theory of probability theory, the preset multiple may be set to be two times, so that the concentration of the parameter values of the at least one performance index may be determined to be 95.5%, and further the target standard deviation is the concentration value of the parameter values 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 of the target definition is suitable for being sent to the target terminal can be further determined according to the value range.
In an optional implementation manner, in a case where the relevant parameter is a terminal model, the determining relevant parameters of the at least one terminal in the at least one video play log includes:
aiming at each video play log, obtaining the code number of the terminal model corresponding to the video play log from the video play 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;
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 terminal model and the code number of the terminal model into the terminal model comparison table.
And the terminal model comparison table stores the corresponding relation between the code number of the terminal model and the terminal model. The terminal Model is exemplified by the "LIO-AN00" corresponding to the terminal Model of "Hua Cheng Mate30 Pro mobile phone", and the "NOH-AL00" corresponding to the terminal Model of "Hua Mate 40Pro mobile phone".
It can be understood that the code of the terminal model can be obtained by directly analyzing the video play log.
For the code number of the terminal model which is not in the terminal model comparison table, the terminal model corresponding to the code number of the terminal model can be obtained through inquiring of the cloud server; naturally, the code of the terminal model is determined not only by querying the cloud server, but any mode capable of determining the code of the terminal model in the field is within the protection scope of the application.
In this way, the correspondence between the code number of the terminal model and the terminal model, which are not stored in the terminal model comparison table, may 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 video play logs corresponding to the terminal.
Specifically, a video play log of the terminal can be collected through kafka; further, the collected logs can be consumed through a logstack component; still further, logs consumed by the logstack component may be written to hdfs, and the consumed logs stored by hdfs.
Step 202: and determining a target value corresponding to the performance index.
The log can be analyzed through a computing component, for example, the parameters such as the terminal model, the terminal temperature, the video playing katon rate, the video definition and the like can be analyzed through spark;
further, 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 click-through rate in the logs can be respectively aggregated and averaged through the calculation component, and then the average value of the terminal temperature and the video playing click-through rate can be determined as the corresponding target values of the terminal temperature and the video playing click-through rate.
Specifically, target values for various performance indicators (e.g., terminal temperature and video playback katana) 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 terminal with the target terminal model plays the video with the target definition, the aggregation value of the corresponding terminal temperature and the aggregation result of the video playing cartoon rate are obtained.
In this step, it should be noted that, in order to determine the terminal model corresponding to the code of the terminal model, a terminal model comparison table may be preset, where the correspondence between the code of the terminal model and the terminal model may be stored in the terminal model comparison table, but since the updating of the terminal model is very fast, the correspondence between the code of all terminal models and the terminal model cannot be stored in the terminal model comparison table, for this reason, when the code of the terminal model analyzed in the log is found not stored in the terminal model comparison table, the terminal model corresponding to the code of the terminal model may be obtained through some technical means, for example, the terminal model corresponding to the code of the terminal model may be obtained through a cloud server, and the correspondence between the code of the terminal model and the terminal model may be stored in the terminal model comparison table, so as to continuously enrich the terminal model comparison table.
Step 203: and determining the value range of the performance index corresponding to the target definition.
Specifically, the parameter values of the performance index corresponding to each terminal when playing the video with the target definition can be determined through the video playing logs corresponding to each terminal, for example, the terminal temperature and the video playing card section rate corresponding to each terminal when playing the video with the target definition;
further, standard deviations of all parameter values of the terminal temperature corresponding to the video of the target definition when the at least one terminal plays the video of the target definition can be determined, and standard deviations of all parameter values of the video playing card section rate corresponding to the video of the target definition when the at least one terminal plays the video of the target definition are determined;
further, two times of the standard deviation of the terminal temperature and two times of the standard deviation of the video playing clamping rate are respectively determined as the value ranges corresponding to the terminal temperature and the video playing clamping 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, the target definition of the video played by the target terminal is determined, and the target value range corresponding to the target definition is determined, 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 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, whether the video with the target definition can be sent to the target terminal or not can be determined according to the real performance of the terminal on the basis, personalized service can be provided for a user according to the real performance of the terminal, and the accuracy and objectivity of video delivery are improved.
According to the video sending method, the performances of various terminals can be determined through the video playing logs by utilizing big data analysis, and compared with the method of simply referring to hardware parameters, the method can reflect the real performances of the terminals more truly, and the practicability is improved.
It should be noted that, in the video transmission method provided in the embodiment of the present application, the execution body may be a video transmission device, or a control module in the video transmission device for executing the video transmission method. In the embodiment of the present application, a method for executing a video transmission by a video transmission device is taken as an example, and a video transmission device provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of a video transmitting apparatus according to an embodiment of the present invention. As shown in fig. 3, a video transmitting apparatus 300 includes: the first determining module 310, the second determining module 320, the third determining module 330, and the transmitting 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 indicator;
a third determining module 330, configured to determine a target value corresponding to the at least one performance indicator according to a terminal model and a target definition of the target terminal;
and the sending module 340 is configured to send, to the target terminal, a video with the target definition if the target value corresponding to the at least one performance index meets the target value range.
In one implementation, the third determining module 330 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 play log in the at least one video play log, wherein the relevant parameters comprise a terminal model, the definition of a play video and a parameter value of the at least one performance index;
extracting a corresponding first video play log from the at least one video play log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter values of each performance index in the first video play 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 one implementation, 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 play log in the at least one video play log, wherein the relevant parameters comprise a terminal model, the definition of a play video and a parameter value of the at least one performance index;
extracting a corresponding second video play log from the at least one video play log according to the target definition, and respectively determining standard deviations of parameter values of each performance index in the second video play log;
and determining a value range of a target standard deviation smaller than a parameter value of the performance index as the value range of the performance index aiming at each performance index to obtain a target value range corresponding to the target definition, wherein the target standard deviation is the standard deviation of a preset multiple.
In an alternative implementation manner, in the 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 play log, obtaining the code number of the terminal model corresponding to the video play log from the video play 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 corresponding relation between the code number of the terminal model and the terminal model is stored in the terminal model comparison table;
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 alternative implementation, 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 within the value range of the corresponding performance index included in the target value range, confirming that the target value corresponding to the at least one performance index accords with 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, determining that the target value corresponding to the at least one performance index accords with the target value range.
The video transmitting 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 may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
A video transmitting apparatus in the embodiments of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The video sending device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 and fig. 2, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the embodiment of the method, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
The 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 processes of the embodiment of the video sending method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no redundant description is provided herein.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the embodiment of the video sending method, and achieve the same technical effect, so that repetition is avoided, and no further description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
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 … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A method for transmitting video, comprising:
determining 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;
transmitting a video with the target definition to the target terminal under the condition that a target value corresponding to the at least one performance index accords with the target value range;
the determining, according to the terminal model and the target definition of the target terminal, a target value corresponding to the at least one performance index includes:
acquiring at least one video play log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video play log in the at least one video play log, wherein the relevant parameters comprise a terminal model, the definition of a play video and a parameter value of the at least one performance index;
extracting a corresponding first video play log from the at least one video play log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter values of each performance index in the first video play 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.
2. The method according to claim 1, wherein determining a target value range corresponding to the target definition includes:
acquiring at least one video play log corresponding to at least one terminal;
determining relevant parameters of a terminal corresponding to each video play log in the at least one video play log, wherein the relevant parameters comprise a terminal model, the definition of a play video and a parameter value of the at least one performance index;
extracting a corresponding second video play log from the at least one video play log according to the target definition, and respectively determining standard deviations of parameter values of each performance index in the second video play log;
and determining a value range of a target standard deviation smaller than a parameter value of the performance index as the value range of the performance index aiming at each performance index to obtain a target value range corresponding to the target definition, wherein the target standard deviation is the standard deviation of a preset multiple.
3. The method for sending video according to claim 1 or 2, wherein, in the case that 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 play log, obtaining the code number of the terminal model corresponding to the video play log from the video play 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 corresponding relation between the code number of the terminal model and the terminal model is stored in the terminal model comparison table;
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.
4. The method for sending video according to claim 1, wherein the method for confirming that the target value corresponding to the at least one performance indicator corresponds to 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, confirming that the target value corresponding to the at least one performance index accords with the target value range; or,
and if the target value corresponding to each designated at least one key performance index is within 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 accords with the target value range.
5. A video transmission apparatus, comprising:
the first determining module is used for determining the target definition of the video played by the target terminal;
the second determining module is used for 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;
the third determining module is used for 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;
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;
the third determining module 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 play log in the at least one video play log, wherein the relevant parameters comprise a terminal model, the definition of a play video and a parameter value of the at least one performance index;
extracting a corresponding first video play log from the at least one video play log according to the terminal model and the target definition of the target terminal, and respectively aggregating the parameter values of each performance index in the first video play 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.
6. The video transmission apparatus according to claim 5, wherein the second determining module 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 play log in the at least one video play log, wherein the relevant parameters comprise a terminal model, the definition of a play video and a parameter value of the at least one performance index;
extracting a corresponding second video play log from the at least one video play log according to the target definition, and respectively determining standard deviations of parameter values of each performance index in the second video play log;
and determining a value range of a target standard deviation smaller than a parameter value of the performance index as the value range of the performance index aiming at each performance index to obtain a target value range corresponding to the target definition, wherein the target standard deviation is the standard deviation of a preset multiple.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method of transmitting video according to any one of claims 1-4.
8. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the video transmission method according to any one of claims 1-4.
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 CN115379261A (en) 2022-11-22
CN115379261B true 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 (8)

* 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
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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9191284B2 (en) * 2010-10-28 2015-11-17 Avvasi Inc. Methods and apparatus for providing a media stream quality signal
US9224452B2 (en) * 2013-01-17 2015-12-29 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
US10764184B2 (en) * 2018-07-17 2020-09-01 Facebook, Inc. Detecting communication network insights of alerts

Patent Citations (8)

* 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
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
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.2017,(第TSGS4_94期),全文. *
浅谈公安视频监控系统的建设与管理;张峥嵘;;中国公共安全(第13期);全文 *

Also Published As

Publication number Publication date
CN115379261A (en) 2022-11-22

Similar Documents

Publication Publication Date Title
CN106940679B (en) Data processing method and device
CN107391359B (en) Service testing method and device
KR102201919B1 (en) Random forest model training method, electronic device and storage medium
CN110149529B (en) Media information processing method, server and storage medium
CN112087487B (en) Scheduling method and device of model training task, electronic equipment and storage medium
CN111382182A (en) Data processing 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
CN109271453B (en) Method and device for determining database capacity
CN110688319A (en) Application keep-alive capability test method and related device
CN115379261B (en) Video sending method and device, electronic equipment and storage medium
CN111506455B (en) Checking method and device for service release result
CN111581431A (en) Data exploration method and device based on dynamic evaluation
CN110634024A (en) User attribute marking method and device, electronic equipment and storage medium
CN114356712A (en) Data processing method, device, equipment, readable storage medium and program product
KR20220056836A (en) Method and apparatus for determining voice response rate, electronic device, computer readable storage medium and computer program
CN105245380B (en) Message propagation mode identification method and device
CN113988954A (en) Financing product marketing method and device
CN111859063A (en) Control method and device for monitoring transfer of seal information in Internet
CN111222739A (en) Task allocation method and task allocation system of nuclear power station
CN117056663B (en) Data processing method and device, electronic equipment and storage medium
CN113821366B (en) Automatic abnormality analysis method and system based on doris
CN110674839B (en) Abnormal user identification method and device, storage medium and electronic equipment
CN115146139A (en) Business data processing method and device, electronic equipment and storage medium
CN114168763A (en) Multimedia resource recall method, device, 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