CN117294687A - Short video APP use perception evaluation method, device, equipment and storage medium - Google Patents

Short video APP use perception evaluation method, device, equipment and storage medium Download PDF

Info

Publication number
CN117294687A
CN117294687A CN202310813419.8A CN202310813419A CN117294687A CN 117294687 A CN117294687 A CN 117294687A CN 202310813419 A CN202310813419 A CN 202310813419A CN 117294687 A CN117294687 A CN 117294687A
Authority
CN
China
Prior art keywords
video
video slice
code stream
slice
tcp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310813419.8A
Other languages
Chinese (zh)
Inventor
吕万
高爱丽
耿鲁静
费文超
孙鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Beijing Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Beijing 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 China Mobile Communications Group Co Ltd, China Mobile Group Beijing Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202310813419.8A priority Critical patent/CN117294687A/en
Publication of CN117294687A publication Critical patent/CN117294687A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/752Media network packet handling adapting media to network capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless

Landscapes

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

Abstract

The invention provides a short video APP use perception evaluation method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a TCP code stream of a downloading request of each video slice; comparing byte start-stop position Range fields among each video slice carried by the TCP code stream, and judging the use perception of each video slice; based on the usage awareness of each video slice, short video APP usage awareness is evaluated. According to the method, the Range field between each video slice carried by the TCP code stream is compared, the use perception of each video slice is judged, the use perception of the short video APP is estimated based on the use perception of each video slice, the use perception of the short video APP service can be accurately estimated from the network side only by collecting the TCP code stream, the method is simple in landing, and therefore the method is beneficial to monitoring the play condition of the short video APP in real time, and the network service quality is improved.

Description

