Movatterモバイル変換


[0]ホーム

URL:


CN105897679A - Communication method and device - Google Patents

Communication method and device
Download PDF

Info

Publication number
CN105897679A
CN105897679ACN201510884310.9ACN201510884310ACN105897679ACN 105897679 ACN105897679 ACN 105897679ACN 201510884310 ACN201510884310 ACN 201510884310ACN 105897679 ACN105897679 ACN 105897679A
Authority
CN
China
Prior art keywords
smart
call
dimensional code
application software
specific application
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
CN201510884310.9A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co LtdfiledCriticalLeshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510884310.9ApriorityCriticalpatent/CN105897679A/en
Publication of CN105897679ApublicationCriticalpatent/CN105897679A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供一种通话方法及装置,智能电视通过接收所述智能终端发送的通话请求;其中,所述智能终端和所述智能电视已经建立绑定关系;所述通话请求为特定应用软件发起的通话请求;所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。采用本发明实施例技术方案,将智能电视和智能终端进行绑定,并在所述智能电视和智能终端之间基于所述特定应用软件对应的服务器建立通道;所述智能终端和所述智能电视通过所述通道,建立通话连接,从而实现了智能终端和智能电视之间的视频通话或者语音通话,从而扩展了智能电视的功能。

The embodiment of the present invention provides a call method and device, and the smart TV receives the call request sent by the smart terminal; wherein, the smart terminal and the smart TV have established a binding relationship; the call request is a specific application software A call request initiated; the smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software. By adopting the technical solution of the embodiment of the present invention, the smart TV and the smart terminal are bound, and a channel is established between the smart TV and the smart terminal based on the server corresponding to the specific application software; the smart terminal and the smart TV Through the channel, a call connection is established, thereby realizing a video call or a voice call between the smart terminal and the smart TV, thereby extending the functions of the smart TV.

Description

Translated fromChinese
一种通话方法及装置A communication method and device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种通话方法及装置。The embodiments of the present invention relate to the technical field of communications, and in particular, to a calling method and device.

背景技术Background technique

随着网络带宽的快速提升以及硬件设备的发展和普及,视频通话的市场也进入了快速发展阶段。视频通话需要两台联网(3G、互联网)的终端设备(如智能手机、PC、平板电脑等),通过集成软件或第三方软件来实现音、视频实时双向传输。视频通话主要有四种常见形式:PC-to-PC(电脑到电脑),PC-to-Phone(电脑到手机),Phone-to-PC(手机到电脑)和Phone-to-Phone(手机到手机)之间通过互联网(via Internet)的视频通话。PC-to-PC是最早发展起来的,例如,腾讯QQ的视频聊天。Phone-to-Phone via Internet是近几年随着移动互联网的兴起,逐渐成为市场热点的,比如Vsir(千里眼)、Iphone4推出的face time,Google talk,Tango等视频通话软件。With the rapid improvement of network bandwidth and the development and popularization of hardware devices, the video call market has also entered a stage of rapid development. Video calls require two networked (3G, Internet) terminal devices (such as smart phones, PCs, tablet computers, etc.), and real-time two-way transmission of audio and video through integrated software or third-party software. There are four common forms of video calls: PC-to-PC (computer to computer), PC-to-Phone (computer to mobile phone), Phone-to-PC (mobile phone to computer) and Phone-to-Phone (mobile phone to mobile phone). Mobile phone) through the Internet (via Internet) video calls. PC-to-PC was developed first, for example, Tencent QQ video chat. Phone-to-Phone via Internet has gradually become a hot spot in the market with the rise of mobile Internet in recent years, such as Vsir (clairvoyance), face time launched by Iphone4, Google talk, Tango and other video call software.

而随着科技的发展,数字化越来越深入生活,电视也在近年走向智能化;目前推出的智能电视拥有传统电视所不具备的应用平台优势。智能电视实现了网络搜索、IP电视、视频点播、数字音乐等各种应用服务。但是,目前智能电视无法实现与智能终端(如手机等)之间的视频或者语音通话功能。With the development of science and technology, digitalization is getting deeper and deeper into life, and TVs are also becoming smart in recent years; the smart TVs currently launched have application platform advantages that traditional TVs do not have. Smart TV realizes various application services such as network search, IP TV, video on demand, and digital music. However, at present, the smart TV cannot realize the video or voice call function with the smart terminal (such as a mobile phone, etc.).

由此可见,目前智能电视存在无法实现视频或者语音通话的问题。It can be seen that currently there is a problem that smart TVs cannot realize video or voice calls.

发明内容Contents of the invention

本发明实施例提供一种通话方法及装置,用以解决目前智能电视存在的无法实现视频通话或者语音通话的问题。Embodiments of the present invention provide a calling method and device, which are used to solve the problem that video calls or voice calls cannot be realized in current smart TVs.

本发明实施例提供的具体技术方案如下:The specific technical scheme that the embodiment of the present invention provides is as follows:

本发明实施例提供一种通话方法,应用于智能终端与智能电视的视频通话或者语音通话过程中,包括:An embodiment of the present invention provides a call method, which is applied to a video call or a voice call between a smart terminal and a smart TV, including:

所述智能电视接收所述智能终端发送的通话请求;其中,所述智能终端和所述智能电视已经建立绑定关系;所述通话请求为特定应用软件发起的通话请求;The smart TV receives a call request sent by the smart terminal; wherein, the smart terminal and the smart TV have established a binding relationship; the call request is a call request initiated by a specific application software;

所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software.

本发明实施例提供一种通话装置,应用于智能终端与智能电视的视频通话或者语音通话过程中,包括:An embodiment of the present invention provides a communication device, which is applied to a video call or a voice call between a smart terminal and a smart TV, including:

接收单元,用于接收所述智能终端发送的通话请求;其中,所述通话请求为应用特定应用软件发起的通话请求;所述智能终端和所述智能电视已经基于所述特定应用软件对应的服务器提供的通道,建立绑定关系;The receiving unit is configured to receive the call request sent by the smart terminal; wherein, the call request is a call request initiated by application-specific application software; the smart terminal and the smart TV have been based on the server corresponding to the specific application software Provided channels to establish a binding relationship;

通话建立单元,用于通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The call establishment unit is configured to establish a call connection with the smart terminal through a channel provided by the server corresponding to the specific application software.

