WO2017054142A1 - 获取视频数据的方法、装置、系统及计算机可读存储介质 - Google Patents

获取视频数据的方法、装置、系统及计算机可读存储介质 Download PDF

Info

Publication number
WO2017054142A1
WO2017054142A1 PCT/CN2015/091134 CN2015091134W WO2017054142A1 WO 2017054142 A1 WO2017054142 A1 WO 2017054142A1 CN 2015091134 W CN2015091134 W CN 2015091134W WO 2017054142 A1 WO2017054142 A1 WO 2017054142A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
value
pixel density
video
electronic device
Prior art date
Application number
PCT/CN2015/091134
Other languages
English (en)
French (fr)
Inventor
潘凌寒
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/091134 priority Critical patent/WO2017054142A1/zh
Priority to JP2018535216A priority patent/JP6505327B2/ja
Priority to CN201580036527.2A priority patent/CN107148776B/zh
Publication of WO2017054142A1 publication Critical patent/WO2017054142A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal

Definitions

  • the present invention relates to the field of streaming media technologies, and in particular, to a method, an apparatus, a system, and a computer readable storage medium for acquiring video data.
  • the commonly used technology in video playback is adaptive bit stream media technology.
  • the encoder encodes the video source content into a plurality of different bit rate streams, and each bit rate stream is further divided into a plurality of small streams. Fragment; the player client can learn a plurality of stream segments of different bitrates corresponding to the video to be played through a manifest file, and when the video is started, the client starts to request the stream segment of the lowest bit rate stream, if the current network provides If the download speed is greater than the bit rate of the stream segment, a stream segment with a higher bit rate is requested; if the download speed provided by the current network is less than the bit rate of the stream segment, a stream segment with a lower bit rate is requested, and finally the switch is gradually switched to The most suitable bit rate segment comes up.
  • the liquid crystal panel is widely used because it has an ability to be close to the retina of the human eye, and can display images with abnormal clarity and sharpness.
  • the number of pixels per inch (inch) of the liquid crystal screen is more than 300, it is difficult for the retina of the human eye to distinguish the pixel points. In this case, even if higher-resolution video data is provided, it is difficult for the retina of the human eye to distinguish the change in its definition, and the visual experience is limited.
  • the network bandwidth and CPU processing capability are mainly used as reference factors.
  • video data with excessive resolution may be provided.
  • small-resolution video may satisfy the user's visual experience, so the video data with too much resolution can not further enhance the user's visual experience and occupy bandwidth.
  • the present invention provides a method, apparatus, system and computer readable storage medium for acquiring video data, which is capable of providing video data that satisfies a user's visual experience through limited network bandwidth.
  • an embodiment of the present invention provides a method for acquiring video data, which is applied to a video server, where the method includes:
  • the acquiring the target diagonal pixel number includes:
  • the video server receives the target diagonal pixel number sent by the electronic device.
  • the acquiring the target diagonal pixel number includes:
  • the target diagonal pixel number is determined according to the value of the target pixel density PPI and the size of the display video area.
  • the embodiment of the present invention further provides a method for acquiring video data, which is applied to an electronic device, where the method includes:
  • the electronic device When displaying the video application interface, the electronic device displays at least one screen switching option, and each of the screen switching options corresponds to a value of a pixel density PPI;
  • the first parameter is sent to the video server to facilitate the video server to determine a target diagonal pixel number based on the first parameter.
  • the determining the first parameter according to the size of the display video area and the value of the target pixel density PPI includes:
  • the size of the display video area and the value of the target pixel density PPI are both determined as first parameters.
  • the determining the first parameter according to the size of the display video area and the value of the target pixel density PPI includes:
  • the number of target diagonal pixels is determined as a first parameter.
  • the embodiment of the present invention further provides an apparatus for acquiring video data, which is applied to a video server, where the apparatus includes:
  • An obtaining unit configured to obtain a target diagonal pixel number
  • a processing unit configured to determine a target resolution from the selectable resolution according to the target diagonal pixel number
  • a sending unit configured to send the video data corresponding to the target resolution to the electronic device.
  • the acquiring unit is specifically configured to:
  • the acquiring unit is specifically configured to:
  • the target diagonal pixel number is determined according to the value of the target pixel density PPI and the size of the display video area.
  • the embodiment of the present invention further provides an apparatus for acquiring video data, which is applied to an electronic device, where the apparatus includes:
  • a display unit configured to display at least one screen switching option when the video application interface is displayed, each of the screen switching options corresponding to a value of a pixel density PPI;
  • a receiving unit configured to receive a screen switching option selected by a user
  • an acquiring unit configured to acquire, when the receiving unit receives the user selection screen switching option, a size of the display video area and a value of the target pixel density PPI, where the value of the target pixel density PPI corresponds to a screen switching option selected by the user The value of the pixel density PPI;
  • a processing unit configured to determine a first parameter according to a size of the display video area and a value of the target pixel density PPI;
  • a sending unit configured to send the first parameter to the video server, so that the video server determines the target diagonal pixel number according to the first parameter.
  • the processing unit is specifically configured to:
  • the size of the display video area and the value of the target pixel density PPI are both determined as first parameters.
  • the processing unit is specifically configured to:
  • the number of target diagonal pixels is determined as a first parameter.
  • an embodiment of the present invention further provides an apparatus for acquiring video data, which is applied to a video server, the device comprising:
  • a transmitter configured to send video data corresponding to the target resolution to the electronic device.
  • the device further includes:
  • a receiver configured to receive the target diagonal pixel number sent by the electronic device, and send the target diagonal pixel number to the processor.
  • the receiver is further configured to receive a value of a target pixel density PPI sent by the electronic device and a size of the display video area And transmitting, to the processor, a value of the target pixel density PPI and a size of the display video area;
  • the processor is further configured to determine the target diagonal pixel number according to the value of the target pixel density PPI and the size of the display video area.
  • the embodiment of the present invention further provides an apparatus for acquiring video data, which is applied to an electronic device, where the apparatus includes:
  • a display configured to display at least one screen switching option when the video application interface is displayed, each of the screen switching options corresponding to a pixel density PPI value;
  • a processor configured to acquire a size of the display video area and a value of the target pixel density PPI when the user selects a screen switching option, where the value of the target pixel density PPI is a pixel density PPI corresponding to a screen switching option selected by the user.
  • a transmitter configured to send the first parameter to the video server, so that the video server determines the target diagonal pixel number according to the first parameter.
  • the processor is specifically configured to:
  • the size of the display video area and the value of the target pixel density PPI are both determined as first parameters.
  • the processor is specifically configured to:
  • the number of target diagonal pixels is determined as a first parameter.
  • the embodiment of the present invention further provides a system for acquiring video data, where the system includes a video server and an electronic device, where:
  • the electronic device is configured to display at least one screen switching option when the video application interface is displayed, each of the screen switching options corresponding to a value of a pixel density PPI; and when receiving a user selection screen switching option, acquiring a display video region a value of the size and the target pixel density PPI, the value of the target pixel density PPI being a value of a pixel density PPI corresponding to a screen switching option selected by the user; according to the size of the display video area and the target pixel density PPI a value, determining a first parameter and transmitting the first parameter to the video server;
  • the video server is configured to receive the first parameter sent by the electronic device, and obtain a target diagonal pixel number according to the first parameter; and select an optional resolution according to the target diagonal pixel number Determining a target resolution; transmitting video data corresponding to the target resolution to the electronic device.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a video server The video server performs the following events:
  • an embodiment of the present invention further provides a nonvolatile memory that stores one or more programs.
  • a computer readable storage medium the one or more programs comprising instructions that, when executed by an electronic device having a video display function, cause the electronic device to:
  • the electronic device When displaying the video application interface, the electronic device displays at least one screen switching option, and each of the screen switching options corresponds to a value of a pixel density PPI;
  • the first parameter is sent to the video server to facilitate the video server to determine a target diagonal pixel number based on the first parameter.
  • the method, device and system for acquiring video data provided by the embodiment of the present invention, when receiving the user selection screen switching option, the electronic device acquires the value of the PPI corresponding to the screen switching option selected by the user and the size of the displayed video area, according to the two The parameters determine the first parameter that needs to be sent to the video server. After receiving the first parameter, the video server obtains the target diagonal pixel number according to the first parameter, and selects the number of diagonal pixels according to the target from the optional resolution. Determining the target resolution and transmitting the video data corresponding to the target resolution to the electronic device.
  • the present invention when transmitting video data to an electronic device, the present invention takes the value of the PPI as a starting point, comprehensively considering the resolution and the size of the display video area, so that when the size of the display video area is small, the user is provided with an equivalent visual experience.
  • the present invention can provide video data with a smaller resolution than the prior art, and occupy less network bandwidth.
  • the technical solution of the embodiments of the present invention is capable of providing video data that satisfies a user's visual experience through limited network bandwidth.
  • FIG. 1 is a flowchart of a method for acquiring video data according to an embodiment of the present invention
  • 2a is a schematic diagram of correspondence between a screen switching option and a PPI according to an embodiment of the present invention
  • 2b is a schematic diagram of correspondence between screen switching options and resolutions provided by the prior art
  • 3a is a schematic diagram showing a video area and a size of the display video area in a non-full screen mode
  • 3b is a schematic diagram showing a video area and a size of the display video area in full screen mode
  • FIG. 4 is a structural diagram of an apparatus for acquiring video data according to an embodiment of the present invention.
  • FIG. 5 is a structural diagram of another apparatus for acquiring video data according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of another apparatus for acquiring video data according to an embodiment of the present disclosure.
  • FIG. 7 is a structural diagram of another apparatus for acquiring video data according to an embodiment of the present invention.
  • the pixels per inch (ppi) (also referred to as pixel density in the embodiment of the present invention) is a unit of image resolution.
  • an embodiment of the present invention provides a method for acquiring video data based on a value of a PPI.
  • the method provided by the embodiment of the present invention is applied to a system including a video server and an electronic device.
  • FIG. 1 is a flowchart of a method for acquiring video data according to an embodiment of the present invention, where the method includes:
  • the electronic device When displaying the video application interface, the electronic device displays at least one screen switching option, and each screen switching option corresponds to a value of one pixel density PPI.
  • the video application interface may be a video playing interface or a video pause interface.
  • FIG. 2 is a schematic diagram of a corresponding relationship between a screen switching option and a PPI according to an embodiment of the present invention.
  • Each screen switching option can respectively correspond to a pixel density PPI value, for example, the display of the electronic device displays super clear, high definition, standard definition three screen switching options, ultra clear, high definition,
  • the three picture switching options of the standard definition correspond to the value of the PPI.
  • the value of the PPI corresponding to the super clear may be 300
  • the value of the PPI corresponding to the high definition may be 200
  • the value of the PPI corresponding to the standard definition may be 100.
  • the value of the PPI corresponding to the ultra-clear, high-definition, and standard definition may be other values, which is not specifically limited by the technical solution of the present invention.
  • the screen switching option may also be directly presented in the form of the value of the PPI.
  • 2b is a schematic diagram of the corresponding relationship between the screen switching option and the resolution provided by the prior art; the display of the electronic device can display three screen switching options of ultra clear, high definition and standard definition, and the three screen switching options of ultra clear, high definition and standard definition are
  • the resolution corresponds to, for example, the super-clear corresponding resolution of 1920x1080, the high-definition corresponding to 1280x720, and the standard definition corresponding to 720x576.
  • the value of the PPI corresponding to the screen switching option selected by the user is confirmed, and the value of the PPI corresponding to the screen switching option selected by the user is also implemented by the present invention.
  • the size of the display video area is the physical size of the area on the display for displaying the video interface.
  • the size of the display video area may include the length and width of the rectangular area, and the unit may be selected in inches.
  • the size of the display video area may be a diagonal length of the rectangular area, and the unit may be selected in inches. The size of the display video area corresponding to the full screen mode and the non-full screen mode is different.
  • Figure 3a shows a schematic representation of the display video area and the size of the display video area in a non-full screen mode, in which the display video area occupies a portion of the entire display.
  • Figure 3b is a schematic diagram showing the display of the video area and the size of the display video area in full screen mode. In full screen mode, the display video area occupies the entire display area.
  • the size of the display video area and the value of the target pixel density PPI are directly determined as a first parameter, and the target diagonal is determined by the video server side according to the two parameter values.
  • the first parameter is a target diagonal pixel number; the target diagonal pixel number may be obtained according to a size of the display video area and a value of the target pixel density PPI.
  • the process of determining the number of pixels of the target diagonal is specifically as follows:
  • the diagonal length of the displayed video area is first obtained according to the length and the width. For example, if the length of the display video area is a and the width is b, the display video area is Diagonal length c can be based on the formula Obtained; if the size of the obtained display video area itself is the diagonal length of the display video area, the process of calculating the diagonal length of the displayed video area may be omitted.
  • the product of the target pixel density PPI and the diagonal length of the display video region is calculated, and the obtained diagonal pixel number is the target diagonal pixel number referred to in the implementation manner.
  • the video server side stores video data of various different contents, for example, the content of the video data 1 is the content of a certain TV drama, and the content of the video data 2 is the content of a certain news program and video data 3.
  • the electronic device in addition to sending the first parameter to the video server, the electronic device sends an identifier of the video data to be acquired to the video server, so that the video server determines the selection of the electronic device.
  • Video data For example, when the electronic device needs the content of the video data 1, it is also necessary to send the identifier of the video data 1 to the video server.
  • the video server receives the first parameter sent by the electronic device, and obtains the target diagonal pixel number according to the first parameter.
  • the video server receives the first sent by the electronic device.
  • Parameter, and determining the number of pixels of the target diagonal according to the first parameter the determining process may refer to a specific determining process of using the electronic device as an execution subject, I won't go into details here.
  • the number of the target diagonal pixels referred to in this step is directly determined as the target of the first parameter sent by the electronic device.
  • the number of diagonal pixels is directly determined as the target of the first parameter sent by the electronic device.
  • the video server determines the target resolution from the selectable resolution according to the number of target diagonal pixels.
  • the video server side can store video data, and each video data can have N different resolutions, N ⁇ 1, and each resolution can be referred to as an optional resolution.
  • the resolution of the video data is different.
  • the video server may determine the video data selected by the user equipment according to the identifier of the video data that needs to be acquired by the electronic device, and the video data selected by the user has one and only one resolution on the video server side.
  • determine this resolution determine this resolution as the target resolution.
  • the video data selected by the user has N resolutions on the video server side, and N>1, compare the number of diagonal pixels corresponding to the N resolutions with the number of target diagonal pixels, and determine the target pair.
  • the resolution corresponding to the number of diagonal pixels having the smallest difference in the number of corner pixels is the target resolution.
  • the video server sends the video data corresponding to the target resolution to the electronic device.
  • the electronic device receives video data corresponding to the target resolution sent by the video server.
  • the method for acquiring video data when receiving the user selection screen switching option, the electronic device acquires the value of the PPI corresponding to the screen switching option selected by the user and the size of the displayed video area, and determines the need according to the two parameters.
  • the first parameter sent to the video server after receiving the first parameter, the video server acquires the target diagonal pixel number according to the first parameter, and determines the target resolution from the optional resolution according to the target diagonal pixel number. Rate and send the video data corresponding to the target resolution to the electronic device.
  • the present invention takes the value of the PPI as a starting point when transmitting video data to the electronic device, and comprehensively considers the resolution and the display video.
  • the present invention can provide video data with smaller resolution than the prior art, and the occupied network bandwidth is smaller. small.
  • the technical solution of the embodiments of the present invention is capable of providing video data that satisfies a user's visual experience through limited network bandwidth.
  • each picture switching option is respectively corresponding to the value of the different pixel density PPI, and the user can provide clear video data as much as possible.
  • the method provided by the embodiment of the present invention has different resolutions corresponding to the video data received by the electronic device when the size of the displayed video area is different.
  • the PPI value of the pixel density is the same, so the clarity is the same, which can provide a better user experience for the user.
  • the embodiment of the present invention further provides a specific application scenario.
  • the application scenario when the display of the electronic device displays the video application interface, the three images of ultra clear, high definition, and standard definition are also displayed.
  • the switching option has a corresponding pixel density PPI of 300, 200, and 100, respectively.
  • the abscissa indicates the number of horizontal pixels
  • the ordinate indicates the number of vertical pixels.
  • the first parameter sent by the electronic device is an example of the value of the display video area and the pixel density PPI corresponding to the screen switching option selected by the user.
  • the electronic device When receiving the screen switching option that the user selects "ultra clear", the electronic device acquires the size of the display video area and the value of the pixel density PPI corresponding to the screen switching option of "super clear". For example, the size of the obtained display video area is 4 inches long and 3 inches wide; the value of the pixel density PPI corresponding to the screen switching option of “super clear” is 300.
  • the electronic device will display the parameter information of the video area length of 3 inches, width of 4 inches, and pixel density value 300 to the video server.
  • the video server combines the PPI calculation formula according to the received display video area size and the pixel density PPI value: The square of the number of target diagonal pixels or the number of target diagonal pixels is obtained.
  • the size of the display video area is: 4 inches long and 3 inches wide, the diagonal length of the display video area is 5 inches; the value of the PPI is 300, and the diagonal length of the display video area is displayed.
  • substitute the formula The target diagonal pixel number is 1500.
  • the video server also needs to calculate the number of diagonal pixels or the square of the number of diagonal pixels corresponding to the three resolutions b1, b2, and b3.
  • the number of diagonal pixels corresponding to b1 is The number of diagonal pixels corresponding to b2 is The number of diagonal pixels corresponding to b3 is
  • the video server compares the diagonal pixel numbers corresponding to b1, b2, and b3 with the target diagonal pixel number 1500, and obtains the diagonal pixel number 1468 corresponding to b2, and the difference from the target diagonal pixel number 1500 is the smallest. Then, determine b2 (1280, 720) as the target resolution.
  • the three screen switching options of ultra clear, high definition and standard definition respectively correspond to the values of three resolutions of 1920x1080, 1280x720 and 720x576, so that when the user selects the option of super clear, the invention
  • the video server sends the video data corresponding to the resolution of 1280 ⁇ 720 to the electronic device
  • the prior art transmits the video data corresponding to the resolution of 1920 ⁇ 1080, and from the perspective of user experience, when the resolution reaches a certain threshold.
  • the retina of the human eye cannot distinguish the gap between the pixel and the pixel. Therefore, in the display video area of 4 inches long and 3 inches wide as shown in the above example, 1280x720 corresponding video data and 1920x1080 corresponding video.
  • the resolution of the images corresponding to the two resolutions is the same.
  • the present invention can provide video data with a comparable visual experience but a smaller amount of data under the same network bandwidth as compared with the prior art.
  • an embodiment of the present invention further provides an apparatus for acquiring video data.
  • FIG. 4 is a schematic structural diagram of an apparatus for acquiring video data according to an embodiment of the present disclosure, which is applied to a video server, where the apparatus includes:
  • the obtaining unit 201 is configured to acquire the target diagonal pixel number.
  • the processing unit 202 is configured to determine a target resolution from the selectable resolution according to the target diagonal pixel number.
  • the sending unit 203 is configured to send the video data corresponding to the target resolution to the electronic device.
  • the acquiring unit 201 is specifically configured to:
  • the acquiring unit 201 is specifically configured to:
  • the target diagonal pixel number is determined according to the value of the target pixel density PPI and the size of the display video area.
  • FIG. 5 is a schematic structural diagram of an apparatus for acquiring video data according to an embodiment of the present disclosure, which is applied to an electronic device, where the apparatus includes:
  • the display unit 301 is configured to display at least one screen switching option when the video application interface is displayed, and each of the screen switching options corresponds to a value of a pixel density PPI;
  • the receiving unit 302 is configured to receive a screen switching option selected by the user
  • the obtaining unit 303 is configured to acquire, when the receiving unit 302 receives the user selection screen switching option, a size of the display video area and a value of the target pixel density PPI, where the value of the target pixel density PPI corresponds to a screen switching option selected by the user.
  • the processing unit 304 is configured to determine a first parameter according to a size of the display video area and a value of the target pixel density PPI;
  • the sending unit 305 is configured to send the first parameter to the video server, so that the video server determines the target diagonal pixel number according to the first parameter.
  • the receiving unit 302 is further configured to receive video data sent by the video server.
  • processing unit 304 is specifically configured to:
  • the size of the display video area and the value of the target pixel density PPI are both determined as first parameters.
  • processing unit 304 is specifically configured to:
  • the number of target diagonal pixels is determined as a first parameter.
  • the apparatus for acquiring video data when receiving the user selection screen switching option, the electronic device acquires the value of the PPI corresponding to the screen switching option selected by the user and the size of the displayed video area, and determines the need according to the two parameters.
  • the first parameter sent to the video server after receiving the first parameter, the video server acquires the target diagonal pixel number according to the first parameter, and determines the target resolution from the optional resolution according to the target diagonal pixel number. Rate and send the video data corresponding to the target resolution to the electronic device.
  • the present invention when transmitting video data to an electronic device, the present invention takes the value of the PPI as a starting point, comprehensively considering the resolution and the size of the display video area, so that when the size of the display video area is small, the user is provided with an equivalent visual experience.
  • the present invention can provide video data with a smaller resolution than the prior art, and occupy less network bandwidth.
  • the technical solution of the embodiments of the present invention is capable of providing video data that satisfies a user's visual experience through limited network bandwidth.
  • FIG. 6 is a schematic structural diagram of an apparatus for acquiring video data according to an embodiment of the present invention, which is applied to a video server 400, and the apparatus specifically includes: a processor 401, a transmitter 402, a receiver 403, a memory 404, and a bus 405.
  • the processor 401, the transmitter 402, the receiver 403, and the memory 404 are interconnected by a bus 405, wherein:
  • a processor 401 configured to acquire a target diagonal pixel number
  • the target resolution is determined from the selectable resolution based on the number of diagonal pixels of the target.
  • the transmitter 402 is configured to send video data corresponding to the target resolution to the electronic device.
  • the receiver 403 is configured to receive the target diagonal pixel number sent by the electronic device and send the target diagonal pixel number to the processor 401.
  • the receiver 403 is further configured to receive a value of a target pixel density PPI sent by the electronic device, and display a size of the video area, and send the value of the target pixel density PPI to the processor 401 and the Display the size of the video area;
  • the processor 401 is further configured to determine the target diagonal pixel number according to the value of the target pixel density PPI and the size of the display video area.
  • the video server 400 may further include a power source (such as a battery) for supplying power to various components, and an external interface, which may be a standard Micro USB interface or multiple pins.
  • a power source such as a battery
  • an external interface which may be a standard Micro USB interface or multiple pins.
  • a connector that can be used to connect to or communicate with other devices.
  • the memory 404 may be a storage device, or may be a collective name of a plurality of storage elements, and may include a random access memory (RAM), and may also include a non-volatile memory, such as a disk storage device. , flash (Flash), etc.
  • the memory 404 can mainly include a storage instruction area and a storage data area.
  • the storage instruction area may store instructions required by the operating system, the processor 401, and the like; the storage data area may be used to store the value of the received target pixel density PPI and the size of the display video area.
  • Processor 401 is the control center of video server 400, which connects various portions of the entire video server using various interfaces and lines, and executes video server 400 by running or executing instructions stored in memory 404 and invoking data stored in memory 404.
  • the processor 401 may be a processor or a collective name of multiple processing elements.
  • the processor may be a central processing unit (CPU), or may be an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention.
  • An integrated circuit such as one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
  • the bus 405 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • FIG. 7 is a schematic structural diagram of another apparatus for acquiring video data according to an embodiment of the present invention, which is applied to an electronic device 500, and includes: a display 501, a processor 502, a transmitter 503, a receiver 504, and a memory. 505 and bus 506, display 501, processor 502. Transmitter 503, receiver 504 and memory 505 are interconnected by a bus 506, wherein:
  • the display 501 is configured to display at least one screen switching option when the video application interface is displayed, and each of the screen switching options corresponds to a value of a pixel density PPI;
  • the processor 502 is configured to obtain, when receiving a user selection screen switching option, a size of a display video area and a value of a target pixel density PPI, where the value of the target pixel density PPI is a pixel density corresponding to a screen switching option selected by the user.
  • the transmitter 503 is configured to send the first parameter to the video server, so that the video server determines the target diagonal pixel number according to the first parameter.
  • the receiver 504 is configured to receive video data sent by a video server.
  • processor 502 is specifically configured to:
  • the size of the display video area and the value of the target pixel density PPI are both determined as first parameters.
  • processor 502 is specifically configured to:
  • the number of target diagonal pixels is determined as a first parameter.
  • the display 501 can be a display with a touch-sensitive display unit that provides an input interface and an output interface between the electronic device and the user.
  • the touch sensitive display unit can collect touch operations on or near the user, such as operations by the user on the touch sensitive display unit or near the touch sensitive display unit using any suitable object such as a finger, a joint, a stylus, or the like.
  • the touch sensitive display unit can detect a touch action on the touch sensitive display unit, a grid capacitance value of the touch sensitive display unit, and contact coordinates, and send the touch action, the grid capacitance value of the touch sensitive display unit, and the contact coordinate information. Giving the processor and receiving commands from the processor and executing them.
  • the touch sensitive display unit displays the visual output.
  • Visual output can include graphics, text, icons, video, and any combination thereof (collectively referred to as "graphics").
  • the touch sensitive display unit may use LCD (Liquid Crystal Display) technology, LPD (Light Emitting Polymer Display) technology, or LED (Light Emitting Diode) technology, and other display technologies may also be used.
  • the touch sensitive display unit can utilize any of a variety of touch sensing technologies now known or later developed, as well as other proximity Sensor arrays or other elements for determining one or more points in contact with the touch-sensitive display unit to detect contact and any movement or interruption thereof, including but not limited to capacitive, resistive, Infrared and surface acoustic wave technology.
  • the user can contact the touch sensitive display unit using any suitable object or add-on such as a stylus, finger, joint, or the like.
  • the electronic device translates the joint-based coarse input into an accurate pointer/cursor position or command to perform the action desired by the user.
  • the touch sensitive display unit sends the selection information of the user to the processor after receiving the touch selection operation of the user. .
  • the electronic device can also include an audio processing unit that can receive voice information input by the user and transmit the voice information to the processor to perform a corresponding operation. For example, when the screen switching option is displayed on the display of the electronic device, the user can input the target screen switching option to be selected by voice, and the audio processing unit sends the selection information to the processor after receiving the user's selection.
  • an audio processing unit can receive voice information input by the user and transmit the voice information to the processor to perform a corresponding operation. For example, when the screen switching option is displayed on the display of the electronic device, the user can input the target screen switching option to be selected by voice, and the audio processing unit sends the selection information to the processor after receiving the user's selection.
  • the electronic device may further include a speaker, an audio circuit, a microphone, etc. to provide an audio interface between the user and the electronic device; a power source (such as a battery) that supplies power to the respective components, and an external Interface, the external interface can be a standard Micro USB interface, or a multi-pin connector, can be used to connect other devices for communication, or can be used to connect a charger to charge an electronic device; can also include a camera, a flash Etc., I will not repeat them here.
  • the memory 505 may be a storage device, or may be a collective name of a plurality of storage elements, and may include a random access memory (RAM), or may include a non-volatile memory, such as a disk storage device. , flash (Flash), etc.
  • the memory 505 can mainly include a storage instruction area and a storage data area.
  • the storage instruction area may store instructions required by the operating system, the processor, and the like; the storage data area may be used to store a picture switching option and a pixel density PPI worthy correspondence.
  • the processor 502 is a control center of the electronic device 500 that connects various portions of the entire handset with various interfaces and lines, and executes the electronic device 500 by operating or executing instructions stored in the memory 505 and recalling data stored in the memory 505.
  • the processor 502 can be a processor or multiple processing components.
  • the processor may be a central processing unit (CPU), or may be an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention.
  • An integrated circuit such as one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
  • the bus 506 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 7, but it does not mean that there is only one bus or one type of bus.
  • the apparatus for acquiring video data when receiving the user selection screen switching option, the electronic device acquires the value of the PPI corresponding to the screen switching option selected by the user and the size of the displayed video area, and determines the need according to the two parameters.
  • the first parameter sent to the video server after receiving the first parameter, the video server acquires the target diagonal pixel number according to the first parameter, and determines the target resolution from the optional resolution according to the target diagonal pixel number. Rate and send the video data corresponding to the target resolution to the electronic device.
  • the present invention when transmitting video data to an electronic device, the present invention takes the value of the PPI as a starting point, comprehensively considering the resolution and the size of the display video area, so that when the size of the display video area is small, the user is provided with an equivalent visual experience.
  • the present invention can provide video data with a smaller resolution than the prior art, and occupy less network bandwidth.
  • the technical solution of the embodiments of the present invention is capable of providing video data that satisfies a user's visual experience through limited network bandwidth.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种获取视频数据的方法、装置、系统及计算机可读存储介质,涉及流媒体技术领域。为了解决现有的当网络带宽和CPU处理能力较好时,可能提供分辨率过大的视频数据,该分辨率过大的视频数据既无法提升用户视觉体验,且占用带宽较大的问题。该方法包括:当接收到用户选择画面切换选项时,电子设备获取用户选择的画面切换选项对应的PPI的值和显示视频区域的尺寸,根据这两个参数确定需要向视频服务器发送的第一参数,视频服务器接收到该第一参数后,获取目标对角线像素数,根据该目标对角线像素数从可选分辨率中确定目标分辨率并向电子设备发送该目标分辨率对应的视频数据。本方法应用在电子设备调整视频数据的清晰度的过程中。

