Digital television resource management method, system, electronic device and medium

文档序号:956334 发布日期:2020-10-30 浏览:16次 中文

阅读说明:本技术 数字电视资源管理方法、系统、电子设备和介质 (Digital television resource management method, system, electronic device and medium ) 是由 路宁 于 2020-07-24 设计创作,主要内容包括:本发明公开了一种数字电视资源管理方法、系统、电子设备和介质,其中数字电视资源管理方法包括以下步骤:获取使用端的资源请求信息;根据资源请求信息在备选资源中获取目标资源;将使用端与目标资源建立连接。本发明的技术方案无需对资源或使用端进行专门的设置,使用端不必考虑如何查询和筛选出可用的资源,只需发起请求即可;而每个资源也不必考虑维护自己的状态以及处理外部访问冲突的场景,可以简化使用端访问资源的流程,提高可扩展性、稳定性和兼容性。(The invention discloses a digital television resource management method, a system, electronic equipment and a medium, wherein the digital television resource management method comprises the following steps: acquiring resource request information of a user end; acquiring target resources from the alternative resources according to the resource request information; and establishing connection between the using end and the target resource. According to the technical scheme, special setting of resources or a user end is not needed, the user end does not need to consider how to inquire and screen out available resources, and only needs to initiate a request; and each resource does not need to consider the scenes of maintaining the state of the resource and processing external access conflicts, so that the process of accessing the resource by the user end can be simplified, and the expandability, the stability and the compatibility are improved.)

1. A digital television resource management method is characterized by comprising the following steps:

acquiring resource request information of a user end;

acquiring target resources from alternative resources according to the resource request information;

and establishing connection between the using end and the target resource.

2. The digital television resource management method of claim 1, wherein the resource request information includes a request resource type and a request usage scenario;

the step of obtaining the target resource from the alternative resource according to the resource request information comprises the following steps:

acquiring similar resources according to the request resource type, wherein the similar resources are resources of which the corresponding resource types in the alternative resources are matched with the request resource type;

judging whether a target idle resource exists, wherein the target idle resource is an idle resource in the same kind of resources, and if the target idle resource exists, taking the target idle resource as the target resource; if the target idle resources do not exist, acquiring target occupied resources according to the request use scene, wherein the target occupied resources are occupied resources of which the priority of the corresponding use scene in the similar resources is lower than that of the corresponding use scene of the request use scene, disconnecting the target occupied resources from the use end occupying the target occupied resources, and taking the target occupied resources as the target resources.

3. The method for managing digital television resources of claim 2, wherein the target occupied resource is the occupied resource with the lowest priority.

4. The method for managing digital television resources of claim 1, wherein before the step of obtaining the resource request information of the user terminal, the method for managing digital television resources further comprises the steps of:

setting a user end ID for the user end to complete user end registration;

and setting a resource ID for the alternative resource to complete resource registration.

5. The method according to any of claims 1-4, wherein the user terminal comprises a service module of the digital TV.

6. The method according to any of claims 1-4, wherein the alternative resource comprises at least one of an LNB module, a Frontend module, a Demux module, and a CA module.

7. The digital television resource management method of claim 2, wherein the digital television resource management method further comprises:

and setting the corresponding priority for the use scene.

8. A digital television resource management system is characterized by comprising a request acquisition unit, a target acquisition unit and a connection establishment unit;

the request acquisition unit is used for acquiring resource request information of a user end;

the target acquisition unit is used for acquiring target resources from alternative resources according to the resource request information;

the connection establishing unit is used for establishing connection between the using end and the target resource.

9. The digital television resource management system of claim 8, wherein the resource request information includes a request resource type and a request usage scenario;

the target obtaining unit is configured to obtain a similar resource according to the requested resource type, where the similar resource is a resource whose corresponding resource type in the alternative resources matches the requested resource type;

the target obtaining unit is further configured to determine whether a target idle resource exists, where the target idle resource is an idle resource in the similar resource, and if the target idle resource exists, the target idle resource is used as the target resource; if the target idle resources do not exist, acquiring target occupied resources according to the request use scene, wherein the target occupied resources are occupied resources of which the priority of the corresponding use scene in the similar resources is lower than that of the corresponding use scene of the request use scene, disconnecting the target occupied resources from the use end occupying the target occupied resources, and taking the target occupied resources as the target resources.

10. The digital television resource management system of claim 9, wherein the target occupied resource is the corresponding occupied resource with the lowest priority.