本发明实施例提供一种通话方法及装置,智能电视通过接收所述智能终端发送的通话请求;其中,所述智能终端和所述智能电视已经建立绑定关系;所述通话请求为特定应用软件发起的通话请求;所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。采用本发明实施例技术方案,将智能电视和智能终端进行绑定,并在所述智能电视和智能终端之间基于所述特定应用软件对应的服务器建立通道;所述智能终端和所述智能电视通过所述通道,建立通话连接,从而实现了智能终端和智能电视之间的视频通话或者语音通话,从而扩展了智能电视的功能;并且,由于智能电视具备显示屏幕大,显示效果好的优点,因此,通过智能电视实现视频通话,能够提高视频通话质量,并有效提高了用户体验。The embodiment of the present invention provides a calling method and device. The smart TV receives the calling request sent by the smart terminal; wherein, the smart terminal and the smart TV have established a binding relationship; the calling request is a specific application software A call request initiated; the smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software. By adopting the technical solution of the embodiment of the present invention, the smart TV and the smart terminal are bound, and a channel is established between the smart TV and the smart terminal based on the server corresponding to the specific application software; the smart terminal and the smart TV Through the channel, a call connection is established, thereby realizing a video call or a voice call between the smart terminal and the smart TV, thereby expanding the functions of the smart TV; and, because the smart TV has a large display screen and good display effect, Therefore, implementing a video call through the smart TV can improve the quality of the video call and effectively improve user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例中通信系统架构示意图;FIG. 1 is a schematic diagram of a communication system architecture in an embodiment of the present invention;

图2为本发明实施例一中智能电视预处理流程图;Fig. 2 is a flow chart of smart TV preprocessing in Embodiment 1 of the present invention;

图3为本发明实施例二中智能电视与智能终端进行通话的流程图;FIG. 3 is a flowchart of a call between a smart TV and a smart terminal in Embodiment 2 of the present invention;

图4为本发明实施例三中智能电视与智能终端进行通话的流程图Fig. 4 is a flowchart of a call between a smart TV and a smart terminal in Embodiment 3 of the present invention

图5为本发明实施例四中通话装置结构示意图。FIG. 5 is a schematic structural diagram of a communication device in Embodiment 4 of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

下面结合说明书附图,对本发明实施例作进一步详细描述。The embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

参阅图1所示,为本发明实施例中通信系统架构示意图,该通信系统包含智能终端以及智能电视,其中,智能终端为具备通信能力的设备,且该智能终端具备用户交互界面,如个人计算机,手机,平板电脑等,所述智能终端中装载的操作系统可以为Windows操作系统,安卓操作系统,或者ios操作系统;智能电视为具备通信能力的设备;所述智能电视和所述智能终端中均具备特定应用软件,所述特定应用软件为具备视频通话或者语音通话功能的应用软件,如qq应用软件,msn应用软件等。Referring to Figure 1, it is a schematic diagram of a communication system architecture in an embodiment of the present invention. The communication system includes a smart terminal and a smart TV, wherein the smart terminal is a device with communication capabilities, and the smart terminal has a user interface, such as a personal computer , mobile phone, tablet computer, etc., the operating system loaded in the smart terminal can be Windows operating system, Android operating system, or ios operating system; the smart TV is a device with communication capabilities; the smart TV and the smart terminal All have specific application software, the specific application software is application software with video call or voice call function, such as qq application software, msn application software and so on.

本发明实施例中,在所述智能终端和所述智能电视进行通话之前,首先需要执行预处理过程,在预处理过程完成后,才能执行所述智能终端和所述智能电视的通话操作。In the embodiment of the present invention, before the intelligent terminal communicates with the intelligent TV, a preprocessing process needs to be performed first, and the intelligent terminal and the intelligent TV can only perform the telephone conversation operation after the preprocessing process is completed.

实施例一Embodiment one

参阅图2所示,本发明实施例中,对所述智能电视和智能终端执行的预处理过程,包括:Referring to Fig. 2, in the embodiment of the present invention, the preprocessing process performed on the smart TV and the smart terminal includes:

步骤200:对所述智能电视进行设备初始化操作。Step 200: Perform a device initialization operation on the smart TV.

本发明实施例中,所述智能电视启动后,对所述智能电视进行设备初始化设置。In the embodiment of the present invention, after the smart TV is started, device initialization settings are performed on the smart TV.

可选的,所述智能电视进行设备初始化操作的过程,包括:获取所述特定应用软件对应的服务器为所述智能终端配置的授权码(licence),其中,所述授权码为所述智能电视以MAC(Media Access Control;媒体介入控制层)地址为参数,向自身对应的服务器发送的请求,并由自身对应的服务器为所述智能电视分配得到,或者所述授权码为所述智能电视以MAC地址为参数,向所述特定应用软件对应的服务器发送的请求,并由所述特定应用软件对应的服务器为所述智能电视分配得到;向所述特定应用软件对应的服务器发送注册请求消息;接收所述特定应用软件对应的服务器根据所述注册请求消息,分配给所述智能电视的设备标识;将所述智能电视的设备标识,所述智能电视的设备信息,以及所述授权码作为参数,调用native方法中的init进行底层初始化操作。Optionally, the process of performing device initialization operations on the smart TV includes: obtaining an authorization code (licence) configured for the smart terminal by a server corresponding to the specific application software, wherein the authorization code is the smart TV With the MAC (Media Access Control; media access control layer) address as a parameter, the request sent to the server corresponding to itself is allocated to the smart TV by the server corresponding to itself, or the authorization code is the smart TV with The MAC address is a parameter, and the request sent to the server corresponding to the specific application software is allocated to the smart TV by the server corresponding to the specific application software; a registration request message is sent to the server corresponding to the specific application software; The server receiving the specific application software assigns the device ID of the smart TV according to the registration request message; using the device ID of the smart TV, the device information of the smart TV, and the authorization code as parameters , call the init in the native method to perform the underlying initialization operation.

采用上述技术方案,通过所述特定应用软件对应的服务器,为智能电视配置相应的设备标识,使智能终端能够根据所述设备标识,以及所述特定应用软件提供的通道,与所述智能电视进行通话;并且,以智能电视的设备标识和设备信息作为参数,对智能电视进行设备初始化,便于后续其他设备对智能电视的识别,也便于智能电视后续的运行。With the above technical solution, through the server corresponding to the specific application software, a corresponding device identification is configured for the smart TV, so that the smart terminal can communicate with the smart TV according to the device identification and the channel provided by the specific application software. call; and, using the device identifier and device information of the smart TV as parameters, the smart TV is initialized to facilitate subsequent identification of the smart TV by other devices and subsequent operation of the smart TV.

步骤210:在所述智能电视设备初始化完毕之后,执行生成二维码的操作。Step 210: After the smart TV device is initialized, perform an operation of generating a two-dimensional code.

本发明实施例中,根据所述智能电视的设备标识,所述智能电视的设备信息,以及所述授权码,生成与所述智能电视建立绑定关系的请求;其中,所述设备信息包含设备型号,MAC地址;所述与智能电视建立绑定关系的请求为http请求。In the embodiment of the present invention, according to the device identification of the smart TV, the device information of the smart TV, and the authorization code, a request for establishing a binding relationship with the smart TV is generated; wherein the device information includes a device model, MAC address; the request to establish a binding relationship with the smart TV is an http request.