Description

获取视频数据的方法、装置、系统及计算机可读存储介质 技术领域
本发明涉及流媒体技术领域,尤其涉及一种获取视频数据的方法、装置、系统及计算机可读存储介质。
背景技术
通过手机、电脑等电子设备在线观看视频已经成了当代人的主要娱乐项目之一。
目前,视频的播放中常用的技术为自适应比特流媒体技术,具体为:编码器把视频源内容编码成多个不同的比特率流,每个比特率流进一步被分割成多个小的流片段;播放器客户端通过一个清单文件可得知待播放的视频对应的多个不同比特率的流片段,则启动视频时,客户端从最低比特率流的流片段开始请求,如果当前网络提供的下载速度大于该流片段的比特率,则请求更高比特率的流片段;如果当前网络提供的下载速度小于该流片段的比特率,则请求更低比特率的流片段,最终逐渐切换到最合适的比特率片段上来。
此外,液晶屏由于具有近乎接近人眼视网膜所能分辨的能力,能够异常清晰、锐利的进行图像显示而被广泛用。一般而言,当每英寸(inch)液晶屏的像素数只要达到300个以上时,人眼的视网膜就很难分辨出像素点了。这种情况下,即使提供更高分辨率的视频数据,人眼的视网膜也很难分辨出其清晰度的变化,对视觉体验提升有限。
采用现有的自适应比特流媒体技术获取视频数据时,主要将网络带宽和CPU处理能力作为参考因素,当网络带宽和CPU处理能力较好时,则可能提供分辨率过大的视频数据,而实际上小分辨率的视频可能就会满足用户的视觉体验,因而分辨率过大的视频数据既无法进一步提升用户视觉体验,而且占用带宽。
发明内容
本发明提供一种获取视频数据的方法、装置、系统及计算机可读存储介质,能够通过有限的网络带宽提供满足用户视觉体验的视频数据。
为达到上述目的,本发明采用如下技术方案:
第一方面,本发明实施例提供一种获取视频数据的方法,应用于视频服务器,所述方法包括:
获取目标对角线像素数;
根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
向电子设备发送所述目标分辨率对应的视频数据。
结合第一方面,在第一方面的第一种实现方式中,所述获取目标对角线像素数,具体包括:
所述视频服务器接收所述电子设备发送的所述目标对角线像素数。
结合第一方面,在第一方面的第二种实现方式中,所述获取目标对角线像素数,具体包括:
所述视频服务器接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸;
根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
第二方面,本发明实施例还提供了一种获取视频数据的方法,应用于电子设备,所述方法包括:
当显示视频应用界面时,所述电子设备显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定 第一参数;
向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
结合第二方面,在第二方面的第一种实现方式中,所述根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数,具体包括:
将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
结合第二方面,在第二方面的第二种实现方式中,所述根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数,具体包括:
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
将所述目标对角线像素数确定为第一参数。
第三方面,本发明实施例还提供了一种获取视频数据的装置,应用于视频服务器,所述装置包括:
获取单元,用于获取目标对角线像素数;
处理单元,用于根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
发送单元,用于向电子设备发送所述目标分辨率对应的视频数据。
结合第三方面,在第三方面的第一种实现方式中,所述获取单元,具体用于:
接收所述电子设备发送的所述目标对角线像素数。
结合第三方面,在第三方面的第二种实现方式中,所述获取单元,具体用于:
接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸;
根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
第四方面,本发明实施例还提供了一种获取视频数据的装置,应用于电子设备,所述装置包括:
显示单元,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
接收单元,用于接收用户选择的画面切换选项;
获取单元,用于当所述接收单元接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
处理单元,用于根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
发送单元,用于向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
结合第四方面,在第四方面的第一种实现方式中,所述处理单元,具体用于:
将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
结合第四方面,在第四方面的第二种实现方式中,所述处理单元,具体用于:
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
将所述目标对角线像素数确定为第一参数。
第五方面,本发明实施例还提供了一种获取视频数据的装置,应用于 视频服务器,所述装置包括:
处理器,用于获取目标对角线像素数;
根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
发射器,用于向电子设备发送所述目标分辨率对应的视频数据。
结合第五方面,在第五方面的第一种实现方式中,所述装置还包括:
接收器,用于接收所述电子设备发送的所述目标对角线像素数并向所述处理器发送所述目标对角线像素数。
结合第五方面的第一种实现方式,在第五方面的第二种实现方式中,所述接收器,还用于接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸并向所述处理器发送所述目标像素密度PPI的值以及所述显示视频区域的尺寸;
所述处理器,还用于根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
第六方面,本发明实施例还提供了一种获取视频数据的装置,应用于电子设备,所述装置包括:
显示器,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
处理器,用于当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
发射器,用于向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
结合第六方面,在第六方面的第一种实现方式中,所述处理器,具体用于:
将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
结合第六方面,在第六方面的第二种实现方式中,所述处理器,具体用于:
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
将所述目标对角线像素数确定为第一参数。
第七方面,本发明实施例还提供了一种获取视频数据的系统,所述系统包括视频服务器和电子设备,其中:
所述电子设备,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数并向所述视频服务器发送所述第一参数;
所述视频服务器,用于接收所述电子设备发送的所述第一参数,并根据所述第一参数获取目标对角线像素数;根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;向所述电子设备发送所述目标分辨率对应的视频数据。
第八方面,本发明实施例还提供了一种存储一个或多个程序的非易失性计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被视频服务器执行时使所述视频服务器执行以下事件:
获取目标对角线像素数;
根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
向电子设备发送所述目标分辨率对应的视频数据。
第九方面,本发明实施例还提供了一种存储一个或多个程序的非易失 性计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被具有显示视频功能的电子设备执行时使所述电子设备执行以下事件:
当显示视频应用界面时,所述电子设备显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
本发明实施例提供的获取视频数据的方法、装置及系统,当接收到用户选择画面切换选项时,电子设备获取用户选择的画面切换选项对应的PPI的值以及显示视频区域的尺寸,根据这两个参数确定需要向视频服务器发送的第一参数,视频服务器接收到该第一参数后,根据该第一参数获取目标对角线像素数,并根据该目标对角线像素数从可选分辨率中确定目标分辨率并向电子设备发送该目标分辨率对应的视频数据。这样,本发明在向电子设备发送视频数据时,以PPI的值为出发点,综合考虑了分辨率和显示视频区域的尺寸,这样,当显示视频区域的尺寸较小时,为用户提供等同视觉体验的视频数据时,与现有技术相比,本发明能够提供分辨率较小的视频数据,占用的网络带宽较小。因而,本发明实施例的技术方案能够通过有限的网络带宽提供满足用户视觉体验的视频数据。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种获取视频数据的方法流程图;
图2a为本发明实施例提供的画面切换选项和PPI的对应关系示意图;
图2b为现有技术提供的画面切换选项和分辨率的对应关系示意图;
图3a为非全屏模式下显示视频区域和该显示视频区域尺寸的示意图;
图3b为全屏模式下显示视频区域和该显示视频区域尺寸的示意图;
图4为本发明实施例提供的一种获取视频数据的装置的结构图;
图5为本发明实施例提供的另一种获取视频数据的装置的结构图;
图6为本发明实施例提供的又一种获取视频数据的装置的结构图;
图7为本发明实施例提供的再一种获取视频数据的装置的结构图。
具体实施方式
下面将结合本实施例中的附图,对本实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
每英寸的像素数(pixels per inch,ppi)(本发明实施例中也称之为像素密度)为图像分辨率的单位,PPI的值越高,图像分辨率越高,画面的细节就越丰富,呈现的画面就越清晰。基于此,本发明实施例提供了一种基于PPI的值获取视频数据的方法。本发明实施例提供的方法,应用于包括视频服务器和电子设备的系统中。
图1为本发明实施例提供的一种获取视频数据的方法流程图,该方法包括:
101:当显示视频应用界面时,电子设备显示至少一个画面切换选项,每个画面切换选项对应一个像素密度PPI的值。
其中,所述视频应用界面可以为视频播放界面,也可以为视频暂停界面。
图2a为本发明实施例提供的画面切换选项和PPI的对应关系示意图。每个画面切换选项可以分别对应一个像素密度PPI的值,例如,电子设备的显示器上显示超清、高清、标清三个画面切换选项,超清、高清、 标清三个画面切换选项与PPI的值对应,例如:超清对应的PPI的值可以为300、高清对应的PPI的值可以为200、标清对应的PPI的值可以为100。本领域技术人员可以理解的,所述超清、高清、标清对应的PPI的值可以是其他值,本发明技术方案对此不做具体限定。
另外,画面切换选项也可以是直接以PPI的值的形式呈现。
需要说明的是,当用户与液晶屏距离在一定范围时,当PPI的值大于一定阈值时,人眼的视网膜就很难分辨出像素点了。这种情况下,即使提供更高分辨率的视频数据,人眼的视网膜也很难分辨出清晰度的变化,因而可以设定画面切换选项对应的PPI的最大值为该阈值。
图2b为现有技术提供的画面切换选项和分辨率的对应关系示意图;电子设备的显示器上可以显示超清、高清和标清三个画面切换选项,超清、高清、标清三个画面切换选项与分辨率对应,例如:超清对应分辨率1920x1080、高清对应1280x720和标清对应720x576。
102:当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值。
在本步骤的具体实现过程中,当接收到用户选择画面切换选项时,确认用户所选择的画面切换选项对应的PPI的值,用户所选择的画面切换选项对应的PPI的值也就是本发明实施例中所指的目标像素密度PPI的值。
其中,显示视频区域的尺寸为显示器上用于显示视频界面的区域的物理尺寸。以显示视频区域为矩形区域为例,在本发明实施例的一种实现方式中,所述显示视频区域的尺寸可以包括所述矩形区域的长度和宽度,单位可选为英寸。在本发明实施例的另一种实现方式中,所述显示视频区域的尺寸可以为所述矩形区域的对角线长度,单位可选为英寸。全屏模式和非全屏模式对应的显示视频区域的尺寸不同。
图3a所示为非全屏模式下显示视频区域和该显示视频区域尺寸的示意图,在该模式下,显示视频区域占整个显示器的一部分。
图3b所示为全屏模式下显示视频区域和该显示视频区域尺寸的示意图,在全屏模式下,显示视频区域占整个显示器区域。
103:根据所述显示视频区域的尺寸和所述目标像素密度PPI的值, 确定第一参数。
在本步骤的一种实现方式中,直接将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数,由视频服务器侧根据这两个参数值确定目标对角线像素数。
在本步骤的另一种实现方式中,该第一参数为目标对角线像素数;该目标对角线像素数可根据所述显示视频区域的尺寸和所述目标像素密度PPI的值得到。在该种实现方式中,确定目标对角线像素数的过程具体为:
如果获取的显示视频区域的尺寸为长度和宽度,则首先根据该长度和宽度得到显示视频区域的对角线长度,例如:显示视频区域的长度为a,宽度为b,则该显示视频区域的对角线长度c可根据公式
Figure PCTCN2015091134-appb-000001
得到;如果获取的显示视频区域的尺寸本身即为显示视频区域的对角线长度,则可省略计算显示视频区域的对角线长度的过程。
然后,根据公式
Figure PCTCN2015091134-appb-000002
计算目标像素密度PPI与显示视频区域的对角线长度的乘积,得到的对角线像素数即为本实现方式中所指的目标对角线像素数。
104:向视频服务器发送第一参数。
在本步骤的具体实现过程中,视频服务器侧存储了各种不同内容的视频数据,例如:视频数据1的内容为某个电视剧、视频数据2的内容为某个新闻节目、视频数据3的内容为某个体育节目等,为了区分不同内容的视频数据,电子设备除了向视频服务器发送第一参数外,还要向视频服务器发送需要获取的视频数据的标识,以便于视频服务器确定电子设备选择的视频数据。例如:当电子设备需要视频数据1的内容,则还需要向视频服务器发送视频数据1的标识。
105:视频服务器接收电子设备发送的第一参数,根据第一参数获取目标对角线像素数。
对应于步骤103的两种实现方式,在本步骤的一种实现方式中,当第一参数为显示视频区域的尺寸和所述目标像素密度PPI的值时,视频服务器接收电子设备发送的第一参数,并根据第一参数,确定目标对角线像素数,该确定过程,可参考以电子设备为执行主体的具体确定过程,此 处不再赘述。
在本步骤的另一种实现方式中,当第一参数为目标对角线像素数时,则本步骤所指的获取目标对角线像素数为直接将电子设备发送的第一参数确定为目标对角线像素数。
106:视频服务器根据目标对角线像素数,从可选分辨率中确定目标分辨率。
其中,视频服务器侧可以存储视频数据,每个视频数据可以有N种不同分辨率,N≥1,每种分辨率可称为一种可选分辨率。分辨率不同,视频数据的清晰程度不同。分辨率由横向像素数x和纵向像素数y组成,可根据x和y的值计算得到每种可选分辨率对应的对角线像素数,
Figure PCTCN2015091134-appb-000003
Figure PCTCN2015091134-appb-000004
例如:横向像素数x=1920和纵向像素数y=1080的分辨率对应的对角线像素数为
Figure PCTCN2015091134-appb-000005
在本步骤的具体实现过程中,视频服务器可以根据电子设备发送的需要获取的视频数据的标识,确定用户设备选择的视频数据,并且当用户选择的视频数据在视频服务器侧有且只有一种分辨率时,确定这一种分辨率为目标分辨率。
当用户选择的视频数据在视频服务器侧有N种分辨率,且N>1,将N种分辨率分别对应的对角线像素数与目标对角线像素数做比较,确定与所述目标对角线像素数差值最小的对角线像素数所对应的分辨率为目标分辨率。
107:视频服务器向电子设备发送所述目标分辨率对应的视频数据。
电子设备接收视频服务器发送的与所述目标分辨率对应的视频数据。
本发明实施例提供的获取视频数据的方法,当接收到用户选择画面切换选项时,电子设备获取用户选择的画面切换选项对应的PPI的值以及显示视频区域的尺寸,根据这两个参数确定需要向视频服务器发送的第一参数,视频服务器接收到该第一参数后,根据该第一参数获取目标对角线像素数,并根据该目标对角线像素数从可选分辨率中确定目标分辨率并向电子设备发送该目标分辨率对应的视频数据。这样,本发明在向电子设备发送视频数据时,以PPI的值为出发点,综合考虑了分辨率和显示视频 区域的尺寸,这样,当显示视频区域的尺寸较小时,为用户提供等同视觉体验的视频数据时,与现有技术相比,本发明能够提供分辨率较小的视频数据,占用的网络带宽较小。因而,本发明实施例的技术方案能够通过有限的网络带宽提供满足用户视觉体验的视频数据。
此外,本发明实施例中,将每个画面切换选项分别和不同像素密度PPI的值相对应,能够尽量为用户提供较清晰的视频数据。具体为:结合图2a和图2b,当用户选择同一画面切换选项时,采用本发明实施例提供的方法,当显示视频区域的大小不同时,电子设备所接收的视频数据对应的分辨率也不同,但像素密度PPI值相同,因而其清晰度相同,能够为用户提供较好的用户体验。而现有技术中,当用户选择同一画面切换选项时,无论当前显示视频区域的大小如何,均返回同样分辨率大小的数据,则在显示视频区域尺寸较大时,画面的清晰度较差,无法满足用户的视觉体验。
作为上述方法的具体应用,本发明实施例还提供了一种具体的应用场景,在该应用场景下,当电子设备的显示器显示视频应用界面时,还会显示超清、高清和标清三个画面切换选项,其对应的像素密度PPI的值分别为300、200和100。视频服务器保存有内容相同,但分辨率不同三种视频数据,例如:b1=(1920,1080)、b2=(1280,720)和b3=(720,576)三种分辨率的视频数据。其中,横坐标表示横向像素数,纵坐标表示纵向像素数。
在该应用场景下,以电子设备发送的第一参数为显示视频区域的尺寸和用户选择的画面切换选项对应的像素密度PPI的值为例进行说明。
当接收到用户选择“超清”这一画面切换选项时,电子设备获取显示视频区域的尺寸,以及“超清”这一画面切换选项对应的像素密度PPI的值。例如:获取到的显示视频区域的尺寸为:长为4英寸、宽为3英寸;“超清”这一画面切换选项对应的像素密度PPI的值为300。
电子设备将显示视频区域长为3英寸、宽为4英寸以及像素密度值300这些参数信息发送至视频服务器。
视频服务器根据接收到的显示视频区域的尺寸、像素密度PPI的值,结合PPI的计算公式:
Figure PCTCN2015091134-appb-000006
得到所述 目标对角线像素数或目标对角线像素数的平方。例如:显示视频区域的尺寸为:长为4英寸、宽为3英寸时,该显示视频区域的对角线长度则为5英寸;将PPI的取值为300、显示视频区域的对角线长度为5英寸,代入公式
Figure PCTCN2015091134-appb-000007
得出目标对角线像素数为1500。
视频服务器还需要计算b1、b2和b3三种分辨率对应的对角线像素数或对角线像素数的平方。例如:b1对应的对角线像素数为
Figure PCTCN2015091134-appb-000008
b2对应的对角线像素数为
Figure PCTCN2015091134-appb-000009
b3对应的对角线像素数为
Figure PCTCN2015091134-appb-000010
视频服务器将b1,b2,b3分别对应的对角线像素数与目标对角线像素数1500做比较,得到b2对应的对角线像素数1468,与目标对角线像素数1500的差值最小,则确定b2(1280,720)为目标分辨率。
视频服务器向电子设备返回b2=(1280,720)这一分辨率对应的视频数据。
此外,现有的电子设备在实际应用中,超清、高清和标清三个画面切换选项分别对应1920x1080、1280x720和720x576三个分辨率的值,这样当用户选择超清这一选项时,本发明实施例中视频服务器向电子设备发送分辨率为1280x720对应的视频数据,而现有技术中发送的则是分辨率1920x1080对应的视频数据,而从用户体验角度来说,当分辨率达到一定阈值时,人眼的视网膜就无法分辨出像素与像素之间的间隙,因而,在上述例子所示的长为4英寸,宽为3英寸的显示视频区域中,1280x720对应的视频数据和1920x1080对应的视频数据,对用户而言,这两个分辨率对应的图像的清晰度一样。这样,本发明与现有技术相比,在同等网络带宽下,能够提供视觉体验相当但数据量更小的视频数据。
需要说明的是,上述应用场景仅仅是对本发明实施例的一种可选方式进行解释说明,本领域技术人员可以根据上述应用场景,得到其他可选方 式,因而本发明实施例不再赘述。
作为上述各图所示方法的具体实现,本发明实施例还提供了获取视频数据的装置。
图4所示为本发明实施例提供的获取视频数据的装置的结构示意图,应用于视频服务器中,所述装置包括:
获取单元201,用于获取目标对角线像素数。
处理单元202,用于根据所述目标对角线像素数,从可选分辨率中确定目标分辨率。
发送单元203,用于向电子设备发送所述目标分辨率对应的视频数据。
进一步的,所述获取单元201,具体用于:
接收所述电子设备发送的所述目标对角线像素数。
进一步的,所述获取单元201,具体用于:
接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸;
根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
图5所示为本发明实施例提供的获取视频数据的装置的结构示意图,应用于电子设备,所述装置包括:
显示单元301,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
接收单元302,用于接收用户选择的画面切换选项;
获取单元303,用于当接收单元302接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
处理单元304,用于根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
发送单元305,用于向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
进一步的,接收单元302,还用于接收视频服务器发送的视频数据。
进一步的,所述处理单元304,具体用于:
将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
进一步的,所述处理单元304,具体用于:
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
将所述目标对角线像素数确定为第一参数。
本发明实施例提供的获取视频数据的装置,当接收到用户选择画面切换选项时,电子设备获取用户选择的画面切换选项对应的PPI的值以及显示视频区域的尺寸,根据这两个参数确定需要向视频服务器发送的第一参数,视频服务器接收到该第一参数后,根据该第一参数获取目标对角线像素数,并根据该目标对角线像素数从可选分辨率中确定目标分辨率并向电子设备发送该目标分辨率对应的视频数据。这样,本发明在向电子设备发送视频数据时,以PPI的值为出发点,综合考虑了分辨率和显示视频区域的尺寸,这样,当显示视频区域的尺寸较小时,为用户提供等同视觉体验的视频数据时,与现有技术相比,本发明能够提供分辨率较小的视频数据,占用的网络带宽较小。因而,本发明实施例的技术方案能够通过有限的网络带宽提供满足用户视觉体验的视频数据。
图6所示为本发明实施例提供的一种获取视频数据的装置的结构示意图,应用于视频服务器400,该装置具体包括:处理器401、发射器402、接收器403、存储器404和总线405,处理器401、发射器402、接收器403和存储器404通过总线405互相连接,其中:
处理器401,用于获取目标对角线像素数;
根据所述目标对角线像素数,从可选分辨率中确定目标分辨率。
发射器402,用于向电子设备发送所述目标分辨率对应的视频数据。
进一步的,所述接收器403,用于接收所述电子设备发送的所述目标对角线像素数并向所述处理器401发送所述目标对角线像素数。
进一步的,所述接收器403,还用于接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸并向所述处理器401发送所述目标像素密度PPI的值以及所述显示视频区域的尺寸;
所述处理器401,还用于根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
此外,尽管图6中未示出,该视频服务器400可能还包括给各个部件供电的电源(比如电池),还包括外部接口,所述外部接口可以是标准的Micro USB接口,也可以使多针连接器,可以用于连接电子设备或与其他装置进行通信等。
需要说明的是,存储器404可以是一个存储装置,也可以是多个存储元件的统称,且可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。存储器404可主要包括存储指令区和存储数据区。其中,存储指令区可存储操作系统、处理器401等所需的指令等;存储数据区可用于存储接收的目标像素密度PPI的值以及显示视频区域的尺寸等。
处理器401是视频服务器400的控制中心,利用各种接口和线路连接整个视频服务器的各个部分,通过运行或执行存储在存储器404内的指令以及调用存储在存储器404内的数据,执行视频服务器400的各种功能和处理数据。可选的,处理器401可以是一个处理器,也可以是多个处理元件的统称。例如,该处理器可以是中央处理器(Central Processing Unit,简称CPU),也可以是特定集成电路(Application Specific Integrated Circuit,简称ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)。
总线405可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
图7所示为本发明实施例提供的另一种获取视频数据的装置的结构示意图,应用于电子设备500,所述装置包括:显示器501、处理器502、发射器503、接收器504、存储器505和总线506,显示器501、处理器 502、发射器503、接收器504和存储器505通过总线506互相连接,其中:
显示器501,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
处理器502,用于当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
发射器503,用于向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
所述接收器504,用于接收视频服务器发送的视频数据。
进一步的,所述处理器502,具体用于:
将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
进一步的,所述处理器502,具体用于:
根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
将所述目标对角线像素数确定为第一参数。
其中,显示器501可以为带有触敏显示单元的显示器,该显示器501提供电子设备与用户之间的输入接口和输出接口。所述触敏显示单元可收集用户在其上或附近的触摸操作,例如用户使用手指、关节、触笔等任何适合的物体在触敏显示单元上或在触敏显示单元附近的操作。触敏显示单元可以检测对触敏显示单元的触摸动作、触敏显示单元的网格电容值、触点坐标,将所述触摸动作、触敏显示单元的网格电容值、触点坐标信息发送给所述处理器,并能接收所述处理器发来的命令并加以执行。触敏显示单元显示视觉输出。视觉输出可包括图形、文本、图标、视频及它们的任何组合(统称为“图形”)。
触敏显示单元可使用LCD(液晶显示器)技术、LPD(发光聚合物显示器)技术、或LED(发光二极管)技术,也可使用其他显示技术。触敏显示单元可以利用现在已知的或以后将开发出的多种触摸感测技术中的任何技术,以及其他接近 传感器阵列或用于确定与触敏显示单元接触的一个或多个点的其他元件来检测接触及其任何移动或中断,该多种触摸感测技术包括但不限于电容性的、电阻性的、红外线的和表面声波技术。
用户可以利用任何合适的物体或附加物诸如触笔、手指、关节等,与触敏显示单元接触。例如:当用户界面被设计为主要基于关节的接触和手势一起工作时,电子设备将基于关节的粗略输入翻译为精确的指针/光标位置或命令,以执行用户所期望的动作。例如:当电子设备的显示器上显示画面切换选项时,用户可通过手触点击选择目标画面切换选项,触敏显示单元接收到用户的触摸选择操作后,将用户的这一选择信息发送至处理器。
在一些实施例中,电子设备还可包括音频处理单元,该音频处理单元可接收用户输入的语音信息,并将语音信息发送给处理器以执行相应的操作。例如:当电子设备的显示器上显示画面切换选项时,用户可通过语音输入想要选择的目标画面切换选项,该音频处理单元接收到用户的选择后,将这一选择信息发送至处理器。
此外,尽管图7中未示出,电子设备还可以包括扬声器、音频电路、麦克风等以提供用户与电子设备之间的音频接口;还包括给各个部件供电的电源(比如电池),还包括外部接口,所述外部接口可以是标准的Micro USB接口,也可以使多针连接器,可以用于连接其他装置以进行通信,也可以用于连接充电器为电子设备充电;还可以包括摄像头、闪光灯等,在此不再赘述。
需要说明的是,存储器505可以是一个存储装置,也可以是多个存储元件的统称,且可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。存储器505可主要包括存储指令区和存储数据区。其中,存储指令区可存储操作系统、处理器等所需的指令等;存储数据区可用于存储画面切换选项和像素密度PPI的值得对应关系等。
处理器502是电子设备500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器505内的指令以及调用存储在存储器505内的数据,执行电子设备500的各种功能和处理数据。可选的,处理器502可以是一个处理器,也可以是多个处理元件 的统称。例如,该处理器可以是中央处理器(Central Processing Unit,简称CPU),也可以是特定集成电路(Application Specific Integrated Circuit,简称ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)。
总线506可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本发明实施例提供的获取视频数据的装置,当接收到用户选择画面切换选项时,电子设备获取用户选择的画面切换选项对应的PPI的值以及显示视频区域的尺寸,根据这两个参数确定需要向视频服务器发送的第一参数,视频服务器接收到该第一参数后,根据该第一参数获取目标对角线像素数,并根据该目标对角线像素数从可选分辨率中确定目标分辨率并向电子设备发送该目标分辨率对应的视频数据。这样,本发明在向电子设备发送视频数据时,以PPI的值为出发点,综合考虑了分辨率和显示视频区域的尺寸,这样,当显示视频区域的尺寸较小时,为用户提供等同视觉体验的视频数据时,与现有技术相比,本发明能够提供分辨率较小的视频数据,占用的网络带宽较小。因而,本发明实施例的技术方案能够通过有限的网络带宽提供满足用户视觉体验的视频数据。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。 以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到任何组合、修改、等同替换、改进等,都应涵盖在本发明的保护范围之内。

