IPTV fusion gateway screen projection method, device, medium and equipment
By configuring the virtual network device and binding the network identifier of the DLNA screen projection application in the IPTV converged gateway device, the problem of missing the device's Internet screen projection function is solved, and the function of putting mobile phone screen content on the TV screen is realized.
Patent Information
- Application Number
- CN202510093880.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2045-01-21
AI Technical Summary
In existing IPTV converged gateway devices, the Internet where the device connects to the IPTV converged gateway cannot project screens, and the content played on the small screen of the mobile phone can not be placed on the large screen of the TV to play.
By responding to the screen projection request initiated by the user, configure the DHCP network protocol on the virtual network device, obtain the IP address of the same gateway Internet, and set it to the virtual network device. Then, the network identifier of the DLNA screen projection application and the virtual network device are bound to achieve screen projection.
The device is able to project screens in the IPTV converged gateway Internet environment, solve the problem of missing screen casting function in the Internet, and improve the functionality and user experience of the device.
Smart Images

Figure CN119562112B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an IPTV converged gateway screen projection method, device, medium and equipment. Background Art
[0002] The IPTV converged gateway is a device that integrates an optical modem and a set-top box in the same housing, and can simultaneously realize the functions of fiber-optic Internet access and watching TV. Usually, the converged gateway contains two systems, one is the set-top box system, and the other is the gateway system. The set-top box system and the gateway system are connected through an internal network cable, logically forming a situation where the built-in set-top box of the converged gateway is connected to the built-in LAN port of the converged gateway. The converged gateway is divided into a gateway part and a set-top box part. The gateway part is responsible for the network connection function of the device, by establishing at least two WAN connections on the WAN port, one WAN connection is responsible for connecting and interacting with the set-top box to access the IPTV network, and one WAN connection is responsible for connecting to the Internet.
[0003] Since the set-top box system inside the converged gateway is connected to an independent IPTV network, the IPTV network and the set-top box are not in the same network. Therefore, mobile phones and other devices connected to the Internet of the converged gateway cannot use screen projection, and the content played on the small screen of the mobile phone cannot be played on the large screen of the TV. Summary of the invention
[0004] The main purpose of this application is to provide an IPTV converged gateway screen projection method, device, medium and equipment, aiming to solve the problem in the prior art that the device connected to the Internet of the IPTV converged gateway cannot perform screen projection.
[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:
[0006] In a first aspect, an embodiment of the present application provides an IPTV converged gateway screen projection method, comprising the following steps:
[0007] In response to the screen projection request initiated by the user, configure the DHCP network protocol on the virtual network device;
[0008] Through the network configuration service, obtain the IP address of the same network as the gateway Internet;
[0009] Set the IP address to the virtual network device;
[0010] In response to the application currently using the player being a DLNA screen projection application, the player and the network identifier of the virtual network device are bound to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound.
[0011] In a possible implementation of the first aspect, in response to the application currently using the player being a DLNA screen projection application, before binding the player and the network identifier of the virtual network device to implement screen projection, the method further includes:
[0012] In response to a request from the device to be projected to project the screen, create a player and query the creation process corresponding to the player;
[0013] When the creation process is a DLNA screen projection application, it is determined that the application currently using the player is a DLNA screen projection application.
[0014] In a possible implementation of the first aspect, in response to the application currently using the player being a DLNA screen projection application, before binding the player and the network identifier of the virtual network device to implement screen projection, the method further includes:
[0015] After confirming that the virtual network device is online and connected to the network successfully, bind the DLNA screen projection application and the network identifier of the virtual network device.
[0016] In a possible implementation of the first aspect, after confirming that the virtual network device is online and the network connection is successful, before binding the DLNA screen projection application and the network identifier of the virtual network device, the method further includes:
[0017] Based on the network connection triggering network change notification, the DLNA screen projection application confirms the online virtual network device and successful network connection through the network change notification.
[0018] In a possible implementation of the first aspect, after confirming that the virtual network device is online and the network connection is successful, binding the DLNA screen projection application and the network identifier of the virtual network device includes:
[0019] After confirming that the virtual network device is online and the network connection is successful, query the network identifier of the corresponding network through the virtual network device;
[0020] Bind the DLNA screen projection application process to the network identifier of the corresponding network of the virtual network device.
[0021] In a possible implementation of the first aspect, setting the IP address on the virtual network device includes:
[0022] Set the IP address to the virtual network device and configure the network as a non-default network.
[0023] In a possible implementation of the first aspect, in response to a screen projection request initiated by a user, configuring a DHCP network protocol on a virtual network device includes:
[0024] In response to a screen projection request initiated by a user, calling the screen projection interface;
[0025] Trigger the network configuration service by modifying properties in the screen projection interface to configure the DHCP network protocol on the virtual network device.
[0026] In a second aspect, an embodiment of the present application provides an IPTV converged gateway screen projection device, comprising:
[0027] A configuration module, the configuration module is used to configure a DHCP network protocol on a virtual network device in response to a screen projection request initiated by a user;
[0028] The acquisition module is used to obtain the IP address of the same network as the gateway Internet through the network configuration service;
[0029] Setting module, which is used to set the IP address to the virtual network device;
[0030] The screen projection module is used to bind the network identifier of the player and the virtual network device in response to the application currently using the player being a DLNA screen projection application to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound.
[0031] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the IPTV converged gateway screen projection method provided in any one of the first aspects above is implemented.
[0032] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein:
[0033] The memory is used to store computer programs;
[0034] The processor is used to load and execute a computer program so that the electronic device executes the IPTV converged gateway screen projection method provided in any one of the first aspects above.
[0035] Compared with the prior art, the beneficial effects of this application are:
[0036] The embodiment of the present application proposes an IPTV fusion gateway screen projection method, device, medium and equipment, the method comprising: in response to a screen projection request initiated by a user, configuring a DHCP network protocol on a virtual network device; obtaining an IP address in the same network as the gateway Internet through a network configuration service; setting the IP address to the virtual network device; in response to the application currently using the player being a DLNA screen projection application, binding the network identifier of the player and the virtual network device to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound. The present application determines the configuration network through the screen projection request initiated by the user, and only operates when it is clear that the user needs to use screen projection, thereby improving the security of the device, by creating a virtual network device, configuring DHCP on the device, applying for an Internet address from the gateway and configuring it, solving the problem of different IP addresses, querying the application currently using the player, and if it is a DLNA screen projection application, binding the network identifier of the player and the virtual network device. Since the network identifier of the DLNA screen projection application and the virtual network device are bound, the DLNA screen projection application and the video player both use the virtual network device, and are successfully in the same network as the screen projection device, and screen projection can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of the process of the IPTV converged gateway screen projection method provided in the embodiment of the present application;
[0039] Figure 3 A schematic diagram of the network configuration process when entering the screen projection interface in the IPTV converged gateway screen projection method provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of the network configuration process when exiting the screen projection interface in the IPTV converged gateway screen projection method provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of the DLNA configuration process when entering the screen projection interface in the IPTV converged gateway screen projection method provided in an embodiment of the present application;
[0042] Figure 6 A schematic diagram of the process of binding a player and a virtual network device in the IPTV converged gateway screen projection method provided in an embodiment of the present application;
[0043] Figure 7 A schematic diagram of a module of an IPTV converged gateway screen projection device provided in an embodiment of the present application;
[0044] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] See attached Figure 1 , attached Figure 1 This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) memory, or it may be a stable non-volatile memory (NVM), such as at least one disk storage. The processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0047] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0048] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and an IPTV fusion gateway screen projection device.
[0049] In the attached Figure 1In the electronic device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the IPTV fusion gateway screen projection device stored in the memory 105 through the processor 101, and executes the IPTV fusion gateway screen projection method provided in the embodiment of the present application.
[0050] Refer to the attached Figure 2 Based on the hardware device of the aforementioned embodiment, the embodiment of the present application provides an IPTV converged gateway screen projection method, comprising the following steps:
[0051] S10: In response to the screen projection request initiated by the user, configure the DHCP network protocol on the virtual network device.
[0052] In the specific implementation process, the user side controls the start of screen projection, so that the virtual network device is generated and used only when the user needs it, ensuring network efficiency. The user can initiate a screen projection request through the remote control, call out the screen projection interface through the remote control, and modify the properties in the screen projection interface to trigger the network configuration service of the virtual network device configured in init, that is, in response to the screen projection request initiated by the user, configure the DHCP network protocol on the virtual network device, including:
[0053] In response to a screen projection request initiated by a user, calling the screen projection interface;
[0054] Trigger the network configuration service by modifying properties in the screen projection interface to configure the DHCP network protocol on the virtual network device.
[0055] init is initialization, which is used to establish and maintain network connections. DHCP (Dynamic Host Configuration Protocol) is a network protocol for local area networks. It adopts a client / server model, in which a range of IP addresses is controlled by the server. When the client logs in to the server, it can automatically obtain the IP address and subnet mask assigned by the server.
[0056] S20: Obtain an IP address in the same network as the gateway Internet through a network configuration service.
[0057] S30: Set the IP address to the virtual network device.
[0058] In the specific implementation process, by configuring DHCP on the veth0 virtual network device, applying for an Internet address from the gateway device, and setting the IP address on the virtual network device, the Internet address problem is solved. While setting, the priority of the network address can be set to a low level and configured as a non-default network, that is, setting the IP address on the virtual network device, including:
[0059] Set the IP address to the virtual network device and configure the network as a non-default network.
[0060] When an IPTV network exists, the default network is the IPTV network, and the network corresponding to veth0 is not the default network.
[0061] S40: In response to the application currently using the player being a DLNA screen projection application, the player and the network identifier of the virtual network device are bound to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound.
[0062] In the specific implementation process, in order to meet the network needs of the video player, in the video player service MediaPlayerService, query the application currently using the video player service. If the current application is a DLNA screen projection application, bind the network identifier of the player and the virtual network device. More specifically, bind the player process and the network identifier of the network corresponding to veth0, so that the network of the player process is the network corresponding to veth0. Cooperate with the DLNA screen projection application and virtual network device that have bound network identifiers to solve the communication problem between the DLNA process and the gateway. When the DLNA screen projection application uses the player, the MediaPlayerService accesses the Internet and the gateway's Internet is in the same network. The DLNA screen projection application and the video player both use veth0 successfully and are in the same network as the screen projection device, and screen projection can be achieved.
[0063] In one embodiment, in response to the application currently using the player being a DLNA screen projection application, before binding the player and the network identifier of the virtual network device to implement screen projection, the method further includes:
[0064] In response to a request from the device to be projected to project the screen, create a player and query the creation process corresponding to the player;
[0065] When the creation process is a DLNA screen projection application, it is determined that the application currently using the player is a DLNA screen projection application.
[0066] In the specific implementation process, the device to be projected, such as a mobile phone, tablet computer, etc., initiates a request for screen projection through the device to be projected on the user side, as shown in the attached Figure 6 The figure shows the process of binding the player and the virtual network device. First, create the player. During the player creation process, reversely query the creation process corresponding to the player. If the player is created by a DLNA projection application, it means that the application currently using the player is a DLNA projection application. The next step is to bind the network identifier of the player and the virtual network device. Otherwise, cancel the process and bind it to veth0.
[0067] In one embodiment, in response to the application currently using the player being a DLNA screen projection application, before binding the player and the network identifier of the virtual network device to implement screen projection, the method further includes:
[0068] After confirming that the virtual network device is online and connected to the network successfully, bind the DLNA screen projection application and the network identifier of the virtual network device.
[0069] In the specific implementation process, after the DLNA screen projection application is started, it is necessary to listen to the network change broadcast. When the network changes, query whether the current veth0 corresponding network is ready. If there is no veth0 at present, continue to wait. If there is veth0 at present, query the netid network identifier of the corresponding network through veth0 to achieve binding. That is: after confirming that the virtual network device is online and the network connection is successful, bind the DLNA screen projection application and the network identifier of the virtual network device, including:
[0070] After confirming that the virtual network device is online and the network connection is successful, query the network identifier of the corresponding network through the virtual network device;
[0071] Bind the DLNA screen projection application process to the network identifier of the corresponding network of the virtual network device.
[0072] You can use bindProcessToNetwork to bind the DLNA process to the network, thus solving the communication problem between the DLNA process and the gateway. bindProcessToNetwork is a method provided by the Android system, which allows the application to bind the current process to a specified network interface. This means that the bound process can only communicate through the network interface instead of the system default network interface. Figure 5 As shown in the figure, when entering the screen projection interface, the DLNA application configuration process, first the DLNA process is started, and the network change broadcast is registered, or when there is a network change broadcast, it is checked whether the current active network includes veth0. If so, the DLNA screen projection application process and the virtual network device veth0 are bound.
[0073] In one embodiment, after confirming that the virtual network device is online and the network connection is successful, before binding the DLNA screen projection application and the network identifier of the virtual network device, the method further includes:
[0074] Based on the network connection triggering network change notification, the DLNA screen projection application confirms the online virtual network device and successful network connection through the network change notification.
[0075] In the specific implementation process, the network connection triggers a network change notification. The DLNA screen casting application confirms the online virtual network device and successful network connection through the notification, and then binds the DLNA screen casting application to the veth0 network to ensure that the DLNA screen casting application can receive the screen casting request from the device to be cast.
[0076] In this embodiment, in response to the screen projection request initiated by the user, the DHCP network protocol is configured on the virtual network device; through the network configuration service, the IP address of the same network as the gateway Internet is obtained; the IP address is set to the virtual network device; in response to the application currently using the player being a DLNA screen projection application, the network identifier of the player and the virtual network device are bound to achieve screen projection; wherein, the network identifier of the DLNA screen projection application and the virtual network device are bound. This application determines the configuration network through the screen projection request initiated by the user, and only operates when it is clear that the user needs to use screen projection, thereby improving the security of the device. By creating a virtual network device and configuring DHCP on the device, applying for an Internet address from the gateway and configuring it, the problem of different IP addresses is solved, and the application currently using the player is queried. If it is a DLNA screen projection application, the network identifier of the player and the virtual network device are bound. Since the network identifiers of the DLNA screen projection application and the virtual network device are bound, both the DLNA screen projection application and the video player use the virtual network device, and are successfully in the same network as the screen projection device, and screen projection can be achieved.
[0077] See attached Figure 3 -Attached Figure 4 , further explain this application:
[0078] As attached Figure 3 The following is the network configuration process when a user initiates a request and enters the screen projection interface:
[0079] Enter the image projection interface and trigger the change of veth0 attributes. The system creates device veth0 with root privileges. After the Tracker plug-in detects the creation of the device, it determines whether it is veth0. If so, it determines whether the network is up, that is, whether the network is connected. When the network connection is detected and the Tracker detects that the device is up, that is, the device is online, the default configuration information of the network is obtained, and the network address is configured. After the configuration is completed, check whether the address conflicts. If there is no conflict, obtain the network configuration module, configure netid and routing, and send the network connectivity broadcast.
[0080] As attached Figure 4 The following is the network configuration process when the user exits the screen projection interface:
[0081] Exit the screen projection interface by triggering the change of veth0 properties. The system deletes the created device veth0 with root privileges. After Tracker detects that the device is down / remove, it obtains the network configuration module, releases the ip, route, netid, and sends a network disconnection broadcast.
[0082] Based on the network configuration when entering and exiting the screen projection interface, the screen projection network is applied for only when it is needed, and the network is released when it is not needed. In addition, since veth0 is only generated and used during screen projection, no unnecessary multicast copies will be made during live TV broadcasts, ensuring network efficiency. This allows the fusion gateway device to accept screen projection from mobile phones and other devices without affecting business apps, using the Internet network. Even during screen projection, the normal operation of the background network management system can be guaranteed.
[0083] Refer to the attached Figure 7 Based on the same inventive concept as in the above-mentioned embodiment, the embodiment of the present application further provides an IPTV fusion gateway screen projection device, comprising:
[0084] A configuration module, the configuration module is used to configure a DHCP network protocol on a virtual network device in response to a screen projection request initiated by a user;
[0085] The acquisition module is used to obtain the IP address of the same network as the gateway Internet through the network configuration service;
[0086] Setting module, which is used to set the IP address to the virtual network device;
[0087] The screen projection module is used to bind the network identifier of the player and the virtual network device in response to the application currently using the player being a DLNA screen projection application to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound.
[0088] Those skilled in the art should understand that the division of the various modules in the embodiment is merely a division of logical functions, and in actual application, all or part of them can be integrated into one or more actual carriers, and these modules can all be implemented in the form of software called through a processing unit, or all in the form of hardware, or in the form of a combination of software and hardware. It should be noted that each module in the IPTV converged gateway screen projection device in this embodiment corresponds one-to-one to each step in the IPTV converged gateway screen projection method in the aforementioned embodiment. Therefore, the specific implementation method of this embodiment can refer to the implementation method of the aforementioned IPTV converged gateway screen projection method, which will not be repeated here.
[0089] Based on the same inventive concept as in the aforementioned embodiments, an embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, an IPTV converged gateway screen projection method as provided in an embodiment of the present application is implemented.
[0090] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein:
[0091] The memory is used to store computer programs;
[0092] The processor is used to load and execute a computer program so that the electronic device executes the IPTV converged gateway screen projection method provided in the embodiment of the present application.
[0093] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0094] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0095] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0096] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0098] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0100] In summary, the present application provides an IPTV fusion gateway screen projection method, device, medium and equipment, the method comprising: in response to a screen projection request initiated by a user, configuring a DHCP network protocol on a virtual network device; obtaining an IP address on the same network as the gateway Internet through a network configuration service; setting the IP address to the virtual network device; in response to the application currently using the player being a DLNA screen projection application, binding the network identifier of the player and the virtual network device to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound. The present application determines the configuration network through a screen projection request initiated by a user, and only operates when it is clear that the user needs to use screen projection, thereby improving the security of the device, by creating a virtual network device, configuring DHCP on the device, applying for an Internet address from the gateway and configuring it, solving the problem of different IP addresses, querying the application currently using the player, and if it is a DLNA screen projection application, binding the network identifier of the player and the virtual network device. Since the network identifier of the DLNA screen projection application and the virtual network device are bound, both the DLNA screen projection application and the video player use the virtual network device, and are successfully in the same network as the screen projection device, and screen projection can be achieved.
[0101] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. An IPTV fusion gateway screen projection method, characterized in that: The following steps are involved: In response to the screen projection request initiated by the user, configure the DHCP network protocol on the virtual network device; The step of configuring the DHCP network protocol on the virtual network device in response to the screen projection request initiated by the user includes: In response to a screen projection request initiated by a user, calling the screen projection interface; The network configuration service is triggered by modifying the attributes in the screen projection interface to configure the DHCP network protocol on the virtual network device; wherein the network configuration service of the virtual network device is configured in init; Through the network configuration service, obtain the IP address of the same network as the gateway Internet; Setting the IP address to the virtual network device; In response to the application currently using the player being a DLNA screen projection application, the player and the network identifier of the virtual network device are bound to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound.
2. The IPTV fusion gateway screen projection method according to claim 1, characterized in that: In response to the application currently using the player being a DLNA screen projection application, before binding the player and the network identifier of the virtual network device to implement screen projection, the method further includes: In response to a request from the device to be projected to project the screen, create a player and query the creation process corresponding to the player; In a case where the creation process is the DLNA screen projection application, it is determined that the application currently using the player is the DLNA screen projection application.
3. The IPTV fusion gateway screen projection method according to claim 1, characterized in that: In response to the application currently using the player being a DLNA screen projection application, before binding the player and the network identifier of the virtual network device to implement screen projection, the method further includes: After confirming that the virtual network device is online and the network connection is successful, the DLNA screen projection application is bound to the network identifier of the virtual network device.
4. The IPTV fusion gateway screen projection method according to claim 3, characterized in that: After confirming that the virtual network device is online and connected to the network successfully, before binding the DLNA screen projection application and the network identifier of the virtual network device, the method further includes: Based on the network connection triggering network change notification, the DLNA screen projection application confirms through the network change notification that the virtual network device is online and the network connection is successful.
5. The IPTV fusion gateway screen projection method according to claim 3, characterized in that: After confirming that the virtual network device is online and the network connection is successful, binding the DLNA screen projection application and the network identifier of the virtual network device includes: After confirming that the virtual network device is online and the network connection is successful, querying the network identifier of the corresponding network through the virtual network device; Bind the process of the DLNA screen projection application to the network identifier of the network corresponding to the virtual network device.
6. The IPTV fusion gateway screen projection method according to claim 1, characterized in that: The step of setting the IP address to the virtual network device comprises: The IP address is set to the virtual network device, and the network is configured as a non-default network.
7. An IPTV fusion gateway screen projection device, characterized in that: include: A configuration module, the configuration module being used to configure a DHCP network protocol on a virtual network device in response to a screen projection request initiated by a user; The step of configuring the DHCP network protocol on the virtual network device in response to the screen projection request initiated by the user includes: In response to a screen projection request initiated by a user, calling the screen projection interface; The network configuration service is triggered by modifying the attributes in the screen projection interface to configure the DHCP network protocol on the virtual network device; wherein the network configuration service of the virtual network device is configured in init; An acquisition module, the acquisition module is used to acquire an IP address in the same network as the gateway Internet through a network configuration service; A setting module, the setting module is used to set the IP address to the virtual network device; A screen projection module, wherein the screen projection module is used to bind the player and the network identifier of the virtual network device in response to the application currently using the player being a DLNA screen projection application to achieve screen projection; wherein the DLNA screen projection application and the network identifier of the virtual network device are bound.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by the processor, the IPTV converged gateway screen projection method as described in any one of claims 1-6 is implemented.
9. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the IPTV converged gateway screen projection method as described in any one of claims 1-6.
Citation Information
Patent Citations
Credible screen projection method and system
CN109889870A
Screen projection method and system in different local area networks and intelligent device
CN110830841A