可选的,所述智能电视基于所述与智能电视建立绑定关系的请求,生成二维码的过程,包括:将所述与智能电视建立绑定关系的请求封装为二维码的数据内容(StringBuffer);通过二维码生成工具包,生成二维码位矩阵实例(BitMatrix);其中,所述二维码位矩阵实例的参数为所述数据内容;将所述二维码位矩阵实例转换为像素数组(pixes[]),其中,所述像素数组的颜色为黑色或白色;并将所述像素数组转换为二维码实例;调用二维码生成方法,将所述二维码实例作为所述二维码生成方法的参数,生成所述二维码。Optionally, the smart TV generates a two-dimensional code based on the request for establishing a binding relationship with the smart TV, including: encapsulating the request for establishing a binding relationship with the smart TV into the data content of the two-dimensional code (StringBuffer); Generate a two-dimensional code bit matrix instance (BitMatrix) by a two-dimensional code generation toolkit; wherein, the parameter of the two-dimensional code bit matrix instance is the data content; the two-dimensional code bit matrix instance Convert to a pixel array (pixes[]), wherein the color of the pixel array is black or white; and convert the pixel array into a two-dimensional code instance; call the two-dimensional code generation method to convert the two-dimensional code instance As a parameter of the two-dimensional code generation method, the two-dimensional code is generated.

可选的,通过core2.2.jar或者com.google.zxing二维码生成工具包,调用MultiFormatWriter().encode,生成BitMatrix实例。Optionally, use the core2.2.jar or com.google.zxing QR code generation toolkit to call MultiFormatWriter().encode to generate a BitMatrix instance.

可选的,调用bitmap.setPixels方法,将所述pixes[]转换为二维码实例(Bitmap);其中,输入所述bitmap.setPixels方法的参数为所述pixes[]。Optionally, call the bitmap.setPixels method to convert the pixels[] into a two-dimensional code instance (Bitmap); wherein, the parameters input to the bitmap.setPixels method are the pixels[].

可选的,调用Canvas canvas=new Canvas(Bitmap bitmap)函数,生成所述二维码,其中,所述bitmap为所述二维码实例(Bitmap)。Optionally, call the Canvas canvas=new Canvas(Bitmap bitmap) function to generate the two-dimensional code, where the bitmap is the two-dimensional code instance (Bitmap).

进一步的,所述二维码中还包含特定图像,用于对所述二维码功能进行标识;在所述二维码的生成方法,还包括:调用图像调整方法,对所述特定图像进行大小调整;调用二维码图片生成方法,生成位图实例;其中,所述位图实例的参数为所述大小调整后的特定图像的信息;调用二维码图像生成方法,将所述位图实例作为所述二维码图像生成方法的参数,生成包含特定图像的二维码。Further, the two-dimensional code also includes a specific image for identifying the function of the two-dimensional code; in the method for generating the two-dimensional code, it also includes: calling an image adjustment method to perform an adjustment on the specific image Size adjustment; calling the two-dimensional code image generation method to generate a bitmap instance; wherein, the parameter of the bitmap instance is the information of the specific image after the size adjustment; calling the two-dimensional code image generation method to generate the bitmap Example As a parameter of the two-dimensional code image generation method, a two-dimensional code containing a specific image is generated.

可选的,所述图像调整方法为Matrix.setScale方法,调用Matrix.setScale方法,对所述特定图像进行大小调整。Optionally, the image adjustment method is the Matrix.setScale method, and the Matrix.setScale method is called to adjust the size of the specific image.

可选的,所述二维码图片生成方法为Bitmap.createBitmap方法,调用Bitmap.createBitmap方法,生成位图实例。Optionally, the method for generating the two-dimensional code image is the Bitmap.createBitmap method, and the Bitmap.createBitmap method is called to generate a bitmap instance.

可选的,所述二维码图像生成方法为canvas.drawBitmap方法,调用canvas.drawBitmap方法,将所述位图实例作为所述二维码图像生成方法的参数,生成包含特定图像的二维码。Optionally, the two-dimensional code image generation method is the canvas.drawBitmap method, and the canvas.drawBitmap method is called, and the bitmap instance is used as a parameter of the two-dimensional code image generation method to generate a two-dimensional code containing a specific image .

步骤220:通过生成的二维码,使所述智能终端和所述智能电视建立绑定关系。Step 220: Establish a binding relationship between the smart terminal and the smart TV through the generated two-dimensional code.

本发明实施例中,所述智能终端通过扫描智能电视中生成的所述二维码,并对所述二维码进行解析,借助所述特定应用软件对应的服务器,建立与所述智能电视的绑定关系。In the embodiment of the present invention, the smart terminal scans the two-dimensional code generated in the smart TV, analyzes the two-dimensional code, and establishes a connection with the smart TV with the help of the server corresponding to the specific application software. binding relationship.

具体的,所述智能电视在本地呈现具备绑定功能的二维码;其中,所述二维码中至少包含与所述智能电视建立绑定关系的请求,所述二维码可以呈现在所述特定应用软件运行后的主界面,所述智能终端和所述智能电视位于同一个局域网中,且所述局域网不是公共网络;所述智能终端向所述特定应用软件对应的服务器发送所述与所述智能电视建立绑定关系的请求,并由所述特定应用软件对应的服务器根据与所述智能电视建立绑定关系的请求,建立所述智能终端和所述智能电视之间的绑定关系。Specifically, the smart TV locally presents a two-dimensional code with a binding function; wherein, the two-dimensional code at least includes a request for establishing a binding relationship with the smart TV, and the two-dimensional code can be displayed on the The main interface after the specific application software runs, the smart terminal and the smart TV are located in the same local area network, and the local area network is not a public network; the smart terminal sends the server corresponding to the specific application software to the The smart TV requests for establishing a binding relationship, and the server corresponding to the specific application software establishes a binding relationship between the smart terminal and the smart TV according to the request for establishing a binding relationship with the smart TV .

例如,当所述特定应用软件为qq应用软件,智能终端通过运行qq应用软件,并根据用户指令,呈现“我的设备”-“搜索新设备”界面;当智能终端检测到用户触发“搜索新设备”选项时,智能终端即搜索局域网内的设备,并呈现所述智能电视的设备信息,该设备信息可以为智能电视的名称;当智能终端检测到用户选中所述智能电视的设备信息时,智能终端呈现扫描二维码确认界面;若所述用户选择确认选项时,智能终端将呈现扫描界面,并获取所述智能电视上呈现的二维码;所述智能终端解析所述二维码,获取所述二维码中包含的与所述智能电视建立绑定关系的请求,并将所述与智能电视建立绑定关系的请求发送至qq应用软件对应的物联网平台,由所述物联网平台为所述智能电视和所述智能终端提供相应的通道,并建立绑定关系。For example, when the specific application software is the qq application software, the smart terminal runs the qq application software and presents the "My Device"-"Search for New Device" interface according to the user's instruction; when the smart terminal detects that the user triggers the "Search for New "Device" option, the smart terminal searches for devices in the local area network, and presents the device information of the smart TV, which can be the name of the smart TV; when the smart terminal detects that the user selects the device information of the smart TV, The intelligent terminal presents a scanning two-dimensional code confirmation interface; if the user selects the confirmation option, the intelligent terminal will present the scanning interface and obtain the two-dimensional code presented on the intelligent TV; the intelligent terminal analyzes the two-dimensional code, Obtain the request for establishing a binding relationship with the smart TV contained in the two-dimensional code, and send the request for establishing a binding relationship with the smart TV to the Internet of Things platform corresponding to the qq application software, and the Internet of Things The platform provides corresponding channels for the smart TV and the smart terminal, and establishes a binding relationship.

