CN109600610B - Data encoding method, terminal and computer readable storage medium - Google Patents

Data encoding method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109600610B
CN109600610B CN201811337828.0A CN201811337828A CN109600610B CN 109600610 B CN109600610 B CN 109600610B CN 201811337828 A CN201811337828 A CN 201811337828A CN 109600610 B CN109600610 B CN 109600610B
Authority
CN
China
Prior art keywords
target data
data
network state
target
state
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
CN201811337828.0A
Other languages
Chinese (zh)
Other versions
CN109600610A (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.)
Sunell Technology Corp
Original Assignee
Sunell Technology Corp
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 Sunell Technology Corp filed Critical Sunell Technology Corp
Priority to CN201811337828.0A priority Critical patent/CN109600610B/en
Publication of CN109600610A publication Critical patent/CN109600610A/en
Application granted granted Critical
Publication of CN109600610B publication Critical patent/CN109600610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/002Dynamic bit allocation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/22Mode decision, i.e. based on audio signal content versus external parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/24Variable rate codecs, e.g. for generating different qualities using a scalable representation such as hierarchical encoding or layered encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding

Abstract

The invention is applicable to the technical field of computers, and provides a data encoding method and a terminal. The method comprises the following steps: when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data comprises audio data and/or video data; determining a current network state based on the attribute information; when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data; and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data. By the mode, the coding mode is switched and the data are coded according to the current network state, so that video playing does not occur blocking, frame loss and mosaic, different requirements of users on code rates are met, the data transmission efficiency is improved, and the watching experience of the users is improved.

Description

