CN107809663A - Miracast serving starting methods, intelligent television and storage medium - Google Patents
Miracast serving starting methods, intelligent television and storage medium Download PDFInfo
- Publication number
- CN107809663A CN107809663A CN201711081071.9A CN201711081071A CN107809663A CN 107809663 A CN107809663 A CN 107809663A CN 201711081071 A CN201711081071 A CN 201711081071A CN 107809663 A CN107809663 A CN 107809663A
- Authority
- CN
- China
- Prior art keywords
- terminal
- miracast
- pairing
- smart
- pairing request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/632—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种Miracast服务启动方法、智能电视及计算机可读存储介质,所述Miracast服务启动方法包括:当检测到安卓系统启动完成,启动Miracast服务;加载无线网卡,开启点对点模式及站点模式。通过本发明,相当于将Miracast服务作为电视系统服务启动,后续无需用户手动操作来启用Miracast服务;加载预置无线网卡,基于无线网卡的concurrent(并发)技术,使点对点模式及站点模式同时开启,点对点模式实现将终端屏幕投放至电视屏幕,站点模式实现电视连接网络的操作,保证了电视在使用Miracast功能时自身的网络连接不中断。
The invention discloses a Miracast service starting method, a smart TV and a computer-readable storage medium. The Miracast service starting method includes: when it is detected that the Android system is started, starting the Miracast service; loading a wireless network card, and starting a point-to-point mode and a site mode . Through the present invention, it is equivalent to starting the Miracast service as a TV system service, and subsequently enabling the Miracast service without manual operation by the user; loading the preset wireless network card, based on the concurrent (concurrent) technology of the wireless network card, enabling the point-to-point mode and the site mode to be opened at the same time, The peer-to-peer mode enables the terminal screen to be cast on the TV screen, and the site mode realizes the operation of connecting the TV to the network, ensuring that the TV's own network connection is not interrupted when using the Miracast function.
Description
技术领域technical field
本发明涉及无线通讯技术领域,尤其涉及Miracast服务启动方法、智能电视及计算机可读存储介质。The invention relates to the technical field of wireless communication, in particular to a Miracast service starting method, a smart TV and a computer-readable storage medium.
背景技术Background technique
近年来,智能手机大量普及,但是由于智能手机屏幕较小,无法给用户提供较好的观影体验,使得用户希望将手机屏幕投放到电视上观看。In recent years, smart phones have been popularized in large numbers, but due to the small screens of smart phones, they cannot provide users with a better viewing experience, making users wish to put their mobile phone screens on TV to watch.
基于上述用户需求,目前电视机厂商和机顶盒厂商都加入了对Miracast(Miracast是Wi-Fi Alliance于2012年9月19日宣布启动的Wi-Fi CERTIFIED MiracastTM认证项目。Miracast设备提供简化发现和设置,用户可以迅速在设备间传输视频。该技术与认证项目由Wi-Fi联盟中的移动与消费性电子设备制造商及芯片厂商共同制定)协议的支持,可以实现支持Miracast协议的安卓智能手机屏幕投放到电视上观看。Based on the above user needs, TV manufacturers and set-top box manufacturers have joined the Miracast (Miracast is the Wi-Fi CERTIFIED Miracast TM certification project announced by Wi-Fi Alliance on September 19, 2012. Miracast devices provide simplified discovery and configuration. , users can quickly transmit video between devices. This technology and certification project is jointly formulated by mobile and consumer electronics equipment manufacturers and chip manufacturers in the Wi-Fi Alliance) protocol support, which can realize Android smartphone screens that support the Miracast protocol Cast to watch on TV.
虽然,目前电视机和机顶盒对Miracast协议做了支持,但是都需要用户进行复杂的操作才能使用此功能,并且在使用该功能时,电视机本身的网络也会断掉。Although TVs and set-top boxes currently support the Miracast protocol, users need to perform complex operations to use this function, and when using this function, the network of the TV itself will also be disconnected.
发明内容Contents of the invention
本发明的主要目的在于提供一种Miracast服务启动方法、智能电视及计算机可读存储介质,旨在解决现有技术中使用Miracast功能将终端屏幕投放至电视机需要复杂的用户操作且会导致电视机网络断开的技术问题。The main purpose of the present invention is to provide a Miracast service startup method, smart TV and computer-readable storage medium, aiming to solve the problem of using the Miracast function to cast the terminal screen to the TV in the prior art. Technical problem with network disconnection.
为实现上述目的,本发明提供一种Miracast服务启动方法,所述Miracast服务启动方法包括:To achieve the above object, the present invention provides a Miracast service startup method, the Miracast service startup method comprising:
当检测到安卓系统启动完成,启动预置Miracast服务;When it is detected that the Android system startup is complete, start the preset Miracast service;
加载预置无线网卡,开启点对点模式及站点模式。Load the preset wireless network card, and turn on the point-to-point mode and station mode.
优选地,所述加载预置无线网卡,开启点对点模式及站点模式之后包括:Preferably, after loading the preset wireless network card and enabling the point-to-point mode and the station mode, it includes:
检测是否接收到终端发送的配对请求,若接收到终端发送的配对请求,则对所述终端进行身份认证;Detecting whether the pairing request sent by the terminal is received, and if the pairing request sent by the terminal is received, performing identity authentication on the terminal;
当对所述终端身份认证通过后,反馈配对确认信息至所述终端;After passing the identity authentication of the terminal, feeding back pairing confirmation information to the terminal;
接收所述终端在接收到所述配对确认信息后发送的屏幕数据,在预置显示器上显示所述屏幕数据对应的画面内容。receiving the screen data sent by the terminal after receiving the pairing confirmation information, and displaying the screen content corresponding to the screen data on a preset display.
优选地,所述若接收到终端发送的配对请求,则对所述终端进行身份认证包括:Preferably, if the pairing request sent by the terminal is received, performing identity authentication on the terminal includes:
若接收到终端发送的配对请求,则获取所述配对请求对应的配对码;If a pairing request sent by the terminal is received, obtaining a pairing code corresponding to the pairing request;
检测所述配对码是否为合法配对码,若所述配对码为合法配对码,则对所述终端的身份认证通过,若所述配对码不为合法配对码,则对所述终端的身份认证不通过。Detecting whether the pairing code is a legal pairing code, if the pairing code is a legal pairing code, the identity authentication of the terminal is passed, and if the pairing code is not a legal pairing code, the identity authentication of the terminal is passed Fail.
优选地,所述若接收到终端发送的配对请求,则对所述终端进行身份认证还包括:Preferably, if the pairing request sent by the terminal is received, performing identity authentication on the terminal further includes:
若接收到终端发送的配对请求,则获取所述配对请求对应的所述终端的身份信息;If the pairing request sent by the terminal is received, acquiring the identity information of the terminal corresponding to the pairing request;
检测是否存在所述身份信息对应的历史配对记录,若存在,则对所述终端的身份认证通过,若不存在,则对所述终端的身份认证不通过。Detecting whether there is a historical pairing record corresponding to the identity information, if it exists, the identity authentication of the terminal is passed, and if it does not exist, the identity authentication of the terminal is not passed.
优选地,所述若接收到终端发送的配对请求,则对所述终端进行身份认证之后包括:Preferably, if the pairing request sent by the terminal is received, after the identity authentication of the terminal includes:
当对所述终端的身份认证不通过时,输出告警。When the identity authentication of the terminal fails, an alarm is output.
此外,为实现上述目的,本发明还提供一种智能电视,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的Miracast服务启动程序,所述Miracast服务启动程序被处理器执行时实现如上所述的Miracast服务启动方法的步骤。In addition, in order to achieve the above object, the present invention also provides a smart TV, which includes: a memory, a processor, and a Miracast service startup program stored on the memory and operable on the processor, the When the Miracast service startup program is executed by the processor, the above-mentioned steps of the Miracast service startup method are implemented.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有Miracast服务启动程序,所述Miracast服务启动程序被处理器执行时实现如上所述的Miracast服务启动方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium, on which a Miracast service startup program is stored, and when the Miracast service startup program is executed by a processor, the above-mentioned The steps of the Miracast service startup method.
本发明中,当检测到安卓系统启动完成,启动预置Miracast服务,加载预置无线网卡,开启点对点模式即站点模式。通过本发明,安卓系统启动完成后,启动预置Miracast服务,相当于将Miracast服务作为电视系统服务启动,后续无需用户手动操作来启用Miracast服务;加载预置无线网卡,基于无线网卡的concurrent(并发)技术,使点对点模式及站点模式同时开启,点对点模式实现与终端设备的配对、连接,从而接收终端的屏幕数据,在电视屏幕上播放该屏幕数据对应的画面,即实现将终端屏幕投放至电视屏幕,站点模式实现电视连接网络的操作,保证了电视在使用Miracast功能时自身的网络连接不中断。In the present invention, when it is detected that the start of the Android system is completed, the preset Miracast service is started, the preset wireless network card is loaded, and the point-to-point mode, that is, the station mode, is turned on. Through the present invention, after the start of the Android system is completed, the preset Miracast service is started, which is equivalent to starting the Miracast service as a TV system service, and the Miracast service is enabled without manual operation by the user in the follow-up; the preset wireless network card is loaded, and the concurrent (concurrent ) technology, so that the point-to-point mode and the site mode are turned on at the same time, and the point-to-point mode realizes pairing and connection with the terminal device, thereby receiving the screen data of the terminal, and playing the screen corresponding to the screen data on the TV screen, that is, projecting the terminal screen to the TV The screen and station mode realize the operation of connecting the TV to the network, ensuring that the TV's own network connection is not interrupted when using the Miracast function.
附图说明Description of drawings
图1是本发明实施例方案涉及的硬件运行环境的智能电视结构示意图;Fig. 1 is a schematic structural diagram of a smart TV in a hardware operating environment involved in the solution of an embodiment of the present invention;
图2为本发明Miracast服务启动方法第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the Miracast service startup method of the present invention;
图3为现有技术中智能电视软件启动过程一实施例的原理示意图;Fig. 3 is the schematic diagram of the principle of an embodiment of the smart TV software startup process in the prior art;
图4为本发明Miracast服务启动方法一实施例的原理示意图。FIG. 4 is a schematic schematic diagram of an embodiment of a method for starting a Miracast service according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的智能电视结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a smart TV in a hardware operating environment involved in the solution of an embodiment of the present invention.
本实施例中,智能电视支持Miracast协议。In this embodiment, the smart TV supports the Miracast protocol.
Miracast是Wi-Fi Alliance于2012年9月19日宣布启动的Wi-Fi CERTIFIEDMiracastTM认证项目。Miracast设备提供简化发现和设置,用户可以迅速在设备间传输视频。该技术与认证项目由Wi-Fi联盟中的移动与消费性电子设备制造商及芯片厂商共同制定。Miracast用户可以尽情在大屏电视上浏览智能手机拍下的照片,通过会议室投影仪实时共享笔记本屏幕,或者在平板电脑上收看家庭电视机顶盒的直播节目。Miracast通过Wi-Fi CERTIFIED Wi-Fi DirectTM形成连接,因此无需接入任何Wi-Fi网络——Miracast认证设备内部具备连接功能。Miracast支持保护内容串流,使设备可以接收电影和其它受版权保护的材料。为了保护高级内容,Miracast对今天广泛应用于HDMI®;和DisplayPort等有线界面的受信任内容保护机制进行了无线改编。另外,每台设备都自动启用全新WPA2TM安全保护,保证所有多媒体内容传输的隐密性。Miracast is a Wi-Fi CERTIFIED Miracast TM certification project announced by Wi-Fi Alliance on September 19, 2012. Miracast devices provide simplified discovery and setup, and users can quickly transfer video between devices. The technology and certification program is jointly developed by mobile and consumer electronics equipment manufacturers and chip manufacturers in the Wi-Fi Alliance. Miracast users can browse the photos taken by smartphones on the large-screen TV, share the laptop screen in real time through the conference room projector, or watch the live broadcast of the home TV set-top box on the tablet. Miracast connects via Wi-Fi CERTIFIED Wi-Fi Direct TM , so there is no need to be connected to any Wi-Fi network - Miracast-certified devices have connectivity inside. Miracast supports protected content streaming, enabling devices to receive movies and other copyright-protected material. To protect premium content, Miracast provides an over-the-air adaptation of the trusted content protection mechanisms widely used today on wired interfaces such as HDMI® and DisplayPort. In addition, the new WPA2 TM security protection is automatically enabled on each device to ensure the privacy of all multimedia content transmissions.
Miracast建立在其他几项Wi-Fi联盟所发展的基础技术之上,包括无线传输技术802.11n(兼容于未来其他传输规格如802.11ac)、点对点连接技术的Wi-Fi Direct与TDLS(Tunneled DirectLink Setup)、安全性方面的WPA2(Wi-Fi Protected Access 2)加密、提供服务质量(QoS)及流量管理的WMM(Wi-Fi Multimedia)技术、省电相关机制的WMM PowerSave技术,以及方便用户配置网络的WPS(Wi-Fi Protected Setup)技术。Miracast is based on the basic technologies developed by several other Wi-Fi alliances, including wireless transmission technology 802.11n (compatible with other future transmission specifications such as 802.11ac), point-to-point connection technology Wi-Fi Direct and TDLS (Tunneled DirectLink Setup ), WPA2 (Wi-Fi Protected Access 2) encryption for security, WMM (Wi-Fi Multimedia) technology for quality of service (QoS) and traffic management, WMM PowerSave technology for power-saving mechanisms, and user-friendly network configuration WPS (Wi-Fi Protected Setup) technology.
如图1所示,该智能电视可以包括:处理器1001,例如CPU,网络接口1004,无线网卡1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the smart TV may include: a processor 1001 such as a CPU, a network interface 1004 , a wireless network card 1003 , a memory 1005 and a communication bus 1002 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的智能电视结构并不构成对智能电视的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the smart TV shown in FIG. 1 does not constitute a limitation on the smart TV, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块以及Miracast服务启动程序。As shown in FIG. 1 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, and a Miracast service startup program.
在图1所示的智能电视中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;处理器1001可以用于调用存储器1005中存储的Miracast服务启动程序,并执行以下操作:In the smart TV shown in Figure 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the processor 1001 can be used to call the Miracast service startup program stored in the memory 1005, and perform the following operations:
当检测到安卓系统启动完成,启动预置Miracast服务;When it is detected that the Android system startup is complete, start the preset Miracast service;
加载预置无线网卡,开启点对点模式及站点模式。Load the preset wireless network card, and turn on the point-to-point mode and station mode.
进一步地,所述加载预置无线网卡,开启点对点模式及站点模式之后包括:Further, after loading the preset wireless network card and enabling the point-to-point mode and the station mode, it includes:
检测是否接收到终端发送的配对请求,若接收到终端发送的配对请求,则对所述终端进行身份认证;Detecting whether the pairing request sent by the terminal is received, and if the pairing request sent by the terminal is received, performing identity authentication on the terminal;
当对所述终端身份认证通过后,反馈配对确认信息至所述终端;After passing the identity authentication of the terminal, feeding back pairing confirmation information to the terminal;
接收所述终端在接收到所述配对确认信息后发送的屏幕数据,在预置显示器上显示所述屏幕数据对应的画面内容。receiving the screen data sent by the terminal after receiving the pairing confirmation information, and displaying the screen content corresponding to the screen data on a preset display.
进一步地,所述若接收到终端发送的配对请求,则对所述终端进行身份认证包括:Further, if the pairing request sent by the terminal is received, performing identity authentication on the terminal includes:
若接收到终端发送的配对请求,则获取所述配对请求对应的配对码;If a pairing request sent by the terminal is received, obtaining a pairing code corresponding to the pairing request;
检测所述配对码是否为合法配对码,若所述配对码为合法配对码,则对所述终端的身份认证通过,若所述配对码不为合法配对码,则对所述终端的身份认证不通过。Detecting whether the pairing code is a legal pairing code, if the pairing code is a legal pairing code, the identity authentication of the terminal is passed, and if the pairing code is not a legal pairing code, the identity authentication of the terminal is passed Fail.
进一步地,所述若接收到终端发送的配对请求,则对所述终端进行身份认证还包括:Further, if the pairing request sent by the terminal is received, performing identity authentication on the terminal further includes:
若接收到终端发送的配对请求,则获取所述配对请求对应的所述终端的身份信息;If the pairing request sent by the terminal is received, acquiring the identity information of the terminal corresponding to the pairing request;
检测是否存在所述身份信息对应的历史配对记录,若存在,则对所述终端的身份认证通过,若不存在,则对所述终端的身份认证不通过。Detecting whether there is a historical pairing record corresponding to the identity information, if it exists, the identity authentication of the terminal is passed, and if it does not exist, the identity authentication of the terminal is not passed.
进一步地,所述若接收到终端发送的配对请求,则对所述终端进行身份认证之后包括:Further, if the pairing request sent by the terminal is received, performing identity authentication on the terminal includes:
当对所述终端的身份认证不通过时,输出告警。When the identity authentication of the terminal fails, an alarm is output.
参照图2,图2为本发明Miracast服务启动方法第一实施例的流程示意图。Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a first embodiment of a method for starting a Miracast service according to the present invention.
在一实施例中,Miracast服务启动方法包括:In one embodiment, the Miracast service startup method includes:
步骤S10,当检测到安卓系统启动完成,启动预置Miracast服务;Step S10, when it is detected that the startup of the Android system is completed, start the preset Miracast service;
步骤S20,加载预置无线网卡,开启点对点模式及站点模式。Step S20, loading a preset wireless network card, and enabling the point-to-point mode and the station mode.
参照图3,图3为现有技术中智能电视软件启动过程一实施例的原理示意图。首先是Uboot-kernel启动,即内核启动,当Uboot-kernel启动完成后,Android系统启动,Android系统启动完成时,即Android系统启动的标志位service.bootanim.exit为1时,电视系统服务启动,其中电视系统服务中不包含Miracast服务,电视系统服务启动完成后,在电视屏幕上显示电视主界面。之后,若用户需要启用Miracast服务,则需要使用遥控器从电视服务选项菜单中选择Miracast服务,并确认开启,电视接收到开启指令后,开启Miracast服务。即在现有技术中,电视开机后,需要用户通过手动操作来开启Miracast服务,对用户来说不够便利,对一些不熟悉智能电视操作的用户来说甚至无法开启智能电视的Miracast服务。Referring to FIG. 3 , FIG. 3 is a principle schematic diagram of an embodiment of a smart TV software startup process in the prior art. The first is Uboot-kernel startup, that is, the kernel startup. After the Uboot-kernel startup is completed, the Android system starts. When the Android system startup is completed, that is, when the Android system startup flag service.bootanim.exit is 1, the TV system service starts. The TV system service does not include the Miracast service. After the TV system service is started, the TV main interface is displayed on the TV screen. Afterwards, if the user needs to enable the Miracast service, he needs to use the remote control to select the Miracast service from the TV service options menu, and confirm the activation. After the TV receives the activation command, the Miracast service is activated. That is, in the prior art, after the TV is turned on, the user needs to manually operate the Miracast service, which is not convenient for the user, and even some users who are not familiar with the operation of the smart TV cannot even start the Miracast service of the smart TV.
参照图4,图4为本发明Miracast服务启动方法一实施例的原理示意图。本实施例中,首先是Uboot-kernel启动,即内核启动,Uboot-kernel启动完成后,Android系统启动完成时,即Android系统启动的标志位service.bootanim.exit为1时,并发启动电视系统服务以及Miracast服务。电视系统服务启动后的后续流程与现有技术一样,Miracast服务启动后,加载无线网卡,基于无线网卡的concurrent(并发)技术,使点对点模式及站点模式同时开启,点对点模式实现与终端设备的配对、连接,从而接收终端的屏幕数据,在电视屏幕上播放该屏幕数据对应的画面,即实现将终端屏幕投放至电视屏幕,站点模式实现电视连接网络的操作,保证了电视在使用Miracast功能时自身的网络连接不中断。当点对点模式及站点模式启动后,还可以发出通知,告知用户Miracast服务已准备就绪,例如以语音的方式发出通知,通过扬声器播放“Miracast服务已准备就绪”的语音通知,或是在电视界面预置位置显示“Miracast服务已准备就绪”字样。Referring to FIG. 4 , FIG. 4 is a schematic schematic diagram of an embodiment of a method for starting a Miracast service according to the present invention. In this embodiment, at first Uboot-kernel is started, that is, the kernel is started. After the Uboot-kernel is started, when the Android system is started, that is, when the flag service.bootanim.exit of the Android system is started is 1, the TV system service is started concurrently. and Miracast service. The subsequent process after the TV system service is started is the same as the existing technology. After the Miracast service is started, the wireless network card is loaded. Based on the concurrent (concurrent) technology of the wireless network card, the point-to-point mode and the site mode are enabled at the same time, and the point-to-point mode realizes the pairing with the terminal device. , connection, so as to receive the screen data of the terminal, and play the screen corresponding to the screen data on the TV screen, that is, to realize the projection of the terminal screen to the TV screen, and the site mode realizes the operation of connecting the TV to the network, ensuring that the TV itself can The network connection is not interrupted. When the point-to-point mode and station mode are activated, a notification can also be issued to inform the user that the Miracast service is ready, for example, a notification is issued in the form of a voice, and the voice notification of "Miracast service is ready" is played through the loudspeaker, or it is pre-set on the TV interface. "Miracast service is ready" is displayed at the location.
其中,点对点模式实现与终端设备的配对、连接,从而接收终端的屏幕数据需基于Wi-Fi Direct技术实现。Wi-Fi Direct,2010年10月,Wi-Fi Alliance(wi-fi联盟)发布Wi-Fi Direct白皮书,白皮书中介绍了有关于这种技术的基本信息、这种技术的特点和这种技术的功能,Wi-Fi Direct标准是指允许无线网络中的设备无需通过无线路由器即可相互连接。与蓝牙技术类似,这种标准允许无线设备以点对点形式互连,而且在传输速度与传输距离方面则比蓝牙有大幅提升。按照定义,Wi-Fi CERTIFIEDWi-Fi Direct设备是支持对等连接的设备,这种设备既支持基础设施网络,也支持P2P连接。Wi-Fi Direct设备能够作为典型的站点(STA)加入基础设施网络,而且必须支持Wi-Fi Protected Setup加入者功能。Wi-Fi Direct设备通过组建小组(以一对一或一对多的拓扑形式)来建立连接,小组的工作形式与基础设施BSS类似。由一部Wi-Fi Direct设备负责整个小组,包括控制哪部设备加入、小组何时启动和终止等。这种设备对于传统客户设备而言就是一部接入点,能够提供基础设施接入点所提供的部分服务。最初,Wi-Fi Alliance®联盟的这一新标准原名为“Wi-Fi peer-to-peer”,而最终定名为WiFiDirect,面向各种Wi-Fi设备,从电脑到手机、到电脑外设,到家电等等。符合该标准的设备无需热点和路由器,就可以方便的和其他设备实现直接连接,传输数据或共享应用。Wi-Fi Direct可以支持一对一直连,也可以实现多台设备同时连接,并且Wi-Fi Direct标准将会支持所有的Wi-Fi设备,从11a/b/g至11n,不同标准的Wi-Fi设备之间也可以直接互联。Among them, the peer-to-peer mode realizes the pairing and connection with the terminal equipment, so that the receiving terminal screen data needs to be realized based on Wi-Fi Direct technology. Wi-Fi Direct, in October 2010, Wi-Fi Alliance (wi-fi alliance) released the Wi-Fi Direct white paper, which introduced the basic information about this technology, the characteristics of this technology and the advantages of this technology. Function, the Wi-Fi Direct standard refers to allowing devices in a wireless network to connect to each other without going through a wireless router. Similar to Bluetooth technology, this standard allows wireless devices to be interconnected in a point-to-point manner, and has a significant increase in transmission speed and transmission distance compared to Bluetooth. By definition, a Wi-Fi CERTIFIED Wi-Fi Direct device is a device that supports peer-to-peer connections. This device supports both infrastructure networks and P2P connections. Wi-Fi Direct devices can join the infrastructure network as a typical station (STA) and must support the Wi-Fi Protected Setup joiner function. Wi-Fi Direct devices establish connections by forming teams (in one-to-one or one-to-many topologies) that work similarly to infrastructure BSSs. One Wi-Fi Direct device is responsible for the entire group, including controlling which devices join, when the group starts and ends, and more. This device acts as an access point to traditional client devices and can provide some of the services provided by an infrastructure access point. Initially, the new standard of the Wi-Fi Alliance® alliance was originally named "Wi-Fi peer-to-peer", and finally named WiFiDirect, which is aimed at various Wi-Fi devices, from computers to mobile phones, to computer peripherals, to Appliances and more. Devices that meet this standard can easily achieve direct connection with other devices, transfer data or share applications without the need for hotspots and routers. Wi-Fi Direct can support one-to-one direct connection, and can also connect multiple devices at the same time, and the Wi-Fi Direct standard will support all Wi-Fi devices, from 11a/b/g to 11n, different standards of Wi-Fi Fi devices can also be directly interconnected.
站点模式:类似于无线终端,本身并不接受无线的接入,它可以连接到AP,一般无线网卡即工作在该模式。Station mode: similar to a wireless terminal, it does not accept wireless access itself, it can be connected to an AP, and the general wireless network card works in this mode.
本实施例中,当检测到安卓系统启动完成,启动预置Miracast服务,加载预置无线网卡,开启点对点模式即站点模式。通过本实施例,安卓系统启动完成后,启动预置Miracast服务,相当于将Miracast服务作为电视系统服务启动,后续无需用户手动操作来启用Miracast服务;加载预置无线网卡,基于无线网卡的concurrent(并发)技术,使点对点模式及站点模式同时开启,点对点模式实现与终端设备的配对、连接,从而接收终端的屏幕数据,在电视屏幕上播放该屏幕数据对应的画面,即实现将终端屏幕投放至电视屏幕,站点模式实现电视连接网络的操作,保证了电视在使用Miracast功能时自身的网络连接不中断。In this embodiment, when it is detected that the startup of the Android system is completed, the preset Miracast service is started, the preset wireless network card is loaded, and the point-to-point mode, that is, the station mode, is turned on. Through this embodiment, after the Android system is started, the preset Miracast service is started, which is equivalent to starting the Miracast service as a TV system service, and subsequent user manual operations are not required to enable the Miracast service; the preset wireless network card is loaded, and the concurrent( Concurrent) technology enables the point-to-point mode and the site mode to be turned on at the same time. The point-to-point mode realizes pairing and connection with the terminal device, thereby receiving the screen data of the terminal, and playing the screen corresponding to the screen data on the TV screen, that is, realizing putting the terminal screen on the The TV screen, the station mode realizes the operation of connecting the TV to the network, ensuring that the TV's own network connection is not interrupted when using the Miracast function.
进一步的,本发明Miracast服务启动方法一实施例中,所述加载预置无线网卡,开启点对点模式及站点模式之后包括:Further, in an embodiment of the method for starting the Miracast service of the present invention, the loading of the preset wireless network card, after enabling the point-to-point mode and the station mode, includes:
检测是否接收到终端发送的配对请求,若接收到终端发送的配对请求,则对所述终端进行身份认证;Detecting whether the pairing request sent by the terminal is received, and if the pairing request sent by the terminal is received, performing identity authentication on the terminal;
当对所述终端身份认证通过后,反馈配对确认信息至所述终端;After passing the identity authentication of the terminal, feeding back pairing confirmation information to the terminal;
接收所述终端在接收到所述配对确认信息后发送的屏幕数据,在预置显示器上显示所述屏幕数据对应的画面内容。receiving the screen data sent by the terminal after receiving the pairing confirmation information, and displaying the screen content corresponding to the screen data on a preset display.
本实施例中,加载预置无线网卡,开启点对点模式及站点模式之后,智能电视端的Miracast服务已经开启,无需用户再去通过手动操作开启,用户仅需操作终端与智能电视进行配对即可,配对成功后,终端屏幕播放的内容便可投放至电视屏幕上。In this embodiment, after loading the preset wireless network card and turning on the point-to-point mode and the site mode, the Miracast service on the smart TV side has already been turned on, and there is no need for the user to start it manually. The user only needs to operate the terminal to pair with the smart TV. After success, the content played on the terminal screen can be placed on the TV screen.
本实施例中,终端例如智能手机,且该智能手机支持WiFi-Direct技术。Wi-FiDirect是一种认证标志,带有该标志的设备均支持一种具有突破意义的新技术,这种技术能够实现Wi-Fi设备的直接互联,帮助用户以更为简单而便捷的方式完成打印、共享、同步和显示等任务。带有Wi-Fi CERTIFIED Wi-Fi Direct标志的产品可以在不加入传统的家庭、办公或热点网络的情况下互相连接。利用这种技术,电视、手机、相机、打印机、PC与游戏设备将能够互相直接连接,以迅速而轻松地传输内容、共享应用。用户在智能手机上操作,通过开启智能手机的Miracast服务,基于WiFi-Direct技术,搜索智能手机周围开启了Miracast服务的设备,并将发现的开启了Miracast服务的设备的名称以列表形式展现在手机屏幕上。In this embodiment, the terminal is, for example, a smart phone, and the smart phone supports the WiFi-Direct technology. Wi-Fi Direct is a certification mark. Devices with this mark support a breakthrough new technology, which can realize the direct interconnection of Wi-Fi devices and help users complete Print, share, sync, and display tasks. Products bearing the Wi-Fi CERTIFIED Wi-Fi Direct logo can connect to each other without joining a traditional home, office or hotspot network. Using this technology, TVs, mobile phones, cameras, printers, PCs and gaming devices will be able to connect directly to each other to transfer content and share applications quickly and easily. The user operates on the smart phone, by turning on the Miracast service of the smart phone, based on the WiFi-Direct technology, searches for devices that have turned on the Miracast service around the smart phone, and displays the names of the found devices that have turned on the Miracast service in the form of a list on the phone on the screen.
本发明一实施例中,智能手机与智能电视的配对过程可以是:用户在待选列表中选择该智能电视的名称,智能手机接收到用户的操作,发送配对请求至该智能电视。智能电视接收到该配对请求后,反馈确认接收信息至智能手机,智能手机接收到该确认接收信息后,确定智能电视接收到了配对请求,接着在智能手机屏幕上弹出输入框,并提示用户输入配对码。智能电视中存储有合法配对码,例如“abcd”,该合法配对码由用户预先设置。当用户在输入框中输入“abcd”,点击确认后,智能手机将该配对码“abcd”发送至智能电视,智能电视接收到该配对码“abcd”后,与存储的合法配对码“abcd”进行对比,当检测到智能手机发送的配对码与智能电视中存储的合法配对码一致时,则对该智能手机的身份认证通过,反馈配对确认信息至该智能手机。当智能手机接收到配对确认信息后,便基于WiFi-Direct技术与该智能电视建立通讯连接,将自身的屏幕数据发送至智能电视,智能电视接收到智能手机发送的屏幕数据后,便将该屏幕数据对应的画面内容显示在智能电视屏幕上,如此便实现了将智能手机的屏幕画面投放至智能电视屏幕。In an embodiment of the present invention, the pairing process between the smart phone and the smart TV may be: the user selects the name of the smart TV in the waiting list, and the smart phone receives the user's operation and sends a pairing request to the smart TV. After the smart TV receives the pairing request, it feeds back confirmation information to the smart phone. After the smart phone receives the confirmation message, it determines that the smart TV has received the pairing request, and then pops up an input box on the smart phone screen and prompts the user to enter the pairing request. code. A legal pairing code, such as "abcd", is stored in the smart TV, and the legal pairing code is preset by the user. When the user enters "abcd" in the input box and clicks to confirm, the smart phone will send the pairing code "abcd" to the smart TV. For comparison, when it is detected that the pairing code sent by the smart phone is consistent with the legal pairing code stored in the smart TV, the identity authentication of the smart phone is passed, and the pairing confirmation information is fed back to the smart phone. When the smart phone receives the pairing confirmation information, it establishes a communication connection with the smart TV based on WiFi-Direct technology, and sends its own screen data to the smart TV. The picture content corresponding to the data is displayed on the screen of the smart TV, so that the screen picture of the smart phone can be projected to the screen of the smart TV.
本发明另一可选实施例中,智能手机与智能电视的配对过程还可以是:用户在待选列表中选择该智能电视的名称,智能手机接收到用户的操作,发送配对请求至该智能电视。智能电视接收到该配对请求后,获取该配对请求对应的终端身份信息。例如,获取该配对请求对应的终端的名称信息。例如,在本实施例中,发送该配对请求的智能手机的名称为“AAA”,则智能电视获取到的该配对请求对应的终端的身份信息为“AAA”。在智能电视中存储了曾经与该智能电视进行过成功配对的终端的名称信息。例如,智能电视中存储的曾经与该智能电视进行过成功配对的终端的名称信息包括:“AAA”、“BBB”、“CCC”,当前收到的配对请求对应的智能手机的名称为“AAA”,根据历史配对记录,表明该智能手机曾经与该智能电视成功配对,则对该智能手机的身份认证通过,反馈配对确认信息至该智能手机。当智能手机接收到配对确认信息后,便基于WiFi-Direct技术与该智能电视建立通讯连接,将自身的屏幕数据发送至智能电视,智能电视接收到智能手机发送的屏幕数据后,便将该屏幕数据对应的画面内容显示在智能电视屏幕上,如此便实现了将智能手机的屏幕画面投放至智能电视屏幕。In another optional embodiment of the present invention, the pairing process between the smart phone and the smart TV may also be: the user selects the name of the smart TV in the waiting list, and the smart phone receives the user's operation and sends a pairing request to the smart TV . After receiving the pairing request, the smart TV acquires terminal identity information corresponding to the pairing request. For example, the name information of the terminal corresponding to the pairing request is acquired. For example, in this embodiment, if the name of the smart phone sending the pairing request is "AAA", then the identity information of the terminal corresponding to the pairing request acquired by the smart TV is "AAA". Name information of terminals that have been successfully paired with the smart TV is stored in the smart TV. For example, the name information of terminals that have been successfully paired with the smart TV stored in the smart TV includes: "AAA", "BBB", and "CCC", and the name of the smart phone corresponding to the currently received pairing request is "AAA". ", according to the historical pairing record, indicating that the smart phone has been successfully paired with the smart TV, then the identity authentication of the smart phone is passed, and the pairing confirmation information is fed back to the smart phone. When the smart phone receives the pairing confirmation information, it establishes a communication connection with the smart TV based on WiFi-Direct technology, and sends its own screen data to the smart TV. The picture content corresponding to the data is displayed on the screen of the smart TV, so that the screen picture of the smart phone can be projected to the screen of the smart TV.
通过本实施例,当电视开机后,由于电视的Miracast服务随着电视系统服务一同启动了,用户若需使用电视的Miracast服务,无需再对电视进行手动操作以供开启Miracast服务,仅需操作终端,当终端与智能电视配对成功后,便可实现将终端的屏幕画面投放至智能电视屏幕。免去了用户手动开启智能电视Miracast服务的过程,使得用户使用Miracast服务更加便捷,提升用户使用体验。Through this embodiment, when the TV is turned on, since the Miracast service of the TV is started together with the TV system service, if the user needs to use the Miracast service of the TV, there is no need to manually operate the TV to enable the Miracast service, and only needs to operate the terminal , when the terminal is successfully paired with the smart TV, the screen image of the terminal can be projected to the smart TV screen. It eliminates the need for users to manually turn on the smart TV Miracast service, making it more convenient for users to use Miracast services and improving user experience.
进一步的,本发明Miracast服务启动方法一实施例中,所述若接收到终端发送的配对请求,则对所述终端进行身份认证包括:Further, in an embodiment of the method for starting the Miracast service of the present invention, if the pairing request sent by the terminal is received, performing identity authentication on the terminal includes:
若接收到终端发送的配对请求,则获取所述配对请求对应的配对码;If a pairing request sent by the terminal is received, obtaining a pairing code corresponding to the pairing request;
检测所述配对码是否为合法配对码,若所述配对码为合法配对码,则对所述终端的身份认证通过,若所述配对码不为合法配对码,则对所述终端的身份认证不通过。Detecting whether the pairing code is a legal pairing code, if the pairing code is a legal pairing code, the identity authentication of the terminal is passed, and if the pairing code is not a legal pairing code, the identity authentication of the terminal is passed Fail.
本发明一实施例中,用户在智能手机上操作,通过开启智能手机的Miracast服务,基于WiFi-Direct技术,搜索智能手机周围开启了Miracast服务的设备,并将发现的开启了Miracast服务的设备的名称以列表形式展现在手机屏幕上。用户在待选列表中选择该智能电视的名称,智能手机接收到用户的操作,发送配对请求至该智能电视。智能电视接收到该配对请求后,反馈确认接收信息至智能手机,智能手机接收到该确认接收信息后,确定智能电视接收到了配对请求,接着在智能手机屏幕上弹出输入框,并提示用户输入配对码。智能电视中存储有合法配对码,例如“abcd”,该合法配对码由用户预先设置。当用户在输入框中输入“abcd”,点击确认后,智能手机将该配对码“abcd”发送至智能电视,智能电视接收到该配对码“abcd”后,与存储的合法配对码“abcd”进行对比,当检测到智能手机发送的配对码与智能电视中存储的合法配对码一致时,则对该智能手机的身份认证通过,反馈配对确认信息至该智能手机。当智能手机接收到配对确认信息后,便基于WiFi-Direct技术与该智能电视建立通讯连接,将自身的屏幕数据发送至智能电视,智能电视接收到智能手机发送的屏幕数据后,便将该屏幕数据对应的画面内容显示在智能电视屏幕上,如此便实现了将智能手机的屏幕画面投放至智能电视屏幕。In one embodiment of the present invention, the user operates on the smart phone, by turning on the Miracast service of the smart phone, based on the WiFi-Direct technology, searches for devices around the smart phone that have turned on the Miracast service, and searches for devices that have turned on the Miracast service. The names are displayed on the screen of the mobile phone in the form of a list. The user selects the name of the smart TV in the waiting list, and the smart phone receives the user's operation and sends a pairing request to the smart TV. After the smart TV receives the pairing request, it feeds back confirmation information to the smart phone. After the smart phone receives the confirmation message, it determines that the smart TV has received the pairing request, and then pops up an input box on the smart phone screen and prompts the user to enter the pairing request. code. A legal pairing code, such as "abcd", is stored in the smart TV, and the legal pairing code is preset by the user. When the user enters "abcd" in the input box and clicks to confirm, the smart phone will send the pairing code "abcd" to the smart TV. For comparison, when it is detected that the pairing code sent by the smart phone is consistent with the legal pairing code stored in the smart TV, the identity authentication of the smart phone is passed, and the pairing confirmation information is fed back to the smart phone. When the smart phone receives the pairing confirmation information, it establishes a communication connection with the smart TV based on WiFi-Direct technology, and sends its own screen data to the smart TV. The picture content corresponding to the data is displayed on the screen of the smart TV, so that the screen picture of the smart phone can be projected to the screen of the smart TV.
通过本实施例,当电视开机后,由于电视的Miracast服务随着电视系统服务一同启动了,用户若需使用电视的Miracast服务,无需再对电视进行手动操作以供开启Miracast服务,仅需操作终端进行与智能电视的配对,当终端与智能电视配对成功后,便可实现将终端的屏幕画面投放至智能电视屏幕。免去了用户手动开启智能电视Miracast服务的过程,使得用户使用Miracast服务更加便捷,提升用户使用体验。Through this embodiment, when the TV is turned on, since the Miracast service of the TV is started together with the TV system service, if the user needs to use the Miracast service of the TV, there is no need to manually operate the TV to enable the Miracast service, and only needs to operate the terminal Perform pairing with the smart TV. When the terminal is successfully paired with the smart TV, the screen image of the terminal can be projected to the smart TV screen. It eliminates the need for users to manually turn on the smart TV Miracast service, making it more convenient for users to use Miracast services and improving user experience.
进一步的,本发明Miracast服务启动方法一实施例中,所述若接收到终端发送的配对请求,则对所述终端进行身份认证还包括:Further, in an embodiment of the method for starting the Miracast service of the present invention, if the pairing request sent by the terminal is received, performing identity authentication on the terminal further includes:
若接收到终端发送的配对请求,则获取所述配对请求对应的所述终端的身份信息;If the pairing request sent by the terminal is received, acquiring the identity information of the terminal corresponding to the pairing request;
检测是否存在所述身份信息对应的历史配对记录,若存在,则对所述终端的身份认证通过,若不存在,则对所述终端的身份认证不通过。Detecting whether there is a historical pairing record corresponding to the identity information, if it exists, the identity authentication of the terminal is passed, and if it does not exist, the identity authentication of the terminal is not passed.
本发明一实施例中,用户在智能手机上操作,通过开启智能手机的Miracast服务,基于WiFi-Direct技术,搜索智能手机周围开启了Miracast服务的设备,并将发现的开启了Miracast服务的设备的名称以列表形式展现在手机屏幕上。用户在待选列表中选择该智能电视的名称,智能手机接收到用户的操作,发送配对请求至该智能电视。智能电视接收到该配对请求后,获取该配对请求对应的终端身份信息。例如,获取该配对请求对应的终端的名称信息。例如,在本实施例中,发送该配对请求的智能手机的名称为“AAA”,则智能电视获取到的该配对请求对应的终端的身份信息为“AAA”。在智能电视中存储了曾经与该智能电视进行过成功配对的终端的名称信息。例如,智能电视中存储的曾经与该智能电视进行过成功配对的终端的名称信息包括:“AAA”、“BBB”、“CCC”,当前收到的配对请求对应的智能手机的名称为“AAA”,根据历史配对记录,表明该智能手机曾经与该智能电视成功配对,则对该智能手机的身份认证通过,反馈配对确认信息至该智能手机。当智能手机接收到配对确认信息后,便基于WiFi-Direct技术与该智能电视建立通讯连接,将自身的屏幕数据发送至智能电视,智能电视接收到智能手机发送的屏幕数据后,便将该屏幕数据对应的画面内容显示在智能电视屏幕上,如此便实现了将智能手机的屏幕画面投放至智能电视屏幕。本实施例中,当历史配对记录中不存在该配对请求对应的终端的身份信息时,则通过接收终端发送的配对码与智能电视中存储的合法配对码进行对比,若终端发送的配对码与合法配对码一致,则对该终端的身份认证通过,若终端发送的配对码与合法配对码不一致,则对该终端的身份认证不通过,基于配对码对终端进行身份认证的过程在上述以详细描述,在此不做赘述。In one embodiment of the present invention, the user operates on the smart phone, by turning on the Miracast service of the smart phone, based on the WiFi-Direct technology, searches for devices around the smart phone that have turned on the Miracast service, and searches for devices that have turned on the Miracast service. The names are displayed on the screen of the mobile phone in the form of a list. The user selects the name of the smart TV in the waiting list, and the smart phone receives the user's operation and sends a pairing request to the smart TV. After receiving the pairing request, the smart TV acquires terminal identity information corresponding to the pairing request. For example, the name information of the terminal corresponding to the pairing request is acquired. For example, in this embodiment, if the name of the smart phone sending the pairing request is "AAA", then the identity information of the terminal corresponding to the pairing request acquired by the smart TV is "AAA". Name information of terminals that have been successfully paired with the smart TV is stored in the smart TV. For example, the name information of terminals that have been successfully paired with the smart TV stored in the smart TV includes: "AAA", "BBB", and "CCC", and the name of the smart phone corresponding to the currently received pairing request is "AAA". ", according to the historical pairing record, indicating that the smart phone has been successfully paired with the smart TV, then the identity authentication of the smart phone is passed, and the pairing confirmation information is fed back to the smart phone. When the smart phone receives the pairing confirmation information, it establishes a communication connection with the smart TV based on WiFi-Direct technology, and sends its own screen data to the smart TV. The picture content corresponding to the data is displayed on the screen of the smart TV, so that the screen picture of the smart phone can be projected to the screen of the smart TV. In this embodiment, when the identity information of the terminal corresponding to the pairing request does not exist in the historical pairing record, the pairing code sent by the receiving terminal is compared with the legitimate pairing code stored in the smart TV. If the legal pairing code is the same, the identity authentication of the terminal is passed. If the pairing code sent by the terminal is inconsistent with the legal pairing code, the identity authentication of the terminal is not passed. The process of authenticating the terminal based on the pairing code is described in detail above. description and will not be repeated here.
通过本实施例,当电视开机后,由于电视的Miracast服务随着电视系统服务一同启动了,用户若需使用电视的Miracast服务,无需再对电视进行手动操作以供开启Miracast服务,仅需操作终端进行与智能电视的配对,当终端与智能电视配对成功后,便可实现将终端的屏幕画面投放至智能电视屏幕。免去了用户手动开启智能电视Miracast服务的过程,使得用户使用Miracast服务更加便捷,提升用户使用体验。Through this embodiment, when the TV is turned on, since the Miracast service of the TV is started together with the TV system service, if the user needs to use the Miracast service of the TV, there is no need to manually operate the TV to enable the Miracast service, and only needs to operate the terminal Perform pairing with the smart TV. When the terminal is successfully paired with the smart TV, the screen image of the terminal can be projected to the smart TV screen. It eliminates the need for users to manually turn on the smart TV Miracast service, making it more convenient for users to use Miracast services and improving user experience.
进一步的,本发明Miracast服务启动方法一实施例中,所述若接收到终端发送的配对请求,则对所述终端进行身份认证之后包括:Further, in an embodiment of the method for starting the Miracast service of the present invention, if the pairing request sent by the terminal is received, performing identity authentication on the terminal includes:
当对所述终端的身份认证不通过时,输出告警。When the identity authentication of the terminal fails, an alarm is output.
本实施例中,当通过上述方式对终端进行身份认证,且对终端的身份认证不通过时,输出告警。本实施例中,输出告警的形式可以是:语音,例如发出“与设备xxx(设备名)配对失败”的提示音;文字,例如在电视屏幕上预设位置显示“与设备xxx(设备名)配对失败”的文字信息;灯光闪烁,例如智能电视的呼吸灯闪烁10下。In this embodiment, when the identity authentication of the terminal is performed in the above manner, and the identity authentication of the terminal fails, an alarm is output. In this embodiment, the form of the output alarm can be: voice, for example, sending a prompt sound of "failed to pair with device xxx (device name)"; text, for example, displaying "with device xxx (device name)" at a preset position on the TV screen "Pairing failed" text message; the light flashes, for example, the breathing light of the smart TV flashes 10 times.
本实施例中,当智能电视对终端的身份认证不通过时,即当前无法与终端进行配对,发出告警,以供提示用户重新操作终端与智能电视进行配对。In this embodiment, when the identity authentication of the smart TV to the terminal fails, that is, it cannot be paired with the terminal at present, an alarm is issued to prompt the user to re-operate the terminal to pair with the smart TV.
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有Miracast服务启动程序,所述Miracast服务启动程序被处理器执行时实现如上所述的Miracast服务启动方法的步骤。In addition, an embodiment of the present invention also proposes a computer-readable storage medium, on which a Miracast service startup program is stored, and when the Miracast service startup program is executed by a processor, the above-mentioned Miracast service startup is implemented. method steps.
本发明计算机可读存储介质的具体实施例与上述Miracast服务启动方法的各个实施例基本相同,在此不做赘述。The specific embodiments of the computer-readable storage medium of the present invention are basically the same as the above embodiments of the method for starting the Miracast service, and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711081071.9A CN107809663A (en) | 2017-11-06 | 2017-11-06 | Miracast serving starting methods, intelligent television and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711081071.9A CN107809663A (en) | 2017-11-06 | 2017-11-06 | Miracast serving starting methods, intelligent television and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107809663A true CN107809663A (en) | 2018-03-16 |
Family
ID=61583592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711081071.9A Pending CN107809663A (en) | 2017-11-06 | 2017-11-06 | Miracast serving starting methods, intelligent television and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107809663A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111294629A (en) * | 2020-03-05 | 2020-06-16 | 江苏省广电有线信息网络股份有限公司苏州分公司 | Intelligent set top box wireless screen projection management and control system and method |
CN112969081A (en) * | 2021-02-10 | 2021-06-15 | 深圳创维-Rgb电子有限公司 | Television split-screen projection method and system and smart television |
CN113079578A (en) * | 2021-03-29 | 2021-07-06 | 成都飞鱼星科技股份有限公司 | Smart screen wireless screen projection data priority transmission method and system |
CN113079404A (en) * | 2021-03-26 | 2021-07-06 | 宁波市鄞州区迦叶智能科技有限公司 | Fly screen interaction system applied to multiple fields |
CN115065851A (en) * | 2022-06-09 | 2022-09-16 | 深圳创维-Rgb电子有限公司 | Screen projection method supporting multi-device connection, electronic device and readable storage medium |
CN115454809A (en) * | 2021-06-08 | 2022-12-09 | 宁波升维信息技术有限公司 | Method for restoring Windows Miracast wireless screen projection |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103475907A (en) * | 2013-09-23 | 2013-12-25 | 珠海迈科电子科技有限公司 | Multi-screen control method and device |
CN103702175A (en) * | 2013-12-28 | 2014-04-02 | 珠海全志科技股份有限公司 | Multi-screen interactive method and multi-screen interactive device |
CN103888515A (en) * | 2014-02-26 | 2014-06-25 | 四川长虹电器股份有限公司 | Media resource sharing method based on browser |
JP2015162040A (en) * | 2014-02-27 | 2015-09-07 | シャープ株式会社 | Electronic apparatus |
US20150350690A1 (en) * | 2014-06-02 | 2015-12-03 | Sonifi Solutions, Inc. | Implementing screen sharing functionality over a communication network |
CN105264926A (en) * | 2013-06-07 | 2016-01-20 | 高通股份有限公司 | Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications |
CN105704226A (en) * | 2016-03-11 | 2016-06-22 | 北京奇虎科技有限公司 | Intelligent terminal and network configuration method thereof |
CN105791338A (en) * | 2014-12-22 | 2016-07-20 | Tcl集团股份有限公司 | A method and system for multi-screen interaction based on WiFi AP |
CN105847321A (en) * | 2016-03-11 | 2016-08-10 | 北京奇虎科技有限公司 | Intelligent terminal and system permission-free network configuration method thereof |
CN105872945A (en) * | 2015-12-31 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Wireless display connection method and system, transmitting terminal equipment and receiving terminal equipment |
CN106792823A (en) * | 2016-12-28 | 2017-05-31 | 青岛海信电器股份有限公司 | A kind of terminal connection method and device based on Miracast |
-
2017
- 2017-11-06 CN CN201711081071.9A patent/CN107809663A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105264926A (en) * | 2013-06-07 | 2016-01-20 | 高通股份有限公司 | Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications |
CN103475907A (en) * | 2013-09-23 | 2013-12-25 | 珠海迈科电子科技有限公司 | Multi-screen control method and device |
CN103702175A (en) * | 2013-12-28 | 2014-04-02 | 珠海全志科技股份有限公司 | Multi-screen interactive method and multi-screen interactive device |
CN103888515A (en) * | 2014-02-26 | 2014-06-25 | 四川长虹电器股份有限公司 | Media resource sharing method based on browser |
JP2015162040A (en) * | 2014-02-27 | 2015-09-07 | シャープ株式会社 | Electronic apparatus |
US20150350690A1 (en) * | 2014-06-02 | 2015-12-03 | Sonifi Solutions, Inc. | Implementing screen sharing functionality over a communication network |
CN105791338A (en) * | 2014-12-22 | 2016-07-20 | Tcl集团股份有限公司 | A method and system for multi-screen interaction based on WiFi AP |
CN105872945A (en) * | 2015-12-31 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Wireless display connection method and system, transmitting terminal equipment and receiving terminal equipment |
CN105704226A (en) * | 2016-03-11 | 2016-06-22 | 北京奇虎科技有限公司 | Intelligent terminal and network configuration method thereof |
CN105847321A (en) * | 2016-03-11 | 2016-08-10 | 北京奇虎科技有限公司 | Intelligent terminal and system permission-free network configuration method thereof |
CN106792823A (en) * | 2016-12-28 | 2017-05-31 | 青岛海信电器股份有限公司 | A kind of terminal connection method and device based on Miracast |
Non-Patent Citations (1)
Title |
---|
西门萝卜: "开机自动打开、连接Miracast", 《BLOG.CSDN.NET》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111294629A (en) * | 2020-03-05 | 2020-06-16 | 江苏省广电有线信息网络股份有限公司苏州分公司 | Intelligent set top box wireless screen projection management and control system and method |
CN112969081A (en) * | 2021-02-10 | 2021-06-15 | 深圳创维-Rgb电子有限公司 | Television split-screen projection method and system and smart television |
CN113079404A (en) * | 2021-03-26 | 2021-07-06 | 宁波市鄞州区迦叶智能科技有限公司 | Fly screen interaction system applied to multiple fields |
CN113079578A (en) * | 2021-03-29 | 2021-07-06 | 成都飞鱼星科技股份有限公司 | Smart screen wireless screen projection data priority transmission method and system |
CN115454809A (en) * | 2021-06-08 | 2022-12-09 | 宁波升维信息技术有限公司 | Method for restoring Windows Miracast wireless screen projection |
CN115065851A (en) * | 2022-06-09 | 2022-09-16 | 深圳创维-Rgb电子有限公司 | Screen projection method supporting multi-device connection, electronic device and readable storage medium |
CN115065851B (en) * | 2022-06-09 | 2024-05-31 | 深圳创维-Rgb电子有限公司 | Screen projection method supporting multi-device connection, electronic device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107809663A (en) | Miracast serving starting methods, intelligent television and storage medium | |
TWI532392B (en) | Access control for wireless docking | |
TWI527488B (en) | Wireless docking architecture | |
KR102741207B1 (en) | Communication apparatus, control method, and computer-readable storage medium | |
TWI535325B (en) | Utilization and configuration of wireless docking environments | |
CN104704906B (en) | The method and system of WFD connections is established in direct-connected (WFD) network environment of Wireless Fidelity | |
WO2017054355A1 (en) | Wireless network access method, device and system | |
US10420156B2 (en) | Wireless communication terminal, wireless communication system, wireless communication method, and non-transitory medium saving program | |
TWI543654B (en) | Wireless docking | |
US20150120869A1 (en) | Communication apparatus and method for controlling the same | |
CN105636237A (en) | Network connection method, wireless device and system | |
KR20140020179A (en) | Apparatus and method for connecting service reflected in user intent | |
CN104394127A (en) | A multimedia sharing method, device and system | |
US10104153B2 (en) | Method and device for processing information | |
US20170055203A1 (en) | Service discovery method and device in wireless communication system | |
CN106068208A (en) | Automatic switching method and device | |
US20180262801A1 (en) | Method and device for changing orientation of image by wfd sink | |
KR20150047278A (en) | Image display apparatus for conducting auto wireless communication among devices and image displaying method thereof | |
US10540302B2 (en) | Method and apparatus for switching input character in WFD | |
US20220286731A1 (en) | Multimedia apparatus and cast method | |
WO2017076028A1 (en) | Method and system for one key connection between mobile terminal and display device | |
US9900829B2 (en) | Communication device, method for controlling the communication device, and program | |
TW201427463A (en) | Broadcasting system and method for multimedia bitstream | |
CN103781138A (en) | Method, apparatus and system for connecting WiMo sending terminal to WLAN | |
CN105791965A (en) | A device connection processing method, system and related equipment in screen sharing |
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 |