CN109195010A - Code rate adjusting method and device - Google Patents

Code rate adjusting method and device Download PDF

Info

Publication number
CN109195010A
CN109195010A CN201810930796.9A CN201810930796A CN109195010A CN 109195010 A CN109195010 A CN 109195010A CN 201810930796 A CN201810930796 A CN 201810930796A CN 109195010 A CN109195010 A CN 109195010A
Authority
CN
China
Prior art keywords
display area
bandwidth
main display
comparison result
minimum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810930796.9A
Other languages
Chinese (zh)
Other versions
CN109195010B (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.)
Migu Cultural Technology Co Ltd
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
Original Assignee
Migu Cultural Technology Co Ltd
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Migu Cultural Technology Co Ltd, China Mobile Communications Group Co Ltd, MIGU Video Technology Co Ltd filed Critical Migu Cultural Technology Co Ltd
Priority to CN201810930796.9A priority Critical patent/CN109195010B/en
Publication of CN109195010A publication Critical patent/CN109195010A/en
Application granted granted Critical
Publication of CN109195010B publication Critical patent/CN109195010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4728End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server
    • H04N21/64769Control signals issued by the network directed to the server or the client directed to the server for rate control

Landscapes

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

Abstract

The invention discloses a code rate adjusting method, which comprises the following steps: determining the minimum bandwidth required by a main display area according to the minimum code rate corresponding to the resolution of the main display area in the electronic equipment; comparing the minimum bandwidth to a current bandwidth of a network; and determining the target code rate corresponding to the main display area according to the comparison result. The invention also provides a code rate adjusting device.

Description

