CN117615214A - Data sharing method and display device - Google Patents

Data sharing method and display device Download PDF

Info

Publication number
CN117615214A
CN117615214A CN202311107340.XA CN202311107340A CN117615214A CN 117615214 A CN117615214 A CN 117615214A CN 202311107340 A CN202311107340 A CN 202311107340A CN 117615214 A CN117615214 A CN 117615214A
Authority
CN
China
Prior art keywords
network
wired
card
network node
network card
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
CN202311107340.XA
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 CN202311107340.XA priority Critical patent/CN117615214A/en
Publication of CN117615214A publication Critical patent/CN117615214A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data sharing method and display equipment, wherein the display equipment comprises at least one network card capable of being networked, a wired network node and a hot spot network node. And if the communication module is detected to provide the first network for the network card capable of being connected with the network, providing the first network for the second device through the hot spot network node. A first route between the networkable network card and the wired network node is created and the first network is provided to the first device over the first route. A second route is then created between the wired network node and the hotspot network node, and data packets may be transmitted between the first device and the second device based on the first network and the second route. According to the method and the device, the Android native packaged nodes are utilized, the routes between the nodes are set, so that the set route links are more stable, the situation that the script execution is limited to cause the route setting failure can be avoided, the route setting success rate is improved, and the success rate of data sharing among different devices is further improved.

Description

