CN115914730A - A display device and a dual-link network connection method - Google Patents
A display device and a dual-link network connection method Download PDFInfo
- Publication number
- CN115914730A CN115914730A CN202111161185.0A CN202111161185A CN115914730A CN 115914730 A CN115914730 A CN 115914730A CN 202111161185 A CN202111161185 A CN 202111161185A CN 115914730 A CN115914730 A CN 115914730A
- Authority
- CN
- China
- Prior art keywords
- network
- network card
- data
- data set
- link
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域technical field
本申请涉及显示设备技术领域,具体而言,涉及一种显示设备、及双链路网络连接方法。The present application relates to the technical field of display devices, and in particular, to a display device and a dual-link network connection method.
背景技术Background technique
网络电视是基于宽带高速IP网,以网络资源为主体将电视、个人电脑及手持设备作为显示终端,通过接入宽带网络实现数字电视、时移电视、互动电视等服务。智能网络电视的出现带来了一种全新的电视观看、使用场景,例如在组网电视之间可实现共享屏幕显示内容、共享摄像头录制内容、视频通话、或彼此间投屏应用。Internet TV is based on broadband high-speed IP network, with network resources as the main body, TV, personal computer and handheld devices as display terminals, and realizing digital TV, time-shift TV, interactive TV and other services through accessing broadband network. The emergence of smart network TVs has brought a new TV viewing and usage scenario, such as sharing screen display content, sharing camera recording content, video calls, or mutual screen mirroring applications between networked TVs.
在一些显示设备之间网络数据传输的实现中,由于大多数安卓智能设备只允许同一时刻通过一种网络接入方式传输数据的路由策略,通常需要将传输数据的多台智能设备都接入同一有线、或无线局域网,然后用户需操作应用程序将当前显示设备所显示的内容数据传送至另一台已组网显示设备,以完成设备间的数据传输、实现如设备间投屏、设备间摄像头融合显示等服务。In the implementation of network data transmission between some display devices, since most Android smart devices only allow a routing strategy for data transmission through one network access method at the same time, it is usually necessary to connect multiple smart devices that transmit data to the same Wired or wireless local area network, and then the user needs to operate the application program to transfer the content data displayed by the current display device to another networked display device to complete the data transmission between devices, such as screen projection between devices, camera between devices Fusion display and other services.
然而,在显示设备间传输的数据量较为庞大时,可能会出现由于设备所在局域网带宽有限、或电视网卡本身的支持带宽能力低、或局域网所使用网线其允许最大传输带宽不足,从而限制显示设备之间的数据传输速度,造成投屏、摄像头融合显示等应用在用户界面显示时有卡顿、或花屏的情形。However, when the amount of data transmitted between display devices is relatively large, it may occur that the bandwidth of the local area network where the device is located is limited, or the TV network card itself has low bandwidth support, or the maximum transmission bandwidth of the network cable used in the LAN is insufficient, thus limiting the display device. The speed of data transmission between the screens, resulting in applications such as screen projection, camera fusion display, etc., are stuck or blurred when displayed on the user interface.
发明内容Contents of the invention
为了解决电视间进行数据传输时由于局域网带宽有限、或网卡支持带宽能力低、或网线允许最大传输带宽不足,造成电视应用显示卡顿、花屏的问题,本申请提供了一种显示设备、及双链路网络连接方法。In order to solve the problem that the display of TV applications is stuck and blurred due to the limited bandwidth of the local area network, the low bandwidth capability of the network card, or the insufficient maximum transmission bandwidth of the network cable during data transmission between TVs, this application provides a display device, and a dual Link network connection method.
本申请的实施例是这样实现的:The embodiment of the application is realized like this:
本申请实施例的第一方面提供一种显示设备,包括:显示器,用于显示第一应用内容的用户界面;网卡,包括通过第一网络链路连接至对端设备的第一网卡、通过第二网络链路连接至对端设备的第二网卡;控制器,被配置为:在接收到将第一应用内容显示于对端设备的第一信令时,控制经虚拟网卡传送的所述显示设备设备生成的第一应用内容数据拆分为第一数据集合、与第二数据集合,所述第一数据集合经第一网卡发送至对端设备的第三网卡,所述第二数据集合经第二网卡发送至对端设备的第四网卡,所述第一数据集合、第二数据集合用于使对端设备在其用户界面显示与所述显示设备显示内容相同的所述第一应用内容。The first aspect of the embodiments of the present application provides a display device, including: a display, a user interface for displaying the first application content; a network card, including a first network card connected to a peer device through a first network link, and a first network card connected to a peer device through a first network link. The second network link is connected to the second network card of the peer device; the controller is configured to: when receiving the first signaling for displaying the first application content on the peer device, control the display transmitted through the virtual network card The first application content data generated by the device is split into a first data set and a second data set, the first data set is sent to the third network card of the peer device through the first network card, and the second data set is sent to the third network card of the peer device through the The second network card sends to the fourth network card of the peer device, and the first data set and the second data set are used to make the peer device display the same first application content on its user interface as that displayed by the display device .
本申请实施例的第二方面提供一种设备间双链路网络提速方法,所述方法包括:在接收到将第一应用内容显示于对端设备的第一信令时,控制经虚拟网卡传送的所述第一应用内容数据拆分为第一数据集合、与第二数据集合,所述第一数据集合经第一网卡发送至对端设备的第三网卡,所述第二数据集合经第二网卡发送至对端设备的第四网卡,所述第一数据集合、第二数据集合用于使对端设备在其用户界面显示内容相同的所述第一应用内容;其中,第一网卡通过第一网络链路连接至对端设备、第二网卡通过第二网络链路连接至对端设备。The second aspect of the embodiment of the present application provides a method for increasing the speed of a dual-link network between devices. The method includes: when receiving the first signaling to display the first application content on the peer device, control the transmission of the first application content via the virtual network card. The first application content data is split into a first data set and a second data set, the first data set is sent to the third network card of the peer device through the first network card, and the second data set is sent to the third network card of the peer device through the second data set The second network card sends to the fourth network card of the peer device, and the first data set and the second data set are used to make the peer device display the first application content with the same content on its user interface; wherein, the first network card passes The first network link is connected to the peer device, and the second network card is connected to the peer device through the second network link.
本申请实施例的有益效果在于,通过构建第一网卡、及第二网卡,可满足设备间的多链路组网需要;进一步通过构建第一数据集合、第二数据集合,可实现数据的聚合传输;进一步通过构建虚拟网卡,可实现特定应用与多网卡之间的数据收发,实现设备间通过多网络链路同时传送数据、提升网络传输带宽、突破网络传输瓶颈、实现面向局域网的多网络链路聚合提速。The beneficial effect of the embodiment of the present application is that by constructing the first network card and the second network card, the needs of multi-link networking between devices can be met; further, by constructing the first data set and the second data set, data aggregation can be realized Transmission; further by building a virtual network card, data can be sent and received between specific applications and multiple network cards, and data can be transmitted between devices through multiple network links at the same time, improving network transmission bandwidth, breaking through network transmission bottlenecks, and realizing multi-network chains for LANs Speed up road aggregation.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application 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 application. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为根据本申请一个或多个实施例的显示设备与控制装置之间操作场景的示意图;FIG. 1 is a schematic diagram of an operation scene between a display device and a control device according to one or more embodiments of the present application;
图2为根据本申请一个或多个实施例的显示设备200的硬件配置框图;FIG. 2 is a block diagram of a hardware configuration of a
图3为根据本申请一个或多个实施例的控制设备100的硬件配置框图;FIG. 3 is a block diagram of a hardware configuration of a
图4为根据本申请一个或多个实施例的显示设备200中软件配置示意图;FIG. 4 is a schematic diagram of software configuration in the
图5为根据本申请一个或多个实施例的显示设备200中应用程序的图标控件界面显示示意图;FIG. 5 is a schematic diagram of displaying an icon control interface of an application program in the
图6A示出了本申请一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6A shows a schematic view of the structure and user interface of smart TV data transmission according to an embodiment of the present application;
图6B示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6B shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图6C示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6C shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图6D示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6D shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图6E示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6E shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图6F示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6F shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图6G示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6G shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图6H示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图;FIG. 6H shows a schematic view of the structure and user interface of smart TV data transmission according to another embodiment of the present application;
图7示出了本申请另一实施例数据报文格式的示意图;FIG. 7 shows a schematic diagram of a data message format according to another embodiment of the present application;
图8示出了本申请另一实施例显示设备数据发送的逻辑示意图;Fig. 8 shows another embodiment of the present application showing a logical schematic diagram of device data transmission;
图9示出了本申请另一实施例显示设备数据接收的逻辑示意图;Fig. 9 shows another embodiment of the present application, a schematic diagram showing device data reception;
图10示出了本申请另一实施例设备间双链路网络提速的控制示意图。FIG. 10 shows a schematic diagram of controlling the acceleration of a dual-link network between devices according to another embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、实施方式和优点更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行清楚、完整地描述,显然,所描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the purpose, implementation and advantages of the application clearer, the following will clearly and completely describe the exemplary embodiments of the application in conjunction with the accompanying drawings in the exemplary embodiments of the application. Obviously, the described exemplary embodiments It is only a part of the embodiments of the present application, but not all the embodiments.
基于本申请描述的示例性实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请所附权利要求保护的范围。此外,虽然本申请中公开内容按照示范性一个或几个实例来介绍,但应理解,可以就这些公开内容的各个方面也可以单独构成一个完整实施方式。需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。Based on the exemplary embodiments described in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the appended claims of this application. In addition, although the disclosures in this application are introduced as exemplary one or several examples, it should be understood that each aspect of these disclosures can also independently constitute a complete implementation. It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementations described below, and is not intended to limit the implementations of this application. These terms are to be understood according to their ordinary and usual meaning unless otherwise stated.
图1为根据本申请一个或多个实施例的显示设备与控制装置之间操作场景的示意图,如图1所示,用户可通过移动终端300和控制装置100操作显示设备200。控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信、蓝牙协议通信,无线或其他有线方式来控制显示设备200。用户可以通过遥控器上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。在一些实施例中,也可以使用移动终端、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。FIG. 1 is a schematic diagram of an operation scene between a display device and a control device according to one or more embodiments of the present application. As shown in FIG. 1 , a user can operate a
在一些实施例中,移动终端300可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。也可以将移动终端300上显示音视频内容传输到显示设备200上,实现同步显示功能显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。显示设备200,可以液晶显示器、OLED显示器、投影显示设备。显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能。In some embodiments, the mobile terminal 300 can install software applications with the
图2示例性示出了根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。Fig. 2 exemplarily shows a configuration block diagram of the
图3示出了根据示例性实施例中显示设备200的硬件配置框图。如图3所示显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口280中的至少一种。控制器包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。显示器260可为液晶显示器、OLED显示器、触控显示器以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。检测器230用于采集外部环境或与外部交互的信号。控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。FIG. 3 shows a block diagram of a hardware configuration of a
所述通信器220可以包括多个通信模块,所述通信模块可以包括WIFI模块、蓝牙模块、有线以太网模块等其中的一类或多类,其中,所述WIFI模块、蓝牙模块、有线以太网模块均可以为一个或多个。例如,所述通信器220可以至少包括两个有线以太网模块和一个WIFI模块。不同通信模块可以用于连接同一网络,也可用于分别连接不同网络。各个通信模块可以独立完成数据传输,也可以协同完成数据传输。例如,可以同时使用多个通信模块独立进行数据传输,也可以在不同的应用场景下分别使用不同的通信模块进行数据传输,或者也可以使用一个通信模块进行部分的数据传输,而使用另一个通信模块或外部装置接口进行另一部分的数据传输。各个网络模块的数据传输方式可以由控制器250控制。The
在一些实施例中,可以有多个通信模块(例如两个有线以太网模块,两个WIFI模块,或一个有线以太网模块与一个WIFI模块等)同时连接家庭网络,用于实现广域网访问。其中,多个通信模块可以分别独立配置有不同的IP地址,各自可以分别独立完成数据传输,也可以各自传输部分数据,从而协同完成数据传输。In some embodiments, multiple communication modules (such as two wired Ethernet modules, two WIFI modules, or one wired Ethernet module and one WIFI module, etc.) can be connected to the home network at the same time for wide area network access. Wherein, the plurality of communication modules can be independently configured with different IP addresses, and each can complete data transmission independently, or transmit part of data separately, so as to complete data transmission cooperatively.
在另一些实施例中,还可以有至少一个通信模块(例如有线以太网模块或一个WIFI模块)连接社区网络,用于呼叫电梯或者可视门铃对讲;或者,还可以有一个通信模块(例如蓝牙模块)或外部装置接口(例如USB或HDMI)用于连接其他智能设备(例如智能家电或智能传感器等),实现智能设备间的数据传输或控制。其中,智能设备间的数据传输可以同时使用通信模块和外部装置接口实现,对此本申请不做限定。In some other embodiments, there may also be at least one communication module (such as a wired Ethernet module or a WIFI module) connected to the community network for calling an elevator or a video doorbell intercom; or, there may also be a communication module (such as Bluetooth module) or external device interfaces (such as USB or HDMI) are used to connect other smart devices (such as smart home appliances or smart sensors, etc.) to realize data transmission or control between smart devices. Wherein, the data transmission between smart devices can be realized by using the communication module and the external device interface at the same time, which is not limited in this application.
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素中的至少一种。In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the conversion between the internal form of information and the form acceptable to the user. The commonly used form of user interface is the graphical user interface (Graphic User Interface, GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. At least one of the view's interface elements.
图4为根据本申请一个或多个实施例的显示设备200中软件配置示意图,如图4所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。FIG. 4 is a schematic diagram of the software configuration in the
图5为根据本申请一个或多个实施例的显示设备200中应用程序的图标控件界面显示示意图,如图5中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。直播电视应用程序,可以通过不同的信号源提供直播电视。视频点播应用程序,可以提供来自不同存储源的视频。不同于直播电视应用程序,视频点播提供来自某些存储源的视频显示。媒体中心应用程序,可以提供各种多媒体内容播放的应用程序。应用程序中心,可以提供储存各种应用程序。FIG. 5 is a schematic diagram showing an icon control interface of an application in the
本申请实施例可以应用于各种类型的显示设备(包括但不限于:智能电视、液晶电视、平板电脑、移动终端等设备)。下文将以智能电视为例,对显示设备、及基于安卓系统获取不同网卡地址的控制方法进行阐述。The embodiments of the present application can be applied to various types of display devices (including but not limited to: smart TVs, LCD TVs, tablet computers, mobile terminals, and other devices). The following will take a smart TV as an example to illustrate the display device and the control method for obtaining different network card addresses based on the Android system.
图6A示出了本申请一实施例智能电视数据传输的架构及用户界面示意图。FIG. 6A shows a schematic diagram of a structure and a user interface for data transmission of a smart TV according to an embodiment of the present application.
在一些实施例中,智能电视可包含多个网线接口,每个网线接口对应于智能电视所配置的对应以太网卡,以使得智能电视可接入不同的有线网络链路。In some embodiments, the smart TV may include multiple network cable interfaces, and each network cable interface corresponds to a corresponding Ethernet card configured on the smart TV, so that the smart TV can access different wired network links.
例如,电视可设置2个网线接口,第一网线接口与第二网线接口可设置于电视本地的底部;当然,附图6A所示的智能电视示意图并不限制上述网线接口设置于智能电视的具体位置,所述第一网线接口、第二网线接口还可以同时设置于电视壳体的同侧、上部、或背部;For example, the TV can be equipped with two network cable interfaces, and the first network cable interface and the second network cable interface can be set at the bottom of the local TV; of course, the smart TV schematic diagram shown in Figure 6A does not limit the above-mentioned network cable interface. position, the first network cable interface and the second network cable interface can also be set on the same side, upper part, or back of the TV casing at the same time;
需要说明的是,在所述第一、或第二网线接口插入可用有线网络时,则意味着第一网线接口对应的第一网卡接入网络、或者第二网线接口对应的第二网卡接入有线网络,为了便于理解,将附图6A中与网卡对应的网线接口标注为网卡以便于描述,在下文中不再赘述。It should be noted that when the first or second network cable interface is plugged into an available wired network, it means that the first network card corresponding to the first network cable interface is connected to the network, or the second network card corresponding to the second network cable interface is connected to the network. For the wired network, for ease of understanding, the network cable interface corresponding to the network card in FIG. 6A is marked as a network card for ease of description, and will not be described in detail below.
智能电视显示器可显示用户界面,所述用户界面可显示智能电视的直播频道、或运行显示已安装应用内容,例如其桌面应用程序可包括摄像头融合显示应用、投屏应用、天气预报、以及多个不同视频应用等。需要说明的是,当用户启动特定桌面应用、且上述第一网卡、第二网卡均插入可用有线网络时,智能电视的控制器可控制特定应用程序同时使用上述2个有线网络传送所述特定应用程序的通信数据,以突破常规使用单网络传输数据时的带宽、速度限制。The smart TV display can display a user interface, and the user interface can display the live channel of the smart TV, or run and display the installed application content. Different video applications, etc. It should be noted that when the user starts a specific desktop application, and both the above-mentioned first network card and the second network card are plugged into the available wired network, the controller of the smart TV can control the specific application program while using the above-mentioned two wired networks to transmit the specific application The communication data of the program, in order to break through the bandwidth and speed limit when using a single network to transmit data.
例如,当智能电视用户界面运行摄像头融合显示应用时,控制器可控制所述应用通过第一网卡对应的第一网络链路、以及第二网卡对应的第二网络链路同时进行数据发送、与接收。For example, when the smart TV user interface runs the camera fusion display application, the controller can control the application to simultaneously transmit data through the first network link corresponding to the first network card and the second network link corresponding to the second network card, and take over.
可以理解,假设摄像头融合显示应用在单独使用第一网卡对应的第一网络链路进行传输数据时,由于第一网络链路的带宽较低,则对端设备在接收当前智能电视发送的数据、并显示于其用户界面时其播放画面将卡顿、或者有花屏的现象,这是由于网络传输速度不能满足播放所造成的;It can be understood that, assuming that the camera fusion display application uses only the first network link corresponding to the first network card to transmit data, since the bandwidth of the first network link is low, the peer device receives the data sent by the current smart TV, And when it is displayed on its user interface, its playback screen will be stuck or there will be a phenomenon of blurred screen, which is caused by the network transmission speed cannot meet the playback;
而本申请提供的显示设备在实现上述数据传输显示时,则通过两个电视各自的2块网卡,分别接入2个带宽相同的有线网络链路,将当前显示设备的数据同时经过上述2个网络链路进行传输,则其传输带宽也会变为单行网络时的2倍,相应对端设备在单位时间所接收数据量也将变为单行网络时的2倍,则一定程度上会满足对端设备播放画面的数据量需求,避免卡顿、花屏的发生。However, when the display device provided by this application realizes the above-mentioned data transmission and display, the two network cards of the two TVs are respectively connected to two wired network links with the same bandwidth, and the data of the current display device passes through the above two network links at the same time. If the network link is used for transmission, its transmission bandwidth will also become twice that of a single-line network, and the amount of data received by the corresponding peer device per unit time will also become twice that of a single-line network, which will satisfy the requirements to a certain extent. The data volume requirements of the playback screen of the terminal device can be adjusted to avoid the occurrence of freezes and blurred screens.
需要说明的是,智能电视还可配置用于接入网络的无线网卡,当智能电视所处的无线网络环境可用时,控制器还可以控制上述桌面应用程序中的特定应用程序同时通过有线网络和无线网络进行通信;智能电视还可配置用于中转数据的虚拟网卡,所述虚拟网卡可接收来自应用程序的数据并将其转发至电视不同网卡进行网络传输、或者接收多个电视网卡传送数据并将其反馈至特定应用程序。It should be noted that the smart TV can also be configured with a wireless network card for accessing the network. When the wireless network environment where the smart TV is located is available, the controller can also control specific applications in the above-mentioned desktop applications through the wired network and the wireless network at the same time. Wireless network for communication; Smart TV can also be configured with a virtual network card for transferring data, the virtual network card can receive data from the application and forward it to different network cards of the TV for network transmission, or receive data transmitted by multiple TV network cards and Feed it back to a specific application.
需要说明的是,本申请所述的不同网络链路,可包含不同的局域网、或专线网、业务网;在一些实施例中,本申请所述的网络链路还可包括物理接入线路,如房间内连接至同一个网关、处于不同位置的网口或网络接口。It should be noted that the different network links described in this application may include different local area networks, private line networks, and service networks; in some embodiments, the network links described in this application may also include physical access lines, For example, the room is connected to the same gateway, network ports or network interfaces in different locations.
可以理解,本申请提供的智能电视可以实现接入场景为同时接入两路有线网路链路,或同时接入一路有线网络链路和一路无线网络链路,同时进行网络通信。It can be understood that the smart TV provided by this application can realize the access scenario of simultaneously accessing two wired network links, or simultaneously accessing one wired network link and one wireless network link, and performing network communication at the same time.
图6B示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图。FIG. 6B shows a schematic diagram of the structure and user interface of smart TV data transmission according to another embodiment of the present application.
在一些实施例中,本申请提供的智能电视彼此之间可进行组网,以实现本申请所提供的设备间双链路网络提速效果。In some embodiments, the smart TVs provided in this application can be networked with each other, so as to realize the speed-up effect of the dual-link network between devices provided in this application.
例如,家庭中有2台待数据传输应用的智能电视,每台智能电视可配置2块有线网卡;为了便于描述,将数据发送端设备暂称为显示设备,将数据接收端设备暂称为对端设备。For example, if there are 2 smart TVs in the family to be used for data transmission, each smart TV can be configured with 2 wired network cards; end device.
在一些实施例中,显示设备配置有第一网卡、及第二网卡,对端设备配置有第三网卡、及第四网卡,环境中可用网络包括类型为有线的第一网络链路、及第二网络链路;In some embodiments, the display device is configured with a first network card and a second network card, and the peer device is configured with a third network card and a fourth network card, and the available network in the environment includes the first network link and the second network link that are wired. Two network links;
首先,控制显示设备将显示设备通过第一网卡接入第一网络链路、通过第二网卡接入第二网络链路;然后控制对端设备通过第三网卡接入第一网络链路、通过第四网卡接入第二网络链路;则最终显示设备和对端设备之间可建立2个可通信网络链路,显示设备可通过第一网卡对应的第一网络链路发送数据至第三网卡所在的对端设备、还可以同时通过第二网卡对应的第二网络链路发送数据至第四网卡所在的对端设备,可建立设备间的双链路数据传输。Firstly, control the display device to connect the display device to the first network link through the first network card, and connect to the second network link through the second network card; then control the peer device to connect to the first network link through the third network card, The fourth network card is connected to the second network link; finally, two communicable network links can be established between the display device and the peer device, and the display device can send data to the third network link through the first network link corresponding to the first network card. The peer device where the network card is located can also simultaneously send data to the peer device where the fourth network card is located through the second network link corresponding to the second network card, and dual-link data transmission between devices can be established.
在一些实施例中,显示设备控制器在接收到将用户界面运行应用内容显示于对端设备的信令时,控制器将启动数据传送机制。In some embodiments, when the display device controller receives a signaling to display the running application content of the user interface on the peer device, the controller will start the data transmission mechanism.
例如,在显示设备运行摄像头融合显示应用时,其用户界面显示、播放当前显示设备摄像头所采集的视频内容;在用户没有开启投屏至对端设备的启动按钮时,对端设备不显示当前显示设备的摄像头采集视频画面,所述摄像头采集画面仅在当前显示设备进行显示、播放,其用户界面、以及设备间组网架构如图6B所示。For example, when the display device runs the camera fusion display application, its user interface displays and plays the video content captured by the camera of the current display device; The camera of the device collects video images, and the images collected by the camera are only displayed and played on the current display device. The user interface and network architecture between devices are shown in Figure 6B.
在一些实施例中,基于图6B所述的用户界面,如果用户启动投屏按钮启动,智能电视控制器将收到将用户界面运行应用内容显示于对端设备的信令,控制器将启动投屏机制、即数据传送机制,在投屏完成后,对端设备用户界面如图6C所示。In some embodiments, based on the user interface described in FIG. 6B, if the user activates the screen projection button, the smart TV controller will receive a signaling to display the content of the application running on the user interface on the peer device, and the controller will start the projection. The screen mechanism, that is, the data transmission mechanism, after the screen projection is completed, the user interface of the peer device is shown in Figure 6C.
首先,控制器将来自于摄像头融合显示应用的待传送数据发送至已建立的虚拟网卡,所述待传送数据也可称为第一应用内容数据,所述用户界面显示的摄像头融合显示应用内容也可称为第一应用内容;First, the controller sends the data to be transmitted from the camera fusion display application to the established virtual network card, the data to be transmitted may also be called the first application content data, and the camera fusion display application content displayed on the user interface is also may be referred to as the first application content;
然后,在显示设备生产的摄像头融合显示应用待传送数据通过虚拟网卡后,控制器控制器上述数据进行拆分,例如拆分为第一数据集合、与第二数据集合;可以理解,待传送数据需要经过2个不同的网络链路传送至对端设备,将其进行拆分后,可以分别从不同的网络链路同时进行传送,其中,具体数据拆分方法本申请不做具体的限制。Then, after the data to be transmitted by the camera fusion display application produced by the display device passes through the virtual network card, the controller controller splits the above data, for example, into the first data set and the second data set; it can be understood that the data to be transmitted It needs to be transmitted to the peer device through two different network links. After splitting, it can be transmitted simultaneously from different network links respectively. The specific data splitting method is not specifically limited in this application.
然后,智能电视控制器控制拆分后的第一数据集合经第一网卡进行数据发送,将所述第一数据集合通过第一网络链路发送至对端设备对应的第三网卡,将所述第二数据集合通过第二网络链路发送至对端设备对应的第四网卡,其逻辑示意如图8所示;Then, the smart TV controller controls the split first data set to send data through the first network card, sends the first data set to the third network card corresponding to the peer device through the first network link, and sends the The second data set is sent to the fourth network card corresponding to the peer device through the second network link, and its logical diagram is shown in Figure 8;
最终,传送至对端设备的所述第一数据集合、第二数据集合在对端设备控制器的控制下,再次进行数据整合,完成显示、播放于对端设备的用户界面,实现了显示设备将摄像头融合显示应用内容通过双网络链路投屏显示于对端设备用户界面,并且可以实现对端设备显示的内容与当前显示设备显示内容相同,均为摄像头融合显示应用内容,其用户界面及设备间组网架构如图6C所示。Finally, under the control of the controller of the peer device, the first data set and the second data set transmitted to the peer device are integrated again to complete the display and play on the user interface of the peer device, realizing the display device The camera fusion display application content is displayed on the peer device user interface through dual network links, and the content displayed on the peer device is the same as the current display device display content. Both are camera fusion display application content, and its user interface and The networking architecture between devices is shown in FIG. 6C .
在一些实施例中,智能电视控制器将第一应用内容数据拆分为第一数据集合、与第二数据集合,具体可通过以下方案实现。In some embodiments, the smart TV controller splits the first application content data into the first data set and the second data set, which can be specifically implemented through the following solutions.
首先,智能电视控制器获取经虚拟网卡传送的第一应用内容数据对应的第一应用内容数据包,所述第一应用内容数据包由显示设备的发送端应用发送、途径网络协议栈传送至虚拟网卡。Firstly, the smart TV controller obtains the first application content data packet corresponding to the first application content data transmitted through the virtual network card. The first application content data packet is sent by the sending end application of the display device and transmitted to the virtual network card.
然后,控制器将上述获取的第一应用内容数据包拆分为包含奇数数据的第一数据集合、与包含偶数数据包的第二数据集合;Then, the controller splits the obtained first application content data packet into a first data set containing odd data and a second data set containing even data packets;
以网络ping命令抓取数据包为例,数据报文格式基于ICMP(网络控制报文协议),其格式字段包括源地址、目标地址、顺序号、数据等内容;由于安卓内核为linux,所以其顺序号为大端格式,如图7所示的数据报文格式示意图;Take the network ping command to capture data packets as an example. The data packet format is based on ICMP (Internet Control Message Protocol), and its format fields include source address, destination address, sequence number, data, etc.; since the Android kernel is linux, its The sequence number is in big-endian format, as shown in the schematic diagram of the data message format in Figure 7;
智能电视控制器还可创建数据处理服务,所述服务可通过read(读取方式)获取上述虚拟网卡传送的数据包,然后读取其顺序号,例如读取内容为0X0001,0X0002,0x0003等,按照奇数、以及偶数分成两组数据包,最终控制器提取第一应用内容数据包中报文顺序号为奇数的数据包生成第一数据集合,同时提取第一应用内容数据包中报文顺序号为偶数的数据包生成第二数据集合,如图8所示。The smart TV controller can also create a data processing service, and the service can obtain the data packet transmitted by the above-mentioned virtual network card through read (reading mode), and then read its sequence number, for example, the read content is 0X0001, 0X0002, 0x0003, etc., Divide into two groups of data packets according to odd numbers and even numbers, and finally the controller extracts the data packets whose message sequence number is odd in the first application content data packet to generate the first data set, and simultaneously extracts the message sequence number in the first application content data packet A second data set is generated for even-numbered data packets, as shown in FIG. 8 .
在一些实施例中,智能电视控制器为了进行数据拆分或数据整合,还在电视系统中创建了用于和虚拟网卡进行数据交互的数据处理服务。In some embodiments, in order to perform data splitting or data integration, the smart TV controller also creates a data processing service for data interaction with the virtual network card in the TV system.
例如,显示设备在发送数据时,其需要传送至对端设备的数据包经过网络协议栈到达虚拟网卡,上述创建的服务数据服务将读取虚拟网卡节点的网络数据,然后根据报文格式包含的顺序号将数据包拆分为奇数包和偶数包,再通过系统的socket(接口)传送至显示设备配置的第一网卡以及第二网卡送往网卡,如将奇数包发送至第一网卡、将偶数包发送至第二网卡进行传输。For example, when the display device sends data, the data packets it needs to transmit to the peer device go through the network protocol stack and reach the virtual network card. The service data service created above will read the network data of the virtual network card node, and then The sequence number splits the data packets into odd packets and even packets, and then transmits them to the first network card of the display device configuration through the system socket (interface), and the second network card to the network card, such as sending odd packets to the first network card, sending The even-numbered packets are sent to the second network card for transmission.
可以理解,在智能电视发送数据时其数据处理服务将经网络协议栈、虚拟网卡传送的第一应用内容数据拆分为第一数据集合、第二数据集合;同理,在智能电视接收数据时其数据处理服务将第一网卡、第二网卡接收数据分别去除报文头后写入虚拟网卡,以便于对应的特定应用接收数据进行显示、播放。It can be understood that when the smart TV sends data, its data processing service splits the first application content data transmitted through the network protocol stack and the virtual network card into the first data set and the second data set; similarly, when the smart TV receives data Its data processing service writes the data received by the first network card and the second network card into the virtual network card after removing the packet header, so that the data received by the corresponding specific application can be displayed and played.
图6D示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图。FIG. 6D shows a schematic diagram of the structure and user interface of smart TV data transmission according to another embodiment of the present application.
在一些实施例中,需传输数据的智能电视之间还可被配置为同时通过有线网络链路和无线网络链路进行数据传输。In some embodiments, the smart TVs that need to transmit data can also be configured to perform data transmission through wired network links and wireless network links at the same time.
例如,显示设备配置有第一网卡,其第二网卡可实施为无线网卡;对端设备配置有第三网卡、其第四网卡可实施为无线网卡;环境中可用网络包括类型为有线的第一有线网络链路,及可用的第二网络链路可实施为对应的第二无线网络链路。For example, the display device is configured with a first network card, and its second network card can be implemented as a wireless network card; the peer device is configured with a third network card, and its fourth network card can be implemented as a wireless network card; available networks in the environment include wired first A wired network link, and an available second network link, may be implemented as a corresponding second wireless network link.
首先,控制显示设备通过第一网卡接入第一有线网络链路、通过其无线网卡接入第二无线网络链路;然后控制对端设备通过第三网卡接入第一有线网络链路、通过其无线网卡接入对应的第二无线网络链路;则最终显示设备和对端设备之间可建立2个可通信网络链路,显示设备可通过第一网卡对应的第一有线网络链路发送数据至第三网卡所在的对端设备、还可以同时通过显示设备无线网卡对应的第二无线网络链路发送数据至对端设备的无线网卡,可建立设备间的双链路数据传输。First, control the display device to access the first wired network link through the first network card, and access the second wireless network link through its wireless network card; then control the peer device to access the first wired network link through the third network card, and Its wireless network card is connected to the corresponding second wireless network link; then finally, two communicable network links can be established between the display device and the peer device, and the display device can send data through the first wired network link corresponding to the first network card. The data is sent to the peer device where the third network card is located, and the data can also be sent to the wireless network card of the peer device through the second wireless network link corresponding to the wireless network card of the display device at the same time, so that dual-link data transmission between devices can be established.
可以理解,在一些实施例中,对于配置有2块有线网卡、1块无线网卡的智能电视,通常可以选择2块有线网卡进行组网配置,还可以选择有线网卡和无线网卡的组合进行组网配置建立双链路。It can be understood that, in some embodiments, for a smart TV configured with two wired network cards and one wireless network card, usually two wired network cards can be selected for networking configuration, and a combination of wired network cards and wireless network cards can also be selected for networking Configure to establish dual links.
图6E示出了本申请另一实施例智能电视数据传输的架构及用户界面示意图。FIG. 6E shows a schematic diagram of the structure and user interface of smart TV data transmission according to another embodiment of the present application.
在一些实施例中,当前显示设备还可被配置为接收来自对端设备的投屏显示请求,其第一网络链路可实施为有线网络链路、第二网络链路可实施为无线网络链路。In some embodiments, the current display device can also be configured to receive a screen projection display request from the peer device, the first network link of which can be implemented as a wired network link, and the second network link can be implemented as a wireless network link road.
例如,智能电视在接收到对端设备发送的第二信令,所述第二信令用于将对端设备正在显示播放的第一视频应用内容显示于当前显示设备的用户界面。For example, the smart TV receives the second signaling sent by the peer device, and the second signaling is used to display the first video application content being displayed and played by the peer device on the user interface of the current display device.
控制器在收到投屏信令时,将控制对端设备发送至显示设备第一网卡、无线网卡的数据包进行整合;如前文所述,此时可显示设备网卡接收的数据包可实施为上述奇数包、以及偶数包,控制器控制所接收的数据进行整合后发送至已建立的虚拟网卡,然后统一传送至显示设备对应的第一视频应用,以使显示设备用户界面显示对端设备正在播放的第一应用内容。例如,接收的奇数包、及偶数包分别到达第一网卡和第二网卡,然后所创建的数据处理服务监听已读取的网络数据包,并将读到的数据去除第一网卡和第二网卡的IP头,然后写入已创建的虚拟网卡传送至网络协议栈到达目标应用,其逻辑示意如图9所示。When the controller receives the projection signal, it will control the data packets sent by the peer device to the first network card and wireless network card of the display device to integrate; as mentioned above, the data packets received by the network card of the display device can be implemented as The above-mentioned odd-numbered packets and even-numbered packets, the controller controls the received data to be integrated and then sent to the established virtual network card, and then uniformly sent to the first video application corresponding to the display device, so that the user interface of the display device displays that the peer device is The first app content to play. For example, the received odd-numbered packets and even-numbered packets arrive at the first network card and the second network card respectively, and then the created data processing service monitors the read network data packets, and removes the read data from the first network card and the second network card The IP header is written into the created virtual network card and sent to the network protocol stack to reach the target application. The logic diagram is shown in Figure 9.
需要说明的是,在一些实施例中,显示设备在接收、显示投屏内容时,还可以被配置为使用一些通用应用程序进行播放显示,并不限于使用于对端设备相同的应用程序。It should be noted that, in some embodiments, when the display device receives and displays the projected screen content, it can also be configured to use some common applications for playback and display, and is not limited to use the same application program as the peer device.
可以理解,显示设备接收数据时,于其发送数据相类似,对端设备生成应用内容数据同样需要被拆分后分别通过第一网络链路、第二网络链路同时传送至当前显示设备。It can be understood that when the display device receives data, similar to the data sent by it, the application content data generated by the peer device also needs to be split and transmitted to the current display device through the first network link and the second network link respectively.
在一些实施例中,智能电视第一有线网卡、第二网卡还可以实施为用于接入同一局域网的不同链路。In some embodiments, the first wired network card and the second network card of the smart TV may also be implemented as different links for accessing the same local area network.
例如,客厅设置有用于接入同一网络的4个网络端口网口1、网口2、网口3、以及网口4;显示设备的第一网卡连接至网口1、第二网卡连接至网口2;对端设备的第三网卡连接至网口3、第四网卡连接至网口4;则在同一个局域网内,控制器基于第一网卡、第三网卡的IP地址建立第一网络链路,同时基于第二网卡、第四网卡的IP地址建立第二网络链路于,以实现设备间通过多个网络链路同时传输数据,其组网架构如图6F所示。For example, the living room is provided with four network ports for accessing the same network, network port 1, network port 2, network port 3, and network port 4; the first network card of the display device is connected to network port 1, and the second network card is connected to the network port port 2; the third network card of the peer device is connected to network port 3, and the fourth network card is connected to network port 4; then in the same LAN, the controller establishes the first network link based on the IP addresses of the first network card and the third network card At the same time, a second network link is established based on the IP addresses of the second network card and the fourth network card, so as to realize simultaneous data transmission between devices through multiple network links. The network architecture is shown in Figure 6F.
可以理解,在电视网卡带宽支持能力较低、局域网带宽较高时,这样的设备间组网方式可以突破传输带宽的瓶颈限制;并且在第一网络链路所使用的光缆、同轴电缆其质量存在瑕疵影响传输带宽、速度的场景下,这样的设备间组网方式同样可以突破传输带宽、速度的瓶颈限制,对于用户而言将产生不同的网络体验。It can be understood that when the bandwidth support capability of the TV network card is low and the bandwidth of the local area network is high, such a networking method between devices can break through the bottleneck limit of transmission bandwidth; and the quality of the optical cables and coaxial cables used in the first network link In scenarios where flaws affect the transmission bandwidth and speed, such a networking method between devices can also break through the bottleneck limitation of transmission bandwidth and speed, and will produce different network experiences for users.
所以,上述技术方案使得电视可突破当前技术瓶颈,在同一时间可使用多种网络接入,例如可同时接入有线网络、WIFI网络,或者同时接入家庭环境中存在的两个宽带网络,或同从相同网络的不同网络入口接入,以避免因为多个应用同时使用网络,导致网络带宽不足、或者特定网络入口线路质量造成的网络带宽下降问题。Therefore, the above-mentioned technical solution enables the TV to break through the current technical bottleneck, and can use multiple network access at the same time, for example, it can simultaneously access a wired network, a WIFI network, or simultaneously access two broadband networks existing in the home environment, or Access from different network entrances of the same network to avoid insufficient network bandwidth caused by multiple applications using the network at the same time, or network bandwidth degradation caused by the quality of specific network entrance lines.
可以理解,本申请显示设备的多个网卡可连接多个网络,还可以适用于在同一局域网通过多条物理链路传输数据,以避免由于家庭中部分网络线路质量差引起的链路网络带宽下降问题,保障重要应用所使用的网络链路处于优良状态。It can be understood that multiple network cards of the display device in this application can be connected to multiple networks, and can also be used to transmit data through multiple physical links in the same local area network, so as to avoid link network bandwidth degradation caused by poor quality of some network lines in the home problems, and ensure that the network links used by important applications are in good condition.
图10示出了本申请另一实施例设备间双链路网络提速的控制示意图。FIG. 10 shows a schematic diagram of controlling the acceleration of a dual-link network between devices according to another embodiment of the present application.
在一些实施例中,以摄像头融合显示应用为例对本申请的技术方案进行整体的描述,控制器可创建一个虚拟网卡并修改路由策略,控制所有的待传送数据都通过虚拟网卡进行传送、中转;对于所有经过虚拟网卡的数据都经过所创建的数据处理服务进行处理,所述服务将摄像头获取的数据分成奇数包和偶数包,将其中的基数包数据送往有线网卡、将其中的偶数包数据送往无线网卡;In some embodiments, the technical solution of the present application is described as a whole by taking the camera fusion display application as an example, the controller can create a virtual network card and modify the routing strategy, and control all the data to be transmitted to be transmitted and transferred through the virtual network card; All data passing through the virtual network card is processed by the created data processing service. The service divides the data obtained by the camera into odd-numbered packets and even-numbered packets, and sends the base-numbered packets to the wired network card, and the even-numbered packets. to the wireless network card;
其中,有线网卡发送的数据包可被传输至另一个电视的有线网卡,无线网卡传输的数据可以发送到另一个电视的无线网卡;经过局域网传输,上述数据包到达另一个设备之后,另一个设备也需要创建一个数据处理服务,所述数据处理服务将接收的数据包进行提取整合,然后将其传送至虚拟网卡,所述虚拟网卡再将接收的数据通过网络协议栈传送至目标应用以实现屏幕显示、播放。Among them, the data packet sent by the wired network card can be transmitted to the wired network card of another TV, and the data transmitted by the wireless network card can be sent to the wireless network card of another TV; It is also necessary to create a data processing service. The data processing service extracts and integrates the received data packets, and then transmits them to the virtual network card. The virtual network card then transmits the received data to the target application through the network protocol stack to realize the screen Display, play.
下文将就显示设备的多个网卡接入不同网络时,分别为不同网卡获取对应网络中IP地址的技术方案进行一般阐述。In the following, when multiple network cards of a display device are connected to different networks, technical solutions for obtaining IP addresses in corresponding networks for different network cards will be generally described.
在一些事实施例中,在用户开启智能电视时,此时刻智能电视的控制器将接收到用户输入用于启动智能电视的信令,例如使用遥控器发送的开机信令。In some embodiments, when the user turns on the smart TV, the controller of the smart TV will receive a signal input by the user to start the smart TV at this moment, for example, a power-on signal sent by a remote control.
电视启动后,除了安卓框架的常规服务自动启动外,智能电视控制器还在系统中创建了第一服务,所述第一服务可监测电视配置网卡的接入状态,即当网线接口插入可联网的网线、或无线网卡扫描到可接入的无线网络时,第一服务可识别当前可获取网络连接的无线网卡、及网线接口对应的有线网卡。After the TV is started, in addition to the automatic start of the regular services of the Android framework, the smart TV controller also creates the first service in the system. When the network cable or wireless network card scans for an accessible wireless network, the first service can identify the wireless network card that can currently obtain the network connection and the wired network card corresponding to the network cable interface.
其中,智能电视将多个有线网卡中的其中一块有线网卡定义为第一网卡,所述第一网卡对应的第一网线接口插入网线插头时,第一服务即可识别当前的网络状态变化,即时的为第一有线网卡获取、分配网卡地址,所述与网卡地址具体的可实施为IP地址。Wherein, the smart TV defines one of the wired network cards as the first network card, and when the first network cable interface corresponding to the first network card is inserted into the network cable plug, the first service can identify the current network status change, and immediately Obtaining and allocating a network card address for the first wired network card, and the network card address may be specifically implemented as an IP address.
例如,电视的第一网卡对应的第一网线接口通过第一网络链,如社区专用网络,控制器创建的第一服务在识别到第一网卡接入网络时,将为其获取接入专用网络的第一有线网卡IP地址。For example, the first network cable interface corresponding to the first network card of the TV passes through the first network link, such as a community private network. When the first service created by the controller recognizes that the first network card is connected to the network, it will obtain access to the private network. IP address of the first wired NIC.
在一些实施例中,在第一网卡接入第一网络链路时,控制器将控制第一服务启动所述第一网卡、并控制动态主机配置协议服务端将动态主机配置协议客户端获取的第一网卡地址写入所述第一网卡及内核,以使第一应用可通过所述第一网卡接入的第一网络链路访问广域网。In some embodiments, when the first network card is connected to the first network link, the controller will control the first service to start the first network card, and control the dynamic host configuration protocol server to obtain the dynamic host configuration protocol client. The address of the first network card is written into the first network card and the kernel, so that the first application can access the wide area network through the first network link accessed by the first network card.
例如,在智能功电视使用双有线网络链路时,控制器将在电视启动后创建为第一网卡获取IP地址的第一服务;For example, when the smart TV uses dual wired network links, the controller will create the first service to obtain the IP address for the first network card after the TV is started;
控制器首先控制第一服务查询第一网卡的网络节点是否存在,如果存在则说明网络节点已经准备好;控制器将控制第一服务启动第一网卡;再通过动态主机配置协议客户端获取第一网卡的IP地址,然后通过动态主机配置协议服务端收到客户端发送的请求获取IP消息,并将第一网卡IP地址信息写入第一网卡,第一网卡会将其IP地址信息发送至内核,以供安卓框架服务进行调用以接入网络。The controller first controls the first service to query whether the network node of the first network card exists, and if it exists, it means that the network node is ready; the controller will control the first service to start the first network card; The IP address of the network card, and then through the dynamic host configuration protocol server receives the request to obtain the IP message sent by the client, and writes the IP address information of the first network card into the first network card, and the first network card will send its IP address information to the kernel , which is called by the Android framework service to access the network.
在一些实施例中,智能电视的第二网卡接入第二网络链路时,其控制器将获取的第二网卡地址写入第二网卡及内核,具体可实施为将包含基于安卓框架流程获取第二网卡地址的网络代理类写入第二网卡及内核。In some embodiments, when the second network card of the smart TV is connected to the second network link, its controller writes the obtained second network card address into the second network card and the kernel, which can be specifically implemented as including obtaining the address based on the Android framework process. The network proxy class of the address of the second network card is written into the second network card and the kernel.
例如,第二网卡实施为第二有线网卡,在第二有线网卡对应的第二网线接口插入网线时接入设备时,控制器将控制网络守护进程通知以太网追踪类并创建工厂类,然后通过网际互连协议控制服务基于动态主机配置协议获取第二有线网卡的IP地址;For example, the second network card is implemented as a second wired network card. When the second network cable interface corresponding to the second wired network card is inserted into the device to access the device, the controller will control the network daemon process to notify the Ethernet tracking class and create a factory class, and then pass The Internet Protocol control service obtains the IP address of the second wired network card based on the Dynamic Host Configuration Protocol;
在所述IP地址成功获取后,控制器将控制第二有线网卡生成其对应的网络代理类对象并将其注册至网络连接管理服务中,所述网络连接管理服务将第二有线网卡的IP地址写入内核和第二网卡中,以用于安卓框架服务的调用。After the IP address is successfully obtained, the controller will control the second wired network card to generate its corresponding network proxy object and register it in the network connection management service, and the network connection management service will use the IP address of the second wired network card Write it into the kernel and the second network card for invocation of Android framework services.
在一些实施例中,第二网卡实施为第二无线网卡,控制器通过传统常用的安卓框架流程获取第二无线网卡的IP地址,并控制生成的网络代理类对象注册到网络连接管理服务,然后由所述网络连接管理服务将上述网卡的IP地址写入内核和第二无线网卡中。In some embodiments, the second network card is implemented as a second wireless network card, and the controller obtains the IP address of the second wireless network card through a traditional and commonly used Android framework process, and controls the generated network proxy class object to register with the network connection management service, and then The network connection management service writes the IP address of the network card into the kernel and the second wireless network card.
在一些实施例中,第一有线网卡、及第二无线网卡均接入网络时,控制器将依据上述实施例中对应网卡接入网络的方法,使得第一有线网卡、第二无线网卡均获取其对应的IP地址,并接入对应的网络,使电视实现同时接入有线专用网络和普通无线网络。In some embodiments, when both the first wired network card and the second wireless network card are connected to the network, the controller will use the method for the corresponding network card to access the network in the above-mentioned embodiments, so that both the first wired network card and the second wireless network card can obtain Its corresponding IP address, and access to the corresponding network, so that the TV can simultaneously access the wired dedicated network and the ordinary wireless network.
例如,控制器控制第一有线网卡根据上述实施例获取其对应的IP地址,通过控制器创建的第一服务,查询第一网卡网络节点是否存在;如果存在,则说明网络节点第一有线网卡已经准备好;开工至其控制所述第一服务然启动第一有线网卡,再通过动态主机配置协议客户端获取所述有线网卡的IP地址,然后通过动态主机配置协议服务端收到的传送消息获取所述第一有线网卡IP地址,并将所述第一有线网卡IP地址信息写入所述第一有线网卡;For example, the controller controls the first wired network card to obtain its corresponding IP address according to the above-mentioned embodiment, and queries whether the network node of the first network card exists through the first service created by the controller; if it exists, it means that the first wired network card of the network node has Get ready; start work until it controls the first service and then start the first wired network card, then obtain the IP address of the wired network card through the dynamic host configuration protocol client, and then obtain the IP address through the transmission message received by the dynamic host configuration protocol server The IP address of the first wired network card, and write the IP address information of the first wired network card into the first wired network card;
对应需要接入普通无线网络的第二无线网卡,控制器控制所述网卡通过前文实实施例所述安卓框架流程获取IP地址的方法,将获取的第二无线网卡IP地址生成对应的网络代理类对象,并将其注册到网络连接管理服务中,然后所述网络连接管理服务将第二无线网卡地址写入系统内核和所述第二无线网卡中。Corresponding to the second wireless network card that needs to access the ordinary wireless network, the controller controls the network card to obtain the IP address through the Android framework process described in the previous embodiment, and generates the corresponding network proxy class for the obtained second wireless network card IP address. object, and register it in the network connection management service, and then the network connection management service writes the address of the second wireless network card into the system kernel and the second wireless network card.
根据上述技术方案,本申请提供的显示设备可实现其安卓系统同时连接两个有线、或者一个有线一个无线网络,并且都能获取对应的IP地址。According to the above technical solution, the display device provided by this application can realize that its Android system can be connected to two wired networks or one wired and one wireless network at the same time, and can obtain the corresponding IP address.
在一些实施例中,基于本申请提供的双链路网络传输技术方案,本申请提供的显示设备和可实现设备间的视频接力应用。In some embodiments, based on the dual-link network transmission technical solution provided by the present application, the display device provided by the present application can implement video relay applications between devices.
例如,在本地电视A正在播放的本地视频,其播放进度例如为35:25;电视A的控制器通过视频接力应用,可控制本地视频通过上述双链路技术方案将播放数据、及进度高速、低延时的传送至对端智能电视,实现对端智能电视继续从当前播放进度35:25继续播放、或延迟一定时间进行播放,如图6G所示。For example, the playback progress of the local video being played on local TV A is, for example, 35:25; the controller of TV A can control the local video to play data and progress at a high speed through the above-mentioned dual-link technical solution through the video relay application. The low-latency transmission to the peer smart TV enables the peer smart TV to continue playing from the current playback progress of 35:25, or to delay playing for a certain period of time, as shown in FIG. 6G .
可以理解,通过本申请提供的双链路网络传输技术方案,完成组网的智能电视、或智能设备之间可实现视频接力应用。It can be understood that, through the dual-link network transmission technical solution provided by this application, video relay applications can be realized between smart TVs or smart devices that have completed networking.
在一些实施例中,基于本申请提供的双链路网络传输技术方案,本申请提供的显示设备可实现与其他组网设备的能力共享。In some embodiments, based on the dual-link network transmission technical solution provided by this application, the display device provided by this application can share capabilities with other networking devices.
例如,将云台摄像头、PAD摄像头、手机摄像头、或门铃摄像头等设备与智能电视完成本申请所述技术方案的组网后,基于高速、低延时的网络传输,智能电视用户界面可实现实时效果的摄像头画面显示,即可发挥智能电视的大屏显示优势,同时还可使用智能电视包含智能算法对摄像头视频进行计算处理实现其他功能应用,如图6H所示。For example, after completing the networking of PTZ cameras, PAD cameras, mobile phone cameras, or doorbell cameras and other devices with the smart TV in the technical solution described in this application, based on high-speed, low-latency network transmission, the smart TV user interface can realize real-time The effect of the camera screen display can take advantage of the large-screen display of the smart TV, and at the same time, the intelligent algorithm included in the smart TV can be used to calculate and process the camera video to achieve other functional applications, as shown in Figure 6H.
基于上文中显示设备实现设备间双链路网络提速控制方案及相关附图的介绍,本申请还提供了一种双链路网络连接方法,所述方法包括:在接收到将第一应用内容显示于对端设备的第一信令时,控制经虚拟网卡传送的所述第一应用内容数据拆分为第一数据集合、与第二数据集合,所述第一数据集合经第一网卡发送至对端设备的第三网卡,所述第二数据集合经第二网卡发送至对端设备的第四网卡,所述第一数据集合、第二数据集合用于使对端设备在其用户界面显示内容相同的所述第一应用内容;其中,第一网卡通过第一网络链路连接至对端设备、第二网卡通过第二网络链路连接至对端设备。所述方法实现设备间双链路网络提速的具体步骤已在上文提供的显示设备技术方案中进行详细阐述,在此不再赘述。Based on the above introduction of the display device to realize the dual-link network speed-up control scheme between devices and the related drawings, this application also provides a dual-link network connection method, the method includes: displaying the first application content after receiving During the first signaling of the peer device, control the splitting of the first application content data transmitted through the virtual network card into a first data set and a second data set, and the first data set is sent to The third network card of the peer device, the second data set is sent to the fourth network card of the peer device through the second network card, and the first data set and the second data set are used to make the peer device display on its user interface The first application content with the same content; wherein, the first network card is connected to the peer device through the first network link, and the second network card is connected to the peer device through the second network link. The specific steps of the method to realize the speed-up of the dual-link network between devices have been described in detail in the technical solution of the display device provided above, and will not be repeated here.
在一些实施例中,所述方法还包括:在接收到对端设备发送的用于显示对端设备所生成第一应用内容的第二信令时,控制来自于第一网卡、第二网卡接收的数据整合后经虚拟网卡传送至本地的第一应用,以使用户界面显示与对端设备显示内容相同的第一应用内容;其中,对端设备所生成的第一应用内容数据被拆分后分别通过第一网络链路、第二网络链路同时传送至所述显示设备。所述方法实现设备间双链路网络提速的具体步骤已在上文提供的显示设备技术方案中进行详细阐述,在此不再赘述。In some embodiments, the method further includes: when receiving the second signaling sent by the peer device for displaying the first application content generated by the peer device, controlling the receiving from the first network card and the second network card After the data is integrated, it is transmitted to the local first application through the virtual network card, so that the user interface displays the same first application content as that displayed by the peer device; wherein, the first application content data generated by the peer device is split and simultaneously transmit to the display device through the first network link and the second network link respectively. The specific steps of the method to realize the speed-up of the dual-link network between devices have been described in detail in the technical solution of the display device provided above, and will not be repeated here.
在一些实施例中,控制第一应用内容数据拆分为第一数据集合、与第二数据集合,具体实施为:获取经虚拟网卡传送的第一应用内容数据对应的第一应用内容数据包;提取所述第一应用内容数据包中报文顺序号为奇数的数据包生成第一数据集合;提取所述第一应用内容数据包中报文顺序号为偶数的数据包生成第二数据集合。所述方法实现设备间双链路网络提速的具体步骤已在上文提供的显示设备技术方案中进行详细阐述,在此不再赘述。In some embodiments, controlling the splitting of the first application content data into the first data set and the second data set is specifically implemented as: obtaining the first application content data packet corresponding to the first application content data transmitted through the virtual network card; Extracting data packets with an odd message sequence number in the first application content data packet to generate a first data set; extracting data packets with an even message sequence number in the first application content data packet to generate a second data set. The specific steps of the method to realize the speed-up of the dual-link network between devices have been described in detail in the technical solution of the display device provided above, and will not be repeated here.
在一些实施例中,所述方法还包括:在系统中创建用于和虚拟网卡进行数据交互的数据处理服务;在发送数据时,所述数据处理服务将经网络协议栈、虚拟网卡传送的第一应用内容数据拆分为第一数据集合、第二数据集合;在接收数据时,所述数据处理服务将第一网卡、第二网卡接收数据分别去除报文头后写入虚拟网卡。所述方法实现设备间双链路网络提速的具体步骤已在上文提供的显示设备技术方案中进行详细阐述,在此不再赘述。In some embodiments, the method further includes: creating a data processing service in the system for data interaction with the virtual network card; when sending data, the data processing service will transmit the first An application content data is split into a first data set and a second data set; when receiving data, the data processing service writes the data received by the first network card and the second network card into the virtual network card after removing the packet header respectively. The specific steps of the method for realizing the speed-up of the dual-link network between devices have been described in detail in the technical solution of the display device provided above, and will not be repeated here.
在一些实施例中,所述第一网络链路可实施为有线网络链路、所述第二网络链路可实施为无线网络链路。所述方法实现设备间双链路网络提速的具体步骤已在上文提供的显示设备技术方案中进行详细阐述,在此不再赘述。In some embodiments, the first network link may be implemented as a wired network link, and the second network link may be implemented as a wireless network link. The specific steps of the method to realize the speed-up of the dual-link network between devices have been described in detail in the technical solution of the display device provided above, and will not be repeated here.
本申请实施例的有益效果在于,通过构建第一网卡、及第二网卡,可满足设备间的多链路组网需要;进一步通过构建第一数据集合、第二数据集合,可实现数据的聚合传输;进一步通过构建虚拟网卡,可实现特定应用与多网卡之间的数据收发,实现设备间通过多网络链路同时传送数据、提升网络传输带宽、突破网络传输瓶颈、实现面向局域网的多网络链路聚合提速。The beneficial effect of the embodiment of the present application is that by constructing the first network card and the second network card, the needs of multi-link networking between devices can be met; further, by constructing the first data set and the second data set, data aggregation can be realized Transmission; further by building a virtual network card, data can be sent and received between specific applications and multiple network cards, and data can be transmitted between devices through multiple network links at the same time, improving network transmission bandwidth, breaking through network transmission bottlenecks, and realizing multi-network chains for LANs Speed up road aggregation.
以下段落将就本申请提供的显示设备在同时连接不同网络时,如何获取各自网络中IP地址的技术方案进行简要的介绍。以智能电视为例,对基于安卓系统获取不同网卡地址的控制方法进行阐述,其中智能电视所包含的部分零件、端口、板卡的指代名称在以下段落中可单独理解,其具体指代名称可与上文中涉及的类似零件、端口、板卡的指代名称不同,本申请对其不做具体的限制。The following paragraphs will briefly introduce the technical solution of how to obtain the IP address in each network when the display device provided by this application is connected to different networks at the same time. Taking smart TV as an example, the control method for obtaining different network card addresses based on the Android system is described. The reference names of some parts, ports, and boards included in the smart TV can be understood separately in the following paragraphs. The specific reference names It may be different from the designations of similar parts, ports, and boards mentioned above, and this application does not specifically limit them.
在一些实施例中,智能电视可包含多个网线接口,每个网线接口对应于智能电视所配置的对应以太网卡,以使得智能电视可接入不同的有线网络链路。In some embodiments, the smart TV may include multiple network cable interfaces, and each network cable interface corresponds to a corresponding Ethernet card configured on the smart TV, so that the smart TV can access different wired network links.
例如,电视在设置有2个网线接口时,第一网线接口与第二网线接口可设置于电视本地的底部;当然,智能电视示意图并不限制上述网线接口设置于智能电视的具体位置,所述第一网线接口、第二网线接口还可以同时设置于电视壳体的同侧、上部、或背部。For example, when the TV is provided with two network cable interfaces, the first network cable interface and the second network cable interface can be set at the bottom of the local TV; The first network cable interface and the second network cable interface can also be arranged on the same side, upper part, or back of the TV casing at the same time.
智能电视显示器可显示用户界面,其用户界面中的桌面应用程序可包括可视对讲门铃、社区可视门诊、以及视频应用等。需要说明的是,当用户启动不同的桌面应用,且上述第一网线接口、第二网线接口均插入可接入网络的网线时,智能电视的控制器可控制特定应用程序使用特定网线接口对应的网卡进行网络通信。The smart TV display can display a user interface, and desktop applications in the user interface can include video intercom doorbell, community video clinic, and video applications. It should be noted that when the user starts a different desktop application, and the above-mentioned first network cable interface and the second network cable interface are both plugged into a network cable that can be connected to the network, the controller of the smart TV can control the specific application program to use the specific network cable interface. Network card for network communication.
例如,当智能电视用户界面运行可视对讲门铃时,控制器可控制可视对讲门铃应用通过第一网线接口对应的第一网卡获取网络数据;控制器还可以控制第一视频应用通过第二网线接口对应的第二网卡获取网络数据。For example, when the smart TV user interface runs a video intercom doorbell, the controller can control the video intercom doorbell application to obtain network data through the first network card corresponding to the first network cable interface; The second network card corresponding to the second network cable interface acquires network data.
需要说明的是,智能电视还可以配置无线网卡,当智能电视所处的无线网络环境可用时,控制器还可以控制上述桌面应用程序中的特定应用程序通过无线网络进行通信,例如图6A中所示的第一、第二、及第三视频应用等。可以理解,对于本申请提供的显示设备,其控制器可控制第一网卡对应的第一网络链路和第二网卡对应的第二网络链路同时接入智能电视,以使得智能电视用户界面可同时显示不同应用界面,并且不同的应用可同时接入、使用不同的网络链路。It should be noted that the smart TV can also be configured with a wireless network card. When the wireless network environment where the smart TV is located is available, the controller can also control specific applications in the above-mentioned desktop applications to communicate through the wireless network, such as the one shown in FIG. 6A The first, second, and third video applications shown. It can be understood that for the display device provided in this application, its controller can control the first network link corresponding to the first network card and the second network link corresponding to the second network card to simultaneously access the smart TV, so that the user interface of the smart TV can be Different application interfaces are displayed at the same time, and different applications can access and use different network links at the same time.
需要说明的是,本申请所述的不同网络链路,可包含不同的局域网、或专线网、业务网,或物理接入线路,例如房间内连接至同一个网关、处于不同位置的网口或网络接口。It should be noted that the different network links mentioned in this application may include different local area networks, or dedicated line networks, service networks, or physical access lines, such as connecting to the same gateway in a room, network ports in different locations or Network Interface.
可以理解,本申请提供的智能电视可以实现同时连接两路有线网络链路、一路无线网络链路的能力;但在实际应用中,智能电视通常接入场景为同时接入两路有线网路链路,或同时接入一路有线网络链路和一路无线网络链路。It can be understood that the smart TV provided by this application can realize the ability to simultaneously connect two wired network links and one wireless network link; network, or connect to a wired network link and a wireless network link at the same time.
在一些事实施例中,在用户开启智能电视时,此时刻智能电视的控制器将接收到用户输入用于启动智能电视的信令,例如使用遥控器发送的开机信令。In some embodiments, when the user turns on the smart TV, the controller of the smart TV will receive a signal input by the user to start the smart TV at this moment, for example, a power-on signal sent by a remote control.
电视启动后,除了安卓框架的常规服务自动启动外,智能电视控制器还在系统中创建了第一服务,所述第一服务可监测电视配置网卡的接入状态,即当网线接口插入可联网的网线、或无线网卡扫描到可接入的无线网络时,第一服务可识别当前可获取网络连接的无线网卡、及网线接口对应的有线网卡。After the TV is started, in addition to the automatic start of the regular services of the Android framework, the smart TV controller also creates the first service in the system. When the network cable or wireless network card scans for an accessible wireless network, the first service can identify the wireless network card that can currently obtain the network connection and the wired network card corresponding to the network cable interface.
其中,智能电视将多个有线网卡中的其中一块有线网卡定义为第一有线网卡,所述第一有线网卡可被配置为用于接入专用网络,可视对讲门铃应用、社区可视门诊应用的社区专用网络。当第一有线网卡对应的第一网线接口插入社区专用网络的网线插头时,第一服务即可识别当前的网络状态变化,即时的为第一有线网卡获取、分配网卡地址,所述与网卡地址具体的可实施为IP地址。Among them, the smart TV defines one of the wired network cards as the first wired network card, and the first wired network card can be configured to be used for accessing a dedicated network, video intercom doorbell application, and community video outpatient clinic. App's community private network. When the first network cable interface corresponding to the first wired network card is inserted into the network cable plug of the community dedicated network, the first service can identify the current network status change, and obtain and distribute the network card address for the first wired network card in real time. Specifically, it may be implemented as an IP address.
例如,用户界面运行的可视对讲门铃应用,所述应用必须通过社区专用网络通信才可以运行;For example, the video intercom doorbell application running on the user interface, the application must communicate through the community private network before it can run;
电视的第一有线网卡对应的第一网线接口通过第一网络链,及社区专用网络接入网络,控制器创建的第一服务在识别到第一有线网卡接入网络时,将为其获取接入专用网络的第一有线网卡IP地址。The first network cable interface corresponding to the first wired network card of the TV is connected to the network through the first network link and the community private network. When the first service created by the controller recognizes that the first wired network card is connected to the network, it will obtain an access IP address of the first wired NIC connected to the private network.
在第一有线网卡成功接入网络后,可视对讲门铃即可正常运行,当客人在门外按门铃时,所述门铃的监控画面将通过专用网络传送至智能电视的第一有线网卡,数据经过处理后显示于可视对讲门铃应用界面。由于所述门铃应用是通过专用网络和专用网卡进行网络通信,因此并不会对智能电视用户界面的其他视频播放应用、或直播频道产生网络带宽占用影响。After the first wired network card is successfully connected to the network, the video intercom doorbell can operate normally. When the guest rings the doorbell outside the door, the monitoring screen of the doorbell will be transmitted to the first wired network card of the smart TV through a dedicated network. After the data is processed, it is displayed on the video intercom doorbell application interface. Since the doorbell application performs network communication through a dedicated network and a dedicated network card, it does not have an impact on network bandwidth occupation of other video playback applications or live channels on the user interface of the smart TV.
在一些实施例中,在第一有线网卡接入第一网络链路时,控制器将控制第一服务启动所述第一有线网卡、并控制动态主机配置协议服务端将动态主机配置协议客户端获取的第一有线网卡地址写入所述第一有线网卡及内核,以使第一应用可通过所述第一有线网卡接入的第一网络链路访问广域网。In some embodiments, when the first wired network card is connected to the first network link, the controller will control the first service to start the first wired network card, and control the dynamic host configuration protocol server to connect the dynamic host configuration protocol client The obtained address of the first wired network card is written into the first wired network card and the kernel, so that the first application can access the wide area network through the first network link accessed by the first wired network card.
例如,在智能功电视使用双有线网络链路时,控制器将在电视启动后创建为第一有线网卡获取IP地址的第一服务;For example, when the smart TV uses dual wired network links, the controller will create the first service for obtaining an IP address for the first wired network card after the TV is started;
控制器首先控制第一服务查询第一有线网卡的网络节点是否存在,如果存在则说明网络节点已经准备好;控制器将控制第一服务启动第一有线网卡;再通过动态主机配置协议客户端获取第一有线网卡的IP地址,然后通过动态主机配置协议服务端收到客户端发送的请求获取IP消息,并将第一有线网卡IP地址信息写入第一有线网卡,第一有线网卡会将其IP地址信息发送至内核,以供安卓框架服务进行调用以接入网络。The controller first controls the first service to query whether the network node of the first wired network card exists, and if it exists, it means that the network node is ready; the controller will control the first service to start the first wired network card; The IP address of the first wired network card, and then the server receives the request to obtain the IP message sent by the client through the dynamic host configuration protocol, and writes the IP address information of the first wired network card into the first wired network card, and the first wired network card will write it to the first wired network card. The IP address information is sent to the kernel for calling by the Android framework service to access the network.
在一些实施例中,智能电视被配置为其通常应用程序通过第二网卡对应的第二网络链路接入网络进行通信。In some embodiments, the smart TV is configured such that its normal application program accesses the network through the second network link corresponding to the second network card to communicate.
例如,当第二网卡实施为第二有线网卡时,第一视频应用此时刻可通过第二网络链路进行通信运行于用户界面,通过第二网卡通信的第一视频应用;For example, when the second network card is implemented as a second wired network card, the first video application can communicate and run on the user interface through the second network link at this moment, and the first video application communicates through the second network card;
可以理解,第二网卡还可以实施为第二无线网卡,即智能电视通过无线网卡连接至无线网络时,通过第二网卡通信的第一视频应用;It can be understood that the second network card can also be implemented as a second wireless network card, that is, when the smart TV is connected to the wireless network through the wireless network card, the first video application communicates through the second network card;
需要说明的是,在一些实施例中,智能电视中通常的、不依赖于专用网络的应用程序经常被配置为通过第二网卡接入的无线网络、或有线网络进行通信,所述的应用例如可包括第一、第二、第三视频应用、及天气预报应用。It should be noted that, in some embodiments, common applications in smart TVs that do not depend on dedicated networks are often configured to communicate through a wireless network or a wired network accessed by the second network card. May include first, second, third video applications, and weather forecast applications.
可以理解,在一些实施例中,对于配置有2块有线网卡、1块无线网卡的智能电视,通常其中1块有线网卡被配置固定接入专用网络支持特定应用,另外1块有线网卡、或无线网卡被配置为接入家庭网络支持通常应用。It can be understood that, in some embodiments, for a smart TV configured with 2 wired network cards and 1 wireless network card, usually one of the wired network cards is configured with a fixed access dedicated network to support specific applications, and the other 1 wired network card or wireless The network card is configured to access the home network to support common applications.
在一些实施例中,智能电视的第二网卡接入第二网络链路时,其控制器将获取的第二网卡地址写入第二网卡及内核,具体可实施为将包含基于安卓框架流程获取第二网卡地址的网络代理类写入第二网卡及内核。In some embodiments, when the second network card of the smart TV is connected to the second network link, its controller writes the obtained second network card address into the second network card and the kernel, which can be specifically implemented as including obtaining the address based on the Android framework process. The network proxy class of the address of the second network card is written into the second network card and the kernel.
例如,第二网卡实施为第二有线网卡,在第二有线网卡对应的第二网线接口插入网线接入设备时,控制器将控制网络守护进程通知以太网追踪类并创建工厂类,然后通过网际互连协议控制服务基于动态主机配置协议获取第二有线网卡的IP地址;For example, the second network card is implemented as a second wired network card. When the second network cable interface corresponding to the second wired network card is inserted into the network cable access device, the controller will control the network daemon process to notify the Ethernet tracking class and create a factory class, and then pass the Internet The interconnection protocol control service obtains the IP address of the second wired network card based on the dynamic host configuration protocol;
在所述IP地址成功获取后,控制器将控制第二有线网卡生成其对应的网络代理类对象并将其注册至网络连接管理服务中,所述网络连接管理服务将第二有线网卡的IP地址写入内核和第二网卡中,以用于安卓框架服务的调用。After the IP address is successfully obtained, the controller will control the second wired network card to generate its corresponding network proxy object and register it in the network connection management service, and the network connection management service will use the IP address of the second wired network card Write it into the kernel and the second network card for invocation of Android framework services.
在一些实施例中,第二网卡实施为第二无线网卡,控制器通过传统常用的安卓框架流程获取第二无线网卡的IP地址,并控制生成的网络代理类对象注册到网络连接管理服务,然后由所述网络连接管理服务将上述网卡的IP地址写入内核和第二无线网卡中。In some embodiments, the second network card is implemented as a second wireless network card, and the controller obtains the IP address of the second wireless network card through a traditional and commonly used Android framework process, and controls the generated network proxy class object to register with the network connection management service, and then The network connection management service writes the IP address of the network card into the kernel and the second wireless network card.
在一些实施例中,智能电视可被配置为其第一有线网卡接入第一网络链路,第二有线网卡接入第二有线链路。In some embodiments, the smart TV can be configured to have its first wired network card connected to the first network link, and its second wired network card connected to the second wired link.
例如,在智能电视同时接入上述网络后,其第一视频应用可通过第二有线网卡接入的第二网络链路访问互联网、广域网,其中,第二视频应用还可实施为电视的其它通常应用,第二、第三视频应用、及天气预报应用等;而可视对讲门铃此时则可通过第一有线网卡对因的第一网络链路访问社区专用网络。For example, after the smart TV is connected to the above-mentioned network at the same time, its first video application can access the Internet and the wide area network through the second network link accessed by the second wired network card, wherein the second video application can also be implemented as other common applications, second and third video applications, and weather forecast applications, etc.; and the video intercom doorbell can now access the community dedicated network through the first network link of the first wired network card.
又例如,在智能电视同时接入上述网络后,其第一视频应用可通过第二无线网卡接入的无线链路访问互联网,其中,第二视频应用还可实施为第二、第三视频应用、及天气预报应用等;而社区可视门诊此时则可通过第一有线网卡对因的第一网络链路访问社区专用网络。虽然电视通过不同网卡同时接入、使用两个不同网络,但是上述两个网络之间彼此互不影响。For another example, after the smart TV is connected to the above network at the same time, its first video application can access the Internet through the wireless link accessed by the second wireless network card, wherein the second video application can also be implemented as the second and third video applications , and weather forecast applications, etc.; at this time, the community video clinic can access the community dedicated network through the first network link of the first wired network card. Although the TV is connected to and uses two different networks through different network cards at the same time, the above two networks do not affect each other.
需要说明的是,上述实施例中所述第一网络链路、及第二网络链路可同时接入广域网。It should be noted that, the first network link and the second network link in the above embodiment can access the wide area network at the same time.
在一些实施例中,智能电视还可以配置多个有线网卡,例如将第二有线网卡、第三有线网卡都接入有线网络时,控制器将控制在先接入的网络的网卡获取IP地址并接入网络。In some embodiments, the smart TV can also be configured with multiple wired network cards. For example, when both the second wired network card and the third wired network card are connected to the wired network, the controller will control the network card of the previously connected network to obtain an IP address and Connect to the network.
例如,当有线网络接入智能电视时,控制器将控制网络守护进程通知以太网追踪类传递消息给以太网工厂类,然后通过网际互连协议控制服务获取第二有线网卡与第三有线网卡的IP地址;For example, when a wired network is connected to a smart TV, the controller will control the network daemon process to notify the Ethernet tracking class to deliver a message to the Ethernet factory class, and then obtain the information of the second wired network card and the third wired network card through the Internet Protocol control service. IP address;
在所述IP地址获取后,控制器将控制双有线网络生成网络代理类对象并将其注册至网络连接管理服务中;After the IP address is obtained, the controller will control the dual wired network to generate a network proxy object and register it in the network connection management service;
所述网络连接管理服务最终评分决定连接哪个网络,然后传递消息至内核;因为两个有线网络评分一样,所以时间上在后接入的有线网络将被淘汰,智能电视将接入在先接入的有线网络。The final score of the network connection management service determines which network to connect to, and then sends the message to the kernel; because the two wired networks have the same score, the wired network that is connected later in time will be eliminated, and the smart TV will be connected to the first connected network. wired network.
在一些实施例中,智能电视配置有多个有线网卡即无线网卡,其中第一有线网卡固定用于接入专用网络;如将第二有线网卡、第二无线网卡均接入不同的网络时,控制器将控制在先接入的网络的网卡获取IP地址并接入网络。In some embodiments, the smart TV is equipped with a plurality of wired network cards, that is, wireless network cards, wherein the first wired network card is fixed for accessing a dedicated network; if the second wired network card and the second wireless network card are both connected to different networks, The controller will control the network card of the previously connected network to obtain an IP address and access the network.
例如,第二无线网卡接入其对应的无线网络时,控制器在无线网络状态机收到开机广播后,将启动完成广播,然后创建无线网络工厂类并将其注册到网络连接管理服务中,所述网络连接管理服务进一步传递消息至网络工厂类,所述网络工厂类将获取的无线网卡地址注册到系统网络连接管理服务中;For example, when the second wireless network card is connected to its corresponding wireless network, the controller will start the completion broadcast after the wireless network state machine receives the startup broadcast, and then create a wireless network factory class and register it in the network connection management service, The network connection management service further transmits a message to the network factory class, and the network factory class registers the obtained wireless network card address in the system network connection management service;
第二有线网卡接入对应的有线网络时,控制器将控制网络守护进程通知以太网追踪类,所述以太网工厂类将获取的有线网卡地址注册到网络连接管理服务中;When the second wired network card accesses the corresponding wired network, the controller will control the network daemon process to notify the Ethernet tracking class, and the Ethernet factory class will register the obtained wired network card address in the network connection management service;
网络连接管理服务将通过网络工厂类的这个类评分决定连接哪个网络;其中,WIFI的评分比有线网络低,所以控制器会选择连接有线网络,并控制无线网络WIFI关闭自动回连。The network connection management service will determine which network to connect to based on the score of the network factory class; among them, the score of WIFI is lower than that of the wired network, so the controller will choose to connect to the wired network, and control the wireless network WIFI to turn off automatic reconnection.
在一些实施例中,智能电视开机,其有线网卡对应的网线接口插入可接入的有线网络时,控制器将通过安卓框架服务获取有线网络的IP地址,然后控制器将控制生成有线网卡对应的网络代理类对象,并将其注册到网络连接管理服务中;In some embodiments, when the smart TV is turned on and the network cable interface corresponding to its wired network card is inserted into an accessible wired network, the controller will obtain the IP address of the wired network through the Android framework service, and then the controller will control to generate the corresponding IP address of the wired network card. Network proxy class object, and register it in the network connection management service;
在无线网卡也接入对应的无线网络后,控制器通过上述获取无线网卡地址方法取得IP地址后,控制器将控制生成网线网卡对应的网络代理类,并将所述对象注册到网络连接管理服务中;After the wireless network card is also connected to the corresponding wireless network, after the controller obtains the IP address through the above method of obtaining the address of the wireless network card, the controller will control to generate a network proxy class corresponding to the network cable network card, and register the object to the network connection management service middle;
最终在所述网络连接管理服务中,控制器控制评分决定连接哪个网络,然后传递消息至系统内核,其中评分低的无线网络将被淘汰,控制器最终控制有线网卡接入对应的有线网络。Finally, in the network connection management service, the controller controls the score to determine which network to connect to, and then sends a message to the system kernel, wherein the wireless network with a low score will be eliminated, and the controller finally controls the wired network card to access the corresponding wired network.
在一些实施例中,用于接入专用网络的第一有线网卡、及第二无线网卡均接入网络时,控制器将依据上述实施例中对应网卡接入网络的方法,使得第一有线网卡、第二无线网卡均获取其对应的IP地址,并接入对应的网络,使电视实现同时接入有线专用网络和普通无线网络。In some embodiments, when both the first wired network card and the second wireless network card used to access the dedicated network are connected to the network, the controller will make the first wired network card Each of the second wireless network card obtains its corresponding IP address, and accesses the corresponding network, so that the TV can simultaneously access the wired dedicated network and the common wireless network.
例如,控制器控制第一有线网卡根据上述实施例获取其对应的IP地址,通过控制器创建的第一服务,查询网络节点是否存在;如果存在,则说明网络节点第一有线网卡已经准备好;开工至其控制所述第一服务然启动第一有线网卡,再通过动态主机配置协议客户端获取所述有线网卡的IP地址,然后通过动态主机配置协议服务端收到的传送消息获取所述第一有线网卡IP地址,并将所述第一有线网卡IP地址信息写入所述第一有线网卡;For example, the controller controls the first wired network card to obtain its corresponding IP address according to the above-mentioned embodiment, and checks whether the network node exists through the first service created by the controller; if it exists, it means that the first wired network card of the network node is ready; Start work until it controls the first service and then start the first wired network card, then obtain the IP address of the wired network card through the dynamic host configuration protocol client, and then obtain the first wired network card through the transmission message received by the dynamic host configuration protocol server. a wired network card IP address, and write the IP address information of the first wired network card into the first wired network card;
对应需要接入普通无线网络的第二无线网卡,控制器控制所述网卡通过前文实施例所述安卓框架流程获取IP地址的方法,将获取的第二无线网卡IP地址生成对应的网络代理类对象,并将其注册到网络连接管理服务中,然后所述网络连接管理服务将第二无线网卡地址写入系统内核和所述第二无线网卡中。Corresponding to the second wireless network card that needs to access the ordinary wireless network, the controller controls the network card to obtain the IP address through the Android framework process described in the previous embodiment, and generates the corresponding network proxy class object for the obtained second wireless network card IP address , and register it in the network connection management service, and then the network connection management service writes the address of the second wireless network card into the system kernel and the second wireless network card.
根据上述技术方案,本申请提供的显示设备可实现其安卓系统同时连接两个有线、或者一个有线一个无线网络,并且都能获取对应的IP地址。According to the above technical solution, the display device provided by this application can realize that its Android system can be connected to two wired networks or one wired and one wireless network at the same time, and can obtain the corresponding IP address.
在一些实施例中,智能电视第一有线网卡、第二网卡还可以实施为用于接入同一局域网的不同链路。In some embodiments, the first wired network card and the second network card of the smart TV may also be implemented as different links for accessing the same local area network.
例如,客厅设置有用于接入同一网络的2个网络端口客厅网口1、以及客厅网口2;通过网线将第一网卡连接至客厅网口1、将第二网卡连接至客厅网口2,则构成与第一网卡连接的有线链路1、以及与第二网卡连接的有线链路2。For example, the living room is equipped with two network ports for accessing the same network, the living room network port 1 and the living room network port 2; Then a wired link 1 connected to the first network card and a wired link 2 connected to the second network card are formed.
可以理解,如果客厅网口2与路由器之间的连接线路存在质量问题导致网络带宽下降、而客厅网口1与路由器之间的连接线路质量正常,则电视通过有线链路1、与有线链路2接入网络,将产生不同的网络体验;It can be understood that if there is a quality problem in the connection line between the living room network port 2 and the router, resulting in a drop in network bandwidth, but the quality of the connection line between the living room network port 1 and the router is normal, the TV will connect to the wired link 1 through the wired link 1. 2 Access to the network will produce a different network experience;
在这种情况下,智能电视在前台用户界面播放显示的第三视频应用通过第一有线网卡、有线链路1、客厅网口1接入局域网,其使用的网络带宽不会因为与客厅网口2所连接的瑕疵质量线路而受到影响下降;而处于后台运行的第一视频应用和第二视频应用则通过第二网卡、有线链路2、客厅网口2接入局域网,其使用的网络带宽将因为与客厅网口2所连接的瑕疵质量线路而受到影响下降。In this case, the third video application played and displayed by the smart TV on the foreground user interface accesses the LAN through the first wired network card, wired link 1, and living room network port 1, and the network bandwidth used by it will not be different from the living room network port. 2 is affected by the defective quality line connected; while the first video application and the second video application running in the background are connected to the LAN through the second network card, wired link 2, and living room network port 2, and the network bandwidth used by them is It will be affected and dropped due to the defective quality line connected to the living room network port 2.
所以,上述技术方案使得安卓系统电视可突破当前技术瓶颈,在同一时间可使用多种网络接入,例如可同时接入有线网络、WIFI网络,或者同时接入家庭环境中存在的两个宽带网络,或同从相同网络的不同网络入口接入,以避免因为多个应用同时使用网络,导致网络带宽不足、或者特定网络入口线路质量造成的网络带宽下降问题。Therefore, the above-mentioned technical solution enables the Android system TV to break through the current technical bottleneck, and can use multiple network access at the same time, for example, it can simultaneously access wired networks, WIFI networks, or simultaneously access two broadband networks that exist in the home environment. , or access from different network entrances of the same network, to avoid insufficient network bandwidth caused by multiple applications using the network at the same time, or network bandwidth degradation caused by the quality of specific network entrance lines.
可以理解,本申请所述的第一有线网卡除了可以固定连接专用网络,还可以适用于在同一局域网中,固定连接线路质量较好的网络接口,以避免由于家庭中部分网络线路质量差引起的链路网络带宽下降问题,保障重要应用所使用的网络链路处于优良状态。It can be understood that the first wired network card described in this application can not only be fixedly connected to a dedicated network, but also be applicable to network interfaces with better quality fixed connection lines in the same local area network, so as to avoid problems caused by poor quality of some network lines in the home. The link network bandwidth drop problem ensures that the network links used by important applications are in good condition.
在一些实施例中,需要说明的是,通常情况下用户可将多个可用网络对电视的多个网卡进行分配。例如,对于2个电视可用网络以及2个网卡,可将网络质量相对较好的第一网络链路分配接入至第一网卡,将另外的第二网络链路分配接入至第二网卡,以实现处于前台的、用户正在观看的、对于用户当前最为重要的播放节目可通过固定的专有第一网络链路获取数据,避免由于多个应用同时启动造成网络带宽不够而节目播放卡顿等不好的网络体验。In some embodiments, it should be noted that generally, the user can allocate multiple available networks to multiple network cards of the TV. For example, for 2 TV-available networks and 2 network cards, the first network link with relatively good network quality can be allocated and connected to the first network card, and the other second network link can be allocated and connected to the second network card. In order to realize that the program that is in the foreground, that the user is watching, and that is currently the most important to the user can obtain data through a fixed dedicated first network link, so as to avoid the lack of network bandwidth caused by multiple applications starting at the same time, causing the program to freeze, etc. Bad web experience.
在一些实施例中,本申请所述技术方案还可以广泛应用于双屏交互、家庭服务、全程语音服务、设备控制与主动场景服务、接入社区能力、家庭医生服务,或者音乐服务、全程语音交互和场景引擎、家电管家服务等。In some embodiments, the technical solutions described in this application can also be widely applied to dual-screen interaction, family services, full voice services, device control and active scene services, access to community capabilities, family doctor services, or music services, full voice services Interaction and scene engine, home appliance butler service, etc.
相比较与通常普通的安卓系统家电设备,其安卓系统同一时间只允许一种网络连接并获取IP地址;但本申请提供的显示设备、或使用本申请技术方案的智能家电,可实现同时连接两种网络,如分别接社区网络和家庭网络。Compared with ordinary home appliances with Android system, the Android system only allows one kind of network connection and obtains IP address at the same time; network, such as community network and home network respectively.
需要说明的是,本身提提供的显示设备其电路板可设置有三个网卡,以实现同时连接两种网络;具体实施为有能力接入两个有线网络、和一个无线网络wifi,其中有一个有线网络是要接入社区网络,用于呼叫电梯或者可视门铃对讲。而另外一个有线或者无线网络接入家庭的网络,用于访问广域网。所以同一时间可以两种不同的网络,社区应用走社区网络,普通应用走家庭网络。It should be noted that the circuit board of the display device provided by itself can be equipped with three network cards to achieve simultaneous connection to two networks; the specific implementation is capable of accessing two wired networks and one wireless network wifi, of which there is a wired network The network is to be connected to the community network for calling elevators or video doorbell intercom. And another wired or wireless network is connected to the home network for accessing the WAN. Therefore, two different networks can be used at the same time. Community applications use the community network, and ordinary applications use the home network.
以下段落将对本申请说明书中涉及的中文术语、及其对应的英文术语进行对比罗列,以便于阅读、理解。The following paragraphs will compare and list the Chinese terms involved in this application specification and their corresponding English terms for easy reading and understanding.
动态主机配置协议客户端:udhcpc;Dynamic host configuration protocol client: udhcpc;
动态主机配置协议服务端:udhcpd;Dynamic host configuration protocol server: udhcpd;
网络守护进程:netd;Network daemon: netd;
以太网追踪类:EthernetTracker;Ethernet tracking class: EthernetTracker;
工厂类:EthernetFactory;Factory class: EthernetFactory;
网际互连协议控制服务:IpClient;Internet interconnection protocol control service: IpClient;
动态主机配置协议:DHCP;Dynamic Host Configuration Protocol: DHCP;
网络代理类:NetworkAgent;Network agent class: NetworkAgent;
网络连接管理服务:connectivityservice;Network connection management service: connectivityservice;
内核:kerner;Kernel: kerner;
安卓:android。Android: android.
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述在一些实施例中讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For convenience of explanation, the above description has been made in conjunction with specific implementation manners. However, the above discussion of some embodiments is not intended to be exhaustive or to limit implementations to the specific forms disclosed above. Many modifications and variations are possible in light of the above teachings. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various modified embodiments suitable for specific use considerations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111161185.0A CN115914730A (en) | 2021-09-30 | 2021-09-30 | A display device and a dual-link network connection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111161185.0A CN115914730A (en) | 2021-09-30 | 2021-09-30 | A display device and a dual-link network connection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115914730A true CN115914730A (en) | 2023-04-04 |
Family
ID=86493860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111161185.0A Pending CN115914730A (en) | 2021-09-30 | 2021-09-30 | A display device and a dual-link network connection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115914730A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561062A (en) * | 2004-03-09 | 2005-01-05 | �㽭�пؼ����ɷ�����˾ | Method of implementing multiplexing network data |
CN102368725A (en) * | 2011-09-09 | 2012-03-07 | 北京东方网信科技股份有限公司 | Data receiving method of multiple network cards and system thereof |
-
2021
- 2021-09-30 CN CN202111161185.0A patent/CN115914730A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561062A (en) * | 2004-03-09 | 2005-01-05 | �㽭�пؼ����ɷ�����˾ | Method of implementing multiplexing network data |
CN102368725A (en) * | 2011-09-09 | 2012-03-07 | 北京东方网信科技股份有限公司 | Data receiving method of multiple network cards and system thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102595239B (en) | Multi-screen interactive method, device and intelligent television for terminal system | |
CN115396521A (en) | Method, device and system for switching communication protocol | |
JP5927900B2 (en) | Electronics | |
WO2017124860A1 (en) | Distributed wireless multi-screen virtual machine service system | |
US11579831B2 (en) | Intelligent interactive all-in-one machine | |
US20150134860A1 (en) | System for improving hdmi cec performance, and method for controlling same | |
KR20110059202A (en) | Terminal device and its control method | |
CN114630101B (en) | Display device, VR device and display control method of virtual reality application content | |
CN115278332A (en) | A display device, playback device and data transmission method | |
CN112770078B (en) | Video conference terminal fusion method and device and readable storage medium | |
CN111885665B (en) | Wireless network connection control method and display device | |
CN115914730A (en) | A display device and a dual-link network connection method | |
WO2024001535A1 (en) | Display device, playing device, control device and data transmission method | |
CN115914694A (en) | A display device and a network connection method based on a USB link | |
CN115914771A (en) | Display device and control method for acquiring different network card addresses based on android system | |
CN115150648A (en) | Display device and message transmission method | |
CN115914731A (en) | Display device and control method for improving network environment based on double links | |
CN113992963A (en) | Display device and screen projection method | |
CN113691858A (en) | Display device and interface display method | |
CN115914707A (en) | A display device and a non-inductive distribution network control method based on USB access | |
CN115914732A (en) | Display device and intelligent routing method based on USB channel | |
CN115914073A (en) | A display device and an intelligent routing method based on an Android system | |
CN115278322B (en) | Display device, control device, and control method for display device | |
CN115643436A (en) | Display device, multi-channel screen projection method and storage medium | |
WO2024139400A1 (en) | Method for enabling whiteboard drawing, and related apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |