[go: up one dir, main page]

CN102404562A - Image data encoding method and server for realizing the method - Google Patents

Image data encoding method and server for realizing the method Download PDF

Info

Publication number
CN102404562A
CN102404562A CN2010102848676A CN201010284867A CN102404562A CN 102404562 A CN102404562 A CN 102404562A CN 2010102848676 A CN2010102848676 A CN 2010102848676A CN 201010284867 A CN201010284867 A CN 201010284867A CN 102404562 A CN102404562 A CN 102404562A
Authority
CN
China
Prior art keywords
image
type
server
image data
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102848676A
Other languages
Chinese (zh)
Inventor
李忠一
叶建发
卢秋桦
蔡程丰
郑山川
颜宗信
简裕峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010102848676A priority Critical patent/CN102404562A/en
Publication of CN102404562A publication Critical patent/CN102404562A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种影像资料编码方法及实现该方法的服务器,该方法包括步骤:接收终端设备的影像请求;判断该类型的影像请求是否处理过;如果该类型的影像请求处理过,从服务器的存储器中直接获取编码后的影像,并输出编码后的影像到该终端设备;如果该类型的影像请求没有处理过,在服务器的编码器中添加处理该类型影像请求的任务,所述编码器根据该类型的影像请求,对当前影像资料进行编码,将编码后的影像保存于存储器中,并输出编码后的影像到该终端设备。利用本发明可以根据不同终端设备的显示屏幕大小,对影像资料进行编码,获取不同大小的编码影像。

Figure 201010284867

A method for encoding image data and a server for realizing the method, the method comprising the steps of: receiving an image request from a terminal device; judging whether the type of image request has been processed; if the type of image request has been processed, directly Obtain the encoded image, and output the encoded image to the terminal device; if this type of image request has not been processed, add the task of processing this type of image request to the encoder of the server, and the encoder is based on this type of image request. The image request is to encode the current image data, store the encoded image in the memory, and output the encoded image to the terminal device. By utilizing the present invention, image data can be encoded according to the display screen sizes of different terminal devices, and encoded images of different sizes can be obtained.

Figure 201010284867

Description