11. The digital television resource management system of claim 8, wherein the digital television resource management system further comprises a registration unit;

the registration unit is used for setting a user end ID for the user end to complete user end registration;

the registering unit is further configured to set a resource ID for the alternative resource to complete resource registration.

12. The digital television resource management system of any one of claims 8-11, wherein the user terminal comprises a service module of a digital television.

13. The digital television resource management system of any of claims 8-11, wherein the alternative resource comprises at least one of an LNB module, a Frontend module, a Demux module, a CA module.

14. The digital television resource management system of claim 9, wherein the digital television resource management system further comprises a priority setting unit:

the priority setting unit is used for setting the corresponding priority for the use scene.

15. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of digital television resource management of any of claims 1-7 when executing the computer program.

16. 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 digital television resource management method of any one of claims 1 to 7.

Technical Field

The invention belongs to the technical field of digital televisions, and particularly relates to a method, a system, electronic equipment and a medium for managing digital television resources.

Background

The processing of digital tv signals is the most basic and most core function of digital tvs and digital set-top boxes, and the modules (hardware/software) responsible for processing digital tv signals are generally classified into LNB (Low Noise Block, a key module for receiving satellite tv signals), Frontend (Frontend), Demux (demultiplexer), and CA (conditional access), which are modules for controlling digital tv services, and use an encrypted transmission program to authenticate users. The modules may be available in multiple sets on digital television and digital set-top box products, depending on the specific service requirements. How to manage and make good use of the resources of these modules is a consideration that must be taken into account by digital television and digital set-top box manufacturers.

Generally, the use strategy of digital television and digital set-top box manufacturers for digital television signal processing modules is simple, the product specification limits the number of module resources, and the work flow of each set of module resources is preset. In addition, the manufacturer considers the policy of fully utilizing the idle resources relatively simply, and takes the technical scheme disclosed in patent application CN201810600809 as an example, the foreground task controls one Tuner resource to process a live TS stream (transport stream), and the background task controls the idle Tuner resource to perform other TS data caching. The technical scheme has the following disadvantages:

1. the use scenes of resources at the use end are limited, and only two scenes of foreground live broadcast and background TS stream cache are provided.

2. Each user (foreground task and background task) needs to integrate the strategy of resource access and the method how to identify idle resources.

3. In order to avoid resource access conflict, the users (foreground task and background task) must access the resources in sequence, for example, the foreground task acquires Tuner resources for live broadcast first, and the background task acquires other Tuner resources for caching TS data. If the subsequent addition of other tasks also requires the acquisition of Tuner resources, the tasks must be started serially, or each resource needs to design a scenario of how to prevent access conflicts.

When a user requests a resource, the user needs to consider how to query and screen out available resources, the setting is complex, and the universality of the user is low. On the other hand, each resource also needs to consider maintaining its own state and handling the external access conflict (for example, a scenario in which multiple users access a resource at the same time). Therefore, in the prior art, in order to reasonably utilize the resources of the modules, it is necessary to perform corresponding settings on the user side and the resource side, respectively, to ensure that the user side can query and screen out available resources, and ensure that the resources can handle the external access conflict scenario. These arrangements increase the complexity of the user side and the resource side. Moreover, when these user terminals and resource terminals are applied to a new digital television system, the settings need to be reset, and the versatility is poor.

Disclosure of Invention

The technical problem to be solved by the present invention is to provide a method, a system, an electronic device and a medium for managing digital television resources to overcome the defects in the prior art.

The invention solves the technical problems through the following technical scheme:

the invention also provides a digital television resource management method, which comprises the following steps:

acquiring resource request information of a user end;

acquiring target resources from the alternative resources according to the resource request information;

and establishing connection between the using end and the target resource.

The digital television resource management method can be applied to a management server of a digital television, and the management server is connected with a user side and resources. The management server receives the resource request information of the user terminal according to the digital television resource management method of the scheme, acquires the target resource from the alternative resources according to the resource request information, and then establishes connection between the user terminal and the target resource. Based on this, each user end only needs to initiate a request to the management server end without considering how to query and screen out available resources; and each resource does not have to consider scenarios for maintaining its own state and handling external access conflicts. The digital television resource management method can simplify the process of accessing resources by a user end, reduce the design and maintenance cost of communication among modules, and ensure that the expandability, stability and compatibility of local systems of the digital television and the digital set-top box are stronger.

Preferably, the resource request information includes a request resource type and a request usage scenario;

the step of obtaining the target resource from the alternative resource according to the resource request information comprises the following steps:

acquiring similar resources according to the type of the request resources, wherein the similar resources are resources of which the corresponding resource types in the alternative resources are matched with the type of the request resources;

judging whether a target idle resource exists, wherein the target idle resource is an idle resource in the same type of resources, and if the target idle resource exists, taking the target idle resource as the target resource; and if the target idle resources do not exist, acquiring the target occupied resources according to the request use scene, wherein the target occupied resources are occupied resources of which the priority of the corresponding use scene in the similar resources is lower than that of the corresponding use scene in the request use scene, disconnecting the target occupied resources from the use end occupying the target occupied resources, and taking the target occupied resources as the target resources.

In the scheme, resources can be reasonably distributed by comparing the priorities of the use scenes, so that the use scenes with higher priorities can be realized, that is, the use terminals of the request use scenes with higher priorities can obtain corresponding resources, and the use scenes of the requests can be realized.

Preferably, the target occupied resource is the occupied resource with the corresponding lowest priority.

In the scheme, the occupied resource with the lowest priority of the corresponding use scene is used as the target occupied resource, so that the query efficiency can be improved, and reasonable release and use of the resource are facilitated.

Preferably, before the step of obtaining the resource request information of the user terminal, the method for managing digital television resources further comprises the following steps:

setting a user ID for the user to complete user registration;

and setting a resource ID for the alternative resource to complete resource registration.

Preferably, the user terminal comprises a service module of the digital television.

Preferably, the alternative resource comprises at least one of an LNB module, a Frontend module, a Demux module, and a CA module.

Preferably, the method for managing digital television resources further comprises:

setting corresponding priority for the usage scenario.

The invention also provides a digital television resource management system, which comprises a request acquisition unit, a target acquisition unit and a connection establishment unit;

the request acquisition unit is used for acquiring resource request information of a user end;

the target acquisition unit is used for acquiring target resources from the alternative resources according to the resource request information;

the connection establishing unit is used for establishing connection between the user end and the target resource.

Preferably, the resource request information includes a request resource type and a request usage scenario;

the target obtaining unit is used for obtaining similar resources according to the type of the requested resource, wherein the similar resources are resources of which the corresponding resource type in the alternative resources is matched with the type of the requested resource;

the target acquisition unit is also used for judging whether a target idle resource exists, wherein the target idle resource is an idle resource in the same type of resources, and if the target idle resource exists, the target idle resource is used as the target resource; and if the target idle resources do not exist, acquiring the target occupied resources according to the request use scene, wherein the target occupied resources are occupied resources of which the priority of the corresponding use scene in the similar resources is lower than that of the corresponding use scene in the request use scene, disconnecting the target occupied resources from the use end occupying the target occupied resources, and taking the target occupied resources as the target resources.

Preferably, the target occupied resource is the occupied resource with the corresponding lowest priority.

Preferably, the digital television resource management system further comprises a registration unit;

the registration unit is used for setting a user end ID for the user end to complete user end registration;

the registration unit is further configured to set a resource ID for the alternative resource to complete resource registration.

Preferably, the user terminal comprises a service module of the digital television.

Preferably, the alternative resource comprises at least one of an LNB module, a Frontend module, a Demux module, and a CA module.

Preferably, the digital television resource management system further comprises a priority setting unit:

the priority setting unit is used for setting corresponding priority for the use scene.

The invention also provides electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the digital television resource management method.

The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the digital television resource management method of the present invention.

The positive progress effects of the invention are as follows: according to the technical scheme, special setting of resources or a user end is not needed, the user end does not need to consider how to inquire and screen out available resources, and only needs to initiate a request; and each resource does not need to consider the scenes of maintaining the state of the resource and processing external access conflicts, so that the process of accessing the resource by the user end can be simplified, and the expandability, the stability and the compatibility are improved.

Drawings

Fig. 1 is a flowchart of a digital television resource management method according to embodiment 1 of the present invention.

Fig. 2 is a flowchart of a digital television resource management method according to embodiment 2 of the present invention.

Fig. 3 is a flowchart of step S2 of the method for managing digital tv resources according to embodiment 2 of the present invention.

Fig. 4 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention.

Fig. 5 is a schematic structural diagram of a digital television resource management system according to embodiment 5 of the present invention.

Fig. 6 is a schematic structural diagram of a digital television resource management system according to embodiment 6 of the present invention.

Detailed Description

The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种用于电视天线接收的信号直通和放大兼容模块

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类