Short video APP use perception evaluation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for short video APP usage awareness evaluation.
Background
With the rapid development of communication technology, the popularization of smart phones and the cost of mobile traffic are reduced, social ways of people are diversified, and top-level traffic Application software represented by short video Application (APP) can be used for realizing various interesting things by recording and sharing life of users, producing video content and realizing more friends through a platform. The short video platform gathers a plurality of active users with the characteristics of rich colors and fun, and according to the characteristics of the platform publication, the number of daily active users of the short video of a certain platform in 2020 is 6 hundred million, and the number of daily active users of the short video of the other half year in 2020 is 3 hundred million, so that how to evaluate the use perception of the users playing the short video by using the network operators becomes the content of important attention of the network operation maintenance engineers.
Various user perception indexes caused by video playing carried on the network are key basis for a network optimization maintenance engineer to evaluate user use perception experience and discover network problems in time. The current method for evaluating the video playing time delay mainly comprises the following two modes: the first mode is that buried code rules are obtained from an APP development company; the second approach is by software development kit (software development kit, SDK) implantation at APP.
However, the two ways have difficulty in implementation, and the two ways are difficult to land: the first way has the difficulty of falling to the ground that the APP development company is required to provide relevant feature code plaintext rules, and feature codes can change at any time; the first way is to land on the site where the APP developed by the company itself can be implanted in the software.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a short video APP use perception evaluation method, which comprises the following steps:
acquiring a transmission control protocol (Transmission Control Protocol, TCP) code stream of a download request of each video slice;
comparing Range fields among each video slice carried by the TCP code stream, and judging the use perception of each video slice;
based on the usage awareness of each video slice, short video APP usage awareness is evaluated.
According to the short video APP usage perception evaluation method provided by the present invention, the comparing the byte start-stop position Range field between each video slice carried by the TCP code stream, and determining the usage perception of each video slice includes:
comparing a Range starting value carried by a TCP code stream in a current XDR ticket with a Range ending value carried by a TCP code stream in a previous XDR ticket aiming at each service detail record XDR (X Detailed Record, collectively called as all types of service detail records);
And judging the use perception of the video slice corresponding to the current XDR ticket according to the comparison result.
According to the short video APP usage perception evaluation method provided by the invention, the usage perception of the video slice corresponding to the current XDR ticket is judged according to the comparison result, and the method comprises the following steps:
if the Range starting value carried by the TCP code stream in the current XDR ticket is equal to the Range ending value carried by the TCP code stream in the last XDR ticket, marking the current XDR ticket as a quality XDR ticket;
if the Range start value carried by the TCP code stream in the current XDR ticket is smaller than the Range end value carried by the TCP code stream in the last XDR ticket, marking the current XDR ticket as a quality difference XDR ticket;
if the Range start value carried by the TCP code stream in the current XDR ticket is larger than the Range end value carried by the TCP code stream in the last XDR ticket, calculating the average playing code rate of the video slice and the downloading rate of the video slice, comparing the average playing code rate of the video slice and the downloading rate of the video slice, and judging whether the current XDR ticket is a quality XDR ticket or not.
According to the short video APP provided by the invention, a perceptual evaluation method is used, the comparing the video slice average playing code rate and the video slice downloading rate, and determining whether the current XDR ticket is a quality XDR ticket comprises:
If the average playing code rate of the video slice is larger than the downloading rate of the video slice, marking the current XDR ticket as a quality difference XDR ticket;
and if the average playing code rate of the video slice is smaller than or equal to the downloading rate of the video slice, marking the current XDR ticket as a quality XDR ticket.
The short video APP provided by the invention uses a perception evaluation method, and the calculation of the average playing code rate of the video slice comprises the following steps:
reading the total size of the video from a Content-Range field which is carried by the TCP code stream and used for recording the start and stop positions of the slice and the length of the video Content;
reading media playable time length from a position, which is backwards shifted by 16 bits, of an mvhd key field which is carried by a TCP code stream of a first video slice and is used for describing media sharing information, and carrying out binary conversion on the media playable time length to obtain video playable time length;
and calculating the average playing code rate of the video slice based on the total video size and the playable duration of the video.
The short video APP provided by the invention uses a perception evaluation method, and the method for calculating the video slice downloading rate comprises the following steps:
calculating the difference value between the Range end value carried by the TCP code stream and the Range start value to obtain the video slice size;
Calculating the difference value between the last hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) content packet time carried by the TCP code stream and the first HTTP content packet time of the get request to obtain the last HTTP content packet time delay;
and calculating a video slice downloading rate based on the video slice size and the last HTTP content packet delay.
According to the short video APP usage perception evaluation method provided by the invention, the short video APP usage perception evaluation method based on the usage perception of each video slice comprises the following steps:
calculating the ratio of the XDR call quantity to the total XDR call quantity to obtain the short video play cartoon rate; the short video play katon rate is used for evaluating short video APP usage awareness.
The short video APP provided by the invention uses a perception evaluation method, and the method for acquiring the TCP code stream of the downloading request of each video slice comprises the following steps:
acquiring a TCP code stream sent by a client;
and identifying the TCP code stream of the downloading request of each video slice from the TCP code streams sent by the client according to the Http get request format characteristic, the Http return status Content, the Content-Type field Content for recording the Content Type and the Host address.
The invention also provides a short video APP use perception evaluation device, which comprises:
the acquisition module is used for acquiring the TCP code stream of the downloading request of each video slice;
the judging module is used for comparing byte start-stop position Range fields among each video slice carried by the TCP code stream and judging the use perception of each video slice;
and the evaluation module is used for evaluating the short video APP use perception based on the use perception of each video slice.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the short video APP usage awareness assessment method as described in any one of the above when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the short video APP usage awareness evaluation method as described in any of the above.
After the TCP code stream of the downloading request of each video slice is obtained, the embodiment of the invention judges the use perception of each video slice by comparing the Range fields among each video slice carried by the TCP code stream, evaluates the use perception of the short video APP based on the use perception of each video slice, can accurately evaluate the use perception of the short video APP service from the network side by only collecting the TCP code stream, and has simple landing, thereby being beneficial to monitoring the play condition of the short video APP in real time and improving the network service quality.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a short video APP usage perception evaluation method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a video playing signaling flow of a short video APP using a perceptual evaluation method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of determining a delay of a short video APP using a perceptual evaluation method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a video slice perception determination and quality difference positioning delimitation flow of a short video APP using a perception evaluation method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a short video APP usage perception evaluation device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flow chart of a short video APP using perceptual evaluation method according to an embodiment of the present invention. Referring to fig. 1, an embodiment of the present invention provides a short video APP usage perception evaluation method, which specifically may include the following steps:
step 101, a TCP code stream of a download request of each video slice is obtained.
The embodiment of the invention is described by taking a server as an execution main body. The short video APP can refer to a short video APP based on MP4 format, in practical application, when a user uses a short video APP client to play MP4 video online, the client can request corresponding video information to a server, the server can respond to related information of the request for issuing video, the client can initiate a resource downloading get request according to the obtained video downloading address, and the server can respond to the resource request message to send corresponding video data to the client. When the video data received by the client exceeds the initial buffer threshold, the client can start playing the video.
Fig. 2 is a schematic diagram of a video playing signaling flow of a short video APP using a perceptual evaluation method according to an embodiment of the present invention. Referring to fig. 2, before video play, a terminal installed with a short video APP client can be controlled to complete a radio access procedure with an access network, an attachment procedure with a core network, and a packet data protocol (Packet Data Protocol, PDP) activation procedure with the core network.
When a user uses a short video APP client installed on a terminal, the terminal may initiate a DNS query to a domain name system (Domain Name System, DNS) which may send DNS responses to the terminal in response to the DNS query.
After completing the DNS query procedure, the terminal may send a synchronization sequence number (Synchronize Sequence Numbers, SYN) to a direct Provider (SP) (i.e., server) of the mobile internet Service content application Service, and the SP may send a syn_ack (Acknowledge character, acknowledgement character) to the terminal in response to the SYN. The terminal may then send ACK and GET download requests to the SP, the SP may REPLY to REPLY 200 OK and the corresponding video slice DATA HTTP DATA, and the terminal may receive the video slice DATA issued by the SP, thereby completing the TCP link establishment, GET request and return processes.
After completing the preparation before video playing, the terminal may send SYN to the SP, the SP may send syn_ack to the terminal in response to SYN, and the terminal may reply ACK to the SP, thereby completing the TCP connection establishment procedure.
After establishing the TCP connection, the terminal may send a GET download request to the SP, and the SP may send REPLY 200 OK and video slice DATA HTTP DATA to the terminal in response to the download request. After the terminal sends LAST HTTP REPLY DATA to the SP, the TCP connection may be torn down.
The short video APP can buffer a plurality of subsequent video slices in advance in the background when the current video is played. Because of the presence of buffering, a distinction can be made between buffered and uncached video slices being played (i.e., downloaded while playing) when making a perceived-as-good determination.
When the user slides the terminal window to the next short video, the user can start playing the cached video slice, and can initiate a downloading request again, and the rest video slices not cached in the video or slices of other later videos are downloaded by using a breakpoint continuous transmission mode, so that the server can acquire the TCP code stream of the downloading request for each video slice.
And 102, comparing byte start-stop position Range fields among each video slice carried by the TCP code stream, and judging the use perception of each video slice.
Specifically, the Range field may be carried by the TCP code stream corresponding to each video slice, and the Range field carried by the TCP code stream corresponding to the previous video slice may be compared with the Range field carried by the TCP code stream corresponding to the next video slice, so as to determine the play status of each video slice, and determine the usage sense of each video slice.
Step 103, evaluating the short video APP usage perception based on the usage perception of each video slice.
The same video source can be divided into at least two video slices for transmission and downloading, the actual use perception situation of a user can be known by judging the use perception of each video slice, statistical analysis is carried out based on the use perception of each video slice, and the use perception of the short video APP can be evaluated.
In the embodiment of the invention, after the TCP code stream of the downloading request of each video slice is obtained, the use perception of each video slice is judged by comparing the Range field between each video slice carried by the TCP code stream, and the use perception of the short video APP is evaluated based on the use perception of each video slice, so that the use perception of the short video APP service can be accurately evaluated from the network side by only collecting the TCP code stream, the landing is simple, thereby being beneficial to monitoring the play condition of the short video APP in real time and improving the network service quality.
In an alternative embodiment, the step 102 may comprise the following sub-steps S11-S12:
step S11, recording XDR ticket in detail for each service, comparing the Range starting value carried by TCP code stream in the current XDR ticket with the Range ending value carried by TCP code stream in the last XDR ticket;
And a substep S12, judging the use perception of the video slice corresponding to the current XDR ticket according to the comparison result.
The TCP code stream requested by each video slice get may be an XDR ticket, multiple XDR tickets may be obtained, and for each XDR ticket, a Range start value carried by the TCP code stream in the current XDR ticket may be compared with a Range end value carried by the TCP code stream in the previous XDR ticket, so as to determine a usage sense of the video slice corresponding to the current XDR ticket.
Specifically, the get request content of the video fragments of the same video source can carry the same main uniform resource identifier (Uniform Resource Identifier, URI) information, the TCP data stream can carry Range keyword information, and the form can be a Range bytes AA-BB field, where AA can represent a byte position of a start of a slice (i.e., a Range start value), and BB can represent a byte position of an end of the slice (i.e., a Range end value). Video slices of the same video source may be defined as a group of video slices. The Range content of the video slice group of the same video source is sequenced, for example, a 3145727 byte-sized video can be divided into 3 video slice downloads, then the first slice Range: 0-1048575, second slice Range: 1048576-2097151, third slice Range:2097152 to 3145727.
In the embodiment of the invention, the use perception of each video slice can be judged by comparing the Range starting value carried by the TCP code stream in the current XDR ticket with the Range ending value carried by the TCP code stream in the last XDR ticket, and the landing is simple, thereby being beneficial to monitoring the play condition of the short video APP in real time and improving the network service quality.
In an alternative embodiment, the substep S12 may include the following substeps S121-S123:
sub-step S121, if the Range start value carried by the TCP code stream in the current XDR ticket is equal to the Range end value carried by the TCP code stream in the last XDR ticket, marking the current XDR ticket as a quality XDR ticket.
Specifically, when the video is normally played, the Range of the get request is not changed, if the Range start value (AA) of the current XDR ticket is equal to the Range end value +1 (bb+1) of the last XDR ticket, the current XDR ticket is the normal play XDR ticket, and the current XDR ticket can be marked as a quality XDR ticket.
For example, if the Range contents of Http get requests of the same group of video slices are in sequence, namely, the Range of the first slice is AA-BB, the Range of the second slice is BB+1-CC, the Range of the third slice is CC+1-DD, …, and so on, the TCP code stream of each video slice of the same video source is a normal playing XDR ticket, namely, a quality excellent XDR ticket.
And sub-step S122, if the Range start value carried by the TCP code stream in the current XDR ticket is smaller than the Range end value carried by the TCP code stream in the last XDR ticket, marking the current XDR ticket as a quality difference XDR ticket.
Specifically, when the video is played in a pause, the Range of the get request is changed; when serious clamping occurs, the TCP data stream is disconnected, a get request for the video slice is restarted, and the Range carried by new get request information is that AA in bytes is equal to the downloaded data position of the video slice with clamping, BB is the same as the clamping slice, for example, clamping video slicing Range: bytes 100-200, which are not completely downloaded, are blocked after 100-150 is downloaded, and 50bytes are not completely downloaded, then the newly downloaded video clip is Range: bytes 151-200. If the Range start value (AA) of the current XDR ticket is smaller than the Range end value +1 (BB+1) of the last XDR ticket, the current XDR ticket is a cartoon playing XDR ticket, and the current XDR ticket can be marked as a quality difference XDR ticket.
And sub-step S123, if the Range start value carried by the TCP code stream in the current XDR ticket is larger than the Range end value carried by the TCP code stream in the previous XDR ticket, calculating the average playing code rate of the video slice and the downloading rate of the video slice, comparing the average playing code rate of the video slice and the downloading rate of the video slice, and judging whether the current XDR ticket is a quality XDR ticket or not.
Specifically, when fast forward occurs (for example, a user drags the playing progress to the outside of the buffer area), the Range of get requests of the same group of video slices will change, and instead of going in sequence, the get requests directly download video slices of the fast forward position (the Range of the fast forward video slice: DD-EE, the start value DD of which is greater than the end value of the previous video slice), and the video slices of this case belong to the uncached and play-while-play mode. If the Range starting value (AA) of the current XDR ticket is larger than the Range ending value +1 (BB+1) of the last XDR ticket, the current XDR ticket is fast forward for playing the XDR ticket, the average playing code rate of the video slice and the downloading rate of the video slice can be calculated, and whether the downloaded video slice meets playability or not is judged by comparing the average playing code rate of the video slice and the downloading rate of the video slice, so that whether the video slice is blocked or not is judged, and whether the current XDR ticket is a good XDR ticket is judged.
In the embodiment of the invention, which play state of the downloaded video slice is in normal play, fast forward play and cartoon play can be judged according to the data transmission mode characteristics of the TCP code stream, and the XDR ticket is judged to be the excellent XDR ticket or the poor XDR ticket by combining the average play code rate of the video slice, so that the use perception of the short video APP service can be accurately estimated from the network side only by collecting the TCP code stream, the landing is simple, the real-time monitoring of the play condition of the short video APP is facilitated, and the network service quality is improved.
In an alternative embodiment, said comparing said video slice average playback rate to said video slice download rate, determining whether said current XDR ticket is a quality good XDR ticket, comprises: if the average playing code rate of the video slice is larger than the downloading rate of the video slice, marking the current XDR ticket as a quality difference XDR ticket; and if the average playing code rate of the video slice is smaller than or equal to the downloading rate of the video slice, marking the current XDR ticket as a quality XDR ticket.
If the current XDR ticket is the fast forward playing XDR ticket, the video slice playing code rate and the video slice downloading rate can be calculated, the video slice playing code rate and the video slice downloading rate are compared, and whether the current XDR ticket is the excellent XDR ticket or the poor XDR ticket is judged according to the comparison result. Specifically, if the average playing code rate of the video slice is greater than the downloading rate of the video slice, the current XDR ticket can be marked as a quality difference XDR ticket; if the video slice average playing code rate is less than or equal to the video slice downloading rate, the current XDR ticket can be marked as a quality excellent XDR ticket.
In an alternative embodiment, the calculating the average playing code rate of the video slice includes: reading the total size of the video from a Content-Range field which is carried by the TCP code stream and used for recording the start and stop positions of the slice and the length of the video Content; reading media playable time length from a position, which is backwards shifted by 16 bits, of an mvhd key field which is carried by a TCP code stream of a first video slice and is used for describing media sharing information, and carrying out binary conversion on the media playable time length to obtain video playable time length; and calculating the average playing code rate of the video slice based on the total video size and the playable duration of the video.
Specifically, the size of the video slice can be obtained through a Content-Range:bytes AA-BB/CC field in a TCP code stream of the video slice get request, wherein AA can represent the byte position of the start of the slice, BB can represent the byte position of the start of the slice, CC can represent the total size of the video, and the total size of the video can be obtained by reading a CC field in the Content-Range field.
In the first video fragment of each video, that is, the fragment of the Range starting from 0, the first two payload packet positions of the downstream after the get request may have mvhd key fields, the mvhd key fields may be shifted back by 16 bits to read the 17 th to 20 th bit information, the 17 th to 20 th bit information is duration (i.e., media playable duration), the media playable duration is a 16-ary codeword, and the media playable duration may be converted into decimal to obtain the video playable duration. For example, assuming that the duration is 00 00 & lt 89 & gt2 a, a conversion to decimal system can result in 35114 ms =35s, and 35s is the video playable duration.
The "video total size bytes" 8/"video playable duration ms" is calculated, and the "video slice average playing code rate kbps" can be obtained.
In the embodiment of the invention, the average playing code rate of the video slice can be calculated based on the TCP code stream characteristics, so that the use perception of the short video APP of the user is evaluated by combining the average playing code rate of the video slice.
In an alternative embodiment, the calculating the video slice download rate includes: calculating the difference value between the Range end value carried by the TCP code stream and the Range start value to obtain the video slice size; calculating the difference value between the last HTTP content packet time carried by the TCP code stream and the first HTTP content packet time of the get request to obtain the last HTTP content packet time delay; and calculating a video slice downloading rate based on the video slice size and the last HTTP content packet delay.
Specifically, the size of a video slice, i.e. "video slice size" =bb-AA, may be obtained by Range: bytes AA-BB of the video slice of each get request.
The video slice download duration, i.e. "last HTTP content packet delay", may be obtained by subtracting the "last HTTP content packet time" of the video slice TCP stream from the "first HTTP content packet time" of the get request.
Calculating the 'video slice size bytes' 8/'last HTTP content packet delay ms', the 'video slice download rate kbps' can be obtained.
Fig. 3 is a schematic diagram of determining a delay of a short video APP using a perceptual evaluation method according to an embodiment of the present invention. Referring to fig. 3, a TCP chaining response delay may be determined based on a SYN transmission time and a syn_ack response time; the TCP link establishment acknowledgement delay may be determined based on the syn_ack response time and the ACK transmission time; the delay from the successful TCP link establishment to the first transaction request can be determined based on the ACK transmission time and the GET request transmission time; the first transaction request to its first response packet delay and the first HTTP response packet delay may be determined based on the GET request send time and the TCP No.1 (200 OK) receive time; the time delay of the last HTTP content packet may be determined based on the GET request send time and the TCP No.3 receive time; the delay of the last ACK acknowledgement packet may be determined based on the GET request transmission time and the ACK transmission time.
In the embodiment of the invention, based on the TCP code stream characteristics, the video slice downloading rate can be calculated, so that the average playing code rate of the video slice is compared with the video slice downloading rate to evaluate the use perception of the short video APP of the user.
In an alternative embodiment, said evaluating short video APP usage awareness based on said usage awareness of each video slice comprises: calculating the ratio of the XDR call quantity to the total XDR call quantity to obtain the short video play cartoon rate; the short video play katon rate is used for evaluating short video APP usage awareness.
Specifically, the TCP code stream of each video slice is an XDR ticket, after all DR tickets are marked as excellent XDR tickets or poor XDR tickets, the short video playing click-through rate can be obtained by calculating the proportion of the poor XDR ticket, that is, the ratio of the poor XDR ticket to the total XDR ticket is calculated, so as to obtain the short video playing click-through rate, which is used for evaluating the usage perception of the short video APP.
In the embodiment of the invention, the monitoring and analysis of the network index can be performed through multi-dimensional aggregation of the user dimension, the cell dimension, the branch company, the whole network and the like. For the user dimension, the short video play katon rate of a certain user when using the short video APP can be calculated, the method is applied to the index condition of monitoring the short video APP play of a single (multiple) user in real time, the implementation of a related network optimization scheme is guided, the user is ensured to obtain good perception in real time, and meanwhile, the method can be also used for the statistical analysis of the short video APP application of the single (multiple) user, and the short video APP service use perception of multiple dimensions of the user or the network and the like is evaluated.
In an alternative embodiment, the obtaining the TCP stream of the download request of each video slice includes: acquiring a TCP code stream sent by a client; and identifying the TCP code stream of the downloading request of each video slice from the TCP code streams sent by the client according to the Http get request format characteristic, the Http return status Content, the Content-Type field Content for recording the Content Type and the Host address.
The short video APP can download video slices by using TCP and HTTP protocols, adopts a GET request form, downloads MP4 video files with the video format of ". MP4" by using a breakpoint continuous transmission mode, and transmits the video in a slice segmentation form.
The server can use the following 4 parts of TCP and HTTP code stream content characteristic combinations to identify the video slices of the short video APP. When the server receives the TCP stream sent by the client, if the Http GET request information format in the TCP stream is "GET/ksc 1/… … MP4? … … ", http return status Content is 206 or 200 ok, content-Type field Content is video/mp4, and the Host address is in the format of a.yxmgs.com or a.a.etoo.com (representing a different prefix, such as bdskmov.a.yxmgs.com, representing bdskmov), then the TCP stream is the TCP stream of the download request for the video slice.
In the embodiment of the invention, based on the code stream characteristics of the TCP and HTTP related protocols, the TCP code stream of the video get request can be accurately identified from the TCP code stream sent by the client, so that the use perception of the short video APP service is evaluated based on the TCP code stream.
Fig. 4 is a schematic diagram of a video slice sensing determination and quality difference positioning delimitation flow of a short video APP using a sensing evaluation method according to an embodiment of the present invention.
Referring to fig. 4, after the Http request is successful, if the Range start bit in the same Http request is equal to the Range end byte bit +1 of the last Http request, the video slice of the Http request is a video slice that normally plays without any clip, or is a video slice that is downloaded while playing, and the XDR ticket is a quality XDR ticket.
If the Range start bit in the Http request is greater than the Range end byte bit +1 of the last same Http request, the video slice of the Http request is a video slice (unbuffered area) for fast forward play, if the average play code rate of the video slice is less than or equal to the download rate of the video slice, the XDR ticket is a quality XDR ticket; if the average playing code rate of the video slice is larger than the downloading rate of the video slice, the XDR ticket is a cartoon playing XDR ticket, namely a quality difference XDR ticket.
If the Range start bit in the Http request is less than the Range end byte bit +1 of the last same Http request and is the same as the Range end bit in the last same Http request, the video slice of the Http request is a video slice played by a cartoon, and the XDR ticket is a quality difference XDR ticket.
In the TCP establishment stage, if the wireless time delay is greater than 144ms and the core time delay is greater than 47ms, it can be determined that the quality difference XDR ticket is caused by the wireless and core sides; if the wireless time delay is greater than 144ms and the core time delay is less than or equal to 47ms, the quality difference XDR ticket can be determined to be caused by the wireless side; if the wireless time delay is less than or equal to 144ms and the core time delay is greater than 47ms, it can be determined that the bad XDR ticket is caused by the core side.
In the HTTP connection stage, if the wireless time delay is less than or equal to 144ms and the core time delay is less than or equal to 47ms, judging whether the uplink RTT time delay is more than 26ms. If the uplink RTT time delay is greater than 26ms and the downlink RTT time delay is greater than 84ms, it can be determined that the quality difference XDR ticket is caused by the wireless side and the core side (Http phase); if the uplink RTT delay is greater than 26ms and the downlink RTT delay is less than or equal to 84ms, it may be determined that the quality difference XDR ticket is caused by the core side (Http stage). If the uplink RTT delay is less than or equal to 26ms and the downlink RTT delay is greater than 84ms, it can be determined that the quality difference XDR ticket is caused by the wireless side (Http stage); if the uplink RTT delay is less than or equal to 26ms and the downlink RTT delay is less than or equal to 84ms, it can be determined that the quality difference XDR ticket is caused by the end-to-end problem (Http stage).
In the embodiment of the invention, based on TCP code stream feature decoding, the use perception of each video slice is judged by comparing the Range field among each video slice according to the mp4 video format and the features of the video slices, and the use perception of the short video APP of a user can be evaluated by combining the average playing code rate of the video slices, and the use perception of the short video APP service can be accurately evaluated from a network side by only collecting TCP and HTTP code streams, so that the method is simple in landing, thereby being beneficial to monitoring the playing condition of the short video APP in real time and improving the network service quality.
The short video APP use perception evaluation device provided by the invention is described below, and the short video APP use perception evaluation device described below and the short video APP use perception evaluation method described above can be referred to correspondingly.
Fig. 5 is a schematic structural diagram of a short video APP using a perceptual evaluation device according to an embodiment of the present invention. Referring to fig. 5, an embodiment of the present invention provides a short video APP usage perception evaluation apparatus, which may specifically include the following modules:
an obtaining module 501, configured to obtain a TCP code stream of a download request of each video slice;
a determining module 502, configured to compare byte start-stop position Range fields between each video slice carried by the TCP stream, and determine usage awareness of each video slice;
An evaluation module 503, configured to evaluate the short video APP usage awareness based on the usage awareness of each video slice.
In an alternative embodiment, the determining module includes:
the comparing sub-module is used for recording the XDR ticket in detail aiming at each service, and comparing the Range starting value carried by the TCP code stream in the current XDR ticket with the Range ending value carried by the TCP code stream in the previous XDR ticket;
and the perception judging sub-module is used for judging the use perception of the video slice corresponding to the current XDR ticket according to the comparison result.
In an alternative embodiment, the perception determination submodule includes:
the first perception judging unit is used for marking the current XDR ticket as a quality XDR ticket if a Range starting value carried by a TCP code stream in the current XDR ticket is equal to a Range ending value carried by the TCP code stream in the last XDR ticket;
the second perception judging unit is used for marking the current XDR ticket as a quality difference XDR ticket if the Range starting value carried by the TCP code stream in the current XDR ticket is smaller than the Range ending value carried by the TCP code stream in the last XDR ticket;
and the third perception judging unit is used for calculating the average playing code rate of the video slice and the downloading rate of the video slice if the Range starting value carried by the TCP code stream in the current XDR ticket is larger than the Range ending value carried by the TCP code stream in the last XDR ticket, and comparing the average playing code rate of the video slice and the downloading rate of the video slice to judge whether the current XDR ticket is a quality XDR ticket.
In an alternative embodiment, the third perceptual judgment unit comprises:
the first code rate comparison subunit is configured to mark the current XDR ticket as a quality difference XDR ticket if the average playing code rate of the video slice is greater than the video slice downloading rate;
and the second code rate comparison subunit is used for marking the current XDR ticket as a quality XDR ticket if the average playing code rate of the video slice is smaller than or equal to the downloading rate of the video slice.
In an alternative embodiment, the third perceptual judgment unit comprises:
the video size reading subunit is used for reading the total size of the video from a Content-Range field which is carried by the TCP code stream and used for recording the start and stop positions of the slice and the length of the video Content;
a playable duration reading subunit, configured to read a media playable duration from a position, which is backwards offset by 16 bits, of an mvhd key field for describing media sharing information carried by a TCP code stream of a first video slice, and perform a binary conversion on the media playable duration to obtain a video playable duration;
and the play code rate calculating subunit is used for calculating the average play code rate of the video slice based on the total size of the video and the video playable duration.
In an alternative embodiment, the third perceptual judgment unit comprises:
the slice size calculating subunit is used for calculating the difference value between the Range end value carried by the TCP code stream and the Range start value to obtain the video slice size;
the time delay calculation subunit is used for calculating the difference value between the last HTTP content packet time carried by the TCP code stream and the first HTTP content packet time of the get request to obtain the time delay of the last HTTP content packet;
and the slice downloading rate calculating subunit is used for calculating the video slice downloading rate based on the video slice size and the last HTTP content packet delay.
In an alternative embodiment, the evaluation module includes:
the play jamming rate calculation sub-module is used for calculating the ratio of the quality difference XDR call quantity to the total XDR call quantity to obtain the short video play jamming rate; the short video play katon rate is used for evaluating short video APP usage awareness.
In an alternative embodiment, the acquiring module includes:
the TCP code stream acquisition sub-module is used for acquiring the TCP code stream sent by the client;
and the identification sub-module is used for identifying the TCP code stream of the downloading request of each video slice from the TCP code streams sent by the client according to the Http get request format characteristics, the Http return state Content, the Content-Type field Content for recording the Content Type and the Host address.
In the embodiment of the invention, after the TCP code stream of the downloading request of each video slice is obtained, the use perception of each video slice is judged by comparing the Range field between each video slice carried by the TCP code stream, and the use perception of the short video APP is evaluated based on the use perception of each video slice, so that the use perception of the short video APP service can be accurately evaluated from the network side by only collecting the TCP code stream, the landing is simple, thereby being beneficial to monitoring the play condition of the short video APP in real time and improving the network service quality.
Fig. 6 illustrates a physical schematic diagram of an electronic device, as shown in fig. 6, which may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to execute a short video APP usage awareness assessment method comprising:
acquiring a TCP code stream of a downloading request of each video slice;
comparing byte start-stop position Range fields among each video slice carried by the TCP code stream, and judging the use perception of each video slice;
Assessing short video APP usage awareness based on usage awareness of each video slice
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the short video APP usage awareness evaluation method provided by the methods above, the method comprising:
Acquiring a TCP code stream of a downloading request of each video slice;
comparing byte start-stop position Range fields among each video slice carried by the TCP code stream, and judging the use perception of each video slice;
assessing short video APP usage awareness based on usage awareness of each video slice
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A short video APP usage perception evaluation method, comprising:
acquiring a TCP code stream of a downloading request of each video slice;
comparing byte start-stop position Range fields among each video slice carried by the TCP code stream, and judging the use perception of each video slice;
based on the usage awareness of each video slice, short video APP usage awareness is evaluated.
2. The short video APP usage awareness assessment method of claim 1, wherein said comparing byte start-stop position Range fields between each video slice carried by the TCP stream, determining usage awareness for each video slice, comprises:
Recording an XDR ticket in detail aiming at each service, and comparing a Range starting value carried by a TCP code stream in the current XDR ticket with a Range ending value carried by a TCP code stream in the previous XDR ticket;
and judging the use perception of the video slice corresponding to the current XDR ticket according to the comparison result.
3. The short video APP usage awareness assessment method according to claim 2, wherein the determining the usage awareness of the video slice corresponding to the current XDR ticket according to the comparison result comprises:
if the Range starting value carried by the TCP code stream in the current XDR ticket is equal to the Range ending value carried by the TCP code stream in the last XDR ticket, marking the current XDR ticket as a quality XDR ticket;
if the Range start value carried by the TCP code stream in the current XDR ticket is smaller than the Range end value carried by the TCP code stream in the last XDR ticket, marking the current XDR ticket as a quality difference XDR ticket;
if the Range start value carried by the TCP code stream in the current XDR ticket is larger than the Range end value carried by the TCP code stream in the last XDR ticket, calculating the average playing code rate of the video slice and the downloading rate of the video slice, comparing the average playing code rate of the video slice and the downloading rate of the video slice, and judging whether the current XDR ticket is a quality XDR ticket or not.
4. The short video APP usage perceptual evaluation method of claim 3, wherein said comparing said video slice average playback rate and said video slice download rate to determine whether said current XDR ticket is a quality XDR ticket comprises:
if the average playing code rate of the video slice is larger than the downloading rate of the video slice, marking the current XDR ticket as a quality difference XDR ticket;
and if the average playing code rate of the video slice is smaller than or equal to the downloading rate of the video slice, marking the current XDR ticket as a quality XDR ticket.
5. The short video APP use perception evaluation method of claim 3 wherein said calculating the video slice average playback rate comprises:
reading the total size of the video from a Content-Range field which is carried by the TCP code stream and used for recording the start and stop positions of the slice and the length of the video Content;
reading media playable time length from a position, which is backwards shifted by 16 bits, of an mvhd key field which is carried by a TCP code stream of a first video slice and is used for describing media sharing information, and carrying out binary conversion on the media playable time length to obtain video playable time length;
and calculating the average playing code rate of the video slice based on the total video size and the playable duration of the video.
6. The short video APP use perception evaluation method of claim 3 wherein said calculating a video slice download rate comprises:
calculating the difference value between the Range end value carried by the TCP code stream and the Range start value to obtain the video slice size;
calculating the difference value between the last HTTP content packet time carried by the TCP code stream and the first HTTP content packet time of the get request to obtain the last HTTP content packet time delay;
and calculating a video slice downloading rate based on the video slice size and the last HTTP content packet delay.
7. The short video APP usage awareness assessment method of claim 4, wherein the assessing short video APP usage awareness based on the usage awareness for each video slice comprises:
calculating the ratio of the XDR call quantity to the total XDR call quantity to obtain the short video play cartoon rate; the short video play katon rate is used for evaluating short video APP usage awareness.
8. The short video APP usage perception evaluation method according to claim 1, wherein the obtaining the TCP stream of the download request of each video slice comprises:
acquiring a TCP code stream sent by a client;
And identifying the TCP code stream of the downloading request of each video slice from the TCP code streams sent by the client according to the Http get request format characteristic, the Http return status Content, the Content-Type field Content for recording the Content Type and the Host address.
9. A short video APP usage perception evaluation device, characterized by comprising:
the acquisition module is used for acquiring the TCP code stream of the downloading request of each video slice;
the judging module is used for comparing byte start-stop position Range fields among each video slice carried by the TCP code stream and judging the use perception of each video slice;
and the evaluation module is used for evaluating the short video APP use perception based on the use perception of each video slice.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the short video APP usage-aware evaluation method of any one of claims 1 to 8 when executing the program.
11. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the short video APP usage perception evaluation method of any of claims 1 to 8.
CN202310813419.8A 2023-07-04 2023-07-04 Short video APP use perception evaluation method, device, equipment and storage medium Pending CN117294687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310813419.8A CN117294687A (en) 2023-07-04 2023-07-04 Short video APP use perception evaluation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310813419.8A CN117294687A (en) 2023-07-04 2023-07-04 Short video APP use perception evaluation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117294687A true CN117294687A (en) 2023-12-26