Image data coding method and realize the server of this method
Technical field
The present invention relates to a kind of data-encoding scheme, relate in particular to a kind of server that is directed against the image data coding method of different terminal equipment display screen size and realizes this method.
Background technology
At present, monitor (like network camera) generally is used to the security monitoring field, and the image data of monitor picked-up can send management server to through network, and server is kept in the memory after this image data is encoded.Administrative staff can be connected to this server through terminal equipment (like computer or handheld device etc.), check by the captured picture of monitor, to save time and human cost.
But,,, then will cause partial content to show if server is sent to the display screen scope that the picture of terminal equipment exceeds terminal equipment because the display screen of each terminal equipment varies in size.
Summary of the invention
In view of above content, be necessary to provide a kind of image data coding method, its SVC encoder capable of using according to the display screen size of different terminal equipment, is encoded to image data, obtains the coding image of different sizes.
In one embodiment, this method comprises the steps:
The image request that receiving terminal apparatus is one type;
Judge whether the image request of the type was handled;
If the image Request Processing mistake of the type according to the image request of this terminal equipment, from the memory of server, directly obtain the image behind the coding, and the image behind the output encoder is to this terminal equipment; And
If the image request of the type was not handled; In the encoder of server, add and handle the type image tasks requested; Said encoder is according to the image request of the type; Current image data is encoded, image and this image corresponding image request type behind the coding are stored in the memory, and the image behind the output encoder is to this terminal equipment.
Preceding method can be carried out by electronic equipment (like server), and wherein this electronic equipment has display screen, one or more processor, the memory that has attached graphic user interface (GUI) and is kept at one or more modules, program or the instruction set that is used to carry out these methods in the memory.In certain embodiments, this electronic equipment provides the multiple function that comprises radio communication.
The instruction that is used for carrying out preceding method can be included in and be configured to the computer program carried out by one or more processors.
Compared to prior art, described image data coding method and server thereof, its SVC capable of using (Scalable Video Coding; Scalable video) encoder; According to the display screen size of different terminal equipment, image data is encoded, obtain the coding image of different sizes; And the coding image that transmits different sizes reaches the purpose of saving transmission space and cost to terminal equipment.
Description of drawings
Fig. 1 is the applied environment sketch map of image data coding of the present invention.
Fig. 2 is the structural representation of server of the present invention.
Fig. 3 is the flow chart of the preferred embodiment of image data coding method of the present invention.
Fig. 4 is the sketch map that the present invention encodes according to different display screen sizes.
The main element symbol description
Server 2
Terminal equipment T1、T2、T3
Monitor 10
Image data 20
Memory 21
Display screen ?22
Processor ?23
The SVC encoder ?24
Event sniffer ?25
The coding image ?210
Embodiment
As shown in Figure 1, be the applied environment sketch map of image data coding of the present invention.In the present embodiment, monitor 10 sends the image data 20 of picked-up to SVC (Scalable Video Coding, scalable video) encoder 24.Event sniffer (Event Listener) 25 is used to detect the image request of terminal equipment (like T1, T2 and T3), and the image request that detects is sent to SVC encoder 24.
In the present embodiment, SVC encoder 24 is arranged in server 2 (consulting shown in Figure 2) with event sniffer 25.SVC encoder 24 is encoded to this image data 20 according to different coding block size (like P1, P2 and P3) and resolution according to the size of terminal equipment display screen, obtains the coding image of different sizes.Then, server 2 sends the coding image of different sizes to corresponding terminal equipment.
In the present embodiment, this server 2 also comprises memory 21, display screen 22 and processor 23.Wherein, Said memory 21, display screen 22, processor 23, SVC encoder 24 and event sniffer 25 are connected through data/address bus; Store the image data 210 (being called for short the coding image) after SVC encoder 24 is encoded in the said memory 21 like transmitting data stream and various parameters etc.This SVC encoder 24 is used for the display screen size according to different terminal equipment, and image data 20 is encoded, and obtains the coding image 210 of different sizes.Then, server 2 transmits the coding image 210 of different sizes to terminal equipment, and detailed process is referring to the description of Fig. 3.
In the present embodiment, said server 2 can provide one or more modules, and said one or more modules are stored in the said memory 21 and are configured to and carried out by one or more processors (present embodiment is a processor 23), to accomplish the present invention.The alleged module of the present invention is to accomplish the computer program code segments of a specific function, is more suitable in describing the implementation of software in computer than program.
Said display screen 22 is used for code displaying image 210, like video streaming and audio frequency crossfire etc.Said monitor 10 comprises, but is not limited to, can by software or hardware circuit mode drive patrol turntable video camera, fire ball video camera (SpeedDome) but and translation (Pan), tilt (Tilt), PTZ (Pan/Tilt/Zoom) video camera of convergent-divergent (Zoom) etc.
As shown in Figure 3, be the flow chart of the preferred embodiment of image data coding method of the present invention.
Step S1, server 2 is through the image request of a certain type of event sniffer 25 receiving terminal apparatus.Said image request comprises: position in this image data of the encoded block of the image data that this terminal equipment need receive size, this encoded block, and the resolution (being encoding rate) of this encoded block etc.In the present embodiment, encoded block is big more, and the image behind the coding will be big more, and resolution is high more, and the image behind the coding is clear more.For example; Consult shown in Figure 1ly, suppose that terminal equipment T3 is a mobile phone, terminal equipment T2 is PDA (Personal Digital Assistant; Palmtop PC); Terminal equipment T1 is a desktop computer, and P1, P2, P3 represent different coding block size (i.e. the part of three of a picture different sizes), and P1<P2<P3.Then can set: the encoded block size of terminal equipment T3 is P1; P1 adopts low encoding rate (like 800*600); The encoded block size of terminal equipment T2 is (P1+P2); Encoding rate (like 1024*768) during P2 adopts, the encoded block size of terminal equipment T3 is (P1+P2+P3), P3 adopts high code-rate (like 1280*1024).
Step S2, server 2 judge whether the image request of the type was handled.If the image Request Processing mistake of the type, execution in step S3 was not if execution in step S4 was then handled in the image request of the type.
Step S3, server 2 be according to the image request of this terminal equipment, from memory 21, directly obtains the image 210 behind the coding, then execution in step S6.In the present embodiment; If server 2 was handled certain type image request; Then SVC encoder 24 is when encoding to image data 20; Can increase the function of image data 20 being encoded according to the image request of the type, generating the type image request corresponding codes image, and the image after will encoding 210 and this image corresponding image request type are kept in the memory 21.Be appreciated that when follow-up server 2 can directly read the image 210 behind the coding from memory 21 when the same image request is arranged.
Step S4, server 2 add processing the type image tasks requested in SVC encoder 24.
Step S5, SVC encoder 24 encode to the image data 20 of monitor 10 current picked-ups according to the image request of the type, and the image after will encoding and this image corresponding image request type are stored in the memory 21.
Step S6, the image behind the output encoder is to this terminal equipment.
For the ease of explanation, above embodiment is that only to send one type image request with terminal equipment be that example describes at every turn.Be appreciated that in other embodiments each terminal equipment also can send two or more image request type at every turn, specifically consults illustrating of Fig. 4.
Consult shown in Figure 4, P2 be in the image data except P1 rest parts.The image request of supposing to have sent the big or small P1 (a type) of being of encoded block before the terminal equipment T3 is to server 2.Then when terminal equipment T2 transmission encoded block size is the image request of (P1+P2) (two types), 24 need of SVC encoder are encoded to block P2, send the block P2 behind the coding to this terminal equipment T2.Because the encoded block size had been handled for the image request of P1; SVC encoder 24 can be according to P1 corresponding image request type; In real time the image data 20 of monitor 10 picked-ups is encoded; And the image after will encoding is kept in the memory 21, so the image behind the block P1 coding can directly read from memory 21.
In the present embodiment, adopt the different blocks of 24 pairs of image datas of SVC encoder to encode, in other embodiments, those skilled in the art also can adopt other encoder to come embodiment of the present invention.
What should explain at last is; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.