Claims (21)

  1. 一种获取视频数据的方法,其特征在于,应用于视频服务器,所述方法包括:
    获取目标对角线像素数;
    根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
    向电子设备发送所述目标分辨率对应的视频数据。
  2. 根据权利要求1所述的方法,其特征在于,所述获取目标对角线像素数,具体包括:
    所述视频服务器接收所述电子设备发送的所述目标对角线像素数。
  3. 根据权利要求1所述的方法,其特征在于,所述获取目标对角线像素数,具体包括:
    所述视频服务器接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸;
    根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
  4. 一种获取视频数据的方法,其特征在于,应用于电子设备,所述方法包括:
    当显示视频应用界面时,所述电子设备显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
    当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
    根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
    向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
  5. 根据权利要求4所述的获取视频数据的方法,其特征在于,所述根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数,具体包括:
    将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第 一参数。
  6. 根据权利要求4所述的获取视频数据的方法,其特征在于,所述根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数,具体包括:
    根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
    将所述目标对角线像素数确定为第一参数。
  7. 一种获取视频数据的装置,其特征在于,应用于视频服务器,所述装置包括:
    获取单元,用于获取目标对角线像素数;
    处理单元,用于根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
    发送单元,用于向电子设备发送所述目标分辨率对应的视频数据。
  8. 根据权利要求7所述的装置,其特征在于,所述获取单元,具体用于:
    接收所述电子设备发送的所述目标对角线像素数。
  9. 根据权利要求7所述的装置,其特征在于,所述获取单元,具体用于:
    接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸;
    根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
  10. 一种获取视频数据的装置,其特征在于,应用于电子设备,所述装置包括:
    显示单元,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
    接收单元,用于接收用户选择的画面切换选项;
    获取单元,用于当所述接收单元接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
    处理单元,用于根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
    发送单元,用于向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
  11. 根据权利要求10所述的获取视频数据的装置,其特征在于,所述处理单元,具体用于:
    将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
  12. 根据权利要求10所述的获取视频数据的装置,其特征在于,所述处理单元,具体用于:
    根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
    将所述目标对角线像素数确定为第一参数。
  13. 一种获取视频数据的装置,其特征在于,应用于视频服务器,所述装置包括:
    处理器,用于获取目标对角线像素数;
    根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
    发射器,用于向电子设备发送所述目标分辨率对应的视频数据。
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:
    接收器,用于接收所述电子设备发送的所述目标对角线像素数并向所述处理器发送所述目标对角线像素数。
  15. 根据权利要求14所述的装置,其特征在于,
    所述接收器,还用于接收所述电子设备发送的目标像素密度PPI的值以及显示视频区域的尺寸并向所述处理器发送所述目标像素密度PPI的值以及所述显示视频区域的尺寸;
    所述处理器,还用于根据所述目标像素密度PPI的值以及所述显示视频区域的尺寸,确定所述目标对角线像素数。
  16. 一种获取视频数据的装置,其特征在于,应用于电子设备,所述装置包括:
    显示器,用于当显示视频应用界面时,显示至少一个画面切换选项, 每个所述画面切换选项对应一个像素密度PPI的值;
    处理器,用于当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
    根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
    发射器,用于向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
  17. 根据权利要求16所述的装置,其特征在于,所述处理器,具体用于:
    将所述显示视频区域的尺寸和所述目标像素密度PPI的值均确定为第一参数。
  18. 根据权利要求16所述的装置,其特征在于,所述处理器,具体用于:
    根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,得到目标对角线像素数;
    将所述目标对角线像素数确定为第一参数。
  19. 一种获取视频数据的系统,其特征在于,所述系统包括视频服务器和电子设备,其中:
    所述电子设备,用于当显示视频应用界面时,显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数并向所述视频服务器发送所述第一参数;
    所述视频服务器,用于接收所述电子设备发送的所述第一参数,并根据所述第一参数获取目标对角线像素数;根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;向所述电子设备发送所述目标分辨率对应的视频数据。
  20. 一种存储一个或多个程序的非易失性计算机可读存储介质,其特 征在于,所述一个或多个程序包括指令,所述指令当被视频服务器执行时使所述视频服务器执行以下事件:
    获取目标对角线像素数;
    根据所述目标对角线像素数,从可选分辨率中确定目标分辨率;
    向电子设备发送所述目标分辨率对应的视频数据。
  21. 一种存储一个或多个程序的非易失性计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被具有显示视频功能的电子设备执行时使所述电子设备执行以下事件:
    当显示视频应用界面时,所述电子设备显示至少一个画面切换选项,每个所述画面切换选项对应一个像素密度PPI的值;
    当接收到用户选择画面切换选项时,获取显示视频区域的尺寸和目标像素密度PPI的值,所述目标像素密度PPI的值为与用户选择的画面切换选项对应的像素密度PPI的值;
    根据所述显示视频区域的尺寸和所述目标像素密度PPI的值,确定第一参数;
    向视频服务器发送所述第一参数以便于所述视频服务器根据所述第一参数确定目标对角线像素数。