进一步的,所述智能电视和所述智能终端之间建立绑定关系,具体包括:所述智能电视通过特定应用软件(如qq应用软件)底层软件开发工具包(SDK)回调java中onBinderListChange方法,该onBinderListChange方法中的参数TXBBinderInfo[]即为所述绑定关系;由于智能电视可以与多个智能终端进行绑定,因此,智能电视onBinderListChange方法可以根据各个绑定关系,建立绑定列表;所述onBinderListChange方法将所述绑定列表上传至java层;所述智能电视的java层通过解析TXBBinderInfo[]更新界面,由二维码界面进入视频通话或语音通话主界面(MainActivity)。Further, establishing a binding relationship between the smart TV and the smart terminal specifically includes: the smart TV calls back the onBinderListChange method in java through a specific application software (such as qq application software) underlying software development kit (SDK), The parameter TXBBinderInfo[] in the onBinderListChange method is the binding relationship; since the smart TV can be bound with multiple smart terminals, the smart TV onBinderListChange method can establish a binding list according to each binding relationship; The onBinderListChange method uploads the binding list to the java layer; the java layer of the smart TV updates the interface by analyzing TXBBinderInfo[], and enters the video call or voice call main interface (MainActivity) from the two-dimensional code interface.

可选的,所述智能电视可以仅和一个智能终端建立绑定关系,也可以与多个智能终端建立绑定关系。Optionally, the smart TV may establish a binding relationship with only one smart terminal, or may establish a binding relationship with multiple smart terminals.

实施例二Embodiment two

基于所述实施例一的预处理过程,参阅图3所示,本发明实施例中,由所述智能终端发起的通话过程,包括:Based on the preprocessing process of the first embodiment, as shown in FIG. 3, in the embodiment of the present invention, the call process initiated by the smart terminal includes:

步骤300:所述智能电视接收所述智能终端发送的通话请求;其中,所述通话请求为应用特定应用软件发起的通话请求;所述智能终端和所述智能电视已经基于所述特定应用软件对应的服务器提供的通道,建立绑定关系。Step 300: The smart TV receives a call request sent by the smart terminal; wherein, the call request is a call request initiated by an application-specific application software; the smart terminal and the smart TV have corresponded based on the specific application software The channel provided by the server to establish a binding relationship.

步骤310:所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。Step 310: The smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software.

本发明实施例中,所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接,具体包括:获取所述通话请求中包含的所述智能终端的特定标识;其中,所述特定标识为所述特定应用软件对应的服务器分配给所述智能终端的唯一标识(fromUin值);通过SDK,调用通话连接建立方法,所述通话连接建立方法为java层的onRequestVideo;将所述特定标识输入所述通话连接建立方法,通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。In the embodiment of the present invention, the smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software, which specifically includes: obtaining the specific identifier of the smart terminal included in the call request ; Wherein, the specific identification is the unique identification (fromUin value) assigned to the smart terminal by the server corresponding to the specific application software; through the SDK, call the call connection establishment method, and the call connection establishment method is the onRequestVideo of the java layer ; Input the specific identifier into the call connection establishment method, and establish a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software.

进一步的,所述智能电视与所述智能终端建立通话连接的同时,所述智能电视调用显示方法,在智能电视显示所述通话界面;其中,所述显示方法为onRequestVideo方法,所述显示方法包含两种类型,分别为在当前页面弹出通话界面,以及在后台运行所述通话界面,并将所述通话界面最小化为一个图标,并将所述图标放置在指定位置。Further, when the smart TV establishes a call connection with the smart terminal, the smart TV invokes a display method to display the call interface on the smart TV; wherein, the display method is the onRequestVideo method, and the display method includes The two types are popping up the call interface on the current page, and running the call interface in the background, minimizing the call interface into an icon, and placing the icon at a designated position.

可选的,通过设置Dialog的setOnpositiveBtnClickListener方法,在setOnpositiveBtnClickListener方法中,将所述智能终端的唯一标识(fromUin值)写入Internet;当用户在所述智能电视中选中确认接收通话选项时,智能电视将进入视频通话或者语音通话界面(VideoActivity)。Optionally, by setting the setOnpositiveBtnClickListener method of Dialog, in the setOnpositiveBtnClickListener method, the unique identification (fromUin value) of the smart terminal is written into the Internet; when the user selects the option to confirm receiving a call in the smart TV, the smart TV will Enter the video call or voice call interface (VideoActivity).

采用本发明实施例技术方案,将智能电视和智能终端进行绑定,并在所述智能电视和智能终端之间基于所述特定应用软件对应的服务器建立通道;所述智能终端和所述智能电视通过所述通道,建立通话连接,从而实现了智能终端和智能电视之间的视频通话或者语音通话,扩展了智能电视的功能;并且,由于智能电视具备显示屏幕大,显示效果好的优点,因此,通过智能电视实现视频通话,能够提高视频通话质量,并有效提高了用户体验。By adopting the technical solution of the embodiment of the present invention, the smart TV and the smart terminal are bound, and a channel is established between the smart TV and the smart terminal based on the server corresponding to the specific application software; the smart terminal and the smart TV Through the channel, a call connection is established, thereby realizing a video call or a voice call between the smart terminal and the smart TV, and expanding the functions of the smart TV; and, because the smart TV has the advantages of a large display screen and a good display effect, therefore , implementing video calls through the smart TV can improve the quality of video calls and effectively improve user experience.

实施例三Embodiment three

基于所述实施例一的预处理过程,参阅图4所示,本发明实施例中,由所述智能电视发起的通话过程,包括:Based on the preprocessing process of the first embodiment, as shown in FIG. 4, in the embodiment of the present invention, the call process initiated by the smart TV includes:

步骤400:所述智能电视根据输入的通话指令,通过所述特定应用软件对应的服务器,向所述智能终端发送通话请求。Step 400: The smart TV sends a call request to the smart terminal through the server corresponding to the specific application software according to the input call instruction.