Data sharing method and display device
Technical Field
The present invention relates to the field of display devices, and in particular, to a data sharing method and a display device.
Background
The network cards configured by the display device may generally include a wired network card and a wireless network card, and when the display device accesses to a network, network addresses for network positioning, that is, IP (Internet Protocol Address, internet protocol) addresses, are only allocated and acquired for the network cards of the display device based on a network protocol, so as to realize network communication between the display device and other devices in the network.
After the display device is accessed to the network, the network can be shared with external devices. After different external devices all obtain the network shared by the display devices, the external devices can be further set to obtain routes between network ports of the shared network, so that network packets can be mutually transmitted between the different external devices, and data sharing between the different external devices is realized. At present, a script is usually used, and different external devices are set to acquire routes among network ports of a shared network. The principle of setting the route through the script is to set the command line row by using the existing debugging program of the Android (Android) platform, so that the route is actually set by using fixed code logic.
However, by setting the route between the network ports of the shared network by using the above manner, the link is unstable, and if the Android system of the display device starts the enforcement mode of the selinux (file access security policy) authority, the scenario execution may be limited, which may result in failure in setting the route between the network ports of the shared network by using the different external devices, and further result in failure in data sharing.
Disclosure of Invention
The application provides a data sharing method and display equipment, which utilize nodes encapsulated by Android native technology to set routes, and can solve the technical problems of route setting failure and data sharing failure caused by unstable route links, limited script execution and other reasons.
In a first aspect, some embodiments of the present application provide a display device, including:
a display;
at least one network card capable of being connected with a communication module, wherein the communication module can provide a network for the display equipment through the network card capable of being connected with the network;
a wired network node configured to connect to a first device, the first device being accessible to a network through the wired network node;
the hot spot network node is used for accessing the network by at least one second device through the hot spot network node;
a controller configured to:
providing a first network to the network card capable of being connected with the network, and providing the first network to the second device through the hot spot network node if the communication module is detected and at least one second device is connected to the hot spot network node, so that the second device is connected with the first network;
creating a first route between the networkable network card and the wired network node, and providing the first network to the first device via the first route to enable the first device to access the first network;
Creating a second route between the wired network node and the hotspot network node, so that the first device transmits a data packet to the second device based on the second route and the first network, or the second device transmits a data packet to the first device based on the second route and the first network.
In a second aspect, some embodiments of the present application provide a data sharing method, which is applied to a controller of a display device, where the display device further includes at least one network card capable of being networked, where the network card capable of being networked is connected to a communication module, and the communication module can provide a network to the display device through the network card capable of being networked; a wired network node configured to connect to a first device, the first device being accessible to a network through the wired network node; the hot spot network node is used for accessing the network by at least one second device through the hot spot network node;
the data sharing method comprises the following steps:
providing a first network to the network card capable of being connected with the network, and providing the first network to the second device through the hot spot network node if the communication module is detected and at least one second device is connected to the hot spot network node, so that the second device is connected with the first network;
Creating a first route between the networkable network card and the wired network node, and providing the first network to the first device via the first route to enable the first device to access the first network;
creating a second route between the wired network node and the hotspot network node, so that the first device transmits a data packet to the second device based on the second route and the first network, or the second device transmits a data packet to the first device based on the second route and the first network.
According to the technical scheme, the data sharing method and the display device provided by the application comprise at least one networking network card, and the communication module can provide a network for the display device through the networking network card; and the first device can access the network through the wired network node. And the hot spot network node is used for accessing the network by at least one second device. If the communication module is detected to provide the first network to the network card capable of being connected with the network, and at least one second device is connected to the hot spot network node, the first network is provided for the second device through the hot spot network node, and the second device can access the first network. At this point a first route between the networkable network card and the wired network node is created and a first network is provided to the first device via the first route, which can then access the first network. A second route is then created between the wired network node and the hotspot network node, and data packets may be transmitted between the first device and the second device based on the first network and the second route. According to the method and the device, the Android native packaged nodes are utilized, the routes between the nodes are set, so that the set route links are more stable, the situation that the script execution is limited to cause the route setting failure can be avoided, the route setting success rate is improved, and the success rate of data sharing among different devices is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device provided in an embodiment of the present application;
fig. 2 is a hardware configuration block diagram of the control device 100 provided in the embodiment of the present application;
fig. 3 is a hardware configuration block diagram of a display device 200 provided in an embodiment of the present application;
fig. 4 is a software configuration diagram of a display device 200 according to an embodiment of the present application;
fig. 5 is a schematic diagram of device connection in the data sharing system according to the embodiment of the present application;
FIG. 6 is a schematic diagram of a data sharing system framework according to an embodiment of the present disclosure;
fig. 7 is a schematic flow chart of a data sharing method according to an embodiment of the present application;
fig. 8 is a schematic path diagram of a first route and a second route provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of another data sharing system framework according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of a data sharing system according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of another data sharing system framework according to an embodiment of the present disclosure;
fig. 12 is a flowchart of a second device method for selecting data sharing according to an embodiment of the present application;
fig. 13 is a schematic diagram of a user interface of a display device 200 according to an embodiment of the present application;
FIG. 14 is a schematic diagram of a user interface of a further display device 200 according to an embodiment of the present application;
FIG. 15 is a schematic diagram of a data sharing system according to an embodiment of the present disclosure;
fig. 16 is a flowchart of another data sharing method according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the exemplary embodiments of the present application will be clearly and completely described below in connection with the exemplary embodiments of the present application and the corresponding drawings. It will be apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience of understanding the embodiments described below, and is not intended to limit the embodiments of some examples of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for limiting a particular order or sequence, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The display device provided in the embodiment of the application may have various implementation forms, for example, may be a television, an intelligent television, a laser projection device, a display (monitor), an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table), and the like.
Fig. 1 and 2 are specific embodiments of a display device of the present application.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device in an exemplary embodiment of the present application. As shown in fig. 1, a user may operate the display device 200 through the mobile terminal 300 and the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on a smart device.
In some embodiments, the display device may receive instructions not using the smart device or control device described above, but rather receive control of the user by touch or gesture, or the like.
In some embodiments, the display device 200 may also perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via 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 device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
Fig. 2 exemplarily shows a hardware configuration block diagram of the control apparatus 100 in accordance with 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 of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200. As shown in fig. 3, the display apparatus 200 includes at least one of a modem 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.
In some embodiments the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface. The display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, a component for receiving an image signal from the controller output, displaying video content, image content, and a menu manipulation interface, and a user manipulation UI interface. The display 260 may be a liquid crystal display, an OLED display, a projection device, or a projection screen.
The communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
A user interface, which may be used to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).
The detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector such as a camera, which may be used to collect external environmental scenes, user attributes, or user interaction gestures, or alternatively, the detector 230 includes a sound collector such as a microphone, or the like, which is used to receive external sounds.
The external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
The modem 210 receives broadcast television signals through a wired or wireless reception manner, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
The controller 250 controls the operation of the display device and responds to the user's operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the controller includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM (Random AccessMemory, RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input/output, a communication Bus (Bus), and the like.
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 the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
A "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is 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 a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.
The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; and Native applications (Native APPs).
The application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).
Native applications (Native APPs) may support online or offline, message pushing, or local resource access.
The middleware layer includes middleware such as various television protocols, multimedia protocols, and system components. The middleware can use basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so that the purposes of resource sharing and function sharing can be achieved.
The hardware layer mainly comprises a HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for all the television chips to be docked, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.
For clarity of explanation of the technical solutions of the present application, firstly, explanation will be made on the terms designed in the present application:
a network card, also known as a network adapter or network interface card (NIC, network Interface Card), is a device that connects a computer or display device to a local area network. The network card is inserted in an expansion slot of a computer, display equipment or a server, and exchanges data with a network and shares resources through a network cable. In addition, after the network card is installed, the protocol is often required to be configured. The network card can package the data of the computer into frames and send the data to a network through a network cable (electromagnetic wave for a wireless network); the network card can also receive frames transmitted by other devices on the network, recombine the frames into data and send the data to the device where the network card is located. The network cards are further classified into wired network cards and Wireless network cards, i.e., LAN (Local Area Network ) network cards and WLAN (Wireless LAN) network cards. The LAN network card may be provided with a wired network by the wired communication module, so that the device accesses the local area network in a wired manner. The WLAN network card may be provided with a wireless network by the wireless communication module so that the device accesses the local area network in a wireless manner.
Network nodes, network nodes and routers are key components of the internet implementation that enable the transmission and routing of data in the internet. The network node may be a network device in the internet, which may be a network device such as a computer, a server, a router, a switch, or a port on the network device for transmitting or receiving a data packet. The network nodes may identify and communicate with each other via the internet protocol, each network node having a unique IP address for identifying its location in the internet. The wired network node in the embodiment of the application is a network port needing wired connection, and after the device is connected with the network port in a wired manner, network signals can be obtained from the network port, so that the purpose of accessing the network is achieved.
A USB (Universal Serial BUS ) network card, i.e. a network card with a USB interface.
The hotspot network node, i.e. the wireless AP (Access Point), can implement a network sharing function by the device through the wireless AP. The network sharing function is that a device with communication capability converts a received GPRS (General Packet Radio Service, general packet radio service technology), 3G (Third Generation mobile communication) or 4G (fourth Generation mobile communication) signal into a Wi-Fi signal, so that other devices with WiFi modules can also use the network of the display device to surf the internet, and the device sharing the network is equivalent to a wireless AP. The device needs to turn on the WLAN hotspot function to enable network sharing.
The routing refers to path information for guiding the sending of the IP message, namely path information for guiding how to send the data message (data packet) between the nodes. Determining path information requires knowledge of the addresses of the ports, so two conditions for creating routes between nodes (ports) are: the port is in an open state and the port is assigned an IP address. The router is divided into a dynamic router and a static router, wherein the dynamic router means that the router can automatically check and record own routing tables and can automatically and dynamically adjust according to the change of actual conditions; static routing is fixed and does not change with changes in the actual network state.
In some embodiments, the terminal device may also share the network to external devices after accessing the network. Different external devices access the same local area network, and the external devices can be set to acquire the route between the network ports of the shared network, so that network data packets can be mutually transmitted between the external devices, and data sharing between different external devices is realized.
For example, as shown in fig. 5, the display device 200 may share a network connected to itself to the first device 500 through a wired network port, that is, after the first device 500 uses the wired network and the display device 200 to connect, the first device acquires a network signal from the display device 200 and accesses the same local area network. The display device 200 may also send out a hotspot, and the second device 500 may access the same lan after being connected to the hotspot to obtain a network signal. After the first device 500 and the second device 600 access the same lan, a route between a network port connected to the first device 500 and a network connected to the second device 600 may be set, so that network data packets may be transmitted between the first device 500 and the second device 600, so as to implement data sharing between the first device 500 and the second device 600.
The route between the portal to which the first device 500 is connected and the portal to which the second device is connected may be set using a script form. The principle of setting the route by using the script is to set command lines line by using the existing debugging program of the Android platform (the system of the display device is an Android system). When the command line is set, the information of the link needs to be fully known, and gradual setting is needed according to the fully known information of the link, so that the script is actually used for setting the route, a large amount of fixed code logic is needed, if one path of the link needed for setting the route is not considered to be comprehensive, the route setting is failed, and further the data sharing is failed.
In addition, the nature of the script is a combination of commands, the actual requirement of the start script depends on the logic of the Framework layer, after the Framework layer receives the broadcast of the network connection, the Framework layer needs to start the service registered by the system, and the shell script (programmed script) is executed through the service, so that the flow of executing the script is complex. If the user frequently operates the network to disconnect, the user needs to frequently register the service, and too frequent registration may cause failure of service registration, so that the shell script cannot be executed, further cause failure of route setting, and finally cause failure of data sharing.
In view of the above, some embodiments of the present application provide a display apparatus 200. In order to facilitate understanding of the technical solutions in some embodiments of the present application, the following details of each step are described with reference to some specific embodiments and the accompanying drawings. Fig. 6 is a schematic diagram of a data sharing system framework according to some embodiments of the present application. Fig. 7 is a flowchart illustrating a method for executing data sharing by the display device 200.
As shown in fig. 6, the data sharing system according to the embodiment of the present application mainly includes: a display device 200, a first device 500 and a second device 600. The display device 200 includes at least one network card capable of networking, a wired network node eth1, and a hotspot network node AP0. The networking card is connected with a communication module, and the communication module can provide a network to the display device 200 through the networking card. The first device 500 is connected to a wired network node eth1, through which wired network node eth1 the first device 500 can access the network. If the display device 200 is connected to the network, the network may also be provided to the at least one second device 600 through the hotspot network node AP0, i.e. the at least one second device 600 may be connected to the network through the hotspot network node AP0. For the second device 600, the display device 200 is a wireless AP, and the hotspot network node AP0 is an AP node. The wired network node eth1, the hot spot network node AP0 and the networkable network card are all arranged on a SOC (System-on-a-Chip) Chip.
Based on the schematic diagram of the data sharing system framework shown in fig. 6, as shown in fig. 7, the data sharing method executed by the display device 200 provided in the embodiment of the present application includes the following steps:
step S100, if it is detected that the communication module provides a first network to the network card capable of being networked, and at least one second device 600 is connected to the hotspot network node AP0, the first network is provided to the second device 600 through the hotspot network node AP0, so that the second device 600 accesses the first network.
The network card capable of being networked in the embodiment of the application can be a wired network card or a wireless network card. If the networkable network card is a wired network card, the wired communication module provides a network to the display device 200 through the wired network card, that is, the system of the display device 200 may access the wired network provided by the wired communication module through the wired network card. If the networkable network card is a wireless network card, the wireless communication module provides a network to the display device 200 through the wireless network card, that is, the system of the display device 200 can access the wireless network provided by the wireless communication module through the wireless network card.
The communication module can be a Zigbee wireless communication device (Zigbee is a low power consumption local area network protocol based on the ieee802.15.4 standard, zigbee technology is a wireless communication technology with short distance and low power consumption), a 4G or 5G communication module, a wireless WiFi module, and the like, and these communication modules can establish communication with a base station, and then provide a network for the display device. If the networking network card is a wireless network card, the communication module for providing a network for the wireless network card is a wireless communication module, for example, the communication module can be a wireless WiFi module; if the networkable network card is a wired network card, the communication module providing the network for the wired network card is a wired communication module, for example, the network card may be a routing device with a communication networking function connected by a physical medium (such as a network cable, etc.), and the routing device may be regarded as the wired communication module.
The Android system of the display device 200 may create at least one listening service for listening to the network card capable of networking, where the listening service is used to determine whether the communication module provides the first network to the network card capable of networking. If the communication module provides the first network to the networkable network card, the networkable network card may receive the data packet from the communication module, so the listening service may listen to whether the networkable network card receives the data packet transmitted from the communication module to determine whether the communication module provides the first network to the networkable network card. If the network card acquires the data packet from the communication module, a monitoring event can be generated, and the controller judges that the communication module provides a first network for the network card according to the monitoring event. If the display device 200 includes a plurality of networking-capable network cards, a network card identification of the networking-capable network card may be marked on the generated listening event, and the controller may determine which of the networking-capable network cards is provided with the first network according to the network card identification.
For example, the SOC chip of the display device 200 is configured with a networkable network card a, a networkable network card B, and a networkable network card C, and if the communication module provides the networkable network card a with the first network, the listening service may mark the network card identifier a of the networkable network card a on the listening event when generating the listening event. After receiving the monitoring event, the controller can judge that the communication module provides the first network for the network card A capable of being connected with the network according to the network card identifier A carried by the monitoring event. In this way, the route between the network card which is already connected to the network and the first network node can be set accurately. If the communication module provides the first network to the networkable network card a and the networkable network card B, the listening service may generate two listening events: the network card monitoring system comprises a first monitoring event and a second monitoring event, wherein the first monitoring event carries a network card identifier A of a network card A capable of being connected with the network, and the second monitoring event carries a network card identifier B of a network card B capable of being connected with the network. The controller may determine, according to the first listening event and the second listening event, that the communication module provides the first network to the networkable network card a and the networkable network card B.
When the communication module provides the first network for the network card capable of being connected with the network, the system can also configure a service for acquiring the IP for the network card capable of being connected with the network, and the service for acquiring the IP firstly inquires whether the first network node of the network card capable of being connected with the network exists or not, namely the first network node of the network card capable of being connected with the network is in an up state (normal working state). If the first network node of the networking network card exists, the first network node corresponding to the networking network card is ready, then the networking network card is started, the IP is acquired through the dynamic host configuration protocol client, and the dynamic host configuration protocol server receives a request and sends the IP to the networking network card. After the networking network card acquires the IP, the information such as the IP is written into the networking network card, and the process that the communication module provides the first network for the networking network card is completed at the moment.
Upon detecting that the communication module provides the first network to the networkable network card, it is further necessary to continue to determine whether at least one second device 600 is connected to the hotspot network node AP0. If the communication module provides the first network to the networkable network card, the display device 200 accesses the first network at this time, and if the display device 200 turns on the hotspot function (and is set to the AP mode instead of the STA (station) mode), the first network may also be shared to the at least one second device 600 through the hotspot function. The second device refers to a device connected to the hotspot network node AP0, i.e. a device connected to the hotspot on which the display device 200 is turned on at this time.
The manner in which the second device 600 connects to the hotspot of the display device 200 may be: after the display device 200 turns on the hotspot function, the display device 200 may convert the network signal of the connected first network into a Wi-Fi signal and then send the Wi-Fi signal. After the second device 600 searches the Wi-Fi signal shared by the display device 200 through the hotspot, the second device 600 may access the hotspot Wi-Fi by inputting the hotspot name and the hotspot password of the hotspot Wi-Fi on the user interface of the second device 600, so as to achieve the purpose that the second device 600 accesses the first network through the hotspot network node AP0.
The process of configuring the IP address for the second device 600 may further include: when the hot spot network node AP0 is started, a third gateway address is configured for the hot spot network node AP 0; when the second device 600 is connected to the hotspot network node AP0, a fourth gateway address is configured for the second device 600 according to the third gateway address, so that the second device 600 accesses the first network using the fourth gateway address.
After the display device 200 starts the hotspot function, an IP address (third gateway address) may be configured for the hotspot network node AP0, and at this time, a route between the hotspot network node AP0 and the networkable network card is actually required to be created according to the IP address of the hotspot network node AP0 and the IP address of the networkable network card, so that the networkable network card may transmit the network signal of the first network to the hotspot network node AP0, and then the hotspot network node AP0 converts the network signal of the first network into a Wi-Fi signal and then outputs the Wi-Fi signal. The second device 600 can then connect to the hotspot network node AP0 using the hotspot name and the hotspot password after searching that the Wi-Fi signal is.
After the hotspot network node AP0 is allocated to the IP address, and the second device 600 is connected to the hotspot network node AP0 by using the hotspot name and the hotspot password, the system configures an IP address (a fourth gateway address) for the second device (a wireless network card of the second device) according to the IP address of the hotspot network node AP0, where the fourth gateway address and the third gateway address are located in the same network segment, so that the second device 600 can access the first network (obtain a network signal of the first network) according to the fourth gateway address.
Step S200, creating a first route between the networkable network card and the wired network node eth1, and providing the first network to the first device 500 through the first route, so that the first device 500 accesses the first network.
Step S100 is an implementation step of accessing the first device 500 to the first network, and step S200 is an implementation step of accessing the second device to the first network. Since the first device 500 is connected to the wired network node eth1, it is necessary to create a first route between the networkable network card and the wired network node eth1, to enable network packet transmission between the networkable network card and the wired network node eth1 through the first route, and then to enable the first device 500 to be connected to the first network.
The procedure for creating the first route between the networkable network card and the wired network node eth1 may be: firstly, creating a routing file; importing a route module for creating a route into a route file; introducing the name and the IP address of the node to be linked into the routing module, namely introducing the name and the IP address of the network card capable of networking and the wired network node eth1 to be routed; creating a routing path according to the name and the IP address of the network card capable of being connected with the network and the wired network node eth 1; creating a route object according to the created route path; the created routing object is exported to external use. After the first route between the networkable network card and the wired network node eth1 is created, as shown in the route diagram of fig. 8, the networkable network card may provide the network signal of the first network to the wired network node eth1 through the first route, so that the wired network node eth1 accesses the first network.
Therefore, before creating the first route, it is necessary to acquire the IP addresses of the networkable network card and the wired network node eth1, and then create the first route between the networkable network card and the wired network node eth1 according to the IP addresses of the networkable network card and the wired network node eth 1. The system can also configure an IP obtaining service for the network card capable of being connected, when the communication module provides the first network for the network card capable of being connected, the network card capable of being connected is started, then the IP is obtained through the dynamic host configuration protocol client, and the dynamic host configuration protocol server receives a request and sends the IP to the network card capable of being connected. After the networking network card acquires the IP, the information such as the IP is written into the networking network card, at the moment, the networking network card records a usable IP address, and a route between the networking network card and other nodes can be established by utilizing the IP address.
The IP address acquisition procedure of the wired network node eth1 may be: configuring a first gateway address for the wired network node; if a path is detected to be established between the wired network node and the first device 500, a second gateway address is configured for the first device 500 according to the first gateway address such that data packets are transmitted between the first device 500 and the wired network node using the path according to the first gateway address and the second gateway address.
In some embodiments, as shown in fig. 15, the wired network node eth1 may be a USB network card, the path includes the USB network card, a USB-to-LAN network card (ethernet controller ) and a LAN-to-USB network card (ethernet controller ), the USB network card is connected to the USB-to-LAN network card, the USB-to-LAN network card is connected to the LAN-to-USB network card, and the LAN-to-USB network card is connected to the first device, wherein the USB network card may convert a network signal into a USB signal, the USB-to-LAN network card may convert the USB signal into a network signal, and the LAN-to-USB network card may convert the network signal into a USB signal. The specific implementation process of the signal transmission is that the wired network node eth1 receives a first network signal, converts the first network signal into a first USB signal, and then transmits the first USB signal to the USB-to-LAN network card. And after the USB-to-LAN card converts the first USB signal into the second network signal, the second network signal is transmitted to the LAN-to-USB card. The LAN-to-USB network card converts the second network signal into a second USB signal, and then transmits the second USB signal to the first device 500. In this way a wired connection between the wired network node eth1 and the wired network card on the first device 500 can be achieved.
The embodiment of the application is based on Android native logic, and the network line identification function of the wired network node eth1 is filtered, namely if a wired network line is inserted into a port corresponding to the wired network node eth1, the insertion of the wired network line is not identified, and the wired network node eth1 is used as a node capable of sharing a network. After the Android system of the display device 200 is started, network sharing is started, then an IPserver is started, at this time, the Android system enters an IPserver state, and configuration and starting of a DHCP (Dynamic Host Configuration Protocol ) server are started. The DHCP is an application layer protocol, and when the system IP address of the display device 200 is set to be in a dynamic acquisition mode, the DHCP server allocates an IP to the client according to the DHCP protocol, so that the display device 200 can access the network using the allocated IP.
After the server allocates an IP address to the wired network node eth1 of the display device 200 based on DHCP, i.e., allocates the first gateway address, if a path is established between the detected first device 500 and the wired network node eth1 (when the first device 500 is connected to the wired network node eth1 through a network line, a path is established between the first device 500 and the wired network node eth 1), a flow of requesting the IP address may be started according to a flow of normally inserting the network line. Since the display device 200 shares a network to the first device 500 through the wired network node eth1, the IP address (second gateway address) and the IP address of eth1 that can be acquired by the first device 500 (wired network card of the first device 500) are IP addresses in one network. In this way, the cable network card and the cable network node eth1 of the first device 500 may perform transmission of the data packet.
After the networkable network card acquires the IP address and the wired network node eth1 acquires the allocated IP address, a first route between the networkable network card and the wired network node eth1 can be created. The networkable network card may then send a network signal via the first route to the first device 500 having established a path with the wired network node eth1, i.e. to enable the first device 500 to access the first network.
Step S300, creating a second route between the wired network node eth1 and the hot spot network node AP0, so that the first device 500 transmits a data packet to the second device 600 based on the second route and the first network, or the second device 600 transmits a data packet to the first device 500 based on the second route and the first network.
Based on step S100 and step S200, after the first device and the second device access to the first network, a second route between the wired network node eth1 and the hotspot network node AP0 needs to be created, so that after the first device 500 and the second device 600 access to the same local area network, based on the created second route, data transmission between the first device 500 and the second device 600 can be performed, and data sharing is achieved. As shown in the routing diagram of fig. 8, after the first device 500 and the second device 600 access the same lan, the first device 500 may transmit the network data packet to the second device 600 via the routing path of the second device 600 of the hotspot network node AP 0-the wired network node eth1, and the second device 600 may transmit the network data packet to the first device 500 via the routing path of the first device 500 of the hotspot network node AP 0-the wired network node eth1, so as to realize data sharing between the first device 500 and the second device 600.
The procedure of creating the second route between the wired network node eth1 and the hotspot network node AP0 may comprise: firstly, creating a routing file; importing a route module for creating a route into a route file; introducing names and IP addresses of nodes to be linked into a routing module, namely, introducing names and IP addresses of a wired network node eth1 and a hot spot network node AP0 to be routed; creating a routing path according to the names and the IP addresses of the hot-spot network node AP0 and the wired network node eth 1; creating a route object according to the created route path; the created routing object is exported to external use. Therefore, before creating the second route, it is also necessary to acquire the IP addresses of the hot spot network node AP0 and the wired network node eth1, and then create the first route between the hot spot network node AP0 and the wired network node eth1 according to the IP addresses of the hot spot network node AP0 and the wired network node eth 1.
As can be seen from the above technical solutions, in the data sharing method provided by the present application, the display device 200 includes at least one network card capable of being networked, and the communication module can provide a network for the display device through the network card capable of being networked; the first device 500 may connect to the network through the wired network node eth 1. The hot spot network node AP0, and the display apparatus 200 may provide a network to at least one second apparatus 600 through the hot spot network node AP 0. If it is detected that the communication module provides the first network to the networkable network card and that at least one second device 600 is connected to the hotspot network node AP0, the first network is provided to the second device 600 by the hotspot network node AP0, the second device 600 may access the first network. At this point a first route between the networkable network card and the wired network node eth1 is created and the first network is provided to the first device 500 via the first route, which first device 500 can then access. A second route is created between the wired network node eth1 and the hot spot network node AP0, and data packets can be transmitted between the first device 500 and the second device 600 based on the first network and the second route. According to the method and the device, the Android native packaged nodes are utilized, the routes between the nodes are set, so that the set route links are more stable, the situation that the script execution is limited to cause the route setting failure can be avoided, the route setting success rate is improved, and the success rate of data sharing among different devices is further improved.
In some embodiments, as shown in fig. 9, the display device 200 includes two networkable network cards, and the two networkable network cards are a wired network card and a wireless network card respectively, where the wired network card is connected to a wired communication module, and the wireless network card is connected to a wireless communication module. The networking situation of the entire data sharing system therefore exists in several ways:
as shown in the data sharing system frame diagram of fig. 10, if only the wireless communication module provides the wireless network to the wireless network card WLAN0, the system only detects that the wireless communication module provides the wireless network card WLAN0 with the network, and only the wireless network card WLAN0 up (normal operating state) is provided, the wireless network provided by the wireless communication module to the wireless network card WLAN0 is determined as the first network, the wireless network can be provided to the second device 600 through the hotspot network node AP0, and the second device 600 accesses the wireless network. Then a first route between the wireless network card WLAN0 and the wired network node eth1 is created, so that the wireless network card WLAN0 may provide the first device 500 with the wireless network through the first route, enabling the first device 500 and the second device 600 to access the same local area network. That is, the current wireless network card WLAN0 provides a network to the first device 500 through the wired network node eth1, and provides a network to the second device 600 through the hot spot network node AP 0.
As shown in the data sharing system frame diagram of fig. 11, if the wireless communication module provides the wireless network to the wireless network card WLAN0 and the wired communication module provides the wired network to the wired network card eth0, the system will detect that the wireless network card WLAN0 and the wired network card eth0 access the network at the same time, and at this time, the wireless network card WLAN0 and the wired network card eth0 are up at the same time. Since the wired network is generally more stable than the wireless network, only the wired network provided by the wired communication module to the wired network card eth0 is determined as the first network, which may be provided to the second device 600 through the hotspot network node AP0, and the second device 600 accesses the wired network. A first route between the wired network card eth0 and the wired network node eth1 is then created, so that the wired network card eth0 can provide the first device 500 with the wired network through the wired network node eth 1. The first device 500 and the second device 600 are enabled to access the same local area network. I.e. the current wired network card eth0 provides the first device 500 with a network via the wired network node eth1 and the second device 600 via the hot spot network node AP 0.
If only the wireless communication module provides the wired network to the wired network card eth0, the system only detects that the wired communication module provides the wired network to the wired network card eth0, and only the wired network card eth0 up is present at this time, the wired network provided by the wired communication module to the wired network card eth0 is determined as the first network, the wired network can be provided to the second device 600 through the hotspot network node AP0, and the second device 600 accesses the wired network. Then a first route between the wired network card eth0 and the wired network node eth1 is created, so that the wired network card eth0 can provide the first device 500 with the wired network through the first route, enabling the first device 500 and the second device 600 to access the same local area network. I.e. the current wired network card eth0 provides the first device 500 with a network via the wired network node eth1 and the second device 600 via the hot spot network node AP 0.
As shown in the data sharing system frame diagram of fig. 9, if neither the wired communication module nor the wireless communication module provides a network to the display device 200, both the wired network card and the wireless network card are down (neither are in a normal operation state), and at this time, data sharing between the first device 500 and the second device 600 cannot be achieved in the manner in the above-described embodiments. If the wireless communication module is currently providing a network to the display device 200, i.e. the first device 500 and the second device 600 are simultaneously accessing the network provided by the wireless network card WLAN 0. And it is detected that the wired communication module provides the network to the wired network card eth0, at this time, determining the network provided by the wireless communication module to the wireless network card WLAN0 as the first network may be canceled, and determining the wired network provided by the wired communication module to the wired network card eth0 as the first network again, and deleting the first route between the wireless network card WLAN0 and the wired network node eth1, thereby creating the first route between the wired network card eth0 and the wired network node eth 1. At this time, the network accessed by the first device 500 is switched to the network provided by the wired network card eth0, and at the same time, the network accessed by the second device 600 is also switched to the network provided by the wired network card eth 0. In this way, the original first device 500 and the second device 600 simultaneously access the network provided by the wireless network card, and the network provided by the first device 500 and the second device 600 simultaneously access the wired network card is changed.
In addition, if the current wired communication module and the wireless communication module simultaneously provide networks to the wired network card eth0 and the wireless network card WLAN0, respectively, the first device 500 and the second device 600 are provided with networks by the wired network card eth0 for wired connection such that the first device 500 and the second device 600 access the same local area network according to the above embodiments. During the packet transmission, the wired communication module suddenly fails, or the wired network card eth0 fails, resulting in the wired network card eth0 not providing a network to the first device 500 and the second device 600. At this time, after the system detects the fault, the wireless network card may be started, so that the wireless network card up provides a wireless network through the hot spot network node AP0, and after deleting the first route between the wired network card eth0 and the wired network node eth1, a first route between the wireless network card WLAN0 and the wired network node eth1 is created, so that the wireless network card WLAN0 may provide a wireless network to the first device 500 through the wired network node eth 1. Therefore, the method for creating the route can avoid the influence of script limitation on the success rate, and can also cope with the influence of network switching or network instability on the success rate of route creation, so that the success rate of route creation can be better improved, and the success rate of data sharing is improved.
In some embodiments, if there are at least two second devices 600 connected to the local area network accessed by the current display device 200 through the hotspot network node AP0, each of the at least two second devices 600 may implement mutual transmission of data packets with the first device 500. As shown in fig. 12, the controller of the display apparatus 200 may perform the following steps at this time:
step S201, displaying a device list on the display, where the device list includes at least two second devices 600; at least two second devices 600 may access the current hotspot network through the hotspot name and the hotspot password, the display device 200 detects the access signals of at least two second devices 600, the names of the second devices 600 accessing the hotspot network may be added to the device list, as shown in the user interface schematic diagram of fig. 13, and a prompt dialog box may be popped up in the user interface of the display device 200, where the prompt dialog box includes prompt information and the device list. The prompt information may be: there are currently devices that want data sharing, and devices that select data sharing. Through the list of devices, the user can determine which second devices currently have access to the hotspot network.
Step S202, receiving a selection instruction input by a user, wherein the selection instruction characterizes the selected second device in the device list; in the user interface shown in fig. 13, if the selector focus is on the device a, the user clicks the confirm button control, and then generates a corresponding selection instruction according to the operation input by the user, the selection instruction at this time characterizing the device a as the selected second device 600.
Step S203, according to the selection instruction, controls the first device to transmit a data packet to the selected second device based on the second route and the first network, or controls the selected second device to transmit a data packet to the first device based on the second route and the first network. Based on the example of step S202, the currently selected second device 600 is device a, so the control device a transmits a data packet to the first device 500 based on the second route and the first network, or the control device 500 transmits a data packet to the device a based on the second route and the first network. Thus, operation on the display device 200 may be implemented, controlling data sharing between different devices sharing a network of display devices 200. It should be noted that, if the display device 200 shares a network to one second device 600 through the hotspot network node AP0, the prompt dialog box shown in fig. 13 does not need to be popped up on the display device 200. The data sharing process between the first device 500 and the second device 600 may be performed directly.
In addition, the first device 500 may also share data with multiple second devices 600 at the same time. In the user interface shown in fig. 14, a check box is further provided after the device names of the device list, and if the user clicks the check box corresponding to the device name, it indicates that the device needs to be selected as the second device 600 to share data with the first device 500. The user may click on the check boxes corresponding to the device names at the same time, indicating that a plurality of devices need to be selected as the second device 600 to share data with the first device 500.
For example, the user clicks the check box corresponding to the device a and the check box corresponding to the device B, that is, needs to select the device a and the device B as the second device 600 to share data with the first device 500. After the user simultaneously checks the check box corresponding to the device a and the check box corresponding to the device B as the selected states, then clicks the confirm button control, and the selection instruction generated at this time characterizes that the device a and the device B are simultaneously selected as devices needing to share data with the first device 500. The display device 200 may send the selection instruction to the hotspot network node AP0, so that the hotspot network node AP0 may transmit the data packets sent by the device a and the device B to the first device 500 at the same time, so as to realize that the first device 500 performs data sharing with the device a and the device B at the same time.
In some embodiments, if there are multiple networking capable network cards providing a network to the display device 200, the type of data that the first device 500 or the second device 600 needs to share may be acquired in advance, and then different networking capable network cards may be selected according to different data types. For example, the current display device 200 is configured with a wired network card and a wireless network card, where the wired network provided by the wired network card is more stable than the wireless network provided by the wireless network card. If the display apparatus 200 acquires that the data to be shared by the first apparatus 500 or the second apparatus 600 is of the video type in advance, it is necessary to perform data sharing using a relatively stable wired network. The cable network card can be controlled to provide the first device 500 and the second device 600 with the cable network at the same time in the manner of the above-described embodiment. If the display device 200 realizes that the data to be shared by the first device 500 or the second device 600 is of a text type, the data sharing may be performed by using a wireless network. The wireless network card can be controlled to provide wireless networks for both the first device 500 and the second device 600 in the manner of the above-described embodiments.
Specific examples of the present application based on the above embodiments are as follows: the first device 500 is an ops computer, the second device 600 is a mobile phone terminal, and an IP address (for example 192.168.44.1, a subnet Mask of 255.255.255.0) is configured in advance for the wired network node eth1 of the display device 200. As shown in fig. 15 and 16, specific examples include the following steps:
In step S3010, after the display device 200 and the ops computer are powered on synchronously, the wired path from USB to LAN is valid, and at this time, the Android system of the display device 200 can detect the wired network node eth1 up.
Step S3011, after detecting that the path between the ops computer and the wired network node eth1 is open, the process of requesting the IP may be started according to the process of inserting the network cable normally, and finally the wired network card of the ops computer may obtain an IP address of 192.168.44 network segment, so that the process of implementing the sharing of the network by the display device 200 to the ops computer is completed.
Step S3012, configuring data forwarding of the wired network node eth1 (USB 1), configuring routing, and adding interception of other network nodes (interception of the upstream network relative to the wired network node eth1 includes interception of the wired network card eth0, wireless network card WLAN0 (USB 2), and AP 0).
Step S3013, if there is a change in the listening uplink network, adding a policy route of the uplink network to the wired network node eth1 so that the data packet can be transmitted from the wired network node eth1 to other nodes.
If the wired network card eth0 up is monitored, the IP address of the wired network card is obtained, and the route between the wired network card eth0 and the wired network node eth1 is configured, so that the data packet can be transmitted from the wired network card eth0 to the wired network node eth 1. If the wireless network card WLAN0 up is monitored, the IP address of the wireless network card is acquired, and the route between the wireless network card WLAN0 and the wired network node eth1 is configured, so that the data packet can be transmitted from the wireless network card WLAN0 to the wired network node eth 1. If the Android system of the display device 200 monitors that the hotspot is started, the IP address of the hotspot network node AP0 is obtained, and a route between the hotspot network node AP0 and the wired network node eth1 is configured, so that a data packet can be transmitted from the hotspot network node AP0 to the wired network node eth 1.
If the mobile phone terminal is connected to the network currently accessed by the display device 200 through the hot spot, the ops computer is also connected to the network currently accessed by the display device 200, so that the mobile phone terminal and the ops computer are accessed to the same local area network, and data sharing between the mobile phone terminal and the ops computer can be finally realized based on the route configured between the hot spot network node AP0 and the wired network node eth 1. The data sharing process may be that the mobile phone terminal projects the content being displayed on the display screen to the ops computer, or the ops computer projects the content being displayed on the display screen to the mobile phone terminal.
It should be noted that, after the ops computer and the mobile phone terminal access the same lan, and the route configuration between the hotspot network node AP0 and the limited network node eth1 is completed, the screen-throwing process may be performed without user operation. The route between the ops computer and the mobile phone terminal can also be set, for example, to allow only the ops computer to throw a screen to the mobile phone terminal, or to allow only the mobile phone terminal to throw a screen to the ops computer. Or the display device 200 may be configured to receive the contents displayed by the current display screens of the ops computer and the mobile phone terminal, and if the current display of the ops computer is video contents and the current display of the mobile phone terminal is not video contents, the video contents displayed by the current display of the ops computer are projected to the mobile phone terminal preferentially. If the current display of the mobile phone terminal is video content and the ops computer is currently black screen or the display of the mobile phone terminal is not video content, the video content currently displayed by the mobile phone terminal is preferably projected to the ops computer.
The same and similar parts of the embodiments in this specification are referred to each other, and are not described herein.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied essentially or in parts contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the embodiments or parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments 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, characterized by comprising:
a display;
at least one network card capable of being connected with a communication module, wherein the communication module can provide a network for the display equipment through the network card capable of being connected with the network;
a wired network node configured to connect to a first device, the first device being accessible to a network through the wired network node;
the hot spot network node is used for accessing the network by at least one second device through the hot spot network node;
a controller configured to:
providing a first network to the network card capable of being connected with the network, and providing the first network to the second device through the hot spot network node if the communication module is detected and at least one second device is connected to the hot spot network node, so that the second device is connected with the first network;
Creating a first route between the networkable network card and the wired network node, and providing the first network to the first device via the first route to enable the first device to access the first network;
creating a second route between the wired network node and the hotspot network node, so that the first device transmits a data packet to the second device based on the second route and the first network, or the second device transmits a data packet to the first device based on the second route and the first network.
2. The display device according to claim 1, wherein the controller performing control of the wired network node to connect the first device is configured to:
configuring a first gateway address for the wired network node;
if it is detected that a path is established between the wired network node and the first device, a second gateway address is configured for the first device according to the first gateway address, such that data packets are transmitted between the first device and the wired network node using the path according to the first gateway address and the second gateway address.
3. The display device according to claim 2, wherein the wired network node is a USB network card, the path comprises the USB network card, a USB-to-LAN network card, and a LAN-to-USB network card, the USB network card is connected to the USB-to-LAN network card, the USB-to-LAN network card is connected to the LAN-to-USB network card, the LAN-to-USB network card is connected to the first device, wherein the USB network card transmits a first USB signal to the USB-to-LAN network card, the USB-to-LAN network card converts the first USB signal to a network signal and then transmits the network signal to the LAN-to-USB network card, and the LAN-to-USB network card converts the network signal to a second USB signal and then transmits the second USB signal to the first device.
4. The display device of claim 2, wherein after the controller performs configuring the first device with a second network address according to the first gateway address, is further configured to:
registering a listening event for at least one of the networkable network cards, wherein the listening event is used to detect whether the communication module provides a network to the networkable network card.
5. The display device according to claim 1, wherein the display device comprises two network cards capable of being connected with each other, and the two network cards capable of being connected with each other are a wired network card and a wireless network card, wherein the wired network card is connected with a wired communication module, and the wireless network card is connected with a wireless communication module;
The controller is configured to:
if it is detected that the wired communication module provides a network to the wired network card while it is detected that the wireless communication module provides a network to the wireless network card, determining the network provided by the wired communication module to the wired network card as the first network and creating the first route between the wired network card and the wired network node.
6. The display device of claim 5, wherein the controller is further configured to:
if it is detected that the wireless communication module provides a network to the wireless network card, if it is not detected that the wired communication module provides a network to the wired network card, determining the network provided by the wireless communication module to the wireless network card as the first network, and creating the first route between the wireless network card and the wired network node.
7. The display device of claim 6, wherein the controller is further configured to:
when the wireless communication module provides a network to the display device through the wireless network card, if the wired communication module is detected to provide the network to the wired network card, determining the network provided by the wireless communication module to the wireless network card as the first network is canceled, determining the network provided by the wired communication module to the wired network card as the first network again, deleting the first route between the wireless network card and the wired network node, and creating the first route between the wired network card and the wired network node.
8. The display device of claim 1, wherein the controller executing the providing of the first network to the second device through the hotspot network node is configured to:
when the hot spot network node is started, a third gateway address is configured for the hot spot network node;
and when the second equipment is connected to the hot spot network node, configuring a fourth gateway address for the second equipment according to the third gateway address so that the second equipment accesses the first network by using the fourth gateway address.
9. The display device of claim 1, wherein if the controller provides the first network to at least two of the second devices through the hotspot network node, the controller is further configured to:
displaying a list of devices on the display, wherein the list of devices comprises at least two of the second devices;
receiving a selection instruction input by a user, wherein the selection instruction characterizes the selected second device in the device list;
and according to the selection instruction, controlling the first device to transmit data packets to the selected second device based on the second route and the first network, or controlling the selected second device to transmit data packets to the first device based on the second route and the first network.
10. The data sharing method is characterized by being applied to a controller of a display device, wherein the display device further comprises at least one networking network card, the networking network card is connected with a communication module, and the communication module can provide a network for the display device through the networking network card; a wired network node configured to connect to a first device, the first device being accessible to a network through the wired network node; the hot spot network node is used for accessing the network by at least one second device through the hot spot network node;
the data sharing method comprises the following steps:
providing a first network to the network card capable of being connected with the network, and providing the first network to the second device through the hot spot network node if the communication module is detected and at least one second device is connected to the hot spot network node, so that the second device is connected with the first network;
creating a first route between the networkable network card and the wired network node, and providing the first network to the first device via the first route to enable the first device to access the first network;
creating a second route between the wired network node and the hotspot network node, so that the first device transmits a data packet to the second device based on the second route and the first network, or the second device transmits a data packet to the first device based on the second route and the first network.
CN202311107340.XA 2023-08-30 2023-08-30 Data sharing method and display device Pending CN117615214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311107340.XA CN117615214A (en) 2023-08-30 2023-08-30 Data sharing method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311107340.XA CN117615214A (en) 2023-08-30 2023-08-30 Data sharing method and display device