PCT/CN2015/091134 2015-09-29 2015-09-29 获取视频数据的方法、装置、系统及计算机可读存储介质 WO2017054142A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2015/091134 WO2017054142A1 (zh) 2015-09-29 2015-09-29 获取视频数据的方法、装置、系统及计算机可读存储介质
JP2018535216A JP6505327B2 (ja) 2015-09-29 2015-09-29 ビデオデータを取得するための方法、装置、及びシステム並びにコンピュータ可読記憶媒体
CN201580036527.2A CN107148776B (zh) 2015-09-29 2015-09-29 获取视频数据的方法、装置、系统及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/091134 WO2017054142A1 (zh) 2015-09-29 2015-09-29 获取视频数据的方法、装置、系统及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2017054142A1 true WO2017054142A1 (zh) 2017-04-06

Family

ID=58422518

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091134 WO2017054142A1 (zh) 2015-09-29 2015-09-29 获取视频数据的方法、装置、系统及计算机可读存储介质

Country Status (3)

Country Link
JP (1) JP6505327B2 (zh)
CN (1) CN107148776B (zh)
WO (1) WO2017054142A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505685A (zh) * 2021-07-06 2021-10-15 浙江大华技术股份有限公司 监控设备安装定位方法、装置、电子设备、存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6781239B2 (ja) * 2018-12-10 2020-11-04 ソフトバンク株式会社 表示装置、表示方法及び表示プログラム
CN111314624B (zh) * 2018-12-11 2022-11-04 杭州海康威视数字技术股份有限公司 预览画面生成方法、装置、硬盘录像机及存储介质
CN111385607A (zh) * 2018-12-29 2020-07-07 浙江宇视科技有限公司 分辨率的确定方法、装置、存储介质、客户端及服务器
CN111435589B (zh) * 2019-06-21 2022-07-01 杭州海康威视数字技术股份有限公司 一种目标显示的方法、装置及目标显示系统
CN114173199B (zh) * 2021-11-24 2024-02-06 深圳Tcl新技术有限公司 一种视频输出方法、装置、智能设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050074177A1 (en) * 2003-10-03 2005-04-07 Daijiro Ichimura Video coding method
CN101924917A (zh) * 2010-09-16 2010-12-22 华中科技大学 一种基于移动用户终端的视频点播系统及方法
CN101938648A (zh) * 2009-10-15 2011-01-05 北京暴风网际科技有限公司 一种媒体文件格式转换方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06209470A (ja) * 1993-01-11 1994-07-26 Hitachi Ltd 映像伝送処理装置
JPH0955926A (ja) * 1995-08-14 1997-02-25 Nippon Telegr & Teleph Corp <Ntt> 映像情報提供システムおよび符号化制御情報生成方法
JP2005191949A (ja) * 2003-12-25 2005-07-14 Fujitsu Ltd 映像配信装置及び映像閲覧装置
CN101742079A (zh) * 2008-11-17 2010-06-16 深圳Tcl新技术有限公司 调整视频设置的方法和相应设备
CN201417597Y (zh) * 2009-05-15 2010-03-03 奇诺光瑞电子(深圳)有限公司 一种自动调整输入图像分辨率的装置
JP2010273274A (ja) * 2009-05-25 2010-12-02 Sony Corp 映像配信装置、映像配信方法、映像閲覧装置および映像閲覧方法
KR20190097306A (ko) * 2012-01-19 2019-08-20 브이아이디 스케일, 인크. 시청 조건에 대한 적응을 지원하는 비디오 전송 방법 및 시스템
US9516358B2 (en) * 2013-11-26 2016-12-06 At&T Intellectual Property I, L.P. Method and apparatus for providing media content

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050074177A1 (en) * 2003-10-03 2005-04-07 Daijiro Ichimura Video coding method
CN101938648A (zh) * 2009-10-15 2011-01-05 北京暴风网际科技有限公司 一种媒体文件格式转换方法及系统
CN101924917A (zh) * 2010-09-16 2010-12-22 华中科技大学 一种基于移动用户终端的视频点播系统及方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505685A (zh) * 2021-07-06 2021-10-15 浙江大华技术股份有限公司 监控设备安装定位方法、装置、电子设备、存储介质