本发明实施例中,所述智能电视能够根据用户指令,运行特定应用软件,并呈现所述应用软件的主界面,所述应用软件的主界面中包含通话列表,所述通话列表可以为各个智能终端的标识,如qq号码等;当所述智能电视检测所述用户在所述应用界面的主界面中选中任意一智能终端的标识,并确认与所述任意一智能终端建立通话连接时,所述智能电视通过所述特定应用软件对应的服务器,向所述智能终端发送通话请求;或者,所述智能电视能够根据用户指令,运行特定应用软件,当所述特定应用软件初始化完成后,向与所述智能电视建立绑定关系的只能终端发送通话请求,该种应用场景下,智能电视仅与一个智能终端建立绑定关系。In the embodiment of the present invention, the smart TV can run specific application software according to user instructions, and present the main interface of the application software. The main interface of the application software includes a call list, and the call list can be an The identification of the terminal, such as qq number, etc.; when the smart TV detects that the user selects the identification of any intelligent terminal in the main interface of the application interface, and confirms that a call connection is established with the arbitrary intelligent terminal, the The smart TV sends a call request to the smart terminal through the server corresponding to the specific application software; or, the smart TV can run specific application software according to user instructions, and when the initialization of the specific application software is completed, send a call request to the smart terminal. The smart TV can only establish a binding relationship with the terminal to send a call request. In this application scenario, the smart TV only establishes a binding relationship with one smart terminal.

步骤410:所述智能终端根据所述通话请求,建立与所述智能电视的通话连接。Step 410: The smart terminal establishes a call connection with the smart TV according to the call request.

采用上述技术方案,将智能电视和智能终端进行绑定,并在所述智能电视和智能终端之间基于所述特定应用软件对应的服务器建立通道;所述智能终端和所述智能电视通过所述通道,建立通话连接,从而实现了智能终端和智能电视之间的视频通话或者语音通话,进而扩展了智能电视的功能;并且,用户仅运行特定应用软件即可进行视频通话,无须执行输入用户名和密码的操作,从而简化了视频通话或者语音通话的操作,有效提高了用户体验。Using the above technical solution, the smart TV and the smart terminal are bound, and a channel is established between the smart TV and the smart terminal based on the server corresponding to the specific application software; the smart terminal and the smart TV pass through the channel to establish a call connection, thereby realizing video calls or voice calls between smart terminals and smart TVs, thereby expanding the functions of smart TVs; moreover, users only need to run specific application software to make video calls without having to enter user names and The operation of the password simplifies the operation of the video call or the voice call, and effectively improves the user experience.

实施例四Embodiment Four

基于所述实施例一至实施例三所述的技术方案,参阅图5所示,本发明实施例还提供一种通话装置,包括接收单元50,以及通话建立单元51,其中:Based on the technical solutions described in the first to third embodiments, as shown in FIG. 5 , an embodiment of the present invention also provides a communication device, including a receiving unit 50 and a call establishment unit 51, wherein:

接收单元50,用于接收所述智能终端发送的通话请求;其中,所述通话请求为应用特定应用软件发起的通话请求;所述智能终端和所述智能电视已经基于所述特定应用软件对应的服务器提供的通道,建立绑定关系;The receiving unit 50 is configured to receive a call request sent by the smart terminal; wherein, the call request is a call request initiated by an application specific application software; the smart terminal and the smart TV have already based on the specific application software corresponding The channel provided by the server to establish a binding relationship;

通话建立单元51,用于通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The call establishment unit 51 is configured to establish a call connection with the smart terminal through a channel provided by the server corresponding to the specific application software.

进一步的,所述装置还包括绑定关系建立单元52,用于:在本地呈现具备绑定功能的二维码;其中,所述二维码中至少包含与所述智能电视建立绑定关系的请求;通知所述智能终端向所述特定应用软件对应的服务器发送所述与所述智能电视建立绑定关系的请求,并由所述特定应用软件对应的服务器根据与所述智能电视建立绑定关系的请求,建立所述智能终端和所述智能电视之间的绑定关系。Further, the device further includes a binding relationship establishment unit 52, configured to: locally present a two-dimensional code with a binding function; wherein, the two-dimensional code at least includes a binding relationship established with the smart TV. request; notify the smart terminal to send the request for establishing a binding relationship with the smart TV to the server corresponding to the specific application software, and the server corresponding to the specific application software establishes a binding relationship with the smart TV according to the relationship request, and establish a binding relationship between the smart terminal and the smart TV.

可选的,所述绑定关系建立单元52生成所述二维码的方法,包括:根据所述特定应用软件对应的服务器为所述智能电视配置的设备信息,生成与所述智能电视建立绑定关系的请求;其中,所述与所述智能电视建立绑定关系的请求中包含所述特定应用软件对应的服务器为所述智能电视配置的设备标识,授权码,以及设备信息;将所述与智能电视建立绑定关系的请求封装为二维码的数据内容;通过二维码生成工具包,生成二维码位矩阵实例;其中,所述二维码位矩阵实例的参数为所述数据内容;将所述二维码位矩阵实例转换为像素数组;并将所述像素数组转换为二维码实例;调用二维码生成方法,将所述二维码实例作为所述二维码生成方法的参数,生成所述二维码。Optionally, the method for the binding relationship establishing unit 52 to generate the two-dimensional code includes: according to the device information configured for the smart TV by the server corresponding to the specific application software, generating a method for establishing a binding with the smart TV. A request for establishing a relationship; wherein, the request for establishing a binding relationship with the smart TV includes the device identification, authorization code, and device information configured for the smart TV by the server corresponding to the specific application software; The request to establish a binding relationship with the smart TV is encapsulated as the data content of the two-dimensional code; the two-dimensional code bit matrix instance is generated through the two-dimensional code generation toolkit; wherein, the parameter of the two-dimensional code bit matrix instance is the data Content; convert the two-dimensional code bit matrix instance into a pixel array; and convert the pixel array into a two-dimensional code instance; call the two-dimensional code generation method, and generate the two-dimensional code instance as the two-dimensional code Parameters of the method to generate the QR code.

进一步的,所述二维码中还包含特定图像,用于对所述二维码功能进行标识;所述绑定关系建立单元52在所述二维码的生成方法,还包括:调用图像调整方法,对所述特定图像进行大小调整;调用二维码图片生成方法,生成位图实例;其中,所述位图实例的参数为所述大小调整后的特定图像的信息;调用二维码图像生成方法,将所述位图实例作为所述二维码图像生成方法的参数,生成包含特定图像的二维码。Further, the two-dimensional code also includes a specific image, which is used to identify the function of the two-dimensional code; the method for generating the two-dimensional code by the binding relationship establishment unit 52 also includes: calling image adjustment The method is to adjust the size of the specific image; call the two-dimensional code image generation method to generate a bitmap instance; wherein, the parameter of the bitmap instance is the information of the specific image after the size adjustment; call the two-dimensional code image The generation method uses the bitmap instance as a parameter of the two-dimensional code image generation method to generate a two-dimensional code containing a specific image.