Data encoding method, terminal and computer readable storage medium
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a data encoding method and a terminal.
Background
With the high-speed development of information technology, people have higher and higher requirements on network cameras, especially on video pictures and real-time performance, and because the network fluctuates, the Constant Bit Rate (CBR) is used for coding, so that not only is the storage space wasted, but also the situations of video blocking, frame loss and mosaic are easy to occur, and the watching effect is seriously influenced; the dynamic Bit Rate (VBR) coding cannot meet the Bit Rate requirement of the user, resulting in poor playing effect.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data encoding method and a terminal, so as to solve the problems in the prior art that a single encoding mode encoding results in low data transmission efficiency, a user code rate requirement cannot be met, and video playing is blocked, frames are lost, and mosaics occur.
A first aspect of an embodiment of the present invention provides a data encoding method, including:
when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data comprises audio data and/or video data;
determining a current network state based on the attribute information;
when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data;
and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data.
A second aspect of an embodiment of the present invention provides a terminal, including:
an acquisition unit configured to acquire attribute information of a network socket when a request to send first target data is detected; the first target data comprises audio data and/or video data;
a determining unit, configured to determine a current network state based on the attribute information;
the CBR coding unit is used for coding the target data by adopting a constant bit rate CBR coding mode when the network state is a smooth state to obtain second target data;
and the VBR coding unit is used for coding the target data by adopting a dynamic bit rate VBR coding mode to obtain third target data when the network state is a congestion state.
A third aspect of an embodiment of the present invention provides another terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports the terminal to execute the above method, where the computer program includes program instructions, and the processor is configured to call the program instructions and execute the following steps:
when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data comprises audio data and/or video data;
determining a current network state based on the attribute information;
when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data;
and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data comprises audio data and/or video data;
determining a current network state based on the attribute information;
when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data;
and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data.
The data coding method and the terminal provided by the embodiment of the invention have the following beneficial effects:
according to the embodiment of the invention, when a request for sending first target data is detected, attribute information of a network socket is obtained; the first target data comprises audio data and/or video data; determining a current network state based on the attribute information; when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data; and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data. By the mode, the coding mode is switched and the data are coded according to the current network state, so that video playing does not occur blocking, frame loss and mosaic, different requirements of users on code rates are met, the data transmission efficiency is improved, and the watching experience of the users is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a data encoding method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an implementation of a data encoding method according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of S203 in a data encoding method according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating an implementation of S204 in a data encoding method according to another embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a data encoding method according to an embodiment of the present invention. In this embodiment, the main execution body of the data encoding method is a terminal, and the terminal includes, but is not limited to, a mobile terminal such as a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like, and may also include a terminal such as a desktop computer. The data encoding method as shown in fig. 1 may include:
s101: when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data includes audio data and/or video data.
And when detecting the request for sending the first target data, the terminal acquires the attribute information of the current network socket.
Detecting that the request for sending the first target data can be that a user triggers the terminal to generate a request for sending the first target data by clicking a sending option in the terminal; or the user sets the time period for sending the first target data in advance, and the terminal automatically triggers the request of the first target data periodically.
The attribute information of the network socket refers to the attribute information of the current network socket, including but not limited to the round-trip time of the internet packet explorer PING packet, the occupancy rate of the buffer capacity, and may also include the sliding window protocol, etc.
The first target data includes, but is not limited to, audio data and/or video data, and may also include a monitoring picture, etc.
Further, before detecting the request for sending the first target data, the method further comprises:
the terminal collects first target data. For example, the terminal collects audio information through an audio device, and the video device collects sound and images, and then converts the collected sound and images into video data through processing.
S102: determining a current network state based on the attribute information;
and determining the current network state according to the attribute information of the current network socket. The network state includes a flow state or a congestion state.
Further, when the attribute information includes an internet packet explorer PING packet round trip time, S102 includes: and determining the current network state according to the PING packet round-trip time.
And when the acquired network socket attribute information is the round-trip time of the PING packet, determining the current network state according to the round-trip time of the PING packet.
For example, when the PING packet round-trip time is greater than or equal to a preset time threshold, determining that the current network state is a congestion state; and when the round-trip time of the PING packet is smaller than a preset time threshold, judging that the current network state is a smooth state.
Further, in order to make the determination of the network status more accurate and thus select the most suitable encoding method, determining the current network status according to the PING packet round-trip time includes:
when the round-trip time of the PING packet is less than a preset time threshold value within a preset time length and is stable, judging that the current network state is a smooth state;
and when the round-trip time of the PING packet is greater than or equal to the preset time threshold value in the preset time length, judging that the current network state is the congestion state.
The preset time length and the preset time threshold are preset by a user according to actual requirements. For example, the time duration may be set to 3 seconds, 5 seconds, 6 seconds, etc., and the time threshold may be set to 5 milliseconds, 6 milliseconds, 8 milliseconds, etc., without limitation. PING packets are requested by default once every 1 second, i.e., a round trip is requested every 1 second PING packet.
The terminal sends the PING packet through a network socket based on a Control Message Protocol (ICMP) to acquire the response time of the PING packet, namely the round-trip time of the PING packet.
And when the round-trip time of the PING packet is less than the user preset time threshold value within the preset time and is kept stable, judging that the current network state is a smooth state.
For example, when the preset time length is 3 seconds, the PING packet will request three round trips within 3 seconds, and the PING packet is initiated and sent within 1 st second, 2 nd second and 3 rd second respectively, and the round trip time of the PING packet within the 3 seconds is obtained. If the round-trip times of the PING packets sent at the 1 st second, the 2 nd second and the 3 rd second are 4.98 milliseconds, 3.52 milliseconds and 4 milliseconds (all three round-trip times are less than the preset time threshold value of 5 milliseconds, and the fluctuation ranges of the three round-trip times are small and tend to be stable), the current network state is determined to be a smooth state.
The user can set the fluctuation range of the PING packet round-trip time according to actual conditions, for example, the fluctuation range is set to be 2 milliseconds, in the above example, the three round-trip times of the PING packet are 4.98 milliseconds, 3.52 milliseconds and 4 milliseconds, and the difference value between every two adjacent round-trip times is less than 2 milliseconds, at this time, the PING packet round-trip time belongs to a stable state.
And when the round-trip time of the PING packet is greater than or equal to the preset time threshold of the user in the preset time length, judging that the current network state is the congestion state.
For example, if the round trip times of PING packets sent at 1 st second, 2 nd second and 3 rd second are 5.98 ms, 7 ms and 6.25 ms (all three round trip times are greater than the preset time threshold value by 5 ms), the current network status is determined to be the congestion status.
Or, if the round-trip times of PING packets sent at 1 st second, 2 nd second and 3 rd second are 5 ms, 5 ms and 5 ms (the three round-trip times are equal to the preset time threshold value of 5 ms), the current network state is determined to be the congestion state.
Or, the round-trip times of the PING packets sent at the 1 st second, the 2 nd second and the 3 rd second are 0.12 millisecond, 2.59 millisecond and 4.98 millisecond respectively, at this time, although the three round-trip times of the PING packets are all smaller than the preset time threshold value of 5 milliseconds, the time difference values of two-by-two adjacent round-trip times of the three round-trip times are 2.47 millisecond and 2.39 millisecond respectively, the fluctuation range is larger than 2 millisecond, at this time, the round-trip time of the PING packets is unstable, and the current network state is judged to be the congestion state.
When the PING packet does not obtain response information within the preset time (namely the PING packet does not receive response data of the PING packet after sending a request within the preset time), the current network is judged to have a fault, and the problem of network connection incapability exists.
When the PING packet round-trip time is gradually increased and the fluctuation range is large, the network state is deteriorated, and the current network state can be judged to be the congestion state.
For example, the round-trip times of PING packets transmitted at 1 st, 2 nd, and 3 rd seconds are 1.25 msec, 4.46 msec, and 9.98 msec, respectively, and the three round-trip times are longer and wider in fluctuation range, and it is determined that the current network state is the congestion state.
When the round-trip time of the PING packet is gradually shortened and at least two round-trip times are smaller than the preset time threshold, the network state is better, and the current network state can be judged to be a smooth state.
For example, the round-trip times of PING packets sent at 1 st second, 2 nd second and 3 rd second are 6.25 ms, 4.46 ms and 3.98 ms, the three round-trip times are shorter and shorter, and two of the round-trip times are less than the preset time threshold value by 5 ms, and the current network state is determined to be a fluent state.
If the round-trip times of PING packets sent at 1 st second, 2 nd second and 3 rd second are 8.25 ms, 7.46 ms and 4.98 ms, respectively, although the three round-trip times are shorter and shorter, two of the round-trip times are greater than the preset time threshold value by 5 ms, and the current network state is determined to be the congestion state.
It should be noted that the examples are merely exemplary, and when other situations occur, the user may set the settings specifically according to the actual situation. For example, the round-trip times of PING packets sent at 1 st, 2 nd, and 3 rd seconds are 5.25 ms, 5.46 ms, and 4.98 ms, respectively, and at this time, two of the three round-trip times are greater than the preset time threshold value by 5 ms, so that it can be determined that the current network state is the congestion state. Or the round-trip times of the PING packets sent at the 1 st second, the 2 nd second and the 3 rd second are 5.25 milliseconds, 4.98 milliseconds and 4.96 milliseconds respectively, one of the three round-trip times is greater than a preset time threshold value of 5 milliseconds, but the time difference value of every two adjacent round-trip times of the three round-trip times is less than 2 milliseconds, at the moment, the round-trip time of the PING packet belongs to a stable state, and the current network state can be judged to be a smooth state. Or the round-trip times of the PING packets sent at the 1 st second, the 2 nd second and the 3 rd second are 0.25 millisecond, 0.46 millisecond and 0.98 millisecond respectively, although the three round-trip times are longer and longer, the fluctuation range is small, and the current network state is judged to be a smooth state.
Further, when the attribute information includes the buffer capacity occupancy, S102 may further include: and determining the current network state according to the buffer area capacity occupancy rate.
And when the acquired network socket attribute information is the buffer area capacity occupancy rate, determining the current network state according to the buffer area capacity occupancy rate.
Furthermore, in order to make the determination of the network state more accurate, the most suitable encoding method is selected. Determining the current network state according to the buffer capacity occupancy comprises:
when the buffer area capacity occupancy rate is smaller than a preset occupancy rate threshold value, judging that the current network state is a smooth state;
and when the occupancy rate of the capacity of the buffer area is greater than or equal to the preset occupancy rate threshold value, judging that the current network state is a congestion state.
The occupancy rate threshold is preset by a user according to actual requirements. For example, the occupancy threshold may be set to 50%, 55%, 60%, etc., and is not limited herein.
The terminal firstly obtains the total capacity of the buffer area of the network socket, obtains the capacity of the used buffer area through a system call ioctl interface, and obtains the value of the occupied capacity of the buffer area by dividing the capacity of the used buffer area by the total capacity of the buffer area.
And when the occupancy rate of the capacity of the buffer area is smaller than the preset occupancy rate threshold value of the user, judging that the current network state is a smooth state.
For example, the occupancy threshold is set to 50%, when the total buffer capacity of the acquired network sockets is 200 million and the used buffer capacity is 50 million, the occupancy of the buffer is calculated to be 25%, and at this time, 25% is smaller than the occupancy threshold 50%, and the current network state is determined to be a smooth state.
And when the occupancy rate of the capacity of the buffer area is greater than or equal to the preset occupancy rate threshold value of the user, judging that the current network state is a flow congestion state.
For example, the occupancy threshold is set to 50%, when the total buffer capacity of the acquired network sockets is 200 million and the capacity of the used buffer is 150 million, the occupancy of the buffer is calculated to be 75%, and at this time, 75% is greater than the occupancy threshold 50%, and the current network state is determined to be the congestion state.
Or setting the occupancy threshold to 50%, when the total buffer capacity of the acquired network sockets is 200 million and the used buffer capacity is 100 million, calculating to obtain that the occupancy of the buffer is 50%, and at this time, 50% is equal to the occupancy threshold 50%, and judging that the current network state is the congestion state.
In this embodiment, the preset occupancy threshold is 50%, and in other embodiments, the preset occupancy threshold may be set to other values, which is not limited herein.
S103: and when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data.
And when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode. And extracting the first target data according to the real-time network state, wherein the extracted data is the target data. The second target data is data obtained by encoding the target data in a CBR encoding manner.
For example, the video data to be sent by the terminal is 50 million, the current network state is a smooth state, 9 million data (at this time, the data is the target data) is extracted according to the current network state, and the terminal encodes the extracted 9 million data by using a CBR encoding method to obtain encoded data.
S104: and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data.
And when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate VBR encoding mode. The third target data is data obtained by encoding the target data by using a VBR encoding method.
For example, the video data to be sent by the terminal is 50 megabits, the current network state is a congestion state, 2 megabits of data (at this time, the data is the target data) are extracted according to the current network state, and the terminal encodes the extracted 2 megabits of data by using a VBR encoding method to obtain encoded data.
It should be noted that, during the determination of the network state, the adopted coding scheme is not changed, that is, the coding scheme corresponding to the previous network state is still adopted. For example, a user sets the time required for judging the network state to be 3 seconds, and when the network state is judged to be a smooth state for the first time, a CBR coding mode is adopted for coding; during the second time of judging the network state, the CBR coding mode is still used for coding; and when the network state is judged to be the congestion state for the second time, switching to a VBR coding mode for coding.
According to the scheme, when the request for sending the first target data is detected, the attribute information of the network socket is obtained; the first target data comprises audio data and/or video data; determining a current network state based on the attribute information; when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data; and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data. By the mode, the coding mode is switched and the data are coded according to the current network state, so that video playing does not occur blocking, frame loss and mosaic, different requirements of users on code rates are met, the data transmission efficiency is improved, and the watching experience of the users is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a data encoding method according to another embodiment of the present invention. The execution main body of the method for processing the assessment data in the embodiment is a terminal, and the terminal includes but is not limited to mobile terminals such as a smart phone, a tablet personal computer, a PDA and the like, and may also include terminals such as a desktop computer and the like. The data encoding method as shown in fig. 2 may include:
s201: when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data includes audio data and/or video data.
In this embodiment, S201 is identical to S101 in the previous embodiment, and please refer to the related description of S101 in the previous embodiment, which is not repeated herein.
S202: determining a current network state based on the attribute information.
In this embodiment, S202 is identical to S102 in the previous embodiment, and please refer to the related description of S102 in the previous embodiment, which is not repeated herein.
S203: and when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data.
In this embodiment, S203 is identical to S103 in the previous embodiment, and please refer to the related description of S103 in the previous embodiment, which is not repeated herein.
Alternatively, as shown in fig. 3, even if the network state is in a smooth state, the network speed has a high-low score, and based on the CBR coding mode, different CBR code rate values are allocated at different network speeds, so that data can be better transmitted. S203 may specifically include S2031 to S2032, which are specifically as follows:
s2031: and determining a target CBR code rate value corresponding to the target interval based on the preset corresponding relation among the target interval to which the value of the attribute information belongs, the preset interval and the CBR code rate value.
For example, when the attribute information includes PING packet round-trip time, a target CBR code rate value corresponding to the target time interval is determined according to a target time interval to which the PING packet round-trip time belongs, a correspondence between a time interval preset by a user and the CBR code rate value. The corresponding relation is preset by the user according to the actual situation.
For example, the time threshold is set to 5 milliseconds, that is, when the PING packet round-trip time is less than 5 milliseconds, the current network state is determined to be in the fluent state. The time interval is set to be 0-5 (unit: ms), and when the preset time is 1 second, the PING packet will request one round trip in 1 second. The time interval preset by the user is averagely divided into 5 left closed and right open intervals which are sequentially [0, 1 ], [1, 2 ], [2, 3 ], [3, 4 ] and [4, 5 ]. When the PING packet round trip time is 0.59 ms, it falls into the first interval [0, 1), and the CBR code rate value is 5M/S (unit: mega per second); when the round-trip time of the PING packet is 1.23 milliseconds, the PING packet falls into a second interval [1, 2 ], and the CBR code rate value is 4M/S; when the PING packet round-trip time is 3.83 ms, it falls into the fourth interval [3, 4), and the CBR code rate value is 2M/S. And by analogy, obtaining a target CBR code rate value corresponding to the target interval. It should be noted that the example is merely an exemplary illustration, and other manners may also be adopted, and the time threshold interval may also be equally divided or non-equally divided into a plurality of left-open right-closed or left-closed right-open intervals of other numbers, and the number of the intervals and the length of the intervals may be selectively set according to actual needs.
Or when the attribute information comprises the buffer area capacity occupancy rate, determining a target CBR code rate value corresponding to the target interval according to the target interval to which the buffer area capacity occupancy rate belongs, the occupancy rate threshold interval preset by the user and the corresponding relation between the CBR code rate values. The corresponding relation is preset by the user according to the actual situation.
For example, the occupancy threshold is set to 50%, that is, when the occupancy of the buffer capacity is less than 50%, the current network state is determined to be in the fluent state. Setting an occupancy rate threshold interval to be 0-50%, averagely dividing the occupancy rate threshold interval preset by a user into 5 left-closed right-open intervals which are sequentially [0, 10%), [ 10%, 20%), [ 20%, 30%, [ 30%, 40%, [ 40%, 50%). When the buffer capacity occupancy is 5%, it falls into the first interval [0, 10%), and the CBR code rate value is 5M/S (unit: mega per second); when the occupancy rate of the buffer area capacity is 15%, the buffer area capacity falls into a second interval [ 10%, 20%), and the CBR code rate value is 4M/S; when the occupancy rate of the buffer capacity is 35%, the buffer capacity falls into the fourth interval [ 30%, 40%), and the code rate of the CBR is 2M/S. And by analogy, obtaining a target CBR code rate value corresponding to the target interval. It should be noted that the example is merely an exemplary illustration, and other manners may also be adopted, and the time threshold interval may also be equally divided or non-equally divided into a plurality of left-open right-closed or left-closed right-open intervals of other numbers, and the number of the intervals and the length of the intervals may be selectively set according to actual needs.
S2032: and based on the target CBR code rate value, coding the target data by adopting the CBR coding mode to obtain the second target data.
And coding the target data in a CBR coding mode according to the obtained target CBR code rate value to obtain second target data.
Preferably, in order to allocate the storage space more reasonably, after S203, the method may further include:
and determining a second target data volume according to the target CBR code rate value and the preset time period.
The time period is a period for sending data, and the user can preset the time period according to actual conditions. For example, when the time period for the terminal to send data is 2 seconds and the CBR code rate value is 4M/S, the second target data amount at the moment is 8 megabits (i.e., the product of the time period and the CBR code rate value); when the time period for the terminal to transmit data is 3 seconds and the CBR code rate value is 2M/S, the second target data amount at this moment is 6 megabits.
S204: and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data.
In this embodiment, S204 is identical to S104 in the previous embodiment, and please refer to the related description of S104 in the previous embodiment, which is not repeated herein.
Alternatively, as shown in fig. 4, even if the network status is in a congestion state, the network speed is divided into high and low values, and based on the VBR coding mode, different VBR code rate values are allocated at different network speeds, so that data can be transmitted more reasonably. S204 may specifically include S2041 to S2042, which are specifically as follows:
s2041: and determining a target VBR code rate value corresponding to the target interval based on the target interval to which the value of the attribute information belongs, and the preset corresponding relation between the preset interval and the VBR code rate value.
For example, when the attribute information includes PING packet round-trip time, a target VBR code rate value corresponding to the target time interval is determined according to a target time interval to which the PING packet round-trip time belongs, a correspondence between a time interval preset by a user and the VBR code rate value. The corresponding relation is preset by the user according to the actual situation.
For example, the time threshold is set to 5 ms, that is, when the PING packet round-trip time is greater than or equal to 5 ms, it is determined that the current network state is in the congestion state. The time interval is set to be 5-10 (unit: ms), and when the preset time is 1 second, the PING packet will request one round trip in 1 second. The time interval preset by the user is averagely divided into 5 left closed and right open intervals which are sequentially [5, 6 ], [6, 7 ], [7, 8 ], [8, 9 ] and [9, 10 ]. When the PING packet round trip time is 5.59 ms, it falls into the first interval [5, 6), and the VBR code rate value is 1M/S (unit: mega per second); when the round-trip time of the PING packet is 6.23 milliseconds, the PING packet falls into a second interval [6, 7 ], and the VBR code rate value is 512 KBit/s; when the PING packet round-trip time is 8.83 ms, it falls into the fourth interval [8, 9 ], and the VBR rate value is 128 KBit/s. And by analogy, obtaining a target VBR code rate value corresponding to the target interval. It should be noted that the example is merely an exemplary illustration, and other manners may also be adopted, and the time threshold interval may also be equally divided or non-equally divided into a plurality of left-open right-closed or left-closed right-open intervals of other numbers, and the number of the intervals and the length of the intervals may be selectively set according to actual needs.
Or when the attribute information comprises the buffer capacity occupancy rate, determining a target VBR code rate value corresponding to the target interval according to the target interval to which the buffer capacity occupancy rate belongs, the occupancy rate threshold interval preset by the user and the corresponding relation between the VBR code rate values. The corresponding relation is preset by the user according to the actual situation.
For example, the occupancy threshold is set to 50%, that is, when the buffer capacity occupancy is greater than or equal to 50%, it is determined that the current network state is in the congestion state. Setting an occupancy threshold interval to be 50% -100%, and averagely dividing the occupancy threshold interval preset by a user into 5 left-closed right-open intervals which are sequentially [ 50%, 60%), [ 60%, 70%), [ 70%, 80%, [ 80%, 90%), [ 90%, 100%). When the buffer capacity occupancy is 55%, it falls within a first interval [ 50%, 60%), at which the VBR code rate value is 1M/S (unit: mega per second); when the occupancy rate of the buffer area capacity is 65%, the buffer area capacity falls into a second interval [ 60%, 70%), and the VBR code rate value is 512 KBit/s; when the occupancy rate of the buffer capacity is 85%, the buffer capacity falls into the fourth interval [ 80%, 90%), and the VBR code rate value is 128 KBit/s. And by analogy, obtaining a target VBR code rate value corresponding to the target interval. It should be noted that the example is merely an exemplary illustration, and other manners may also be adopted, and the time threshold interval may also be equally divided or non-equally divided into a plurality of left-open right-closed or left-closed right-open intervals of other numbers, and the number of the intervals and the length of the intervals may be selectively set according to actual needs.
S2042: and based on the target VBR code rate value, coding the target data by adopting the VBR coding mode to obtain the third target data.
And coding the target data in a VBR coding mode according to the obtained target VBR code rate value to obtain second target data.
Preferably, for more reasonable allocation of the storage space, after S204, the method may further include:
and determining a third target data volume according to the target VBR code rate value and the preset time period.
The time period is a period for sending data, and the user can preset the time period according to actual conditions. For example, when the time period for the terminal to send data is 3 seconds and the VBR code rate value is 1M/S, the third target data amount at this moment is 3 megabits (i.e., the product of the time period and the VBR code rate value); when the time period for the terminal to transmit data is 2 seconds and the VBR code rate value is 512KBit/s, the third target data amount at this moment is 1 megabit.
Optionally, in order to make the data transmission mechanism more complete, after S203 or S204, the method may further include: transmitting the second target data or the third target data to a receiving end; when the second target data or the third target data is detected to be interrupted in transmission, buffering the second target data or the third target data, and retransmitting the buffered target data based on a retransmission mechanism.
The terminal transmits the data obtained by encoding in the CBR encoding mode or the data obtained by encoding in the VBR encoding mode to a receiving end; the receiving end may be any electronic device with a display screen, including but not limited to a mobile phone, a tablet, a notebook, a computer, a network television, and the like.
The retransmission mechanism means that after the terminal sends data, the terminal receives the feedback information of successful sending in a time period, if the feedback information of successful sending is not received in the time period, the data is cached to the local, and the data is sent together with new data in the next period until the sending is successful.
The second target data is data obtained by encoding the target data in a CBR encoding mode; the third target data is data obtained by encoding the target data by using a VBR encoding method.
For example, when it is detected that transmission of the second target data or the third target data is interrupted (that is, the second target data or the third target data is not successfully transmitted and then receives feedback information of successful transmission), the terminal buffers the second target data or the third target data, and transmits the buffered data together with data to be transmitted in the next period, and if the data is not successfully transmitted in the next period, the terminal transmits the buffered data together with the data to be transmitted in the next period until the data is successfully transmitted.
According to the scheme, when the request for sending the first target data is detected, the attribute information of the network socket is obtained; the first target data comprises audio data and/or video data; determining a current network state based on the attribute information; when the network state is a smooth state, encoding the target data by adopting a constant bit rate CBR encoding mode to obtain second target data; and when the network state is the congestion state, encoding the target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data. By the mode, the coding mode is switched and the data are coded according to the current network state, so that video playing does not occur blocking, frame loss and mosaic, different requirements of users on code rates are met, the data transmission efficiency is improved, and the watching experience of the users is improved.
Referring to fig. 5, fig. 5 is a schematic diagram of a terminal according to an embodiment of the present invention. The terminal includes units for executing steps in the embodiments corresponding to fig. 1, fig. 2, fig. 3, and fig. 4. Please refer to the related descriptions in the embodiments corresponding to fig. 1, fig. 2, fig. 3, and fig. 4, respectively. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 5, the terminal 3 includes:
an obtaining unit 310, configured to obtain attribute information of the network socket when a request for sending the first target data is detected; the first target data comprises audio data and/or video data;
a determining unit 320, configured to determine a current network status based on the attribute information;
a CBR encoding unit 330, configured to encode the target data in a constant bit rate CBR encoding manner to obtain second target data when the network state is a smooth state;
and the VBR encoding unit 340 is configured to, when the network status is a congestion status, encode the target data by using a dynamic bit rate VBR encoding manner to obtain third target data.
Further, the attribute information includes an internet packet explorer PING packet round trip time; the terminal further includes:
and the first determining unit is used for determining the current network state according to the round-trip time of the PING packet.
Further, the first determining unit is specifically configured to:
when the round-trip time of the PING packet is less than a preset time threshold value within a preset time length and is stable, judging that the current network state is a smooth state;
and when the round-trip time of the PING packet is greater than or equal to the preset time threshold value in the preset time length, judging that the current network state is the congestion state.
Further, the attribute information includes buffer capacity occupancy; the terminal further includes:
and the second determining unit is used for determining the current network state according to the buffer area capacity occupancy rate.
Further, the second determining unit is specifically configured to:
when the buffer area capacity occupancy rate is smaller than a preset occupancy rate threshold value, judging that the current network state is a smooth state;
and when the occupancy rate of the capacity of the buffer area is greater than or equal to the preset occupancy rate threshold value, judging that the current network state is a congestion state.
Further, the terminal further includes:
a transmission unit, configured to transmit the second target data or the third target data to a receiving end;
and a retransmission unit, configured to buffer the second target data or the third target data when it is detected that transmission of the second target data or the third target data is interrupted, and retransmit the buffered target data based on a retransmission mechanism.
Further, the CBR encoding unit 330 is specifically configured to: determining a target CBR code rate value corresponding to the target interval based on the preset corresponding relation among the target interval to which the value of the attribute information belongs, the preset interval and the CBR code rate value; and based on the target CBR code rate value, coding the target data by adopting the CBR coding mode to obtain the second target data.
Further, the VBR encoding unit 340 is specifically configured to: determining a target VBR code rate value corresponding to the target interval based on the target interval to which the value of the attribute information belongs and a preset corresponding relation between a preset interval and the VBR code rate value; and based on the target VBR code rate value, coding the target data by adopting the VBR coding mode to obtain the third target data.
Referring to fig. 6, fig. 6 is a schematic diagram of a terminal according to another embodiment of the present invention. As shown in fig. 6, the terminal 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40 implements the steps in the above-described data encoding method embodiments of the respective terminals, for example, S101 to S104 shown in fig. 1, when executing the computer program 42. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the units in the device embodiments, such as the functions of the units 310 to 340 shown in fig. 5.
Illustratively, the computer program 42 may be divided into one or more units, which are stored in the memory 41 and executed by the processor 40 to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the terminal 4. For example, the computer program 42 may be partitioned into an acquisition unit, a determination unit, a CBR coding unit, and a VBR coding unit, each unit functioning specifically as described above.
The terminal may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal 4 and is not intended to be limiting of terminal 4, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the terminal may also include input and output terminals, network access terminals, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal 4, such as a hard disk or a memory of the terminal 4. The memory 41 may also be an external storage terminal of the terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 4. Further, the memory 41 may also include both an internal storage unit of the terminal 4 and an external storage terminal. The memory 41 is used for storing the computer program and other programs and data required by the terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method of encoding data, comprising:
when a request for sending first target data is detected, acquiring attribute information of a network socket; the first target data comprises audio data and/or video data; the attribute information comprises round-trip time of Internet packet explorer PING packets and occupancy rate of buffer capacity;
determining a current network state based on the attribute information;
when the network state is a smooth state, encoding the first target data by adopting a constant bit rate CBR encoding mode to obtain second target data;
and when the network state is the congestion state, encoding the first target data by adopting a dynamic bit rate (VBR) encoding mode to obtain third target data.
2. The method of claim 1, wherein when the attribute information includes the internet packet explorer PING packet round trip time, the determining a current network state based on the attribute information includes:
and determining the current network state according to the PING packet round-trip time.
3. The method of claim 1, wherein when the attribute information includes the buffer capacity occupancy, the determining a current network state based on the attribute information includes:
and determining the current network state according to the buffer area capacity occupancy rate.
4. The method of claim 2, wherein said determining the current network state based on the PING packet round trip time comprises:
when the round-trip time of the PING packet is less than a preset time threshold value within a preset time length and is stable, judging that the current network state is a smooth state;
and when the round-trip time of the PING packet is greater than or equal to the preset time threshold value in the preset time length, judging that the current network state is the congestion state.
5. The method of claim 3, wherein said determining the current network state based on the buffer capacity occupancy comprises:
when the buffer area capacity occupancy rate is smaller than a preset occupancy rate threshold value, judging that the current network state is a smooth state;
and when the occupancy rate of the capacity of the buffer area is greater than or equal to the preset occupancy rate threshold value, judging that the current network state is a congestion state.
6. The method according to any one of claims 1 to 5, wherein the encoding the first target data by a constant bit rate CBR encoding method to obtain the second target data when the network state is a fluent state comprises:
determining a target CBR code rate value corresponding to the target interval based on the preset corresponding relation among the target interval to which the value of the attribute information belongs, the preset interval and the CBR code rate value;
and based on the target CBR code rate value, coding the first target data by adopting the CBR coding mode to obtain the second target data.
7. The method according to any of claims 1 to 5, wherein the encoding the first target data by using a dynamic bit rate (VBR) coding method to obtain a third target data when the network status is a congestion status comprises:
determining a target VBR code rate value corresponding to the target interval based on the target interval to which the value of the attribute information belongs and a preset corresponding relation between a preset interval and the VBR code rate value;
and based on the target VBR code rate value, coding the first target data by adopting the VBR coding mode to obtain the third target data.
8. A terminal, comprising:
an acquisition unit configured to acquire attribute information of a network socket when a request to send first target data is detected; the first target data comprises audio data and/or video data; the attribute information comprises round-trip time of Internet packet explorer PING packets and occupancy rate of buffer capacity;
a determining unit, configured to determine a current network state based on the attribute information;
the CBR coding unit is used for coding the first target data by adopting a constant bit rate CBR coding mode to obtain second target data when the network state is a smooth state;
and the VBR coding unit is used for coding the first target data by adopting a dynamic bit rate VBR coding mode to obtain third target data when the network state is a congestion state.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201811337828.0A 2018-11-12 2018-11-12 Data encoding method, terminal and computer readable storage medium Active CN109600610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811337828.0A CN109600610B (en) 2018-11-12 2018-11-12 Data encoding method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811337828.0A CN109600610B (en) 2018-11-12 2018-11-12 Data encoding method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109600610A CN109600610A (en) 2019-04-09
CN109600610B true CN109600610B (en) 2020-10-23

Family

ID=65958222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811337828.0A Active CN109600610B (en) 2018-11-12 2018-11-12 Data encoding method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109600610B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110337026B (en) * 2019-06-18 2021-07-13 厦门立林科技有限公司 Video code rate self-adaptive adjustment method of cloud intercom system
CN112037785B (en) * 2020-08-14 2022-12-27 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent equipment, electronic equipment and storage medium
CN112492349A (en) * 2020-10-29 2021-03-12 广州视源电子科技股份有限公司 Video coding control method, device, equipment and storage medium
CN114495951A (en) * 2020-11-11 2022-05-13 华为技术有限公司 Audio coding and decoding method and device
CN112866752A (en) * 2021-01-06 2021-05-28 深圳市信义科技有限公司 Video code stream self-adaptive network bandwidth method, device, equipment and medium
CN113724716B (en) * 2021-09-30 2024-02-23 北京达佳互联信息技术有限公司 Speech processing method and speech processing device
CN114245168B (en) * 2021-12-16 2023-12-08 北京数码视讯技术有限公司 Multimedia stream transmission regulation device and method
CN114390320B (en) * 2022-02-18 2024-02-13 百果园技术(新加坡)有限公司 Data coding rate self-adaptive adjusting method, device, equipment and storage medium
CN115174538A (en) * 2022-06-30 2022-10-11 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724474A (en) * 2012-05-17 2012-10-10 中南民族大学 Portable video conference terminal adopting adaptive network coding method and implementation method
CN107342848A (en) * 2017-08-24 2017-11-10 杭州联吉技术有限公司 A kind of adaptive code stream transmission method, device and equipment
CN107483401A (en) * 2017-07-07 2017-12-15 广州市百果园网络科技有限公司 A kind of multimedia data transmission method and its equipment, storage medium, server
CN108495142A (en) * 2018-04-11 2018-09-04 腾讯科技(深圳)有限公司 Method for video coding and device
CN108668166A (en) * 2018-05-21 2018-10-16 深圳市梦网科技发展有限公司 A kind of coding method, device and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280294A1 (en) * 2006-05-31 2007-12-06 Modulus Video, Inc. Constrained Fidelity Constant Bit Rate Video Encoding Systems and Methods
US10432688B2 (en) * 2015-03-13 2019-10-01 Telefonaktiebolaget Lm Ericsson (Publ) System and method for optimized delivery of live ABR media

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724474A (en) * 2012-05-17 2012-10-10 中南民族大学 Portable video conference terminal adopting adaptive network coding method and implementation method
CN107483401A (en) * 2017-07-07 2017-12-15 广州市百果园网络科技有限公司 A kind of multimedia data transmission method and its equipment, storage medium, server
CN107342848A (en) * 2017-08-24 2017-11-10 杭州联吉技术有限公司 A kind of adaptive code stream transmission method, device and equipment
CN108495142A (en) * 2018-04-11 2018-09-04 腾讯科技(深圳)有限公司 Method for video coding and device
CN108668166A (en) * 2018-05-21 2018-10-16 深圳市梦网科技发展有限公司 A kind of coding method, device and terminal device

Also Published As

Publication number Publication date
CN109600610A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
CN109600610B (en) Data encoding method, terminal and computer readable storage medium
US11349900B2 (en) Voice encoding and sending method and apparatus
CN104394486B (en) A kind of video stream processing method and device based on cloud desktop
CN109587510B (en) Live broadcast method, device, equipment and storage medium
CN113747194B (en) Remote video transmission method, transmission device, storage medium and electronic equipment
WO2019154221A1 (en) Method for sending streaming data and data sending device
EP3322145A1 (en) Method, server side and system for computing bandwidth of network transmission of streaming media
CN113271316B (en) Multimedia data transmission control method and device, storage medium and electronic equipment
CN109996094B (en) Video playing method, device and system
JP2015536594A (en) Aggressive video frame drop
CN104618195A (en) Bandwidth estimation method and device
WO2019119950A1 (en) Video coding processing method and apparatus, and application having video coding function
CN104427286A (en) Method and system for making video call
CN111263153B (en) Video encoding method, device, equipment and storage medium
US20130346590A1 (en) Client Side Control of Adaptive Streaming
CN109168041B (en) Mobile terminal monitoring method and system
CN109495660B (en) Audio data coding method, device, equipment and storage medium
CN113037697A (en) Video frame processing method and device, electronic equipment and readable storage medium
US10681400B2 (en) Method and device for transmitting video
KR20230002784A (en) Methods and servers for transmitting audio and/or video content
CN115037416A (en) Data forward error correction processing method, device, electronic equipment and storage medium
US20120236927A1 (en) Transmission apparatus, transmission method, and recording medium
CN103036808A (en) Method and system for removing network jitter
CN105376614A (en) Video quality optimizing method and device
CN112866390A (en) Data transmission method, device, terminal 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