Also Published As

Publication number Publication date
CN107148776B (zh) 2020-04-28
JP6505327B2 (ja) 2019-04-24
CN107148776A (zh) 2017-09-08
JP2018531564A (ja) 2018-10-25

Similar Documents

Publication Publication Date Title
WO2017054142A1 (zh) 获取视频数据的方法、装置、系统及计算机可读存储介质
JP5628300B2 (ja) アニメーションに使用するための望ましい物理的特徴を伴うグラフィックオブジェクトを生成する方法、装置及びコンピュータプログラム製品
US10802663B2 (en) Information processing apparatus, information processing method, and information processing system
US9898241B2 (en) Information sharing system, image processing apparatus, and image processing method
US10209945B2 (en) Information processing apparatus capable of quickly updating a display in accordance with an operation for changing a display appearance and control method thereof
US10771684B2 (en) Profiles identifying camera capabilities
EP2816545A2 (en) Method and apparatus for protecting eyesight
JP2018531564A6 (ja) ビデオデータを取得するための方法、装置、及びシステム並びにコンピュータ可読記憶媒体
JP6273081B2 (ja) ポインティング装置を用いたコンテンツ移動方法および装置
US9509733B2 (en) Program, communication apparatus and control method
JP2018093361A (ja) 通信端末、通信システム、映像出力方法、及びプログラム
US10694115B2 (en) Method, apparatus, and terminal for presenting panoramic visual content
US20140071349A1 (en) Method, apparatus, and computer program product for changing a viewing angle of a video image
KR20140092211A (ko) 미디어 컨텐츠 재생 중에 가상 카메라 기능을 수행하는 방법 및 장치
US11636572B2 (en) Method and apparatus for determining and varying the panning speed of an image based on saliency
JP2016177614A (ja) 会議システム、情報処理装置、情報端末、及びプログラム
WO2018233122A1 (zh) 无线传屏的展示方法、装置及存储介质
US20180095531A1 (en) Non-uniform image resolution responsive to a central focus area of a user
EP3203465A1 (en) Image display method, user terminal and video receiving equipment
WO2018157655A1 (zh) 重新定义屏幕的操控显示区域的方法和装置
WO2021143388A1 (zh) 码率切换方法及设备
WO2018059552A1 (zh) 屏幕显示控制方法、装置及移动终端和计算机存储介质
WO2023197679A1 (zh) 视频播放方法、装置、电子设备及存储介质
US11631159B2 (en) Zoom control of digital images on a display screen
CN113596561A (zh) 视频流播放方法、装置、电子设备和计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15905054

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2018535216

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15905054

Country of ref document: EP

Kind code of ref document: A1