可选的,所述绑定关系建立单元52生成与所述智能电视建立绑定关系的请求的方法,包括:获取所述特定应用软件对应的服务器为所述智能终端配置的授权码;向所述特定应用软件对应的服务器发送注册请求消息;接收所述特定应用软件对应的服务器根据所述注册请求消息,分配给所述智能电视的设备标识;根据所述智能电视的设备标识,所述智能电视的设备信息,以及所述授权码,生成与所述智能电视建立绑定关系的请求;其中,所述设备信息包含设备型号,MAC地址。Optionally, the method for the binding relationship establishing unit 52 to generate a request for establishing a binding relationship with the smart TV includes: obtaining an authorization code configured for the smart terminal by a server corresponding to the specific application software; The server corresponding to the specific application software sends a registration request message; the server corresponding to the specific application software receives the registration request message and assigns the device identifier of the smart TV to the device identifier; according to the device identifier of the smart TV, the smart TV The device information of the TV, and the authorization code, generate a request for establishing a binding relationship with the smart TV; wherein, the device information includes a device model and a MAC address.

可选的,所述通话建立单元51,具体用于:获取所述通话请求中包含的所述智能终端的特定标识;其中,所述特定标识为所述特定应用软件对应的服务器分配给所述智能终端的唯一标识;通过SDK,调用通话连接建立方法;将所述特定标识输入所述通话连接建立方法,通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。Optionally, the call establishment unit 51 is specifically configured to: obtain the specific identifier of the smart terminal included in the call request; wherein, the specific identifier is assigned to the server corresponding to the specific application software. The unique identifier of the intelligent terminal; calling the call connection establishment method through the SDK; inputting the specific identifier into the call connection establishment method, and establishing a call connection with the intelligent terminal through the channel provided by the server corresponding to the specific application software.

进一步的,所述装置还包括处理单元53,用于:根据输入的通话指令,通过所述特定应用软件对应的服务器,向所述智能终端发送通话请求;通知所述智能终端根据所述通话请求,建立与所述智能电视的通话连接。Further, the device further includes a processing unit 53, configured to: send a call request to the smart terminal through the server corresponding to the specific application software according to the input call instruction; notify the smart terminal to call according to the call request to establish a call connection with the smart TV.

综上所述,本发明实施例中,智能电视通过接收所述智能终端发送的通话请求;其中,所述智能终端和所述智能电视已经建立绑定关系;所述通话请求为特定应用软件发起的通话请求;所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。采用本发明实施例技术方案,将智能电视和智能终端进行绑定,并在所述智能电视和智能终端之间基于所述特定应用软件对应的服务器建立通道;所述智能终端和所述智能电视通过所述通道,建立通话连接,从而实现了智能终端和智能电视之间的视频通话或者语音通话,从而扩展了智能电视的功能;并且,由于智能电视具备显示屏幕大,显示效果好的优点,因此,通过智能电视实现视频通话,能够提高视频通话质量,并有效提高了用户体验。To sum up, in the embodiment of the present invention, the smart TV receives the call request sent by the smart terminal; wherein, the smart terminal and the smart TV have established a binding relationship; the call request is initiated by a specific application software call request; the smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software. By adopting the technical solution of the embodiment of the present invention, the smart TV and the smart terminal are bound, and a channel is established between the smart TV and the smart terminal based on the server corresponding to the specific application software; the smart terminal and the smart TV Through the channel, a call connection is established, thereby realizing a video call or a voice call between the smart terminal and the smart TV, thereby expanding the functions of the smart TV; and, because the smart TV has a large display screen and good display effect, Therefore, implementing a video call through the smart TV can improve the quality of the video call and effectively improve user experience.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, not to limit them; although the embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand : It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical aspects of the embodiments of the present invention. The spirit and scope of the programme.

Claims (14)

