CN115914771A - Display device and control method for acquiring different network card addresses based on android system - Google Patents

Display device and control method for acquiring different network card addresses based on android system Download PDF

Info

Publication number
CN115914771A
CN115914771A CN202111164401.7A CN202111164401A CN115914771A CN 115914771 A CN115914771 A CN 115914771A CN 202111164401 A CN202111164401 A CN 202111164401A CN 115914771 A CN115914771 A CN 115914771A
Authority
CN
China
Prior art keywords
network
network card
card
wired
accessed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111164401.7A
Other languages
Chinese (zh)
Inventor
刘健
吴汉勇
马会会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202111164401.7A priority Critical patent/CN115914771A/en
Publication of CN115914771A publication Critical patent/CN115914771A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to the technical field of display equipment, in particular to display equipment and a control method for acquiring addresses of different network cards based on an android system, which can solve the problem that when an application program supported by a special network link is started by a smart television, a plurality of network cards cannot acquire different addresses simultaneously and cannot access different network links simultaneously and accordingly a user needs to manually switch the network links to acquire the addresses of the network cards to access corresponding networks. The display device includes: a display and a network card; a controller configured to: after starting, establishing a first service; starting a first wired network card when the first wired network card is accessed, and writing a network card address into the first wired network card and the kernel; and when the second network card is accessed to the second network link, writing the acquired network proxy class containing the address of the second network card into the second network card and the kernel so that the second application can access the wide area network through the second network link accessed by the second network card.

Description