Claims (10)

1.一种影像资料编码方法,其特征在于,该方法包括如下步骤:1. A video data encoding method, characterized in that the method comprises the steps of: 接收终端设备一种类型的影像请求;Receive one type of image request from the terminal device; 判断该类型的影像请求是否处理过;Determine whether this type of image request has been processed; 如果该类型的影像请求处理过,根据该终端设备的影像请求,从服务器的存储器中直接获取编码后的影像,并输出编码后的影像到该终端设备;及If the image request of this type has been processed, according to the image request of the terminal device, obtain the encoded image directly from the storage of the server, and output the encoded image to the terminal device; and 如果该类型的影像请求没有处理过,在服务器的编码器中添加处理该类型影像请求的任务,所述编码器根据该类型的影像请求,对当前影像资料进行编码,将编码后的影像及该影像对应的影像请求类型保存于存储器中,并输出编码后的影像到该终端设备。If this type of image request has not been processed, add the task of processing this type of image request to the encoder of the server. The encoder encodes the current image data according to this type of image request, and combines the encoded image and the The image request type corresponding to the image is stored in the memory, and the encoded image is output to the terminal device. 2.如权利要求1所述的影像资料编码方法,其特征在于,所述影像请求包括:该终端设备需要接收的影像资料的编码区块大小、该编码区块在该影像资料中的位置及该编码区块的解析度。2. The image data encoding method according to claim 1, wherein the image request includes: the size of the encoding block of the image data that the terminal device needs to receive, the position of the encoding block in the image data, and The resolution of this encoded block. 3.如权利要求1所述的影像资料编码方法,其特征在于,所述编码器为可伸缩视频编码器。3. The image data encoding method according to claim 1, wherein the encoder is a scalable video encoder. 4.如权利要求1所述的影像资料编码方法,其特征在于,所述当前影像资料由与服务器连接的监视器摄取。4. The image data encoding method according to claim 1, wherein the current image data is captured by a monitor connected to the server. 5.如权利要求4所述的影像资料编码方法,其特征在于,所述监视器为巡转台摄影机、快速球摄影机和可平移Pan、倾斜Tilt、缩放Zoom的PTZ摄影机。5. The image data encoding method according to claim 4, wherein the monitor is a camera on a tour table, a fast dome camera, and a PTZ camera capable of panning Pan, tilting Tilt, and zooming in and out. 6.一种服务器,包括:6. A server, comprising: 编码器;Encoder; 存储器;memory; 一个或多个处理器;以及one or more processors; and 一个或多个模块,所述一个或多个模块被存储在所述存储器中并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括:One or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising: 接收终端设备一种类型的影像请求的模块;A module that receives a type of image request from a terminal device; 判断该类型的影像请求是否处理过的模块;A module for judging whether this type of image request has been processed; 如果该类型的影像请求处理过,根据该终端设备的影像请求,从服务器的存储器中直接获取编码后的影像,并输出编码后的影像到该终端设备的模块;If this type of image request has been processed, according to the image request of the terminal device, directly obtain the encoded image from the server's memory, and output the encoded image to the module of the terminal device; 如果该类型的影像请求没有处理过,在编码器中添加处理该类型影像请求的任务的模块;及If the image request of this type has not been processed, add a module to handle the task of this type of image request in the encoder; and 所述编码器根据该类型的影像请求,对当前影像资料进行编码,将编码后的影像及该影像对应的影像请求类型保存于存储器中,并输出编码后的影像到该终端设备的模块。The encoder encodes the current image data according to the type of image request, stores the encoded image and the image request type corresponding to the image in the memory, and outputs the encoded image to the module of the terminal device. 7.如权利要求6所述的服务器,其特征在于,所述影像请求包括:该终端设备需要接收的影像资料的编码区块大小、该编码区块在该影像资料中的位置及该编码区块的解析度。7. The server according to claim 6, wherein the image request includes: the size of the encoding block of the image data to be received by the terminal device, the position of the encoding block in the image data and the encoding area The resolution of the block. 8.如权利要求6所述的服务器,其特征在于,所述编码器为可伸缩视频编码器。8. The server according to claim 6, wherein the encoder is a scalable video encoder. 9.如权利要求6所述的服务器,其特征在于,所述当前影像资料由与服务器连接的监视器摄取。9. The server according to claim 6, wherein the current image data is captured by a monitor connected to the server. 10.如权利要求9所述的服务器,其特征在于,所述监视器为巡转台摄影机、快速球摄影机和可平移Pan、倾斜Tilt、缩放Zoom的PTZ摄影机。10. The server according to claim 9, wherein the monitor is a camera on a tour table, a fast ball camera, and a PTZ camera capable of panning Pan, tilting Tilt, and zooming Zoom.
CN2010102848676A 2010-09-15 2010-09-15 Image data encoding method and server for realizing the method Pending CN102404562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102848676A CN102404562A (en) 2010-09-15 2010-09-15 Image data encoding method and server for realizing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102848676A CN102404562A (en) 2010-09-15 2010-09-15 Image data encoding method and server for realizing the method

Publications (1)

Publication Number Publication Date
CN102404562A true CN102404562A (en) 2012-04-04

Family

ID=45886285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102848676A Pending CN102404562A (en) 2010-09-15 2010-09-15 Image data encoding method and server for realizing the method

Country Status (1)

Country Link
CN (1) CN102404562A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530131A (en) * 2015-12-18 2016-04-27 航天恒星科技有限公司 A terminal access monitoring management method and system
CN105892964A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Block configuration method, block display method, server, terminal equipment and communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162944A1 (en) * 2006-01-09 2007-07-12 Broadcom Corporation Method and apparatus for generating video for a viewing system from multiple video elements
US20090172754A1 (en) * 2006-09-11 2009-07-02 Eiji Furukawa Image distribution system, server and client terminal
CN101594518A (en) * 2000-12-22 2009-12-02 索尼株式会社 Distributed on-demand media transcoding system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594518A (en) * 2000-12-22 2009-12-02 索尼株式会社 Distributed on-demand media transcoding system and method
US20070162944A1 (en) * 2006-01-09 2007-07-12 Broadcom Corporation Method and apparatus for generating video for a viewing system from multiple video elements
US20090172754A1 (en) * 2006-09-11 2009-07-02 Eiji Furukawa Image distribution system, server and client terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892964A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Block configuration method, block display method, server, terminal equipment and communication system
CN105530131A (en) * 2015-12-18 2016-04-27 航天恒星科技有限公司 A terminal access monitoring management method and system
CN105530131B (en) * 2015-12-18 2020-05-22 航天恒星科技有限公司 A terminal access monitoring and management method and system

Similar Documents

Publication Publication Date Title
US10873614B2 (en) Method and apparatus for configuration and deployment of media processing in the network
US9172907B2 (en) Method and apparatus for dynamically adjusting aspect ratio of images during a video call
USRE47842E1 (en) System and method of identifying networked device for establishing a P2P connection
US9094527B2 (en) Seamlessly transferring a communication
CN112383787B (en) Live broadcast room creating method and device, electronic equipment and storage medium
CN106911493A (en) Monitoring service device, computer program product, providing and enabling service method
CN102802129A (en) Method and system for transmitting picture through mobile equipment
CN103873822A (en) Method, equipment and system for monitoring system to select camera to browse in real time
US20140002645A1 (en) Server and video surveillance method of target place
CN112218034A (en) Video processing method, system, terminal and storage medium
US20110211087A1 (en) Method and apparatus providing for control of a content capturing device with a requesting device to thereby capture a desired content segment
CN102427469A (en) System and method for using handheld electronic device to control target equipment
CN112351221B (en) Image special effect processing method, device, electronic equipment and computer readable storage medium
CN102404562A (en) Image data encoding method and server for realizing the method
US20150181167A1 (en) Electronic device and method for video conference management
CN104038741A (en) Projection method for video data
CN112346682B (en) Image special effects processing method, device, electronic device and computer-readable storage medium
CN113592734B (en) Image processing methods, devices and electronic equipment
JP2016116046A (en) Information processor, information processing method, and program
CN113055350B (en) Data transmission method, device, equipment and readable storage medium
CN114793295A (en) Video processing method and device, electronic equipment and computer readable storage medium
CN106341663A (en) Video sharing method and apparatus
CN108512812B (en) Code stream data generation method and device
US20120063696A1 (en) Image encoding method and server implementing the method
CN112689158B (en) Method, device, apparatus and computer-readable medium for processing video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120404