Display device, network configuration method, storage medium, and computer program product
By implementing the network configuration method in the display device of the smart TV, the controller receives the target software identifier input by the user and generates prompt information, solving the problem that the smart TV cannot use the LAN to access the network applications or services when connected to the VPN through a third-party VPN tool, and achieving the normal operation of the target software in the VPN, and other software runs normally in the LAN, improving the user experience.
Patent Information
- Application Number
- CN202410557672.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2025-05-30
AI Technical Summary
When a smart TV is connected to a VPN through a third-party VPN tool, it cannot use the LAN to access the network's applications or services, such as projecting screens, resulting in extremely poor user experience.
A display device and network configuration method are provided. The controller receives the target software identifier input by the user before connecting to the VPN, generates prompt information and displays a feasible network connection policy. After responding to the user's confirmation, the control communicator connects to the VPN and runs the target software in the VPN, while running other software in the local area network.
It realizes that the smart TV can work normally in the VPN connection scenario, and other software can run normally in the LAN, improving the user experience.
Smart Images

Figure CN120075542A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of display devices, and in particular, to a display device, a network configuration method, a storage medium, and a computer program product. Background Art
[0002] In recent years, with the rapid development of the Internet and the popularization of intelligent technologies such as AI, smart TVs have played an increasingly important role in various aspects such as entertainment, office work, and daily life. Moreover, the globalization development has led to an increasing number of people working and living in different places, which makes the Virtual Private Network (VPN) service become more and more popular. VPN refers to a technology that establishes a private network on a public network for encrypted communication. The connection between any two nodes in a VPN network is a logical network built on the network platforms provided by public network service providers, such as the Internet, ATM (Asynchronous Transfer Mode), Frame Relay, etc. User data is transmitted in the logical link.
[0003] Currently, smart TVs mainly connect to a VPN through a third-party VPN tool for network interaction. The third-party VPN tool directly changes the entire network of the smart TV to the VPN operating state, which causes applications or services that need to use the local area network to access the network on the smart TV, such as screen mirroring, etc., to not work properly, affecting the user's use of these applications or services, and thus resulting in extremely poor user experience. Summary of the Invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display device, a network configuration method, a storage medium, and a computer program product, which can reduce the risk of picture loading being hijacked and replaced, and avoid the waste of resources caused by repeated picture downloads.
[0005] To achieve the above object, the technical solutions provided by the embodiments of the present disclosure are as follows:
[0006] In a first aspect, the present disclosure provides a display device, including:
[0007] A communicator, configured to: connect to a Virtual Private Network (VPN) and / or a local area network;
[0008] A controller, configured to: before controlling the communicator to connect to the VPN, receive a target software identifier input by a user; the target software identifier indicates the target software that the user expects to run in the VPN;
[0009] When the target software identifier is included in the blacklist, generate a preset prompt message and control the display to display it; wherein, the blacklist includes software identifiers that are preset not to run in the VPN; the prompt message includes a network connection policy;
[0010] In response to the user's confirmation input for the preset prompt message, control the communicator to connect to the VPN and control the target software to run in the VPN, and control the communicator to connect to the local area network and control other software to run in the local area network; the other software is software other than the target software
[0011] In a second aspect, the present disclosure provides a network configuration method, including:
[0012] Before controlling the communicator to connect to the VPN, receive the target software identifier input by the user; the target software identifier indicates the target software that the user expects to run in the VPN network;
[0013] When the target software identifier is included in the blacklist, generate a preset prompt message; wherein, the blacklist includes software identifiers that are preset not to run in the VPN; the prompt message includes a network connection policy;
[0014] In response to the user's confirmation input for the preset prompt message, control the communicator to connect to the VPN and control the target software to run in the VPN, and control other software to run in the local area network; the other software is software other than the target software.
[0015] In a third aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the network configuration method as shown in the second aspect is implemented.
[0016] In a fourth aspect, the present disclosure provides a computer program product, which includes a computer program, and when the computer program runs on a computer, it causes the computer to implement the network configuration method as shown in the second aspect.
[0017] Embodiments of the present disclosure provide a display device and a method for loading page pictures. The display device includes: before the controller controls the communicator to connect to the VPN, it first receives the target software identifier input by the user to clarify the target software that the user expects to run in the VPN. Then, in the case where the above target software identifier is included in the blacklist of software identifiers that are not allowed to run in the VPN preset, it can be determined that the target software that originally could not run in the VPN is expected by the user to be able to run in the VPN. In such a case, a prompt message is generated and the display is controlled to display it to inform the user of the feasible network connection strategy, thereby ensuring the user's right to know about network configuration; when receiving the confirmation input from the user for the preset prompt message, it means that the user is aware of the relevant situation. Then, in response to this confirmation input, on the one hand, the communicator is controlled to connect to the VPN and the target software is controlled to run in the VPN, and on the other hand, the communicator is controlled to connect to the local area network and other software except the blacklist software is controlled to run in the local area network. Thus, in the scenario where the display device needs to connect to the VPN, a network connection strategy is provided to meet the user's needs, so that the target software that should originally run in the local area network can run and work properly in the VPN, and other software runs in the local area network, and various software works properly in different network environments, thereby improving the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure.
[0019] To more clearly illustrate the technical solutions in the embodiments of the present disclosure or in the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0020] Figure 1 It is a schematic diagram of a scenario in some embodiments provided by the embodiments of the present disclosure;
[0021] Figure 2 It is a configuration block diagram of a control device 100 provided by the embodiments of the present disclosure;
[0022] Figure 3 It is a hardware configuration block diagram of a display device 200 provided by the embodiments of the present disclosure;
[0023] Figure 4 It is a schematic diagram of software configuration in a display device 200 provided by the embodiments of the present disclosure;
[0024] Figure 5 It is a flow schematic diagram of a network configuration method provided by the embodiments of the present disclosure;
[0025] Figure 6A Schematic diagram of user input provided by the embodiments of the present disclosure Figure 1 ;
[0026] Figure 6B Schematic diagram of user input provided by the embodiments of the present disclosure Figure 2 ;
[0027] Figure 6C Schematic diagram of user input provided by the embodiments of the present disclosure Figure 3 ;
[0028] Figure 6D Schematic diagram of user input provided by the embodiments of the present disclosure Figure 4 ;
[0029] Figure 7 Schematic diagram of preset prompt information provided by the embodiments of the present disclosure;
[0030] Figure 8 Schematic diagram of the hardware structure of an electronic device provided by the embodiments of the present disclosure. Detailed implementation manners
[0031] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.
[0032] Many specific details are set forth in the following description in order to provide a thorough understanding of the present disclosure, but the present disclosure may be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all of the embodiments.
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the technical terms required in the description of the embodiments or the prior art:
[0034] Wireless screen mirroring: It can project the meeting content, multimedia files, game screens, movies, and video screens onto another screen for presentation and interaction without the need for various cables, getting rid of the constraints and enjoying a faster and more free screen mirroring experience.
[0035] The Miracast protocol is developed by the Wi-Fi Alliance and is a wireless screen mirroring protocol based on WIFI connection. Miracast wireless screen mirroring is the screen mirroring protocol with the widest compatibility, and most domestic Android phones and smart TVs support the Miracast screen mirroring protocol. Miracast is a project for Wi-Fi Alliance to implement product certification for Wi-Fi Display technology, and Wi-Fi Display is a standard developed by the Wi-Fi Alliance. Usually, there is no distinction between Miracast and Wi-Fi Display in use. The Miracast technology is based on peer-to-peer transmission Wi-Fi P2P at the MAC layer, realizing the wireless transmission and playback of audio and video data.
[0036] The DLNA protocol is a set of protocols initiated by Sony, Intel, Microsoft, etc. for interconnection and interoperability among PCs, mobile devices, and consumer electronics. The most common screen mirroring protocol is used in the screen mirroring operation achieved through the TV button in video software.
[0037] The Digital Living Network Alliance (DLNA) is founded by companies such as Sony, Intel, and Microsoft, aiming to solve the interconnection and interoperability of wireless and wired networks including personal PCs, mobile devices, and consumer electronics, making it possible for unrestricted sharing and growth of digital media and content services. The DLNA technology mainly focuses on realizing the content sharing function.
[0038] The Googlecast technology is a multi-screen interaction technology led by Google. The Chromecast device integrating the Google Cast technology is connected to the TV through the High Definition Multimedia Interface (HDMI) and connected to the Internet through Wi-Fi. Mobile phones, tablets, etc. in the same local area network can discover the Chromecast device and use the multi-screen interaction function through the Chromecast device.
[0039] The AirPlay protocol is a wireless technology developed by Apple that can wirelessly transmit audio, video, and pictures on iOS devices such as iPhones and iPads to AirPlay-enabled devices via Wi-Fi. AirPlay enables the wireless transmission of multimedia streams (including audio, video, and pictures) and the meta-information of these multimedia streams between devices. However, when there is a Wi-Fi network nearby, using AirPlay can wirelessly transmit streaming media such as videos, music, and photos in iPhones, iPads, iPod touches, or PCs (with the help of iTunes) to Apple TVs, and transmit music to AirPlay speakers or receivers. AirPlay also supports content sharing and screen sharing functions, providing a relatively complete multi-screen interaction solution.
[0040] In some possible scenarios, when a smart TV (display device) is connected to a VPN through a third-party VPN tool, the smart TV does not access the network through the local network for interaction. Instead, it needs to use the VPN server as a relay. Since the third-party VPN tool does not consider whether applications or services similar to screen mirroring services in the smart TV can be used normally, it directly sets the entire network status of the smart TV to the VPN operating state. However, both ends of the screen mirroring need to be in the same local area network. As a result, the smart TV cannot use the screen mirroring service and other functions that require local area network interaction properly. In addition, in related technologies, the third-party VPN tool starts automatically by default when the smart TV is powered on. This will cause users to directly connect to the VPN network without knowing it, only to find that services such as screen mirroring cannot be used normally, resulting in a poor user experience.
[0041] Figure 1 This is a schematic diagram of the scenario in some embodiments provided by the present disclosure. As Figure 1 shown, the user can operate the display device 200 through the smart device 300 or the control device 100. The smart device 300 can be used as a screen mirroring device to project data to the display device 200, and the display device 200 receives and displays this data.
[0042] Refer to Figure 1As shown, taking the example where the user operates the display device 200 through the smart device 300 for screen mirroring, before the controller in the display device 200 controls the communicator to connect to the VPN network, it first receives the target software identifier input by the user to clarify the target software that the user expects to run in the VPN network. Furthermore, in the case where the above-mentioned target software identifier is included in the pre-set blacklist of software identifiers that do not run in the VPN, it can be determined that the user expects the target software that originally could not run in the VPN to be able to run in the VPN. In such a case, a prompt message is generated and the display is controlled to display, so as to inform the user of the feasible network connection strategy, thereby ensuring the user's right to know about network configuration; when receiving the user's confirmation input for the preset prompt message, it means that the user is aware of the relevant situation. Furthermore, in response to this confirmation input, on the one hand, the communicator is controlled to connect to the VPN and the target software is controlled to run in the VPN, and on the other hand, the communicator is controlled to connect to the local area network and other software except the blacklist software is controlled to run in the local area network. Thus, in the scenario where the display device needs to connect to the VPN, a network connection strategy is provided to meet the user's needs, so that the target software that should originally run in the local area network can run and work properly in the VPN, and other software runs in the local area network, and various software works properly in different network environments, thereby enhancing the user's experience.
[0043] In some embodiments, the control device 100 may be a remote control. The communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user instructions through the buttons on the remote control, voice input, control panel input, etc. to control the display device 200. In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices can also be used to control the display device 200.
[0044] In some embodiments, the smart device 300 may be a mobile phone, a tablet computer, etc., and the present disclosure does not limit this. The smart device 300 and the display device 200 can install software applications and achieve connection communication through network communication protocols to achieve the purpose of one-to-one control operation and data communication. The display device 200 is allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 can provide various contents and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, a projection display device. In addition to providing the function of receiving broadcast television, the display device 200 can also additionally provide the function of a smart network television that supports computer functions.
[0045] Figure 2 This is a configuration block diagram of a control device 100 provided by an embodiment of the present disclosure. As Figure 2As shown in the figure, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive the input operation instructions of the user, and convert the operation instructions into instructions recognizable and responsive by the display device 200, playing the role of an interaction intermediary between the user and the display device 200. The communication interface 130 is used for external communication and includes at least one of a WIFI chip, a Bluetooth module, an NFC or an alternative module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button or an alternative module.
[0046] Figure 3 This is a hardware configuration block diagram of a display device 200 provided by an embodiment of the present disclosure. As Figure 3 shown, the display device 200 includes: a tuner demodulator 110, a communicator 120, a detector 130, an external device interface 140, a controller 150, a display 160, an audio output interface 170, a memory, a power supply, etc. Among them, the controller 150 includes a central processing unit, a video processor, an audio processor, a graphics processor, a random access memory (RAM), a read-only memory (ROM), and a first interface to an nth interface for input / output. The display 160 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner demodulator 110 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as electrical program guide (EPG) data signals. The detector 130 is used to collect signals from the external environment or for external interaction. The controller 150 and the tuner demodulator 110 can be located in different split devices, that is, the tuner demodulator 110 can also be in an external device of the main device where the controller 150 is located, such as an external set-top box, etc.
[0047] An embodiment of the present disclosure provides a display device 200, and the display device 200 includes:
[0048] A communicator configured to: connect to a virtual private network VPN and / or a local area network;
[0049] A controller configured to: receive a target software identifier input by a user before controlling the communicator to connect to the VPN; the target software identifier indicates the target software that the user expects to run in the VPN;
[0050] When the target software identifier is included in the blacklist, generate a preset prompt message and control the display to display it; wherein, the blacklist includes software identifiers that are preset not to run in the VPN; the prompt message includes a network connection policy;
[0051] In response to the user's confirmation input for the preset prompt message, control the communicator to connect to the VPN and control the target software to run in the VPN, and control the communicator to connect to the local area network and control other software to run in the local area network; other software refers to software other than the target software.
[0052] The display device provided in the above embodiment, before the controller controls the communicator to connect to the VPN network, first receives the target software identifier input by the user to clarify the target software that the user expects to run in the VPN network. Furthermore, when the above target software identifier is included in the blacklist of software identifiers that are preset not to run in the VPN, it can be determined that the user expects the target software that originally could not run in the VPN to be able to run in the VPN. In such a case, generate a prompt message and control the display to display it to inform the user of the feasible network connection policy, thereby ensuring the user's right to know about network configuration; when receiving the user's confirmation input for the preset prompt message, it means that the user is aware of the relevant situation. Then, in response to this confirmation input, on the one hand, control the communicator to connect to the VPN and control the target software to run in the VPN, and on the other hand, control the communicator to connect to the local area network and control other software except the blacklist software to run in the local area network. Thus, in the scenario where the display device needs to connect to the VPN, provide a network connection policy that meets the user's needs, so that the target software that should originally run in the local area network can run in the VPN and work properly, and other software runs in the local area network, and various software works properly in different network environments, thereby enhancing the user's experience.
[0053] In some embodiments, the controller is specifically configured to: during the process of receiving the target software identifier input by the user before the communicator connects to the VPN network, control the display to display a first user interface, and the first user interface includes options corresponding to the software identifiers to be selected; receive the user's selection input for the target option in the first user interface; and determine the target software identifier corresponding to the selection input.
[0054] Wherein, the target software identifier can be the name of the target software, or the icon, package name, installation path, etc. of the target software. The present disclosure does not specifically limit this. The target software identifier indicates the target software that the user expects to run in the VPN network.
[0055] The target software is the software that the user expects to run in the VPN network. Whether the target software can run in the VPN network is not restricted by this disclosure. It can be understood that this disclosure supports the user's personalized and free setting of the software to run in the VPN network. Whether the target software can ultimately run in the VPN network still depends on the subsequent steps.
[0056] The target software can be a screen mirroring software, which is used to provide screen mirroring services. The screen mirroring services include but are not limited to: miracast screen mirroring, DLNA screen mirroring, Googlecast screen mirroring, AirPlay screen mirroring.
[0057] Optionally, the first user interface includes a blacklist, which includes the software identifiers that are pre-set not to run in the VPN network. For example, the blacklist includes the names of screen mirroring software. It can be understood that providing the blacklist to the user to inform the user of some software that cannot work properly in the VPN network, and leaving the choice to the user, so that the user can independently select the target software to run in the VPN network, fulfilling the obligation of notification.
[0058] In some embodiments, the first user interface further includes an addition option; the controller is further configured to: receive the user's selection input for the addition option in the first user interface; control the display to show a second user interface, which includes a software identifier input box; receive the user's key input in the software identifier input box, and determine the target software identifier corresponding to the key input. Thus, in the case where the software identifiers are not fully displayed in the first user interface, it supports the user to add the target software identifier by themselves.
[0059] In some embodiments, the controller is further configured to: after receiving the target software identifier input by the user, obtain the blacklist; traverse the software identifiers included in the blacklist, and determine whether the blacklist contains the target software identifier; in the case where the blacklist does not contain the target software identifier, control the communicator to connect to the VPN and control the target software to run in the VPN, and control other software to run in the local area network.
[0060] After receiving the target software identifier input by the user, first obtain the blacklist, then traverse the software identifiers included in the blacklist to determine whether the target software identifier is included in the blacklist, that is, query whether the target software identifier can match one of the software identifiers. If the target software identifier is included in the blacklist, that is, the target software corresponding to the target software identifier should not run in the VPN network, then generate a preset prompt message and control the display to display it. If the target software identifier is not included in the blacklist, that is, the target software corresponding to the target software identifier can run in the VPN network. Subsequently, directly control the communicator to connect to the VPN, control the target software to run in the VPN, and control the communicator to connect to the local area network and control other software to run in the local area network. Other software includes the blacklist software, that is, the software corresponding to the software identifiers listed in the blacklist. It can be understood that the user expects the target software to run in the VPN, and the target software also supports running in the VPN. Then directly control the display device to connect to the VPN, control the target software to run in the VPN, and at the same time control the display device to connect to the local area network and control other software to run in the local area network. To meet the user's needs, the target software selected by the user is run in the VPN as required for normal use, while other software not selected by the user runs in the local area network.
[0061] In some embodiments, the controller is further configured to: obtain the software identifiers of the preset software, generate a software identifier list; control the display to display the software identifier list; in response to the user's selection input of some software identifiers in the software identifier list, generate a blacklist. By scanning the software identifiers preset in the display device and presenting them to the user, free selection items are provided for the user, improving the freedom of network configuration.
[0062] The blacklist is a pre-set list that includes software identifiers that do not run in the VPN network. The software corresponding to these software identifiers cannot work properly in the VPN network.
[0063] In some embodiments, the controller is further configured to: control the display to display a dialog box; receive the software identifier input by the user in the dialog box; query whether there is a corresponding software package name according to the software identifier; in the case where it is queried that the software identifier has a corresponding software package name, add the software package name to the blacklist.
[0064] When setting the blacklist, first control the display to display a dialog box so that the user can input the software identifier that they want to disable in the VPN network in the dialog box; receive the software identifier input by the user in the dialog box, and then query whether there is a corresponding software package name for the software identifier to determine the accuracy of the software identifier input by the user. If so, it means that the software input by the user is queried, and then the software package name of the software is added to the blacklist to prohibit the software from running in the VPN network during network configuration.
[0065] Such asFigure 4 As shown Figure 4 is a schematic diagram of software configuration in a display device 200 provided by an embodiment of the present disclosure. As Figure 4 shown, the system is divided into four layers, from top to bottom are the application layer, the system layer, the kernel layer, the driver layer, and the hardware layer. The application layer includes APP1, APP2, screen mirroring software (such as Screensharing), VPN application package (Android application package, APK), and so on. The system layer includes a client, a server, and a process for communicating with the kernel; the client includes a WiFi manager (WifiManager), a VPN service (VpnService), etc.; the server includes: a WiFi service (WifiService), a VPN configuration file (VpnProfileStore), a VPN, a network stack service (NetworkStackService), a connectivity service (ConnectivityService), etc., and the process for communicating with the kernel includes WifiCond and a client (Supplicant). The kernel layer includes nodes, a network link (Netlink), etc.; the driver layer includes a WiFi driver, a USB driver, and a Bluetooth driver, etc.; the hardware layer includes a WiFi driver and a Bluetooth driver.
[0066] The application layer (abbreviation "application layer"), the application framework layer (abbreviation "framework layer"), the Android runtime, and the system library layer (abbreviation "system runtime library layer"), and the kernel layer. The kernel layer includes at least one of the following drivers: an audio driver, a display driver, a Bluetooth driver, a camera driver, a WIFI driver, a USB driver, an HDMI driver, a sensor driver (such as a fingerprint sensor, a temperature sensor, a pressure sensor, etc.), and a power driver, etc.
[0067] To illustrate the present solution in more detail, the following will be described in an exemplary manner in combination with Figure 5 It can be understood that Figure 5 the steps involved in may include more steps or fewer steps in actual implementation, and the order of these steps can also be different, subject to the method for loading a page picture provided in the embodiments of the present disclosure.
[0068] Figure 5 is a schematic flowchart of a network configuration method provided by an embodiment of the present disclosure. The method may include but is not limited to the following steps:
[0069] S501. Before controlling the communicator to connect to the VPN, receive the target software identifier input by the user;
[0070] Among them, the target software identifier can be the name of the target software, or the icon, package name, installation path, etc. of the target software. The present disclosure does not specifically limit this. The target software identifier indicates the target software that the user expects to run in the VPN network.
[0071] The target software is the software that the user expects to run in the VPN network. Whether the target software can run in the VPN network is not limited by the present disclosure. It can be understood that the present disclosure supports the user's personalized and free setting of the software to run in the VPN network. Whether the target software can ultimately run in the VPN network still needs to be combined with subsequent steps.
[0072] In the scenario as Figure 1 shown, the target software can be a screen mirroring software, indicating that the user hopes the screen mirroring software can run in the VPN network. In the traditional technology, the screen mirroring software cannot run in the VPN network. Among them, the screen mirroring software is used to provide screen mirroring services, and the screen mirroring services include but are not limited to: miracast screen mirroring, DLNA screen mirroring, Googlecast screen mirroring, AirPlay screen mirroring. The target software can also be an overseas video software, which needs to run in the VPN network to work properly. The user can select the target software so that when configuring the subsequent network, the target software can run in the VPN network.
[0073] In some embodiments, before the controller of the display device controls the communicator to connect to the VPN, it controls the display to display a first user interface. The first user interface includes options corresponding to multiple candidate software identifiers, and the candidate software identifiers are the identifiers of the pre-installed software in the display device. Receive the user's selection input for the target option in the first user interface, and determine the target software identifier corresponding to the target option. The target option is one of the multiple options.
[0074] Among them, the first user interface may also include a confirmation option and an addition option.
[0075] Optionally, the first user interface includes a blacklist, which includes the software identifiers that are pre-set not to run in the VPN network. For example, the blacklist includes the name of the screen mirroring software. It can be understood that a blacklist is provided to the user to inform the user of some software that cannot work properly in the VPN network, and the choice is left to the user so that the user can select the target software to run in the VPN network by himself, fulfilling the obligation of notification.
[0076] Exemplarily, as Figure 6A shown, Figure 6A is a schematic diagram of the user input provided by the embodiment of the present disclosure Figure 1, the blacklist is displayed in the first user interface, and the options corresponding to the software to be selected include: screensharing, contentsharing, googlecast, airplay, etc. Taking googlecast as an example, when the user selects the option corresponding to googlecast, the checkmark for the googlecast option is cancelled (as Figure 6B shown, Figure 6B which is a schematic diagram of user input provided by an embodiment of the present disclosure Figure 2 ), indicating that when configuring the network subsequently, control googlecast to run in the VPN network according to the user's wishes. After the user has made a selection, click the confirmation option to complete the selection of the target software.
[0077] Based on the above embodiment, the first user interface includes an add option. After receiving the user's selection input for the add option in the first user interface, control the display to show the second user interface, which includes a software identifier input box; receive the key input of the user in the software identifier input box and determine the target software identifier corresponding to the key input. Thus, in the case where the software identifier is not fully displayed in the first user interface, it supports the user to add the target software identifier by themselves.
[0078] In some embodiments, before the controller of the display device controls the communicator to connect to the VPN, control the display to show the second user interface, which includes a software identifier input box, receive the key input of the user in the software identifier input box, and determine the target software identifier corresponding to the key input. Through the key input, the preset software identifier in the display device can be determined, or the software identifier provided by a third party in the display device can be determined.
[0079] Exemplarily, as Figure 6C shown, Figure 6C which is a schematic diagram of user input provided by an embodiment of the present disclosure Figure 3 , the software identifier input box is displayed in the second user interface to receive the target software identifier edited and input by the user. After the user has completed the input, they can click the confirmation option in the second user interface to complete the key input of the target software identifier.
[0080] In some embodiments, receive the user's voice input and determine the target software identifier corresponding to the voice input,
[0081] Exemplarily, as Figure 6D shown, Figure 6D which is a schematic diagram of user input provided by an embodiment of the present disclosure Figure 4 . Before the controller controls the communicator to connect to the VPN, the controller controls the display to show the voice input interface, receives the voice input of the user in the voice input interface, recognizes the voice input, and determines the corresponding target software identifier.
[0082] The forms of user input include, but are not limited to, the above-mentioned selection input, key input, and voice input forms, and the present disclosure does not specifically limit this.
[0083] By asking the user about the target software expected to run in the VPN network before the display device is connected to the VPN network, the above respects the user's choice, clarifies the user's needs, so as to run the target software in the VPN during subsequent processing.
[0084] S502, when the target software identifier is included in the blacklist, generate a preset prompt message and control the display to display it.
[0085] Among them, the blacklist is a pre-set list, which includes software identifiers that do not run in the VPN network. The software corresponding to these software identifiers cannot work properly in the VPN network.
[0086] In some embodiments, after receiving the target software identifier input by the user, first obtain the blacklist, then traverse the software identifiers included in the blacklist, and determine whether the target software identifier is included in the blacklist, that is, query whether the target software identifier can match one of the software identifiers. If the target software identifier is included in the blacklist, that is, the target software corresponding to the target software identifier should not run in the VPN network, then generate a preset prompt message and control the display to display it.
[0087] Among them, the preset prompt message is pre-set to prompt the user that the target software cannot run in the VPN temporarily. The preset prompt message includes a network connection policy. The network connection policy is used to provide feasible connection suggestions, such as operating the screen mirroring device to connect to the same VPN as the display device. Optionally, the prompt message may include the VPN identifier to which the display device will be connected. So as to facilitate the user to operate the screen mirroring device to connect to the same VPN network.
[0088] As Figure 7 shown, Figure 7 It is a schematic diagram of the preset prompt message provided by the embodiment of the present disclosure. When the target software identifier is included in the blacklist, taking the target software identifier as googlecast as an example, the display device displays the preset prompt message: "The googlecast service requires the display device and the screen mirroring device to be in the same routing network. If your screen mirroring device is also within the VPN you selected this time, please uncheck googlecast". Thus, it is recommended that the user connect the screen mirroring device and the display device to the same VPN, so that the googlecast service can be provided normally.
[0089] In the above embodiments, if the target software identifier is not included in the blacklist, that is, the target software corresponding to the target software identifier can run in the VPN network. Subsequently, directly control the communicator to connect to the VPN, control the target software to run in the VPN, and control the communicator to connect to the local area network and control other software to run in the local area network. The other software includes blacklist software, that is, the software corresponding to the software identifier listed in the blacklist. It can be understood that the user expects the target software to run in the VPN, and the target software also supports running in the VPN. Then directly control the display device to connect to the VPN, control the target software to run in the VPN, and at the same time control the display device to connect to the local area network and control other software to run in the local area network. To meet the user's needs, the target software selected by the user is run in the VPN as required for normal use, while the software not selected by other users runs in the local area network.
[0090] In some embodiments, the process of setting the blacklist may include: obtaining the software identifiers of the pre-installed software in the display device, generating a software identifier list, and then controlling the display to display the software identifier list; in response to the user's selection input of some software identifiers in the software identifier list to determine which software the user has selected not to join the VPN network. Further, generate a blacklist according to the software identifiers selected by the user. By scanning out the software identifiers pre-installed in the display device and presenting them to the user, providing the user with free selection items and improving the freedom of network configuration.
[0091] In some embodiments, the process of setting the blacklist may include: controlling the display to display a dialog box, receiving the software identifier input by the user in the dialog box, and then generating a blacklist according to the software package name when the software package name corresponding to the software identifier is found.
[0092] Specifically, when setting the blacklist, first control the display to display a dialog box so that the user can input the software identifier that the user wants to disable in the VPN network in the dialog box; receive the software identifier input by the user in the dialog box, and then query whether the software identifier corresponds to a software package name to determine the accuracy of the software identifier input by the user. If so, it means that the software input by the user is found, and then add the software package name of the software to the blacklist to prohibit the software from running in the VPN network during network configuration.
[0093] In some embodiments, the process of setting the blacklist may include: obtaining the software identifiers of all the software installed in the display device, and the network running information corresponding to the software identifiers, where the network running information is used to indicate the network environment in which the software can run; determining the blacklist software according to the network running information and generating a blacklist.
[0094] The above embodiments of the blacklist setting process can be combined arbitrarily. Exemplarily, first, obtain the software identifiers of all software installed in the display device and the network operation information corresponding to the software identifiers, determine the blacklist software according to the network operation information, and generate an initial blacklist; then receive the software identifiers selected by the user from the initial blacklist to clarify the software that the user has confirmed not to join the VPN network, and generate an intermediate blacklist; further, control the display to generate a dialog box, and receive the software identifiers input by the user in the dialog box to allow the user to supplement third-party software not scanned by the display device by himself. When it is queried that there is a software package name corresponding to the software identifier input by the user, add the software package name to the blacklist to generate the final blacklist. Thus, through the combination of multiple embodiments, the user is informed of the generation of the blacklist and can freely choose to set it. The setting process of any of the above blacklists can be executed before controlling the communicator to connect to the VPN.
[0095] After setting the blacklist in the above embodiments, store the blacklist in the VPN database of the display device, so that when connecting to the network later, group the software on the display device according to the blacklist and then perform network configuration.
[0096] S503. In response to the user's confirmation input for the preset prompt message, control the communicator to connect to the VPN and control the target software to run in the VPN, and control the communicator to connect to the local area network and control other software to run in the local area network.
[0097] Among them, the confirmation input indicates that the user has operated the relevant device to connect to the same VPN network according to the preset prompt message.
[0098] Other software refers to software other than the target software. These software may be in the blacklist and are software that can run in the local area network.
[0099] By controlling the display device to connect to the VPN and the local area network, and respectively controlling the target software to run in the VPN and controlling other software to run in the local area network, each software can work properly and provide services in the corresponding network environment, avoiding the situation that the user sets the software that originally cannot run in the VPN network to run in the VPN network without knowing it, and then the software cannot work and provide corresponding services, thereby improving the user experience.
[0100] In summary, before the communication device is controlled to connect to the VPN network, a network configuration method provided by the present disclosure first receives a target software identifier input by the user to clarify the target software that the user expects to run in the VPN network. Then, in the case that the above target software identifier is included in the blacklist of software identifiers that are not allowed to run in the VPN set in advance, it can be determined that the user expects the target software that originally cannot run in the VPN to be able to run in the VPN. In such a case, a prompt message is generated and controlled to be displayed on the display to inform the user of the feasible network connection strategy, thereby ensuring the user's right to know about network configuration. When a confirmation input from the user for the preset prompt message is received, it indicates that the user is aware of the relevant situation. Then, in response to this confirmation input, on the one hand, the communication device is controlled to connect to the VPN and the target software is controlled to run in the VPN, and on the other hand, the communication device is controlled to connect to the local area network and other software except the blacklisted software is controlled to run in the local area network. Thus, in the scenario where the display device needs to connect to the VPN, a network connection strategy is provided to meet the user's needs, so that the target software that should originally run in the local area network can run and work properly in the VPN, and other software runs in the local area network, and various software works properly in different network environments, thereby enhancing the user's experience.
[0101] Figure 8 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. The electronic device may be the above display device, control terminal, or audio receiving device.
[0102] As Figure 8 shown, the electronic device includes: a processor 801, a memory 802, and a computer program stored on the memory 802 and executable on the processor 801. When the computer program is executed by the processor 801, it implements each process of the network configuration method in the above method embodiment.
[0103] An embodiment of the present disclosure provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, it implements each process executed by the above network configuration method and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0104] Among them, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.
[0105] The present disclosure provides a computer program product. The computer program product includes a computer program. When the computer program runs on a computer, the computer is enabled to implement the above network configuration method.
[0106] For ease of explanation, the above description has been presented in connection with specific embodiments. However, the discussion in the above embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, so that those skilled in the art can better use the embodiments and various different modified embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: The communicator is configured to: connect to a virtual private network VPN, and / or a local area network; The controller is configured to: before controlling the communicator to connect to the VPN, receive a target software identifier input by a user; the target software identifier indicates a target software that the user expects to run in the VPN; In the case where the target software identifier is included in the blacklist, a preset prompt message is generated and the display is controlled to be displayed; wherein the blacklist includes preset software identifiers that are not run in the VPN; and the prompt message includes a network connection strategy; In response to the user's confirmation input of the preset prompt information, the communicator is controlled to connect to the VPN and the target software is controlled to run in the VPN, and the communicator is controlled to connect to the local area network and other software is controlled to run in the local area network; the other software is software other than the target software.
2. The display device according to claim 1, characterized in that The controller is specifically configured to: before the communicator is connected to the VPN, in the process of receiving the target software identifier input by the user, Controlling the display to display a first user interface, wherein the first user interface includes a candidate item corresponding to the candidate software identifier; Receive a user's selection input of a target option in the first user interface; A target software identifier corresponding to the selection input is determined.
3. The display device according to claim 2, characterized in that The first user interface also includes an add option; The controller is further configured to: Receive a user's selection input for the add option in the first user interface; Controlling the display to display a second user interface, wherein the second user interface includes a software identification input box; A key input from a user in the software identifier input box is received, and a target software identifier corresponding to the key input is determined.
4. The display device according to claim 1, characterized in that The controller is further configured to: After receiving the target software identifier input by the user, obtaining the blacklist; Traversing the software identifiers included in the blacklist to determine whether the blacklist contains the target software identifier; In a case where the blacklist does not include the target software identifier, the communicator is controlled to connect to the VPN and the target software is controlled to run in the VPN, and other software is controlled to run in the local area network.
5. The display device according to claim 1, characterized in that The controller is further configured to: Obtain software identifiers of pre-installed software and generate a software identifier list; Controlling the display to display the software identification list; The blacklist is generated in response to a user's selection input of some software identifiers in the software identifier list.
6. The display device according to claim 1, characterized in that The controller is further configured to: Controlling the display to display a dialog box; receiving a software identifier input by a user in the dialog box; Querying whether there is a corresponding software package name according to the software identifier; When it is found that the software identifier has a corresponding software package name, the software package name is added to the blacklist.
7. A network configuration method, characterized in that: include: Before the control communicator is connected to the VPN, receiving a target software identifier input by a user; The target software identifier indicates the target software that the user expects to run in the VPN; In the case where the target software identifier is included in the blacklist, a preset prompt information is generated; wherein the blacklist includes preset software identifiers that are not run in the VPN; and the prompt information includes a network connection strategy; In response to the user's confirmation input of the preset prompt information, the communicator is controlled to connect to the VPN and the target software is controlled to run in the VPN, and other software is controlled to run in the local area network; the other software is software other than the target software.
8. The method according to claim 7, characterized in that The step of receiving a target software identifier input by a user before the communicator is connected to the VPN comprises: Controlling the display to display a first user interface, wherein the first user interface includes a candidate item corresponding to the candidate software identifier; Receive a user's selection input of a target option in the first user interface; A target software identifier corresponding to the selection input is determined.
9. A computer storage medium, characterized in that: include: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the network configuration method according to claim 7 or 8 is implemented.
10. A computer program product, characterized in that include: The computer program product comprises a computer program, and when the computer program is run on a computer, the computer is enabled to implement the network configuration method according to claim 7 or 8.