Display device and control method for acquiring different network card addresses based on android system
Technical Field
The application relates to the technical field of display equipment, in particular to display equipment and a control method for acquiring different network card addresses based on an android system.
Background
The network card configured for the smart television generally may include a wired network card or a wireless network card, and when the television is accessed to a network, a network card address for network positioning, that is, an IP address, is allocated to the television network card based on a network protocol, so as to implement network communication between the smart television and other hosts in the network.
In the implementation of acquiring network card addresses, the smart television firstly needs to access a wired network or a wireless network, and then a system automatically allocates an available IP address for the network card added into the network based on gateway and framework services so as to realize the internet surfing function; or when the intelligent television is accessed into two wired networks or a wired and wireless mixed network, the framework service automatically identifies the prior access network and eliminates the subsequent access network, and allocates a corresponding IP address for the network card added into the prior network.
However, for the smart television with access to the ordinary network link, if a specific application program of the smart television has to obtain data through the dedicated network link to operate the specific application program, for example, when the smart television operates a community visual doorbell or a community visual outpatient application through the community private network, in this case, the user needs to manually control the android television to be switched from the ordinary network link to the dedicated network link, so that the dedicated network support for the specific application program can be realized.
Disclosure of Invention
In order to solve the problem that when an application program supported by a dedicated network link is started by a smart television, a plurality of network cards cannot simultaneously acquire different addresses and cannot simultaneously access different network links respectively, and therefore a user needs to manually switch the network links to acquire network card addresses to access corresponding networks, the application provides display equipment and a control method for acquiring different network card addresses based on an android system.
The embodiment of the application is realized as follows:
a first aspect of an embodiment of the present application provides a display device, including: a display for displaying a user interface including a first application and a second application; a network card; a controller configured to: after receiving a signaling input by a user for starting display equipment, creating a first service for acquiring a first wired network card address, wherein the first service can monitor the access state of the network card; when a first wired network card is accessed to a first network link, controlling a first service to start the first wired network card and controlling a dynamic host configuration protocol server to write a first wired network card address acquired by a dynamic host configuration protocol client into the first wired network card and a kernel so that a first application can access a wide area network through the first network link accessed by the first wired network card; when the second network card is accessed to a second network link, the controller writes a network agent class containing a second network card address obtained based on the android frame process into the second network card and the kernel, so that a second application can access the wide area network through the second network link accessed by the second network card; wherein the first network link and the second network link are accessible to a wide area network simultaneously.
A second aspect of the embodiment of the present application provides a control method for acquiring different network card addresses based on an android system, where the method includes: after receiving a signaling input by a user for starting display equipment, creating a first service for acquiring a first wired network card address, wherein the first service can monitor the access state of the network card; when a first wired network card is accessed to a first network link, controlling a first service to start the first wired network card and controlling a dynamic host configuration protocol server to write a first wired network card address acquired by a dynamic host configuration protocol client into the first wired network card and a kernel so that a first application can access a wide area network through the first network link accessed by the first wired network card; when the second network card is accessed to a second network link, writing a network proxy class containing an address of the second network card obtained based on the android frame process into the second network card and the kernel so that a second application can access the wide area network through the second network link accessed by the second network card; wherein the first network link and the second network link are accessible to a wide area network simultaneously.
The method has the advantages that the first wired network card is constructed, so that the specific application program can communicate through a special network accessed by the first wired network card; further, by constructing a second network card, common applications can communicate through a common network accessed by the second network card; further, by constructing the first service, the IP address of the first wired network card accessing the private network can be timely acquired, the multiple network cards of the android intelligent device can be simultaneously accessed to multiple networks, the IP addresses of different networks can be acquired, the requirement that the intelligent device simultaneously uses multiple networks can be met, the multiple network cards can simultaneously acquire different IP addresses to respectively access different network links when the multiple applications of the intelligent device are started, and a user does not need to manually switch the network links.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present application;
fig. 2 is a block diagram of a hardware configuration of a display apparatus 200 according to one or more embodiments of the present application;
fig. 3 is a block diagram of a hardware configuration of the control apparatus 100 according to one or more embodiments of the present application;
fig. 4 is a schematic diagram of a software configuration in a display device 200 according to one or more embodiments of the present application;
FIG. 5 is a schematic illustration of an icon control interface display of an application in a display device 200 according to one or more embodiments of the present application;
fig. 6A shows a schematic user interface diagram of a smart tv according to an embodiment of the present application;
fig. 6B shows a schematic user interface diagram of an intelligent television according to another embodiment of the present application;
fig. 6C shows a schematic user interface diagram of a smart tv according to another embodiment of the present application;
fig. 6D shows a schematic user interface diagram of a smart tv according to another embodiment of the present application;
fig. 6E shows a schematic user interface diagram of an intelligent television according to another embodiment of the present application;
fig. 6F is a schematic diagram illustrating a user interface of a smart tv according to another embodiment of the present application;
fig. 6G shows a schematic user interface diagram of a smart tv according to another embodiment of the present application;
fig. 7 is a schematic flowchart illustrating an IP address obtaining process by a dual-cable network of a smart tv according to another embodiment of the present application;
fig. 8 is a schematic flowchart illustrating an IP address obtaining process by a dual-cable network of a smart tv according to another embodiment of the present application;
fig. 9 is a schematic flowchart illustrating that the cable and wireless networks of the smart television simultaneously acquire an IP address according to another embodiment of the present application;
fig. 10 is a schematic flowchart illustrating a process of simultaneously acquiring an IP address by a cable and wireless network of an intelligent television according to another embodiment of the present application;
fig. 11 is a schematic flowchart illustrating that the cable and wireless networks of the smart television simultaneously acquire an IP address according to another embodiment of the present application.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following description of exemplary embodiments of the present application will clearly and completely describe the exemplary embodiments of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application, and it is to be understood that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without making any inventive step, are intended to be within the scope of the claims appended hereto. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment. It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present application, and as shown in fig. 1, a user may operate the display device 200 through a mobile terminal 300 and the control apparatus 100. The control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, bluetooth protocol communication, wireless or other wired method to control the display device 200. The user may input a user command through a key on a remote controller, voice input, control panel input, etc. to control the display apparatus 200. In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices may also be used to control the display device 200.
In some embodiments, the mobile terminal 300 may install a software application with the display device 200 to implement connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. The audio and video contents displayed on the mobile terminal 300 can also be transmitted to the display device 200, so that the display device 200 with the synchronous display function can also perform data communication with the server 400 through multiple communication modes. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The display apparatus 200 may additionally provide an intelligent network tv function that provides a computer support function in addition to the broadcast receiving tv function.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, 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 apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200. The communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module. The user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a key, or an alternative module.
Fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment. The display apparatus 200 as shown in fig. 3 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processor, a video processor, an audio processor, a graphic processor, a RAM, a ROM, and first to nth interfaces for input/output. The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen. The tuner demodulator 210 receives a broadcast television signal through a wired or wireless reception manner, and demodulates an audio/video signal, such as an EPG data signal, from a plurality of wireless or wired broadcast television signals. The detector 230 is used to collect signals of the external environment or interaction with the outside. The controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
The communicator 220 may include a plurality of communication modules, and the communication modules may include one or more of a WIFI module, a bluetooth module, a wired ethernet module, and the like, where the WIFI module, the bluetooth module, and the wired ethernet module may be one or more. For example, the communicator 220 may include at least two wired ethernet modules and one WIFI module. Different communication modules can be used for connecting the same network and can also be used for connecting different networks respectively. Each communication module can independently complete data transmission and can also complete data transmission cooperatively. For example, a plurality of communication modules may be used simultaneously to independently perform data transmission, different communication modules may be used to perform data transmission in different application scenarios, or one communication module may be used to perform partial data transmission, and another communication module or an external device interface may be used to perform another partial data transmission. The manner in which data is transferred between the various network modules may be controlled by controller 250.
In some embodiments, there may be multiple communication modules (e.g., two wired ethernet modules, two WIFI modules, or one wired ethernet module and one WIFI module, etc.) connected to the home network at the same time for wide area network access. The plurality of communication modules can be respectively and independently configured with different IP addresses, and can respectively and independently complete data transmission and also can respectively transmit partial data, so that the data transmission is completed cooperatively.
In other embodiments, at least one communication module (such as a wired ethernet module or a WIFI module) may be connected to the community network for calling an elevator or talkbacking a visible doorbell; alternatively, there may also be a communication module (e.g., bluetooth module) or an external device interface (e.g., USB or HDMI) for connecting other intelligent devices (e.g., intelligent appliances or intelligent sensors), so as to implement data transmission or control between the intelligent devices, as shown in fig. 6F. The data transmission between the intelligent devices can be realized by using the communication module and the external device interface at the same time, and the application is not limited to this.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. The user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
Fig. 4 is a schematic diagram of a software configuration in a display device 200 according to one or more embodiments of the present Application, and as shown in fig. 4, the system is divided into four layers, which are, from top to bottom, an Application (Applications) layer (referred to as an "Application layer"), an Application Framework (Application Framework) layer (referred to as a "Framework layer"), an Android runtime (Android runtime) and system library layer (referred to as a "system runtime library layer"), and a kernel layer. The inner core layer comprises at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
Fig. 5 is a schematic diagram illustrating an icon control interface display of an application program in the display device 200 according to one or more embodiments of the present application, as shown in fig. 5, an application layer includes at least one application program that can display a corresponding icon control in a display, for example: the system comprises a live television application icon control, a video on demand application icon control, a media center application icon control, an application center icon control, a game application icon control and the like. The live television application program can provide live television through different signal sources. A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides video displays from some storage source. The media center application program can provide various applications for playing multimedia contents. The application center can provide and store various applications.
The embodiment of the application can be applied to various types of display devices (including but not limited to smart televisions, liquid crystal televisions, set top boxes and the like). The following explains a display device and a control method for acquiring different network card addresses based on an android system by taking an intelligent electronic card as an example.
Fig. 6A shows a schematic user interface diagram of a smart television according to an embodiment of the present application.
In some embodiments, the smart tv may include a plurality of network cable interfaces, each network cable interface corresponding to a corresponding ethernet card configured for the smart tv, such that the smart tv may access a different wired network link.
For example, when the television is provided with 2 network cable interfaces, the first network cable interface and the second network cable interface can be arranged at the local bottom of the television; certainly, the schematic diagram of the smart television shown in fig. 6A does not limit that the network cable interface is disposed at a specific position of the smart television, and the first network cable interface and the second network cable interface may also be disposed at the same side, the upper portion, or the back of the television housing.
The smart television display may display a user interface, and desktop applications in the user interface may include a video intercom doorbell, a community visual clinic, and a video application. It should be noted that, when a user starts different desktop applications and the first network cable interface and the second network cable interface are both plugged into network cables that can access a network, the controller of the smart television can control a specific application program to use a network card corresponding to the specific network cable interface to perform network communication.
For example, when the video intercom doorbell runs on the smart television user interface, the controller can control the video intercom doorbell to use the first network card corresponding to the first network cable interface to acquire network data; the controller can also control the first video application to acquire the network data through a second network card corresponding to the second network cable interface.
It should be noted that the smart television may further be configured with a wireless network card, and when a wireless network environment where the smart television is located is available, the controller may further control a specific application program in the desktop application programs to perform communication through a wireless network, for example, the first, second, and third video applications shown in fig. 6A. It can be understood that, for the display device provided in the present application, the controller may control the first network link corresponding to the first network card and the second network link corresponding to the second network card to access the smart television at the same time, so that the user interface of the smart television may display different application interfaces at the same time, and different applications may access and use different network links at the same time.
It should be noted that the different network links described herein may include different local area networks, private networks, service networks, or physical access lines, such as network ports or network interfaces connected to the same gateway and located at different positions in a room.
The smart television can realize the capacity of simultaneously connecting two wired network links and one wireless network link; in practical applications, the smart television generally accesses two wired network links simultaneously, or simultaneously accesses one wired network link and one wireless network link.
Fig. 6B shows a schematic user interface diagram of a smart television according to another embodiment of the present application.
In some embodiments, when the user turns on the smart television, the controller of the smart television at this time receives a signaling input by the user to start the smart television, for example, a power-on signaling sent by using a remote controller.
After the television is started, besides the automatic starting of the conventional service of the android frame, the intelligent television controller also creates a first service in the system, wherein the first service can monitor the access state of the television configuration network card, namely when a network cable capable of being networked is inserted into the network cable interface or the wireless network card scans an accessible wireless network, the first service can identify the wireless network card capable of acquiring the network connection at present and a wired network card corresponding to the network cable interface.
The smart television defines one of the wired network cards as a first wired network card, and the first wired network card may be configured to access a private network, for example, a community private network for the visual intercom doorbell application and the community visual outpatient application in fig. 6A. When a first network cable interface corresponding to the first wired network card is inserted into a network cable plug of the community private network, the first service can identify the current network state change, instantly acquire and allocate a network card address for the first wired network card, and the network card address can be specifically implemented as an IP address.
For example, the visual intercom doorbell application run by the user interface in FIG. 6B, which must communicate over the community-specific network to run;
a first network cable interface corresponding to a first cable network card of the television is accessed to the network through a first network chain and the community private network, and when a first service created by the controller identifies the first cable network card to be accessed to the network, the first service acquires an IP address of the first cable network card accessed to the private network.
After the first wired network card is successfully connected to the network, the visual talkback doorbell can normally operate, when a guest presses the doorbell outside the door, a monitoring picture of the doorbell is transmitted to the first wired network card of the intelligent television through the special network, and data are processed and displayed on an application interface of the visual talkback doorbell. Because the doorbell application is in network communication through the private network and the private network card, the doorbell application does not occupy network bandwidth on other video playing applications or live channels of the smart television user interface.
In some embodiments, when the first wired network card is accessed to the first network link, the controller controls the first service to start the first wired network card, and controls the dynamic host configuration protocol server to write the first wired network card address acquired by the dynamic host configuration protocol client into the first wired network card and the kernel, so that the first application can access the wide area network through the first network link accessed by the first wired network card.
For example, when the smart television uses a dual-cable network link, the controller creates a first service for acquiring an IP address for a first cable network card after the television is started;
the controller firstly controls a first service to inquire whether a network node of a first wired network card exists or not, and if the network node exists, the network node is ready; the controller controls the first service to start the first wired network card; and then, acquiring an IP address of the first wired network card through the dynamic host configuration protocol client, then, receiving a request sent by the client through the dynamic host configuration protocol server to acquire an IP message, and writing the IP address information of the first wired network card into the first wired network card, where the first wired network card sends the IP address information to the kernel for the android frame service to call to access the network, and a logic schematic of the first wired network card is shown in fig. 8.
Fig. 6C shows a schematic user interface diagram of an intelligent television according to another embodiment of the present application.
In some embodiments, the smart television is configured to enable the application program to access the network for communication through the second network link corresponding to the second network card.
For example, when the second network card is implemented as a second wired network card, the first video application may communicate through the second network link at this time and operate on the user interface, such as the first video application communicating through the second network card shown in fig. 6C;
it can be understood that the second network card may also be implemented as a second wireless network card, that is, when the smart television is connected to the wireless network through the wireless network card, as shown in fig. 6D, the first video application is communicated through the second network card;
it should be noted that, in some embodiments, the application programs that are common in the smart tv and are not dependent on a dedicated network are often configured to communicate via a wireless network accessed by the second network card or a wired network, and the application programs may include, for example, the first, second, third video applications and the weather forecast application shown in fig. 6A.
It is understood that in some embodiments, for a smart tv configured with 2 wired network cards and 1 wireless network card, typically, 1 wired network card is configured to access a fixed access private network to support a specific application, and another 1 wired network card or wireless network card is configured to access a home network to support a general application.
In some embodiments, when the second network card of the smart television accesses the second network link, the controller writes the acquired address of the second network card into the second network card and the kernel, which may be specifically implemented as writing a network agent class including the address of the second network card acquired based on the android frame flow into the second network card and the kernel.
For example, the second network card is implemented as a second wired network card, when a second network interface corresponding to the second wired network card is inserted into the network access device, the controller notifies the ethernet trace class and creates the factory class to the control network daemon, and then obtains the IP address of the second wired network card based on the dynamic host configuration protocol through the internet interconnection protocol control service;
after the IP address is successfully obtained, the controller controls the second wired network card to generate a corresponding network proxy object and registers the network proxy object into the network connection management service, the network connection management service writes the IP address of the second wired network card into the kernel and the second network card for calling the android frame service, and a logic schematic of the network proxy object is shown in fig. 8.
In some embodiments, the second network card is implemented as a second wireless network card, the controller acquires an IP address of the second wireless network card through a conventional common android framework process, controls the generated network proxy class object to be registered in the network connection management service, and then writes the IP address of the network card into the kernel and the second wireless network card by the network connection management service, where a logic schematic of the network connection management service is shown in fig. 11.
Fig. 6E shows a schematic user interface diagram of an intelligent television according to another embodiment of the present application.
In some embodiments, the smart tv may be configured such that a first wired network card thereof accesses the first network link and a second wired network card thereof accesses the second wired link, as shown in fig. 6E.
For example, after the smart tv is simultaneously connected to the network, the first video application may access the internet and the wide area network through the second network link connected to the second wired network card, where the second video application may also be implemented as other common applications of the tv, such as the second and third video applications and the weather forecast application in fig. 6A; and the visual talkback doorbell can access the community private network through the first network link of the first wired network card pair.
For another example, after the smart television is simultaneously accessed to the network, the first video application of the smart television can access the internet through a wireless link accessed by the second wireless network card, wherein the second video application can also be implemented as a second video application, a third video application, a weather forecast application and the like; and the community visual outpatient service can access the community private network through the first network link of the first wired network card pair. Although the television is accessed and uses two different networks through different network cards, the two networks are not affected each other.
It should be noted that, in the above embodiments, the first network link and the second network link may access the wide area network simultaneously.
In some embodiments, the smart television may further be configured with a plurality of wired network cards, for example, when both the second wired network card and the third wired network card are accessed to the wired network, the controller may control the network card of the previously accessed network to acquire the IP address and access the network.
For example, when a wired network is accessed to the intelligent television, the controller informs the Ethernet daemon to inform the Ethernet tracing class of transmitting messages to the Ethernet factory class, and then acquires the IP addresses of the second wired network card and the third wired network card through the Internet interconnection protocol control service;
after the IP address is obtained, the controller controls the double-wired network to generate a network agent object and registers the network agent object into a network connection management service;
the network connection management service finally scores and determines which network to connect with, and then transmits a message to the kernel; because the two cable networks are scored the same, the cable network accessed later in time will be eliminated, and the smart tv will access the cable network accessed earlier, and the logic diagram is shown in fig. 7.
In some embodiments, the smart television is configured with a plurality of wired network cards, namely wireless network cards, wherein a first wired network card is fixedly used for accessing a private network; if the second wired network card and the second wireless network card are both accessed to different networks, the controller controls the network card of the previously accessed network to acquire the IP address and access the network.
For example, when the second wireless network card is accessed to the corresponding wireless network, the controller receives the startup broadcast by the wireless network state machine, then completes the startup broadcast, creates a wireless network factory class and registers the wireless network factory class in the network connection management service, the network connection management service further transmits a message to the network factory class, and the network factory class registers the acquired wireless network card address in the system network connection management service;
when the second wired network card is accessed to the corresponding wired network, the controller informs the Ethernet tracing class of a control network daemon process, and the Ethernet factory class registers the acquired wired network card address into the network connection management service;
the network connection management service will decide which network to connect through this class score of the network plant class; the score of the WIFI is lower than that of the wired network, so that the controller can select the wired network to be connected with, and control the wireless network WIFI to close the automatic loop connection, and the logic schematic is shown in fig. 9.
In some embodiments, when the smart television is started up, and a network cable interface corresponding to a cable network card of the smart television is inserted into an accessible cable network, the controller acquires an IP address of the cable network through an android framework service, and then the controller controls to generate a network proxy object corresponding to the cable network card and registers the network proxy object into a network connection management service;
after the wireless network card also accesses the corresponding wireless network, the controller acquires an IP address by the method for acquiring the address of the wireless network card, and then the controller controls to generate a network proxy class corresponding to the network card and registers the object in a network connection management service;
and finally, in the network connection management service, the controller controls the scores to determine which network is connected, then the message is transmitted to the system kernel, wherein the wireless networks with low scores are eliminated, and the controller finally controls the wired network card to access the corresponding wired network.
In some embodiments, when the first wired network card and the second wireless network card for accessing the private network both access the network, the controller enables the first wired network card and the second wireless network card to both acquire their corresponding IP addresses and access the corresponding networks according to the method for accessing the corresponding network card to the network in the above embodiments, so that the television is enabled to access the wired private network and the general wireless network at the same time.
For example, the controller controls the first wired network card to acquire the corresponding IP address according to the above embodiment, and queries whether a network node exists through the first service created by the controller; if the first wired network card exists, the first wired network card of the network node is ready; starting working till the first service is controlled by the first wired network card, starting the first wired network card, acquiring the IP address of the wired network card through a dynamic host configuration protocol client, acquiring the IP address of the first wired network card through a transmission message received by a dynamic host configuration protocol server, and writing the IP address information of the first wired network card into the first wired network card;
in the method for acquiring an IP address through the android frame process described in the foregoing embodiment by using a controller to control a second wireless network card that needs to access a common wireless network, the acquired IP address of the second wireless network card is generated into a corresponding network proxy object, and the network proxy object is registered in a network connection management service, and then the network connection management service writes the address of the second wireless network card into a system kernel and the second wireless network card, and the logic schematic diagram is shown in fig. 11.
According to the technical scheme, the display device can realize that the android system is connected with two wires or one wireless network at the same time, and can obtain the corresponding IP address.
Fig. 6G shows a schematic user interface diagram of an intelligent television according to another embodiment of the present application.
In some embodiments, the first wired network card and the second network card of the smart television may also be implemented as different links for accessing the same local area network.
For example, a living room is provided with 2 network ports, namely a living room internet access 1 and a living room internet access 2, which are used for accessing the same network; connecting the first network card to the living room port 1 and the second network card to the living room port 2 through the network cables forms a wired link 1 connected to the first network card and a wired link 2 connected to the second network card, as shown in fig. 6G.
It can be understood that if the quality of the connection line between the living room portal 2 and the router is poor, which results in the decrease of the network bandwidth, and the quality of the connection line between the living room portal 1 and the router is normal, the television accesses the network through the wired link 1 and the wired link 2, which will generate different network experiences;
under the condition, the third video application played and displayed on the foreground user interface of the smart television is accessed to the local area network through the first wired network card, the wired link 1 and the living room internet access 1, and the used network bandwidth cannot be influenced and reduced due to the defect quality line connected with the living room internet access 2; the first video application and the second video application running in the background are accessed to the local area network through the second network card, the wired link 2 and the living room network port 2, and the used network bandwidth is affected and reduced due to the defect quality line connected with the living room network port 2.
Therefore, the above technical solution enables the android system television to break through the current technical bottleneck, and multiple network accesses can be used at the same time, for example, the android system television can simultaneously access a wired network and a WIFI network, or simultaneously access two broadband networks existing in a home environment, or simultaneously access from different network portals of the same network, so as to avoid the problem of insufficient network bandwidth or network bandwidth reduction caused by the line quality of a specific network portal due to the fact that multiple applications simultaneously use the network.
It can be understood that the first wired network card described in the present application can be fixedly connected to a private network, and can also be applied to a network interface with a better quality of a fixed connection line in the same local area network, so as to avoid the problem of link network bandwidth reduction caused by poor quality of a network line in a household, and ensure that a network link used by important applications is in a good state.
In some embodiments, it should be noted that, in general, a user may allocate a plurality of available networks to a plurality of network cards of a television. For example, for 2 available networks for televisions and 2 network cards, a first network link with relatively good network quality can be allocated and accessed to the first network card, and another second network link is allocated and accessed to the second network card, so that a currently most important broadcast program which is currently watched by a user and is in the foreground can acquire data through the fixed proprietary first network link, and poor network experience such as program broadcast jam caused by insufficient network bandwidth due to simultaneous starting of multiple applications is avoided.
In some embodiments, the technical scheme of the application can also be widely applied to double-screen interaction, home service, whole-process voice service, equipment control and active scene service, community access capability, family doctor service, music service, whole-process voice interaction and scene engine, household appliance manager service and the like.
Compared with common android system household appliances, the android system only allows one network to connect and acquire an IP address at the same time; however, the display device or the intelligent household appliance using the technical scheme of the application can realize simultaneous connection with two networks, such as a community network and a home network.
It should be noted that the circuit board of the display device provided by the display device itself may be provided with three network cards to realize simultaneous connection of two networks; the system is embodied to have the capability of accessing two wired networks and a wireless network wifi, wherein one wired network is to be accessed to a community network and is used for calling an elevator or talkbacking a visible doorbell. And another wired or wireless network is connected to the home network for accessing the wide area network. Therefore, two different networks can be used at the same time, community application is carried out in a community network, and common application is carried out in a home network.
Based on the introduction of the control scheme for acquiring different network card addresses based on the android system and the related drawings, the application also provides a control method for acquiring different network card addresses based on the android system, and the method comprises the following steps: after receiving a signaling input by a user for starting display equipment, creating a first service for acquiring a first wired network card address, wherein the first service can monitor the access state of the network card; when a first wired network card is accessed to a first network link, controlling a first service to start the first wired network card and controlling a dynamic host configuration protocol server to write a first wired network card address acquired by a dynamic host configuration protocol client into the first wired network card and a kernel so that a first application can access a wide area network through the first network link accessed by the first wired network card; when the second network card is accessed to a second network link, writing a network agent class containing a second network card address obtained based on the android frame process into the second network card and the kernel so that a second application can access the wide area network through the second network link accessed by the second network card; wherein the first network link and the second network link can access a wide area network simultaneously. The specific steps for acquiring different network card addresses based on the android system in the method are elaborated in the above technical solution of the display device, and are not described herein again.
In some embodiments, the network card is embodied as: the wireless network card comprises a first wired network card, a second wired network card and a second wireless network card; the first wired network card and the second wired network card can be simultaneously accessed to different network links, or the first wired network card and the second wireless network card can be simultaneously accessed to different network links so as to be simultaneously accessed to the first network link and the second network link. The specific steps for acquiring different network card addresses based on the android system in the method are described in detail in the above-provided technical scheme of the display device, and are not described herein again.
In some embodiments, the monitoring, by the first service, that the network card accesses the network link specifically includes: monitoring that a second wired network card is accessed into a wired network link; or monitoring that the second wireless network card is accessed to the wireless network link. The specific steps for acquiring different network card addresses based on the android system in the method are described in detail in the above-provided technical scheme of the display device, and are not described herein again.
In some embodiments, writing a network proxy class including an address of a second network card obtained based on an android frame process into the second network card and a kernel includes: the control network daemon process sends a network monitoring message to the Ethernet tracing class to create an Ethernet factory class, so that the Internet interconnection protocol control service obtains a second wired network card address; and writing the network agent class containing the address of the second wired network card into the second network card and the kernel. The specific steps for acquiring different network card addresses based on the android system in the method are described in detail in the above-provided technical scheme of the display device, and are not described herein again.
In some embodiments, the method further comprises: when the first wired network card is accessed into a first network link, controlling a dynamic host configuration protocol server to write a first wired network card address acquired by a dynamic host configuration protocol client into the first wired network card and a kernel; and when the second network card is accessed into a second network link, the controller acquires a network proxy class containing the address of the second network card based on the android frame process and writes the network proxy class into the second network card and the kernel. The specific steps for acquiring different network card addresses based on the android system in the method are elaborated in the above technical solution of the display device, and are not described herein again.
The method and the device have the advantages that the first wired network card is constructed, so that the specific application program can communicate through the special network accessed by the first wired network card; further, by constructing a second network card, common applications can communicate through a common network accessed by the second network card; further, by constructing the first service, the IP address of the first wired network card accessing the private network can be timely acquired, a plurality of network cards of the android intelligent device can be simultaneously accessed to a plurality of networks, the IP addresses of different networks can be acquired, the requirement that the intelligent device simultaneously uses a plurality of networks can be met, the plurality of network cards can simultaneously acquire different IP addresses and respectively access different network links when the multiple applications of the intelligent device are started, and a user does not need to manually switch the network links.
The following paragraphs briefly explain specific applications of the display device provided in the present application after acquiring IP addresses based on different networks. The dual link-based network environment improvement is described by taking an intelligent television as an example, wherein the reference names of some parts, ports and boards included in the intelligent television can be independently understood in the following paragraphs, and the specific reference names of the parts, ports and boards may be different from those of similar parts, ports and boards referred to above, which is not limited in the present application.
In some embodiments, the smart tv provided by the present application includes a display, and when the smart tv plays a live channel or a video program through an installed application, the live channel or the video program can be played on a foreground user interface. If the user starts a plurality of application programs for video playing, the plurality of application programs can be switched into background running if the plurality of application programs are not played and displayed on the user interface in the foreground.
In some embodiments, after the smart television starts the first application, the controller of the smart television controls the started first application to be played and displayed on the foreground user interface.
When the intelligent television has the condition of accessing a plurality of network environments, the controller controls the first application on the foreground user interface to perform data transmission through the first network link.
Correspondingly, the smart television can be accessed to a plurality of network environments, and the smart television can be configured with a corresponding network card for each network environment which can be accessed simultaneously. For example, a television can communicate with a wide area network through a first network link and a second network link, and only the television can be configured with a corresponding first network card and a corresponding second network card, where the first network card is dedicated for data transmission of the first network link and the second network card is dedicated for data transmission of the second network link.
In some embodiments, the smart television has installed application programs available for video playback including a first video application, a second video application, and a third video application.
For example, when the smart television only starts the first video application, the controller controls the first network card to drive the corresponding first network link, so as to provide data communication for the first application of the foreground user interface playing the video program. It can also be understood that the first application playing the program on the foreground user interface at this moment performs network communication through the first network card of the smart television.
In some embodiments, when the smart television starts a plurality of playable programs simultaneously, the controller will identify the application playing the program in the foreground user interface.
For example, the user starts a second video application through television desktop operation; after the second video application is started, the first video application is switched to the background to continue running, and at the moment, the first and second video applications are played and displayed on a foreground user interface. And the controller of the intelligent television determines the current application of the program in the foreground after receiving the instruction of starting the second video application by the user.
In some embodiments, after the smart television starts the first application and the second application, if the foreground user interface of the smart television displays the second application, the controller controls a plurality of networks available for the television to provide data transmission services for the first application and the second application respectively.
For example, the network usable by the smart television includes a first network and a second network, where the first network corresponds to a first network card and the second network corresponds to a second network card; the first controller can configure the first network and the corresponding first network card to fixedly serve the application in the foreground user interface for playing programs, and configure the second network and the second network card to fixedly serve the application which is switched into the background to continue running and needs network communication.
When the first video application is played on a foreground user interface, a first network and a first network card are used for carrying out network communication support on the first video application; when a user starts the second video application and enables the second video application to be played on a foreground user interface, the controller performs network switching control; the controller switches the first video application to the background to continue running, controls the second video application to carry out network data communication from the first network and the first network card, and controls the first video application switched into the background to carry out network data communication from the second network and the second network card.
It should be noted that, in general, a user may allocate a plurality of available networks to a plurality of network cards of a television. For example, for 2 available networks for televisions and 2 network cards, a first network link with relatively good network quality can be allocated and accessed to the first network card, and another second network link is allocated and accessed to the second network card, so that a currently most important broadcast program which is currently watched by a user and is in the foreground can acquire data through the fixed proprietary first network link, and poor network experience such as program broadcast jam caused by insufficient network bandwidth due to simultaneous starting of multiple applications is avoided.
In some embodiments, the smart television controller may control the second application to bypass the protocol stack for network communication through the first network card while the foreground user interface plays the second video application.
For example, after a first video application and a second video application are started, the controller acquires a first index corresponding to the first network card and a second index corresponding to the second network card from a system kernel of the smart television based on the name of the first network card and the name of the second network card according to network attributes recorded when the first network link and the second network link are started;
before the video application respectively transmits network data, the controller judges an application program in a foreground user interface according to the system attribute field;
if the second video application is played in the foreground, the controller controls to bypass the protocol stack based on the first index and support the second video application to carry out network communication through the first network card, for example, the first index corresponding to the first network card is obtained through the attribute field, then the protocol stack is bypassed based on the first index, and the network data received and sent by the second application is transmitted to the first network card through the data interface.
Correspondingly, the controller bypasses the protocol stack based on the second index to perform network communication through the second network card when the first video application runs in the background, acquires the second index corresponding to the second network card through the attribute field, bypasses the protocol stack based on the second index, and transmits the network data received and transmitted by the first video application to the second network card through the data interface.
It should be noted that the data request sent by the first network card to the wan receives the corresponding data reply through the first network card; and other applications transmit and receive data through the second network card, so that smooth network transmission of foreground applications can be ensured.
In some embodiments, when the first network link and the second network link are enabled, the controller may obtain indexes corresponding to the first network card and the second network card, so as to position different network cards according to different network card indexes to perform data transceiving.
When a plurality of applications are started, the controller creates a temporary interface in the system and then sends a signaling to a system kernel through an input and output control instruction; the input/output control instruction is mainly used for communication between an application program and a driver or communication between drivers in an equipment stack, and the instruction is transmitted by a message through an input/output request;
when the first network card is configured as a wired network card and the second network card is configured as a wireless network card, the controller can acquire a first index corresponding to the wired network card from the kernel through the name of the wired network card and acquire a second index corresponding to the wireless network card from the kernel through the name of the wireless network card;
after the indexes corresponding to the network cards are obtained, the controller closes the temporary data interface for sending the signaling, and the indexes of the first network card and the second network card are respectively set in different android system attribute fields, so that the indexes can be conveniently obtained during subsequent data transmission.
In some embodiments, after the smart television starts the multiple applications, before the controller controls the different network cards to perform network support on the different applications, the controller acquires a first network card address according to a first network card service of a corresponding first network link when the first application plays a program on a foreground user interface; and after the second application is started, the controller acquires the address of the second network card corresponding to the second network link according to the connection service of the android frame process, so that different applications of the smart television can perform network communication through different network cards.
For example, in an intelligent television of an android system, when a video application plays a program on a foreground user interface, a controller acquires an IP address corresponding to a network card through a network card service which can be corresponding at the moment; when foreground application and background application exist simultaneously, a network card used by the background application can acquire a corresponding IP address through an android frame process, and finally, the corresponding IP address is written into an inner core and the network card of an android system through a connection service of the android system, so that the android television can be ensured to be simultaneously connected with two different networks and acquire the two IP addresses.
For another example, after a plurality of televisions in a home environment are successfully networked, images collected by different television cameras can be fused and displayed on one television screen through the network card application; after the two televisions are networked, one television can transmit the video stream of the camera to the other television through the local area network for display, and at the moment, if the two televisions can transmit data simultaneously, the transmission speed can be improved.
In some embodiments, if the user switches the first video application back to the foreground user interface, the controller performs network communication on the second video application that is controlled to be switched into the background by bypassing the protocol stack through the second network link corresponding to the second network card, that is, the network used by the second video application is changed from the first network in the foreground to the second network link in the background; and the network used by the corresponding first video application played on the foreground user interface currently is switched to a first network link corresponding to the first network card.
It should be noted that, in general, when the second application is displayed on the foreground user interface, the first application is switched to the background operation; in some embodiments, the television may also be configured such that when the second application is switched from the background to the foreground user interface for playing, the first application may also be simultaneously played and displayed on the foreground user interface.
In some embodiments, when a plurality of video applications of the smart television are started, the controller may immediately acquire the application program displayed in the foreground user interface.
For example, a first application plays in a foreground user interface, and when a second application is launched, the controller will trigger the active lifecycle of the second application, including creating, launching, and rendering foreground visuals. The starting operation is usually that the user presses a main page key, after the activity becomes a background, the user calls a restart function first and then calls a start function when switching back to the activity.
When the activity stack of the android frame layer is returned to the function foreground in the visible state to realize visible recovery locking, the controller can obtain an activity record at the moment, and the activity record can extract the name of a data packet playing and displaying application in the foreground user interface; and then the controller records the foreground application data packet name into a system attribute field of an android so as to enable the controller to call when selecting network cards for different applications.
In some embodiments, an activity generally includes four states; the running state represents that after a new activity is started and stacked, the new activity is at the forefront of a screen and at the topmost end of a stack, and at the moment, the new activity is in an activated loading state which is visible and can be interacted with a user; a suspended state, when the activity is covered by another transparent or dialog-style activity, while it remains connected to the window manager, the system continues to maintain its internal state, he is still visible, but it has lost focus and is therefore not available for interaction with the user; a stop state, when the activity is invisible, the activity is in the stop state, when the activity is in the stop state, the current data and the current user interface state must be stored, otherwise, once the activity exits or is closed, the current data and the current user interface state are lost; a terminated state, after the activity is killed or before it is launched, in which the activity has been removed from the activity stack and needs to be restarted for display and use.
In some embodiments, the currently started applications of the smart television comprise a first video application and a second video application; after the user sends a starting instruction to the third video application on the application desktop through the remote controller, the controller determines to determine that the application program in the foreground user interface playing display in the 3 applications is started.
If the third video application is currently played and displayed on the foreground user interface, as in the above technical scheme, the controller controls the third application to bypass the protocol stack and perform network communication and data receiving and transmitting through the first network card; meanwhile, the controller controls the second network card and a corresponding second network link thereof, and performs network communication support on the first video application and the second video application in the background.
It can be understood that when multiple applications are started, the application programs playing programs in the foreground user interface can preferentially perform network communication through the first network link; and applications in the background communicate over the network via a second network link. And usually, the communication quality of the first network link is higher than that of the second network link, so as to improve the network experience of watching videos for users.
It should be noted that, in some embodiments, the television is configured to be capable of simultaneously displaying and playing multiple applications on the foreground user interface, at this time, the multiple applications capable of playing programs on the foreground may all use the first network link corresponding to the first network card, and the first network link is not limited to only support 1 foreground application.
In some embodiments, when the smart tv may use multiple networks, the first network link may be implemented as a wired network link and the second network link may be implemented as a wireless network link.
For example, when the second application is switched to the foreground to play a program, the controller controls the second application to bypass the protocol stack and perform network communication through a wired network card corresponding to the wired network; meanwhile, the network communication of the first application is controlled to be switched to the wireless network card corresponding to the wireless network for network communication, and the first application bypasses the protocol stack and receives and transmits data through the wireless network card.
For another example, the smart television controller controls a third video application played on the foreground user interface to bypass the protocol stack and perform network communication through a wired network card corresponding to the wired network; meanwhile, the controller controls the network communication of the first video application and the second video application running in the background to be switched to the wireless network card corresponding to the wireless network for network communication, and the first video application and the second video application need to bypass the protocol stack and communicate with the wide area network through the wireless network card for receiving and sending data.
In some embodiments, the first network card and the second network card may also be implemented as different links for accessing the same lan.
For example, a living room is provided with 2 network ports, namely a living room internet access 1 and a living room internet access 2, which are used for accessing the same network; the first network card is connected to the living room network port 1 through the network cable, and the second network card is connected to the living room network port 2, so that a wired link 1 connected with the first network card and a wired link 2 connected with the second network card are formed.
It can be understood that if the quality of the connection line between the living room portal 2 and the router is poor, which results in the decrease of the network bandwidth, and the quality of the connection line between the living room portal 1 and the router is normal, the television accesses the network through the wired link 1 and the wired link 2, which will generate different network experiences;
the following paragraphs will comparatively list the Chinese terms referred to in this specification and their corresponding English terms for easy reading and understanding.
Dynamic host configuration protocol client: udhcpc;
the dynamic host configuration protocol server side: udhcpd;
the network daemon process comprises the following steps: netd;
ethernet trace class: ethernet tracker;
factory type: ethernet Factory;
internet protocol control service: an Ipclient;
dynamic host configuration protocol: DHCP;
the network proxy class: a NetworkAgent;
network connection management service: connectivity service;
kernel: a kernel;
and (4) android: android;
a wireless network state machine: wifiStateMachine;
and (4) completing the service: boot _ complete;
wireless network factory class: wifiNetworkFactory;
network management service: a network management service;
the Ethernet service is realized as follows: ethernet serviceimpl;
network factory: networkFactory;
ethernet: ethernet;
evaluation request: evalRequest;
the wireless manager: wifiManager;
wifi service implementation: a WifiServiceImpl;
wireless native: wifiNative;
requesting service: supplantetzhal;
the requester: supplant;
the wireless monitor: a WifiMonitor;
acquiring an IP state: obtainIpState;
updating capability: updatecapbilty;
processing the IP address success message: handleIPv4Success.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the foregoing discussion in some embodiments is not intended to be exhaustive or to limit the implementations to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display for displaying a user interface including a first application and a second application;
the network card comprises a first wired network card and a second network card;
a controller configured to:
after receiving a signaling input by a user for starting display equipment, creating a first service for acquiring a first wired network card address, wherein the first service can monitor the access state of the network card;
when a first wired network card is accessed to a first network link, controlling a first service to start the first wired network card and writing the acquired address of the first wired network card into the first wired network card and a kernel so that a first application can access a wide area network through the first network link accessed by the first wired network card;
when the second network card is accessed into a second network link, the controller writes a network agent class containing a second network card address into the second network card and the kernel so that a second application can access the wide area network through the second network link accessed by the second network card; wherein the first network link and the second network link can access a wide area network simultaneously.
2. The display device of claim 1, wherein the display device comprises a network card that is embodied as:
the second network card can be implemented as a second wired network card or a second wireless network card;
the first wired network card and the second wired network card of the display device can be simultaneously accessed to different network links, or the first wired network card and the second wireless network card of the display device can be simultaneously accessed to different network links, so that the display device can be simultaneously accessed to the first network link and the second network link.
3. The display device according to claim 1, wherein the first service monitors a network card access network link, and specifically includes the first service:
monitoring that a second wired network card is accessed to a wired network link; or monitoring that the second wireless network card is accessed to the wireless network link.
4. The display device of claim 1, wherein the controller writes a network proxy class including an address of a second network card obtained based on an android framework process into the second network card and the kernel, and specifically includes the controller:
the control network daemon process sends a network monitoring message to the Ethernet tracing class to create an Ethernet factory class, so that the Internet interconnection protocol control service obtains a second wired network card address;
and writing the network agent class containing the address of the second wired network card into the second network card and the kernel.
5. The display device of claim 2, wherein the controller is further configured to:
when the first wired network card is accessed into a first network link, controlling a dynamic host configuration protocol server to write a first wired network card address acquired by a dynamic host configuration protocol client into the first wired network card and a kernel;
and when the second network card is accessed to a second network link, the controller acquires a network proxy class containing the address of the second network card based on the android frame process and writes the network proxy class into the second network card and the kernel.
6. A control method for obtaining different network card addresses based on an android system is characterized by comprising the following steps:
after receiving a signaling input by a user for starting display equipment, creating a first service for acquiring a first wired network card address, wherein the first service can monitor the access state of the network card;
when a first wired network card is accessed to a first network link, controlling a first service to start the first wired network card and writing the acquired address of the first wired network card into the first wired network card and the inner core so that a first application can access a wide area network through the first network link accessed by the first wired network card;
when the second network card is accessed to a second network link, writing the network proxy class containing the address of the second network card into the second network card and the kernel so that a second application can access the wide area network through the second network link accessed by the second network card; wherein the first network link and the second network link can access a wide area network simultaneously.
7. The control method for acquiring different network card addresses based on the android system as claimed in claim 6, wherein the second network card is specifically implemented as:
a second wired network card or a second wireless network card;
the first wired network card and the second wired network card can be simultaneously accessed to different network links, or the first wired network card and the second wireless network card can be simultaneously accessed to different network links so as to be simultaneously accessed to the first network link and the second network link.
8. The method for controlling acquisition of different network card addresses based on the android system as claimed in claim 6, wherein the monitoring of the network card access network link by the first service specifically includes:
monitoring that a second wired network card is accessed into a wired network link; or monitoring that the second wireless network card is accessed to the wireless network link.
9. The control method for obtaining different network card addresses based on the android system as claimed in claim 6, wherein writing a network proxy class including a second network card address obtained based on the android framework process into the second network card and the kernel specifically includes:
the control network daemon sends a network monitoring message to the Ethernet tracing class to create an Ethernet factory class, so that the Internet interconnection protocol control service acquires a second wired network card address;
and writing the network agent class containing the address of the second wired network card into the second network card and the kernel.
10. The android-system-based control method for acquiring different network card addresses of claim 7, the method further comprising:
when the first wired network card is accessed into a first network link, controlling a dynamic host configuration protocol server to write a first wired network card address acquired by a dynamic host configuration protocol client into the first wired network card and a kernel;
and when the second network card is accessed into a second network link, the controller acquires a network proxy class containing the address of the second network card based on the android frame process and writes the network proxy class into the second network card and the kernel.
CN202111164401.7A 2021-09-30 2021-09-30 Display device and control method for acquiring different network card addresses based on android system Pending CN115914771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111164401.7A CN115914771A (en) 2021-09-30 2021-09-30 Display device and control method for acquiring different network card addresses based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111164401.7A CN115914771A (en) 2021-09-30 2021-09-30 Display device and control method for acquiring different network card addresses based on android system