Publications (1)

Publication Number Publication Date
CN117615214A true CN117615214A (en) 2024-02-27

Family

ID=89954867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311107340.XA Pending CN117615214A (en) 2023-08-30 2023-08-30 Data sharing method and display device

Country Status (1)

Country Link
CN (1) CN117615214A (en)

Similar Documents

Publication Publication Date Title
CN111459433B (en) Screen transmission method, device and storage medium
US9407600B2 (en) Service access method and device for conducting the same
JP4038221B2 (en) Relay device and connection method between client device and server
CN114286165B (en) Display equipment, mobile terminal, and screen-throwing data transmission method and system
US20070121527A1 (en) System and method for remote dynamic network configuration
US10194047B2 (en) Information processing device and non-transitory recording medium
WO2019128273A1 (en) Method, device and system for determining connection relation of network devices
TW201027416A (en) Systems and methods for iconic graphical user interface and embedded device manager
WO2020038443A1 (en) Bridging communication method and device
JP2005516439A (en) Control device and control method for device connected to wired network
KR101853398B1 (en) Method and system for registering server connection of IoT device using smartphone application
EP2670107B1 (en) Communication method for wireless terminal and host device, and wireless terminal and host device
CN113552808A (en) Network distribution method for electronic home equipment, electronic home equipment and mobile terminal
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
CN117615214A (en) Data sharing method and display device
WO2023273799A1 (en) Communication method and apparatus for external devices, electronic device, and storage medium
CN116233506A (en) Display device, mobile terminal and method for adjusting resolution according to signal intensity
JP6086183B2 (en) Information processing system, information processing method, server, control method thereof, and control program
JP2004280636A (en) Information processing system including communication connection type information processing apparatus excluding user interface and its control method
CN114885193A (en) Display device, terminal device and screen projection method
JP6052876B2 (en) Relay device, control method thereof, and control program thereof
CN107332941A (en) A kind of method, device and pattern of fusion gateway for configuring IP address, obtaining IP address
CN113965350A (en) Terminal device and login control method of terminal device
CN113810771B (en) Display device and display method of network connection diagnosis result
CN117615201A (en) Terminal equipment and wired network sharing method

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