IPTV platform access method and device, operation management platform and storage medium
By working together with the operation management platform and the access gateway, and by using network transmission protocols and format conversion technologies, the problems of low data collection efficiency and high carbon emissions in multiple IPTV platform access scenarios have been solved, achieving efficient data collection and environmental protection and energy saving.
Patent Information
- Application Number
- CN202511817047.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-02-24
AI Technical Summary
In scenarios involving access to multiple IPTV platforms, existing technologies struggle to efficiently acquire data collection results from multiple IPTV platforms through a single operation and management platform, resulting in a massive workload for data collection, increased power consumption, and higher carbon emissions.
The operation management platform establishes communication with the access gateway, encapsulates request identifiers, capability tags, and compliance identifiers using network transmission protocols, generates business requests, obtains operational data from the IPTV platform, selects the preferred platform with high availability, fast response, and few connections, performs protocol and format conversion, and generates cross-platform data collection results.
It improved data collection efficiency, reduced data collection time, lowered overall power consumption and carbon emissions, and alleviated environmental pressure.
Smart Images

Figure CN121567772A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of IPTV technology, and in particular to an IPTV platform access method, device, operation management platform and storage medium. Background Technology
[0002] Because a single IPTV platform cannot meet users' viewing needs, IPTV operators need to connect with multiple IPTV platforms through multiple independent operation and management platforms.
[0003] However, multiple IPTV platforms have different business data interfaces. Manually collecting data from these interfaces would be extremely labor-intensive and time-consuming. Furthermore, each operation and management platform requires dedicated server hardware resources, and running multiple platforms in parallel would significantly increase overall power consumption, leading to higher carbon emissions and increased environmental pressure. Therefore, in scenarios with multiple IPTV platform access, finding a single operation and management platform to obtain data collection results from multiple IPTV platforms is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] This application provides an IPTV platform access method, device, operation management platform, and storage medium to solve the technical problem of how to obtain data collection results from multiple IPTV platforms through a single operation management platform in scenarios involving access to multiple IPTV platforms.
[0005] In a first aspect, embodiments of this application provide an IPTV platform access method, applied to an operation and management platform, wherein the operation and management platform establishes communication with an access gateway, and the access gateway connects to multiple IPTV platforms, the IPTV platform access method comprising: Using a network transmission protocol, the request identifier, capability label, and compliance identifier are encapsulated to generate a business request, which is then sent to the access gateway. The access gateway then returns a resource list based on the business request. The identifier of each IPTV platform is obtained from the resource list. The query interface of the monitoring system is called to query the identifier of each IPTV platform to obtain the operating data of each IPTV platform. The uptime, response time, error rate and current number of connections of each IPTV platform are obtained from the operating data of each IPTV platform. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated. Multiple IPTV platforms with availability percentages higher than a preset percentage, response times lower than a preset time, error rates lower than a preset value, and current connection counts lower than a preset number of connections are selected as multiple preferred IPTV platforms. The business data interfaces of the multiple preferred IPTV platforms are set as a unified access interface. Cross-platform requests sent by IPTV user devices are received through the access interface. Cross-platform requests are data collection requests that require the multiple preferred IPTV platforms to complete together. A protocol adapter is used to convert the cross-platform request into a data retrieval request. The data retrieval request is sent to each preferred IPTV platform, and the response data returned by each preferred IPTV platform after executing the data retrieval request is received. The format conversion script corresponding to each preferred IPTV platform is used to convert the response data returned after executing the data retrieval request of each preferred IPTV platform to obtain the converted data corresponding to each preferred IPTV platform. The converted data corresponding to each preferred IPTV platform is integrated to generate the cross-platform request data collection result, and the data collection result is returned to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
[0006] In one possible implementation of the first aspect, a network transmission protocol is used to encapsulate the request identifier, capability label, and compliance identifier to generate a service request. This service request is then sent to the access gateway, and the access gateway returns a resource list based on the service request, including: Obtain the configuration file, and retrieve the request identifier, capability tag, and compliance identifier from the configuration file; The system uses a network transmission protocol to encapsulate the request identifier, capability label, and compliance identifier to generate a business request. It then sends the business request to the access gateway and receives the resource list returned by the access gateway based on the business request. The network transmission protocol is Hypertext Transfer Protocol or Hypertext Transfer Security Protocol.
[0007] In one possible implementation of the first aspect, the identifier of each IPTV platform is obtained from the resource list. The query interface of the monitoring system is then called to query the identifier of each IPTV platform, obtaining the operational data of each IPTV platform. From this operational data, the uptime, response time, error rate, and current connection count of each IPTV platform are obtained. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated, including: The identifier of each IPTV platform is obtained from the resource list, the call instruction is obtained from the instruction set, the query interface of the monitoring system is called through the call instruction, and the identifier of each IPTV platform is queried through the query interface to obtain the operating data of each IPTV platform. The uptime, response time, error rate, and current number of connections of each IPTV platform are obtained from the operational data of each IPTV platform. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated.
[0008] In one possible implementation of the first aspect, a format conversion script corresponding to each preferred IPTV platform is used to convert the format of the response data returned after each preferred IPTV platform executes a data retrieval request, obtaining converted data corresponding to each preferred IPTV platform. This converted data is then integrated to generate cross-platform request data collection results, which are returned to the IPTV user equipment. The IPTV user equipment is the user-end device that accesses the IPTV service, including: Obtain the file path, access the preset file through the file path, and retrieve the format conversion script corresponding to each preferred IPTV platform from the preset file; The format conversion script corresponding to each preferred IPTV platform is used to convert the response data returned after executing the data retrieval request of each preferred IPTV platform to obtain the converted data corresponding to each preferred IPTV platform. The converted data corresponding to each preferred IPTV platform is integrated to generate the cross-platform request data collection result, and the data collection result is returned to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
[0009] In one possible implementation of the first aspect, the usability model is as follows:
[0010] This represents the availability percentage of the i-th IPTV platform. The higher the availability percentage of the i-th IPTV platform, the less downtime it experiences and the higher its ability to maintain stable performance. Conversely, the lower the availability percentage of the i-th IPTV platform, the more downtime it experiences and the lower its ability to maintain stable performance. This represents the uptime of the i-th IPTV platform; This represents the total running time of the i-th IPTV platform.
[0011] In one possible implementation of the first aspect, the operation management platform is a management platform based on the electronic program guide system. The capability tags include regional tags and content tags. The regional tags are tags that mark the geographical scope covered by the IPTV service, and the content tags are tags that mark individual audio and video content.
[0012] In one possible implementation of the first aspect, after the format conversion script corresponding to each preferred IPTV platform is used to convert the response data returned after executing the data retrieval request on each preferred IPTV platform to obtain converted data corresponding to each preferred IPTV platform, the converted data corresponding to each preferred IPTV platform is integrated to generate cross-platform request data collection results, and the data collection results are returned to the IPTV user equipment, where the IPTV user equipment is a user terminal device accessing the IPTV service, the IPTV platform access method includes: Obtain the preset storage area and store cross-platform requests and data collection results in the storage area.
[0013] Secondly, embodiments of this application provide an IPTV platform access device, applied to an operation and management platform, wherein the operation and management platform establishes communication with an access gateway, and the access gateway connects to multiple IPTV platforms, including: The request module is used to encapsulate the request identifier, capability label, and compliance identifier using network transmission protocols, generate a business request, initiate a business request to the access gateway, and receive a resource list returned by the access gateway based on the business request. The acquisition module is used to obtain the identifier of each IPTV platform from the resource list, call the query interface of the monitoring system, query the identifier of each IPTV platform through the query interface to obtain the operating data of each IPTV platform, obtain the uptime, response time, error rate and current connection number of each IPTV platform from the operating data of each IPTV platform, and generate the availability percentage of each IPTV platform based on the uptime and availability model of each IPTV platform. The receiving module is used to select multiple IPTV platforms with an availability percentage higher than a preset percentage, a response time lower than a preset time, an error rate lower than a preset value, and a current number of connections less than a preset number of connections as multiple preferred IPTV platforms. The business data interfaces of the multiple preferred IPTV platforms are set as a unified access interface. The cross-platform requests sent by IPTV user equipment are received through the access interface. The cross-platform requests are data collection requests that require the multiple preferred IPTV platforms to complete together. The conversion module is used to perform protocol conversion on cross-platform requests using a protocol adapter to obtain data retrieval requests, send data retrieval requests to each preferred IPTV platform, and receive response data returned by each preferred IPTV platform after executing the data retrieval request. The acquisition module is used to convert the response data returned after executing the data retrieval request from each preferred IPTV platform using the format conversion script corresponding to each preferred IPTV platform, to obtain the converted data corresponding to each preferred IPTV platform, integrate the converted data corresponding to each preferred IPTV platform, generate the cross-platform request data acquisition result, and return the data acquisition result to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
[0014] Thirdly, embodiments of this application provide an operation management platform that runs on a server-side device. The server-side device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the IPTV platform access method described in the first aspect above.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the IPTV platform access method described in the first aspect above.
[0016] Fifthly, embodiments of this application provide a computer program product that, when run on an operation management platform, causes the operation management platform to execute the IPTV platform access method described in the first aspect above.
[0017] The beneficial effects of this application's embodiments are twofold. Firstly, by employing a format conversion script corresponding to each preferred IPTV platform, the response data returned after executing a data retrieval request from each preferred IPTV platform is converted to obtain converted data corresponding to each preferred IPTV platform. This converted data is then integrated to generate cross-platform request data collection results, which are returned to the IPTV user equipment. In scenarios with multiple IPTV platform access, data collection results can be obtained from multiple IPTV platforms through a single operation and management platform, reducing data collection time and thus improving data collection efficiency. Secondly, since a single operation and management platform eliminates the need for multiple operation and management platforms to run in parallel, overall power consumption can be reduced. This reduction in overall power consumption directly lowers electricity demand, thereby reducing carbon emissions generated during power generation and thus alleviating environmental pressure. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is an application scenario diagram of the IPTV platform access method provided in the embodiments of this application; Figure 2 This is a flowchart illustrating the IPTV platform access method provided in an embodiment of this application; Figure 3 A flowchart illustrating the implementation of S205 provided in this application embodiment; Figure 4 A schematic block diagram of an IPTV platform access device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of the operation management platform provided in the embodiments of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0021] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0022] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0023] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0024] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0025] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0026] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0027] Furthermore, the technical solutions of the various embodiments can be combined with each other, but only if they are based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0028] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0029] Please see Figure 1 , Figure 1 The application scenario diagram of the IPTV platform access method provided in the embodiments of this application is described in detail below: The operation and management platform establishes communication with the access gateway, and the access gateway connects to multiple IPTV platforms, thus forming a multi-IPTV platform access scenario.
[0030] The operation and management platform is based on the electronic program guide (EPB) system. It manages television programs through the EPB system.
[0031] Among them, the English abbreviation of the Electronic Program Guide system is: EPG, and the English full name of the Electronic Program Guide system is Electronic Program Guide.
[0032] Among them, the full name of IPTV is: Internet Protocol Television, and the Chinese name of IPTV is: Interactive Network Television.
[0033] Among them, the number of multiple IPTV platforms includes but is not limited to 3, 5, and 10. The number of multiple IPTV platforms is not restricted here.
[0034] For example, the multiple IPTV platforms are respectively IPTV Platform A, IPTV Platform B, and IPTV Platform C. The operation and management platform connects to IPTV Platform A, IPTV Platform B, and IPTV Platform C through an access gateway.
[0035] In the embodiment of the present application, the operation and management platform can connect to multiple IPTV platforms through an access gateway at the same time. There is no need to repeatedly build a docking architecture, and one deployment can cover multiple IPTV platforms, reducing the cost of repeated development and maintenance.
[0036] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of the IPTV platform access method provided by the embodiment of the present application. This method can be applied to an operation and management platform. The operation and management platform establishes communication with an access gateway, and the access gateway connects to multiple IPTV platforms.
[0037] As Figure 2 shown, the IPTV platform access method provided by the embodiment of the present application includes the following steps, which are described in detail as follows: S201, encapsulate the request identifier, capability label, and compliance identifier using a network transmission protocol to generate a service request, initiate the service request to the access gateway, and receive the resource list returned by the access gateway according to the service request; Among them, encapsulating the request identifier, capability label, and compliance identifier using a network transmission protocol to generate a service request, initiating the service request to the access gateway, and receiving the resource list returned by the access gateway according to the service request includes: Obtain the configuration file, and obtain the request identifier, capability label, and compliance identifier from the configuration file; Encapsulate the request identifier, capability label, and compliance identifier using a network transmission protocol to generate a service request, initiate the service request to the access gateway, and receive the resource list returned by the access gateway according to the service request. The network transmission protocol is the Hypertext Transfer Protocol or the Hypertext Transfer Security Protocol.
[0038] The abbreviation for Hypertext Transfer Protocol is HTTP. HTTP stands for HyperText Transfer Protocol. It is used for the transmission of hypertext data on the World Wide Web. The data is transmitted in plaintext without encryption protection.
[0039] The abbreviation for Hypertext Transfer Protocol Secure is HTTPS, which stands for HyperText Transfer Protocol Secure. The purpose of Hypertext Transfer Protocol Secure is to ensure the confidentiality and integrity of data transmission through encryption.
[0040] The operation and management platform is a management platform based on the electronic program guide system. The capability tags include regional tags and content tags. Regional tags are tags that mark the geographical scope covered by IPTV services, and content tags are tags that mark individual audio and video content.
[0041] For example, the compliance mark includes a content compliance mark and a transmission compliance mark. The content compliance mark is a mark that the disseminated audio and video content complies with regulations, and the transmission compliance mark is a mark that the transmission link of the audio and video content complies with regulatory standards.
[0042] For example, the content compliance identifier is GAF001, where GA represents audio and video content and F001 is the basic content compliance serial number. Similarly, the transmission compliance identifier is CTE001, where CT represents the transmission link of the audio and video content and E001 is the transmission compliance serial number.
[0043] S202: Obtain the identifier of each IPTV platform from the resource list, call the query interface of the monitoring system, query the identifier of each IPTV platform through the query interface to obtain the operating data of each IPTV platform, obtain the uptime, response time, error rate and current number of connections of each IPTV platform from the operating data of each IPTV platform, and generate the availability percentage of each IPTV platform based on the uptime and availability model of each IPTV platform. This process involves retrieving the identifier for each IPTV platform from the resource list, calling the query interface of the monitoring system, querying the identifier for each IPTV platform to obtain its operational data, and extracting its uptime, response time, error rate, and current connection count from this data. Based on the uptime and availability model of each IPTV platform, the availability percentage for each platform is generated, including: The identifier of each IPTV platform is obtained from the resource list, the call instruction is obtained from the instruction set, the query interface of the monitoring system is called through the call instruction, and the identifier of each IPTV platform is queried through the query interface to obtain the operating data of each IPTV platform. The uptime, response time, error rate, and current number of connections of each IPTV platform are obtained from the operational data of each IPTV platform. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated.
[0044] The availability model is as follows:
[0045] This represents the availability percentage of the i-th IPTV platform. The higher the availability percentage of the i-th IPTV platform, the less downtime it experiences and the higher its ability to maintain stable performance. Conversely, the lower the availability percentage of the i-th IPTV platform, the more downtime it experiences and the lower its ability to maintain stable performance. This represents the uptime of the i-th IPTV platform; This represents the total running time of the i-th IPTV platform.
[0046] S203, select multiple IPTV platforms with availability percentage higher than a preset percentage, response time lower than a preset time, error rate lower than a preset value, and current connection number less than a preset connection number as multiple preferred IPTV platforms, set the business data interface of multiple preferred IPTV platforms as a unified access interface, and receive cross-platform requests sent by IPTV user equipment through the access interface. The cross-platform request is a data collection request that needs to be completed by multiple preferred IPTV platforms. For example, the current connection count refers to the total number of terminals currently connected.
[0047] If the current number of connections on the IPTV platform is not less than the preset number of connections, it means that the IPTV platform is operating under high load, exceeding its design capacity, and the IPTV platform cannot maintain a smooth operating state.
[0048] If the current number of connections on the IPTV platform is less than the preset number of connections, it means that the IPTV platform can effectively avoid performance degradation caused by excessive load, ensuring that the IPTV platform always maintains a high-efficiency and smooth operating state.
[0049] For ease of explanation, the following example is provided: For example, the multiple IPTV platforms are IPTV Platform 1, IPTV Platform 2, IPTV Platform 3, IPTV Platform 4, and IPTV Platform 5; The availability percentage of IPTV platform 2 is not higher than the preset percentage; the response time of IPTV platform 4 is higher than the preset time. The availability percentage of IPTV platform 1, IPTV platform 3, and IPTV platform 5 is higher than the preset percentage, the response time is lower than the preset time, the error rate is lower than the preset value, and the current number of connections is less than the preset number of connections. At this point, only IPTV platform 1, IPTV platform 3, and IPTV platform 5 have an availability percentage higher than the preset percentage, a response time lower than the preset time, an error rate lower than the preset value, and a current number of connections less than the preset number of connections. Therefore, IPTV platform 1, IPTV platform 3, and IPTV platform 5 are selected as the preferred IPTV platforms.
[0050] S204, use a protocol adapter to perform protocol conversion on cross-platform requests to obtain data retrieval requests, send data retrieval requests to each preferred IPTV platform, and receive response data returned by each preferred IPTV platform after executing the data retrieval request; Among them, different IPTV platforms have differences in program content procurement, arrangement and promotion. Sending data retrieval requests to each preferred IPTV platform and receiving the response data returned by each preferred IPTV platform after executing the data retrieval request can collect these response data, enrich the content library and provide more choices for IPTV user equipment.
[0051] S205: Using the format conversion script corresponding to each preferred IPTV platform, the response data returned after executing the data retrieval request of each preferred IPTV platform is converted to obtain the converted data corresponding to each preferred IPTV platform. The converted data corresponding to each preferred IPTV platform is integrated to generate the cross-platform request data collection result, and the data collection result is returned to the IPTV user equipment, which is the user terminal equipment that accesses the IPTV service.
[0052] Among them, a format conversion script is an automated program whose core function is to convert data, files, or information from one format to another compatible format.
[0053] Each preferred IPTV platform has a corresponding format conversion script.
[0054] For ease of explanation, the following example is provided: For example, the preferred IPTV platforms are IPTV Platform 1, IPTV Platform 3, and IPTV Platform 5; The format conversion script corresponding to IPTV platform 1 is used to convert the response data returned after IPTV platform 1 executes the data retrieval request, so as to obtain the converted data corresponding to IPTV platform 1. The format conversion script corresponding to IPTV platform 2 is used to convert the response data returned after IPTV platform 2 executes the data retrieval request, so as to obtain the converted data corresponding to IPTV platform 2. The format conversion script corresponding to IPTV platform 3 is used to convert the response data returned after IPTV platform 3 executes the data retrieval request, so as to obtain the converted data corresponding to IPTV platform 3.
[0055] The conversion data corresponding to IPTV platform 1, IPTV platform 2, and IPTV platform 3 are integrated to generate cross-platform request data collection results, which are then returned to the IPTV user equipment, which is the user-end device that accesses the IPTV service.
[0056] Specifically, the conversion data corresponding to each preferred IPTV platform is integrated to generate cross-platform request data collection results, which are then returned to the IPTV user equipment. On the one hand, this allows for the one-time collection of data from each preferred IPTV platform, greatly improving the data collection speed and enabling IPTV user equipment to obtain data collection results more quickly. On the other hand, the format conversion script corresponding to each preferred IPTV platform converts the format of the response data returned after executing the data retrieval request from each preferred IPTV platform. The format of the conversion data corresponding to each preferred IPTV platform is the same, which reduces the complexity of parsing the data collection results for IPTV user equipment.
[0057] The IPTV platform access method includes the following steps: First, by using a format conversion script corresponding to each preferred IPTV platform to convert the response data returned after executing a data retrieval request on each preferred IPTV platform, obtaining converted data corresponding to each preferred IPTV platform, then integrating the converted data corresponding to each preferred IPTV platform to generate cross-platform request data collection results, and returning the data collection results to the IPTV user equipment (where the IPTV user equipment is a user terminal device accessing the IPTV service). Obtain the preset storage area and store cross-platform requests and data collection results in the storage area.
[0058] The beneficial effects of this application's embodiments are twofold. Firstly, by employing a format conversion script corresponding to each preferred IPTV platform, the response data returned after executing a data retrieval request from each preferred IPTV platform is converted to obtain converted data corresponding to each preferred IPTV platform. This converted data is then integrated to generate cross-platform request data collection results, which are returned to the IPTV user equipment. In scenarios with multiple IPTV platform access, data collection results can be obtained from multiple IPTV platforms through a single operation and management platform, reducing data collection time and thus improving data collection efficiency. Secondly, since a single operation and management platform eliminates the need for multiple operation and management platforms to run in parallel, overall power consumption can be reduced. This reduction in overall power consumption directly lowers electricity demand, thereby reducing carbon emissions generated during power generation and thus alleviating environmental pressure.
[0059] Please see Figure 3 , Figure 3 The implementation flowchart of S205 provided in the embodiments of this application is described in detail below: S301, Obtain the file path, access the preset file through the file path, and obtain the format conversion script corresponding to each preferred IPTV platform from the preset file; S302: Using the format conversion script corresponding to each preferred IPTV platform, the response data returned after executing the data retrieval request of each preferred IPTV platform is converted to obtain the converted data corresponding to each preferred IPTV platform. The converted data corresponding to each preferred IPTV platform is integrated to generate the cross-platform request data collection result, and the data collection result is returned to the IPTV user equipment, which is the user terminal equipment that accesses the IPTV service.
[0060] In this embodiment, the format conversion script corresponding to each preferred IPTV platform can quickly identify and process the response data returned after each preferred IPTV platform executes a data retrieval request. Compared with general conversion tools, it can significantly reduce unnecessary calculation and operation steps and significantly improve the data conversion speed of the response data returned after each preferred IPTV platform executes a data retrieval request.
[0061] For the IPTV platform access method described in the above embodiments, please refer to [link / reference]. Figure 4 , Figure 4 This is a schematic block diagram of an IPTV platform access device provided in an embodiment of this application. Figure 4 The IPTV platform access device 400 shown can be applied to, for example... Figure 1 The application scenario diagram shows an operations management platform. The following section uses the operations management platform as an example to illustrate this. Figure 4The IPTV platform access device 400 shown will be described in detail. The IPTV platform access device 400 may include a request module 401, an acquisition module 402, a receiving module 403, a conversion module 404, and a collection module 405.
[0062] The request module 401 is used to encapsulate the request identifier, capability label and compliance identifier using a network transmission protocol, generate a business request, initiate a business request to the access gateway, and receive a resource list returned by the access gateway based on the business request. The acquisition module 402 is used to obtain the identifier of each IPTV platform from the resource list, call the query interface of the monitoring system, query the identifier of each IPTV platform through the query interface, obtain the operating data of each IPTV platform, obtain the uptime, response time, error rate and current number of connections of each IPTV platform from the operating data of each IPTV platform, and generate the availability percentage of each IPTV platform based on the uptime and availability model of each IPTV platform. The receiving module 403 is used to select multiple IPTV platforms with an availability percentage higher than a preset percentage, a response time lower than a preset time, an error rate lower than a preset value, and a current number of connections less than a preset number of connections as multiple preferred IPTV platforms. The service data interfaces of the multiple preferred IPTV platforms are set as a unified access interface. The cross-platform request sent by the IPTV user equipment is received through the access interface. The cross-platform request is a data collection request that requires the multiple preferred IPTV platforms to complete together. The conversion module 404 is used to perform protocol conversion on cross-platform requests using a protocol adapter to obtain data retrieval requests, send data retrieval requests to each preferred IPTV platform, and receive response data returned by each preferred IPTV platform after executing the data retrieval request; The acquisition module 405 is used to use the format conversion script corresponding to each preferred IPTV platform to convert the response data returned after executing the data retrieval request of each preferred IPTV platform, obtain the converted data corresponding to each preferred IPTV platform, integrate the converted data corresponding to each preferred IPTV platform, generate the cross-platform request data acquisition result, and return the data acquisition result to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
[0063] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0064] The beneficial effects of this application's embodiments are twofold. Firstly, by employing a format conversion script corresponding to each preferred IPTV platform, the response data returned after executing a data retrieval request from each preferred IPTV platform is converted to obtain converted data corresponding to each preferred IPTV platform. This converted data is then integrated to generate cross-platform request data collection results, which are returned to the IPTV user equipment. In scenarios with multiple IPTV platform access, data collection results can be obtained from multiple IPTV platforms through a single operation and management platform, reducing data collection time and thus improving data collection efficiency. Secondly, since a single operation and management platform eliminates the need for multiple operation and management platforms to run in parallel, overall power consumption can be reduced. This reduction in overall power consumption directly lowers electricity demand, thereby reducing carbon emissions generated during power generation and thus alleviating environmental pressure.
[0065] An operations management platform, which runs on a server-side device, including a memory, is described below. Figure 5 , Figure 5 This is a schematic diagram of the structure of the operation management platform provided in the embodiments of this application.
[0066] like Figure 5 As shown, Figure 5 The server device 2 includes: at least one processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the at least one processor 20, wherein the processor 20 executes the computer program 22 to implement the steps in any of the above method embodiments.
[0067] The server-side device 2 may include, but is not limited to, a processor 20 and a memory 21. Those skilled in the art will understand that... Figure 5 This is merely an example of server device 2 and does not constitute a limitation on server device 2. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0068] The processor 20 is used to run a computer program 22 stored in the memory 21, and performs the following steps when executing the computer program 22: Using a network transmission protocol, the request identifier, capability label, and compliance identifier are encapsulated to generate a business request, which is then sent to the access gateway. The access gateway then returns a resource list based on the business request. The identifier of each IPTV platform is obtained from the resource list. The query interface of the monitoring system is called to query the identifier of each IPTV platform to obtain the operating data of each IPTV platform. The uptime, response time, error rate and current number of connections of each IPTV platform are obtained from the operating data of each IPTV platform. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated. Multiple IPTV platforms with availability percentages higher than a preset percentage, response times lower than a preset time, error rates lower than a preset value, and current connection counts lower than a preset number of connections are selected as multiple preferred IPTV platforms. The business data interfaces of the multiple preferred IPTV platforms are set as a unified access interface. Cross-platform requests sent by IPTV user devices are received through the access interface. Cross-platform requests are data collection requests that require the multiple preferred IPTV platforms to complete together. A protocol adapter is used to convert the cross-platform request into a data retrieval request. The data retrieval request is sent to each preferred IPTV platform, and the response data returned by each preferred IPTV platform after executing the data retrieval request is received. The system uses a format conversion script corresponding to each preferred IPTV platform to convert the response data returned after executing a data retrieval request from each preferred IPTV platform, obtaining converted data for each preferred IPTV platform. This converted data is then integrated to generate cross-platform request data acquisition results, which are returned to the IPTV user equipment (the user-end device accessing the IPTV service). The processor 20 can be a Central Processing Unit (CPU), but it can also be a general-purpose processor, a digital signal processor, a programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0069] In some embodiments, the memory 21 may be an internal storage unit of the server device 2, such as a hard disk or memory of the server device 2. In other embodiments, the memory 21 may be an external storage device of the server device 2, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the server device 2. Furthermore, the memory 21 may include both internal and external storage units of the server device 2. The memory 21 is used to store the operating system, applications, boot loader, data, and other programs, such as the program code of the computer program. The memory 21 can also be used to temporarily store data that has been output or will be output.
[0070] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0071] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0072] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0073] The computer-readable storage medium may also be an external storage device of the IPTV platform access device or server equipment, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, Flash Card, or non-transitory computer-readable storage medium equipped on the IPTV platform access device or server equipment.
[0074] Since the computer program stored in the computer-readable storage medium can execute any of the IPTV platform access methods provided in the embodiments of this application, the computer-readable storage medium can achieve the beneficial effects that any of the IPTV platform access methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.
[0075] This application provides a computer program product that, when run on a server device, causes the server device to execute the aforementioned IPTV platform access method.
[0076] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0077] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0078] Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium includes: an entity or device for carrying computer program code to a server device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0079] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0080] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for accessing an IPTV platform, characterized in that, The system is applied to an operation and management platform. The operation and management platform establishes communication with the access gateway, and the access gateway connects to multiple IPTV platforms. The IPTV platform access method includes: Using a network transmission protocol, the request identifier, capability label, and compliance identifier are encapsulated to generate a business request, which is then sent to the access gateway. The access gateway then returns a resource list based on the business request. The identifier of each IPTV platform is obtained from the resource list. The query interface of the monitoring system is called to query the identifier of each IPTV platform to obtain the operating data of each IPTV platform. The uptime, response time, error rate and current number of connections of each IPTV platform are obtained from the operating data of each IPTV platform. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated. Multiple IPTV platforms with availability percentages higher than a preset percentage, response times lower than a preset time, error rates lower than a preset value, and current connection counts lower than a preset number of connections are selected as multiple preferred IPTV platforms. The business data interfaces of the multiple preferred IPTV platforms are set as a unified access interface. Cross-platform requests sent by IPTV user devices are received through the access interface. Cross-platform requests are data collection requests that require the multiple preferred IPTV platforms to complete together. A protocol adapter is used to convert the cross-platform request into a data retrieval request. The data retrieval request is sent to each preferred IPTV platform, and the response data returned by each preferred IPTV platform after executing the data retrieval request is received. The format conversion script corresponding to each preferred IPTV platform is used to convert the response data returned after executing the data retrieval request of each preferred IPTV platform to obtain the converted data corresponding to each preferred IPTV platform. The converted data corresponding to each preferred IPTV platform is integrated to generate the cross-platform request data collection result, and the data collection result is returned to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
2. The IPTV platform access method according to claim 1, characterized in that, Using a network transmission protocol, the request identifier, capability tag, and compliance identifier are encapsulated to generate a business request. This request is then sent to the access gateway, and the gateway returns a resource list based on the business request, including: Obtain the configuration file, and retrieve the request identifier, capability tag, and compliance identifier from the configuration file; The system uses a network transmission protocol to encapsulate the request identifier, capability label, and compliance identifier to generate a business request. It then sends the business request to the access gateway and receives the resource list returned by the access gateway based on the business request. The network transmission protocol is Hypertext Transfer Protocol or Hypertext Transfer Security Protocol.
3. The IPTV platform access method according to claim 1, characterized in that, Retrieve the identifier of each IPTV platform from the resource list, call the query interface of the monitoring system, and query the identifier of each IPTV platform through the query interface to obtain the operating data of each IPTV platform. From the operating data of each IPTV platform, obtain the uptime, response time, error rate, and current connection count of each IPTV platform. Based on the uptime and availability model of each IPTV platform, generate the availability percentage of each IPTV platform, including: The identifier of each IPTV platform is obtained from the resource list, the call instruction is obtained from the instruction set, the query interface of the monitoring system is called through the call instruction, and the identifier of each IPTV platform is queried through the query interface to obtain the operating data of each IPTV platform. The uptime, response time, error rate, and current number of connections of each IPTV platform are obtained from the operational data of each IPTV platform. Based on the uptime and availability model of each IPTV platform, the availability percentage of each IPTV platform is generated.
4. The IPTV platform access method according to claim 1, characterized in that, The system uses a format conversion script corresponding to each preferred IPTV platform to convert the response data returned after executing a data retrieval request from each preferred IPTV platform, obtaining converted data for each platform. This converted data is then integrated to generate cross-platform request data collection results, which are returned to the IPTV user equipment. The IPTV user equipment refers to the user-end equipment accessing the IPTV service, including: Obtain the file path, access the preset file through the file path, and retrieve the format conversion script corresponding to each preferred IPTV platform from the preset file; The format conversion script corresponding to each preferred IPTV platform is used to convert the response data returned after executing the data retrieval request of each preferred IPTV platform to obtain the converted data corresponding to each preferred IPTV platform. The converted data corresponding to each preferred IPTV platform is integrated to generate the cross-platform request data collection result, and the data collection result is returned to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
5. The IPTV platform access method according to claim 1, characterized in that, The availability model is:
6. This represents the availability percentage of the i-th IPTV platform. The higher the availability percentage of the i-th IPTV platform, the less downtime it experiences and the higher its ability to maintain stable performance. Conversely, the lower the availability percentage of the i-th IPTV platform, the more downtime it experiences and the lower its ability to maintain stable performance. This represents the uptime of the i-th IPTV platform; This represents the total running time of the i-th IPTV platform.
7. The IPTV platform access method according to claim 1, characterized in that, The IPTV platform access method, after adopting the format conversion script corresponding to each preferred IPTV platform, converts the response data returned after executing the data retrieval request on each preferred IPTV platform to obtain the converted data corresponding to each preferred IPTV platform. This converted data is then integrated to generate a cross-platform request data collection result, which is returned to the IPTV user equipment (where the IPTV user equipment is the user terminal device accessing the IPTV service). Obtain the preset storage area and store cross-platform requests and data collection results in the storage area.
8. An IPTV platform access device, characterized in that, It is used in the operation and management platform, which establishes communication with the access gateway. The access gateway connects to multiple IPTV platforms, including: The request module is used to encapsulate the request identifier, capability label, and compliance identifier using network transmission protocols, generate a business request, initiate a business request to the access gateway, and receive a resource list returned by the access gateway based on the business request. The acquisition module is used to obtain the identifier of each IPTV platform from the resource list, call the query interface of the monitoring system, query the identifier of each IPTV platform through the query interface to obtain the operating data of each IPTV platform, obtain the uptime, response time, error rate and current connection number of each IPTV platform from the operating data of each IPTV platform, and generate the availability percentage of each IPTV platform based on the uptime and availability model of each IPTV platform. The receiving module is used to select multiple IPTV platforms with an availability percentage higher than a preset percentage, a response time lower than a preset time, an error rate lower than a preset value, and a current number of connections less than a preset number of connections as multiple preferred IPTV platforms. The business data interfaces of the multiple preferred IPTV platforms are set as a unified access interface. The cross-platform requests sent by IPTV user equipment are received through the access interface. The cross-platform requests are data collection requests that require the multiple preferred IPTV platforms to complete together. The conversion module is used to perform protocol conversion on cross-platform requests using a protocol adapter to obtain data retrieval requests, send data retrieval requests to each preferred IPTV platform, and receive response data returned by each preferred IPTV platform after executing the data retrieval request. The acquisition module is used to convert the response data returned after executing the data retrieval request from each preferred IPTV platform using the format conversion script corresponding to each preferred IPTV platform, to obtain the converted data corresponding to each preferred IPTV platform, integrate the converted data corresponding to each preferred IPTV platform, generate the cross-platform request data acquisition result, and return the data acquisition result to the IPTV user equipment, which is the user terminal device that accesses the IPTV service.
9. An operation management platform, the operation management platform running on a server-side device, the server-side device including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the IPTV platform access method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the IPTV platform access method as described in any one of claims 1 to 7.