Publications (1)

Publication Number Publication Date
CN115914771A true CN115914771A (en) 2023-04-04

Family

ID=86490235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111164401.7A Pending CN115914771A (en) 2021-09-30 2021-09-30 Display device and control method for acquiring different network card addresses based on android system

Country Status (1)

Country Link
CN (1) CN115914771A (en)

Similar Documents

Publication Publication Date Title
CN111954044B (en) Channel switching method and display device
CN112367543B (en) Display device, mobile terminal, screen projection method and screen projection system
CN111752518A (en) Screen projection method of display equipment and display equipment
CN113794928B (en) Audio playing method and display device
CN113590059A (en) Screen projection method and mobile terminal
CN115454367A (en) Display device and display device control method
CN111885665B (en) Wireless network connection control method and display device
CN111405367B (en) Method for network sharing of system component based on multi-network switching scene and display equipment
US20070283391A1 (en) Method and system for partitioning television channels in a platform
CN115914771A (en) Display device and control method for acquiring different network card addresses based on android system
CN114885193A (en) Display device, terminal device and screen projection method
CN114900386A (en) Terminal equipment and data relay method
CN115914731A (en) Display device and control method for improving network environment based on double links
CN114286166A (en) Display device, signal receiving device and media asset playing method
CN115914730A (en) Display device and double-chain network connection method
CN115914732A (en) Display device and intelligent routing method based on USB channel
CN111918132A (en) Display device and multi-interface device judgment method
CN115914707A (en) Display device and non-inductive distribution network control method based on USB channel
CN115914073A (en) Display device and android system-based intelligent routing method
CN117615091A (en) Display device and HDMI port identification method for accessing CEC device
WO2022033153A1 (en) Display method and display device
CN117812320A (en) Display device and CEC device connection method applied to display device
CN113992963A (en) Display device and screen projection method
CN117812304A (en) Display device and play content search method
CN115914694A (en) Display device and network connection method based on USB link

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination