CN117579604A - Channel package generation method, device, electronic equipment and storage medium - Google Patents
Channel package generation method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117579604A CN117579604A CN202210946263.6A CN202210946263A CN117579604A CN 117579604 A CN117579604 A CN 117579604A CN 202210946263 A CN202210946263 A CN 202210946263A CN 117579604 A CN117579604 A CN 117579604A
- Authority
- CN
- China
- Prior art keywords
- target
- content
- channel
- information
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域Technical field
本申请涉及网络技术领域,尤其涉及一种渠道包生成方法、装置、电子设备及存储介质。The present application relates to the field of network technology, and in particular to a channel package generation method, device, electronic equipment and storage medium.
背景技术Background technique
相关技术中,发布新的应用软件时,一般需要预先生成多个携带渠道号的渠道包,然后上传至不同的分发渠道。当分发渠道众多时,需要预先生成的渠道包数量很大,增加了打包压力和存储压力。In related technologies, when releasing new application software, it is generally necessary to generate multiple channel packages carrying channel numbers in advance and then upload them to different distribution channels. When there are many distribution channels, a large number of channel packages need to be generated in advance, which increases packaging and storage pressure.
发明内容Contents of the invention
有鉴于此,本申请的目的在于提出一种渠道包生成方法、装置、电子设备及存储介质。In view of this, the purpose of this application is to propose a channel package generation method, device, electronic device and storage medium.
基于上述目的,本申请提供了一种渠道包生成方法,包括:Based on the above purpose, this application provides a channel package generation method, including:
接收目标内容看播请求;其中,所述目标内容看播请求包括目标内容标识和目标直播间信息;Receive a target content viewing request; wherein the target content viewing request includes a target content identifier and target live broadcast room information;
根据所述目标内容标识和目标直播间信息,确定目标渠道信息和目标内容下载地址;Determine the target channel information and target content download address according to the target content identification and target live broadcast room information;
将所述目标渠道信息和所述目标内容下载地址发送至看播端,以使看播端基于所述目标渠道信息和目标内容下载地址生成下载请求、进而基于所述下载请求从目标网络节点获取目标渠道包;其中,所述目标渠道包是所述目标网络节点在接收所述下载请求时,根据所述目标渠道信息和内容母包生成的。The target channel information and the target content download address are sent to the viewing end, so that the viewing end generates a download request based on the target channel information and the target content download address, and then obtains it from the target network node based on the download request. Target channel package; wherein, the target channel package is generated by the target network node based on the target channel information and the content master package when receiving the download request.
可选的,所述接收目标内容看播请求之前,包括:Optionally, before receiving the target content viewing request, include:
接收创建渠道请求;其中,所述创建渠道请求包括至少一个内容标识和至少一个直播间信息;Receive a request to create a channel; wherein the request to create a channel includes at least one content identifier and at least one live broadcast room information;
根据所述至少一个内容标识和至少一个直播间信息,确定至少一个渠道信息;Determine at least one channel information based on the at least one content identifier and at least one live broadcast room information;
根据所述至少一个内容标识、至少一个直播间信息和所述至少一个渠道信息,构建渠道关系表。A channel relationship table is constructed based on the at least one content identifier, the at least one live broadcast room information, and the at least one channel information.
可选的,所述目标渠道信息包括目标渠道号;所述接收目标内容看播请求之前,包括:Optionally, the target channel information includes a target channel number; before receiving the target content viewing request, the information includes:
向目标网络节点发送所述目标内容标识对应的内容母包;其中,所述内容母包设有用于写入所述目标渠道号的预留区域;将所述目标网络节点的网络地址作为目标内容下载地址。Send the content parent package corresponding to the target content identifier to the target network node; wherein the content parent package is provided with a reserved area for writing the target channel number; use the network address of the target network node as the target content download link.
可选的,根据所述目标内容标识和目标直播间信息,确定目标渠道信息和目标内容下载地址,包括:Optionally, determine the target channel information and target content download address based on the target content identifier and target live broadcast room information, including:
根据所述目标内容标识和目标直播间信息,查询所述渠道关系表,确定所述目标渠道信息;According to the target content identifier and target live broadcast room information, query the channel relationship table to determine the target channel information;
根据所述目标内容标识,确定对应的目标内容下载地址。According to the target content identification, the corresponding target content download address is determined.
可选的,向目标网络节点发送所述目标内容标识对应的内容母包之后,还包括:Optionally, after sending the content parent packet corresponding to the target content identifier to the target network node, it also includes:
根据所述目标内容标识和对应的目标内容下载地址,更新所述渠道关系表;Update the channel relationship table according to the target content identifier and the corresponding target content download address;
根据所述目标内容标识和目标直播间信息,获得目标渠道信息和目标内容下载地址,包括:According to the target content identification and target live broadcast room information, the target channel information and target content download address are obtained, including:
根据所述目标内容标识和目标直播间信息,查询更新后的所述渠道关系表,确定所述目标渠道信息和目标内容下载地址。According to the target content identifier and target live broadcast room information, the updated channel relationship table is queried to determine the target channel information and target content download address.
可选的,所述目标渠道信息还包括目标位置;所述目标渠道包是所述目标网络节点根据所述目标位置确定所述预留区域,将所述目标渠道号写入所述预留区域后生成的。Optionally, the target channel information also includes a target location; the target channel package means that the target network node determines the reserved area according to the target location and writes the target channel number into the reserved area. generated later.
可选的,所述方法还包括:Optionally, the method also includes:
接收内容应用激活请求;其中,所述内容应用激活请求包括看播对象标识和所述目标渠道信息;Receive a content application activation request; wherein the content application activation request includes the viewing object identification and the target channel information;
根据所述看播对象标识和所述目标渠道信息,构建归因关系表。According to the viewing object identification and the target channel information, an attribution relationship table is constructed.
可选的,所述方法还包括:Optionally, the method also includes:
接收资源转移请求;其中,所述资源转移请求包括所述看播对象标识和资源转移信息;Receive a resource transfer request; wherein the resource transfer request includes the viewing object identification and resource transfer information;
根据所述看播对象标识和所述资源转移信息,更新所述归因关系表。The attribution relationship table is updated according to the viewing object identification and the resource transfer information.
本申请实施例还提供一种渠道包生成方法,包括:The embodiment of this application also provides a channel package generation method, including:
接收下载请求;其中,所述下载请求包括目标渠道信息;Receive a download request; wherein the download request includes target channel information;
根据所述目标渠道信息和内容母包生成目标渠道包;Generate a target channel package based on the target channel information and content master package;
将所述目标渠道包发送至看播端。Send the target channel package to the viewing end.
可选的,所述目标渠道信息包括目标渠道号;所述接收下载请求之前,还包括:Optionally, the target channel information includes a target channel number; before receiving the download request, it also includes:
接收内容母包;其中,所述内容母包设有用于写入所述目标渠道号的预留区域。Receive a content parent package; wherein the content parent package is provided with a reserved area for writing the target channel number.
基于同一构思,本申请还提供一种渠道包生成装置,包括:Based on the same concept, this application also provides a channel package generation device, including:
接收模块,用于接收目标内容看播请求;其中,所述目标内容看播请求包括目标内容标识和目标直播间信息;A receiving module, configured to receive a target content viewing request; wherein the target content viewing request includes a target content identifier and target live broadcast room information;
查询模块,用于根据所述目标内容标识和目标直播间信息,确定目标渠道信息和目标内容下载地址;A query module, used to determine the target channel information and the target content download address based on the target content identification and target live broadcast room information;
发送模块,用于将所述目标渠道信息和所述内容下载地址发送至看播端,以使看播端基于所述目标渠道信息和目标内容下载地址生成下载请求、进而基于所述下载请求从目标网络节点获取目标渠道包;其中,所述目标渠道包是所述目标网络节点接收所述下载请求时,根据所述目标渠道信息和内容母包生成的。A sending module, configured to send the target channel information and the content download address to the viewing end, so that the viewing end generates a download request based on the target channel information and the target content download address, and then based on the download request from The target network node obtains the target channel package; wherein the target channel package is generated based on the target channel information and the content master package when the target network node receives the download request.
基于同一构思,本申请还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上所述任意一项所述的方法。Based on the same concept, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, any one of the above is implemented. the method described.
基于同一构思,本申请还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使计算机执行如上所述任意一项所述的方法。Based on the same concept, this application also provides a non-transitory computer-readable storage medium that stores computer instructions, and the computer instructions are used to cause the computer to execute any of the above. Methods.
基于同一构思,本申请还提供一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如上任意一项所述的方法。Based on the same concept, this application also provides a computer program product. When the instructions in the computer program product are executed by a processor, any one of the above methods is performed.
从上面所述可以看出,本申请提供的渠道包生成方法、装置、电子设备及存储介质,看播端观看内容直播时,从内容服务器获取携带目标渠道信息的内容下载地址,当看播用户对直播的内容感兴趣时,可以按照内容下载地址向网络节点发送下载请求,网络节点接收该下载请求时,动态的将目标渠道信息写入内容母包中,生成目标渠道包,然后将目标渠道包发送给看播端。本实施例的方法,无需预先生成若干渠道包,并将渠道包投放给各个分发渠道,网络节点仅需存储一个内容母包,下载时动态的将目标渠道号写入内容母包,生成目标渠道包,不仅大幅降低打包压力和存储压力,且不会出现渠道包分配失败的问题。As can be seen from the above, with the channel package generation method, device, electronic equipment and storage medium provided by this application, when the viewing end watches the content live broadcast, the content download address carrying the target channel information is obtained from the content server. When the viewing user When you are interested in the content of the live broadcast, you can send a download request to the network node according to the content download address. When the network node receives the download request, it dynamically writes the target channel information into the content master package, generates the target channel package, and then adds the target channel to the content master package. The packet is sent to the viewing end. The method of this embodiment does not need to generate several channel packages in advance and deliver the channel packages to each distribution channel. The network node only needs to store one content master package. When downloading, the target channel number is dynamically written into the content master package to generate the target channel. Packages not only greatly reduce packaging pressure and storage pressure, but also eliminate the problem of channel package allocation failure.
附图说明Description of the drawings
为了更清楚地说明本申请或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in this application or related technologies, the drawings needed to be used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings in the following description are only for the purposes of this application. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1为本申请实施例的应用场景示意图;Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present application;
图2为本申请实施例的应用于内容服务器的方法流程示意图;Figure 2 is a schematic flowchart of a method applied to a content server according to an embodiment of the present application;
图3为本申请实施例的信号流向示意图;Figure 3 is a schematic diagram of signal flow according to the embodiment of the present application;
图4为本申请另一实施例的信号流向示意图;Figure 4 is a schematic diagram of signal flow according to another embodiment of the present application;
图5为本申请实施例的直播页面示意图;Figure 5 is a schematic diagram of the live broadcast page according to the embodiment of the present application;
图6为本申请实施例的下载游戏后的直播页面示意图;Figure 6 is a schematic diagram of the live broadcast page after downloading the game according to the embodiment of the present application;
图7为本申请实施例的查看游戏的直播页面示意图;Figure 7 is a schematic diagram of the live broadcast page for viewing games according to the embodiment of the present application;
图8为本申请实施例的应用于网络节点的方法流程示意图;Figure 8 is a schematic flowchart of a method applied to a network node according to an embodiment of the present application;
图9为本申请实施例的装置结构示意图;Figure 9 is a schematic diagram of the device structure according to the embodiment of the present application;
图10为本申请实施例的电子设备结构示意图。Figure 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将参考若干示例性实施方式来描述本申请的原理和精神。应当理解,给出这些实施方式仅仅是为了使本领域技术人员能够更好地理解进而实现本申请,而并非以任何方式限制本申请的范围。相反,提供这些实施方式是为了使本申请更加透彻和完整,并且能够将本申请的范围完整地传达给本领域的技术人员。The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are only provided to enable those skilled in the art to better understand and implement the present application, but are not intended to limit the scope of the present application in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
根据本申请的实施方式,提出了一种渠道包生成方法、装置、电子设备及存储介质。According to the implementation manner of the present application, a channel package generation method, device, electronic device and storage medium are proposed.
在本文中,需要理解的是,附图中的任何元素数量均用于示例而非限制,以及任何命名都仅用于区分,而不具有任何限制含义。In this article, it is to be understood that any number of elements in the drawings is for illustration and not limitation, and any naming is for distinction only and does not have any limiting meaning.
下面参考本申请的若干代表性实施方式,详细阐释本申请的原理和精神。The principles and spirit of the present application will be explained in detail below with reference to several representative embodiments of the present application.
相关技术中,渠道包的生成方式一般为静态分包,即预先将渠道号写入母包,生成渠道包,然后按照不同的分发渠道,将相应的渠道包分发至相应的分发渠道。其中,在直播渠道中,一个直播间可以作为一个分发渠道进行内容推广,由于直播间的数量众多,可推广的内容丰富多样,如果按照静态分包的方式预先生成不同直播间、不同内容的渠道包,那么渠道包的数量非常可观,极大的增加了打包压力和存储压力;而且,对于热点内容,有可能存在渠道包已分配完导致的渠道包分配失败问题。In related technologies, the channel package is generally generated through static subcontracting, that is, the channel number is written into the parent package in advance to generate the channel package, and then the corresponding channel package is distributed to the corresponding distribution channel according to different distribution channels. Among them, in the live broadcast channel, a live broadcast room can be used as a distribution channel for content promotion. Due to the large number of live broadcast rooms, the content that can be promoted is rich and diverse. If channels with different live broadcast rooms and different contents are pre-generated according to the static subcontracting method, package, then the number of channel packages is very considerable, which greatly increases packaging pressure and storage pressure; moreover, for hot content, there may be a problem of channel package allocation failure caused by channel packages having been allocated.
为解决上述问题,本申请提供一种渠道包生成方法,当看播端观看直播内容时,从内容服务器获取内容的内容下载地址和目标渠道信息,基于目标渠道信息和内容下载地址向目标网络节点发送用于下载目标渠道包的下载请求,目标网络节点接收到该下载请求,根据目标渠道信息和内容母包动态的生成目标渠道包,将目标渠道包发送给看播端。通过动态生成渠道包的方法,无需预先打包,大幅降低打包压力和存储压力,且能够解决渠道包分配失败的问题。In order to solve the above problems, this application provides a channel package generation method. When the viewer watches live content, the content download address and target channel information of the content are obtained from the content server, and based on the target channel information and content download address, the target network node Send a download request for downloading the target channel package. The target network node receives the download request, dynamically generates the target channel package based on the target channel information and the content master package, and sends the target channel package to the viewing end. Through the method of dynamically generating channel packages, there is no need to pre-package, which greatly reduces packaging pressure and storage pressure, and can solve the problem of channel package allocation failure.
参考图1,为本申请实施例的渠道包生成方法的应用场景示意图。Refer to Figure 1 , which is a schematic diagram of an application scenario of the channel package generation method according to the embodiment of the present application.
该应用场景包括服务器101、服务器102、客户端设备103、客户端设备104,其中,客户端设备103、104与服务器101均通过网络连接以实现数据交互,服务器101与服务器102通过网络连接以实现数据交互。The application scenario includes a server 101, a server 102, a client device 103, and a client device 104. The client devices 103, 104 and the server 101 are all connected through the network to realize data interaction, and the server 101 and the server 102 are connected through the network to realize the data interaction. Data interaction.
可选的,服务器101和服务器102可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器等。Optionally, server 101 and server 102 can be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or they can provide cloud services, cloud databases, cloud computing, cloud functions, and cloud storage. , network services, cloud communications, middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms, etc.
可选地,客户端设备103和客户端设备104可以是靠近用户侧的具有数据传输、多媒体输入/输出功能的电子设备,如,计算机、平板电脑、智能手机、车载电脑、可穿戴设备等。Optionally, the client device 103 and the client device 104 may be electronic devices with data transmission and multimedia input/output functions close to the user side, such as computers, tablets, smart phones, in-vehicle computers, wearable devices, etc.
在本申请实施例的在线直播场景中,服务器101为提供在线直播服务的直播服务器,服务器102为提供内容的内容服务器,直播服务器从内容服务器获取用于在线直播推广的内容,内容例如为游戏、课程等。客户端设备103可以为主播使用的客户端设备,为更加清楚明确的表述,本申请实施例中称之为主播端。客户端设备104可以为观看者使用的客户端设备,为更加清楚明确的表述,本申请实施例中称之为看播端;在一般情况下,看播端会存在有多个。具体的,主播端和看播端均可以通过安装的直播客户端与服务器101通信,以使用服务器101提供的在线直播服务。In the online live broadcast scenario of the embodiment of the present application, the server 101 is a live broadcast server that provides online live broadcast services, and the server 102 is a content server that provides content. The live broadcast server obtains content for online live broadcast promotion from the content server. The content is, for example, games, Courses etc. The client device 103 may be a client device used by the anchor. For a clearer description, it is called the anchor end in the embodiment of this application. The client device 104 may be a client device used by viewers. For a clearer description, it is called a viewing terminal in the embodiment of this application; in general, there will be multiple viewing terminals. Specifically, both the anchor end and the viewing end can communicate with the server 101 through the installed live broadcast client to use the online live broadcast service provided by the server 101.
下面结合图1的应用场景,来描述根据本申请示例性实施方式的渠道包生成方法。需要注意的是,上述应用场景仅是为了便于理解本申请的精神和原理而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。The channel package generation method according to the exemplary embodiment of the present application will be described below in conjunction with the application scenario of Figure 1 . It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not subject to any limitation in this regard. On the contrary, the embodiments of the present application can be applied to any applicable scenario.
首先,如图2所示,本申请实施例提供了一种渠道包生成方法,应用于内容服务器,方法包括:First, as shown in Figure 2, this embodiment of the present application provides a channel package generation method, which is applied to the content server. The method includes:
S201:接收目标内容看播请求;其中,目标内容看播请求包括目标内容标识和目标直播间信息;S201: Receive a target content viewing request; wherein the target content viewing request includes a target content identifier and target live broadcast room information;
本实施例中,看播端观看直播内容时,向直播服务器发送看播请求,直播服务器接收该看播请求,向内容服务器发送目标内容看播请求,用于从内容服务器获取目标渠道信息和目标内容下载地址。In this embodiment, when watching live content, the viewing end sends a viewing request to the live broadcast server. The live broadcast server receives the viewing request and sends a target content viewing request to the content server for obtaining target channel information and target content from the content server. Content download address.
一些实施例中,内容服务器是能够提供内容的服务器,内容例如为游戏类内容、知识类内容、服务类内容等。以游戏为例,主播端选择游戏之后,可以从内容服务器获取游戏内容,主播进入直播间直播游戏时,看播端进入直播间观看游戏直播,向直播服务器发送看播请求,直播服务器接收该看播请求,向内容服务器发送内容看播请求,内容服务器根据内容看播请求向直播服务器发送游戏下载地址,直播服务器将游戏内容和游戏下载地址发送给看播端,以便于看播端能够观看游戏直播,如果看播用户对所观看的游戏感兴趣,可以直接点击游戏下载地址将游戏下载至看播端。In some embodiments, the content server is a server that can provide content, such as game content, knowledge content, service content, etc. Taking games as an example, after the host selects a game, the game content can be obtained from the content server. When the host enters the live broadcast room to broadcast the game, the viewer enters the live room to watch the game live broadcast, sends a viewing request to the live broadcast server, and the live broadcast server receives the viewing request. A play request is sent to the content server. The content server sends the game download address to the live broadcast server according to the content watch request. The live broadcast server sends the game content and game download address to the viewer so that the viewer can watch the game. Live broadcast, if the user is interested in the game they are watching, they can directly click on the game download address to download the game to the viewing terminal.
S202:根据目标内容标识和目标直播间信息,确定目标渠道信息和目标内容下载地址;S202: Determine the target channel information and target content download address based on the target content identification and target live broadcast room information;
本实施例中,内容服务器接收的目标内容看播请求包括目标内容标识和目标直播间信息,根据目标内容标识和目标直播间信息,确定目标内容标识和目标直播间信息对应的目标渠道信息和目标内容下载地址。In this embodiment, the target content viewing request received by the content server includes the target content identifier and the target live broadcast room information. Based on the target content identifier and the target live broadcast room information, the target channel information and target corresponding to the target content identifier and the target live broadcast room information are determined. Content download address.
作为一种实施方式,内容标识用于标识不同的内容,可以是直播间展示的内容的内容标识,例如,直播间展示的游戏的游戏标识,为每个游戏分配相应的标识号,用于区分不同的游戏;直播间信息可以是直播间标识,直播间的主播标识等等,主播标识用于标识不同的主播,直播间标识用于标识不同的直播间,例如,主播B对应一个分发渠道,主播B可以在一个或多个直播间推广游戏C,后续仅从主播的维度进行渠道分析;也可以是,在直播间A的主播B可以作为一组直播间信息对应一个分发渠道,主播B可以在直播间A中通过直播方式推广游戏C,后续可基于主播和直播间的维度进行细粒度的渠道分析。渠道信息是有关分发渠道的信息,渠道信息至少包括用于标识不同分发渠道的渠道号,例如,游戏C的分发渠道为主播B,该分发渠道的渠道号可以是zhuboB;或者,游戏C的分发渠道为直播间A的主播B,该分发渠道的渠道号为zhuboBroomA,此处仅作示例性说明,不用于限定渠道关系表中各表项的具体形式。As an implementation manner, the content identifier is used to identify different content, which can be the content identifier of the content displayed in the live broadcast room. For example, the game identifier of the game displayed in the live broadcast room. Each game is assigned a corresponding identification number for distinguishing Different games; the live broadcast room information can be the live broadcast room ID, the anchor ID of the live broadcast room, etc. The anchor ID is used to identify different anchors, and the live broadcast room ID is used to identify different live broadcast rooms. For example, anchor B corresponds to a distribution channel, Anchor B can promote game C in one or more live broadcast rooms, and then conduct channel analysis only from the anchor's perspective; or anchor B in live broadcast room A can serve as a set of live broadcast room information corresponding to a distribution channel, and anchor B can Promote Game C through live broadcast in live broadcast room A, and then conduct fine-grained channel analysis based on the dimensions of the anchor and the live broadcast room. Channel information is information about distribution channels. The channel information at least includes channel numbers used to identify different distribution channels. For example, the distribution channel of game C is host B, and the channel number of this distribution channel can be zhuboB; or, the distribution channel of game C The channel is anchor B of live broadcast room A, and the channel number of this distribution channel is zhuboBroomA. This is only an illustrative explanation and is not used to limit the specific form of each entry in the channel relationship table.
内容服务器接收目标内容看播请求时,可以解析出该请求中的目标内容标识和目标直播间信息,根据目标内容标识和目标直播间信息,确定对应的目标渠道信息和目标内容下载地址,将目标渠道信息和目标内容下载地址作为内容看播响应发送给直播服务器。When the content server receives a request to watch the target content, it can parse out the target content identifier and target live broadcast room information in the request, determine the corresponding target channel information and target content download address based on the target content identifier and target live broadcast room information, and transfer the target content to the target content. The channel information and target content download address are sent to the live broadcast server as a content viewing response.
S203:将目标渠道信息和目标内容下载地址发送至看播端,以使看播端基于目标内容下载地址和目标渠道信息生成下载请求、进而基于下载请求从目标网络节点获取目标渠道包;其中,目标渠道包是目标网络节点在接收下载请求时,根据目标渠道信息和内容母包生成的。S203: Send the target channel information and the target content download address to the viewing and broadcasting end, so that the viewing and broadcasting end generates a download request based on the target content download address and the target channel information, and then obtains the target channel package from the target network node based on the download request; wherein, The target channel package is generated by the target network node based on the target channel information and the content master package when receiving the download request.
本实施例中,内容服务器确定目标内容看播请求所对应的目标渠道信息和目标内容下载地址之后,将目标渠道信息和目标内容下载地址作为内容看播响应发送给直播服务器,直播服务器接收该内容看播响应,从中获取目标渠道信息和目标内容下载地址,将直播内容和目标渠道信息、目标内容下载地址发送给看播端,方便看播端观看直播内容,并可通过目标渠道信息信息和目标内容下载地址下载内容。In this embodiment, after the content server determines the target channel information and the target content download address corresponding to the target content viewing request, the content server sends the target channel information and the target content download address as a content viewing response to the live broadcast server, and the live broadcast server receives the content. Watch the broadcast response, obtain the target channel information and target content download address, and send the live broadcast content, target channel information, and target content download address to the watch and broadcast end, which facilitates the watch and broadcast end to watch the live content, and can use the target channel information and target content Content download address download content.
作为一种实施方式,内容服务器在发布内容时,可以将目标内容标识对应的内容母包发送给目标网络节点,并保存目标网络节点的网络地址,作为目标内容下载地址。由于目标网络节点仅保存一个内容母包而非预定数量的渠道包,能够大幅降低所需存储空间。As an implementation manner, when publishing content, the content server may send the content master package corresponding to the target content identifier to the target network node, and save the network address of the target network node as the target content download address. Since the target network node only saves one content master package instead of a predetermined number of channel packages, the required storage space can be significantly reduced.
当看播端下载内容时,基于目标内容下载地址和目标渠道信息生成下载请求,向目标网络节点发送下载请求,目标网络节点接收该下载请求时,从中解析出目标渠道信息,根据目标渠道信息和内容母包生成目标渠道包,然后将目标渠道包发送给看播端,看播端获得目标渠道包后,可以在本地安装并打开内容。可见,目标渠道包是目标网络节点在接收下载请求时,动态的根据目标渠道信息和内容母包生成的,可以降低打包压力和存储压力,而且不会出现渠道包分配失败的问题。When the viewer downloads content, a download request is generated based on the target content download address and target channel information, and the download request is sent to the target network node. When the target network node receives the download request, it parses the target channel information, and based on the target channel information and The content master package generates the target channel package, and then sends the target channel package to the viewing and broadcasting end. After the viewing and broadcasting end obtains the target channel package, it can install and open the content locally. It can be seen that the target channel package is dynamically generated based on the target channel information and content master package when the target network node receives a download request, which can reduce packaging pressure and storage pressure, and there will be no problem of channel package allocation failure.
可选的,网络节点是内容分发网络(Content Delivery Network,CDN)中的边缘服务器,看播端可以从位置最近的边缘服务器下载获得目标渠道包,降低网络拥塞度,提高响应速度和下载成功率。Optionally, the network node is an edge server in the Content Delivery Network (CDN). The viewer can download the target channel package from the nearest edge server to reduce network congestion and improve response speed and download success rate. .
一些实施例中,目标渠道信息包括目标渠道号;内容服务器向目标网络节点发送的内容母包设有用于写入目标渠道号的预留区域。当目标网络节点接收到下载请求时,直接将目标渠道号写入该预留区域即可生成目标渠道包,打包方法简单、速度快。In some embodiments, the target channel information includes a target channel number; the content master package sent by the content server to the target network node has a reserved area for writing the target channel number. When the target network node receives the download request, it directly writes the target channel number into the reserved area to generate the target channel package. The packaging method is simple and fast.
一些方式中,目标渠道信息还包括目标位置,该目标位置用于指示预留区域的所在位置。当目标网络节点接收到下载请求时,从下载请求中解析出目标位置和目标渠道号,先按照目标位置确定预留区域的所在位置,然后根据预留区域的所在位置,将目标渠道号写入预留区域,从而得到目标渠道包。In some ways, the target channel information also includes a target location, which is used to indicate the location of the reserved area. When the target network node receives the download request, it parses the target location and target channel number from the download request, first determines the location of the reserved area according to the target location, and then writes the target channel number according to the location of the reserved area. Reserve an area to get the target channel package.
可选的,内容母包为安卓版本的官方安装包,内容母包包括签名注释区(APKSigning Block),在签名注释区可以写入例如渠道号的附加信息,不会影响安装包的正常校验使用。该种内容母包可以根据偏移量(即目标位置)确定出在签名注释区中写入渠道号的区域(即预留区域)。内容母包的具体结构和说明不做具体说明。Optional, the content master package is the official installation package of the Android version. The content master package includes a signature comment area (APKSigning Block). Additional information such as channel number can be written in the signature comment area, which will not affect the normal verification of the installation package. use. This kind of content master package can determine the area where the channel number is written in the signature comment area (ie, the reserved area) based on the offset (ie, the target position). The specific structure and description of the content master package will not be specified.
一些实施例中,接收目标内容看播请求之前,包括:In some embodiments, before receiving a request to watch the target content, the process includes:
接收创建渠道请求;其中,创建渠道请求包括至少一个内容标识和至少一个直播间信息;Receive a request to create a channel; wherein the request to create a channel includes at least one content identifier and at least one live broadcast room information;
根据至少一个内容标识和至少一个直播间信息,确定至少一个渠道信息;Determine at least one channel information based on at least one content identifier and at least one live broadcast room information;
根据至少一个内容标识、至少一个直播间信息和至少一个渠道信息,构建渠道关系表。Construct a channel relationship table based on at least one content identifier, at least one live broadcast room information, and at least one channel information.
本实施例中,主播端选定目标内容后,向直播服务器发送创建请求,直播服务器接收该创建请求,向内容服务器发送创建渠道请求,内容服务器接收该创建渠道请求,从中解析出至少一个内容标识和至少一个直播间信息,根据至少一个内容标识和至少一个直播间信息,生成对应的至少一个渠道信息,然后根据至少一个内容标识、至少一个直播间信息和对应的至少一个渠道信息构建渠道关系表。其中,渠道信息是用于标识分发渠道的信息,可根据直播间信息代表的分发渠道实时生成渠道信息,也可以按照预定算法预先生成若干渠道号,根据创建渠道请求的顺序或者其他分配规则,将特定的渠道号分配给直播间信息代表的分发渠道,生成渠道信息的方法不做具体限定。In this embodiment, after the anchor selects the target content, it sends a creation request to the live broadcast server. The live broadcast server receives the creation request and sends a channel creation request to the content server. The content server receives the channel creation request and parses out at least one content identifier. and at least one live broadcast room information, generate corresponding at least one channel information based on at least one content identifier and at least one live broadcast room information, and then construct a channel relationship table based on at least one content identifier, at least one live broadcast room information, and corresponding at least one channel information . Among them, channel information is information used to identify distribution channels. Channel information can be generated in real time according to the distribution channel represented by the live broadcast room information, or a number of channel numbers can be generated in advance according to a predetermined algorithm, and based on the order of creating channel requests or other distribution rules, the channel information can be generated in real time. A specific channel number is assigned to the distribution channel represented by the live broadcast room information, and the method of generating channel information is not specifically limited.
一些方式中,内容服务器将目标内容标识对应的内容母包分发给目标网络节点后,保存目标网络节点的目标内容下载地址,进一步可根据目标内容标识和对应的目标内容下载地址更新渠道关系表,得到包括内容标识、直播间信息、渠道信息和内容下载地址的对应关系的渠道关系表。这样,在接收目标内容看播请求后,可直接根据目标内容标识和目标直播间信息,通过查询渠道关系表,得到目标渠道信息和目标内容下载地址。In some methods, after the content server distributes the content master package corresponding to the target content identifier to the target network node, it saves the target content download address of the target network node, and further updates the channel relationship table according to the target content identifier and the corresponding target content download address. Obtain a channel relationship table including the correspondence between content identifiers, live broadcast room information, channel information and content download addresses. In this way, after receiving the target content viewing request, the target channel information and target content download address can be obtained directly based on the target content identification and target live broadcast room information by querying the channel relationship table.
另一些方式中,渠道关系表中可包括内容标识、直播间信息和渠道信息的对应关系。在接收目标内容看播请求后,通过目标内容标识和目标直播间标识,查询渠道关系表,可得到目标渠道信息;之后,根据目标内容标识确定对应的目标内容下载地址,从而得到目标渠道信息和目标内容下载地址。In other methods, the channel relationship table may include correspondence between content identifiers, live broadcast room information, and channel information. After receiving the target content viewing request, query the channel relationship table through the target content identifier and the target live broadcast room identifier to obtain the target channel information; then, determine the corresponding target content download address based on the target content identifier, thereby obtaining the target channel information and Target content download address.
结合图3、4所示,在一种具体实施方式中,主播端选定目标内容后,(41)向直播服务器发送创建请求;(42)直播服务器向内容服务器发送创建渠道请求,该创建渠道请求中包括内容标识和直播间信息;(43)内容服务器接收创建渠道请求,解析出内容标识和直播间信息,根据内容标识和直播间信息生成渠道信息,(44)根据内容标识、直播间信息和渠道信息构建渠道关系表。内容服务器发布内容时,(45)将具有预留区域的内容母包分发给网络节点,由网络节点保存内容母包,内容服务器保存网络节点的网络地址作为内容下载地址。As shown in Figures 3 and 4, in a specific implementation, after the host selects the target content, (41) sends a creation request to the live broadcast server; (42) the live broadcast server sends a create channel request to the content server, and the create channel The request includes content identification and live broadcast room information; (43) the content server receives the create channel request, parses out the content identification and live broadcast room information, and generates channel information based on the content identification and live broadcast room information, (44) based on the content identification, live broadcast room information and channel information to construct a channel relationship table. When the content server publishes content, (45) distributes the content master package with the reserved area to the network node, the network node saves the content master package, and the content server saves the network address of the network node as the content download address.
看播端进入直播间观看内容直播,(31)向直播服务器发送看播请求;(32)直播服务器向内容服务器发送目标内容看播请求,该目标内容看播请求包括目标内容标识和目标直播间信息;(33)内容服务器接收目标内容看播请求,解析出目标内容标识和目标直播间信息,根据目标内容标识和目标直播间信息查询渠道关系表,得到目标渠道信息和目标内容下载地址;(34)向直播服务器发送包括目标渠道信息和目标内容下载地址的内容看播响应;(35)直播服务器向看播端发送包括直播内容、包括目标渠道信息和目标内容下载地址的看播响应,看播端接收看播响应,观看内容直播,并可基于目标渠道信息和目标内容下载地址生成下载请求从目标网络节点下载内容。The viewing end enters the live broadcast room to watch the live content, (31) sends a viewing request to the live broadcast server; (32) the live broadcast server sends a target content viewing request to the content server, the target content viewing request includes the target content identification and the target live broadcast room Information; (33) The content server receives the target content viewing request, parses out the target content identifier and target live broadcast room information, queries the channel relationship table according to the target content identifier and target live broadcast room information, and obtains the target channel information and target content download address; ( 34) Send a content viewing response including the target channel information and the target content download address to the live broadcast server; (35) The live broadcast server sends a viewing response including the live broadcast content, including the target channel information and the target content download address to the viewing end. The broadcaster receives the viewing response, watches the content live, and can generate a download request to download the content from the target network node based on the target channel information and the target content download address.
结合图5所示,在游戏直播场景中,看播端的直播页面501中显示主播502的游戏直播503,在直播页面501的预定区域还显示游戏下载卡片504,看播用户在观看游戏直播503的过程中,如果对游戏感兴趣,可以点击游戏下载卡片504上的下载505。当点击下载505时,看播端基于目标内容下载地址向目标网络节点发出下载请求,目标网络节点接收该下载请求,从中解析出目标渠道信息(例如,包括目标位置和目标渠道号),按照目标位置确定游戏母包中的预留区域所在位置,然后将目标渠道号直接写入预留区域,从而生成目标渠道包,目标网络节点将目标渠道包发送给看播端,从而实现渠道包的动态生成与分发。As shown in Figure 5, in the game live broadcast scenario, the live broadcast page 501 of the viewing end displays the game live broadcast 503 of the anchor 502, and the game download card 504 is also displayed in the predetermined area of the live broadcast page 501. The viewing user is watching the game live broadcast 503. During the process, if you are interested in the game, you can click Download 505 on the game download card 504. When download 505 is clicked, the viewing terminal sends a download request to the target network node based on the target content download address. The target network node receives the download request and parses out the target channel information (for example, including the target location and target channel number). According to the target Determine the location of the reserved area in the game mother package, and then write the target channel number directly into the reserved area to generate the target channel package. The target network node sends the target channel package to the viewer to realize the dynamics of the channel package. Generation and distribution.
结合图6所示,看播端获取目标渠道包之后,在直播页面601中显示主播602的游戏直播603的同时,在直播页面601的预定区域显示下载后的游戏相关信息604,看播用户可通过点击打开游戏605安装并启动游戏。As shown in Figure 6, after the viewer obtains the target channel package, while displaying the game live broadcast 603 of the anchor 602 on the live broadcast page 601, the downloaded game-related information 604 is displayed in the predetermined area of the live broadcast page 601. The viewer can Install and launch the game by clicking Open Game 605.
结合图7所示,看播端下载目标渠道包之后,可以在直播页面701继续观看主播702的游戏直播703,也可以通过查看我的游戏,查看已下载游戏的相关信息704,其中,已下载游戏中显示游戏的分发渠道,例如主播702。As shown in Figure 7, after the viewer downloads the target channel package, you can continue to watch the game live broadcast 703 of the anchor 702 on the live broadcast page 701, or you can view the relevant information of the downloaded game 704 by viewing my games, among which, the game has been downloaded The distribution channel of the game is displayed in the game, such as anchor 702.
一些实施例中,目标渠道信息还包括附加业务数据;附加业务数据是指在直播间信息对应的分发渠道中,主播进行其他附加业务后生成的数据,例如,主播参加了有关内容推广的活动,附加业务数据用于记录参加活动的时间、名称、观看活动直播的看播用户数、参与活动互动的看播用户数等等。内容服务器可将目标渠道信息添加于内容下载地址并发送至直播服务器,直播服务器根据内容下载地址解析获得目标渠道号和附加业务数据,进一步根据目标渠道号确定对应的主播,根据附加业务数据确定该主播的业务数据,对主播的业务能力进行评估。In some embodiments, the target channel information also includes additional business data; additional business data refers to data generated after the anchor performs other additional services in the distribution channel corresponding to the live broadcast room information. For example, the anchor participated in activities related to content promotion. Additional business data is used to record the time and name of participating in the event, the number of users who watched the live broadcast of the event, the number of users who participated in the event interaction, etc. The content server can add the target channel information to the content download address and send it to the live broadcast server. The live broadcast server obtains the target channel number and additional business data based on the content download address analysis, further determines the corresponding anchor based on the target channel number, and determines the anchor based on the additional business data. The anchor's business data is used to evaluate the anchor's business capabilities.
一些实施例中,渠道包生成方法还包括:In some embodiments, the channel package generation method further includes:
接收内容应用激活请求;其中,内容应用激活请求包括看播对象标识和目标渠道信息;Receive a content application activation request; wherein the content application activation request includes the viewing object identification and target channel information;
根据看播对象标识和目标渠道信息,构建归因关系表。Build an attribution relationship table based on the viewer identification and target channel information.
本实施例中,看播端下载目标渠道包后,可以安装目标渠道包,安装过程中能够解析获得目标渠道信息,安装之后即可激活内容应用,激活方式例如是启动、登录、注册等;激活时,向内容服务器发送内容应用激活请求,该内容应用激活请求包括看播对象标识和目标渠道信息,内容服务器根据看播对象标识和目标渠道信息构建用于记录用户获得渠道包的分发渠道的归因关系表。其中,看播对象标识用于标识不同的看播用户,例如看播对象标识号,具体不做限定。In this embodiment, after the viewer downloads the target channel package, the target channel package can be installed. During the installation process, the target channel information can be parsed and obtained. After installation, the content application can be activated. The activation method is, for example, startup, login, registration, etc.; activation When, a content application activation request is sent to the content server. The content application activation request includes the viewing object identification and the target channel information. The content server constructs a distribution channel for recording the distribution channel through which the user obtains the channel package based on the viewing object identification and the target channel information. Cause relationship table. Among them, the viewing object identifier is used to identify different viewing users, such as the viewing object identification number, which is not specifically limited.
一些实施例中,看播端激活内容应用后,可以在使用内容应用过程中购买付费内容。购买时,向内容服务器发送资源转移请求,该资源转移请求包括看播对象标识和资源转移信息,内容服务器根据看播对象标识查询归因关系表,并根据资源转移信息更新归因关系表,使得归因关系表记录了看播对象标识、目标渠道信息和资源转移信息的对应关系,后续可根据归因关系表分析不同分发渠道的转化情况。可选地,资源可以是虚拟资源,并可以在虚拟网络空间中实现从一个资源池到另一个资源池的转移。In some embodiments, after the content application is activated on the viewing end, paid content can be purchased while using the content application. When purchasing, a resource transfer request is sent to the content server. The resource transfer request includes the viewing object identification and resource transfer information. The content server queries the attribution relationship table based on the viewing object identification and updates the attribution relationship table based on the resource transfer information, so that The attribution relationship table records the corresponding relationship between the viewer identification, target channel information and resource transfer information. Subsequently, the conversion status of different distribution channels can be analyzed based on the attribution relationship table. Optionally, the resources can be virtual resources and can be transferred from one resource pool to another in the virtual network space.
本申请实施例提供一种渠道包生成方法,应用于直播分发渠道中,看播端观看内容直播时,从内容服务器获取目标渠道信息和目标内容下载地址,当看播用户对直播的内容感兴趣时,可以直接在直播页面点击下载,此时,看播端基于目标渠道信息和目标内容下载地址向目标网络节点发送下载请求,目标网络节点接收该下载请求时,动态的将目标渠道信息写入内容母包中,生成目标渠道包,然后将目标渠道包发送给看播端。本实施例的方法,无需预先生成若干渠道包,并将渠道包投放给各个分发渠道,网络节点仅需存储一个内容母包,下载时动态的将目标渠道号写入内容母包,生成目标渠道包,不仅大幅降低打包压力和存储压力,且不会出现渠道包分配失败的问题。Embodiments of this application provide a channel package generation method, which is applied in live broadcast distribution channels. When the viewer watches the live content, the target channel information and the target content download address are obtained from the content server. When the viewer is interested in the live content At this time, you can click download directly on the live broadcast page. At this time, the viewing terminal sends a download request to the target network node based on the target channel information and the target content download address. When the target network node receives the download request, it dynamically writes the target channel information. In the content master package, the target channel package is generated, and then the target channel package is sent to the viewing end. The method of this embodiment does not need to generate several channel packages in advance and deliver the channel packages to each distribution channel. The network node only needs to store one content master package. When downloading, the target channel number is dynamically written into the content master package to generate the target channel. Packages not only greatly reduce packaging pressure and storage pressure, but also eliminate the problem of channel package allocation failure.
需要说明的是,本申请实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本申请实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that the method in the embodiment of the present application can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied in a distributed scenario, and is completed by multiple devices cooperating with each other. In this distributed scenario, one of the multiple devices can only execute one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete all the steps. method described.
需要说明的是,上述对本申请的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be noted that some embodiments of the present application have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the above-described embodiments and still achieve the desired results. Additionally, the processes depicted in the figures do not necessarily require the specific order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain implementations.
基于同一发明构思,本申请实施例还提供了一种渠道包生成方法,应用于网络节点。Based on the same inventive concept, embodiments of the present application also provide a channel package generation method, which is applied to network nodes.
参考图8,所述渠道包生成方法包括:Referring to Figure 8, the channel package generation method includes:
S801:接收下载请求;其中,下载请求包括目标渠道信息;S801: Receive a download request; where the download request includes target channel information;
S802:根据目标渠道信息和内容母包生成目标渠道包;S802: Generate a target channel package based on the target channel information and content master package;
S803:将目标渠道包发送至看播端。S803: Send the target channel package to the viewing end.
一些实施例中,目标渠道信息包括目标渠道号;接收下载请求之前,还包括:In some embodiments, the target channel information includes the target channel number; before receiving the download request, it also includes:
接收内容母包;其中,内容母包设有用于写入所述目标渠道号的预留区域。Receive a content master package; wherein the content master package is provided with a reserved area for writing the target channel number.
基于同一发明构思,与上述任意实施例方法相对应的,本申请还提供了一种渠道包生成装置。Based on the same inventive concept, corresponding to any of the above embodiment methods, this application also provides a channel package generating device.
参考图9,所述渠道包生成装置,包括:Referring to Figure 9, the channel package generating device includes:
接收模块901,用于接收目标内容看播请求;其中,目标内容看播请求包括目标内容标识和目标直播间信息;The receiving module 901 is used to receive a target content viewing request; wherein the target content viewing request includes a target content identifier and target live broadcast room information;
查询模块902,用于根据目标内容标识和目标直播间信息,获得目标渠道信息和目标内容下载地址;The query module 902 is used to obtain the target channel information and the target content download address according to the target content identification and the target live broadcast room information;
发送模块903,用于将目标渠道信息和目标内容下载地址发送至看播端,以使看播端基于目标内容下载地址和目标渠道信息生成下载请求、进而基于下载请求从目标网络节点获取目标渠道包;其中,目标渠道包是目标网络节点根据目标渠道信息和内容母包生成的。The sending module 903 is used to send the target channel information and the target content download address to the viewing end, so that the viewing end generates a download request based on the target content download address and the target channel information, and then obtains the target channel from the target network node based on the download request. package; among them, the target channel package is generated by the target network node based on the target channel information and content parent package.
基于同一发明构思,与上述任意实施例方法相对应的,本申请还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上任意一实施例所述的渠道包生成方法。Based on the same inventive concept, corresponding to any of the above embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor When executing the program, the channel package generating method described in any of the above embodiments is implemented.
图10示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。Figure 10 shows a more specific hardware structure diagram of an electronic device provided by this embodiment. The device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040 and a bus 1050. The processor 1010, the memory 1020, the input/output interface 1030 and the communication interface 1040 implement communication connections between each other within the device through the bus 1050.
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related tasks. program to implement the technical solutions provided by the embodiments of this specification.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and called and executed by the processor 1010 .
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect the input/output module to realize information input and output. The input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions. Input devices can include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices can include monitors, speakers, vibrators, indicator lights, etc.
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in the figure) to realize communication interaction between this device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。Bus 1050 includes a path that carries information between various components of the device (eg, processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, during specific implementation, the device may also include necessary components for normal operation. Other components. In addition, those skilled in the art can understand that the above-mentioned device may only include components necessary to implement the embodiments of this specification, and does not necessarily include all components shown in the drawings.
上述实施例的电子设备用于实现前述任一实施例中相应的渠道包生成方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The electronic devices of the above embodiments are used to implement the corresponding channel package generation methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.
基于同一发明构思,与上述任意实施例方法相对应的,本申请还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的渠道包生成方法。Based on the same inventive concept, corresponding to any of the above embodiment methods, the present application also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions use To cause the computer to execute the channel package generating method as described in any of the above embodiments.
本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The computer-readable media in this embodiment include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory. (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium can be used to store information that can be accessed by a computing device.
上述实施例的存储介质存储的计算机指令用于使所述计算机执行如上任一实施例所述的渠道包生成方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the channel package generation method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.
需要说明的是,除非另外定义,本申请实施例使用的技术术语或者科学术语应当为本申请所属领域内具有一般技能的人士所理解的通常意义。本申请实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。元素前的冠词“一”或“一个”不排除多个这种元素的存在。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of this application should have the usual meanings understood by those with ordinary skills in the field to which this application belongs. The "first", "second" and similar words used in the embodiments of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "include" or "comprising" mean that the elements or things appearing before the word include the elements or things listed after the word and their equivalents, without excluding other elements or things. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The article "a" or "an" before an element does not exclude the presence of a plurality of such elements.
虽然已经参考若干具体实施方式描述了本申请的精神和原理,但是应该理解,本申请并不限于所公开的具体实施方式,对各方面的划分也不意味着这些方面中的特征不能组合以进行受益,这种划分仅是为了表述的方便。本申请旨在涵盖所附权利要求的精神和范围内所包括的各种修改和等同布置。所附权利要求的范围符合最宽泛的解释,从而包含所有这样的修改及等同结构和功能。Although the spirit and principles of the present application have been described with reference to a number of specific embodiments, it should be understood that the application is not limited to the specific embodiments disclosed, nor does the division into aspects mean that features in these aspects cannot be combined. Benefit, this division is only for convenience of expression. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210946263.6A CN117579604A (en) | 2022-08-08 | 2022-08-08 | Channel package generation method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210946263.6A CN117579604A (en) | 2022-08-08 | 2022-08-08 | Channel package generation method, device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117579604A true CN117579604A (en) | 2024-02-20 |
Family
ID=89886829
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210946263.6A Pending CN117579604A (en) | 2022-08-08 | 2022-08-08 | Channel package generation method, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117579604A (en) |
-
2022
- 2022-08-08 CN CN202210946263.6A patent/CN117579604A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4694091B2 (en) | Scaling and delivery of distributed applications | |
| US9740761B2 (en) | Management of application state data | |
| US20220078492A1 (en) | Interactive service processing method and system, device, and storage medium | |
| WO2019174595A1 (en) | Resource configuration method and apparatus, terminal, and storage medium | |
| US20160330528A1 (en) | Rendering advertisements in a client device for uninterrupted media content | |
| KR20130062462A (en) | Distributed server system and method for streaming game service | |
| US9743137B2 (en) | Run-time SDK integration for connected video players | |
| EP3041176A1 (en) | Method for synchronously playing multimedia content, server, client and system | |
| CN110557689B (en) | Video playing method and device | |
| WO2021139386A1 (en) | Resource allocation method and apparatus, device, and storage medium | |
| WO2016101346A1 (en) | Resource propagation method and system | |
| US20240296151A1 (en) | Cloud server application management method, apparatus, device, computer-readable storage medium, and computer program product | |
| US12160620B2 (en) | Information interaction method, apparatus and device | |
| EP3731943B1 (en) | Normative process of interaction with a registry of virtual spaces | |
| CN117579604A (en) | Channel package generation method, device, electronic equipment and storage medium | |
| WO2025190202A1 (en) | Information display method and apparatus, a device, and a storage medium | |
| CN112565877A (en) | Screen projection method and system, electronic equipment and storage medium | |
| CN106331774A (en) | Equipment connection method and device and intelligent television system | |
| WO2022242461A1 (en) | Method and apparatus for processing livestream audio/video, client, and server | |
| CN117579848A (en) | Channel package attribution methods, devices, electronic devices and storage media | |
| CN106155722A (en) | A kind of software method for updating pages and terminal | |
| CN112337092B (en) | Cloud game processing method, device, equipment and storage medium | |
| WO2016197867A1 (en) | Data processing method and device applicable to computing device | |
| CN114528058B (en) | Application grouping display method, device and display device | |
| CN117412128B (en) | Television application running mode determining method and device |
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 |