WO2022127232A1 - Ip 摄像头的控制方法、装置、存储介质及智能电视 - Google Patents

Ip 摄像头的控制方法、装置、存储介质及智能电视 Download PDF

Info

Publication number
WO2022127232A1
WO2022127232A1 PCT/CN2021/118875 CN2021118875W WO2022127232A1 WO 2022127232 A1 WO2022127232 A1 WO 2022127232A1 CN 2021118875 W CN2021118875 W CN 2021118875W WO 2022127232 A1 WO2022127232 A1 WO 2022127232A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
smart
video data
data stream
communication
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.)
Ceased
Application number
PCT/CN2021/118875
Other languages
English (en)
French (fr)
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.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Publication of WO2022127232A1 publication Critical patent/WO2022127232A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Definitions

  • the present application relates to the technical field of smart TVs, and in particular to a control method, device, storage medium and smart TV of an IP camera.
  • the technical problem to be solved by this application is to provide a control method, device, storage medium and smart TV for an IP camera in view of the deficiencies of the prior art, so as to solve the problem in the prior art that because the camera cannot be moved, the user can The problem of making video calls within the range.
  • an embodiment of the present application provides a method for controlling an IP camera, which is applied to a smart TV, and the method includes:
  • an embodiment of the present application provides a control device for an IP camera, including:
  • the receiving module is used to receive the original audio and video data stream collected by the IP camera;
  • the conversion module is used to convert the original audio and video data stream into the target audio and video data stream conforming to the UVC protocol, so that the application program supporting the UVC protocol can call the IP camera.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a control program for an IP camera, and when the processor executes the control program for the IP camera, the IP camera of any of the above is implemented. steps in the control method.
  • an embodiment of the present application provides a smart TV, where the smart TV includes: a processor, a memory, and a communication bus; the memory stores a computer-readable program executable by the processor;
  • the communication bus realizes the connection communication between the processor and the memory
  • the present application provides a control method, device, storage medium and smart TV for an IP camera.
  • the method includes: receiving an original audio and video data stream collected by an IP camera; converting the original audio and video data stream into a The target audio and video data stream of the UVC protocol, so that the application supporting the UVC protocol can call the IP camera.
  • the protocol adapted to the IP camera is used for communication, so that the smart TV can connect to the IP camera and use the UVC protocol to directly call the IP camera, so that the user can also switch the IP camera at different locations when moving.
  • a camera or a handheld mobile IP camera is used to make network video calls, which brings convenience to users.
  • Fig. 1 is the flow chart of the control method of the IP camera provided by this application;
  • FIG. 2 is a schematic structural diagram of a control device for an IP camera provided by the application
  • FIG. 3 is a schematic structural diagram of a smart TV provided by the present application.
  • the present application provides a control method, device, storage medium and smart TV for an IP camera.
  • the present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
  • This embodiment provides a method for controlling an IP camera, as shown in FIG. 1 , the method includes:
  • the smart TV receives the original audio and video data streams collected by the IP camera.
  • the present application provides a control method, device, storage medium and smart TV for an IP camera to solve the problem that users can only make video calls within a specific range because the camera cannot be moved.
  • the IP camera refers to a network camera, which includes a common camera, a video server, a network card, application software, etc.
  • the IP camera also includes a pan-tilt and a zoom lens.
  • IP cameras can compress images for transmission over the network. IP cameras (transmitting digital signals) are for you to implement network transmission for monitoring signals, while ordinary cameras transmit analog signals.
  • the IP camera transmits the digital signal to the host and the control computer, and the ordinary is the analog signal. Just like a telephone line transmits an analog signal, adding a "cat" can convert it into a digital signal, because the computer only recognizes digital signals.
  • the content captured by the IP camera can be quickly and easily viewed from anywhere through a network connection through the IP camera.
  • those home surveillance IP cameras on the market cannot be called directly by other applications.
  • QQ, WeChat video calls, etc. cannot directly use IP cameras. They can only be accessed and called by the manufacturer's own application, such as Huawei's home Surveillance cameras can only be used with Mijia APP, and the technical solution adopted in this application is to realize that these IP cameras can be called by applications such as QQ, WeChat, and chat software. Therefore, the IP camera configured in the TV set of the present application can shoot the user or the room from multiple angles, thereby enriching the user's use requirements and bringing convenience to the user's use.
  • the IP camera collects audio data and video data, then encodes the audio data and video data respectively, and then encapsulates the encoded files, thereby obtaining the original audio and video data stream.
  • the audio data of IP cameras can be captured through OpenAL or PortAudio, for example, the audio data types are Speex, AAC, Ogg, etc.
  • the video data of IP cameras can be captured through OpenCV, for example, the video data types are MPEG4, MJPEG, H264 , H265, etc.
  • separately encode the audio data and video data and then encapsulate the encoded audio and video files into TS format or m3u8 format. It can be understood that in practical applications, other formats can also be used, and the embodiments of the present application are here. Not limited.
  • the smart TV obtains the original audio and video data stream collected by the IP camera specifically: the smart TV receives the original audio and video data stream collected by the IP camera through a real-time streaming protocol; wherein, the real-time streaming protocol is RTSP (Real Time Streaming Protocol), that is to say, the IP camera as the RTSP server transmits the encapsulated stream file to the client through the RTSP protocol, so that the smart TV can process the original audio and video data stream, so that the processed target audio and video
  • RTSP Real Time Streaming Protocol
  • the transmission protocol between the smart TV and the IP camera is not limited to the RTSP protocol. In practical applications, transmission protocols such as RTSP, RTP, RTCP, HTTP, UDP, and TCP can also be used, which are not described in the embodiments of this application. limited.
  • the method before the smart TV receives the original audio and video data stream collected by the IP camera, the method further includes:
  • the smart TV establishes a communication connection between the IP camera and the smart TV.
  • the smart TV establishes a communication connection between the IP camera and the smart TV, including:
  • the smart TV detects that it is in the same local area network as the IP camera;
  • the smart TV receives and responds to the communication instruction sent by the IP camera to establish a communication connection with the IP camera.
  • the IP camera is communicated with the smart TV, so that the original audio data stream captured by the IP camera is transmitted to the smart TV in real time, so that the content captured and played by the IP camera can be played and displayed on the smart TV in real time.
  • the smart TV receives and responds to the communication instructions sent by the IP camera to establish a communication connection with the IP camera, including:
  • the smart TV receives and responds to the communication command sent by the IP camera, and the communication command carries the distribution network information;
  • the smart TV When the distribution network information is consistent with the preset network distribution information, the smart TV establishes a communication connection with the IP camera.
  • the network distribution information includes the first address and the first port of the IP camera, and the preset configuration information is pre-configured when the smart TV leaves the factory. Therefore, the preset configuration information includes the second address and the second port, so only the first address is available.
  • the communication connection between the smart TV and the IP camera can be established only when the address matches the second address and the first port matches the second port.
  • the network distribution information also includes the user name and password. In this way, only when the user name and password corresponding to the IP camera are consistent with the preset user name and password, can the smart TV and the IP camera establish a communication connection. In this way, the security of the smart TV and data is further improved. After the IP camera establishes a communication connection with the smart TV, the smart TV can obtain the original audio and video data streams of the IP camera.
  • the smart TV converts the original audio and video data stream into a target audio and video data stream conforming to the UVC protocol, so that the application program supporting the UVC protocol can call the IP camera.
  • the application may be an application under a system such as Android, Linux, MacOS, Windows, etc.
  • the corresponding application under the system can call the IP camera.
  • the UVC (USBVideoClass) protocol is a USB device class used to describe devices capable of playing video, such as network cameras, digital cameras, transcoders, analog video conversion and still image cameras.
  • the latest version of the USB Video Class Specification contains version 1.5, defined by the USB Developer Forum in a set of documents that describe the basic protocol and different payload formats.
  • the smart TV converts the original video stream into a target video stream conforming to the UVC protocol, including:
  • the smart TV uses the real-time streaming protocol RTSP to convert the original video stream into the target video stream conforming to the UVC protocol.
  • the smart TV of this application can be compatible with various IP cameras on the market.
  • the user needs to configure the server address and port of the purchased IP camera, as well as the user name and password, so that the smart TV can obtain the original audio and video of the IP camera. data flow.
  • the smart TV can convert the original audio and video data stream into data that conforms to the UVC protocol, so that each application on the system that supports the UVC protocol such as Android, Linux, MacOS, and Windows can call the IP camera.
  • the embodiments of the present application save application developers from the work of adapting various IP cameras from the system level, avoid unnecessary operations by users, and save equipment costs.
  • users can directly use the IP camera at home to conduct video chats with other chat software such as WeChat and QQ, instead of purchasing ordinary web Camera.
  • the present application discloses a method for controlling an IP camera.
  • the method includes: receiving an original audio and video data stream collected by an IP camera; converting the original audio and video data stream into a target audio and video data stream conforming to the UVC protocol, so that the The application calls the IP camera.
  • the embodiment of the present application not only expands the usage scenarios of the IP camera, but also expands the source of the audio and video data obtained by the smart TV, and realizes the communication using a protocol adapted to the IP camera, so that the smart TV can connect to the IP camera and use the UVC protocol.
  • the IP camera is directly called, so that when the user is moving, he can also make a network video call by switching between IP cameras in different positions or holding a mobile IP camera, which brings convenience to the user.
  • the present application also provides a control device for an IP camera, as shown in FIG. 2 , the device includes:
  • the receiving module 41 is used to receive the original audio and video data stream collected by the IP camera;
  • the conversion module 42 is used to convert the original audio and video data stream into a target audio and video data stream conforming to the UVC protocol, so that the application program supporting the UVC protocol can call the IP camera.
  • the receiving module 41 includes:
  • the acquisition unit is used to receive the original audio and video data stream collected by the IP camera through the real-time streaming protocol.
  • the original audio and video data stream is in TS format or m3u8 format.
  • the conversion module 42 includes:
  • the conversion unit is used to convert the original video stream into a target video stream conforming to the UVC protocol by using the real-time streaming protocol.
  • the device also includes:
  • the communication module is used to establish a communication connection between the IP camera and the smart TV.
  • the communication module includes:
  • the detection unit is used to detect that the IP camera and the smart TV are in the same local area network
  • the response unit is used to receive and respond to the communication instruction sent by the IP camera, so as to establish a communication connection with the IP camera.
  • the response unit includes:
  • the receiving unit is used to receive and respond to the communication instruction sent by the IP camera, and the communication instruction carries the distribution network information;
  • the network distribution unit is used to establish a communication connection with the IP camera when the network distribution information is consistent with the preset network distribution information.
  • control device of the IP camera can be implemented in the form of a computer program, and the computer program can be run on the smart TV as shown in FIG. 3 .
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a control program for the IP camera, and when the processor executes the control program for the IP camera, to achieve the above embodiments The steps in the control method of the IP camera.
  • the present application further provides a smart TV, as shown in FIG. 3 , which includes at least one processor 20 ; a display screen 21 ; and a memory 22 , which may also include communication Interface (Communications Interface) 23 and bus 24.
  • the processor 20 , the display screen 21 , the memory 22 and the communication interface 23 can communicate with each other through the bus 24 .
  • the display screen 21 is set to display a user guide interface preset in the initial setting mode.
  • the communication interface 23 can transmit information.
  • the processor 20 may invoke logic instructions in the memory 22 to perform the methods in the above-described embodiments.
  • logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 22 may be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, ie, implements the methods in the above embodiments.
  • the memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Additionally, memory 22 may include high-speed random access memory, and may also include non-volatile memory. For example, U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random A variety of media that can store program codes, such as Access Memory, RAM), a magnetic disk or an optical disk, can also be a temporary storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Studio Devices (AREA)
  • Telephonic Communication Services (AREA)

