Information interaction method and device, electronic equipment and storage medium
By deploying general forwarding devices and virtual client devices in the IPTV system and using authentication servers to create quality service policies, the problem of IPTV system being difficult to distinguish between business traffic is solved, end-to-end quality service strategy management is realized, and audio and video playback is improved Effect.
Patent Information
- Application Number
- CN202310842415.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-10
- Publication Date
- 2025-01-10
AI Technical Summary
The existing IPTV system is difficult to distinguish IPTV service traffic from ordinary Internet traffic, making it difficult to ensure the end-to-end quality service strategy of the IPTV system, affecting the playback effect of audio and video.
By deploying general forwarding devices and virtual client devices on the user side, using the authentication server to perform authentication and authentication, creating quality service policies based on the characteristic information of the set-top box, and forwarding service data flow through the general forwarding device to realize IPTV service traffic quality service strategy management.
It has achieved the end-to-end quality service strategy guarantee for interactive network TVs, improved the audio and video playback effect, and ensured the transmission quality of IPTV service traffic.
Smart Images

Figure CN119299751A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to an information interaction method and device, an electronic device, and a computer-readable storage medium. Background Art
[0002] IPTV (Internet Protocol Television) is interactive network television. It is a communication technology that integrates multiple technologies such as the Internet, multimedia, and communications to provide home users with a variety of interactive services including digital television.
[0003] At present, with the continuous development of high-definition video technologies such as 4K and 8K, higher requirements are placed on the bandwidth and latency of IPTV system data transmission. However, in the existing IPTV system, the home routing gateway is usually set up in the user's home, and the home routing gateway is difficult to distinguish between IPTV service traffic and ordinary Internet traffic, and cannot achieve end-to-end quality service strategy guarantee for the IPTV system, resulting in poor audio and video playback effects. Summary of the invention
[0004] The purpose of the present disclosure is to provide an information interaction method and device, an electronic device, and a storage medium, thereby achieving end-to-end quality service strategy assurance for interactive network television at least to a certain extent, and improving the audio and video playback effect in interactive network television.
[0005] According to a first aspect of the present disclosure, there is provided an information interaction method, comprising: responding to an authentication request sent when a set-top box goes online, sending the authentication request to an authentication server by using a universal forwarding device, so that the authentication server performs authentication; in response to receiving an online event of a set-top box after successful authentication, creating a quality service policy for the set-top box according to characteristic information of the set-top box; sending the quality service policy to the universal forwarding device, and in response to the set-top box generating a service data stream when playing a program, forwarding the service data stream according to the quality service policy through the universal forwarding device.
[0006] According to the second aspect of the present disclosure, an information interaction device is provided, comprising: an authentication module, used to respond to an authentication request sent by a set-top box when it goes online, and use a universal forwarding device to send the authentication request to an authentication server so that the authentication server performs authentication; a policy creation module, used to respond to an online event of a set-top box received after successful authentication, and create a quality service policy for the set-top box according to the characteristic information of the set-top box; a service data forwarding module, used to send the quality service policy to the universal forwarding device, and respond to the set-top box playing a program to generate a service data flow, and forward the service data flow according to the quality service policy through the universal forwarding device. .
[0007] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the information interaction method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions.
[0008] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the information interaction method of the first aspect and its possible implementation methods are implemented.
[0009] In the technical solution provided in the embodiments of the present disclosure, on the one hand, a universal forwarding device is used to send an authentication request to an authentication server so that the authentication server performs authentication, thereby determining whether to execute the creation of a quality service policy based on the permission information of the set-top box, thereby improving the efficiency of information interaction; on the other hand, a quality service policy is created for the set-top box based on the characteristic information of the set-top box, and different quality service policies can be created for different set-top boxes based on the characteristic information of the set-top box, thereby improving the accuracy of the quality service policy; on the other hand, in response to the set-top box playing a program to generate a business data stream, the business data stream is forwarded according to the quality service policy through the universal forwarding device, thereby achieving end-to-end quality service policy guarantee for the interactive network television and improving the audio and video playback effect in the interactive network television.
[0010] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0012] Figure 1 A schematic diagram schematically shows an interactive network television system according to an embodiment of the present disclosure.
[0013] Figure 2 A schematic diagram is shown of an application scenario to which the information interaction method of an embodiment of the present disclosure can be applied.
[0014] Figure 3 A flowchart of an information interaction method according to an embodiment of the present disclosure is schematically shown.
[0015] Figure 4 The flowchart of creating a quality of service policy for a set-top box according to an embodiment of the present disclosure is schematically shown.
[0016] Figure 5 A flowchart schematically illustrates another information interaction method according to an embodiment of the present disclosure.
[0017] Figure 6 A block diagram of an information interaction device in an embodiment of the present disclosure is schematically shown.
[0018] Figure 7 The block diagram of the electronic device in the embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0019] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0020] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0021] In related technologies, with the development of digital image processing technology, high-resolution video images such as 2K, 4K and 8K have been widely used, and more and more IPTV TV systems have begun to support these video formats to provide a higher quality viewing experience. However, these high-resolution video images often require higher bandwidth and smaller delays during transmission, which also puts higher requirements on the end-to-end quality of service strategy (QoS) guarantee of IPTV service traffic. Therefore, how to achieve end-to-end quality of service strategy guarantee for interactive network TV to obtain better audio and video playback effects is the main challenge currently faced.
[0022] In some embodiments of the present disclosure, a typical IPTV system may be composed of a set top box (STB), a home routing gateway, an optical network unit (ONU), a content delivery network (CDN), a broadband access gateway (BNG), a terminal and other devices, refer to Figure 1 , Figure 1 The following is a schematic diagram of an interactive network television system according to an embodiment of the present disclosure, wherein a set-top box device is connected to a television via an HDMI cable, an optical network unit is commonly used in fiber-to-the-home scenarios, a broadband access gateway can be used for broadband access management and traffic control, and various terminals can communicate with a home routing gateway via a wireless network or a wired network.
[0023] exist Figure 1 In the IPTV system shown, for IPTV service traffic, its upstream is usually a streaming server such as a content distribution network, while for ordinary Internet traffic (Internet data), its upstream is usually a BNG network element on the operator side. Network elements such as ONU, CDN, and BNG are usually deployed on the operator side, and operators can easily implement quality service policy management for various service traffic. However, the home routing gateway is usually set up in the user's home, and the operator cannot directly configure it, and the home routing gateway generally has difficulty distinguishing between IPTV service traffic and ordinary Internet traffic. In a typical scenario, when the user's ordinary Internet service is downloading a large amount of traffic, the IPTV video service traffic is often affected, and the impact on high frame rate videos such as 4K and 8K is particularly obvious, which often leads to video freezes, frame skipping, and screen distortion.
[0024] In the information exchange process of the IPTV system, if it is necessary to implement end-to-end quality service policy guarantee for IPTV service traffic, the focus is on the quality service policy guarantee of the home routing gateway on the user side. However, the home routing gateway usually has difficulty distinguishing IPTV service traffic from ordinary Internet traffic, and these two types of traffic usually cannot be classified as unicast, multicast or packet five-tuple information. It is also difficult for the gateway device to distinguish between set-top box terminals and ordinary terminals by device feature recognition. Therefore, in Figure 1 In the IPTV system shown, it is difficult for the home routing gateway on the user side to implement the quality service policy guarantee for the IPTV service traffic, so that the entire system cannot implement the end-to-end quality service policy guarantee.
[0025] In order to solve the above technical problems, an information interaction method is provided in the embodiments of the present disclosure, which can be applied to information interaction and transmission of service data streams in an IPTV system, thereby realizing an application scenario of end-to-end quality service policy guarantee for interactive network television. Figure 2 A schematic diagram showing a system architecture to which the information interaction method and device according to the embodiments of the present disclosure can be applied.
[0026] like Figure 2 As shown in the figure, the system architecture mainly consists of a set-top box (STB), a universal forwarding device (uCPE), a virtual customer premises equipment (vCPE), an authentication server, an optical network unit (ONU), and a content distribution network (CDN). Among them, the universal forwarding device is a programmable network device, which is often placed on the user side and has data access and data transmission functions, but it does not have a control function. The virtual customer premises equipment is a network device implemented by software-defined networking and network function virtualization, which has high flexibility and scalability. The authentication server can be used to identify the authority of the terminal device. The optical network unit is usually set on the user side to realize the function of connecting the user terminal to the optical fiber network. The content distribution network is a network architecture designed for online video and large file distribution. In the IPTV system, the content distribution network can be used to alleviate network congestion and bottleneck problems, reduce buffering delays during video playback, and improve user experience.
[0027] refer to Figure 2 The system architecture collects the three-layer capabilities of the home routing gateway, that is, the firewall, address translation (NAT), quality of service policy (QoS) and other functions of the home routing gateway are managed in the cloud, and users only need to deploy a universal forwarding device at home. After the universal forwarding device and the virtual client device establish a control channel, the virtual client device can create a quality service policy for the set-top box. The universal forwarding device completes the actual gateway service according to the quality service policy issued by the virtual client, and the forwarding behavior of the universal forwarding device is completely managed by the virtual client device deployed in the cloud, ultimately achieving end-to-end quality service policy guarantee.
[0028] Specifically, Figure 2The process of executing information interaction in the system architecture shown may be that, first, the virtual client device responds to the authentication request sent by the set-top box when it goes online, and uses the universal forwarding device to send the authentication request to the authentication server so that the authentication server performs authentication; then, the virtual client device responds to the online event received from the set-top box after the authentication is successful, and creates a quality service policy for the set-top box according to the characteristic information of the set-top box; finally, the virtual client device sends the quality service policy to the universal forwarding device, and responds to the business data stream generated by the set-top box playing the program, and forwards the business data stream according to the quality service policy through the universal forwarding device, thereby ensuring the audio and video playback effect.
[0029] In the embodiment of the present disclosure, an information interaction method is provided, which can be applied to the scenario of interactive network television (IPTV). In the embodiment of the present disclosure, the IPTV scenario is used as an example for explanation. Figure 3 As shown in , each step of the information interaction method in the embodiment of the present disclosure is described in detail with a virtual client device as the execution subject.
[0030] In step S310, in response to the authentication request sent by the set-top box when it goes online, the authentication request is sent to the authentication server using a universal forwarding device, so that the authentication server performs authentication.
[0031] In the disclosed embodiment, a set-top box is a device that connects a television set to a network, and can transmit contents such as television programs and movies to a television screen via a network cable or a wireless network, and can provide a series of additional functions such as on-demand, email, and games. The authentication request can be used to authenticate whether the set-top box has the authority to receive IPTV service traffic, and the subsequent steps are continued for the set-top box that succeeds in authentication, and the subsequent steps are not executed for the set-top box that fails in authentication, thereby improving the efficiency of information interaction. Before the authentication is successful, the set-top box is usually unable to play IPTV programs, that is, there is no data service.
[0032] In some embodiments, the information interaction method in the present disclosure further includes: in response to the universal forwarding device being started, establishing a control channel with the universal forwarding device to manage the forwarding behavior of the universal forwarding device.
[0033] Specifically, refer to Figure 2 As shown, when the universal forwarding device is started, the virtual client device on the operator side can establish a control channel with the universal forwarding device to manage the three-layer (physical layer, network layer and transport layer) forwarding behavior of the universal forwarding device when detecting that the universal forwarding device is started. By managing the forwarding behavior of the universal forwarding device through the virtual client device, the problem that the home routing gateway cannot distinguish between IPTV service traffic and ordinary Internet traffic can be avoided, thereby ensuring the transmission quality of IPTV service traffic.
[0034] In some embodiments, using a universal forwarding device to send the authentication request to the authentication server specifically includes: using the universal forwarding device to send the authentication request to the authentication server based on a forwarding channel corresponding to a default forwarding policy.
[0035] The default forwarding strategy may be a forwarding strategy without a quality of service strategy. Before information interaction is performed, the general forwarding device and the authentication server may establish a forwarding channel in advance. When the set-top box sends an authentication request, the general forwarding device and the authentication server may complete information interaction based on the forwarding channel. Before the set-top box is successfully authenticated, it is usually unable to receive IPTV service traffic, that is, there is no data service, and the general forwarding device is unable to identify whether the access device is a set-top box, and cannot apply a quality of service strategy to it. Therefore, the default forwarding strategy is used to send the authentication request to the authentication server.
[0036] Continue to refer Figure 3 As shown, in step S320, in response to receiving an online event of a set-top box after successful authentication, a quality of service policy is created for the set-top box according to feature information of the set-top box.
[0037] In the embodiment of the present disclosure, the characteristic information of the set-top box is information that can characterize the identity of the set-top box. For example, the characteristic information may include one or more of a physical (MAC) address, a device number, a serial number, and a body number. The quality of service strategy may indicate priority processing and resource allocation for different types of data streams or flows in the network to achieve better data transmission quality.
[0038] refer to Figure 2 As shown, after the authentication is successful, the authentication server can send the set-top box online event and the characteristic information of the set-top box to the virtual client device, and the virtual client device can create a quality of service policy for the set-top box according to the characteristic information of the set-top box.
[0039] In some embodiments, reference Figure 4 As shown, according to the characteristic information of the set-top box, a quality of service strategy is created for the set-top box, which specifically includes the following steps:
[0040] S410, obtaining physical address information and device number information of the set-top box;
[0041] S420: When it is determined that the physical address information and the device number information belong to a set-top box, create a quality of service policy for the set-top box.
[0042] The physical address is the MAC (Media Access Control Address), which is a 48-bit hexadecimal number used to identify the uniqueness of the set-top box. The device number is an identifier of the set-top box, usually consisting of the device model, serial number, and production date, and is assigned when the device is manufactured.
[0043] Based on the physical address information and the device number information, it can be determined whether the access device belongs to a set-top box, and a specific quality of service policy for the video service flow is created for the set-top box to ensure the transmission quality of the video service flow.
[0044] In some embodiments, creating a quality of service policy for a video service flow for a set-top box includes, specifically, setting the priority of a dynamic host configuration protocol module corresponding to the set-top box to video transmission.
[0045] Wherein, the dynamic host configuration protocol module is a DHCP (Dynamic Host Configuration Protocol) module. In the IPTV system, it is mainly used to assign information such as an IP address and network parameters to the set-top box so that the set-top box can communicate and access the IPTV system. By setting the priority of the dynamic host configuration protocol module corresponding to the set-top box to video transmission, that is, in the data stream of various types, the quality of service strategy of the video service stream corresponding to the target set-top box is set to the high priority represented by the video transmission, when the various data streams are transmitted simultaneously, the flow rate and bandwidth of the video transmission related data are preferentially guaranteed.
[0046] In addition, in some embodiments, if the authentication fails, the authentication failure information is fed back to the set-top box through the universal forwarding device. Figure 3 As shown, in step S330, the quality of service policy is sent to the general forwarding device, and in response to the set-top box playing the program to generate a service data stream, the service data stream is forwarded by the general forwarding device according to the quality of service policy.
[0047] In some embodiments, after creating a quality service policy for a set-top box, the quality service policy can be sent to a general forwarding device. When a set-top box plays a program and generates a service data stream, the general forwarding device can identify the traffic belonging to the set-top box based on the characteristic information of the set-top box, such as a MAC address or other characteristic information. If the service data stream generated by the program played by these set-top boxes is identified, the general forwarding device can apply the quality service policy sent by the virtual client device to forward the received service data stream.
[0048] In some embodiments, the set-top box may be offline. In this case, the virtual client device may stop creating a quality of service policy for the set-top box in response to the offline event of the set-top box sent by the authentication server. Figure 2 As shown, after the universal forwarding device detects the offline event of the set-top box, it sends the offline event of the set-top box to the authentication server, and then the authentication server sends the offline event of the set-top box to the virtual client device. After receiving the offline event of the set-top box, the virtual client device stops creating the quality of service policy.
[0049] In certain embodiments, the offline event of the set-top box can be a heartbeat disconnection or offline notification, which can detect whether there is a heartbeat disconnection or offline notification. If there is, it is considered that the set-top box has an offline event. Wherein, the heartbeat disconnection can represent the communication interruption between the set-top box and the IPTV system. The set-top box usually sends a heartbeat packet to the IPTV system at a certain time interval to represent its online state and normality. If the IPTV system does not receive the heartbeat packet of the set-top box within a period of time, it is considered that the set-top box is in the offline state. Based on this, it can be determined by detecting the heartbeat packet whether the set-top box is in the offline state.
[0050] Figure 5 The flowchart of the information interaction method provided according to the embodiment of the present disclosure is schematically shown, which may specifically include the following steps:
[0051] In step S502, a control channel is established. Specifically, when the uCPE (universal forwarding equipment) comes online, the operator's vCPE (virtual client equipment) and the uCPE establish a control channel, and the vCPE specifically manages the three-layer (physical layer, network layer and transport layer) forwarding behavior of the uCPE.
[0052] In step S504, an authentication request is sent by the STB (set-top box) to the uCPE, wherein the authentication request may include characteristic information of the STB, namely, the physical address information and device number information of the STB.
[0053] In step S506, the authentication request is forwarded based on the default forwarding policy. Specifically, the uCPE sends the authentication request sent by the STB to the authentication server based on the default forwarding policy.
[0054] In step S508, the authentication is successful. Specifically, the authentication server performs authentication according to the received authentication request. If the authentication is successful, the next step is executed; if the authentication fails, the authentication failure information is fed back to the STB through the uCPE.
[0055] In step S510, the STB online event and the characteristic information of the STB are sent. Specifically, the authentication server sends the STB online event and the characteristic information of the STB to the vCPE.
[0056] In step S512, a QoS policy is created. Specifically, the vCPE can determine whether the access device belongs to the STB based on the physical address and device number information in the received feature information. When it is determined that the physical address information and the device number information belong to the STB, a QoS policy is created for the STB. Exemplarily, the QoS policy may be to set the priority of the dynamic host configuration protocol module corresponding to the STB to video transmission, or to set the quality of service policy of the video service flow corresponding to the STB to the high priority represented by the video transmission to ensure the quality and stability of the video transmission.
[0057] In step S514, the QoS policy is sent. Specifically, the vCPE sends the QoS policy to the uCPE.
[0058] In step S516, the service data flow is forwarded according to the QoS policy. Specifically, after receiving the QoS policy, the uCPE forwards various data flows in the service data flow according to the QoS policy, and gives priority to forwarding the video service flow corresponding to the STB.
[0059] In step S518, the service data flow is sent. Specifically, the uCPE sends the service data flow corresponding to the STB determined based on the QoS policy to the STB.
[0060] In step S520, the audio and video are played. Specifically, after receiving the service data stream, the STB decodes the service data stream and transmits it to the TV screen, thereby completing the audio and video playback.
[0061] In step S522, the STB offline event, specifically, the uCPE may monitor the STB offline event, wherein the offline event may be a heartbeat loss or an offline notification sent by the STB.
[0062] In step S524, the STB offline event is forwarded. Specifically, after the uCPE detects the STB offline event, the offline event is forwarded to the authentication server, wherein the offline event may include characteristic information of the STB.
[0063] In step S526, a STB offline event is sent. Specifically, the authentication server sends the STB offline event to the vCPE.
[0064] In step S528, the creation of the QoS policy for the STB is stopped. Specifically, after receiving the STB offline event, the vCPE determines the offline STB according to the characteristic information of the STB in the offline event, and stops creating the QoS policy for the STB.
[0065] The technical solution in the disclosed embodiment, through the virtual client device set on the operator side and the authentication server to exchange information, accurately identify the online and offline behavior of the set-top box, and apply the end-to-end quality service strategy for the service flow corresponding to the set-top box. Moreover, the virtual client device is set on the network side, that is, the operator side, and can directly interact with the authentication server on the operator side. The authentication server can accurately perceive the online and offline behavior of the set-top box and notify the virtual client device to apply the strategy. In addition, after the virtual client device accurately identifies the set-top box, it can create a quality service strategy corresponding to the set-top box to ensure the stability of its video service flow, thereby achieving end-to-end quality service guarantee. In addition, the setting of the virtual client is managed by the operator, and the operator can achieve end-to-end quality service strategy guarantee in the interactive network TV service. Moreover, the virtual client device can be deployed in the cloud using software, which is flexible to deploy. If the quality service strategy for different terminals needs to be changed, only the software needs to be upgraded to continue to optimize the quality service strategy without changing the hardware, which is highly flexible and convenient.
[0066] In the technical solution provided in the embodiments of the present disclosure, on the one hand, a universal forwarding device is used to send an authentication request to an authentication server so that the authentication server performs authentication, thereby determining whether to execute the creation of a quality service policy based on the permission information of the set-top box, thereby improving the efficiency of information interaction; on the other hand, a quality service policy is created for the set-top box based on the characteristic information of the set-top box, and different quality service policies can be created for different set-top boxes based on the characteristic information of the set-top box, thereby improving the accuracy of the quality service policy; on the other hand, in response to the set-top box playing a program to generate a business data stream, the business data stream is forwarded according to the quality service policy through the universal forwarding device, thereby achieving end-to-end quality service policy guarantee for the interactive network television and improving the audio and video playback effect in the interactive network television.
[0067] The present disclosure provides an information interaction device, referring to Figure 6 As shown in , the information interaction device 600 may include: an authentication module 601, a policy creation module 602 and a service data forwarding module 603.
[0068] Among them, the authentication module 601 can be used to respond to the authentication request sent when the set-top box goes online, and use the general forwarding device to send the authentication request to the authentication server so that the authentication server can perform authentication; the policy creation module 602 can be used to respond to the online event of the set-top box received after the authentication is successful, and create a quality service policy for the set-top box according to the characteristic information of the set-top box; the business data forwarding module 603 can be used to send the quality service policy to the general forwarding device, and respond to the business data flow generated by the set-top box playing the program, and forward the business data flow according to the quality service policy through the general forwarding device.
[0069] In an exemplary embodiment of the present disclosure, the information interaction apparatus further includes: a control channel establishment module, configured to establish a control channel with the general forwarding device in response to the general forwarding device being started, so as to manage the forwarding behavior of the general forwarding device.
[0070] In an exemplary embodiment of the present disclosure, using a universal forwarding device to send an authentication request to an authentication server includes: using the universal forwarding device to send the authentication request to the authentication server based on a forwarding channel corresponding to a default forwarding policy.
[0071] In an exemplary embodiment of the present disclosure, a quality service policy is created for a set-top box based on characteristic information of the set-top box, including: obtaining physical address information and device number information of the set-top box; and creating a quality service policy for the set-top box when it is determined that the physical address information and the device number information belong to the set-top box.
[0072] In an exemplary embodiment of the present disclosure, creating a quality of service policy for a set-top box includes: setting the priority of a dynamic host configuration protocol module corresponding to the set-top box to video transmission.
[0073] In an exemplary embodiment of the present disclosure, the information interaction device further includes: an offline event processing module, configured to stop creating a quality of service policy for the set-top box in response to an offline event of the set-top box sent by the authentication server.
[0074] In an exemplary embodiment of the present disclosure, the offline event includes one or more of heartbeat loss and offline notification.
[0075] It should be noted that the specific details of each part of the above-mentioned information interaction device have been described in detail in some implementation methods of the corresponding methods. The undisclosed details can be found in the implementation methods of the method part, and will not be repeated here.
[0076] The exemplary embodiment of the present disclosure also provides an electronic device. The electronic device may be the above-mentioned mobile terminal device. Generally, the electronic device may include a processor and a memory, the memory is used to store executable instructions of the processor, and the processor is configured to execute the above-mentioned information interaction method by executing the executable instructions.
[0077] Below Figure 7 The mobile terminal 700 in FIG. 1 is taken as an example to exemplify the structure of the electronic device. It should be understood by those skilled in the art that, in addition to the components specifically used for mobile purposes, Figure 7 The construction in can also be applied to fixed type equipment.
[0078] like Figure 7 As shown, the mobile terminal 700 may specifically include: a processor 701, a memory 702, a bus 703, a mobile communication module 704, an antenna 1, a wireless communication module 705, an antenna 2, a display screen 706, a camera module 707, an audio module 708, a power module 709 and a sensor module 710.
[0079] The processor 701 may include one or more processing units, for example, the processor 701 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc. The information interaction method in this exemplary embodiment may be executed by an AP, a GPU or a DSP. When the method involves processing related to a neural network, it may be executed by an NPU, for example, the NPU may load neural network parameters and execute algorithm instructions related to the neural network.
[0080] The encoder can encode (i.e. compress) an image or video to reduce the data size for easy storage or transmission. The decoder can decode (i.e. decompress) the encoded data of the image or video to restore the image or video data. The mobile terminal 700 can support one or more encoders and decoders, such as: image formats such as JPEG (Joint Photographic Experts Group), PNG (Portable Network Graphics), BMP (Bitmap), and video formats such as MPEG (Moving Picture Experts Group) 1, MPEG10, H.1073, H.1074, and HEVC (High Efficiency Video Coding).
[0081] The processor 701 may be connected to the memory 702 or other components via a bus 703 .
[0082] The memory 702 may be used to store computer executable program codes, which may include instructions. The processor 701 executes various functional applications and data processing of the mobile terminal 700 by running the instructions stored in the memory 702. The memory 702 may also store application data, such as images, videos, and other files.
[0083] The communication function of the mobile terminal 700 can be implemented by the mobile communication module 704, antenna 1, wireless communication module 705, antenna 2, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 704 can provide 3G, 4G, 5G and other mobile communication solutions applied to the mobile terminal 700. The wireless communication module 705 can provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. applied to the mobile terminal 700.
[0084] The display screen 706 is used to implement display functions, such as displaying user interfaces, images, videos, etc. The camera module 707 is used to implement shooting functions, such as shooting images, videos, etc., and the camera module may include a color temperature sensor array. The audio module 708 is used to implement audio functions, such as playing audio, collecting voice, etc. The power module 709 is used to implement power management functions, such as charging the battery, powering the device, monitoring the battery status, etc. The sensor module 710 may include one or more sensors for implementing corresponding sensing detection functions. For example, the sensor module 710 may include an inertial sensor, which is used to detect the motion posture of the mobile terminal 700 and output inertial sensing data.
[0085] It should be noted that a computer-readable storage medium is also provided in an embodiment of the present disclosure. The computer-readable storage medium may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device.
[0086] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0087] Computer-readable storage media can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0088] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device implements the method in the following embodiments.
[0089] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0090] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0091] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0092] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing what is disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be considered merely as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.
[0093] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information interaction method, characterized in that: include: In response to the authentication request sent by the set-top box when it goes online, the authentication request is sent to the authentication server by using a universal forwarding device so that the authentication server performs authentication; In response to receiving an online event of the set-top box after successful authentication, creating a quality of service policy for the set-top box according to feature information of the set-top box; The quality of service policy is sent to a general forwarding device, and in response to the set-top box playing a program to generate a service data stream, the general forwarding device forwards the service data stream according to the quality of service policy.
2. The information interaction method according to claim 1, characterized in that: The method further comprises: In response to the universal forwarding device being started, a control channel is established with the universal forwarding device to manage the forwarding behavior of the universal forwarding device.
3. The information interaction method according to claim 1, characterized in that: The step of using a universal forwarding device to send the authentication request to an authentication server includes: The authentication request is sent to the authentication server by using the universal forwarding device based on the forwarding channel corresponding to the default forwarding strategy.
4. The information interaction method according to claim 1, characterized in that: The step of creating a quality of service strategy for the set-top box according to the characteristic information of the set-top box includes: Obtaining the physical address information and device number information of the set-top box; In a case where it is determined that the physical address information and the device number information belong to a set-top box, a quality of service policy is created for the set-top box.
5. The information interaction method according to claim 1, characterized in that: Creating a quality of service strategy for a video service flow for the set-top box, including: The priority of the dynamic host configuration protocol module corresponding to the set-top box is set to video transmission.
6. The information interaction method according to claim 1, characterized in that: The method further comprises: In response to the offline event of the set-top box sent by the authentication server, stop creating a quality of service policy for the set-top box.
7. The information interaction method according to claim 6, characterized in that: The offline event includes one or more of heartbeat loss and offline notification.
8. An information interaction device, characterized in that: An authentication module, used to respond to an authentication request sent by a set-top box when it goes online, and send the authentication request to an authentication server using a universal forwarding device, so that the authentication server performs authentication; A policy creation module, configured to create a quality of service policy for the set-top box in response to receiving an online event of the set-top box after successful authentication, according to feature information of the set-top box; The service data forwarding module is used to send the quality service policy to the general forwarding device, and in response to the set-top box playing the program to generate a service data stream, forward the service data stream according to the quality service policy through the general forwarding device.
9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the information interaction method described in any one of claims 1-7 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the information interaction method according to any one of claims 1 to 7 is implemented.