Family

ID=89250656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310813419.8A Pending CN117294687A (en) 2023-07-04 2023-07-04 Short video APP use perception evaluation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117294687A (en)

Similar Documents

Publication Publication Date Title
CN110225417B (en) Data processing method and server, and method and server for detecting stuck state
CN106559677B (en) Terminal, cache server and method and device for acquiring video fragments
Erman et al. Over the top video: The gorilla in cellular networks
EP1788787B1 (en) Compatible progressive download method and system
CN110536179A (en) A kind of content distribution system and method
CN104125429B (en) The adjusting method and device of video data transmission
CN104602138B (en) A kind of method and device for making streaming media server support HLS protocol
US20100299443A1 (en) Method, System and Device for Playing Streaming Media
EP2775673A1 (en) Content reproduction information estimating device, method and program
US20070061339A1 (en) Method for analyzing browsing and device for implementing the method
EP2094021B1 (en) Processing method, device and system of control message
CN109982068B (en) Method, apparatus, device and medium for evaluating quality of synthesized video
CN112203136B (en) Method and device for predicting definition of encrypted flow video
JP5753946B2 (en) Method and system for downloading font files
CN110149299A (en) A kind of method for optimizing video, device and system, terminal and the network equipment
US20200274909A1 (en) Method and apparatus for adaptive streaming based on hybrid tcp and udp in multiple narrowband wireless communication environment
CN109547172A (en) Data transmission method, system and data transmitting equipment, data receiver
CN106911926A (en) A kind of video code rate recognition methods and device
CN109981550B (en) Game service quality evaluation method and device
CN104468771B (en) The determination method and device in geographical location
CN105871802A (en) Method, device and system for monitoring transmission of streaming media file
CN113676926B (en) User network sensing portrait method and device
CN117294687A (en) Short video APP use perception evaluation method, device, equipment and storage medium
CN104301806A (en) Video recognition method, device and system
CN103237314A (en) Method and device for evaluating service quality

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