[go: up one dir, main page]

CN111405350B - A kind of multimedia access processing method, set-top box and gateway - Google Patents

A kind of multimedia access processing method, set-top box and gateway Download PDF

Info

Publication number
CN111405350B
CN111405350B CN201910000865.0A CN201910000865A CN111405350B CN 111405350 B CN111405350 B CN 111405350B CN 201910000865 A CN201910000865 A CN 201910000865A CN 111405350 B CN111405350 B CN 111405350B
Authority
CN
China
Prior art keywords
multimedia
access request
streaming media
address
multimedia access
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
Application number
CN201910000865.0A
Other languages
Chinese (zh)
Other versions
CN111405350A (en
Inventor
李建坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910000865.0A priority Critical patent/CN111405350B/en
Publication of CN111405350A publication Critical patent/CN111405350A/en
Application granted granted Critical
Publication of CN111405350B publication Critical patent/CN111405350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/64Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a multimedia access processing method, a set top box and a gateway, and relates to the technical field of communication. The method comprises the following steps: acquiring an entry address of a multimedia service; and generating agent access information of the multimedia according to the entry address, wherein the agent access information comprises a multimedia content link address and user authentication information. The scheme of the invention solves the problem of resource waste caused by the fact that a plurality of television sets are arranged in a family and a set top box needs to be installed one by one.

Description

一种多媒体访问处理方法、机顶盒及网关A multimedia access processing method, set-top box and gateway

技术领域technical field

本发明涉及通信技术领域,特别是指一种多媒体访问处理方法、机顶盒及网关。The invention relates to the technical field of communication, in particular to a multimedia access processing method, a set-top box and a gateway.

背景技术Background technique

近几年,家庭固定宽带接入发展迅猛,大部分家庭都实现了宽带覆盖,同时运营商宽带基本上采用了光纤到户方案,实现了更大的带宽。因此,各运营商普遍结合宽带提速,大力发展有质量保障的高清视频业务。In recent years, household fixed broadband access has developed rapidly, and most households have achieved broadband coverage. At the same time, carrier broadband has basically adopted the fiber-to-the-home solution to achieve greater bandwidth. Therefore, all operators generally combine broadband speed-up to vigorously develop high-definition video services with guaranteed quality.

目前运营商会为其宽带用户提供一台家庭网关用于家庭宽带接入,一台机顶盒用于提供高清视频服务,且该机顶盒仅能支持一台电视机的视频访问。但是,随着生活水平提高和价格降低,越来越多的家庭拥有2台及以上的电视机,以部署在不同房间内。At present, operators will provide their broadband users with a home gateway for home broadband access, and a set-top box for providing high-definition video services, and the set-top box can only support video access for one TV. However, with the improvement of living standards and the reduction of prices, more and more families have 2 or more TV sets to be deployed in different rooms.

所以,为了满足2台及以上的电视机的视频访问,需要针对每个电视机安装一个机顶盒。这样,对于运营商和用户都是成本的增加,造成了资源的浪费。Therefore, in order to satisfy the video access of two or more TV sets, it is necessary to install a set-top box for each TV set. In this way, the cost is increased for both the operator and the user, resulting in a waste of resources.

发明内容Contents of the invention

本发明的目的是提供一种多媒体访问处理方法、机顶盒及网关,解决了家庭中部署多台电视机需要一对一安装机顶盒,造成资源浪费的问题。The object of the present invention is to provide a multimedia access processing method, a set-top box and a gateway, which solves the problem of resource waste caused by one-to-one installation of set-top boxes required for deploying multiple televisions in a family.

为达到上述目的,本发明的实施例提供一种多媒体访问处理方法,应用于机顶盒,包括:In order to achieve the above object, an embodiment of the present invention provides a multimedia access processing method, which is applied to a set-top box, including:

获取多媒体服务的入口地址;Obtain the entry address of the multimedia service;

根据所述入口地址,生成多媒体的代理访问信息,所述代理访问信息包括多媒体内容链接地址和用户鉴权信息。According to the entry address, multimedia proxy access information is generated, and the proxy access information includes a multimedia content link address and user authentication information.

其中,根据所述入口地址,生成对应多媒体的代理访问信息,包括:Wherein, according to the entry address, generate proxy access information corresponding to multimedia, including:

通过所述入口地址获取电子节目指南内的多媒体内容链接地址;Obtaining the link address of the multimedia content in the electronic program guide through the entry address;

将用户鉴权信息添加至所述多媒体内容链接地址,得到多媒体的代理访问信息。The user authentication information is added to the multimedia content link address to obtain multimedia proxy access information.

其中,在生成多媒体的代理访问信息之后,还包括:Wherein, after generating the multimedia proxy access information, it also includes:

响应于终端设备在内网的搜寻,发送所述代理访问信息至所述终端设备。In response to the search of the internal network by the terminal device, sending the agent access information to the terminal device.

其中,所述方法还包括:Wherein, the method also includes:

接收用户在电子节目指南代理界面选择目标项触发的第一访问请求,其中所述电子节目指南代理界面是基于所述代理访问信息生成的;receiving a first access request triggered by a user selecting a target item on an EPG agent interface, wherein the EPG agent interface is generated based on the agent access information;

根据所述第一访问请求,发送第二访问请求至目标网关,其中所述第二访问请求的源互联网协议地址为发送所述第一访问请求的设备的互联网协议地址。Sending a second access request to the target gateway according to the first access request, wherein the source IP address of the second access request is the IP address of the device sending the first access request.

其中,所述第一访问请求包括目标多媒体内容链接地址和用户鉴权信息;Wherein, the first access request includes a target multimedia content link address and user authentication information;

根据所述第一访问请求,发送第二访问请求至目标网关,包括:According to the first access request, sending a second access request to the target gateway, including:

获取所述第一访问请求中的目标多媒体内容链接地址和用户鉴权信息;Obtain the target multimedia content link address and user authentication information in the first access request;

根据所述目标多媒体内容链接地址和所述用户鉴权信息,生成流媒体管理报文;Generate a streaming media management message according to the link address of the target multimedia content and the user authentication information;

将所述流媒体管理报文的源互联网协议地址修改为所述第一访问请求发送端的互联网协议地址后,向目标网关发起第二访问请求。After modifying the source Internet protocol address of the streaming media management message to the Internet protocol address of the sending end of the first access request, a second access request is initiated to the target gateway.

其中,所述流媒体管理报文的标识指示所述流媒体管理报文为代理报文。Wherein, the identifier of the streaming media management message indicates that the streaming media management message is a proxy message.

为达到上述目的,本发明的实施例提供一种多媒体访问处理方法,应用于网关,包括:In order to achieve the above object, an embodiment of the present invention provides a multimedia access processing method applied to a gateway, including:

接收机顶盒发送的第一多媒体访问请求,其中所述第一多媒体访问请求包括目标多媒体内容链接地址和用户鉴权信息,且所述第一多媒体访问请求的源互联网协议地址为发起多媒体访问的终端设备的互联网协议地址;Receive the first multimedia access request sent by the set-top box, wherein the first multimedia access request includes the target multimedia content link address and user authentication information, and the source Internet Protocol address of the first multimedia access request is Internet protocol address of the terminal device that initiates the multimedia access;

根据所述第一多媒体访问请求,发送第二多媒体访问请求至流媒体服务器。Sending a second multimedia access request to the streaming media server according to the first multimedia access request.

其中,所述方法还包括:Wherein, the method also includes:

在接收所述第一多媒体访问请求之前或之后的预设时长内,接收所述终端设备发送的第三多媒体访问请求;Receive a third multimedia access request sent by the terminal device within a preset time period before or after receiving the first multimedia access request;

根据所述第一多媒体访问请求,发送第二多媒体访问请求至流媒体服务器,包括:According to the first multimedia access request, sending the second multimedia access request to the streaming media server, including:

基于预设参数对所述第一多媒体访问请求和所述第三多媒体访问请求进行是否匹配的判断;judging whether the first multimedia access request matches the third multimedia access request based on preset parameters;

在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,发送第二多媒体访问请求至流媒体服务器;其中,When the judgment result indicates that the first multimedia access request matches the third multimedia access request, sending a second multimedia access request to the streaming media server; wherein,

所述预设参数包括:协议类型和地址字段。The preset parameters include: protocol type and address fields.

其中,所述方法还包括:Wherein, the method also includes:

在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,将所述第三多媒体访问请求的报文源端口设置为访问的流媒体内容报文的目的地址的转发端口;When the judgment result indicates that the first multimedia access request matches the third multimedia access request, setting the message source port of the third multimedia access request as the accessed streaming media content The forwarding port of the destination address of the message;

接收所述流媒体服务器根据所述第二多媒体访问请求发送的流媒体内容报文;receiving the streaming media content message sent by the streaming media server according to the second multimedia access request;

根据所述转发端口,将所述流媒体内容报文转发至所述终端设备。The streaming media content packet is forwarded to the terminal device according to the forwarding port.

为达到上述目的,本发明的实施例提供一种多媒体访问处理装置,应用于机顶盒,包括:In order to achieve the above object, an embodiment of the present invention provides a multimedia access processing device, which is applied to a set-top box, including:

获取模块,用于获取多媒体服务的入口地址;An acquisition module, configured to acquire an entry address of the multimedia service;

生成模块,用于根据所述入口地址,生成多媒体的代理访问信息,所述代理访问信息包括多媒体内容链接地址和用户鉴权信息。The generating module is configured to generate multimedia proxy access information according to the entry address, and the proxy access information includes multimedia content link addresses and user authentication information.

其中,所述生成模块包括:Wherein, the generating module includes:

第一获取子模块,用于通过所述入口地址获取电子节目指南内的多媒体内容链接地址;The first obtaining submodule is used to obtain the link address of the multimedia content in the electronic program guide through the entry address;

第一处理子模块,用于将用户鉴权信息添加至所述多媒体内容链接地址,得到多媒体的代理访问信息。The first processing sub-module is used to add user authentication information to the multimedia content link address to obtain multimedia proxy access information.

其中,所述装置还包括:Wherein, the device also includes:

第一发送模块,用于响应于终端设备在内网的搜寻,发送所述代理访问信息至所述终端设备。The first sending module is configured to send the proxy access information to the terminal device in response to the search of the terminal device on the intranet.

其中,所述装置还包括:Wherein, the device also includes:

第一接收模块,用于接收用户在电子节目指南代理界面选择目标项触发的第一访问请求,其中所述电子节目指南代理界面是基于所述代理访问信息生成的;The first receiving module is configured to receive a first access request triggered by a user selecting a target item on an EPG agent interface, wherein the EPG agent interface is generated based on the agent access information;

第二发送模块,用于根据所述第一访问请求,发送第二访问请求至目标网关,其中所述第二访问请求的源互联网协议地址为发送所述第一访问请求的设备的互联网协议地址。The second sending module is configured to send a second access request to the target gateway according to the first access request, wherein the source Internet protocol address of the second access request is the Internet protocol address of the device sending the first access request .

其中,所述第一访问请求包括目标多媒体内容链接地址和用户鉴权信息;Wherein, the first access request includes a target multimedia content link address and user authentication information;

所述第二发送模块包括:The second sending module includes:

第二获取子模块,用于获取所述第一访问请求中的目标多媒体内容链接地址和用户鉴权信息;The second obtaining submodule is used to obtain the target multimedia content link address and user authentication information in the first access request;

生成子模块,用于根据所述目标多媒体内容链接地址和所述用户鉴权信息,生成流媒体管理报文;A generating submodule, configured to generate a streaming media management message according to the link address of the target multimedia content and the user authentication information;

第二处理子模块,用于将所述流媒体管理报文的源互联网协议地址修改为所述第一访问请求发送端的互联网协议地址后,向目标网关发起第二访问请求。The second processing sub-module is configured to modify the source IP address of the streaming media management message to the IP address of the sending end of the first access request, and then initiate a second access request to the target gateway.

其中,所述流媒体管理报文的标识指示所述流媒体管理报文为代理报文。Wherein, the identifier of the streaming media management message indicates that the streaming media management message is a proxy message.

为达到上述目的,本发明的实施例提供一种多媒体访问处理装置,应用于网关,包括:In order to achieve the above purpose, an embodiment of the present invention provides a multimedia access processing device, which is applied to a gateway, including:

第二接收模块,用于接收机顶盒发送的第一多媒体访问请求,其中所述第一多媒体访问请求包括目标多媒体内容链接地址和用户鉴权信息,且所述第一多媒体访问请求的源互联网协议地址为发起多媒体访问的终端设备的互联网协议地址;The second receiving module is configured to receive the first multimedia access request sent by the top box, wherein the first multimedia access request includes the target multimedia content link address and user authentication information, and the first multimedia access request The source IP address of the request is the IP address of the terminal device that initiates the multimedia access;

第三发送模块,用于根据所述第一多媒体访问请求,发送第二多媒体访问请求至流媒体服务器。A third sending module, configured to send a second multimedia access request to the streaming media server according to the first multimedia access request.

其中,所述装置还包括:Wherein, the device also includes:

第三接收模块,用于在接收所述第一多媒体访问请求之前或之后的预设时长内,接收所述终端设备发送的第三多媒体访问请求;A third receiving module, configured to receive a third multimedia access request sent by the terminal device within a preset time period before or after receiving the first multimedia access request;

所述第三发送模块包括:The third sending module includes:

判断子模块,用于基于预设参数对所述第一多媒体访问请求和所述第三多媒体访问请求进行是否匹配的判断;A judging submodule, configured to judge whether the first multimedia access request matches the third multimedia access request based on preset parameters;

发送子模块,用于在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,发送第二多媒体访问请求至流媒体服务器;其中,The sending submodule is used to send the second multimedia access request to the streaming media server when the judgment result indicates that the first multimedia access request matches the third multimedia access request; wherein,

所述预设参数包括:协议类型和地址字段。The preset parameters include: protocol type and address fields.

其中,所述装置还包括:Wherein, the device also includes:

第一处理模块,用于在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,将所述第三多媒体访问请求的报文源端口设置为访问的流媒体内容报文的目的地址的转发端口;The first processing module is configured to, when the judgment result indicates that the first multimedia access request matches the third multimedia access request, send the packet source port of the third multimedia access request to Set as the forwarding port of the destination address of the streaming media content message accessed;

第四接收模块,用于接收所述流媒体服务器根据所述第二多媒体访问请求发送的流媒体内容报文;A fourth receiving module, configured to receive the streaming media content message sent by the streaming media server according to the second multimedia access request;

第二处理模块,用于根据所述转发端口,将所述流媒体内容报文转发至所述终端设备。The second processing module is configured to forward the streaming media content packet to the terminal device according to the forwarding port.

为达到上述目的,本发明的实施例提供一种机顶盒,包括收发器、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述计算机程序时实现如上所述的应用于机顶盒的多媒体访问处理方法。To achieve the above object, an embodiment of the present invention provides a set-top box, including a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor; the processor executes the The computer program realizes the multimedia access processing method applied to the set-top box as described above.

为达到上述目的,本发明的实施例提供一种网关,包括收发器、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述计算机程序时实现如上所述的应用于网关的多媒体访问处理方法。To achieve the above object, an embodiment of the present invention provides a gateway, including a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor; the processor executes the The computer program realizes the above-mentioned multimedia access processing method applied to the gateway.

为达到上述目的,本发明的实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用于机顶盒的多媒体访问处理方法中的步骤。In order to achieve the above object, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned multimedia access processing method applied to a set-top box is implemented. step.

为达到上述目的,本发明的实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用于网关的多媒体访问处理方法中的步骤。In order to achieve the above object, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned multimedia access processing method applied to the gateway is implemented. step.

本发明的上述技术方案的有益效果如下:The beneficial effects of above-mentioned technical scheme of the present invention are as follows:

本发明实施例的多媒体访问处理方法,通过获取多媒体服务的入口地址,则根据该入口地址生成包括多媒体内容链接地址和用户鉴权信息的代理访问信息,以便后续为与该机顶盒无线连接的终端设备提供电子节目指南访问代理服务,来完成多媒体的访问,而无需设置额外的机顶盒,降低了成本,避免了资源浪费。In the multimedia access processing method of the embodiment of the present invention, by obtaining the entry address of the multimedia service, the proxy access information including the link address of the multimedia content and the user authentication information is generated according to the entry address, so that the subsequent terminal equipment wirelessly connected to the set-top box Provide EPG access proxy service to complete multimedia access without setting additional set-top boxes, reducing costs and avoiding waste of resources.

附图说明Description of drawings

图1为本发明实施例的应用于机顶盒的多媒体访问处理方法的流程图之一;Fig. 1 is one of the flowcharts of the multimedia access processing method applied to the set-top box according to the embodiment of the present invention;

图2为本发明实施例的应用于机顶盒的多媒体访问处理方法的流程图之二;Fig. 2 is the second flow chart of the multimedia access processing method applied to the set-top box according to the embodiment of the present invention;

图3为本发明实施例的应用于网关的多媒体访问处理方法的流程图;3 is a flowchart of a multimedia access processing method applied to a gateway according to an embodiment of the present invention;

图4为电视机进行视频访问的EPG页面访问流程示意图;Fig. 4 is a schematic diagram of the EPG page access flow diagram for video access by the TV;

图5为电视机进行视频访问的流媒体访问流程示意图;FIG. 5 is a schematic diagram of a streaming media access process for video access by a TV set;

图6为本发明实施例的机顶盒的结构图;6 is a structural diagram of a set-top box according to an embodiment of the present invention;

图7为本发明实施例的网关的结构图。FIG. 7 is a structural diagram of a gateway according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

如图1所示,本发明实施例的一种多媒体访问处理方法,应用于机顶盒,包括:As shown in Figure 1, a kind of multimedia access processing method of the embodiment of the present invention is applied to a set-top box, including:

步骤101,获取多媒体服务的入口地址;Step 101, obtaining the entry address of the multimedia service;

步骤102,根据所述入口地址,生成多媒体的代理访问信息,所述代理访问信息包括多媒体内容链接地址和用户鉴权信息。由上述步骤101和步骤102,应用本发明实施例的多媒体访问处理方法的机顶盒,通过获取多媒体服务的入口地址,则根据该入口地址生成包括多媒体内容链接地址和用户鉴权信息的代理访问信息,以便后续为与该机顶盒无线连接的终端设备提供电子节目指南访问代理服务,来完成多媒体的访问,而无需设置额外的机顶盒,降低了成本,避免了资源浪费。Step 102, generate multimedia proxy access information according to the entry address, where the proxy access information includes multimedia content link addresses and user authentication information. By above-mentioned step 101 and step 102, apply the set-top box of the multimedia access processing method of the embodiment of the present invention, by obtaining the entrance address of multimedia service, then generate proxy access information that comprises multimedia content link address and user authentication information according to this entrance address, In order to subsequently provide the EPG access proxy service for the terminal equipment wirelessly connected with the set-top box to complete the multimedia access without setting up an additional set-top box, thereby reducing costs and avoiding waste of resources.

应该知道的是,机顶盒启动后会发起用户认证,并周期性访问运营商视频服务的电子节目指南EPG页面,如此就能够得到多媒体服务的入口地址。该入口地址可以是EPG页面,或者由EPG页面上提取到的多媒体内容链接地址。当然,用户认证是按照时间定期进行重认证的,以保证认证的时效性,同时,随着重认证的完成,会更新代理访问信息。It should be known that after the set-top box is started, it will initiate user authentication and periodically access the EPG page of the operator's video service, so that the entry address of the multimedia service can be obtained. The entry address may be an EPG page, or a link address of the multimedia content extracted from the EPG page. Of course, user authentication is re-authenticated regularly according to time to ensure the timeliness of authentication. At the same time, with the completion of re-authentication, the proxy access information will be updated.

用户鉴权信息包括但不限于:机顶盒的终端标识、用户标识、用户密码加密认证信息、时间戳、防盗链信息。这样,用户鉴权信息和多媒体内容链接地址组成的代理访问信息,实际形成了可授权访问的多媒体内容链接,可为与机顶盒无线连接的终端设备提供电子节目指南访问代理服务。具体的,会为终端设备提供代理EPG页面,以便用户选择访问的多媒体。User authentication information includes, but is not limited to: terminal ID of the set-top box, user ID, user password encrypted authentication information, time stamp, and anti-leech information. In this way, the proxy access information composed of user authentication information and multimedia content link address actually forms a multimedia content link that can be authorized to access, and can provide EPG access proxy service for terminal equipment wirelessly connected to the set-top box. Specifically, a proxy EPG page is provided for the terminal device, so that the user can select the multimedia to be accessed.

可选地,步骤102中生成对应多媒体的代理访问信息,包括:Optionally, generating proxy access information corresponding to multimedia in step 102, including:

通过所述入口地址获取电子节目指南内的多媒体内容链接地址;Obtaining the link address of the multimedia content in the electronic program guide through the entry address;

将用户鉴权信息添加至所述多媒体内容链接地址,得到多媒体的代理访问信息。The user authentication information is added to the multimedia content link address to obtain multimedia proxy access information.

这里,会通过步骤101获取的入口地址,如EPG页面,获取到EPG内的多媒体内容链接地址,之后,再将用户鉴权信息添加到该多媒体内容链接地址,最终得到多媒体的代理访问信息。例如,一个视频内容链接地址,增加了用户鉴权信息后的代理访问信息为:Here, through the entry address obtained in step 101, such as the EPG page, the multimedia content link address in the EPG is obtained, and then the user authentication information is added to the multimedia content link address, and finally the multimedia proxy access information is obtained. For example, for a video content link address, the proxy access information after adding user authentication information is:

(rtsp/http…)://IP:PORT/host/CMSID/ContentID?AuthInfo=%2B9BrGTSqoMWrCMVhJWQqtKATlHImKh5fCZ0OePD4cL50hafeKnkQ83EBHsaurb8x&STBID=009903FF0018446000EFA8BD3A501A2E&UserId=15000123458&TimeStamp=1299046644(rtsp/http...)://IP:PORT/host/CMSID/ContentID? AuthInfo=%2B9BrGTSqoMWrCMVhJWQqtKATlHImKh5fCZ0OePD4cL50hafeKnkQ83EBHsaurb8x&STBID=009903FF0018446000EFA8BD3A501A2E&UserId=15000123458&TimeStamp=1299046644

其中,ContentID为内容标识,STBID为机顶盒终端标识,UserId为用户标识,TimeStamp为时间戳,AuthInfo为防盗链信息,由以上信息再加上用户密码通过加密和编码算法生成。Among them, ContentID is the content ID, STBID is the set-top box terminal ID, UserId is the user ID, TimeStamp is the timestamp, and AuthInfo is the anti-leech information, which is generated by the above information plus the user password through encryption and coding algorithms.

还应该知道的是,生成多媒体的代理访问信息之后,就会基于该代理访问信息为与机顶盒无线连接的终端设备提供电子节目指南访问代理服务。可选地,It should also be known that after the multimedia proxy access information is generated, an EPG access proxy service will be provided for the terminal device wirelessly connected to the set-top box based on the proxy access information. Optionally,

在生成多媒体的代理访问信息之后,还包括:After the proxy access information for multimedia is generated, it also includes:

响应于终端设备在内网的搜寻,发送所述代理访问信息至所述终端设备。In response to the search of the internal network by the terminal device, sending the agent access information to the terminal device.

具体的,机顶盒可通过通用即插即用UPnP服务提供EPG访问代理服务。该终端设备通过UPnP的局域网文件共享发现机制,可搜寻家庭内网,发现机顶盒共享提供的代理访问信息,其中包含可供授权访问的多媒体内容链接。而该终端设备的用户则能够通过基于代理访问信息生成的EPG代理界面(EPG代理页面),由点击待访问的目标多媒体对应在界面中的目标项,触发对该目标多媒体的访问。Specifically, the set-top box can provide the EPG access proxy service through the Universal Plug and Play UPnP service. Through the local area network file sharing discovery mechanism of UPnP, the terminal device can search the home intranet and find the proxy access information shared by the set-top box, which includes multimedia content links that can be authorized for access. The user of the terminal device can click the target item in the interface corresponding to the target multimedia to trigger access to the target multimedia through the EPG proxy interface (EPG proxy page) generated based on the proxy access information.

终端设备响应于用户通过基于代理访问信息生成的EPG代理界面,点击待访问的目标多媒体对应在界面中的目标项,会根据目标多媒体内容链接地址,终端设备流媒体管理协议栈生成自有的流媒体管理报文,向流媒体服务器发起访问请求。The terminal device responds to the user clicking the target item in the interface corresponding to the target multimedia to be accessed through the EPG proxy interface generated based on the proxy access information, and generates its own stream according to the link address of the target multimedia content and the terminal device streaming media management protocol stack The media management message initiates an access request to the streaming media server.

若目标视频内容链接地址是基于HTTP的流媒体协议,如HLS协议,流媒体管理协议所需的用户鉴权信息的字段信息已包含在HTTP的视频内容链接地址URL中,电视节可直接根据URL访问,向运营商流媒体服务器发起流媒体请求。若目标视频内容链接地址是基于其他流媒体协议,如IGMP/RTSP等,用户鉴权信息相关的字段并未体现在EPG上的视频内容链接中,而是由底层协议栈添加到报文字段中。终端设备和机顶盒的流媒体协议报文虽然在发送报文的流程上相同,但在协议报文的版本和具体字段定义上存在差别,需要网关进行处理。所以,在该实施例中,可选地,所述方法还包括:If the target video content link address is an HTTP-based streaming media protocol, such as the HLS protocol, the field information of the user authentication information required by the streaming media management protocol has been included in the HTTP video content link address URL, and the TV station can directly follow the URL Access, initiate a streaming media request to the operator's streaming media server. If the target video content link address is based on other streaming media protocols, such as IGMP/RTSP, etc., the fields related to user authentication information are not reflected in the video content link on the EPG, but are added to the message field by the underlying protocol stack . Although the streaming media protocol messages of the terminal device and the set-top box are the same in the process of sending the message, there are differences in the version of the protocol message and the definition of specific fields, which need to be processed by the gateway. Therefore, in this embodiment, optionally, the method further includes:

接收用户在电子节目指南代理界面选择目标项触发的第一访问请求,其中所述电子节目指南代理界面是基于所述代理访问信息生成的;receiving a first access request triggered by a user selecting a target item on an EPG agent interface, wherein the EPG agent interface is generated based on the agent access information;

根据所述第一访问请求,发送第二访问请求至目标网关,其中所述第二访问请求的源互联网协议地址为发送所述第一访问请求的设备的互联网协议地址。Sending a second access request to the target gateway according to the first access request, wherein the source IP address of the second access request is the IP address of the device sending the first access request.

这里,机顶盒会接收终端设备因用户通过基于代理访问信息生成的EPG代理界面,点击待访问的目标多媒体对应在界面中的目标项触发的第一访问请求,了解到该终端设备的用户的访问需求,从而发送第二访问请求至目标网关,以实现对目标多媒体的访问。其中,该第二访问请求的源互联网协议IP地址为发送第一访问请求的设备的IP地址,以使网络在接收到第二访问请求时了解到具有访问需求的设备。Here, the set-top box will receive the terminal device's first access request triggered by the user clicking on the target item in the interface corresponding to the target multimedia to be accessed through the EPG proxy interface generated based on the proxy access information, and understand the user's access requirements of the terminal device , so as to send the second access request to the target gateway, so as to realize the access to the target multimedia. Wherein, the source Internet Protocol IP address of the second access request is the IP address of the device sending the first access request, so that the network knows the device with access requirements when receiving the second access request.

而为了实现对目标多媒体的访问,在该实施例中,可选地,所述第一访问请求包括目标多媒体内容链接地址和用户鉴权信息;In order to realize access to the target multimedia, in this embodiment, optionally, the first access request includes the link address of the target multimedia content and user authentication information;

如图2所示,根据所述第一访问请求,发送第二访问请求至目标网关,包括:As shown in Figure 2, according to the first access request, sending a second access request to the target gateway, including:

步骤201,获取所述第一访问请求中的目标多媒体内容链接地址和用户鉴权信息;Step 201, obtaining the target multimedia content link address and user authentication information in the first access request;

步骤202,根据所述目标多媒体内容链接地址和所述用户鉴权信息,生成流媒体管理报文;Step 202, generating a streaming media management message according to the link address of the target multimedia content and the user authentication information;

步骤203,将所述流媒体管理报文的源互联网协议地址修改为所述第一访问请求发送端的互联网协议地址后,向目标网关发起第二访问请求。Step 203: After modifying the source IP address of the streaming media management message to the IP address of the sending end of the first access request, initiate a second access request to the target gateway.

这样,机顶盒会由接收到的第一访问请求,获取到目标多媒体内容链接地址和用户鉴权信息,继而根据目标多媒体内容链接地址和用户鉴权信息,生成流媒体管理报文,将所生成的流媒体管理报文的源IP地址修改为第一访问请求发送端的IP地址后,向目标网关发起第二访问请求。其中,生成流媒体管理报文是该机顶盒流媒体管理协议栈填充运营商需要的协议版本和字段组织来完成的。In this way, the set-top box will obtain the target multimedia content link address and user authentication information from the received first access request, and then generate a streaming media management message according to the target multimedia content link address and user authentication information, and send the generated After the source IP address of the streaming media management message is changed to the IP address of the sender of the first access request, a second access request is initiated to the target gateway. Wherein, the generation of the streaming media management message is completed by filling the protocol version and field organization required by the operator with the streaming media management protocol stack of the set-top box.

其中,所述流媒体管理报文的标识指示所述流媒体管理报文为代理报文。Wherein, the identifier of the streaming media management message indicates that the streaming media management message is a proxy message.

这样,网关接收到第二访问请求后,通过流媒体管理报文的标识指示,确定流媒体管理报文为代理报文。In this way, after receiving the second access request, the gateway determines that the streaming media management message is a proxy message through the identifier indication of the streaming media management message.

网关能够通过流媒体管理协议嗅探和代理,在所有网络报文中嗅探机顶盒和终端设备发送的流媒体管理报文。其中,该网关会在收到其中一方的报文后,启动超时机制等待另外一方的报文。超时机制的时长Timeout值是根据两者发送可能的时间差设置,同时兼顾用户体验,优选不超过1s。The gateway can sniff and proxy the streaming media management packets sent by the set-top boxes and terminal devices in all network packets through streaming media management protocol sniffing and proxying. Wherein, the gateway will start a timeout mechanism to wait for the message from the other party after receiving the message from one party. The timeout value of the timeout mechanism is set according to the possible time difference between the two transmissions, while taking into account the user experience, preferably no more than 1s.

网关在Timeout时间内嗅探到机顶盒和终端设备向网关发送的流媒体管理报文后,基于预设参数对两者进行是否匹配的判断,从而在匹配的情况下,认定是该终端设备通过机顶盒提供的EPG访问代理服务而触发的流媒体请求,向流媒体服务器发送访问请求。其中,匹配参考的预设参数包括但不限于协议类型和地址字段,还可以有协议版本、源端口号。After the gateway sniffs the streaming media management message sent by the set-top box and the terminal device to the gateway within the Timeout time, it judges whether the two match based on the preset parameters. The streaming media request triggered by the provided EPG access proxy service sends an access request to the streaming media server. Wherein, the preset parameters for matching reference include but not limited to protocol type and address fields, and may also include protocol version and source port number.

例如,一个IGMP报文匹配的示例如下:For example, an example of IGMP packet matching is as follows:

机顶盒发出IGMP V2的Report报文:The set-top box sends an IGMP V2 Report message:

IGMP V2 Membership Report(IGMP join)IGMP V2 Membership Report(IGMP join)

IGMP Version:2IGMP Version: 2

Type:Membership Report(0x16)Type: Membership Report (0x16)

Max Response Time:0.0sec(0x00)Max Response Time: 0.0sec(0x00)

Header checksum:0xABCD(例如0xfe8f代表correct)Header checksum: 0xABCD (eg 0xfe8f means correct)

Multicast Address:x.x.x.x;Multicast Address: x.x.x.x;

终端设备(电视机)发出IGMP V3的Report报文:The terminal device (TV) sends the Report message of IGMP V3:

IGMP V3 Membership Report(IGMP join)IGMP V3 Membership Report (IGMP join)

IGMP Version:3IGMP Version: 3

Type:Membership Report(0x22)Type: Membership Report (0x22)

Max Response Time:1.0sec(0x00)Max Response Time: 1.0sec(0x00)

Header checksum:0xABCD(例如0xfe8f代表correct)Header checksum: 0xABCD (eg 0xfe8f means correct)

Multicast Address:x.x.x.x。Multicast Address: x.x.x.x.

网关可根据两者报文字段内容的相关性进行匹配,如都是IGMP协议类型,但协议版本有差异,报文子类型字段表示有差别但都是IGMP Report报文类型,两者所要加入的组播地址Multicast Address相同。The gateway can match according to the correlation of the contents of the two message fields. For example, both are IGMP protocol types, but the protocol versions are different, and the message subtype fields indicate differences but both are IGMP Report message types. The broadcast address is the same as the Multicast Address.

另外,网关在将确定两者匹配的情况下,向流媒体服务器发送访问请求,该访问请求可是直接转发的机顶盒的访问请求,也可结合接收的终端设备的访问请求,在转发的访问请求中增加终端设备的设备属性信息如设备标识、设备物理地址等。In addition, the gateway will send an access request to the streaming media server when the two match. Increase the device attribute information of the terminal device, such as device identification, device physical address, etc.

而且,该实施例中,网关还会增加转发规则,将接收到终端设备的访问请求的报文源端口设置为访问的流媒体内容报文的目的地址的转发端口。如此在流媒体服务器接收到访问请求后,向网关发送下行的流媒体内容报文,网关根据已设置的转发规则,则可将流媒体内容报文转发给终端设备,终端设备收到流媒体内容报文后,调用播放器播放内容。Moreover, in this embodiment, the gateway will also add a forwarding rule, and set the source port of the message receiving the access request of the terminal device as the forwarding port of the destination address of the accessed streaming media content message. In this way, after the streaming media server receives the access request, it sends the downstream streaming media content message to the gateway, and the gateway can forward the streaming media content message to the terminal device according to the forwarding rules set, and the terminal device receives the streaming media content After the message, call the player to play the content.

下面,结合图3说明电视机进行视频访问的EPG页面访问流程:In the following, the EPG page access process for video access by the TV is described in conjunction with FIG. 3 :

机顶盒发起用户认证,并周期性访问运营商视频服务的EPG页面;机顶盒遍历EPG页面内的视频内容链接地址,并增加用户鉴权信息(可包含机顶盒终端标识、用户标识、用户密码加密认证信息、时间戳、防盗链信息等),形成可授权访问的视频内容链接,进一步形成代理EPG页面,并通过UPnP服务为EPG页面提供代理访问服务。电视机通过UPnP的局域网文件共享发现机制,搜寻家庭内网,发现机顶盒共享提供的EPG代理页面,页面包含可供授权访问的视频内容链接;用户点击该EPG代理页面文件后,电视机浏览器加载该EPG代理页面,用户便可以浏览该EPG页面内容。The set-top box initiates user authentication, and periodically accesses the EPG page of the operator's video service; the set-top box traverses the video content link address in the EPG page, and adds user authentication information (which may include the set-top box terminal ID, user ID, user password encrypted authentication information, Timestamp, anti-leeching information, etc.), form video content links that can be authorized to access, further form proxy EPG pages, and provide proxy access services for EPG pages through UPnP services. The TV searches the family intranet through the UPnP LAN file sharing discovery mechanism, and finds the EPG proxy page shared by the set-top box. The page contains video content links that can be authorized to be accessed; The EPG proxy page allows the user to browse the content of the EPG page.

结合图4说明电视机进行视频访问的流媒体访问流程:In conjunction with Figure 4, the streaming media access process for TV access to video is described:

家庭网关上电后开启流媒体管理协议嗅探和代理模块;用户在电视机上的代理EPG页面上选择感兴趣的视频内容,点击访问视频内容链接地址。机顶盒响应链接点击动作,根据访问视频内容链接地址,机顶盒流媒体管理协议栈填充运营商需要的协议版本和字段组织形成运营商流媒体管理报文,同时报文的发送的源IP地址修改为电视机IP地址并标识为代理报文,向流媒体服务器发起请求;同时电视机响应点击动作,根据访问视频内容链接地址,电视机流媒体管理协议栈生成自有的流媒体管理报文,向流媒体服务器发起请求;家庭网关在所有网络报文中嗅探机顶盒和电视机发送的流媒体管理报文,收到其中一方的报文后,启动超时机制等待另外一方的报文(Timeout值不超过1s);家庭网关流媒体管理协议嗅探和代理模块在Timeout时间内嗅探到2个设备发出的流媒体管理报文,并记录2个报文接收到的协议类型、协议版本、源端口号,并根据2个报文中的地址字段进行匹配,若匹配上则认定是电视机通过访问机顶盒代理EPG页面而触发的流媒体请求;家庭网关流媒体管理协议嗅探和代理模块将机顶盒发送的流媒体管理报文继续发出,向流媒体服务器发起播放请求;同时,在流媒体路由转发模块中,增加转发规则,将电视机所发报文的源端口设置为所请求的流媒体内容报文的目的地址的转发端口;流媒体服务器接收到请求后,向家庭网关发送下行的流媒体内容报文,家庭网关根据之前在流媒体路由转发模块中设置的转发规则,将报文转发给电视机,电视机收到视频内容报文后,调用播放器播放内容。After the home gateway is powered on, the streaming media management protocol sniffing and proxy module is started; the user selects the video content of interest on the proxy EPG page on the TV, and clicks to access the video content link address. The set-top box responds to the click action of the link, and according to the link address of the accessed video content, the set-top box streaming media management protocol stack fills in the protocol version and field organization required by the operator to form an operator streaming media management message, and at the same time, the source IP address of the message is changed to TV IP address of the TV set and identified as a proxy message, and initiates a request to the streaming media server; at the same time, the TV responds to the click action, and according to the link address of the accessed video content, the TV streaming media management protocol stack generates its own streaming media management message and sends it to the streaming media server. The media server initiates a request; the home gateway sniffs the streaming media management messages sent by the set-top box and the TV in all network messages, and after receiving one of the messages, it starts a timeout mechanism and waits for the other party's messages (the Timeout value does not exceed 1s); the home gateway streaming media management protocol sniffing and proxy module sniffs the streaming media management packets sent by 2 devices within the Timeout time, and records the protocol type, protocol version, and source port number received by the 2 packets , and match according to the address fields in the two messages. If they match, it is determined that the streaming media request is triggered by the TV set-top box by accessing the proxy EPG page; the home gateway streaming media management protocol sniffing and proxy module sends the set-top box The streaming media management message continues to be sent, and a playback request is initiated to the streaming media server; at the same time, in the streaming media routing and forwarding module, a forwarding rule is added to set the source port of the message sent by the TV set to the requested streaming media content message The forwarding port of the destination address; after receiving the request, the streaming media server sends the downlink streaming media content message to the home gateway, and the home gateway forwards the message to the TV according to the forwarding rules previously set in the streaming media routing and forwarding module , after the TV receives the video content message, it invokes the player to play the content.

所以,该实施例中,机顶盒实现了:预置EPG访问入口,并提供EPG访问代理服务,提供视频内容的访问链接;提供EPG代理入口;用户认证,并提供认证代理服务;生成定制的流媒体管理报文。网关实现了:探截获机顶盒和终端设备发出的流媒体管理协议报文,并根据报文之间的字段关联关系(如要访问的视频内容地址、发送源地址、代理关系等),代理终端设备向流媒体服务器发出的修正过的流媒体管理报文;将流媒体报文转发到相应的流媒体请求终端所在的网络接口。终端设备实现了:发现EPG代理入口;打开EPG代理入口,并呈现EPG代理页面;根据EPG的中的多媒体内容链接地址,向流媒体服务器发出符合本身的流媒体管理协议报文;获取和接收流媒体传输报文;就接收到的流媒体报文内容,进行多媒体播放。Therefore, in this embodiment, the set-top box has realized: preset EPG access entrance, and provide EPG access proxy service, provide the access link of video content; Provide EPG proxy entrance; User authentication, and provide authentication proxy service; Generate customized streaming media management messages. The gateway realizes: the detection intercepts the streaming media management protocol message sent by the set-top box and the terminal device, and according to the field association relationship between the messages (such as the address of the video content to be accessed, the sending source address, the agency relationship, etc.), the proxy terminal device The modified streaming media management message sent to the streaming media server; the streaming media message is forwarded to the corresponding network interface where the streaming media requesting terminal is located. The terminal device realizes: discovering the EPG agent entrance; opening the EPG agent entrance, and presenting the EPG agent page; according to the link address of the multimedia content in the EPG, sending a stream media management protocol message conforming to itself to the stream media server; obtaining and receiving the stream Media transmission message; perform multimedia playback on the content of the received streaming media message.

综上所述,本发明实施例的方法,通过获取多媒体服务的入口地址,能够根据该入口地址生成包括多媒体内容链接地址和用户鉴权信息的代理访问信息,以便后续为与该机顶盒无线连接的终端设备提供电子节目指南访问代理服务,来完成多媒体的访问,而无需设置额外的机顶盒,降低了成本,避免了资源浪费。To sum up, the method of the embodiment of the present invention, by obtaining the entry address of the multimedia service, can generate proxy access information including the link address of the multimedia content and user authentication information according to the entry address, so that the subsequent wireless connection with the set-top box The terminal device provides the EPG access proxy service to complete the multimedia access without setting up an additional set-top box, thereby reducing costs and avoiding waste of resources.

如图5所示,本发明实施例的一种多媒体访问处理方法,应用于网关,包括:As shown in Fig. 5, a kind of multimedia access processing method of the embodiment of the present invention is applied to the gateway, including:

步骤501,接收机顶盒发送的第一多媒体访问请求,其中所述第一多媒体访问请求包括目标多媒体内容链接地址和用户鉴权信息,且所述第一多媒体访问请求的源互联网协议地址为发起多媒体访问的终端设备的互联网协议地址;Step 501, receiving the first multimedia access request sent by the top box, wherein the first multimedia access request includes the target multimedia content link address and user authentication information, and the source of the first multimedia access request is Internet The protocol address is the Internet protocol address of the terminal device that initiates the multimedia access;

步骤502,根据所述第一多媒体访问请求,发送第二多媒体访问请求至流媒体服务器。Step 502: Send a second multimedia access request to a streaming media server according to the first multimedia access request.

结合上一实施例,机顶盒基于该代理访问信息为与机顶盒无线连接的终端设备提供电子节目指南访问代理服务。用户通过基于代理访问信息生成的EPG代理界面,由点击待访问的目标多媒体对应在界面中的目标项,触发对该目标多媒体的访问。机顶盒在接收到终端设备的访问请求后,会向网关发送对应的第一多媒体访问请求,第一多媒体访问请求包括目标多媒体内容链接地址和用户鉴权信息,且第一多媒体访问请求的源IP地址为发起多媒体访问的终端设备的IP地址。这样,网关通过第一多媒体访问请求了解到机顶盒向终端设备提供EPG访问代理服务以及终端设备的访问需求,从而发送第二多媒体访问请求至流媒体服务器,以请求流媒体内容来完成多媒体的访问,而无需设置额外的机顶盒,降低了成本,避免了资源浪费。With reference to the previous embodiment, the set-top box provides the EPG access proxy service for the terminal device wirelessly connected to the set-top box based on the proxy access information. The user triggers access to the target multimedia by clicking the target item in the interface corresponding to the target multimedia to be accessed through the EPG proxy interface generated based on the proxy access information. After receiving the access request from the terminal device, the set-top box will send a corresponding first multimedia access request to the gateway. The first multimedia access request includes the target multimedia content link address and user authentication information, and the first multimedia The source IP address of the access request is the IP address of the terminal device that initiates the multimedia access. In this way, the gateway understands the EPG access proxy service provided by the set-top box to the terminal equipment and the access requirements of the terminal equipment through the first multimedia access request, so as to send the second multimedia access request to the streaming media server to request the streaming media content to complete Multimedia access does not require additional set-top boxes, reducing costs and avoiding waste of resources.

可选地,所述方法还包括:Optionally, the method also includes:

在接收所述第一多媒体访问请求之前或之后的预设时长内,接收所述终端设备发送的第三多媒体访问请求;Receive a third multimedia access request sent by the terminal device within a preset time period before or after receiving the first multimedia access request;

根据所述第一多媒体访问请求,发送第二多媒体访问请求至流媒体服务器,包括:According to the first multimedia access request, sending the second multimedia access request to the streaming media server, including:

基于预设参数对所述第一多媒体访问请求和所述第三多媒体访问请求进行是否匹配的判断;judging whether the first multimedia access request matches the third multimedia access request based on preset parameters;

在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,发送第二多媒体访问请求至流媒体服务器;其中,When the judgment result indicates that the first multimedia access request matches the third multimedia access request, sending a second multimedia access request to the streaming media server; wherein,

所述预设参数包括:协议类型和地址字段。The preset parameters include: protocol type and address fields.

该实施例中,网关能够通过流媒体管理协议嗅探和代理,在所有网络报文中嗅探机顶盒和终端设备发送的流媒体管理报文。其中,该网关会在收到其中一方的报文后,启动超时机制等待另外一方的报文。超时机制的时长Timeout值是根据两者发送可能的时间差设置,同时兼顾用户体验,优选不超过1s。网关在Timeout时间内嗅探到机顶盒和终端设备向网关发送的流媒体管理报文后,基于预设参数对两者进行是否匹配的判断,从而在匹配的情况下,认定是该终端设备通过机顶盒提供的EPG访问代理服务而触发的流媒体请求,向流媒体服务器发送访问请求。其中,匹配参考的预设参数包括但不限于协议类型和地址字段,还可以有协议版本、源端口号。In this embodiment, the gateway can sniff and proxy streaming media management messages sent by set-top boxes and terminal devices in all network messages through streaming media management protocol sniffing and proxying. Wherein, the gateway will start a timeout mechanism to wait for the message from the other party after receiving the message from one party. The timeout value of the timeout mechanism is set according to the possible time difference between the two transmissions, while taking into account the user experience, preferably no more than 1s. After the gateway sniffs the streaming media management message sent by the set-top box and the terminal device to the gateway within the Timeout time, it judges whether the two match based on the preset parameters. The streaming media request triggered by the provided EPG access proxy service sends an access request to the streaming media server. Wherein, the preset parameters of the matching reference include but are not limited to the protocol type and the address field, and may also include the protocol version and the source port number.

可选地,所述方法还包括:Optionally, the method also includes:

在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,将所述第三多媒体访问请求的报文源端口设置为访问的流媒体内容报文的目的地址的转发端口;When the judgment result indicates that the first multimedia access request matches the third multimedia access request, setting the message source port of the third multimedia access request as the accessed streaming media content The forwarding port of the destination address of the message;

接收所述流媒体服务器根据所述第二多媒体访问请求发送的流媒体内容报文;receiving the streaming media content message sent by the streaming media server according to the second multimedia access request;

根据所述转发端口,将所述流媒体内容报文转发至所述终端设备。The streaming media content packet is forwarded to the terminal device according to the forwarding port.

网关还会增加转发规则,将接收到终端设备的访问请求的报文源端口设置为访问的流媒体内容报文的目的地址的转发端口。如此在流媒体服务器接收到访问请求后,向网关发送下行的流媒体内容报文,网关根据已设置的转发规则,则可将流媒体内容报文转发给终端设备,终端设备收到流媒体内容报文后,调用播放器播放内容。The gateway will also add a forwarding rule, and set the source port of the packet receiving the access request of the terminal device as the forwarding port of the destination address of the accessed streaming media content packet. In this way, after the streaming media server receives the access request, it sends the downstream streaming media content message to the gateway, and the gateway can forward the streaming media content message to the terminal device according to the forwarding rules set, and the terminal device receives the streaming media content After the message, call the player to play the content.

需要说明的是,该实施例的方法是与上述实施例的应用于机顶盒的多媒体访问处理方法配合实现多媒体访问处理的,上述实施例的方法的实现方式适用于该方法,也能达到相同的技术效果。It should be noted that the method of this embodiment cooperates with the multimedia access processing method applied to the set-top box of the above embodiment to realize multimedia access processing, and the implementation of the method of the above embodiment is applicable to this method, and can also achieve the same technology Effect.

本发明实施例的一种多媒体访问处理装置,应用于机顶盒,包括:A multimedia access processing device according to an embodiment of the present invention is applied to a set-top box and includes:

获取模块,用于获取多媒体服务的入口地址;An acquisition module, configured to acquire an entry address of the multimedia service;

生成模块,用于根据所述入口地址,生成多媒体的代理访问信息,所述代理访问信息包括多媒体内容链接地址和用户鉴权信息。The generating module is configured to generate multimedia proxy access information according to the entry address, and the proxy access information includes multimedia content link addresses and user authentication information.

其中,所述生成模块包括:Wherein, the generating module includes:

第一获取子模块,用于通过所述入口地址获取电子节目指南内的多媒体内容链接地址;The first obtaining submodule is used to obtain the link address of the multimedia content in the electronic program guide through the entry address;

第一处理子模块,用于将用户鉴权信息添加至所述多媒体内容链接地址,得到多媒体的代理访问信息。The first processing sub-module is used to add user authentication information to the multimedia content link address to obtain multimedia proxy access information.

其中,所述装置还包括:Wherein, the device also includes:

第一发送模块,用于响应于终端设备在内网的搜寻,发送所述代理访问信息至所述终端设备。The first sending module is configured to send the proxy access information to the terminal device in response to the search of the terminal device on the intranet.

其中,所述装置还包括:Wherein, the device also includes:

第一接收模块,用于接收用户在电子节目指南代理界面选择目标项触发的第一访问请求,其中所述电子节目指南代理界面是基于所述代理访问信息生成的;The first receiving module is configured to receive a first access request triggered by a user selecting a target item on an EPG agent interface, wherein the EPG agent interface is generated based on the agent access information;

第二发送模块,用于根据所述第一访问请求,发送第二访问请求至目标网关,其中所述第二访问请求的源互联网协议地址为发送所述第一访问请求的设备的互联网协议地址。The second sending module is configured to send a second access request to the target gateway according to the first access request, wherein the source Internet protocol address of the second access request is the Internet protocol address of the device sending the first access request .

其中,所述第一访问请求包括目标多媒体内容链接地址和用户鉴权信息;Wherein, the first access request includes a target multimedia content link address and user authentication information;

所述第二发送模块包括:The second sending module includes:

第二获取子模块,用于获取所述第一访问请求中的目标多媒体内容链接地址和用户鉴权信息;The second obtaining submodule is used to obtain the target multimedia content link address and user authentication information in the first access request;

生成子模块,用于根据所述目标多媒体内容链接地址和所述用户鉴权信息,生成流媒体管理报文;A generating submodule, configured to generate a streaming media management message according to the link address of the target multimedia content and the user authentication information;

第二处理子模块,用于将所述流媒体管理报文的源互联网协议地址修改为所述第一访问请求发送端的互联网协议地址后,向目标网关发起第二访问请求。The second processing sub-module is configured to modify the source IP address of the streaming media management message to the IP address of the sending end of the first access request, and then initiate a second access request to the target gateway.

其中,所述流媒体管理报文的标识指示所述流媒体管理报文为代理报文。Wherein, the identifier of the streaming media management message indicates that the streaming media management message is a proxy message.

该实施例的装置,通过获取多媒体服务的入口地址,能够根据该入口地址生成包括多媒体内容链接地址和用户鉴权信息的代理访问信息,以便后续为与该机顶盒无线连接的终端设备提供电子节目指南访问代理服务,来完成多媒体的访问,而无需设置额外的机顶盒,降低了成本,避免了资源浪费。The device of this embodiment, by obtaining the entry address of the multimedia service, can generate proxy access information including the multimedia content link address and user authentication information according to the entry address, so as to subsequently provide an electronic program guide for the terminal equipment wirelessly connected to the set-top box The access proxy service is used to complete multimedia access without setting up an additional set-top box, which reduces costs and avoids waste of resources.

需要说明的是,该装置是应用了上述应用于机顶盒的多媒体访问处理方法的装置,上述应用于机顶盒的多媒体访问处理方法的实施例的实现方式适用于该装置,也能达到相同的技术效果。It should be noted that this device is a device to which the above-mentioned multimedia access processing method applied to a set-top box is applied, and the implementation of the embodiment of the above-mentioned multimedia access processing method applied to a set-top box is applicable to this device, and can also achieve the same technical effect.

本发明实施例的一种多媒体访问处理装置,应用于网关,包括:A multimedia access processing device according to an embodiment of the present invention is applied to a gateway and includes:

第二接收模块,用于接收机顶盒发送的第一多媒体访问请求,其中所述第一多媒体访问请求包括目标多媒体内容链接地址和用户鉴权信息,且所述第一多媒体访问请求的源互联网协议地址为发起多媒体访问的终端设备的互联网协议地址;The second receiving module is configured to receive the first multimedia access request sent by the top box, wherein the first multimedia access request includes the target multimedia content link address and user authentication information, and the first multimedia access request The source IP address of the request is the IP address of the terminal device that initiates the multimedia access;

第三发送模块,用于根据所述第一多媒体访问请求,发送第二多媒体访问请求至流媒体服务器。A third sending module, configured to send a second multimedia access request to the streaming media server according to the first multimedia access request.

其中,所述装置还包括:Wherein, the device also includes:

第三接收模块,用于在接收所述第一多媒体访问请求之前或之后的预设时长内,接收所述终端设备发送的第三多媒体访问请求;A third receiving module, configured to receive a third multimedia access request sent by the terminal device within a preset time period before or after receiving the first multimedia access request;

所述第三发送模块包括:The third sending module includes:

判断子模块,用于基于预设参数对所述第一多媒体访问请求和所述第三多媒体访问请求进行是否匹配的判断;A judging submodule, configured to judge whether the first multimedia access request matches the third multimedia access request based on preset parameters;

发送子模块,用于在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,发送第二多媒体访问请求至流媒体服务器;其中,The sending submodule is used to send the second multimedia access request to the streaming media server when the judgment result indicates that the first multimedia access request matches the third multimedia access request; wherein,

所述预设参数包括:协议类型和地址字段。The preset parameters include: protocol type and address fields.

其中,所述装置还包括:Wherein, the device also includes:

第一处理模块,用于在判断结果指示所述第一多媒体访问请求和所述第三多媒体访问请求匹配的情况下,将所述第三多媒体访问请求的报文源端口设置为访问的流媒体内容报文的目的地址的转发端口;The first processing module is configured to, when the judgment result indicates that the first multimedia access request matches the third multimedia access request, send the packet source port of the third multimedia access request to Set as the forwarding port of the destination address of the streaming media content message accessed;

第四接收模块,用于接收所述流媒体服务器根据所述第二多媒体访问请求发送的流媒体内容报文;A fourth receiving module, configured to receive the streaming media content message sent by the streaming media server according to the second multimedia access request;

第二处理模块,用于根据所述转发端口,将所述流媒体内容报文转发至所述终端设备。The second processing module is configured to forward the streaming media content packet to the terminal device according to the forwarding port.

该实施例的装置,通过第一多媒体访问请求了解到机顶盒向终端设备提供EPG访问代理服务以及终端设备的访问需求,从而发送第二多媒体访问请求至流媒体服务器,以请求流媒体内容来完成多媒体的访问,而无需设置额外的机顶盒,降低了成本,避免了资源浪费。The apparatus of this embodiment understands that the set-top box provides the EPG access proxy service to the terminal equipment and the access requirements of the terminal equipment through the first multimedia access request, so as to send the second multimedia access request to the streaming media server to request the streaming media content to complete multimedia access, without setting an additional set-top box, which reduces costs and avoids waste of resources.

需要说明的是,该装置是应用了上述应用于网关的多媒体访问处理方法的装置,上述应用于网关的多媒体访问处理方法的实施例的实现方式适用于该装置,也能达到相同的技术效果。It should be noted that this device is a device to which the above-mentioned multimedia access processing method applied to a gateway is applied, and the implementation of the embodiment of the above-mentioned multimedia access processing method applied to a gateway is applicable to this device, and can also achieve the same technical effect.

本发明实施例的一种机顶盒,如图6所示,包括收发器610、存储器620、处理器600及存储在所述存储器620上并可在所述处理器600上运行的计算机程序;所述处理器600执行所述计算机程序时实现上述应用于机顶盒的多媒体访问处理方法。A set-top box according to an embodiment of the present invention, as shown in FIG. 6 , includes a transceiver 610, a memory 620, a processor 600, and a computer program stored on the memory 620 and operable on the processor 600; When the processor 600 executes the computer program, the above multimedia access processing method applied to a set-top box is implemented.

所述收发器610,用于在处理器600的控制下接收和发送数据。The transceiver 610 is used for receiving and sending data under the control of the processor 600 .

其中,在图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器620代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发器610可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口630还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。Wherein, in FIG. 6 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 600 and various circuits of the memory represented by the memory 620 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. Transceiver 610 may be a plurality of elements, including a transmitter and a receiver, providing a means for communicating with various other devices over a transmission medium. For different user equipments, the user interface 630 may also be an interface capable of connecting externally and internally to required equipment, and the connected equipment includes but not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

处理器600负责管理总线架构和通常的处理,存储器620可以存储处理器600在执行操作时所使用的数据。The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.

本发明实施例的网关,如图7所示,包括收发器710、存储器720、处理器700及存储在所述存储器720上并可在所述处理器700上运行的计算机程序;所述处理器700执行所述计算机程序时实现上述应用于网关的多媒体访问处理方法。The gateway of the embodiment of the present invention, as shown in FIG. 7 , includes a transceiver 710, a memory 720, a processor 700, and a computer program stored on the memory 720 and operable on the processor 700; the processor 700 implements the above multimedia access processing method applied to a gateway when the computer program is executed.

所述收发器710,用于在处理器700的控制下接收和发送数据。The transceiver 710 is used for receiving and sending data under the control of the processor 700 .

其中,在图7中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器700代表的一个或多个处理器和存储器720代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发器710可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器700负责管理总线架构和通常的处理,存储器720可以存储处理器700在执行操作时所使用的数据。Wherein, in FIG. 7 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 700 and various circuits of the memory represented by the memory 720 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. Transceiver 710 may be a plurality of elements, including a transmitter and a receiver, providing a means for communicating with various other devices over transmission media. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 can store data used by the processor 700 when performing operations.

本发明实施例的一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用于机顶盒的多媒体访问处理方法中的步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。A computer-readable storage medium according to an embodiment of the present invention, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned multimedia access processing method applied to a set-top box are implemented, and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.

本发明实施例的一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用于网关的多媒体访问处理方法中的步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。A computer-readable storage medium according to an embodiment of the present invention, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned multimedia access processing method applied to the gateway are implemented, and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.

其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

进一步需要说明的是,此说明书中所描述的许多功能部件都被称为模块,以便更加特别地强调其实现方式的独立性。It should be further noted that many of the functional components described in this specification are called modules, in order to more particularly emphasize the independence of their implementation.

本发明实施例中,模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In the embodiments of the present invention, the modules may be implemented by software so as to be executed by various types of processors. An identified module of executable code may, by way of example, comprise one or more physical or logical blocks of computer instructions which may, for example, be structured as an object, procedure, or function. Notwithstanding, the executable code of an identified module need not be physically located together, but may include distinct instructions stored in different bits which, when logically combined, constitute the module and implement the specified Purpose.

实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs and across multiple memory devices. Likewise, operational data may be identified within modules, and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed in different locations (including on different storage devices), and may exist, at least in part, only as electronic signals on a system or network.

在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be realized by software, considering the level of the existing hardware technology, the module that can be realized by software, regardless of the cost, those skilled in the art can build the corresponding hardware circuit to realize the corresponding function. The hardware circuit includes conventional very large scale integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.

上述范例性实施例是参考该些附图来描述的,许多不同的形式和实施例是可行而不偏离本发明精神及教示,因此,本发明不应被建构成为在此所提出范例性实施例的限制。更确切地说,这些范例性实施例被提供以使得本发明会是完善又完整,且会将本发明范围传达给那些熟知此项技术的人士。在该些图式中,组件尺寸及相对尺寸也许基于清晰起见而被夸大。在此所使用的术语只是基于描述特定范例性实施例目的,并无意成为限制用。如在此所使用地,除非该内文清楚地另有所指,否则该单数形式“一”、“一个”和“该”是意欲将该些多个形式也纳入。会进一步了解到该些术语“包含”及/或“包括”在使用于本说明书时,表示所述特征、整数、步骤、操作、构件及/或组件的存在,但不排除一或更多其它特征、整数、步骤、操作、构件、组件及/或其族群的存在或增加。除非另有所示,陈述时,一值范围包含该范围的上下限及其间的任何子范围。The exemplary embodiments described above are described with reference to these drawings. Many different forms and embodiments are possible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be construed as the exemplary embodiments set forth herein. limits. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will convey the scope of the invention to those skilled in the art. In the drawings, component sizes and relative sizes may be exaggerated for clarity. The terminology used herein is for the purpose of describing certain exemplary embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include these plural forms unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and/or "comprises", when used in this specification, indicate the presence of stated features, integers, steps, operations, components and/or components, but do not exclude one or more other The presence or addition of features, integers, steps, operations, components, components and/or groups thereof. Unless otherwise indicated, when stated a range of values includes the upper and lower limits of that range and any subranges therebetween.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (18)

1. A multimedia access processing method is applied to a set top box and is characterized by comprising the following steps:
acquiring an entry address of a multimedia service;
generating agent access information of the multimedia according to the entry address, wherein the agent access information comprises a multimedia content link address and user authentication information;
receiving a first access request triggered by a user selecting a target item on an electronic program guide proxy interface, wherein the electronic program guide proxy interface is generated based on the proxy access information;
sending a second access request to a target gateway according to the first access request, wherein the source internet protocol address of the second access request is the internet protocol address of the equipment sending the first access request;
wherein the electronic program guide agent interface is further used for the terminal equipment to respond to the target item selected by the user to trigger a third multimedia access request; the second access request and the third multimedia access request are used for the target gateway to judge whether to send the second multimedia access request to a streaming media server, and the target gateway forwards a streaming media content message sent by the streaming media server according to the second multimedia access request to the terminal equipment after receiving the streaming media content message.
2. The method of claim 1, wherein generating proxy access information for the corresponding multimedia based on the entry address comprises:
acquiring a multimedia content link address in the electronic program guide through the entrance address;
and adding the user authentication information to the multimedia content link address to obtain the multimedia proxy access information.
3. The method of claim 1, further comprising, after generating the proxy access information for the multimedia:
and responding to the search of the terminal equipment in the intranet, and sending the agent access information to the terminal equipment.
4. The method of claim 1, wherein the first access request comprises a target multimedia content link address and user authentication information;
according to the first access request, sending a second access request to a target gateway, comprising:
acquiring a target multimedia content link address and user authentication information in the first access request;
generating a streaming media management message according to the target multimedia content link address and the user authentication information;
and after the source internet protocol address of the streaming media management message is modified into the internet protocol address of the first access request sending end, a second access request is sent to a target gateway.
5. The method of claim 4, wherein the identifier of the streaming media management packet indicates that the streaming media management packet is a proxy packet.
6. A multimedia access processing method applied to a gateway is characterized by comprising the following steps:
receiving a first multimedia access request sent by a set top box, wherein the first multimedia access request comprises a target multimedia content link address and user authentication information, and a source internet protocol address of the first multimedia access request is an internet protocol address of terminal equipment initiating multimedia access;
according to the first multimedia access request, sending a second multimedia access request to a streaming media server;
receiving a third multimedia access request sent by the terminal equipment within a preset time length before or after receiving the first multimedia access request;
according to the first multimedia access request, sending a second multimedia access request to a streaming media server, comprising:
judging whether the first multimedia access request and the third multimedia access request are matched or not based on preset parameters;
under the condition that the judgment result indicates that the first multimedia access request is matched with the third multimedia access request, sending a second multimedia access request to a streaming media server, and forwarding a streaming media content message to the terminal equipment after receiving the streaming media content message sent by the streaming media server according to the second multimedia access request; wherein,
the preset parameters include: a protocol type and address field;
the second multimedia access request is triggered by the terminal equipment in response to a target item selected by a user at an electronic program guide proxy interface; the electronic program guide proxy interface is generated based on proxy access information of the set-top box.
7. The method of claim 6, further comprising:
under the condition that the judgment result indicates that the first multimedia access request is matched with the third multimedia access request, setting a message source port of the third multimedia access request as a forwarding port of a destination address of an accessed streaming media content message;
receiving a streaming media content message sent by the streaming media server according to the second multimedia access request;
and forwarding the streaming media content message to the terminal equipment according to the forwarding port.
8. A multimedia access processing apparatus applied to a set-top box, comprising:
the acquisition module is used for acquiring the entry address of the multimedia service;
the generating module is used for generating the proxy access information of the multimedia according to the entry address, wherein the proxy access information comprises a multimedia content link address and user authentication information;
a first receiving module, configured to receive a first access request triggered by a user selecting a target item on an electronic program guide proxy interface, where the electronic program guide proxy interface is generated based on the proxy access information;
a second sending module, configured to send a second access request to a target gateway according to the first access request, where a source internet protocol address of the second access request is an internet protocol address of a device that sends the first access request;
the electronic program guide agent interface is also used for the terminal equipment to respond to the target item selected by the user to trigger a third multimedia access request; the second access request and the third multimedia access request are used for the target gateway to judge whether to send the second multimedia access request to a streaming media server, and the target gateway forwards a streaming media content message sent by the streaming media server according to the second multimedia access request to the terminal equipment after receiving the streaming media content message.
9. The apparatus of claim 8, wherein the generating module comprises:
the first acquisition submodule is used for acquiring a multimedia content link address in the electronic program guide through the entry address;
and the first processing submodule is used for adding the user authentication information to the multimedia content link address to obtain the proxy access information of the multimedia.
10. The apparatus of claim 8, further comprising:
and the first sending module is used for responding to the search of the terminal equipment in the intranet and sending the agent access information to the terminal equipment.
11. The apparatus of claim 8, wherein the first access request comprises a destination multimedia content link address and user authentication information;
the second sending module includes:
the second obtaining submodule is used for obtaining a target multimedia content link address and user authentication information in the first access request;
a generation submodule, configured to generate a streaming media management packet according to the target multimedia content link address and the user authentication information;
and the second processing submodule is used for initiating a second access request to the target gateway after the source internet protocol address of the streaming media management message is modified into the internet protocol address of the first access request sending end.
12. The apparatus of claim 11, wherein the identification of the streaming media management packet indicates that the streaming media management packet is a proxy packet.
13. A multimedia access processing apparatus applied to a gateway, comprising:
the second receiving module is used for receiving a first multimedia access request sent by the set top box, wherein the first multimedia access request comprises a target multimedia content link address and user authentication information, and a source internet protocol address of the first multimedia access request is an internet protocol address of terminal equipment initiating multimedia access;
a third sending module, configured to send a second multimedia access request to the streaming media server according to the first multimedia access request;
a third receiving module, configured to receive a third multimedia access request sent by the terminal device within a preset time period before or after receiving the first multimedia access request;
the third sending module includes:
the judgment submodule is used for judging whether the first multimedia access request is matched with the third multimedia access request or not based on preset parameters;
the sending submodule is used for sending a second multimedia access request to a streaming media server under the condition that the judgment result indicates that the first multimedia access request is matched with the third multimedia access request, and forwarding a streaming media content message to the terminal equipment after receiving the streaming media content message sent by the streaming media server according to the second multimedia access request; wherein,
the preset parameters include: a protocol type and address field;
the second multimedia access request is triggered by the terminal equipment in response to a target item selected by a user at an electronic program guide proxy interface; the electronic program guide proxy interface is generated based on proxy access information of the set-top box.
14. The apparatus of claim 13, further comprising:
a first processing module, configured to set a message source port of the third multimedia access request as a forwarding port of a destination address of an accessed streaming media content message when a determination result indicates that the first multimedia access request and the third multimedia access request are matched;
a fourth receiving module, configured to receive a streaming media content packet sent by the streaming media server according to the second multimedia access request;
and the second processing module is used for forwarding the streaming media content message to the terminal equipment according to the forwarding port.
15. A set-top box comprising a transceiver, a memory, a processor and a computer program stored on the memory and executable on the processor; characterized in that the processor, when executing the computer program, implements the multimedia access processing method according to any of claims 1-5.
16. A gateway comprising a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that the processor, when executing the computer program, implements the multimedia access processing method according to claim 6 or 7.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of a method for multimedia access processing according to any one of claims 1 to 5.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for multimedia access processing according to claim 6 or 7.
CN201910000865.0A 2019-01-02 2019-01-02 A kind of multimedia access processing method, set-top box and gateway Active CN111405350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910000865.0A CN111405350B (en) 2019-01-02 2019-01-02 A kind of multimedia access processing method, set-top box and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910000865.0A CN111405350B (en) 2019-01-02 2019-01-02 A kind of multimedia access processing method, set-top box and gateway

Publications (2)

Publication Number Publication Date
CN111405350A CN111405350A (en) 2020-07-10
CN111405350B true CN111405350B (en) 2022-11-08

Family

ID=71413095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910000865.0A Active CN111405350B (en) 2019-01-02 2019-01-02 A kind of multimedia access processing method, set-top box and gateway

Country Status (1)

Country Link
CN (1) CN111405350B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914728A (en) * 2022-11-28 2023-04-04 四川天邑康和通信股份有限公司 An Android IPTV set-top box family sharing system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004045481A1 (en) * 2004-09-20 2006-03-30 Siemens Ag Interactive television with additional information and return channel via a mobile communication system
CN102006519A (en) * 2010-11-18 2011-04-06 中兴通讯股份有限公司 Method and system for realizing interaction between multi-media terminal and internet protocol (IP) set top box
CN103841462B (en) * 2013-12-03 2018-01-26 深圳市九洲电器有限公司 Top box of digital machine multi-screen plays the method and device of program
CN106303572A (en) * 2016-08-30 2017-01-04 北京数码视讯软件技术发展有限公司 A kind of flow-medium performance plays method, device and system

Also Published As

Publication number Publication date
CN111405350A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
JP4785968B2 (en) Method and system for remotely accessing a general purpose plug and play device
US8634402B2 (en) Distributed access point for IP based communications
US8638708B2 (en) MAC based mapping in IP based communications
CN101094243B (en) Multimedia Adaptation System and Multimedia Content Adaptation Method Between Different Types of Devices Based on UPnP
US7827275B2 (en) Method and system for remotely accessing devices in a network
US9456398B2 (en) Auto-discovery of home and out-of-franchise networks
JP5474983B2 (en) Network apparatus and method for setting up an IPTV session
US20080235358A1 (en) Proxy Device, Network System, and Communication Method
KR20090101384A (en) Full mesh rate transaction on the network
US20100005183A1 (en) Method, System and Apparatus for Converting Media Contents
US8863249B2 (en) Push button configuration of multimedia over coax alliance (MoCA) devices
US11196631B2 (en) Multi-unicast discovery of devices on a network
CN109391704B (en) Cross-private-network access method and device for video monitoring equipment
US20160241642A1 (en) Multimedia sharing method, registration method, server and proxy server
WO2013083052A1 (en) Method, device, and system for acquiring multicast address
US20050111486A1 (en) Device and method for controlling network devices located within private networks
CN1237753C (en) Method for identifying equipment for supporting multipoint trnsmission chaned distribution protocol and its communication method
CN106817629B (en) A kind of media information transmission method, device and system
JP6185918B2 (en) Gateway, method corresponding to gateway, computer program, and storage means
CN111405350B (en) A kind of multimedia access processing method, set-top box and gateway
CN106452998B (en) Method and device for providing service
CN111225252B (en) PON gateway UPNP video live broadcast method based on openwrt system
US11234032B2 (en) Method of managing the right of access to a digital content
CN105323125A (en) Cross-family network processing method, HTTP gateway, DLNA (digital living network alliance) apparatus
CN108307149B (en) Video proxy system and monitoring method

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
GR01 Patent grant
GR01 Patent grant