Translated fromChinese
1.一种通话方法,应用于智能终端与智能电视的视频通话或者语音通话过程中,其特征在于,包括:1. A calling method, applied to a video call or a voice call between an intelligent terminal and an intelligent TV, characterized in that it comprises:所述智能电视接收所述智能终端发送的通话请求;其中,所述通话请求为应用特定应用软件发起的通话请求;所述智能终端和所述智能电视已经基于所述特定应用软件对应的服务器提供的通道,建立绑定关系;The smart TV receives the call request sent by the smart terminal; wherein, the call request is a call request initiated by an application-specific application software; channel to establish a binding relationship;所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software.2.根据权利要求1所述的方法,其特征在于,所述智能终端和所述智能电视建立绑定关系的方法,包括:2. The method according to claim 1, wherein the method for establishing a binding relationship between the smart terminal and the smart TV comprises:所述智能电视在本地呈现具备绑定功能的二维码;其中,所述二维码中至少包含与所述智能电视建立绑定关系的请求;The smart TV locally presents a two-dimensional code with a binding function; wherein, the two-dimensional code at least includes a request to establish a binding relationship with the smart TV;通知所述智能终端向所述特定应用软件对应的服务器发送所述与所述智能电视建立绑定关系的请求,并由所述特定应用软件对应的服务器根据与所述智能电视建立绑定关系的请求,建立所述智能终端和所述智能电视之间的绑定关系。Notifying the smart terminal to send the request for establishing a binding relationship with the smart TV to the server corresponding to the specific application software, and the server corresponding to the specific application software request to establish a binding relationship between the smart terminal and the smart TV.3.根据权利要求2所述的方法,其特征在于,所述二维码的生成方法,包括:3. The method according to claim 2, wherein the method for generating the two-dimensional code comprises:根据所述特定应用软件对应的服务器为所述智能电视配置的设备信息,生成与所述智能电视建立绑定关系的请求;其中,所述与所述智能电视建立绑定关系的请求中包含所述特定应用软件对应的服务器为所述智能电视配置的设备标识,授权码,以及设备信息;According to the device information configured for the smart TV by the server corresponding to the specific application software, a request for establishing a binding relationship with the smart TV is generated; wherein, the request for establishing a binding relationship with the smart TV includes the The server corresponding to the specific application software configures the device identification, authorization code, and device information for the smart TV;将所述与智能电视建立绑定关系的请求封装为二维码的数据内容;Encapsulating the request for establishing a binding relationship with the smart TV as data content of a two-dimensional code;通过二维码生成工具包,生成二维码位矩阵实例;其中,所述二维码位矩阵实例的参数为所述数据内容;Generate a two-dimensional code bit matrix instance through a two-dimensional code generation toolkit; wherein, the parameter of the two-dimensional code bit matrix instance is the data content;将所述二维码位矩阵实例转换为像素数组;并converting said two-dimensional bit matrix instance into an array of pixels; and将所述像素数组转换为二维码实例;converting said array of pixels into a QR code instance;调用二维码生成方法,将所述二维码实例作为所述二维码生成方法的参数,生成所述二维码。Call the two-dimensional code generation method, and use the two-dimensional code instance as a parameter of the two-dimensional code generation method to generate the two-dimensional code.4.根据权利要求3所述的方法,其特征在于,所述二维码中还包含特定图像,用于对所述二维码功能进行标识;4. The method according to claim 3, wherein the two-dimensional code further includes a specific image for identifying the function of the two-dimensional code;在所述二维码的生成方法,还包括:The method for generating the two-dimensional code also includes:调用图像调整方法,对所述特定图像进行大小调整;calling an image resize method to resize said specific image;调用二维码图片生成方法,生成位图实例;其中,所述位图实例的参数为所述大小调整后的特定图像的信息;Call the two-dimensional code image generation method to generate a bitmap instance; wherein, the parameter of the bitmap instance is the information of the specific image after the size adjustment;调用二维码图像生成方法,将所述位图实例作为所述二维码图像生成方法的参数,生成包含特定图像的二维码。Call the two-dimensional code image generation method, use the bitmap instance as a parameter of the two-dimensional code image generation method, and generate a two-dimensional code containing a specific image.5.根据权利要求3或4所述的方法,其特征在于,所述与所述智能电视建立绑定关系的请求的生成方法,包括:5. The method according to claim 3 or 4, wherein the method for generating a request for establishing a binding relationship with the smart TV includes:获取所述特定应用软件对应的服务器为所述智能终端配置的授权码;Obtain the authorization code configured for the smart terminal by the server corresponding to the specific application software;向所述特定应用软件对应的服务器发送注册请求消息;sending a registration request message to a server corresponding to the specific application software;接收所述特定应用软件对应的服务器根据所述注册请求消息,分配给所述智能电视的设备标识;receiving the device identifier assigned to the smart TV by the server corresponding to the specific application software according to the registration request message;根据所述智能电视的设备标识,所述智能电视的设备信息,以及所述授权码,生成与所述智能电视建立绑定关系的请求;其中,所述设备信息包含设备型号,设备媒体介入控制层MAC地址。According to the device identification of the smart TV, the device information of the smart TV, and the authorization code, a request for establishing a binding relationship with the smart TV is generated; wherein, the device information includes the device model, device media intervention control layer MAC address.6.根据权利要求5所述的方法,其特征在于,所述智能电视通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接,具体包括:6. The method according to claim 5, wherein the smart TV establishes a call connection with the smart terminal through the channel provided by the server corresponding to the specific application software, specifically comprising:获取所述通话请求中包含的所述智能终端的特定标识;其中,所述特定标识为所述特定应用软件对应的服务器分配给所述智能终端的唯一标识;Obtaining the specific identification of the smart terminal contained in the call request; wherein, the specific identification is a unique identification assigned to the smart terminal by the server corresponding to the specific application software;通过软件开发工具包SDK,调用通话连接建立方法;Through the software development kit SDK, call the call connection establishment method;将所述特定标识输入所述通话连接建立方法,通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The specific identifier is input into the method for establishing a call connection, and a call connection is established with the smart terminal through a channel provided by a server corresponding to the specific application software.7.根据权利要求5所述的方法,其特征在于,所述方法还包括:7. The method according to claim 5, wherein the method further comprises:所述智能电视根据输入的通话指令,通过所述特定应用软件对应的服务器,向所述智能终端发送通话请求;The smart TV sends a call request to the smart terminal through the server corresponding to the specific application software according to the input call instruction;通知所述智能终端根据所述通话请求,建立与所述智能电视的通话连接。Informing the smart terminal to establish a call connection with the smart TV according to the call request.8.一种通话装置,应用于智能终端与智能电视的视频通话或者语音通话过程中,其特征在于,包括:8. A communication device, which is applied to a video call or a voice call between a smart terminal and a smart TV, characterized in that it includes:接收单元,用于接收所述智能终端发送的通话请求;其中,所述通话请求为应用特定应用软件发起的通话请求;所述智能终端和所述智能电视已经基于所述特定应用软件对应的服务器提供的通道,建立绑定关系;The receiving unit is configured to receive the call request sent by the smart terminal; wherein, the call request is a call request initiated by application-specific application software; the smart terminal and the smart TV have been based on the server corresponding to the specific application software Provided channels to establish a binding relationship;通话建立单元,用于通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The call establishment unit is configured to establish a call connection with the smart terminal through a channel provided by the server corresponding to the specific application software.9.根据权利要求8所述的装置,其特征在于,还包括绑定关系建立单元,用于:9. The device according to claim 8, further comprising a binding relationship establishing unit, configured to:在本地呈现具备绑定功能的二维码;其中,所述二维码中至少包含与所述智能电视建立绑定关系的请求;A two-dimensional code with a binding function is presented locally; wherein, the two-dimensional code at least includes a request for establishing a binding relationship with the smart TV;通知所述智能终端向所述特定应用软件对应的服务器发送所述与所述智能电视建立绑定关系的请求,并由所述特定应用软件对应的服务器根据与所述智能电视建立绑定关系的请求,建立所述智能终端和所述智能电视之间的绑定关系。Notifying the smart terminal to send the request for establishing a binding relationship with the smart TV to the server corresponding to the specific application software, and the server corresponding to the specific application software request to establish a binding relationship between the smart terminal and the smart TV.10.根据权利要求9所述的装置,其特征在于,所述绑定关系建立单元生成所述二维码的方法,包括:10. The device according to claim 9, wherein the method for generating the two-dimensional code by the binding relationship establishing unit comprises:根据所述特定应用软件对应的服务器为所述智能电视配置的设备信息,生成与所述智能电视建立绑定关系的请求;其中,所述与所述智能电视建立绑定关系的请求中包含所述特定应用软件对应的服务器为所述智能电视配置的设备标识,授权码,以及设备信息;According to the device information configured for the smart TV by the server corresponding to the specific application software, a request for establishing a binding relationship with the smart TV is generated; wherein, the request for establishing a binding relationship with the smart TV includes the The server corresponding to the specific application software configures the device identification, authorization code, and device information for the smart TV;将所述与智能电视建立绑定关系的请求封装为二维码的数据内容;Encapsulating the request for establishing a binding relationship with the smart TV as data content of a two-dimensional code;通过二维码生成工具包,生成二维码位矩阵实例;其中,所述二维码位矩阵实例的参数为所述数据内容;Generate a two-dimensional code bit matrix instance through a two-dimensional code generation toolkit; wherein, the parameter of the two-dimensional code bit matrix instance is the data content;将所述二维码位矩阵实例转换为像素数组;并converting said two-dimensional bit matrix instance into an array of pixels; and将所述像素数组转换为二维码实例;converting said array of pixels into a QR code instance;调用二维码生成方法,将所述二维码实例作为所述二维码生成方法的参数,生成所述二维码。Call the two-dimensional code generation method, and use the two-dimensional code instance as a parameter of the two-dimensional code generation method to generate the two-dimensional code.11.根据权利要求10所述的装置,其特征在于,所述二维码中还包含特定图像,用于对所述二维码功能进行标识;11. The device according to claim 10, wherein the two-dimensional code further includes a specific image for identifying the function of the two-dimensional code;所述绑定关系建立单元在所述二维码的生成方法,还包括:The method for generating the two-dimensional code by the binding relationship establishment unit further includes:调用图像调整方法,对所述特定图像进行大小调整;calling an image resize method to resize said specific image;调用二维码图片生成方法,生成位图实例;其中,所述位图实例的参数为所述大小调整后的特定图像的信息;Call the two-dimensional code image generation method to generate a bitmap instance; wherein, the parameter of the bitmap instance is the information of the specific image after the size adjustment;调用二维码图像生成方法,将所述位图实例作为所述二维码图像生成方法的参数,生成包含特定图像的二维码。Call the two-dimensional code image generation method, use the bitmap instance as a parameter of the two-dimensional code image generation method, and generate a two-dimensional code containing a specific image.12.根据权利要求10或11所述的装置,其特征在于,所述绑定关系建立单元生成与所述智能电视建立绑定关系的请求的方法,包括:12. The device according to claim 10 or 11, wherein the method for the binding relationship establishment unit to generate a request for establishing a binding relationship with the smart TV comprises:获取所述特定应用软件对应的服务器为所述智能终端配置的授权码;Obtain the authorization code configured for the smart terminal by the server corresponding to the specific application software;向所述特定应用软件对应的服务器发送注册请求消息;sending a registration request message to a server corresponding to the specific application software;接收所述特定应用软件对应的服务器根据所述注册请求消息,分配给所述智能电视的设备标识;receiving the device identifier assigned to the smart TV by the server corresponding to the specific application software according to the registration request message;根据所述智能电视的设备标识,所述智能电视的设备信息,以及所述授权码,生成与所述智能电视建立绑定关系的请求;其中,所述设备信息包含设备型号,设备媒体介入控制层MAC地址。According to the device identification of the smart TV, the device information of the smart TV, and the authorization code, a request for establishing a binding relationship with the smart TV is generated; wherein, the device information includes the device model, device media intervention control layer MAC address.13.根据权利要求12所述的装置,其特征在于,所述通话建立单元,具体用于:13. The device according to claim 12, wherein the call establishment unit is specifically used for:获取所述通话请求中包含的所述智能终端的特定标识;其中,所述特定标识为所述特定应用软件对应的服务器分配给所述智能终端的唯一标识;Obtaining the specific identification of the smart terminal contained in the call request; wherein, the specific identification is a unique identification assigned to the smart terminal by the server corresponding to the specific application software;通过软件开发工具包SDK,调用通话连接建立方法;Through the software development kit SDK, call the call connection establishment method;将所述特定标识输入所述通话连接建立方法,通过所述特定应用软件对应的服务器提供的通道,与所述智能终端建立通话连接。The specific identifier is input into the method for establishing a call connection, and a call connection is established with the smart terminal through a channel provided by a server corresponding to the specific application software.14.根据权利要求12所述的装置,其特征在于,所述装置还包括处理单元,用于:14. The device according to claim 12, further comprising a processing unit configured to:根据输入的通话指令,通过所述特定应用软件对应的服务器,向所述智能终端发送通话请求;Sending a call request to the smart terminal through the server corresponding to the specific application software according to the input call instruction;通知所述智能终端根据所述通话请求,建立与所述智能电视的通话连接。Informing the smart terminal to establish a call connection with the smart TV according to the call request.
CN201510884310.9A2015-12-042015-12-04Communication method and devicePendingCN105897679A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510884310.9ACN105897679A (en)2015-12-042015-12-04Communication method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510884310.9ACN105897679A (en)2015-12-042015-12-04Communication method and device