Abstract

公开了一种IP摄像头的控制方法、装置、存储介质及智能电视,方法包括:接收IP摄像头采集的原始音视频数据流;将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。

Description

IP摄像头的控制方法、装置、存储介质及智能电视
本申请要求于2020年12月17日提交中国专利局、申请号为202011495565.3、申请名称为“IP摄像头的控制方法、装置、存储介质及智能电视”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能电视技术领域,具体涉及一种IP摄像头的控制方法、装置、存储介质及智能电视。
背景技术
随着互联网快速发展,电视机搭配摄像头使用的场景越来越多。
技术问题
本申请要解决的技术问题在于,针对现有技术的不足,提供一种IP摄像头的控制方法、装置、存储介质及智能电视,以解决现有技术中由于摄像头不能移动而导致用户只能在特定的范围内进行视频通话的问题。
技术解决方案
第一方面,本申请实施例提供了一种IP摄像头的控制方法,应用于智能电视,方法包括:
接收IP摄像头采集的原始音视频数据流;
将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。
第二方面,本申请实施例提供了一种IP摄像头的控制装置,包括:
接收模块,用于接收IP摄像头采集的原始音视频数据流;
转化模块,用于将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。
第三方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有IP摄像头的控制程序,处理器执行IP摄像头的控制程序时,以实现如上任意一项的IP摄像头的控制方法中的步骤。
第四方面,本申请实施例提供了一种智能电视,智能电视包括:处理器和存储器及通信总线;存储器上存储有可被处理器执行的计算机可读程序;
通信总线实现处理器和存储器之间的连接通信;
计算机可读程序被处理器执行时实现如上任意一项的IP摄像头的控制方法中的步骤。
有益效果
与现有技术相比,本申请提供了一种IP摄像头的控制方法、装置、存储介质及智能电视,方法包括:接收IP摄像头采集的原始音视频数据流;将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。通过本申请实施例,实现了采用与IP摄像头适配的协议进行通信,使得智能电视可以连接IP摄像头并且使用UVC协议直接调用IP摄像头,从而使得用户在移动时,也可以通过切换不同位置的IP摄像头或者手持移动IP摄像头进行网络视频通话,给用户的使用带来方便。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请提供的IP摄像头的控制方法的流程图;
图2为本申请提供的IP摄像头的控制装置的结构示意图;
图3为本申请提供的智能电视的结构原理图。
本发明的实施方式
本申请提供一种IP摄像头的控制方法、装置、存储介质及智能电视,为使本申请的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本申请进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。 应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
下面结合附图,通过对实施例的描述,对申请内容作进一步说明。
本实施例提供了一种IP摄像头的控制方法,如图1所示,方法包括:
S100、智能电视接收IP摄像头采集的原始音视频数据流。
随着互联网快速发展,电视机搭配摄像头使用的场景越来越多,但是,但目前市面上装载有摄像头的电视机并不多见,而且电视机上的摄像头也无法像手机那样随意移动,用户在进行网络视频通话时,只能在特定的范围内进行活动,因此,现有电视机不能满足用户的使用需求,给用户的使用带来不便。
因此,本申请提供一种IP摄像头的控制方法、装置、存储介质及智能电视,以解决由于摄像头不能移动而导致用户只能在特定的范围内进行视频通话的问题。
具体地,IP摄像头指的是网络摄像机,它包括一个普通摄像机、视频服务器、网卡、应用软件等,本实施例中,IP摄像头还包括云台和变倍镜头。IP摄像头可以把图像压缩通过网络进行传输等。IP摄像头(传输数字信号)是为你让监控信号实施网络传输,普通的摄像机传输模拟信号。IP摄像头传给主机和控制电脑的是数字信号,普通的是模拟信号。就像电话线传输的是模拟信号,加“猫”就可以转换成数字信号,因为电脑只识别数字信号。
此外,在本实施例中,通过IP摄像头可以快速、轻松地从任何地方通过网络连接查看IP摄像头捕捉到的内容。但是,市面上的那些家用监控IP摄像头,都无法被其他应用直接调用,例如QQ、微信视频电话等是无法直接使用IP摄像头的,它只能被厂商自己的应用来访问调用,如小米的家用监控摄像头只能搭配米家APP才能使用,而本申请所采用的技术方案就是要实现这些IP摄像头都能被QQ、微信、聊天软件等应用都能调用。因此,本申请电视机所配置的IP摄像头可以多角度对用户或者房间进行拍摄,从而丰富了用户的使用需求,给用户的使用带来方便。
本实施例中,IP摄像头采集可以音频数据和视频数据,然后再分别对音频数据和视频数据进行编码,接着将编码后的文件进行封装,从而得到原始音视频数据流。在实际应用中,可以通过OpenAL或者PortAudio捕获IP摄像头的音频数据,例如,音频数据类型为Speex、AAC、Ogg等;可以通过OpenCV捕获IP摄像头的视频数据,例如视频数据类型为MPEG4、MJPEG、H264、H265等。进一步,对别对音频数据和视频数据进行编码,再将编码后的音视频文件封装为TS格式或者m3u8格式,可以理解的,在实际应用中,还可以是其他格式,本申请实施例在此不做限定。
本实施例中,智能电视获取IP摄像头采集的原始音视频数据流具体为:智能电视通过实时流传输协议接收IP摄像头采集的原始音视频数据流;其中,实时流传输协议为RTSP(Real Time Streaming Protocol),也就是说,IP摄像头作为RTSP服务器端将封装后流文件的通过RTSP协议向客户端传输,以便于智能电视对原始音视频数据流进行处理,从而使得处理后的目标音视频数据流可以直接使智能电视所使用,而不仅仅局限于IP摄像头对应的厂商的应用所调用。需要说明的是,智能电视与IP摄像头的传输协议不限于RTSP协议,在实际应用中,还可以采用如RTSP、RTP、RTCP、HTTP、UDP、TCP等传输协议,本申请实施例在此不做限定。
进一步,本实施例中,智能电视接收IP摄像头采集的原始音视频数据流之前,方法还包括:
S10、智能电视将IP摄像头与智能电视建立通信连接。
具体地,智能电视将IP摄像头与智能电视建立通信连接,包括:
智能电视检测到与IP摄像头处于同一局域网;
智能电视接收并响应IP摄像头发送的通信指令,以与IP摄像头建立通信连接。
本实施例中,通过IP摄像头与智能电视进行通信连接,从而将IP摄像头捕捉的原始音频数据流实时传送给智能电视,从而可以实时在智能电视上播放和展示IP摄像头拍摄和播放的内容。
在实际应用中,智能电视接收并响应IP摄像头发送的通信指令,以与IP摄像头建立通信连接,包括:
智能电视接收并响应IP摄像头发送的通信指令,通信指令携带配网信息;
当配网信息与预设配网信息一致时,智能电视与IP摄像头建立通信连接。
具体地,配网信息包括IP摄像头的第一地址和第一端口,预设配置信息在智能电视出厂就预先配置,因此,预设配置信息包括第二地址和第二端口,因此只有第一地址和第二地址相匹配、以及第一端口和第二端口相匹配时,才可以建立智能电视与IP摄像头建立通信连接。在实际应用中,配网信息还包括用户名和密码,这样,还需要满足IP摄像头对应的用户名和密码分别与预设的用户名和密码一致时,才可以建立智能电视与IP摄像头建立通信连接。这样,进一步提高了智能电视以及数据的安全性。当IP摄像头与智能电视建立通信连接后,智能电视可以获取到IP摄像头的原始音视频数据流。
S200、智能电视将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。
具体地,应用程序可以是Android、Linux、MacOS、Windows等系统下的应用程序,本实施例中,只要是支持UVC协议的系统,那么该系统下对应的应用均可以调用IP摄像头。进一步,UVC(USBVideoClass)协议是一个USB设备类,用于描述能够播放视频的设备,如网络摄像机、数字摄像机、转码器、模拟视频转换和静态图像摄像机。最新版本的 usb 视频类规范包含1.5版本,由 USB开发者论坛在一组文档中定义,文档描述了基本协议和不同的有效载荷格式。
在实际应用中,智能电视将原始视频流转化为符合UVC协议的目标视频流,包括:
智能电视采用实时流传输协议RTSP将原始视频流转化为符合UVC协议的目标视频流。
当然在实际应用中,也可以采用其他协议将原始视频流转化为符合UVC协议的目标视频流,需要说明的是,通过将原始视频流转化为符合UVC协议的目标视频流的技术方案均在本申请的保护范围内。因此,本申请智能电视可以兼容市面上的各种各样IP摄像头,首先,用户需要配置好购买的IP摄像头的服务器地址和端口以及用户名密码,从而智能电视可以获取到IP摄像头的原始音视频数据流。然后,智能电视可以将原始音视频数据流转换为符合UVC协议的数据,实现让Android、Linux、MacOS、Windows等系统支持UVC协议的系统上的各个应用来调用IP摄像头。这样,本申请实施例从系统层面上给应用开发者节省要去适配各类IP摄像头的工作,避免用户带来不必要的操作,节约设备成本。并且,用户可以直接利用家里的IP摄像头来进行微信、QQ等其他聊天软件视频聊天,而不用专门再去购买普通的Web Camera。
综上,与现有技术相比,本申请实施例具有以下优点:
本申请公开了一种IP摄像头的控制方法,方法包括:接收IP摄像头采集的原始音视频数据流;将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。本申请实施例,既扩充了IP摄像头的使用场景、也扩展了智能电视获取音视频数据的来源,实现了采用与IP摄像头适配的协议进行通信,使得智能电视可以连接IP摄像头并且使用UVC协议直接调用IP摄像头,从而使得用户在移动时,也可以通过切换不同位置的IP摄像头或者手持移动IP摄像头进行网络视频通话,给用户的使用带来方便。
基于上述IP摄像头的控制方法,本申请还提供了一种IP摄像头的控制装置,如图2所示,装置包括:
接收模块41,用于接收IP摄像头采集的原始音视频数据流;
转化模块42,用于将原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持UVC协议的应用程序调用IP摄像头。
进一步地,接收模块41包括:
采集单元,用于通过实时流传输协议接收IP摄像头采集的原始音视频数据流。
进一步地,原始音视频数据流为TS格式或者m3u8格式。
进一步地,转化模块42包括:
转化单元,用于采用实时流传输协议将原始视频流转化为符合UVC协议的目标视频流。
进一步地,装置还包括:
通信模块,用于将IP摄像头与智能电视建立通信连接。
进一步地,通信模块包括:
检测单元,用于检测到IP摄像头与智能电视处于同一局域网;
响应单元,用于接收并响应IP摄像头发送的通信指令,以与IP摄像头建立通信连接。
进一步地,响应单元包括:
接收单元,用于接收并响应IP摄像头发送的通信指令,通信指令携带配网信息;
配网单元,用于当配网信息与预设配网信息一致时,与IP摄像头建立通信连接。
需要说明的是,所属领域的技术人员可以清楚地了解到,上述IP摄像头的控制装置和各模块/单元的具体实现过程,可以参考前述IP摄像头的控制方法实施例中的相应描述,为了描述的方便和简洁,在此不再赘述。
上述IP摄像头的控制装置可以实现为一种计算机程序的形式,该计算机程序可以如图3所示的智能电视上运行。
基于上述IP摄像头的控制方法,本申请还提供了一种计算机可读存储介质,计算机可读存储介质存储有IP摄像头的控制程序,处理器执行IP摄像头的控制程序时,以实现如上实施例的IP摄像头的控制方法中的步骤。
基于上述IP摄像头的控制方法,本申请还提供了一种智能电视,如图3所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。
此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器20通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。
存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
此外,上述存储介质以及智能电视中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种IP摄像头的控制方法,其中,应用于智能电视,所述方法包括:
    接收IP摄像头采集的原始音视频数据流;
    将所述原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持所述UVC协议的应用程序调用所述IP摄像头。
  2. 根据权利要求1所述的方法,其中,所述获取IP摄像头采集的原始音视频数据流,包括:
    通过实时流传输协议接收IP摄像头采集的原始音视频数据流。
  3. 根据权利要求2所述的方法,其中,所述原始音视频数据流为TS格式或者m3u8格式。
  4. 根据权利要求3所述的方法,其中,所述将所述原始视频流转化为符合UVC协议的目标视频流,包括:
    采用所述实时流传输协议将所述原始视频流转化为符合UVC协议的目标视频流。
  5. 根据权利要求1-4任一项所述的方法,其中,所述接收IP摄像头采集的原始音视频数据流之前,所述方法包括:
    将所述IP摄像头与所述智能电视建立通信连接。
  6. 根据权利要求5所述的方法,其中,所述将所述IP摄像头与所述智能电视建立通信连接,包括:
    检测到与所述IP摄像头处于同一局域网;
    接收并响应所述IP摄像头发送的通信指令,以与所述IP摄像头建立通信连接。
  7. 根据权利要求6所述的方法,其中,所述接收并响应所述IP摄像头发送的通信指令,以与所述IP摄像头建立通信连接,包括:
    接收并响应所述IP摄像头发送的通信指令,所述通信指令携带配网信息;
    当所述配网信息与预设配网信息一致时,与所述IP摄像头建立通信连接。
  8. 一种IP摄像头的控制装置,其中,包括:
    接收模块,用于接收IP摄像头采集的原始音视频数据流;
    转化模块,用于将所述原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持所述UVC协议的应用程序调用所述IP摄像头。
  9. 根据权利要求8所述的控制装置,其中,所述接收模块包括采集单元:
    所述采集单元,用于通过实时流传输协议接收IP摄像头采集的原始音视频数据流。
  10. 根据权利要求8所述的控制装置,其中,所述转化模块包括转化单元;
    所述转化单元,用于采用实时流传输协议将原始视频流转化为符合UVC协议的目标视频流。
  11. 根据权利要求8所述的控制装置,其中,还包括通信模块;
    所述通信模块,用于将IP摄像头与智能电视建立通信连接。
  12. 根据权利要求11所述的控制装置,其中,所述通信模块包括检测单元和响应单元;
    所述检测单元,用于检测到IP摄像头与智能电视处于同一局域网;
    所述响应单元,用于接收并响应IP摄像头发送的通信指令,以与IP摄像头建立通信连接。
  13. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有IP摄像头的控制程序,所述处理器执行所述IP摄像头的控制程序时,以实现如权利要求1~7任意一项所述的IP摄像头的控制方法中的步骤。
  14. 一种智能电视,其中,所述智能电视包括:处理器和存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;
    所述通信总线实现所述处理器和所述存储器之间的连接通信;
    所述计算机可读程序被所述处理器用于执行:
    接收IP摄像头采集的原始音视频数据流;
    将所述原始音视频数据流转化为符合UVC协议的目标音视频数据流,以使支持所述UVC协议的应用程序调用所述IP摄像头。
  15. 根据权利要求14所述的智能电视,其中,所述处理器用于执行:
    通过实时流传输协议接收IP摄像头采集的原始音视频数据流。
  16. 根据权利要求15所述的智能电视,其中,所述原始音视频数据流为TS格式或者m3u8格式。
  17. 根据权利要求16所述的智能电视,其中,所述处理器用于执行:
    采用所述实时流传输协议将所述原始视频流转化为符合UVC协议的目标视频流。
  18. 根据权利要求14-17任一项所述的智能电视,其中,所述处理器用于执行:
    将所述IP摄像头与所述智能电视建立通信连接。
  19. 根据权利要求18所述的智能电视,其中,所述处理器用于执行:
    检测到与所述IP摄像头处于同一局域网;
    接收并响应所述IP摄像头发送的通信指令,以与所述IP摄像头建立通信连接。
  20. 根据权利要求19所述的智能电视,其中,所述处理器用于执行:
    接收并响应所述IP摄像头发送的通信指令,所述通信指令携带配网信息;
    当所述配网信息与预设配网信息一致时,与所述IP摄像头建立通信连接。
PCT/CN2021/118875 2020-12-17 2021-09-16 Ip 摄像头的控制方法、装置、存储介质及智能电视 Ceased WO2022127232A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011495565.3 2020-12-17
CN202011495565.3A CN114650385A (zh) 2020-12-17 2020-12-17 Ip摄像头的控制方法、装置、存储介质及智能电视

Publications (1)

Publication Number Publication Date
WO2022127232A1 true WO2022127232A1 (zh) 2022-06-23

Family

ID=81991534

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118875 Ceased WO2022127232A1 (zh) 2020-12-17 2021-09-16 Ip 摄像头的控制方法、装置、存储介质及智能电视

Country Status (2)

Country Link
CN (1) CN114650385A (zh)
WO (1) WO2022127232A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150369A (zh) * 2022-06-29 2022-10-04 湖北天融信网络安全技术有限公司 音视频代理方法及音视频代理容器
CN115695871A (zh) * 2022-10-31 2023-02-03 星河智联汽车科技有限公司 汽车智能座舱的摄像头接入方法、系统及存储介质
CN116582742A (zh) * 2023-04-17 2023-08-11 上海于万科技有限公司 一种基于uvc协议的拍照方法及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193200A (zh) * 2023-02-03 2023-05-30 深圳感臻智能股份有限公司 针对插播视频的切换方法、系统以及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287242A (zh) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 一种基于手机摄像头的视频方法与系统
CN105451004A (zh) * 2016-01-08 2016-03-30 烽火通信科技股份有限公司 智能机顶盒及其支持视频通信监控的媒体处理系统和方法
CN105791580A (zh) * 2016-03-21 2016-07-20 北京华盛普讯技术股份有限公司 一种基于安卓系统移动设备的usb摄像头采集方法
WO2020107040A2 (en) * 2020-02-20 2020-05-28 Futurewei Technologies, Inc. Integration of internet of things devices
CN111212258A (zh) * 2016-01-26 2020-05-29 Qsc公司 使用互联网协议的外围总线视频通信

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763905A (zh) * 2016-02-18 2016-07-13 四川长虹电器股份有限公司 一种手机和电视共享摄像头的方法及系统
CN107979737A (zh) * 2016-10-24 2018-05-01 南京理工大学 一种企业网可视会议系统
CN111867002A (zh) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 智能设备配网鉴权方法、系统及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287242A (zh) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 一种基于手机摄像头的视频方法与系统
CN105451004A (zh) * 2016-01-08 2016-03-30 烽火通信科技股份有限公司 智能机顶盒及其支持视频通信监控的媒体处理系统和方法
CN111212258A (zh) * 2016-01-26 2020-05-29 Qsc公司 使用互联网协议的外围总线视频通信
CN105791580A (zh) * 2016-03-21 2016-07-20 北京华盛普讯技术股份有限公司 一种基于安卓系统移动设备的usb摄像头采集方法
WO2020107040A2 (en) * 2020-02-20 2020-05-28 Futurewei Technologies, Inc. Integration of internet of things devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150369A (zh) * 2022-06-29 2022-10-04 湖北天融信网络安全技术有限公司 音视频代理方法及音视频代理容器
CN115695871A (zh) * 2022-10-31 2023-02-03 星河智联汽车科技有限公司 汽车智能座舱的摄像头接入方法、系统及存储介质
CN116582742A (zh) * 2023-04-17 2023-08-11 上海于万科技有限公司 一种基于uvc协议的拍照方法及装置