A kind of code rate adjustment method and device
Technical field
The present invention relates to data transmission technology more particularly to a kind of code rate adjustment method and devices.
Background technique
In the prior art, in multi-channel video playing process, for display area main in electronic equipment and from display area Code rate setting generally use manually code rate of the mode to main display area and from display area and be adjusted.Not only increase in this way The operation complexity of user is added, but also the viewing experience of user can be seriously affected.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of data transmission method and devices.
The technical solution of the embodiment of the present invention is achieved in that
One side according to an embodiment of the present invention provides a kind of code rate adjustment method, which comprises
According to minimum code rate corresponding to the resolution ratio of display area main in electronic equipment, the main display area institute is determined The minimum bandwidth needed;
The minimum bandwidth is compared with the current bandwidth of network;
According to comparison result, the corresponding target bit rate in the main display area is determined.
In above scheme, according to comparison result, the corresponding target bit rate in the main display area is determined, comprising:
When comparison result, which characterizes the minimum bandwidth, is greater than current bandwidth, the corresponding maximum code of the current bandwidth is obtained Rate;
By the corresponding maximal rate of current bandwidth, it is determined as the corresponding target bit rate in the main display area.
In above scheme, according to comparison result, the corresponding target bit rate in the main display area is determined, comprising:
When comparison result, which characterizes the minimum bandwidth, is greater than current bandwidth, the main display area corresponding first is adjusted Resolution ratio generates the second resolution for being lower than the first resolution;
Obtain the corresponding maximal rate of the second resolution;
By the corresponding maximal rate of the second resolution, it is determined as the corresponding target bit rate in the main display area.
In above scheme, the method also includes: it, will when comparison result, which characterizes the minimum bandwidth, is greater than current bandwidth The video information shown in the electronic equipment from display area is converted into multiple pictures;
The multiple picture is played in a manner of continuously playing from display area described.
In above scheme, according to comparison result, the corresponding target bit rate in the main display area is determined, comprising:
When comparison result, which characterizes the minimum bandwidth, is less than or equal to the current bandwidth, the minimum code rate is determined For the corresponding target bit rate in the main display area.
In above scheme, when comparison result, which characterizes the minimum bandwidth, is less than current bandwidth, the electronic equipment is determined In from the quantity of display area;
According to the bandwidth difference between the quantity from display area and current bandwidth and the bandwidth of the main display area, Determine the code rate from display area.
In above scheme, when comparison result, which characterizes the minimum bandwidth, is less than current bandwidth, according to the main viewing area The corresponding target bit rate in domain and resolution ratio are cached from the video information that display area plays in the electronic equipment, are obtained To the cache file from display area.
In above scheme, the method also includes: obtain the corresponding display position in each display area in the electronic equipment; By with region corresponding to the matched display position in default display position, be determined as the main display area;It is directed to alternatively, receiving The regional choice instruction that the electronic equipment is sent;The regional choice instruction is responded, and will be with regional choice instruction pair The display area answered is determined as the main display area.
According to another aspect of an embodiment of the present invention, a kind of code rate adjustment device is provided, described device comprises determining that list Member determines needed for the main display area for the minimum code rate according to corresponding to the resolution ratio of display area main in electronic equipment The minimum bandwidth wanted;It is also used to the comparison result of the current bandwidth according to the minimum bandwidth and network, determines the main display The corresponding target bit rate in region;
Comparing unit, for the minimum bandwidth to be compared with the current bandwidth of network.
According to a third aspect of the embodiments of the present invention, a kind of code rate adjustment device is provided, described device include: memory and Processor;Wherein, the memory, for storing the computer program that can be run on the processor;The processor, When for running the computer program, the step of executing any one of above-mentioned code rate adjustment method the method.
In the technical solution of the embodiment of the present invention, a kind of code rate adjustment method and device is provided, according to main in electronic equipment Minimum code rate corresponding to the resolution ratio of display area determines the corresponding minimum bandwidth in the main display area;By the minimum Bandwidth is compared with the current bandwidth of network;According to comparison result, the corresponding target bit rate in the main display area is determined.Such as This, can be avoided main display area and Caton phenomenon occur in bandwidth deficiency.
Detailed description of the invention
Fig. 1 is the flow diagram of code rate adjustment method in the embodiment of the present invention;
Fig. 2 is the display schematic diagram of terminal screen when carrying out multi-channel video broadcasting;
Fig. 3 is the structure composition schematic diagram one of code rate adjustment device during the present invention is implemented;
Fig. 4 is the structural schematic diagram two of code rate adjustment device in the embodiment of the present invention.
Specific embodiment
Detailed description of the preferred embodiments with reference to the accompanying drawing.It should be understood that this place is retouched The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
Fig. 1 is the flow diagram of code rate adjustment method in the embodiment of the present invention;As shown in Figure 1, which comprises
Step 101, the minimum code rate according to corresponding to the resolution ratio of display area main in electronic equipment determines that the master is aobvious Show minimum bandwidth required for region;
In the embodiment of the present invention, this method is mainly used in the terminal for being able to carry out multi-channel video broadcasting, which includes But it is not limited to the electronic equipments such as mobile phone, tablet computer, desktop computer, TV, server.Specifically, on the electronic equipment may be used To be equipped with the application program that can carry out video playing, user realizes that multi-channel video plays by the application program.Work as user Through electronic equipment when carrying out multi-channel video broadcasting, the screen display interface of electronic equipment specifically can be as shown in Figure 2.
Fig. 2 is the display schematic diagram of terminal screen when carrying out multi-channel video broadcasting;As shown in Fig. 2, including main display area 201 and at least one from display area 202, wherein electronic equipment can pass through that obtain each display area in electronic equipment corresponding Display position;By with region corresponding to the matched display position in default display position, determine be main display area;Alternatively, Electronic equipment receives the regional choice instruction that user sends for electronic equipment;Pass through response region selection instruction, the area Lai Jiangyu Selection instruction corresponding display area in domain determines to be main display area.
Here regional choice instruction can be the region that the operation that user clicks a certain display area is triggered Selection instruction is also possible to user and is instructed by the regional choice that the operation pulled to a certain display area is triggered, tool The regional choice instruction how body triggers, the embodiment of the present invention are not construed as limiting.
Since user is during watching video, the video content that main display area 201 plays usually relatively is paid close attention to, because This, the display area of main display area 201 is typically larger than at least one display area from display area 202.
In practical applications, the resolution ratio of main display area 201 usually can actively be set by user, be also possible to for view The default resolution of frequency play-back application setting.It, can be with when electronic equipment needs to obtain the resolution ratio of main display area 201 It is detected by the video playing parameter played to main display area 201, determines main display area 201 according to testing result Resolution ratio.
It, can also be according to electronics when electronic equipment determines the resolution ratio of main display area 201 in the embodiment of the present invention The resolution ratio of main display area 201 determines minimum code rate corresponding to the resolution ratio in equipment.
Here, the same resolution ratio is usually corresponding with multiple optional code rates, for example resolution ratio A can be corresponded to from greatly under Three code rates A1, A2, A3.Therefore, electronic equipment can pass through resolution after the resolution ratio for determining main display area 201 The corresponding relationship of resolution ratio and code rate recorded in rate inquiry database, corresponding to the resolution ratio for determining main display area 201 Minimum code rate.
In the embodiment of the present invention, electronic equipment can also determine main viewing area according to the minimum code rate corresponding to resolution ratio Minimum bandwidth required for domain.
Specifically, it when determining minimum code rate corresponding to the resolution ratio of main display area in electronic equipment, can calculate Main display area using the minimum code rate carry out video playing when, required minimum bandwidth, can also by resolution ratio with The bandwidth table of comparisons inquires minimum bandwidth corresponding to the minimum code rate.
Step 102, the minimum bandwidth is compared with the current bandwidth of network;
In the embodiment of the present invention, electronic equipment can be detected by the current bandwidth to network, according to testing result To determine the current bandwidth of network.
The mode for wherein detecting network bandwidth can be first detection network transmission speed, then be passed according to the network detected The current bandwidth of defeated speed measuring and calculating network.
Step 103, according to comparison result, the corresponding target bit rate in the main display area is determined.
In the embodiment of the present invention, it is greater than current bandwidth when comparison result characterizes minimum bandwidth required for main display area When, illustrate that current bandwidth is not enough to that main display area is supported to carry out video playing with the current display code rate in main display area, this When, the corresponding maximal rate of the available current bandwidth of electronic equipment;Then, it by the corresponding maximal rate of current bandwidth, determines For the corresponding target bit rate in main display area, video playing is carried out with target bit rate in main display area.This way it is possible to avoid with When the video file of main display area is watched at family, there is Caton phenomenon.
In the embodiment of the present invention, it is greater than current bandwidth when comparison result characterizes minimum bandwidth required for main display area When, electronic equipment can also adjust the corresponding resolution ratio in main display area (hereinafter referred to as first resolution), and tie according to adjusting Fruit generates the second resolution for being lower than the first resolution;For example, first resolution is 1080P, second resolution is 720P Or 320P.Then, the corresponding maximal rate of second resolution is obtained;And by the corresponding maximal rate of second resolution, it is determined as The corresponding target bit rate in main display area carries out video playing in main display area with target bit rate.
Here it is possible to the mapping table of bandwidth and code rate be pre-established, by inquiry second resolution in corresponding relationship Corresponding code rate in table, you can get it the corresponding maximal rate of second resolution.
In addition, the resolution parameter in the present invention does not limit specific value, as long as meeting second resolution less than first point Resolution.
In the embodiment of the present invention, when comparison result, which characterizes the minimum bandwidth, is greater than current bandwidth, electronic equipment may be used also Multiple pictures will be converted into from the video information that display area plays in electronic equipment;And from display area continuously to play Mode play multiple picture, that is to say, that from viewing area with connect graphic form carry out dynamic picture displaying.Due to picture The bandwidth used when displaying is smaller than the bandwidth used when video playing, therefore, by the video content played from display area with dynamic State graphic form screen shows, the video file that enough bandwidth can be provided for main display area main display area is supported to play, Main viewing area is avoided network Caton phenomenon occur when carrying out video file broadcasting.
Here, from display area when carrying out Dynamic Display with continuous picture, picture presentation frequency, which can be, opens each second 1 Picture is also possible to 1 second 2 picture, specific to show that quantity is unlimited.Wherein, the picture shown from display area is from aobvious Show the screenshot for the corresponding video picture that region plays.
In the embodiment of the present invention, when comparison result characterize minimum bandwidth corresponding to the resolution ratio of main display area be less than or Equal to network current bandwidth when, illustrate, current bandwidth is satisfied with the broadcasting demand of main display area, therefore, can directly by Minimum code rate corresponding to the resolution ratio of main display area determines to be the corresponding target bit rate in main display area.
In the embodiment of the present invention, when comparison result characterizes minimum bandwidth corresponding to the resolution ratio of main display area less than net When the current bandwidth of network, electronic equipment can also determine quantity and current bandwidth and main display area from display area Bandwidth difference between bandwidth, then, according to the quantity and the determining code rate from display area of the bandwidth difference from display area.
For example, minimum bandwidth B required for main display areaIt is mainIt indicates;The current bandwidth B of networkInspectionIt indicates;By with Lower formula 1) it determines from the code rate of display area:
(BInspection-BIt is main)/N=BFrom 1)
Wherein, N is the quantity from display area, BFromIt is to pass through inquiry bandwidth and code from the usable bandwidth of display area institute Rate mapping table obtains the code rate from display area.
In the embodiment of the present invention, when comparison result, which characterizes the minimum bandwidth, is less than current bandwidth, electronic equipment may be used also To cache, obtain to the video information played from display area according to the corresponding target bit rate in main display area and resolution ratio To the cache file from display area.
Specifically, user usually can also switch over master and slave display area in carrying out multi-channel video playing process, After reducing switching, the video waiting time of user, work as BIt is mainLess than BInspectionWhen, electronic equipment can also be played to from display area Video file cached, in this way when switching to main display area from the video of display area and playing out, user is not necessarily to Wait video buffer and can display area directly after handover watched.
It should be further noted that since the clarity and code rate of main display area are higher than from display area, It, can be with the clarity of main display area and code rate standard to from display area when to being cached from the video of display area Video file is cached.
Here it is possible to by backup stream is referred to as from the video cache mode of display area, when electronic equipment is with backup stream pair When being cached from the video file of display area, required bandwidth is referred to as BIt is standby.Work as BIt is main+BIt is standbyLess than or equal to BInspectionWhen, it is main Display area can be played out with minimum code rate corresponding to the resolution ratio before adjusting, from viewing area with following equation 2) it is right The code rate answered plays out, and is cached in a manner of backup stream to from the video file of display area.
(BInspection-BIt is main-BIt is standby)/N 2);
The embodiment of the present invention, the code rate adjustment method provided can be incited somebody to action when Caton phenomenon occurs in main display area Code rate corresponding to the resolution ratio of main display area is turned up, and code rate corresponding to the resolution ratio from display area is turned down, without Be be set as unified code rate by main display area and from display area, in this way, it is possible to prevente effectively from the bandwidth of main display area not Meet the Caton phenomenon occurred when user demand.On the other hand, it also avoids causing when current bandwidth meets user demand The phenomenon that broadband resource wastes.
Fig. 3 is the structure composition schematic diagram one of code rate adjustment device during the present invention is implemented, as shown in figure 3, described device packet It includes:
Determination unit 301 is determined for the minimum code rate according to corresponding to the resolution ratio of display area main in electronic equipment Minimum bandwidth required for the main display area;It is also used to according to the minimum bandwidth knot compared with the current bandwidth of network Fruit determines the corresponding target bit rate in the main display area;
Comparing unit 302, for the minimum bandwidth to be compared with the current bandwidth of network.
In the embodiment of the present invention, described device further include: acquiring unit 303;
The acquiring unit 303 is used for when comparison result characterizes the minimum bandwidth and is greater than current bandwidth, described in acquisition The corresponding maximal rate of current bandwidth;
The determination unit 301 is specifically used for the corresponding maximal rate of current bandwidth being determined as the main display area Corresponding target bit rate.
In the embodiment of the present invention, described device further include: adjust unit 304;
The adjusting unit 304 is used for when comparison result characterizes the minimum bandwidth and is greater than current bandwidth, described in adjusting The corresponding first resolution in main display area, and generate the second resolution for being lower than the first resolution;
Acquiring unit 303 is also used to obtain the corresponding maximal rate of the second resolution;
The determination unit 301 is specifically also used to the corresponding maximal rate of the second resolution being determined as the master The corresponding target bit rate in display area.
In the embodiment of the present invention, described device further include: converting unit 305 and broadcast unit 306;
Specifically, the converting unit 305 is used for when comparison result characterizes the minimum bandwidth and is greater than current bandwidth, The video information shown in the electronic equipment from display area is converted into multiple pictures;
The broadcast unit 306, for playing the multiple picture in a manner of continuously playing from display area described.
In the embodiment of the present invention, the determination unit 301 is specifically also used to when the comparison result characterization minimum bandwidth is small When the current bandwidth, the minimum code rate is determined as the corresponding target bit rate in the main display area.
In the embodiment of the present invention, the determination unit 301 is also used to work as when the comparison result characterization minimum bandwidth is less than When preceding bandwidth, the quantity in the electronic equipment from display area is determined;According to the quantity from display area and current band The wide bandwidth difference between the bandwidth of the main display area determines the code rate from display area.
In the embodiment of the present invention, described device further include: cache unit (is not shown) in Fig. 3;
The cache unit is used for when comparison result characterizes the minimum bandwidth and is less than current bandwidth, according to the master The corresponding target bit rate in display area and resolution ratio are delayed in the electronic equipment from the video information that display area plays It deposits, obtains the cache file from display area.
It should be understood that code rate adjustment device provided by the above embodiment to electronic equipment main display area and/ Or code rate corresponding to the resolution ratio from display area only illustrate with the division of above-mentioned each program module when being adjusted It is bright, in practical application, it can according to need and complete above-mentioned processing distribution by different program modules, i.e., by the inside of device Structure is divided into different program modules, to complete all or part of processing described above.In addition, above-described embodiment provides Code rate adjustment device and code rate adjustment embodiment of the method belong to same design, specific implementation process is detailed in embodiment of the method, Which is not described herein again.
Fig. 4 is the structural schematic diagram two of code rate adjustment device in the embodiment of the present invention, and code rate adjustment device 400 can be shifting Mobile phone, computer, digital broadcast terminal, information transceiving equipment, game console, tablet device, personal digital assistant, information Push server, content server etc..Code rate adjustment device 400 shown in Fig. 4 includes: at least one processor 401, memory 402, at least one network interface 404 and user interface 403.Various components in code rate adjustment device 400 pass through bus system 405 are coupled.It is understood that bus system 405 is for realizing the connection communication between these components.Bus system 405 is removed It further include power bus, control bus and status signal bus in addition except data/address bus.But for the sake of clear explanation, Various buses are all designated as bus system 405 in Fig. 4.
Wherein, user interface 403 may include display, keyboard, mouse, trace ball, click wheel, key, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 402 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory The storage of (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as Static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir 402 is intended to include but is not limited to the memory of these and any other suitable type.
Memory 402 in the embodiment of the present invention is for storing various types of data to support code rate adjustment device 400 Operation.The example of these data includes: any computer program for operating on code rate adjustment device 400, is such as operated System 4021 and application program 4022;Music data;Animation data;Book information;Video etc..Wherein, operating system 4021 is wrapped Containing various system programs, such as ccf layer, core library layer, driving layer etc., it is based on for realizing various basic businesses and processing The task of hardware.Application program 4022 may include various application programs, such as media player (Media Player), browsing Device (Browser) etc., for realizing various applied business.Realize that the program of present invention method may be embodied in using journey In sequence 4022.
The method that the embodiments of the present invention disclose can be applied in processor 401, or be realized by processor 401. Processor 401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing Device 401 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 401 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 402, and processor 401 reads the information in memory 402, in conjunction with its hardware The step of completing preceding method.
In the exemplary embodiment, code rate adjustment device 400 can be by one or more application specific integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for executing preceding method.
Wherein, the memory, for storing the computer program that can be run on the processor;
The processor when for running the computer program, executes: according to point of display area main in electronic equipment Minimum code rate corresponding to resolution determines minimum bandwidth required for the main display area;
The minimum bandwidth is compared with the current bandwidth of network;
According to comparison result, the corresponding target bit rate in the main display area is determined.
The processor when for running the computer program, also executes: when comparison result characterizes the minimum bandwidth When greater than current bandwidth, the corresponding maximal rate of the current bandwidth is obtained;By the corresponding maximal rate of current bandwidth, it is determined as The corresponding target bit rate in the main display area.
The processor when for running the computer program, also executes: when comparison result characterizes the minimum bandwidth When greater than current bandwidth, the corresponding first resolution in the main display area is adjusted, generates the lower than the first resolution Two resolution ratio;Obtain the corresponding maximal rate of the second resolution;By the corresponding maximal rate of the second resolution, determine For the corresponding target bit rate in the main display area.
The processor when for running the computer program, also executes: when comparison result characterizes the minimum bandwidth When greater than current bandwidth, the video information shown in the electronic equipment from display area is converted into multiple pictures;Described The multiple picture is played in a manner of continuously playing from display area.
The processor when for running the computer program, also executes: when comparison result characterizes the minimum bandwidth When less than or equal to the current bandwidth, the minimum code rate is determined as the corresponding target bit rate in the main display area.
The processor when for running the computer program, also being executed: being determined in the electronic equipment from viewing area The quantity in domain;According to the bandwidth between the quantity from display area and current bandwidth and the bandwidth of the main display area Difference determines the code rate from display area.
The processor when for running the computer program, also executes: according to the corresponding mesh in the main display area Coding rate and resolution ratio are cached from the video information that display area plays in the electronic equipment, are obtained from viewing area The cache file in domain.
The processor when for running the computer program, also executing: obtaining each viewing area in the electronic equipment The corresponding display position in domain;By with region corresponding to the matched display position in default display position, be determined as the main display Region;
Alternatively, receiving the regional choice instruction sent for the electronic equipment;The regional choice instruction is responded, and will Display area corresponding with regional choice instruction, is determined as the main display area.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The memory 402 of computer program, above-mentioned computer program can be executed by the processor 401 of code rate adjustment device 400, to complete Step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash The memories such as Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include one of above-mentioned memory or any group The various equipment closed, such as mobile phone, computer, tablet device, personal digital assistant.
A kind of computer readable storage medium, is stored thereon with computer program, which is run by processor When, it executes: according to minimum code rate corresponding to the resolution ratio of display area main in electronic equipment, determining the main display area institute The minimum bandwidth needed;The minimum bandwidth is compared with the current bandwidth of network;According to comparison result, the master is determined The corresponding target bit rate in display area.
It when the computer program is run by processor, also executes: being greater than currently when comparison result characterizes the minimum bandwidth When bandwidth, the corresponding maximal rate of the current bandwidth is obtained;By the corresponding maximal rate of current bandwidth, it is aobvious to be determined as the master Show the corresponding target bit rate in region.
It when the computer program is run by processor, also executes: being greater than currently when comparison result characterizes the minimum bandwidth When bandwidth, the corresponding first resolution in the main display area is adjusted, the second resolution for being lower than the first resolution is generated; Obtain the corresponding maximal rate of the second resolution;By the corresponding maximal rate of the second resolution, it is determined as the master The corresponding target bit rate in display area.
It when the computer program is run by processor, also executes: being greater than currently when comparison result characterizes the minimum bandwidth When bandwidth, the video information shown in the electronic equipment from display area is converted into multiple pictures;Described from viewing area Domain plays the multiple picture in a manner of continuously playing.
It when the computer program is run by processor, also executes: when the comparison result characterization minimum bandwidth is less than or waits When the current bandwidth, the minimum code rate is determined as the corresponding target bit rate in the main display area.
It when the computer program is run by processor, also executes: being less than currently when comparison result characterizes the minimum bandwidth When bandwidth, the quantity in the electronic equipment from display area is determined;According to the quantity and current bandwidth from display area Bandwidth difference between the bandwidth of the main display area determines the code rate from display area.
It when the computer program is run by processor, also executes: being less than currently when comparison result characterizes the minimum bandwidth When bandwidth, according to the corresponding target bit rate in the main display area and resolution ratio, broadcast in the electronic equipment from display area The video information put is cached, and the cache file from display area is obtained.
When the computer program is run by processor, also executes: it is corresponding to obtain each display area in the electronic equipment Display position;By with region corresponding to the matched display position in default display position, be determined as the main display area;
Alternatively, receiving the regional choice instruction sent for the electronic equipment;The regional choice instruction is responded, and will Display area corresponding with regional choice instruction, is determined as the main display area.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (10)

1. a kind of code rate adjustment method, which comprises
According to minimum code rate corresponding to the resolution ratio of display area main in electronic equipment, determine required for the main display area Minimum bandwidth;
The minimum bandwidth is compared with the current bandwidth of network;
According to comparison result, the corresponding target bit rate in the main display area is determined.
2. according to the method described in claim 1, determine the corresponding target bit rate in the main display area according to comparison result, Include:
When comparison result, which characterizes the minimum bandwidth, is greater than current bandwidth, the corresponding maximal rate of the current bandwidth is obtained;
By the corresponding maximal rate of current bandwidth, it is determined as the corresponding target bit rate in the main display area.
3. according to the method described in claim 1, determine the corresponding target bit rate in the main display area according to comparison result, Include:
When comparison result, which characterizes the minimum bandwidth, is greater than current bandwidth, adjusts the main display area corresponding first and differentiate Rate generates the second resolution for being lower than the first resolution;
Obtain the corresponding maximal rate of the second resolution;
By the corresponding maximal rate of the second resolution, it is determined as the corresponding target bit rate in the main display area.
4. according to the method described in claim 1, the method also includes: work as when comparison result characterizes the minimum bandwidth and is greater than When preceding bandwidth, the video information shown in the electronic equipment from display area is converted into multiple pictures;
The multiple picture is played in a manner of continuously playing from display area described.
5. according to the method described in claim 1, determine the corresponding target bit rate in the main display area according to comparison result, Include:
When comparison result, which characterizes the minimum bandwidth, is less than or equal to the current bandwidth, the minimum code rate is determined as institute State the corresponding target bit rate in main display area.
6. according to the method described in claim 5, when comparison result characterizes the minimum bandwidth and is less than current bandwidth, the side Method further include:
Determine the quantity in the electronic equipment from display area;
According to the bandwidth difference between the quantity from display area and current bandwidth and the bandwidth of the main display area, determine The code rate from display area.
7. according to the method described in claim 5, when comparison result characterizes the minimum bandwidth and is less than current bandwidth, the side Method further include:
According to the corresponding target bit rate in the main display area and resolution ratio, to what is played in the electronic equipment from display area Video information is cached, and the cache file from display area is obtained.
8. according to the method described in claim 1, the method also includes:
Obtain the corresponding display position in each display area in the electronic equipment;It will be with the matched display position in default display position Corresponding region is determined as the main display area;
Alternatively, receiving the regional choice instruction sent for the electronic equipment;The regional choice instruction is responded, and will be with institute It states regional choice and instructs corresponding display area, be determined as the main display area.
9. a kind of code rate adjustment device, described device include:
Determination unit determines that the master is aobvious for the minimum code rate according to corresponding to the resolution ratio of display area main in electronic equipment Show minimum bandwidth required for region;It is also used to the comparison result of the current bandwidth according to the minimum bandwidth and network, is determined The corresponding target bit rate in the main display area;
Comparing unit, for the minimum bandwidth to be compared with the current bandwidth of network.
10. a kind of code rate adjustment device, described device include: memory and processor;
Wherein, the memory, for storing the computer program that can be run on the processor;
The processor, when for running the computer program, the step of perform claim requires any one of 1 to 8 the method.
CN201810930796.9A 2018-08-15 2018-08-15 Code rate adjusting method and device Active CN109195010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810930796.9A CN109195010B (en) 2018-08-15 2018-08-15 Code rate adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810930796.9A CN109195010B (en) 2018-08-15 2018-08-15 Code rate adjusting method and device

Publications (2)

Publication Number Publication Date
CN109195010A true CN109195010A (en) 2019-01-11
CN109195010B CN109195010B (en) 2021-08-06

Family

ID=64918020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810930796.9A Active CN109195010B (en) 2018-08-15 2018-08-15 Code rate adjusting method and device

Country Status (1)

Country Link
CN (1) CN109195010B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650341A (en) * 2019-09-29 2020-01-03 华为终端有限公司 Video interaction method and related equipment
CN110784745A (en) * 2019-11-26 2020-02-11 科大讯飞股份有限公司 Video transmission method, device, system, equipment and storage medium
CN111602389A (en) * 2019-07-23 2020-08-28 深圳市大疆创新科技有限公司 Code stream transmission control method, device and computer readable storage medium
CN111866586A (en) * 2020-07-28 2020-10-30 精英数智科技股份有限公司 Underground video data processing method and device, electronic equipment and storage medium
CN113242438A (en) * 2021-04-12 2021-08-10 郑州阿帕斯数云信息科技有限公司 Video data transmission method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010124133A1 (en) * 2009-04-24 2010-10-28 Delta Vidyo, Inc. Systems, methods and computer readable media for instant multi-channel video content browsing in digital video distribution systems
CN103024342A (en) * 2012-12-25 2013-04-03 广东威创视讯科技股份有限公司 Bandwidth control method and system for video conference system
CN104144322A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for achieving video monitoring on mobile terminal and video processing server
CN104717555A (en) * 2013-12-11 2015-06-17 华为技术有限公司 Video stream acquiring method and device
CN106210781A (en) * 2016-08-04 2016-12-07 乐视控股(北京)有限公司 A kind of multichannel control method for playing back and system
CN107105317A (en) * 2017-05-22 2017-08-29 华为软件技术有限公司 A kind of video broadcasting method and device
CN108111910A (en) * 2017-12-22 2018-06-01 烽火通信科技股份有限公司 A kind of method and system for adjusting video playing clarity

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010124133A1 (en) * 2009-04-24 2010-10-28 Delta Vidyo, Inc. Systems, methods and computer readable media for instant multi-channel video content browsing in digital video distribution systems
CN103024342A (en) * 2012-12-25 2013-04-03 广东威创视讯科技股份有限公司 Bandwidth control method and system for video conference system
CN104144322A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for achieving video monitoring on mobile terminal and video processing server
CN104717555A (en) * 2013-12-11 2015-06-17 华为技术有限公司 Video stream acquiring method and device
CN106210781A (en) * 2016-08-04 2016-12-07 乐视控股(北京)有限公司 A kind of multichannel control method for playing back and system
CN107105317A (en) * 2017-05-22 2017-08-29 华为软件技术有限公司 A kind of video broadcasting method and device
CN108111910A (en) * 2017-12-22 2018-06-01 烽火通信科技股份有限公司 A kind of method and system for adjusting video playing clarity

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111602389A (en) * 2019-07-23 2020-08-28 深圳市大疆创新科技有限公司 Code stream transmission control method, device and computer readable storage medium
CN111602389B (en) * 2019-07-23 2022-06-03 深圳市大疆创新科技有限公司 Code stream transmission control method, device and computer readable storage medium
CN110650341A (en) * 2019-09-29 2020-01-03 华为终端有限公司 Video interaction method and related equipment
CN110784745A (en) * 2019-11-26 2020-02-11 科大讯飞股份有限公司 Video transmission method, device, system, equipment and storage medium
CN110784745B (en) * 2019-11-26 2021-12-07 科大讯飞股份有限公司 Video transmission method, device, system, equipment and storage medium
CN111866586A (en) * 2020-07-28 2020-10-30 精英数智科技股份有限公司 Underground video data processing method and device, electronic equipment and storage medium
CN111866586B (en) * 2020-07-28 2022-08-02 精英数智科技股份有限公司 Underground video data processing method and device, electronic equipment and storage medium
CN113242438A (en) * 2021-04-12 2021-08-10 郑州阿帕斯数云信息科技有限公司 Video data transmission method and device

Also Published As

Publication number Publication date
CN109195010B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN109195010A (en) Code rate adjusting method and device
JP5162082B2 (en) System and method for providing an alternative view when rendering audio / video content on a computing system
CN109120997A (en) Method for processing video frequency, device, terminal and medium
CN109275028A (en) Video acquiring method, device, terminal and medium
CN108066986A (en) A kind of Streaming Media determines method and device and storage medium
US20090077489A1 (en) Display control apparatus, method and program
KR20090094255A (en) Media state user interface
CN106027933B (en) A kind of recording of video, playback method and mobile terminal
KR20130064110A (en) Capture and recall of home entertainment system session
US20130336638A1 (en) Switching between time order and popularity order sending of video segments
JP2021506196A (en) Video processing methods, devices, terminals and media
US20220319548A1 (en) Video processing method for application and electronic device
CN105828215A (en) Video parameter adjustment method and terminal
JP2016126445A (en) Server, control method thereof, and program
CN110740261A (en) Video recording method, device, terminal and storage medium
JP2023521199A (en) Video stream playback control method, device and storage medium
JP2011525727A (en) Method and apparatus for presenting a summary of content items
JP6478162B2 (en) Mobile terminal device and content distribution system
TW201429232A (en) Multimedia playback apparatus and multimedia file prefetching method
CN109379621A (en) A kind of barrage display methods and device
CN106067988A (en) List of videos display packing, device and mobile terminal
JP6954914B2 (en) Information processing terminals, information processing methods, and programs
CN113923514B (en) Display device and MEMC repeated frame discarding method
JP6724188B2 (en) Server, server control method, and program
US20090172743A1 (en) Method for utilizing at least one signal-receiving module to record multimedia programs and system thereof

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