Publications (1)

Publication NumberPublication Date
CN105897679Atrue CN105897679A (en)2016-08-24

Family

ID=57001931

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510884310.9APendingCN105897679A (en)2015-12-042015-12-04Communication method and device

Country Status (1)

CountryLink
CN (1)CN105897679A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106791566A (en)*2016-12-212017-05-31无锡纽微特科技有限公司A kind of auto-associating system and implementation method
CN108810894A (en)*2018-05-312018-11-13康键信息技术(深圳)有限公司Authorization terminal method, apparatus, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102611871A (en)*2012-01-132012-07-25深圳市同洲电子股份有限公司Method, system and mobile terminal for video communication and digital television receiving terminal
CN103024590A (en)*2012-12-112013-04-03四川长虹电器股份有限公司Method and system for video call between smart terminal and smart TV (television)
CN104618801A (en)*2013-11-052015-05-13中国电信股份有限公司Method and system for unified operation of application by utilizing mobile phone and set-top box as well as set-top box
CN104754279A (en)*2013-12-302015-07-01阿里巴巴集团控股有限公司Method and system for realizing video call

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102611871A (en)*2012-01-132012-07-25深圳市同洲电子股份有限公司Method, system and mobile terminal for video communication and digital television receiving terminal
CN103024590A (en)*2012-12-112013-04-03四川长虹电器股份有限公司Method and system for video call between smart terminal and smart TV (television)
CN104618801A (en)*2013-11-052015-05-13中国电信股份有限公司Method and system for unified operation of application by utilizing mobile phone and set-top box as well as set-top box
CN104754279A (en)*2013-12-302015-07-01阿里巴巴集团控股有限公司Method and system for realizing video call

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106791566A (en)*2016-12-212017-05-31无锡纽微特科技有限公司A kind of auto-associating system and implementation method
CN108810894A (en)*2018-05-312018-11-13康键信息技术(深圳)有限公司Authorization terminal method, apparatus, computer equipment and storage medium
CN108810894B (en)*2018-05-312023-08-25康键信息技术(深圳)有限公司Terminal authorization method, device, computer equipment and storage medium

Similar Documents

PublicationPublication DateTitle
US9602553B2 (en)Method, apparatus, and system for implementing VOIP call in cloud computing environment
US20170034149A1 (en)Intelligent Communications Method, Terminal, and System
CN105898181A (en)Video conversation system and method and related equipment
US8719434B2 (en)Agnostic peripheral control for media communication appliances
US9001980B2 (en)Data communication
EP3059945A1 (en)Method and system for video surveillance content adaptation, and central server and device
WO2017101298A1 (en)Input method and apparatus for audio and video information, network television, and user equipment
CN107786415B (en)Service processing method and related equipment and system
CN105187360A (en)Document conference sharing method and device
CN103379096A (en)Internet and operator network service sharing method, service side and webpage gateway
EP2883367B1 (en)Video call service
EP2974159B1 (en)Method, device and system for voice communication
CN106921613A (en)The method and system of signalling
CN103401936B (en)Processing method and device for interface sharing
US20220329635A1 (en)Method and apparatus for media session management for service enabler architecture layer (seal) architecture
CN113905455B (en) Bearer establishment method and device
CN105897679A (en)Communication method and device
CN116132577A (en)Method and device for enhancing user information display in call process
CN105991570A (en)VoLTE (Voice over Long Term Evolution) service processing method, device and system
CN103986827A (en)Method for controlling called display picture in mobile terminal
CN103188393A (en)Remote auxiliary home communication terminal and system
WO2024012590A1 (en)Audio and video calling method and apparatus
EP3554035A1 (en)Method and device for communications based on integrating device, and storage medium
CN108696547A (en)Document transmission method, apparatus and system
CN105827502A (en)Unified communication method and device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication
WD01Invention patent application deemed withdrawn after publication

Application publication date:20160824


[8]ページ先頭

©2009-2025 Movatter.jp