Also Published As

Publication number Publication date
CN114650385A (zh) 2022-06-21

Similar Documents

Publication Publication Date Title
CN114650385A (zh) Ip摄像头的控制方法、装置、存储介质及智能电视
US9024995B2 (en) Video calling using a remote camera device to stream video to a local endpoint host acting as a proxy
CN104683863A (zh) 一种多媒体数据传输方法及设备
WO2014161402A2 (zh) 分布式视频会议实现方法、系统、终端、音视频一体化设备
CN106851172A (zh) 摄像头的调用方法、装置及系统
WO2017092338A1 (zh) 一种数据传输的方法和装置
TWI578795B (zh) 多媒體裝置及視訊通信方法
CN103414890A (zh) 远程桌面的实现方法及装置
CN111092898A (zh) 报文传输方法及相关设备
CN110062268A (zh) 一种音视频同屏播放的发送和接收处理方法及装置
CN114466230B (zh) 显示设备功能拓展方法、装置、投屏器及存储介质
CN103826101A (zh) 一种云视频智能服务系统
CN107770564A (zh) 远程采集音视频数据的方法及装置
WO2024032566A1 (zh) 无人机图传方法、系统及计算机可读存储介质
CN105451004B (zh) 智能机顶盒及其支持视频通信监控的媒体处理系统和方法
CN106792108A (zh) 屏幕录制方法和装置
CN108024140B (zh) 一种直播方法及系统
CN104038741A (zh) 一种视频数据的投影方法
CN116320262B (zh) 一种共享摄像头控制方法、系统、会议终端及可读介质
CN103297666B (zh) 基于通用即插即用实现视频监控的方法、装置及系统
CN103999456B (zh) 一种媒体流传输方法及相关设备、系统
WO2016177257A1 (zh) 一种数据分享的方法和装置
CN103780816A (zh) 网络摄像机及其监控端设备及数据传输方法
US20250097383A1 (en) Video transmission method, conferencing system, and storage media
CN105635800A (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: 21905164

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/10/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21905164

Country of ref document: EP

Kind code of ref document: A1