CN103324883B - A kind of authentication method of multimedia play terminal, terminal, server and system - Google Patents
A kind of authentication method of multimedia play terminal, terminal, server and system Download PDFInfo
- Publication number
- CN103324883B CN103324883B CN201310253846.1A CN201310253846A CN103324883B CN 103324883 B CN103324883 B CN 103324883B CN 201310253846 A CN201310253846 A CN 201310253846A CN 103324883 B CN103324883 B CN 103324883B
- Authority
- CN
- China
- Prior art keywords
- authentication
- multimedia player
- multimedia
- player terminal
- information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种多媒体播放终端的认证方法、终端、服务器以及系统,其中多媒体播放终端的认证方法包括:多媒体播放终端获取与其配对的多媒体播放客户端发送的认证消息,所述认证消息中携带一个认证字符串;所述多媒体播放终端根据预设的认证信息对所述认证字符串进行处理得到第一认证代码;所述多媒体播放终端向所述多媒体播放客户端返回处理结果消息,以使所述多媒体播放客户端根据所述处理结果消息对所述多媒体播放终端进行设备认证,所述处理结果消息中包括所述第一认证代码。采用本发明,可以让多媒体播放客户端对多媒体播放终端进行设备认证,从而有效的鉴别经过正规授权的多媒体播放终端。
The embodiment of the present invention discloses an authentication method, terminal, server and system for a multimedia player terminal, wherein the authentication method for a multimedia player terminal includes: the multimedia player terminal acquires an authentication message sent by a multimedia player client paired with it, and the authentication message carries an authentication character string; the multimedia player terminal processes the authentication character string according to the preset authentication information to obtain a first authentication code; the multimedia player terminal returns a processing result message to the multimedia player client to enabling the multimedia player client to perform device authentication on the multimedia player terminal according to the processing result message, where the processing result message includes the first authentication code. By adopting the invention, the multimedia player client can perform device authentication on the multimedia player terminal, so as to effectively identify the formally authorized multimedia player terminal.
Description
技术领域technical field
本发明涉及一种计算机技术领域,尤其涉及一种多媒体播放终端的认证方法、终端、服务器以及系统。The invention relates to the field of computer technology, in particular to an authentication method, terminal, server and system for a multimedia player terminal.
背景技术Background technique
随着计算机电子技术的不断发展,人们经常使用手机等移动终端播放多媒体文件,但是由于移动终端便携性的要求往往导致音视频等多媒体播放效果受到限制,现有技术中移动终端可以通过无线技术与局域网内的音响、车载终端、数字电视等多媒体播放终端进行配对,从而可以在移动终端上控制配对的多媒体播放终端播放目标多媒体文件。目前市场上出现了多种类支持上述无线配对协议,例如DLNA(Digital Living Network Alliance,数字生活网络连盟)协议的多媒体播放终端,其中混杂有未经授权的多媒体播放终端,其对协议的支持以及多媒体播放效果经常达不到要求,十分影响用户使用体验,同时给经过正规授权的多媒体播放终端的声誉及利益造成了损失。With the continuous development of computer electronic technology, people often use mobile terminals such as mobile phones to play multimedia files, but due to the portability requirements of mobile terminals, the effect of multimedia playback such as audio and video is often limited. The mobile terminal can control the paired multimedia player terminal to play the target multimedia file. At present, there are many types of multimedia playback terminals that support the above wireless pairing protocols, such as the DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol, among which there are unauthorized multimedia playback terminals. The multimedia playback effect often fails to meet the requirements, which greatly affects the user experience, and at the same time causes damage to the reputation and interests of the officially authorized multimedia playback terminal.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种多媒体播放终端的认证方法、终端、服务器以及系统,可以对配对的多媒体播放终端进行认证,让用户方便的鉴别经过正规授权的多媒体播放终端。In view of this, the embodiment of the present invention provides an authentication method, terminal, server and system for a multimedia player terminal, which can authenticate paired multimedia player terminals, allowing users to easily identify officially authorized multimedia player terminals.
为了解决上述技术问题,本发明实施例提供了一种多媒体播放终端的认证方法,所述方法包括:In order to solve the above technical problems, an embodiment of the present invention provides an authentication method for a multimedia playback terminal, the method comprising:
多媒体播放终端获取与其配对的多媒体播放客户端发送的认证消息,所述认证消息中携带一个认证字符串;The multimedia player terminal obtains the authentication message sent by the multimedia player client paired with it, and the authentication message carries an authentication string;
所述多媒体播放终端根据预设的认证信息对所述认证字符串进行处理得到第一认证代码;The multimedia player terminal processes the authentication character string according to preset authentication information to obtain a first authentication code;
所述多媒体播放终端向所述多媒体播放客户端返回处理结果消息,以使所述多媒体播放客户端根据所述处理结果消息对所述多媒体播放终端进行设备认证,所述处理结果消息中包括所述第一认证代码。The multimedia player terminal returns a processing result message to the multimedia player client, so that the multimedia player client performs device authentication on the multimedia player terminal according to the processing result message, and the processing result message includes the First authentication code.
相应地,本发明实施例还提供了一种多媒体播放终端,所述多媒体播放终端包括:Correspondingly, the embodiment of the present invention also provides a multimedia playback terminal, the multimedia playback terminal includes:
认证消息获取模块,用于获取与所述多媒体播放终端配对的多媒体播放客户端发送的认证消息,所述认证消息中携带一个认证字符串;An authentication message acquiring module, configured to acquire an authentication message sent by a multimedia player client paired with the multimedia player terminal, wherein the authentication message carries an authentication character string;
认证处理模块,用于根据预设的认证信息对所述认证字符串进行处理得到第一认证代码;An authentication processing module, configured to process the authentication string according to preset authentication information to obtain a first authentication code;
处理结果返回模块,用于向所述多媒体播放客户端返回处理结果消息,以使所述多媒体播放客户端根据所述处理结果消息对所述多媒体播放终端进行设备认证,所述处理结果消息中包括所述第一认证代码。A processing result return module, configured to return a processing result message to the multimedia player client, so that the multimedia player client performs device authentication on the multimedia player terminal according to the processing result message, and the processing result message includes The first authentication code.
相应的,本发明实施例还提供了一种多媒体播放客户端,所述多媒体播放客户端包括:Correspondingly, the embodiment of the present invention also provides a multimedia playback client, and the multimedia playback client includes:
认证消息发送模块,用于向与所述多媒体播放客户端配对的多媒体播放终端发送认证消息,所述认证消息中携带一个认证字符串,以使所述多媒体播放终端根据预设的认证信息对所述认证字符串进行处理得到第一认证代码;An authentication message sending module, configured to send an authentication message to a multimedia player terminal paired with the multimedia player client, wherein the authentication message carries an authentication character string, so that the multimedia player terminal performs authentication on the multimedia player terminal according to preset authentication information. Process the authentication string to obtain the first authentication code;
处理结果获取模块,用于获取所述多媒体播放终端返回的处理结果消息,,所述处理结果消息中包括所述第一认证代码;A processing result obtaining module, configured to obtain a processing result message returned by the multimedia player terminal, wherein the processing result message includes the first authentication code;
设备认证模块,用于根据所述处理结果消息对所述多媒体播放终端进行设备认证。A device authentication module, configured to perform device authentication on the multimedia player terminal according to the processing result message.
相应的,本发明实施例还提供了一种多媒体服务器,所述多媒体服务器包括:Correspondingly, the embodiment of the present invention also provides a kind of multimedia server, and described multimedia server comprises:
认证请求获取模块,用于获取多媒体播放客户端发送的认证请求消息,所述认证请求消息中包括认证字符串和由与所述多媒体播放客户端配对的多媒体播放终端根据所述认证字符串以及预设的认证信息处理得到的第一认证代码;An authentication request obtaining module, configured to obtain an authentication request message sent by a multimedia player client, wherein the authentication request message includes an authentication character string and a multimedia player terminal paired with the multimedia player client according to the authentication character string and the pre-set The first authentication code obtained by processing the authentication information set;
认证模块,用于根据所述认证请求消息对所述多媒体播放终端进行设备认证;An authentication module, configured to perform device authentication on the multimedia player terminal according to the authentication request message;
认证结果返回模块,用于向所述多媒体播放客户端返回针对所述多媒体播放终端的设备认证结果。The authentication result returning module is used to return the device authentication result for the multimedia playing terminal to the multimedia playing client.
相应的,本发明实施例还提供了一种多媒体播放终端的认证系统,所述多媒体播放终端的认证系统包括多媒体播放终端和与其配对的多媒体播放客户端,其中:Correspondingly, the embodiment of the present invention also provides an authentication system for a multimedia player terminal, the authentication system for a multimedia player terminal includes a multimedia player terminal and a multimedia player client paired with it, wherein:
所述多媒体播放终端为如前文所述的多媒体播放终端,用于获取所述多媒体播放客户端发送的认证消息,所述认证消息中携带一个认证字符串,根据预设的认证信息对所述认证字符串进行处理得到第一认证代码,向所述多媒体播放客户端返回处理结果消息,所述处理结果消息中包括所述第一认证代码;The multimedia player terminal is the multimedia player terminal as described above, which is used to obtain the authentication message sent by the multimedia player client, the authentication message carries an authentication character string, and the authentication is performed according to the preset authentication information. The character string is processed to obtain a first authentication code, and a processing result message is returned to the multimedia player client, and the processing result message includes the first authentication code;
所述多媒体播放客户端为如前文所述的多媒体播放客户端,用于向所述多媒体播放终端发送认证消息,获取所述多媒体播放终端返回的处理结果消息,根据所述处理结果消息对所述多媒体播放终端进行设备认证。The multimedia player client is a multimedia player client as described above, which is used to send an authentication message to the multimedia player terminal, obtain a processing result message returned by the multimedia player terminal, and perform the processing according to the processing result message. The multimedia player terminal performs device authentication.
本发明实施例通过多媒体播放终端获取与其配对的多媒体播放客户端发送的认证消息,对认证消息中的认证字符串进行认证处理并将结果返回给多媒体播放客户端,从而可以让多媒体播放客户端对多媒体播放终端进行设备认证,可以有效的鉴别经过正规授权的多媒体播放终端。In the embodiment of the present invention, the multimedia player terminal obtains the authentication message sent by the multimedia player client paired with it, performs authentication processing on the authentication character string in the authentication message and returns the result to the multimedia player client, so that the multimedia player client can recognize The multimedia player terminal performs device authentication, which can effectively identify the formally authorized multimedia player terminal.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例中的一种多媒体播放终端的认证方法的流程示意图;FIG. 1 is a schematic flow diagram of an authentication method for a multimedia playback terminal in an embodiment of the present invention;
图2是本发明另一实施例中的多媒体播放终端的认证方法的流程示意图;Fig. 2 is a schematic flow chart of an authentication method of a multimedia player terminal in another embodiment of the present invention;
图3是本发明实施例中的多媒体服务器根据所述认证请求消息对所述多媒体播放终端进行设备认证的流程示意图;3 is a schematic flow diagram of the multimedia server performing device authentication on the multimedia player terminal according to the authentication request message in an embodiment of the present invention;
图4是本发明实施例中的一种多媒体播放终端的结构示意图;FIG. 4 is a schematic structural diagram of a multimedia playback terminal in an embodiment of the present invention;
图5是本发明实施例中的一种多媒体播放客户端的结构示意图;Fig. 5 is a schematic structural diagram of a multimedia playback client in an embodiment of the present invention;
图6是本发明实施例中的多媒体播放客户端中设备认证模块的结构示意图;6 is a schematic structural diagram of a device authentication module in a multimedia player client in an embodiment of the present invention;
图7是本发明实施例中的一种多媒体服务器的结构示意图;FIG. 7 is a schematic structural diagram of a multimedia server in an embodiment of the present invention;
图8是本发明实施例中的多媒体服务器中认证模块的结构示意图;Fig. 8 is a schematic structural diagram of an authentication module in a multimedia server in an embodiment of the present invention;
图9是本发明实施例中的多媒体播放终端的认证系统的结构示意图。FIG. 9 is a schematic structural diagram of an authentication system for a multimedia player terminal in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例中的多媒体播放客户端可以指PC(Personal Computer,个人计算机)、平板电脑、手机、智能手机、笔记本电脑等终端设备中的多媒体播放客户端模块,例如音乐播放客户端、视频播放客户端等;所述多媒体播放终端可以独立于与所述多媒体播放客户端所在的终端设备,例如音响、车载终端、数字电视等;所述多媒体服务器可以为音乐服务器、视频服务器等,所述多媒体播放终端可以通过无线局域网内的通信协议与多媒体播放客户端建立通信从而进行配对,多媒体播放客户端经过登录用户账号可以通过互联网与多媒体服务器进行通信。The multimedia player client in the embodiment of the present invention can refer to the multimedia player client module in terminal devices such as PC (Personal Computer, personal computer), panel computer, mobile phone, smart phone, notebook computer, for example music player client, video player Client, etc.; the multimedia player terminal can be independent of the terminal equipment where the multimedia player client is located, such as audio, vehicle terminal, digital TV, etc.; the multimedia server can be a music server, video server, etc., the multimedia The playback terminal can establish communication with the multimedia playback client through the communication protocol in the wireless local area network to perform pairing, and the multimedia playback client can communicate with the multimedia server through the Internet through the login user account.
图1是本发明实施例中的一种多媒体播放终端的认证方法的流程示意图,如图所示实施例中的多媒体播放终端的认证方法流程包括:Fig. 1 is a schematic flow chart of an authentication method for a multimedia playback terminal in an embodiment of the present invention, and the flow chart of the authentication method for a multimedia playback terminal in the embodiment as shown in the figure includes:
S101,多媒体播放终端获取与其配对的多媒体播放客户端发送的认证消息,所述认证消息中携带一个认证字符串。S101. The multimedia player terminal acquires an authentication message sent by a multimedia player client paired with it, where the authentication message carries an authentication character string.
具体的,多媒体播放客户端可以在与多媒体播放终端通过无线局域网建立通信后,向多媒体播放终端发送携带认证字符串的认证消息,所述认证字符串可以为随机生成得到的,也可以为预设的认证字符串。Specifically, the multimedia player client may send an authentication message carrying an authentication string to the multimedia player terminal after establishing communication with the multimedia player terminal through the wireless local area network. The authentication string may be randomly generated or preset. authentication string.
S102,多媒体播放终端根据预设的认证信息对所述认证字符串进行处理得到第一认证代码。S102. The multimedia player terminal processes the authentication character string according to preset authentication information to obtain a first authentication code.
具体实现中,所述多媒体播放终端中可以预设认证信息,例如由多媒体播放终端的生产商在其出厂时预设,也可以为多媒体播放终端在首次与多媒体播放客户端配对时向多媒体服务器请求得到,该认证信息可以包括认证算法和认证密钥,不同生产商的多媒体播放终端可以具有不同的认证信息,例如多媒体服务器为每个多媒体播放终端的生产商分配唯一对应的认证密钥,在可选实施例中,也可以为多媒体服务器为每个多媒体播放终端分配唯一的认证密钥,所述认证密钥可以为PSK(pre-shared key,预共享密钥模式)密钥。多媒体播放终端在接收到多媒体播放客户端发送的认证消息后,可以调用预设的认证信息中的认证密钥和认证算法对认证消息中的认证字符串进行处理,得到第一认证代码。In a specific implementation, the authentication information can be preset in the multimedia player terminal, for example, it is preset by the manufacturer of the multimedia player terminal when it leaves the factory, or it can be requested by the multimedia server when the multimedia player terminal is paired with the multimedia player client for the first time. Obtained, the authentication information may include an authentication algorithm and an authentication key, and multimedia playback terminals of different manufacturers may have different authentication information, for example, the multimedia server assigns a unique corresponding authentication key to the manufacturer of each multimedia playback terminal. In an optional embodiment, the multimedia server may also assign a unique authentication key to each multimedia playback terminal, and the authentication key may be a PSK (pre-shared key, pre-shared key mode) key. After receiving the authentication message sent by the multimedia player client, the multimedia player terminal can call the authentication key and authentication algorithm in the preset authentication information to process the authentication character string in the authentication message to obtain the first authentication code.
S103,所述多媒体播放终端向所述多媒体播放客户端返回处理结果消息,以使所述多媒体播放客户端根据所述处理结果消息对所述多媒体播放终端进行设备认证,所述处理结果消息中包括所述第一认证代码,可选的还可以包括所述多媒体播放终端的设备信息,如厂商信息如厂商ID(mid,manufacturerIDentity),设备信息如设备ID(did,device IDentity)。S103. The multimedia player terminal returns a processing result message to the multimedia player client, so that the multimedia player client performs device authentication on the multimedia player terminal according to the processing result message, and the processing result message includes The first authentication code may also optionally include device information of the multimedia player terminal, such as manufacturer information such as manufacturer ID (mid, manufacturerIDentity), and device information such as device ID (did, device IDentity).
具体实现中,多媒体播放客户端可以预先获取所述认证字符串对应的第二认证代码,例如根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,或将所述认证字符串发给多媒体服务器由多媒体服务器根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,进而多媒体播放客户端通过对比第二认证代码与第一认证代码是否一致从而判断该多媒体播放终端是否合法的终端。在可选实施例中,多媒体播放客户端在接收到多媒体播放终端返回的处理结果消息后,可以将所述第一认证代码和所述认证字符串发送至多媒体服务器,由多媒体服务器根据预设的认证信息对该认证字符串进行处理,对比处理得到的第二认证代码与第一认证代码是否一致判断该多媒体播放终端是否是合法的终端,并将设备认证结果返回给多媒体播放客户端。In a specific implementation, the multimedia player client may pre-acquire the second authentication code corresponding to the authentication string, for example, process the authentication string according to the preset authentication information to obtain the second authentication code, or convert the authentication character The string is sent to the multimedia server, and the multimedia server processes the authentication string according to the preset authentication information to obtain a second authentication code, and then the multimedia playback client judges whether the multimedia player is consistent with the second authentication code and the first authentication code. Whether the playback terminal is a legal terminal. In an optional embodiment, after receiving the processing result message returned by the multimedia player terminal, the multimedia player client can send the first authentication code and the authentication string to the multimedia server, and the multimedia server can send the first authentication code and the authentication string to the multimedia server according to the preset The authentication information processes the authentication string, compares whether the obtained second authentication code is consistent with the first authentication code to determine whether the multimedia player terminal is a legal terminal, and returns the device authentication result to the multimedia player client.
进一步可选的,多媒体服务器可以首先根据多媒体播放终端的设备信息查找对应的认证信息,然后使用该对应的认证信息对所述认证字符串进行处理得到第二认证代码。多媒体播放客户端得到针对多媒体播放终端的设备认证结果后,可以在多媒体播放界面向用户提示设备认证结果,还可以将该设备认证结果发送至多媒体服务器进行举报。Further optionally, the multimedia server may first search for corresponding authentication information according to the device information of the multimedia player terminal, and then use the corresponding authentication information to process the authentication string to obtain the second authentication code. After the multimedia player client obtains the device authentication result for the multimedia player terminal, it can prompt the user with the device authentication result on the multimedia player interface, and can also send the device authentication result to the multimedia server for reporting.
图2是本发明另一实施例中的多媒体播放终端的认证方法的流程示意图,如图所示本实施例中多媒体播放终端的认证流程可以包括:Fig. 2 is a schematic flow diagram of an authentication method of a multimedia player terminal in another embodiment of the present invention, as shown in the figure, the authentication process of a multimedia player terminal in this embodiment may include:
S201,多媒体播放客户端向与其配对的多媒体播放中的发送认证消息,所述认证消息中携带一个认证字符串,本实施例中的认证字符串由多媒体播放客户端随机生成得到。S201, the multimedia player client sends an authentication message to the paired multimedia player, the authentication message carries an authentication string, and the authentication string in this embodiment is randomly generated by the multimedia player client.
S202,多媒体播放终端根据预设的认证信息对所述认证字符串进行处理得到第一认证代码。具体的,所述多媒体播放终端中预设的认证信息多媒体播放终端的生产商在其出厂时预设,可以包括认证算法和认证密钥,本实施例中多媒体播放终端预设的认证信息与多媒体播放终端的设备信息对应,尤其认证密钥与多媒体播放终端的厂商信息唯一对应。S202. The multimedia player terminal processes the authentication character string according to preset authentication information to obtain a first authentication code. Specifically, the authentication information preset in the multimedia player terminal is preset by the manufacturer of the multimedia player terminal when it leaves the factory, and may include an authentication algorithm and an authentication key. In this embodiment, the preset authentication information of the multimedia player terminal is related to the multimedia The device information of the playback terminal is corresponding, especially the authentication key is uniquely corresponding to the manufacturer information of the multimedia playback terminal.
S203,多媒体播放终端向所述多媒体播放客户端返回处理结果消息,所述处理结果消息中包括所述第一认证代码,可选的还可以包括所述多媒体播放终端的设备信息。S203. The multimedia player terminal returns a processing result message to the multimedia player client, where the processing result message includes the first authentication code, and optionally may also include device information of the multimedia player terminal.
S204,多媒体播放客户端向多媒体服务器发送认证请求消息,所述认证请求消息中包括所述认证字符串和所述第一认证代码,还可以包括所述多媒体播放终端的设备信息。S204. The multimedia player client sends an authentication request message to the multimedia server, where the authentication request message includes the authentication character string and the first authentication code, and may also include device information of the multimedia player terminal.
S205,多媒体服务器根据所述认证请求消息对所述多媒体播放终端进行设备认证。具体的,多媒体服务器可以根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,并对比第一认证代码和第二认证代码是否一致,若一致则对所述多媒体播放终端进行的设备认证成功。多媒体服务器具体的认证流程可以如下文结合图3的详细叙述。S205. The multimedia server performs device authentication on the multimedia player terminal according to the authentication request message. Specifically, the multimedia server may process the authentication character string according to the preset authentication information to obtain a second authentication code, and compare whether the first authentication code and the second authentication code are consistent, and if they are consistent, perform a check on the multimedia player terminal. The device authentication was successful. The specific authentication process of the multimedia server can be described in detail in conjunction with FIG. 3 below.
S206,多媒体服务器向多媒体播放客户端返回针对所述多媒体播放终端的设备认证结果。多媒体播放客户端得到针对多媒体播放终端的设备认证结果后,可以在多媒体播放界面向用户提示设备认证结果。S206. The multimedia server returns a device authentication result for the multimedia player terminal to the multimedia player client. After the multimedia player client obtains the device authentication result for the multimedia player terminal, it can prompt the user with the device authentication result on the multimedia player interface.
图3是本发明实施例中的多媒体服务器根据所述认证请求消息对所述多媒体播放终端进行设备认证的流程示意图,如图所示包括:Fig. 3 is a schematic flow diagram of the multimedia server performing device authentication on the multimedia playback terminal according to the authentication request message in the embodiment of the present invention, as shown in the figure, including:
S301,多媒体服务器获取与所述多媒体播放终端的设备信息对应的认证信息。S301. The multimedia server acquires authentication information corresponding to the device information of the multimedia player terminal.
具体实现中,多媒体服务器可以预设多媒体播放终端的设备信息与认证信息的对应关系,并预先为多媒体播放终端的生产商分配对应的认证信息使其在生产的多媒体播放终端中预埋与其设备信息对应的认证信息,具体的,多媒体服务器可以为不同生厂商分配与其厂商ID唯一对应的认证密钥。多媒体服务器在获取到媒体播放客户发送的认证请求消息后,可以通过认证请求消息中携带的多媒体播放终端的设备信息查找与其设备信息对应的认证信息,查找到则执行S302,若查找不到,则表示该多媒体播放终端为非法设备,可以直接得到针对该多媒体播放终端的设备认证失败的结果,即S305。In a specific implementation, the multimedia server can preset the corresponding relationship between the equipment information of the multimedia player terminal and the authentication information, and pre-allocate the corresponding authentication information for the manufacturer of the multimedia player terminal so that it can pre-embed its equipment information in the produced multimedia player terminal. Corresponding authentication information, specifically, the multimedia server may assign authentication keys uniquely corresponding to the manufacturer IDs for different manufacturers. After the multimedia server obtains the authentication request message sent by the media player client, it can search for the authentication information corresponding to the device information through the device information of the multimedia player terminal carried in the authentication request message, and if found, execute S302; if not found, then It indicates that the multimedia player terminal is an illegal device, and a result of device authentication failure for the multimedia player terminal can be directly obtained, that is, S305.
S302,多媒体服务器根据与所述多媒体播放终端的设备信息对应的认证信息对所述认证字符串进行处理得到第二认证代码。S302. The multimedia server processes the authentication string according to the authentication information corresponding to the device information of the multimedia player terminal to obtain a second authentication code.
具体的,多媒体服务器使用查找到的与所述多媒体播放终端的设备信息对应的认证信息,包括与所述多媒体播放终端的设备信息对应的认证密钥,对所述认证请求消息中的认证字符串进行处理,得到第二认证代码。Specifically, the multimedia server uses the found authentication information corresponding to the device information of the multimedia player terminal, including the authentication key corresponding to the device information of the multimedia player terminal, to verify the authentication string in the authentication request message Processing is performed to obtain the second authentication code.
S303,多媒体服务器将所述第二认证代码与所述认证请求消息中的第一认证代码进行比对,若第二认证代码与第一认证代码一致则执行S304即判定对所述多媒体播放终端进行的设备认证成功,否则执行S305即得到针对该多媒体播放终端的设备认证失败的结果。S303. The multimedia server compares the second authentication code with the first authentication code in the authentication request message, and if the second authentication code is consistent with the first authentication code, execute S304 to determine that the multimedia player terminal is The device authentication of the multimedia playback terminal is successful, otherwise, the result of device authentication failure for the multimedia player terminal is obtained by executing S305.
S304,若多媒体服务器根据多媒体播放终端的设备信息对应的认证信息对所述认证字符串进行处理得到的第二认证代码与第一认证代码一致,则判定对所述多媒体播放终端进行的设备认证成功。S304, if the multimedia server processes the authentication string according to the authentication information corresponding to the device information of the multimedia player terminal, and the second authentication code obtained by processing the authentication string is consistent with the first authentication code, then determine that the device authentication of the multimedia player terminal is successful .
S305,若多媒体服务器根据多媒体播放终端的设备信息查找不到对应的认证信息,或根据查找到的与多媒体播放终端的设备信息对应的认证信息对所述认证字符串进行处理得到的第二认证代码与第一认证代码不一致,则对所述多媒体播放终端进行的设备认证失败,进而多媒体服务器可以将认证失败的多媒体播放终端的设备信息进行记录。S305, if the multimedia server cannot find the corresponding authentication information according to the device information of the multimedia player terminal, or the second authentication code obtained by processing the authentication string according to the found authentication information corresponding to the device information of the multimedia player terminal If it is inconsistent with the first authentication code, the device authentication of the multimedia player terminal fails, and then the multimedia server can record the device information of the multimedia player terminal whose authentication failed.
S306,多媒体服务器向所述多媒体播放客户端返回针对所述多媒体播放终端的设备认证结果,多媒体播放客户端得到针对多媒体播放终端的设备认证结果后,可以在多媒体播放界面向用户提示设备认证结果。S306. The multimedia server returns the device authentication result for the multimedia player terminal to the multimedia player client. After the multimedia player client obtains the device authentication result for the multimedia player terminal, it can prompt the user for the device authentication result on the multimedia player interface.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有程序,所述程序执行时包括如前文实施例结合图1~3中所示的全部或部分的步骤。An embodiment of the present invention also provides a computer storage medium, the computer storage medium stores a program, and the program includes all or part of the steps shown in the foregoing embodiments in conjunction with FIGS. 1 to 3 when executed.
图4是本发明实施例中的一种多媒体播放终端的结构示意图,如图所示本发明实施例中的多媒体播放终端至少可以包括:Fig. 4 is a schematic structural diagram of a multimedia player terminal in an embodiment of the present invention, as shown in the figure, the multimedia player terminal in an embodiment of the present invention may at least include:
认证消息获取模块410,用于获取与所述多媒体播放终端配对的多媒体播放客户端发送的认证消息,所述认证消息中携带一个认证字符串。具体实现中,多媒体播放终端可以在与多媒体播放客户端通过无线局域网建立通信后,获取多媒体播放客户端发送的携带认证字符串的认证消息,所述认证字符串可以为多媒体播放客户端随机生成得到的,也可以为多媒体播放客户端预设的认证字符串。The authentication message acquiring module 410 is configured to acquire an authentication message sent by a multimedia player client paired with the multimedia player terminal, where the authentication message carries an authentication character string. In a specific implementation, after establishing communication with the multimedia player client through the wireless local area network, the multimedia player terminal can obtain the authentication message carrying the authentication string sent by the multimedia player client, and the authentication character string can be randomly generated by the multimedia player client. It can also be a preset authentication string for the multimedia playback client.
认证处理模块420,用于根据预设的认证信息对所述认证字符串进行处理得到第一认证代码。具体实现中,所述多媒体播放终端中可以预设认证信息,例如由多媒体播放终端的生产商在其出厂时预设,也可以为多媒体播放终端在首次与多媒体播放客户端配对时向多媒体服务器请求得到,该认证信息可以包括认证算法和认证密钥,不同生产商的多媒体播放终端可以具有不同的认证信息,例如多媒体服务器为每个多媒体播放终端的生产商分配唯一对应的认证密钥,在可选实施例中也可以为多媒体服务器为每个多媒体播放终端分配唯一的认证密钥,所述认证密钥可以为PSK(pre-shared key,预共享密钥模式)密钥。认证消息获取模块410接收到多媒体播放客户端发送的认证消息后,认证处理模块420可以调用预设的认证信息中的认证密钥和认证算法对认证消息中的认证字符串进行处理,得到第一认证代码。The authentication processing module 420 is configured to process the authentication string according to preset authentication information to obtain a first authentication code. In a specific implementation, the authentication information can be preset in the multimedia player terminal, for example, it is preset by the manufacturer of the multimedia player terminal when it leaves the factory, or it can be requested by the multimedia server when the multimedia player terminal is paired with the multimedia player client for the first time. Obtained, the authentication information may include an authentication algorithm and an authentication key, and multimedia playback terminals of different manufacturers may have different authentication information, for example, the multimedia server assigns a unique corresponding authentication key to the manufacturer of each multimedia playback terminal. In an optional embodiment, the multimedia server may also assign a unique authentication key to each multimedia playback terminal, and the authentication key may be a PSK (pre-shared key, pre-shared key mode) key. After the authentication message acquisition module 410 receives the authentication message sent by the multimedia player client, the authentication processing module 420 can call the authentication key and the authentication algorithm in the preset authentication information to process the authentication string in the authentication message to obtain the first Authentication code.
处理结果返回模块430,用于向所述多媒体播放客户端返回处理结果消息,以使所述多媒体播放客户端根据所述处理结果消息对所述多媒体播放终端进行设备认证,所述处理结果消息中包括所述第一认证代码,可选的还可以包括所述多媒体播放终端的设备信息,设备信息可以包括厂商信息如厂商ID(mid,manufacturer IDentity),设备信息如设备ID(did,device IDentity)。具体实现中,多媒体播放客户端在接收到多媒体播放终端返回的处理结果消息后可以在本地对多媒体播放终端进行设备认证,也可以将所述第一认证代码和所述认证字符串发送至多媒体服务器,由多媒体服务器判断该多媒体播放终端是否合法的终端,并将设备认证结果返回给多媒体播放客户端。多媒体播放客户端得到针对多媒体播放终端的设备认证结果后,可以在多媒体播放界面向用户提示设备认证结果,还可以将该设备认证结果发送至多媒体服务器进行举报。The processing result return module 430 is configured to return a processing result message to the multimedia player client, so that the multimedia player client performs device authentication on the multimedia player terminal according to the processing result message, and the processing result message includes Include the first authentication code, optionally can also include the device information of the multimedia player terminal, the device information can include manufacturer information such as manufacturer ID (mid, manufacturer IDentity), device information such as device ID (did, device IDentity) . In a specific implementation, after receiving the processing result message returned by the multimedia player terminal, the multimedia player client can locally perform device authentication on the multimedia player terminal, or send the first authentication code and the authentication string to the multimedia server. , the multimedia server judges whether the multimedia player terminal is a legal terminal, and returns the device authentication result to the multimedia player client. After the multimedia player client obtains the device authentication result for the multimedia player terminal, it can prompt the user with the device authentication result on the multimedia player interface, and can also send the device authentication result to the multimedia server for reporting.
图5是本发明实施例中的一种多媒体播放客户端的结构示意图,如图所示本发明实施例中的多媒体播放客户端至少可以包括:Fig. 5 is a schematic structural diagram of a multimedia player client in an embodiment of the present invention, as shown in the figure, the multimedia player client in an embodiment of the present invention may at least include:
认证消息发送模块510,用于向与所述多媒体播放客户端配对的多媒体播放终端发送认证消息,所述认证消息中携带一个认证字符串,以使所述多媒体播放终端根据预设的认证信息对所述认证字符串进行处理得到第一认证代码。具体实现中,多媒体播放客户端可以在与多媒体播放终端通过无线局域网建立通信后,由认证消息发送模块510向多媒体播放终端发送携带认证字符串的认证消息,所述认证字符串可以为随机生成得到的,也可以为预设的认证字符串。An authentication message sending module 510, configured to send an authentication message to a multimedia player terminal paired with the multimedia player client, where an authentication string is carried in the authentication message, so that the multimedia player terminal pairs with the multimedia player according to preset authentication information. The authentication string is processed to obtain a first authentication code. In a specific implementation, after the multimedia player client establishes communication with the multimedia player terminal through the wireless local area network, the authentication message sending module 510 sends an authentication message carrying an authentication string to the multimedia player terminal, and the authentication string can be randomly generated. It can also be a preset authentication string.
处理结果获取模块520,用于获取所述多媒体播放终端返回的处理结果消息,所述处理结果消息中包括所述第一认证代码,可选的还可以包括所述多媒体播放终端的设备信息,设备信息可以包括厂商信息如厂商ID(mid,manufacturerIDentity),设备信息如设备ID(did,device IDentity)。具体实现中,所述多媒体播放终端中预设有认证信息,例如由多媒体播放终端的生产商在其出厂时预设,也可以为多媒体播放终端在首次与多媒体播放客户端配对时向多媒体服务器请求得到,该认证信息可以包括认证算法和认证密钥,不同生产商的多媒体播放终端可以具有不同的认证信息,例如多媒体服务器为每个多媒体播放终端的生产商分配唯一对应的认证密钥,在可选实施例中也可以为多媒体服务器为每个多媒体播放终端分配唯一的认证密钥,所述认证密钥可以为PSK密钥。多媒体播放终端接收到认证消息发送模块510发送的认证消息后,可以调用预设的认证信息中的认证密钥和认证算法对认证消息中的认证字符串进行处理,得到第一认证代码,并向多媒体播放客户端返回携带所述第一认证代码的处理结果消息。The processing result acquisition module 520 is configured to obtain the processing result message returned by the multimedia player terminal, the processing result message includes the first authentication code, and optionally may also include the device information of the multimedia player terminal, the device The information may include manufacturer information such as manufacturer ID (mid, manufacturer IDentity), and device information such as device ID (did, device IDentity). In the specific implementation, the authentication information is preset in the multimedia player terminal, for example, it is preset by the manufacturer of the multimedia player terminal when it leaves the factory, or it can be requested by the multimedia server when the multimedia player terminal is paired with the multimedia player client for the first time. Obtained, the authentication information may include an authentication algorithm and an authentication key, and multimedia playback terminals of different manufacturers may have different authentication information, for example, the multimedia server assigns a unique corresponding authentication key to the manufacturer of each multimedia playback terminal. In an optional embodiment, the multimedia server may also assign a unique authentication key to each multimedia player terminal, and the authentication key may be a PSK key. After the multimedia player terminal receives the authentication message sent by the authentication message sending module 510, it can call the authentication key and the authentication algorithm in the preset authentication information to process the authentication character string in the authentication message to obtain the first authentication code, and send it to The multimedia player client returns a processing result message carrying the first authentication code.
设备认证模块530,用于根据所述处理结果消息对所述多媒体播放终端进行设备认证。具体实现中,设备认证模块530可以预先获取所述认证字符串对应的第二认证代码,例如根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,或将所述认证字符串发给多媒体服务器由多媒体服务器根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,进而设备认证模块530可以通过对比第二认证代码与第一认证代码是否一致从而判断该多媒体播放终端是否合法的终端。在可选实施例中,设备认证模块530可以将所述第一认证代码和所述认证字符串通过认证请求消息的形式发送至多媒体服务器,由多媒体服务器根据预设的认证信息对该认证字符串进行处理,对比处理得到的第二认证代码与第一认证代码是否一致判断该多媒体播放终端是否合法的终端,并将设备认证结果返回给多媒体播放客户端。设备认证模块530得到针对多媒体播放终端的设备认证结果后,可以在多媒体播放界面向用户提示设备认证结果,还可以将该设备认证结果发送至多媒体服务器进行举报。The device authentication module 530 is configured to perform device authentication on the multimedia player terminal according to the processing result message. In a specific implementation, the device authentication module 530 may obtain in advance the second authentication code corresponding to the authentication string, for example, process the authentication string according to the preset authentication information to obtain the second authentication code, or convert the authentication character The string is sent to the multimedia server, and the multimedia server processes the authentication string according to the preset authentication information to obtain a second authentication code, and then the device authentication module 530 can judge whether the second authentication code is consistent with the first authentication code. Whether the multimedia playback terminal is a legal terminal. In an optional embodiment, the device authentication module 530 may send the first authentication code and the authentication string to the multimedia server in the form of an authentication request message, and the multimedia server will send the authentication string to the authentication string according to the preset authentication information. Perform processing, compare whether the second authentication code obtained through the processing is consistent with the first authentication code to determine whether the multimedia player terminal is a legal terminal, and return the device authentication result to the multimedia player client. After the device authentication module 530 obtains the device authentication result for the multimedia player terminal, it can prompt the user with the device authentication result on the multimedia player interface, and can also send the device authentication result to the multimedia server for reporting.
可选的,本发明实施例中的设备认证模块如图6所示进一步可以包括:Optionally, as shown in Figure 6, the device authentication module in the embodiment of the present invention may further include:
认证请求单元531,用于向多媒体服务器发送认证请求消息,以使所述多媒体服务器根据所述认证请求消息对所述多媒体播放终端进行设备认证,所述认证请求消息中包括所述认证字符串和所述第一认证代码,可选的还可以包括所述多媒体播放终端的设备信息。具体实现中,多媒体播放客户端可以通过用户账号登录至多媒体服务器,从而向多媒体服务器发送所述认证请求消息。An authentication request unit 531, configured to send an authentication request message to the multimedia server, so that the multimedia server performs device authentication on the multimedia player terminal according to the authentication request message, and the authentication request message includes the authentication string and The first authentication code may also optionally include device information of the multimedia playback terminal. In a specific implementation, the multimedia player client may log in to the multimedia server through a user account, so as to send the authentication request message to the multimedia server.
认证结果获取单元532,用于获取所述多媒体服务器针对所述多媒体播放终端的设备认证结果。具体的,多媒体服务器可以根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,并对比第一认证代码和第二认证代码是否一致,若一致则对所述多媒体播放终端进行的设备认证成功。The authentication result acquiring unit 532 is configured to acquire the device authentication result of the multimedia server for the multimedia player terminal. Specifically, the multimedia server may process the authentication character string according to the preset authentication information to obtain a second authentication code, and compare whether the first authentication code and the second authentication code are consistent, and if they are consistent, perform a check on the multimedia player terminal. The device authentication was successful.
图7是本发明实施例中的一种多媒体服务器的结构示意图,如图所示本发明实施例中的多媒体服务器至少包括:Fig. 7 is a schematic structural diagram of a multimedia server in an embodiment of the present invention, as shown in the figure, the multimedia server in the embodiment of the present invention at least includes:
认证请求获取模块710,用于获取多媒体播放客户端发送的认证请求消息,所述认证请求消息中包括认证字符串和由与所述多媒体播放客户端配对的多媒体播放终端根据所述认证字符串以及预设的认证信息处理得到的第一认证代码。具体实现中,多媒体播放客户端可以通过用户账号登录至多媒体服务器,从而向多媒体服务器发送所述认证请求消息。An authentication request obtaining module 710, configured to obtain an authentication request message sent by a multimedia player client, wherein the authentication request message includes an authentication character string and a multimedia player terminal paired with the multimedia player client according to the authentication character string and The first authentication code is obtained by processing the preset authentication information. In a specific implementation, the multimedia player client may log in to the multimedia server through a user account, so as to send the authentication request message to the multimedia server.
认证模块720,用于根据所述认证请求消息对所述多媒体播放终端进行设备认证。具体的,认证模块720可以根据预设的认证信息对所述认证字符串进行处理得到第二认证代码,并对比第一认证代码和第二认证代码是否一致,若一致则判定对所述多媒体播放终端进行的设备认证成功。可选的,本发明实施例中的设备认证模块如图8所示进一步可以包括:An authentication module 720, configured to perform device authentication on the multimedia player terminal according to the authentication request message. Specifically, the authentication module 720 can process the authentication character string according to the preset authentication information to obtain a second authentication code, and compare whether the first authentication code and the second authentication code are consistent, and if they are consistent, determine whether the multimedia player The device authentication by the terminal is successful. Optionally, as shown in Figure 8, the device authentication module in the embodiment of the present invention may further include:
认证信息查找单元721,用于获取与所述多媒体播放终端的设备信息对应的认证信息。具体实现中,多媒体服务器可以预设多媒体播放终端的设备信息与认证信息的对应关系,并预先为多媒体播放终端的生产商分配对应的认证信息使其在生产的多媒体播放终端中预埋与其设备信息对应的认证信息,具体的,多媒体服务器可以为不同生厂商分配与其厂商ID唯一对应的认证密钥。认证请求获取模块710在获取到媒体播放客户发送的认证请求消息后,认证信息查找单元721可以通过认证请求消息中携带的多媒体播放终端的设备信息查找与其设备信息对应的认证信息,若查找不到,则表示该多媒体播放终端为非法设备,认证模块720可以直接得到针对该多媒体播放终端的设备认证失败的结果。The authentication information search unit 721 is configured to acquire authentication information corresponding to the device information of the multimedia player terminal. In a specific implementation, the multimedia server can preset the corresponding relationship between the equipment information of the multimedia player terminal and the authentication information, and pre-allocate the corresponding authentication information for the manufacturer of the multimedia player terminal so that it can pre-embed its equipment information in the produced multimedia player terminal. Corresponding authentication information, specifically, the multimedia server may assign authentication keys uniquely corresponding to the manufacturer IDs for different manufacturers. After the authentication request obtaining module 710 obtains the authentication request message sent by the media player client, the authentication information search unit 721 can search for the authentication information corresponding to the device information through the device information of the multimedia player terminal carried in the authentication request message, if no , it means that the multimedia player terminal is an illegal device, and the authentication module 720 can directly obtain the result of device authentication failure for the multimedia player terminal.
认证代码处理单元722,用于根据与所述多媒体播放终端的设备信息对应的认证信息对所述认证字符串进行处理得到第二认证代码。具体的,多媒体服务器使用查找到的与所述多媒体播放终端的设备信息对应的认证信息,包括与所述多媒体播放终端的设备信息对应的认证密钥,对所述认证请求消息中的认证字符串进行处理,得到第二认证代码。The authentication code processing unit 722 is configured to process the authentication string according to the authentication information corresponding to the device information of the multimedia player terminal to obtain a second authentication code. Specifically, the multimedia server uses the found authentication information corresponding to the device information of the multimedia player terminal, including the authentication key corresponding to the device information of the multimedia player terminal, to verify the authentication string in the authentication request message Processing is performed to obtain the second authentication code.
比对单元723,用于将所述第二认证代码与所述认证请求消息中的第一认证代码进行比对,若第二认证代码与第一认证代码一致则对所述多媒体播放终端进行的设备认证成功。若多媒体服务器根据多媒体播放终端的设备信息对应的认证信息对所述认证字符串进行处理得到的第二认证代码与第一认证代码一致,则判定对所述多媒体播放终端进行的设备认证成功。反之,若认证代码处理单元722处理得到的第二认证代码与第一认证代码不一致,则判定对所述多媒体播放终端进行的设备认证失败,进而多媒体服务器可以将认证失败的多媒体播放终端的设备信息进行记录。The comparison unit 723 is configured to compare the second authentication code with the first authentication code in the authentication request message, and if the second authentication code is consistent with the first authentication code, the multimedia player terminal Device authentication succeeded. If the second authentication code obtained by processing the authentication string according to the authentication information corresponding to the device information of the multimedia player terminal is consistent with the first authentication code, it is determined that the device authentication of the multimedia player terminal is successful. Conversely, if the second authentication code obtained by the authentication code processing unit 722 is inconsistent with the first authentication code, it is determined that the device authentication of the multimedia player terminal has failed, and then the multimedia server can send the device information of the multimedia player terminal that failed the authentication. Make a note.
认证结果返回模块730,用于向所述多媒体播放客户端返回针对所述多媒体播放终端的设备认证结果。An authentication result returning module 730, configured to return a device authentication result for the multimedia playing terminal to the multimedia playing client.
图9是本发明实施例中的多媒体播放终端的认证系统的结构示意图,如图所示本发明实施例中的所述多媒体播放终端的认证系统至少包括多媒体播放终端910和与其配对的多媒体播放客户端920,其中:Fig. 9 is a schematic structural diagram of the authentication system of the multimedia player terminal in the embodiment of the present invention, as shown in the figure, the authentication system of the multimedia player terminal in the embodiment of the present invention at least includes a multimedia player terminal 910 and a multimedia player client paired with it Terminal 920, where:
所述多媒体播放终端910可以为如前文实施例结合图5所述的多媒体播放终端,用于获取所述多媒体播放客户端920发送的认证消息,所述认证消息中携带一个认证字符串,根据预设的认证信息对所述认证字符串进行处理得到第一认证代码,向所述多媒体播放客户端920返回处理结果消息,所述处理结果消息中包括所述第一认证代码。其中多媒体播放终端920可以通过无线局域网内的通信协议与多媒体播放客户端910建立通信从而进行配对。The multimedia player terminal 910 may be the multimedia player terminal described in the previous embodiment in conjunction with FIG. The set authentication information processes the authentication string to obtain a first authentication code, and returns a processing result message to the multimedia player client 920, and the processing result message includes the first authentication code. The multimedia player terminal 920 can establish communication with the multimedia player client 910 through a communication protocol in the wireless local area network to perform pairing.
所述多媒体播放客户端920可以为如前文实施例结合图6和图7所述的多媒体播放客户端,用于向所述多媒体播放终端910发送认证消息,获取所述多媒体播放终端910返回的处理结果消息,根据所述处理结果消息对所述多媒体播放终端910进行设备认证。The multimedia player client 920 can be the multimedia player client described in the previous embodiment in conjunction with FIG. 6 and FIG. A result message, performing device authentication on the multimedia playback terminal 910 according to the processing result message.
进而可选的,本发明实施例中的多媒体播放终端的认证系统还可以包括如前文实施例结合图7和图8所述的多媒体服务器930,用于获取多媒体播放客户端910发送的认证请求消息,所述认证请求消息中包括认证字符串和所述第一认证代码,根据所述认证请求消息对所述多媒体播放终端920进行设备认证,向所述多媒体播放客户端910返回针对所述多媒体播放终端920的设备认证结果。其中多媒体播放客户端910经过登录用户账号可以通过互联网与多媒体服务器930进行通信。Optionally, the authentication system of the multimedia player terminal in the embodiment of the present invention may also include the multimedia server 930 as described in the previous embodiment in conjunction with FIG. 7 and FIG. 8 , for obtaining the authentication request message sent by the multimedia player client 910 , the authentication request message includes an authentication character string and the first authentication code, performs device authentication on the multimedia player terminal 920 according to the authentication request message, and returns to the multimedia player client 910 the The device authentication result of the terminal 920. Wherein, the multimedia player client 910 can communicate with the multimedia server 930 through the Internet through the login user account.
本发明实施例通过多媒体播放终端获取与其配对的多媒体播放客户端发送的认证消息,对认证消息中的认证字符串进行认证处理并将结果返回给多媒体播放客户端,从而可以让多媒体播放客户端对多媒体播放终端进行设备认证,可以有效的鉴别经过正规授权的多媒体播放终端。In the embodiment of the present invention, the multimedia player terminal obtains the authentication message sent by the multimedia player client paired with it, performs authentication processing on the authentication character string in the authentication message and returns the result to the multimedia player client, so that the multimedia player client can recognize The multimedia player terminal performs device authentication, which can effectively identify the formally authorized multimedia player terminal.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一个或多个计算机可读取存储介质中,如存储在前文所述的多媒体播放终端、多媒体播放客户端或多媒体服务器中的可读取存储介质中,并被终端中的至少一个处理器执行,以实现多媒体播放终端的认证方法,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in one or more computer-readable storage media , such as being stored in a readable storage medium in the aforementioned multimedia player terminal, multimedia player client or multimedia server, and executed by at least one processor in the terminal to implement an authentication method for the multimedia player terminal, the program During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310253846.1A CN103324883B (en) | 2013-06-24 | 2013-06-24 | A kind of authentication method of multimedia play terminal, terminal, server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310253846.1A CN103324883B (en) | 2013-06-24 | 2013-06-24 | A kind of authentication method of multimedia play terminal, terminal, server and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103324883A CN103324883A (en) | 2013-09-25 |
CN103324883B true CN103324883B (en) | 2015-07-29 |
Family
ID=49193618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310253846.1A Active CN103324883B (en) | 2013-06-24 | 2013-06-24 | A kind of authentication method of multimedia play terminal, terminal, server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103324883B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686534A (en) * | 2017-01-22 | 2017-05-17 | 斑马信息科技有限公司 | Communication control method and communication control device and on-board equipment and transportation vehicle. |
CN106888223B (en) * | 2017-04-26 | 2020-04-17 | 维沃移动通信有限公司 | User account login method and mobile terminal |
CN119011340B (en) * | 2024-08-16 | 2025-03-25 | 广东保伦电子股份有限公司 | A multi-source sound protection method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012087435A1 (en) * | 2010-11-06 | 2012-06-28 | Qualcomm Incorporated | Authentication in secure user plane location (supl) systems |
WO2012149384A1 (en) * | 2011-04-28 | 2012-11-01 | Interdigital Patent Holdings, Inc. | Sso framework for multiple sso technologies |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7627341B2 (en) * | 2005-01-31 | 2009-12-01 | Microsoft Corporation | User authentication via a mobile telephone |
CN102638794B (en) * | 2007-03-22 | 2016-03-30 | 华为技术有限公司 | Authentication and cryptographic key negotiation method, authentication method, system and equipment |
CN101621735B (en) * | 2009-08-07 | 2011-11-30 | 赵阳 | Vehicle real-time information system based on the third-generation mobile communication |
CN102098284A (en) * | 2010-12-16 | 2011-06-15 | 深圳市和宏实业有限公司 | Digital media adapter and conversion method |
CN102882830B (en) * | 2011-07-11 | 2016-06-08 | 华为终端有限公司 | Medium resource access control method and equipment |
-
2013
- 2013-06-24 CN CN201310253846.1A patent/CN103324883B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012087435A1 (en) * | 2010-11-06 | 2012-06-28 | Qualcomm Incorporated | Authentication in secure user plane location (supl) systems |
WO2012149384A1 (en) * | 2011-04-28 | 2012-11-01 | Interdigital Patent Holdings, Inc. | Sso framework for multiple sso technologies |
Also Published As
Publication number | Publication date |
---|---|
CN103324883A (en) | 2013-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6096979B2 (en) | Identity delegation to devices | |
CN108768970B (en) | Binding method of intelligent equipment, identity authentication platform and storage medium | |
US10482236B1 (en) | Methods, mediums, and systems for establishing and using security questions | |
CN105122931B (en) | Electronic equipment and the method that personal cloud device is registered in its portal user server | |
CN104320377B (en) | The anti-stealing link method and equipment of a kind of files in stream media | |
US9635018B2 (en) | User identity verification method and system, password protection apparatus and storage medium | |
US20220070172A1 (en) | Methods and systems for enabling identity-based services using a random identifier | |
CN103875211B (en) | A kind of internet account number management method, manager, server and system | |
US11765164B2 (en) | Server-based setup for connecting a device to a local area network | |
US20130254858A1 (en) | Encoding an Authentication Session in a QR Code | |
CN104394533B (en) | Wireless Fidelity WiFi connection methods, server and terminal | |
CN105610949A (en) | Method, device and system for sharing resource data permission | |
TW201306538A (en) | Face recognition control and social networking | |
CN108540433A (en) | User identity method of calibration and device | |
WO2018196686A1 (en) | Service response method and middleware thereof | |
CN106255102B (en) | Terminal equipment identification method and related equipment | |
CN104768235A (en) | Method and device for automatic connection between devices | |
CN109460647B (en) | Multi-device secure login method | |
JP2024522281A (en) | Code-based two-factor authentication | |
CN104780206A (en) | A data sharing method and device | |
CN103324883B (en) | A kind of authentication method of multimedia play terminal, terminal, server and system | |
CN116208376A (en) | Single sign-on method and device, electronic equipment and storage medium | |
CN106790036A (en) | An information tamper-proof method, device, server and terminal | |
WO2025098133A1 (en) | Television login method and apparatus, and electronic device and computer storage medium | |
JP2013041587A (en) | System and method for executing command from remote source |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20161207 Address after: 510000 Guangzhou, Tianhe District branch Yun Yun Road, No. 16, self built room 2, building 1301 Patentee after: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. Address before: Shenzhen Futian District City, Guangdong province 518057 Zhenxing Road, SEG Science Park 2 East Room 403 Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
CP02 | Change in the address of a patent holder |
Address after: No. 315, Huangpu Avenue middle, Tianhe District, Guangzhou City, Guangdong Province Patentee after: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. Address before: 510000 room 1301, building 2, No.16 Keyun Road, Tianhe District, Guangzhou City, Guangdong Province Patentee before: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. |
|
CP02 | Change in the address of a patent holder | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220331 Address after: 4119, 41st floor, building 1, No.500, middle section of Tianfu Avenue, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610000 Patentee after: Chengdu kugou business incubator management Co.,Ltd. Address before: No. 315, Huangpu Avenue middle, Tianhe District, Guangzhou City, Guangdong Province Patentee before: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241203 Address after: No. 315, Huangpu Avenue middle, Tianhe District, Guangzhou City, Guangdong Province Patentee after: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 4119, 41st floor, building 1, No.500, middle section of Tianfu Avenue, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610000 Patentee before: Chengdu kugou business incubator management Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |