WO2025035889A1 - 显示设备及用于显示设备的数据处理方法 - Google Patents

显示设备及用于显示设备的数据处理方法 Download PDF

Info

Publication number
WO2025035889A1
WO2025035889A1 PCT/CN2024/095566 CN2024095566W WO2025035889A1 WO 2025035889 A1 WO2025035889 A1 WO 2025035889A1 CN 2024095566 W CN2024095566 W CN 2024095566W WO 2025035889 A1 WO2025035889 A1 WO 2025035889A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
display device
network node
communication module
wired
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
PCT/CN2024/095566
Other languages
English (en)
French (fr)
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
Priority claimed from CN202311021383.6A external-priority patent/CN117061811A/zh
Priority claimed from CN202311107340.XA external-priority patent/CN117615214A/zh
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202480030703.0A priority Critical patent/CN121176024A/zh
Publication of WO2025035889A1 publication Critical patent/WO2025035889A1/zh
Anticipated expiration legal-status Critical
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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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
    • 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
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present application relates to the technical field of display devices, and in particular to a display device and a data processing method for the display device.
  • the network card configured for the display device may generally include a wired network card and a wireless network card.
  • the network card of the display device is only allocated a network card address for network positioning based on the network protocol, that is, an Internet Protocol address (IP) address, to achieve network communication between the display device and other devices in the network.
  • IP Internet Protocol address
  • the display device After the display device is connected to the network, it can also share the network with external devices. After different external devices obtain the network shared by the display device, the routes between the network ports of these external devices to obtain the shared network can also be set, so that network data packets can be transmitted between different external devices, thereby realizing data sharing between different external devices.
  • it is usually in the form of scripts to set the routes between the network ports of different external devices to obtain the shared network.
  • the principle of setting the route through the script is to use the existing debugging program of the Android platform to set the command line line by line, so it is actually to use fixed code logic to set the route.
  • the link is unstable, and if the Android system of the display device turns on the Enforcing mode of selinux (file access security policy) permissions, the script execution may be restricted, resulting in the inability to set the routes between the network ports for different external devices to obtain the shared network, which in turn causes data sharing failure.
  • selinux file access security policy
  • a display device may include: a display; at least one network card that can be connected to the network, the network card being connected to a communication module, the communication module being configured to provide a network to the display device through the network card; a wired network node that can be configured to connect to a first device, the first device being able to access the network through the wired network node; a hotspot network node, at least one second device being able to access the network through the hotspot network node; a memory that can be configured to store computer instructions and/or data associated with the display device; at least one processor that is connected to the memory and the communication module and can be configured to execute the computer instructions to cause the display device to execute: if it is detected that the communication module is sending a signal to the display device, The networkable network card provides a first network, and at least one of the second devices is connected to the hotspot network node, and the first network is provided to the second device through the hotspot network node, so that the second device access
  • the display device may include at least one network card that can be connected to the network, the network card is connected to a communication module, and the communication module can be configured to provide a network to the display device through the network card; a wired network node that can be configured to connect a first device, and the first device can access the network through the wired network node; a hotspot network node, and at least one second device can access the network through the hotspot network node; the method may include: if it is detected that the communication module provides the first network to the network card, and at least one second device is connected to the hotspot network node, through the hotspot network node The method comprises the steps of: providing the first network to the second device at the hotspot point so that the second device accesses 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 through the first route so that the first device accesses the
  • FIG1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to some embodiments of the present application
  • FIG2 is a hardware configuration block diagram of a control device according to some embodiments of the present application.
  • FIG3 is a hardware configuration block diagram of a display device according to some embodiments of the present application.
  • FIG4 is a software configuration diagram of a display device according to some embodiments of the present application.
  • FIG5 is a schematic diagram of device connections in a data sharing system according to some embodiments of the present application.
  • FIG6 is a schematic diagram of a data sharing system framework according to some embodiments of the present application.
  • FIG7 is a schematic flow chart of a data processing method for a display device according to some embodiments of the present application.
  • FIG8 is a schematic diagram of a path of a first route and a second route according to some embodiments of the present application.
  • FIG9 is a schematic diagram of another data sharing system framework according to some embodiments of the present application.
  • FIG10 is a schematic diagram of another data sharing system framework according to some embodiments of the present application.
  • FIG11 is a schematic diagram of another data sharing system framework according to some embodiments of the present application.
  • FIG12 is a schematic diagram of a method flow of selecting a second device for data sharing according to some embodiments of the present application.
  • FIG13 is a schematic diagram of a user interface of a display device according to some embodiments of the present application.
  • FIG14 is a schematic diagram of a user interface of another display device according to some embodiments of the present application.
  • FIG15 is a schematic diagram of another data sharing system framework according to some embodiments of the present application.
  • FIG16 is a schematic flow chart of another data processing method for a display device according to some embodiments of the present application.
  • FIG17 is a schematic diagram of software configuration related to simultaneous screen projection in a display device according to some embodiments of the present application.
  • FIG18 is a flow chart of another data processing method for a display device according to some embodiments of the present application.
  • FIG19 is a schematic diagram of a display interface of a display device according to some embodiments of the present application.
  • FIG20 is a schematic diagram of a display interface of another display device according to some embodiments of the present application.
  • FIG21 is a schematic flow chart of yet another method for processing data for a display device according to some embodiments of the present application.
  • FIG22 is a schematic diagram of a display interface of another display device according to some embodiments of the present application.
  • FIG23 is a schematic flow chart of yet another method for processing data for a display device according to some embodiments of the present application.
  • FIG24 is a schematic flow chart of yet another method for processing data for a display device according to some embodiments of the present application.
  • FIG. 25 is a flow chart of yet another data processing method for a display device according to some embodiments of the present application.
  • the display device provided in the embodiment of the present application may have various implementation forms, for example, it may be a television, a smart television, a laser projection device, a monitor, an electronic whiteboard (electronic bulletin board), an electronic table (electronic table), etc.
  • FIG. 1 and FIG. 2 are a specific implementation of the display device of the present application.
  • Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments of the present application. As shown in Fig. 1 , a user can operate a display device 200 through a smart terminal 300 and a control device 100 .
  • the control device 100 may be a remote controller, and the communication between the remote controller and the display device may include infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, to control the display device 200 wirelessly or wired.
  • the user can input user instructions through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200.
  • the user can control the display device 200 to switch the displayed page through the navigation keys (such as the up key, down key, left key, and right key) on the remote controller.
  • the zoom level of the display page of the display device 200 is adjusted through the volume plus and minus keys.
  • the user can start the target application (such as a wireless screen transmission application) through the navigation keys on the remote controller.
  • a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) can also be used to control the display device 200.
  • the display device 200 is controlled using an application running on the smart device, which can be configured to provide the user with various controls in an intuitive user interface on a screen associated with the smart device 300.
  • the display device 200 is controlled using an application running on the smart device 300.
  • the smart device 300 can connect and communicate with the software application installed on the display device 200 through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. For example, it is possible to establish a control instruction protocol between the smart device 300 and the display device 200, synchronize the remote control keyboard to the smart device 300, and control the user interface on the smart device 300 to achieve the function of controlling the display device 200, or the content displayed on the smart device 300 can be transmitted to the display device 200 to achieve the function of synchronous display.
  • the display device may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
  • the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300.
  • the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
  • the display device 200 also communicates data with the server 400 through a variety of communication methods.
  • the display device 200 may be allowed to communicate and connect via a local area network (LAN), a wireless local area network (WLAN), and other networks.
  • the server 400 may provide various content and interactions to the display device 200.
  • the display device 200 receives software program updates or accesses a remotely stored digital media library by sending and receiving messages and interacting with an electronic program guide (EPG).
  • EPG electronic program guide
  • the server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
  • the display device 200 may be a liquid crystal display, an organic light-emitting diode (OLED) display, a projection display device, or a smart terminal such as a mobile phone or a tablet computer.
  • OLED organic light-emitting diode
  • the specific display device type, size, and resolution are not limited.
  • FIG2 is a block diagram of the hardware configuration of a control device according to some embodiments of the present application.
  • the control device 100 may include at least one processor 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply.
  • the control device 100 may receive an input operation instruction from a user, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, thereby acting as an interactive intermediary between the user and the display device 200.
  • FIG3 is a hardware configuration block diagram of a display device according to some embodiments of the present application.
  • the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, an external device interface 240, at least one processor 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280.
  • the display 260 may include a display screen component for presenting images, a driving component for driving image display, a component for receiving an image signal outputted from at least one processor, and a component for displaying video content, image content, and a menu control interface, and a user control UI interface.
  • the display 260 may be a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
  • the display 260 may be used to display a display interface of an application program, which may be any page in the application program.
  • the display 260 may be used to receive audio and video signals output by the audio processor and the video processor, display video content and images, play audio of video content, and display components of a menu control interface.
  • the display 260 may be used to present a user operation UI interface generated in the display device 200 and used to control the display device 200 .
  • the communication device 220 is a component for communicating with an external device or server according to various communication protocol types.
  • the communication device may include a wireless communication (Wire Fidelity, Wifi or WiFi or Wi-Fi) module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chips or near field communication protocol chips, and at least one of an infrared receiver.
  • the display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communication device 220.
  • the user interface 280 may be used to receive a control signal from the control device 100 (eg, an infrared remote controller, etc.).
  • the control device 100 eg, an infrared remote controller, etc.
  • the detector 230 is used to collect signals of the external environment or interaction with the outside.
  • the detector may include a light receiver, a sensor for collecting the intensity of ambient light, and adaptively adjusting display parameters according to the intensity of ambient light, etc.; or, the detector may include a temperature sensor for sensing the ambient temperature, so that the display device 200 can adaptively adjust the display color temperature of the image, such as when the ambient temperature is high, the color temperature of the image displayed by the display device 200 can be adjusted to a cold tone, or when the ambient temperature is low, the color temperature of the image displayed by the display device 200 can be adjusted to a warm tone; or, the detector may include an image collector, such as a camera, a webcam, etc., which can be used to collect external environmental scenes, user attributes or user interaction gestures to adaptively change display parameters, and can also recognize user gestures to achieve the function of interacting with the user; or, the detector may include a sound collector, such as a microphone, etc., for receiving external sounds. For example, it may
  • the external device interface 240 may include, but is not limited to, any one or more of the following interfaces: a high definition multimedia interface (HDMI), an analog or digital high definition component input interface (component), a composite video input interface (CVBS), a universal serial bus (USB) input interface, an RGB port, etc. It may also be a composite input/output interface formed by the above multiple interfaces.
  • HDMI high definition multimedia interface
  • CVBS composite video input interface
  • USB universal serial bus
  • the tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
  • the frequency demodulated by the tuner-demodulator 210 is controlled by at least one processor 250, and the at least one processor 250 can send a control signal based on the user's selection to enable the modem to respond to the TV signal frequency selected by the user and modulate and demodulate the TV signal carried by the frequency.
  • Broadcast television signals can be classified into terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals or Internet broadcast signals according to different broadcasting formats of television signals. Or they can be classified into digital modulation signals, analog modulation signals, etc. according to different modulation types. Or they can be classified into digital signals, analog signals, etc. according to different signal types.
  • At least one processor 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be in an external device of the main device where the at least one processor 250 is located, such as an external set-top box.
  • At least one processor 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. At least one processor 250 controls the overall operation of the display device 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, at least one processor 250 can perform operations related to the object selected by the user command.
  • the user can input user commands in the graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user input interface recognizes the sounds or gestures through sensors to receive the user input commands.
  • GUI User Interface
  • GUI is a medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users.
  • the commonly used form of user interface is GUI, which refers to the user interface related to computer operation displayed in a graphical way. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control may include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets (Web widget, Widget) and other visual interface elements.
  • the processor may include at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), a random access memory (RAM), a read-only memory (ROM), a first interface to an nth interface for input/output, a communication bus (Bus), etc.
  • CPU central processing unit
  • video processor video processor
  • audio processor audio processor
  • graphics processing unit GPU
  • RAM random access memory
  • ROM read-only memory
  • a first interface to an nth interface for input/output a communication bus (Bus), etc.
  • RAM can be used to store temporary data of the operating system or other running programs;
  • ROM can be used to store various system startup instructions, for example, it can be used to store a basic input and output system, called a basic input and output system (BIOS) startup instruction.
  • BIOS basic input and output system
  • ROM can be used to complete the power-on self-test of the system, the initialization of each functional module in the system, the basic input/output driver of the system and the booting of the operating system.
  • the display device 200 starts to power on, and the central processing unit (CPU) runs the system startup instruction in the ROM, and copies the temporary data of the operating system stored in the memory to the RAM to start or run the operating system.
  • the central processing unit copies the temporary data of various application programs in the memory to the RAM, and then starts or runs various application programs.
  • the central processing unit can be used to execute operating system and application instructions stored in the memory, as well as execute various applications, data and content based on various interactive instructions received from external input, so as to ultimately display and play various audio and video content.
  • the central processing unit may include multiple processors.
  • the multiple processors may include a main processor and one or more sub-processors.
  • the main processor is used to perform some operations of the display device 200 in the pre-power-on mode and/or the operation of displaying the picture in the normal mode.
  • the one or more sub-processors are used for an operation in the standby mode and the like.
  • the video processor can be configured to receive an external video signal and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, transparency setting, image synthesis, etc. according to the standard codec protocol of the input signal, to obtain a signal that can be directly displayed or played on the display device 200.
  • video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, transparency setting, image synthesis, etc. according to the standard codec protocol of the input signal, to obtain a signal that can be directly displayed or played on the display device 200.
  • the video processor may include a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, etc.
  • the demultiplexing module is used to demultiplex the input audio and video data streams.
  • the demultiplexing module will demultiplex it into video signals and audio signals, etc.
  • the video decoding module is used to process the demultiplexed video signal, which may include decoding and scaling processing, transparency setting, etc.
  • An image synthesis module such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to the user input or itself with the scaled video image to generate an image signal for display.
  • a frame rate conversion module is used to convert the input video frame rate, such as converting the 60Hz frame rate to 120Hz frame rate or 240Hz frame rate. The usual format is implemented by interpolation.
  • a display formatting module is used to receive the video output signal after frame rate conversion and change the signal to conform to the display format signal, such as outputting an RGB data signal.
  • the audio processor can be used to receive external audio signals, perform decompression and decoding according to the standard codec protocol of the input signal, as well as noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.
  • the video processor may include one or more chips.
  • the audio processor may also include one or more chips.
  • the video processor and the audio processor may be a separate chip, or may be integrated with at least one processor in one or more chips.
  • the input/output interface can be used to perform audio output, that is, at least one processor
  • the audio signal output by the audio processor is received under the control of 250, and is output to an external device such as a speaker, and in addition to the speaker carried by the display device 200 itself, it can be output to an external audio output terminal of a generating device of an external device, such as an external audio interface or a headphone interface.
  • the audio output may also include a short-range communication device in the communication interface, such as a Bluetooth module for the sound output of a speaker connected to Bluetooth.
  • the graphics processor may be used to generate various graphic objects, such as icons, operation menus, and user input command display graphics.
  • the graphics processor may include an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes. It may also include a renderer, which renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.
  • the graphics processor and the video processor may be integrated or separately configured.
  • the graphics processor may process graphics signals output to a display, and when separately configured, the graphics processor and the video processor may respectively perform different functions, such as a graphics processor (GPU) + frame rate conversion technology (FRC) architecture.
  • GPU graphics processor
  • FRC frame rate conversion technology
  • the memory may include various software modules for driving the display device 200.
  • the various software modules stored in the first memory may include at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.
  • the basic module is a bottom-level software module that can be used for signal communication between various hardware in the display device 200 and send processing and control signals to upper-level modules.
  • the detection module is a management module that can be used to collect various information from various sensors or user input interfaces, and perform digital-to-analog conversion and analysis management.
  • the power supply may provide power to the display device 200 through power input from an external power source under the control of the at least one processor 250 .
  • the display device 200 can receive control operations input by the user on the display interface by adding a receiver.
  • the touch component can form a touch screen together with the display 260.
  • the user can input different control instructions through touch operations, such as the user can input touch instructions such as click, slide, long press, double click, etc.
  • touch instructions can represent different control functions.
  • the touch component can generate different electrical signals when the user inputs different touch actions, and send the generated electrical signals to at least one processor 250.
  • At least one processor 250 can extract features from the received electrical signals, thereby determining the control function to be executed by the user based on the extracted features.
  • the receiver may also be an external control component connected to the display 260.
  • the receiver may be a mouse connected to the display.
  • the user may input different control instructions through the mouse, such as click, slide, switch and other operation instructions.
  • the external control component may generate different control signals in response to the user's control operation, and send the generated control signals to at least one processor 250.
  • the at least one processor 250 may extract features of the received control signal, thereby determining the control function to be executed by the user according to the extracted features.
  • the receiver may also be a control component connected to the display 260.
  • the control component may be a keyboard connected to the display.
  • the user may input different control instructions through the keyboard, such as click, slide, switch and other operation instructions.
  • the user may input click instructions, slide instructions, switch instructions and the like through corresponding shortcut keys.
  • the user may trigger a slide operation by selecting the "Tab" key and the direction key, that is, when the user selects the "Tab" key and the direction key on the keyboard at the same time, at least one processor 250 may receive the key signal and determine that the user has triggered a slide operation. Then, the user may control the movement of the position mark in the display interface through the direction key.
  • At least one processor 250 may judge the slide direction and slide distance of the slide instruction according to the position change of the position mark triggered by the user through the direction key, and control the page turning or scrolling of the display interface in the media display page to display more media options.
  • the display device system can be divided into three layers, namely, the application layer, the middleware layer, and the hardware layer from top to bottom.
  • the application layer mainly includes commonly used applications on the TV and the application framework. Among them, commonly used applications are mainly applications developed based on the browser, such as HTML5 APPs; and native applications Native APPs.
  • the Application Framework is a complete program model that has all the basic functions required by standard application software, such as file access, data exchange, etc., as well as the user interfaces of these functions (toolbars, status bars, menus, dialog boxes). Native APPs can support online or offline, message push or local resource access.
  • the middleware layer may include middleware such as various TV protocols, multimedia protocols and system components.
  • the middleware can use the basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so as to achieve the purpose of resource sharing and function sharing.
  • the hardware layer may mainly include the HAL interface, hardware and drivers, among which the HAL interface is a unified interface for all TV chips to connect, and the specific logic is implemented by each chip.
  • Drivers may mainly include: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
  • a network card also known as a network adapter or network interface card (NIC) is a device that connects a computer or display device to a local area network.
  • the network card is inserted into the expansion slot of a computer, display device or server, and exchanges data and shares resources with the network through a network cable.
  • the network card can encapsulate the computer's data into frames and send the data to the network through a network cable (electromagnetic waves for wireless networks); the network card can also receive frames transmitted from other devices on the network, and reassemble the frames into data and send it to the device where the network card is located.
  • Network cards are divided into wired network cards and wireless network cards, namely LAN network cards and WLAN network cards.
  • a LAN network card can provide a wired network through a wired communication module, allowing the device to access the local area network through a wired method.
  • a WLAN network card can provide a wireless network through a wireless communication module, allowing the device to access the local area network wirelessly.
  • Network nodes, network nodes and routers are key components for the realization of the Internet, and they can realize the transmission and routing of data in the Internet.
  • a network node can be a network device in the Internet. It can be a network device such as a computer, server, router, switch, or a port on a network device for transmitting or receiving data packets.
  • Network nodes can identify and communicate with each other through the Internet Protocol, and each network node has a unique IP address to identify its location in the Internet.
  • the wired network node involved in some embodiments of the present application is a network port that requires a wired connection. After the device is wired to the network port, it can obtain a network signal from the network port, thereby achieving the purpose of accessing the network.
  • USB network card that is, a network card with a USB interface.
  • Hotspot network nodes namely wireless access points (AP) can be used by devices to achieve network sharing.
  • Network sharing means that devices with communication capabilities convert the General Packet Radio Service (GPRS), third generation (3G) or fourth generation (4G) signals they receive into Wi-Fi signals and send them out, so that other devices with WiFi modules can also use the network of the display device to access the Internet.
  • GPRS General Packet Radio Service
  • 3G Third Generation
  • 4G fourth generation
  • the device sharing the network is equivalent to a wireless AP.
  • the device needs to turn on the WLAN hotspot function to achieve network sharing.
  • Routing is the path information that guides the sending of IP messages, that is, the path information that guides how to send data messages (data packets) between nodes. To determine the path information, you need to know the address of the port, so the two conditions for generating routes between nodes (ports) are: the port is open and the port is equipped with an IP address. Routing is divided into dynamic routing and static routing. Dynamic routing means that the router can automatically check its own routing table and can dynamically adjust it according to the actual situation; static routing is fixed and will not change with the actual network status.
  • the terminal device after accessing the network, can also share the network with external devices. Different external devices are connected to the same local area network, and the routes between the network ports of these external devices to obtain the shared network can be set so that network data packets can be transmitted between these external devices, thereby realizing data sharing between different external devices.
  • the display device 200 can share the network to which it is connected to with the first device 500 through a wired network port, that is, after the first device 500 is connected to the display device 200 using a wired connection, it obtains a network signal from the display device 200 and accesses the same local area network.
  • the display device 200 itself can also emit a hotspot, and the second device 500 obtains a network signal after connecting to the hotspot and can also access the same local area network.
  • a route can be set between the network port connected to the first device 500 and the network connected to the second device 600. In this way, the network data
  • the data packet can be transmitted between the first device 500 and the second device 600, thereby realizing data sharing between the first device 500 and the second device 600.
  • the route between the network port connected to the first device 500 and the network port connected to the second device can be set in the form of a script.
  • the principle of using a script to set the route is to use the existing debugging program of the Android platform (taking the system of the display device as the Android system as an example) to set the command line line by line.
  • the existing debugging program of the Android platform taking the system of the display device as the Android system as an example
  • Based on the fully understood information of the link it is also necessary to set it step by step according to the needs. Therefore, in fact, using a script to set the route requires relying on a large amount of fixed code logic. If there is a path in the link required for setting the route that is not fully considered, it will cause the route setting to fail, and then cause the data sharing to fail.
  • the essence of a script is a combination of commands.
  • the actual need to start a script depends on the logic of the Framework layer. After the Framework layer receives the broadcast of the network connection, it needs to start the service registered by the system, and then execute the shell script (programmed script) through the service. It can be seen that the process of executing the script is relatively complicated. If the user frequently disconnects from the network, it is necessary to frequently register the service. Too frequent registration behavior may cause the service registration to fail, resulting in the inability to execute the shell script, which in turn causes the failure of routing settings and ultimately the failure of data sharing.
  • a display device may include: a display; at least one network card that can be connected to the network, the network card being connected to a communication module, the communication module being configured to provide a network to the display device through the network card; a wired network node that can be configured to connect to a first device, the first device being able to access the network through the wired network node; a hotspot network node, at least one second device being able to access the network through the hotspot network node; a memory that can be configured to store computer instructions and/or data associated with the display device; at least one processor that is connected to the memory and the communication module and can be configured to execute the computer instructions to cause the display device to execute: if the communication module is detected A first network is provided to the networkable network card, and at least one of the second devices is connected to the hotspot network node, and the first network is provided to the second device through the hotspot network node, so that the second device accesses the first network
  • Figure 6 is a schematic diagram of the data sharing system framework according to some embodiments of the present application.
  • Figure 7 is a flow chart of a data processing method for a display device according to some embodiments of the present application, which is used to realize data sharing.
  • the data sharing system may mainly include: a display device 200, a first device 500, and a second device 600.
  • the display device 200 may include at least one network card, a wired network node eth1, and a hotspot network node AP0.
  • the network card is connected to a communication module, and the communication module may provide a network to the display device 200 through the network card.
  • the first device 500 is connected to the wired network node eth1, and the first device 500 may access the network through the wired network node eth1.
  • the display device 200 may also provide a network to at least one second device 600 through the hotspot network node AP0, that is, at least one second device 600 may access the network through the hotspot network node AP0.
  • the display device 200 at this time is a wireless AP
  • the hotspot network node AP0 is an AP node.
  • the wired network node eth1, the hotspot network node AP0, and the network card are all arranged on a system-on-a-Chip (SOC) chip.
  • SOC system-on-a-Chip
  • At least one processor may be configured to execute computer instructions stored in a memory to enable the display device to perform the following steps, including but not limited to, to achieve data sharing:
  • Step S100 If it is detected that the communication module provides the first network to the network card, and at least one second device is connected to the hotspot network node AP0, the first network is provided to the second device through the hotspot network node AP0 so that the second device can access the first network.
  • the network card capable of networking may be a wired network card or a wireless network card.
  • execute step S100' continuously determine whether the communication module provides the first network to the network card capable of networking. If the network card capable of networking is a wired network card, the wired communication module provides the network to the display device through the wired network card, that is, the display device The system can 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 the network to the display device through the wireless network card, that is, the system of the display device can access the wireless network provided by the wireless communication module through the wireless network card.
  • the communication module used can be a Zigbee wireless communication device (Zigbee is a low-power LAN protocol based on the IEEE802.15.4 standard, and ZigBee technology is a short-range, low-power wireless communication technology), a 4G or 5G communication module, a wireless WiFi module, etc. These communication modules can establish communication with the base station and then provide a network for the display device.
  • the communication module that provides the network for the wireless network card is a wireless communication module, such as a wireless WiFi module; if the networkable network card is a wired network card, the communication module that provides the network for the wired network card is a wired communication module, such as a routing device that uses a physical medium (such as a network cable, etc.) to connect to a communication and networking function, and the routing device can be regarded as a wired communication module.
  • the Android system of the display device can create at least one monitoring service for monitoring the network card that can be connected to the network, and the monitoring service is used to determine whether the communication module provides the first network to the network card. If the communication module provides the first network to the network card, the network card can receive a data packet from the communication module, so the monitoring service can monitor whether the network card receives a data packet transmitted from the communication module to determine whether the communication module provides the first network to the network card. If it is monitored that the network card obtains a data packet from the communication module, a monitoring event can be generated, and the display device determines that the communication module provides the first network to the network card based on the monitoring event. If the display device includes multiple network cards that can be connected to the network, the generated monitoring event can be marked with the network card identifier of the network card, and based on the network card identifier, the display device can determine which network card is provided with the first network.
  • the SOC chip of the display device is configured with network card A, network card B and network card C. If the communication module provides the first network to the network card A, the monitoring service can mark the network card identification A of the network card A on the monitoring event when generating the monitoring event. After receiving the monitoring event, the display device can judge that the communication module provides the first network to the network card A according to the network card identification A carried by the monitoring event. In this way, the route between the network card that has been connected to the network and the first network node can be accurately set.
  • the monitoring service can generate two monitoring events: a first monitoring event and a second monitoring event, wherein the first monitoring event carries the network card identification A of the network card A, and the second monitoring event carries the network card identification B of the network card B.
  • the display device can judge that the communication module provides the first network to the network card A and the network card B according to the first monitoring event and the second monitoring event.
  • the system can also configure a service for obtaining an IP for the networkable network card.
  • the service for obtaining an IP will query whether the first network node of the networkable network card exists, that is, the first network node of the networkable network card is in the up state (normal working state). If the first network node of the networkable network card exists, it means that the first network node corresponding to the networkable network card is ready, and then the networkable network card is started, and the IP is obtained through the dynamic host configuration protocol client.
  • the dynamic host configuration protocol server receives the request and sends the IP to the networkable network card. After the networkable network card obtains the IP, the IP and other information are written into the networkable network card. At this time, the process of the communication module providing the first network to the networkable network card is completed.
  • the display device After detecting that the communication module provides the first network to the networkable network card, it is necessary to continue to determine whether there is at least one second device connected to the hotspot network node AP0. If the communication module provides the first network to the networkable network card, the display device is connected to the first network at this time. If the display device has the hotspot function turned on (and is set to AP mode instead of STA (station) mode), the first network can also be shared to at least one second device through the hotspot function.
  • the second device refers to a device connected to the hotspot network node AP0, that is, a device connected to the hotspot turned on by the display device at this time.
  • the way in which the second device connects to the hotspot of the display device may include but is not limited to the following: after the display device turns on the hotspot function, the display device can convert the network signal of the connected first network into a Wi-Fi signal and then send it out. After the second device searches for the Wi-Fi signal shared by the display device through the hotspot, it can access the hotspot Wi-Fi by entering the hotspot name and hotspot password of the hotspot Wi-Fi on the user interface of the second device, thereby achieving the purpose of the second device accessing the first network through the hotspot network node AP0.
  • the process of configuring an IP address for the second device may include but is not limited to the following: when the hotspot network node AP0 is turned on, configure a third when the second device is connected to the hotspot network node AP0, a fourth gateway address is configured for the second device according to the third gateway address, so that the second device accesses the first network using the fourth gateway address.
  • an IP address (third gateway address) can be configured for the hotspot network node AP0.
  • the networkable network card can 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 sends it out.
  • the second device can connect to the hotspot network node AP0 using the hotspot name and hotspot password when searching for the Wi-Fi signal.
  • the system After the hotspot network node AP0 is assigned an IP address, and the second device connects to the hotspot network node AP0 using the hotspot name and hotspot password, the system then configures an IP address (fourth gateway address) for the second device (the wireless network card of the second device) based on the IP address of the hotspot network node AP0.
  • the fourth gateway address and the third gateway address are located in the same network segment, so that the second device can access the first network (obtain the network signal of the first network) based on the fourth gateway address.
  • Step S200 create a first route between the network card and the wired network node eth1, and provide the first network to the first device through the first route, so that the first device can access the first network.
  • Step S100 is a step for implementing the access of the first device to the first network
  • step S200 is a step for implementing the access of the second device to the first network. Since the first device 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, and implement the network data packet transmission between the networkable network card and the wired network node eth1 through the first route, and then implement the access of the first device to the first network.
  • the process of creating the first route between the networkable network card and the wired network node eth1 may include but is not limited to the following: first create a routing file; import the routing module for creating the route into the routing file; introduce the name and IP address of the node to be linked into the routing module, that is, introduce the name and IP address of the networkable network card and the wired network node eth1 to establish the route; create a routing path according to the name and IP address of the networkable network card and the wired network node eth1; create a routing object according to the created routing path; export the created routing object for external use.
  • the networkable network card can 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 can access the first network.
  • the system can also configure a service for obtaining an IP for the networkable network card.
  • the communication module provides the first network to the networkable network card, it starts the networkable network card and then obtains the IP through the dynamic host configuration protocol client.
  • the dynamic host configuration protocol server receives the request and sends the IP to the networkable network card.
  • the networkable network card After the networkable network card obtains the IP, it writes the IP and other information into the networkable network card.
  • the networkable network card records the usable IP address, and the IP address can be used to create a route between the networkable network card and other nodes.
  • the IP address acquisition process of the wired network node eth1 may include but is not limited to the following: 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, configuring a second gateway address for the first device according to the first gateway address, so 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.
  • the wired network node eth1 may be a USB network card
  • the path may include a 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
  • the LAN to USB network card is connected to the first device, wherein the USB network card can convert the network signal into a USB signal
  • the USB to LAN network card can convert the USB signal into a network signal
  • the LAN to USB network card can convert the network signal into a USB signal.
  • the specific implementation process of signal transmission may include but is not limited to the following: 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. After the USB to LAN network card converts the first USB signal into a second network signal, it transmits the second network signal to the LAN to USB network card. USB network 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. In this way, a wired connection between the wired network node eth1 and the wired network card on the first device can be achieved.
  • Some embodiments of the present application are based on Android's native logic, and the network cable identification function of the wired network node eth1 is filtered out, that is, if a network cable is inserted into the corresponding port of the wired network node eth1, the insertion of the network cable is not identified, but the wired network node eth1 is used as a node that can share the network.
  • the Android system of the display device After the Android system of the display device is started, network sharing will be turned on, and then the IP server will be started. At this time, the Android system enters the IP server state and begins to configure and start the Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, DHCP) server.
  • DHCP Dynamic Host Configuration Protocol
  • DHCP Dynamic Host Configuration Protocol
  • the server assigns an IP address to the wired network node eth1 of the display device based on DHCP, that is, after assigning the first gateway address, if a path is established between the detected first device and the wired network node eth1 (when the first device is connected to the wired network node eth1 via a network cable, a path is established between the first device and the wired network node eth1), the process of requesting an IP address can be started according to the normal process of inserting the network cable.
  • the IP address (second gateway address) that can be obtained by the first device (the wired network card of the first device) and the IP address of eth1 are IP addresses in the same network. In this way, the wired network card of the first device and the wired network node eth1 can transmit data packets.
  • a first route between the network card and the wired network node eth1 can be created. Then the network card can send a network signal to the first device that has established a path with the wired network node eth1 through the first route, so that the first device can access the first network.
  • Step S300 creating a second route between the wired network node eth1 and the hotspot network node AP0 , so as to transmit data packets between the first device and the second device.
  • the above method can be used to enable the first device to transmit a data packet to the second device based on the second route and the first network, or the second device to transmit a data packet to the first device based on the second route and the first network.
  • step S100 and step S200 After the first device and the second device are connected to the first network, it is also necessary to create a second route between the wired network node eth1 and the hotspot network node AP0, so that after the first device and the second device are connected to the same local area network, based on the created second route, data transmission between the first device and the second device can be performed to achieve data sharing.
  • the first device 500 can transmit network data packets to the second device 600 via the routing path of the wired network node eth1-hotspot network node AP0-second device 600
  • the second device 600 can transmit network data packets to the first device 500 via the routing path of the hotspot network node AP0-wired network node eth1-first device 500, thereby achieving data sharing between the first device 500 and the second device 600.
  • the process of creating the second route between the wired network node eth1 and the hotspot network node AP0 may include but is not limited to the following: first create a route file; import the route module used to create the route into the route file; introduce the name and IP address of the node to be linked into the route module, that is, introduce the name and IP address of the wired network node eth1 and the hotspot network node AP0 to establish the route; create a route path according to the name and IP address of the hotspot network node AP0 and the wired network node eth1; create a route object according to the created route path; export the created route object for external use.
  • the second route it is also necessary to obtain the IP addresses of the hotspot network node AP0 and the wired network node eth1, and then create the first route between the hotspot network node AP0 and the wired network node eth1 according to the IP addresses of the hotspot network node AP0 and the wired network node eth1.
  • the display device may include at least one network card that can be connected to the network, and the communication module may be configured to provide a network to the display device through the network card that can be connected to the network; the wired network node eth1, the first device can connect to the network through the wired network node eth1.
  • the hotspot network node AP0, the display device can provide a network to at least one second device through the hotspot network node AP0.
  • the communication module provides the first network to the network card that can be connected to the network, and at least one second device is connected to the hotspot network node AP0, through the hotspot network
  • the network node AP0 provides the first network to the second device, and the second device can access the first network.
  • a first route is created between the networkable network card and the wired network node eth1, and the first network is provided to the first device through the first route, and the first device can access the first network.
  • a second route is created between the wired network node eth1 and the hotspot network node AP0, and data packets can be transmitted between the first device and the second device based on the first network and the second route.
  • Some embodiments of the present application use Android natively encapsulated nodes to set routes between nodes.
  • the routing links set in this way are more stable, and can also avoid the situation where the routing setting fails due to limited script execution, thereby improving the success rate of routing setting, and then improving the success rate of data sharing between different devices.
  • the display device 200 may include two network cards, and the two network cards are respectively a wired network card and a wireless network card, the wired network card is connected to a wired communication module, and the wireless network card is connected to a wireless communication module. Therefore, the networking conditions of the entire data sharing system may include but are not limited to the following:
  • the system will only detect that the wireless communication module provides a network to the wireless network card WLAN0. At this time, only the wireless network card WLAN0 is up (normal working state), and 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.
  • a first route is created between the wireless network card WLAN0 and the wired network node eth1, so that the wireless network card WLAN0 can provide the wireless network to the first device 500 through the first route, so that the first device 500 and the second device 600 can 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 hotspot network node AP0.
  • the wireless communication module provides a wireless network to the wireless network card WLAN0
  • the wired communication module provides a wired network to the wired network card eth0
  • the system will simultaneously detect that the wireless network card WLAN0 and the wired network card eth0 are connected to the network, 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 usually 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, and 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.
  • the wired network card eth0 creates a first route between the wired network card eth0 and the wired network node eth1, so that the wired network card eth0 can provide the wired network to the first device 500 through the wired network node eth1.
  • the current wired network card eth0 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 hotspot network node AP0.
  • the system will only detect that the wired communication module provides a network to the wired network card eth0. At this time, only the wired network card eth0 is up, and 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.
  • the wired network card eth0 creates a first route between the wired network card eth0 and the wired network node eth1, so that the wired network card eth0 can provide the wired network to the first device 500 through the first route, so that the first device 500 and the second device 600 can access the same local area network. That is, the current wired network card eth0 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 hotspot network node AP0.
  • the wired network card and the wireless network card are both down (neither is in a normal working state), and at this time, the data sharing between the first device 500 and the second device 600 cannot be realized in the manner of the above embodiment. If the wireless communication module currently provides a network to the display device 200, that is, the first device 500 and the second device 600 simultaneously access the network provided by the wireless network card WLAN0.
  • the wired communication module provides a network to the wired network card eth0, at this time, the network provided by the wireless communication module to the wireless network card WLAN0 can be cancelled as the first network, and the wired network provided by the wired communication module to the wired network card eth0 can be re-determined as the first network, and the first route between the wireless network card WLAN0 and the wired network node eth1 is deleted, and the first route between the wired network card eth0 and the wired network node eth1 is created.
  • the network accessed by the first device 500 is switched to the network provided by the wired network card eth0, and the network accessed by the second device 600 is also switched to the network provided by the wired network card eth0.
  • the original first device 500 and the second device 600 simultaneously access the network provided by the wireless network card, which is transformed into the first device 500 and the second device 600 simultaneously accessing the network provided by the wired network card.
  • the wired network card eth0 provides the network to the first device 500 and the second device 600 so that the first device 500 and the second device 600 are connected to the same local area network.
  • the wired communication module suddenly fails, or the wired network card eth0 fails, resulting in the wired network card eth0 being unable to provide the network to the first device 500 and the second device 600.
  • the system can start the wireless network card, so that the wireless network card provides a wireless network through the hotspot network node AP0 after it is up, and after deleting the first route between the wired network card eth0 and the wired network node eth1, create the first route between the wireless network card WLAN0 and the wired network node eth1, so that the wireless network card WLAN0 can provide a wireless network to the first device 500 through the wired network node eth1.
  • the route creation method of the present application can not only avoid the influence of script limitations on the success rate, but also cope with the influence of network switching or network instability on the route creation success rate, thereby being able to better improve the route creation success rate, thereby achieving an increase in the success rate of data sharing.
  • the at least two second devices 600 can realize the mutual transmission of data packets with the first device 500.
  • at least one processor of the display device 200 can also be configured to execute computer instructions to enable the display device 200 to perform including but not limited to the following steps:
  • Step S201 monitoring whether an access signal of a second device is received, if so, executing step S202, if not, continuing to monitor.
  • Step S202 adding the identifier of the connected second device to the device list, and displaying the device list on the display, wherein the device list includes at least two second devices.
  • At least two second devices can access the current hotspot network through the hotspot name and hotspot password.
  • the display device detects the access signals of at least two second devices, and the names of the second devices accessing the hotspot network can be added to the device list.
  • a prompt dialog box can be popped up in the user interface of the display device 200, and the prompt dialog box may include prompt information and a device list.
  • the prompt information may include but is not limited to: There are currently multiple devices that want to share data, please select the device to share data. In this way, through the device list, the user can determine which second devices are currently connected to the hotspot network.
  • Step S203 receiving a selection instruction input by a user, wherein the selection instruction represents a second device selected in the device list.
  • Step S204 According to the selection instruction, control the selected second device to share data with the first device.
  • the first device can be controlled to transmit a data packet to a selected second device based on the second route and the first network according to a selection instruction, or the selected second device can be controlled to transmit a data packet to the first device based on the second route and the first network, and this application does not make specific limitations.
  • the currently selected second device 600 is device A, so device A is controlled to transmit a data packet to the first device 500 based on the second route and the first network, or the first device 500 is controlled to transmit a data packet to device A based on the second route and the first network. Therefore, it is possible to operate on the display device 200 to control data sharing between different devices that share the network of the display device 200. It should be noted that if the display device 200 shares the network with a second device 600 through the hotspot network node AP0, there is no need to pop up the prompt dialog box shown in Figure 13 on the display device 200. The data sharing process between the first device 500 and the second device 600 can be directly performed.
  • the first device 500 can also share data with multiple second devices 600 at the same time.
  • a check box can be set after the device name in the device list. If the user clicks the check box corresponding to the device name, it means that the device needs to be selected as the second device 600 to share data with the first device 500. The user can click the check boxes corresponding to multiple device names at the same time, indicating that multiple devices need to be selected as the second device 600 to share data with the first device 500.
  • the user clicks the checkbox corresponding to device A and the checkbox corresponding to device B, that is, the device A and B need to be selected at the same time.
  • a and device B share data with the first device 500 as the second device 600.
  • the selection instruction generated at this time indicates that device A and device B are simultaneously selected as devices that need to share data with the first device 500.
  • the display device 200 can send the selection instruction to the hotspot network node AP0, so that the hotspot network node AP0 can simultaneously transmit the data packets sent by device A and device B to the first device 500, so as to realize the first device 500 to share data with device A and device B at the same time.
  • the type of data that the first device 500 or the second device 600 needs to share can be obtained in advance, and then different network cards that can be connected to the network can be selected according to different data types.
  • the current display device 200 is configured with a wired network card and a wireless network card, and 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 device 200 obtains in advance that the data that the first device 500 or the second device 600 needs to share is a video type, it is necessary to use a more stable wired network for data sharing.
  • the wired network card can be controlled to provide a wired network for the first device 500 and the second device 600 at the same time in the manner of the above embodiment. If the display device 200 realizes that the data that the first device 500 or the second device 600 needs to share is a text type, the wireless network can be used for data sharing. Therefore, the wireless network card can be controlled to provide a wireless network for the first device 500 and the second device 600 at the same time in the manner of the above embodiment.
  • the first device 500 is an ops computer
  • the second device 600 is a mobile phone terminal
  • the wired network node eth1 of the display device 200 is configured with an IP address (for example, 192.168.44.1, and the subnet mask Mask is 255.255.255.0) in advance.
  • the specific process may include but is not limited to the following steps:
  • Step S3010 the display device and the ops computer are powered on synchronously.
  • the wired path from USB to LAN is valid.
  • the Android system of the display device can detect the wired network node eth1 up.
  • Step S3011 start the network sharing process for the eth1 node.
  • the process of requesting IP can be started according to the normal process of inserting the network cable, and finally the wired network card of the ops computer can obtain an IP address of the 192.168.44 network segment, and the process of realizing that the display device 200 shares the network with the ops computer is completed.
  • the process executed on the ops computer side may include but is not limited to the following: step S3011', monitoring the network card UP; step S3011", the network card automatically obtains the IP address (DHCP process); step S3011"', the OPS computer is assigned an IP address: 192.168.44.XX.
  • Step S3012 registering monitoring of other network nodes.
  • data forwarding of the wired network node eth1 is configured, routing is configured, and monitoring of other network nodes is added (for monitoring changes in the upstream network relative to the wired network node eth1, which may include monitoring of the wired network card eth0, the wireless network card WLAN0 (USB2) and AP0).
  • Step S3013 if the monitored upstream network has a change, add a policy route from the upstream network to the wired network node eth1, that is, configure the route between other nodes and eth1, so that data packets can be transmitted between the wired network node eth1 and other nodes.
  • the wired network card eth0 if the wired network card eth0 is monitored to be up, 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 data packets can be transmitted from the wired network card eth0 to the wired network node eth1 (S3014'). If the wireless network card WLAN0 is monitored to be up, the IP address of the wireless network card is obtained, and the route between the wireless network card WLAN0 and the wired network node eth1 is configured so that data packets can be transmitted from the wireless network card WLAN0 to the wired network node eth1 (S3014").
  • the IP address of the hotspot network node AP0 is obtained, and the route between the hotspot network node AP0 and the wired network node eth1 is configured so that data packets can be transmitted from the hotspot network node AP0 to the wired network node eth1 (S3014"').
  • the ops computer is also connected to the network currently connected to the display device 200, so that the mobile terminal and the ops computer can access the same local area network, and then based on the routing configured between the hotspot network node AP0 and the wired network node eth1, data sharing between the mobile terminal and the ops computer can be finally achieved.
  • the data sharing process can be that the mobile terminal projects the content being displayed on the display screen to the ops computer. Computer, or ops computer projects the content being displayed on the display to the mobile terminal.
  • the screen projection process can be performed without user operation.
  • the routing between the ops computer and the mobile phone terminal can also be set, for example, it is set to only allow the ops computer to project the screen to the mobile phone terminal, or it is set to only allow the mobile phone terminal to project the screen to the ops computer. It can also be set that the display device 200 first receives the content currently displayed on the display screen of the ops computer and the mobile phone terminal.
  • the ops computer currently displays video content and the mobile phone terminal currently has a black screen or does not display video content
  • the video content currently displayed on the ops computer is preferentially projected to the mobile phone terminal. If the mobile phone terminal currently displays video content and the ops computer currently has a black screen or does not display video content, the video content currently displayed on the mobile phone terminal is preferentially projected to the ops computer.
  • the TV can easily share multimedia content (such as videos, music, photos or documents, etc.) on other electronic devices (such as mobile phones, tablets or computers, etc.) to the TV screen, achieving a better viewing experience.
  • multimedia content such as videos, music, photos or documents, etc.
  • other electronic devices such as mobile phones, tablets or computers, etc.
  • one wireless screen transmission method is hotspot screen transmission.
  • the TV creates a hotspot through its WiFi chip so that other electronic devices can be connected to the hotspot, so that users can share multimedia content on other electronic devices to the TV for display.
  • Another wireless screen transmission method is point-to-point (P2P) screen transmission (such as Miracast screen transmission).
  • P2P point-to-point
  • the TV can establish a point-to-point network with other electronic devices through its WiFi chip. Based on the point-to-point network, users can share multimedia content on other electronic devices to the TV for display.
  • the TV can only support the selection of turning on the hotspot function and the peer-to-peer network (ie, P2P) function.
  • P2P peer-to-peer network
  • the hotspot function of the TV when the hotspot function of the TV is turned on, the user cannot turn on the P2P function of the TV. If the user needs to turn on the P2P function of the TV, the hotspot function of the TV must be turned off before the P2P function of the TV can be turned on.
  • the P2P function of the TV is turned on, if the user turns on the hotspot function of the TV, the TV will first turn off the P2P function and then turn on the hotspot function of the TV.
  • TVs can be equipped with dual WiFi chips.
  • the Android system does not support the hotspot function and the peer-to-peer network (ie, P2P) function to be turned on at the same time, this results in smart TVs equipped with dual WiFi chips can only support the selection of turning on the hotspot function and the peer-to-peer network (ie, P2P) function, resulting in the existing TVs still unable to support the simultaneous use of hotspot screen transmission and P2P screen transmission.
  • the Android system can support the hotspot function and the peer-to-peer network (ie, P2P) function to be enabled at the same time, that is, the TV can support the hotspot screen transmission and P2P screen transmission at the same time.
  • P2P peer-to-peer network
  • the display device may also include: a display, which may be configured to display screen projection data; a first wireless communication module, which may be configured to establish a communication connection with the electronic device through a first communication mode; a second wireless communication module, which may be configured to establish a communication connection with the electronic device through a second communication mode; at least one processor, connected to the display, the first wireless communication module and the second wireless communication module, and further configured to execute computer instructions stored in a memory to enable the display device to execute: in response to a first operation, enabling a first network node corresponding to a first communication mode, the first communication mode being an access point mode, and the first network node being a wireless access point; in response to a first operation, enabling a first network node corresponding to a first communication mode, the first communication mode being an access point mode, and the first network node being a wireless access point; The second operation is to obtain the first information; when the first information indicates that the display device supports both the first communication mode
  • the communication device 220 may include two WiFi chips (modules), namely a first WiFi chip (i.e., a first wireless communication module) and a second WiFi chip (i.e., a second wireless communication module).
  • a first WiFi chip i.e., a first wireless communication module
  • a second WiFi chip i.e., a second wireless communication module.
  • the display device 200 can create an access point through the first WiFi chip (i.e., the first wireless communication module) and establish a wireless communication connection with other electronic devices as sites, thereby realizing the hotspot screen transmission function.
  • the display device 200 can establish a point-to-point connection with other electronic devices through the second WiFi chip (i.e., the second wireless communication module). Point network connection to realize point-to-point screen transmission function.
  • Figure 17 is a schematic diagram of software configuration related to simultaneous screen projection in a display device according to some embodiments of the present application.
  • the system can be divided into four layers, from top to bottom, namely, the application layer (Applications layer) (referred to as “application layer”), the application framework layer (Application Framework layer) (referred to as “framework layer”), the kernel layer and the hardware layer.
  • Application layer Applications layer
  • Application Framework layer Application Framework layer
  • kernel layer the kernel layer
  • hardware layer the hardware layer.
  • At least one application is running in the application layer, and these applications may be window programs, system settings programs, clock programs, etc. that come with the operating system; they may also be applications developed by third-party developers.
  • the application packages in the application layer are not limited to the above examples.
  • the application layer may include a wireless screen transmission application (such as a Miracast screen transmission application).
  • the display device 200 can respond to the user's operation of starting the wireless screen transmission application, turn on the wireless screen transmission application, and establish a point-to-point network (ie, P2P) connection with other electronic devices through the wireless screen transmission application, and then based on the point-to-point network (ie, P2P) connection between the display device and other electronic devices, receive and display the projection data sent by other electronic devices, that is, realize P2P screen transmission.
  • P2P point-to-point network
  • the framework layer provides application programming interfaces (APIs) and programming frameworks for applications.
  • the application framework layer may include some predefined functions.
  • the application framework layer is equivalent to a processing center, which determines the actions to be taken by applications in the application layer. Through the API interface, applications can access resources in the system and obtain system services during execution.
  • the application framework layer may include system services, which can be used to determine whether the display device supports both the first communication mode (i.e., access point mode) and the second communication mode (i.e., point-to-point network mode) when the display device turns on the point-to-point network function, and send a first notification to the kernel layer of the display device when the display device supports both the first communication mode (i.e., access point mode) and the second communication mode (i.e., point-to-point network mode), and the first notification is used to indicate that the display device supports both the first communication mode (i.e., access point mode) and the second communication mode (i.e., point-to-point network mode).
  • system services can be used to determine whether the display device supports both the first communication mode (i.e., access point mode) and the second communication mode (i.e., point-to-point network mode) when the display device turns on the point-to-point network function, and send a first notification to the kernel layer of the display device when the display device supports both the first
  • the hardware layer may include at least one processor 250 and a display 260 as shown in FIG3 .
  • the hardware layer may also include a communication device, and the communication device may include a first WiFi chip (i.e., a first wireless communication module) and a second WiFi chip (i.e., a second wireless communication module).
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WiFi driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), MIC driver, and power driver.
  • the display driver corresponding to the display can call the interface of the display to obtain the projection data, or call the interface of the display to set the display.
  • the audio driver corresponding to the speaker can call the interface of the speaker to obtain the audio data corresponding to the projection data to be played, or call the interface of the speaker to set the speaker.
  • the WiFi driver may include a first WiFi driver corresponding to the first WiFi chip (ie, the first wireless communication module) and a second WiFi driver corresponding to the second WiFi chip (ie, the second wireless communication module).
  • the display device when the display device is started, loads a first WiFi driver so that the first WiFi chip creates a first network node, and displays and loads a second WiFi driver so that the second WiFi chip creates a second network node.
  • the display device receives a first operation (i.e., the user turns on the hotspot function of the display device)
  • the first WiFi driver of the kernel layer of the display device enables the first network node.
  • the framework layer of the display device determines whether the display device supports the first communication mode (i.e., access point mode) and the second communication mode (i.e., point-to-point network mode) at the same time.
  • the framework layer of the display device sends a first notification to the kernel layer of the display device.
  • the kernel layer of the display device determines whether the WiFi chip carried by the display device can support the first communication mode (i.e., access point mode) and the second communication mode (i.e., point-to-point network mode) concurrently.
  • the WiFi chip carried by the display device supports the first communication mode and the second communication mode concurrently
  • the second WiFi driver of the kernel layer of the display device enables the second network node.
  • the display device when the display device receives the first screen projection connection request sent by the first electronic device, the display device establishes a hotspot connection with the first electronic device through the first network node. Based on the hotspot connection between the first electronic device and the display device, the display device can receive the first screen projection data sent by the first electronic device. In the case of a second projection screen connection request sent by the display device, the display device establishes a point-to-point network connection with the second electronic device through the second network node. Based on the point-to-point network connection between the second electronic device and the display device, the display device can receive the second projection screen data sent by the second electronic device. The display device can call the display through the display driver to control the display to display the first projection screen data and the second projection screen data in a split-screen manner.
  • the first wireless communication module (i.e., the first WiFi chip mentioned above) can establish a communication connection with the electronic device through a first communication mode.
  • the first communication mode may be an access point mode.
  • the display device can create an access point through the first wireless communication module, and establish a wireless communication connection with other electronic devices as sites, thereby realizing a hotspot screen transmission function.
  • the second wireless communication module (i.e., the second WiFi chip mentioned above) can establish a communication connection with the electronic device through a second communication mode.
  • the second communication mode may be a point-to-point network (i.e., P2P) mode.
  • the display device can establish a point-to-point network connection with other electronic devices through the second wireless communication module, thereby realizing a point-to-point screen transmission function.
  • the display device is equipped with dual WiFi chips, which can simultaneously support both access point and point-to-point network wireless communication modes, that is, the display device can simultaneously support hotspot screen transmission functions and point-to-point screen transmission functions.
  • FIG. 18 Another data processing method (screen projection method) for a display device in some embodiments of the present application is described. As shown in FIG. 18 , at least one processor of the display device may also be configured to execute computer instructions to enable the display device to perform steps including but not limited to the following steps S1810 to S1840.
  • Step S1810 In response to a first operation, a first network node corresponding to a first communication mode is enabled, the first communication mode is an access point mode, and the first network node is a wireless access point.
  • the first network node may be a network node created by the first wireless communication module.
  • the first network node is a wireless access point (AP) created by the first wireless communication module.
  • AP wireless access point
  • the first operation can be used to trigger the first communication mode of the display device, that is, to trigger the activation of the first network node corresponding to the first communication mode.
  • the first operation can be a user's triggering operation of the hotspot activation control of the display device; or a user's power-on operation of the display device.
  • the first operation as a user triggering an operation on a hotspot startup control of a display device.
  • the display device starts and connects to the network. Afterwards, the user can open the network settings interface of the display device.
  • the network settings interface of the display device 601 displays a hotspot startup control 602.
  • the display device 601 turns on the hotspot function, that is, the display device 601 enables the first network node corresponding to the first communication mode, that is, the display device 601 enables the wireless access point.
  • the first operation is a user powering on the display device.
  • the display device starts and automatically connects to the network.
  • the display device automatically turns on the hotspot function, that is, the display device enables the first network node corresponding to the first communication mode, that is, the display device enables the wireless access point.
  • the first network node corresponding to the first communication mode is enabled, and at least one processor can be specifically configured to execute computer instructions to enable the display device to execute: the driver corresponding to the first wireless communication module in the driver layer of the display device sets the first network node to an enabled state (or called an activated state), that is, the driver corresponding to the first wireless communication module ups the first network node.
  • the driver corresponding to the first wireless communication module in the driver layer of the display device sets the first network node to an enabled state (or called an activated state), that is, the driver corresponding to the first wireless communication module ups the first network node.
  • Step S1820 In response to the second operation, obtain first information.
  • the first information can be used to indicate whether the display device supports the first communication mode and the second communication mode at the same time, that is, the first information can be used to indicate whether the driver corresponding to the first wireless communication module and the driver corresponding to the second wireless communication module are loaded successfully.
  • the first information may be a field value corresponding to a target field (such as WiFi double support) stored in the display device.
  • a target field such as WiFi double support
  • the field value corresponding to the target field is a first value (such as true)
  • the field value corresponding to the target field is a second value (such as false)
  • the display device does not support the first communication mode and the second communication mode, that is, the display device cannot support both hotspot screen transmission and point-to-point (ie, P2P) screen transmission.
  • the second operation can be used to trigger the acquisition of the first information.
  • the second operation may be a triggering operation of the user to start a control on a peer-to-peer network (ie, P2P) of the display device.
  • the second operation is a user's triggering operation of starting a control of a peer-to-peer network (ie, P2P) of a display device.
  • a wireless screen transmission application such as a Miracast screen transmission application
  • the display device 701 may display the interface corresponding to the wireless screen transmission application 702.
  • the interface corresponding to the wireless screen transmission application 702 may include a peer-to-peer network (ie, P2P) start control 703.
  • the display device 701 In response to the user's triggering operation (such as a click operation) on the peer-to-peer network (i.e., P2P) start control 703, the display device 701 obtains the first information.
  • the display device 701 turns on the peer-to-peer network (i.e., P2P) function, that is, the display device 701 enables the second network node corresponding to the second communication mode, that is, the display device 701 initiates a P2P search, so that the user can use other electronic devices to establish a peer-to-peer network (i.e., P2P) connection with the display device, thereby realizing P2P screen transmission.
  • P2P peer-to-peer network
  • the display device can enable the point-to-point network function when the display device is connected to the network (i.e., the display device turns on the WiFi function), the display device can, therefore, before obtaining the first information in response to the second operation, the at least one processor may also be configured to execute computer instructions to enable the display device to execute: turn on the WiFi function of the display device.
  • the display device in response to the user's power-on operation on the display device, the display device starts and automatically turns on the WiFi function, i.e., the display device automatically connects to the network after it is turned on.
  • step S1820 can also be executed before step S1810, that is, the user can first turn on the hotspot function of the display device, and then turn on the point-to-point network function of the display device. The user can also first turn on the point-to-point network function of the display device, and then turn on the hotspot function of the display device.
  • the embodiment of the present application does not limit the execution order of step S1810 and step S1820.
  • Step S1830 when the first information indicates that the display device supports both the first communication mode and the second communication mode, enable the second network node corresponding to the second communication mode, the second communication mode is a point-to-point network mode, and the second network node is a node in the point-to-point network.
  • the second network node may be a network node created by the second wireless communication module.
  • the second network node is a node in a point-to-point network (ie, P2P) created by the second wireless communication module.
  • P2P point-to-point network
  • the framework layer of the display device can determine whether the display device supports the first communication mode and the second communication mode at the same time according to the first information.
  • the driver corresponding to the second wireless communication module in the driver layer of the display device sets the second network node to an enabled state (or an activated state), that is, the driver corresponding to the second wireless communication module ups the second network node, that is, the display device enables the second network node created by the second wireless communication module.
  • the driver corresponding to the second wireless communication module of the driver layer of the display device sets the second network node to an enabled state
  • at least one processor may be configured to execute computer instructions to enable the display device to execute, including but not limited to, the following contents: when the first information indicates that the display device supports the first communication mode and the second communication mode at the same time, the framework layer of the display device sends a first notification to the driver layer of the display device, and the first notification may be used to notify the driver layer of the display device that the display device supports the first communication mode and the second communication mode at the same time.
  • the driver layer of the display device determines whether the first wireless communication module (i.e., the first WiFi chip) and the second wireless communication module (i.e., the second WiFi chip) can support the concurrency of the first communication mode and the second communication mode according to the capabilities of the first wireless communication module (i.e., the first WiFi chip) and the second wireless communication module (i.e., the second WiFi chip).
  • the first wireless communication module i.e., the first WiFi chip
  • the second wireless communication module i.e., the second WiFi chip
  • the driver corresponding to the second wireless communication module in the driver layer of the display device sets the second network node to an enabled state (or an activated state), that is, the driver corresponding to the second wireless communication module ups the second network node, that is, the display device enables the second network node created by the second wireless communication module.
  • the display device may load the driver corresponding to the first wireless communication module and the driver corresponding to the second wireless communication module.
  • the process of the program is schematically explained.
  • the at least one processor may also be configured to execute computer instructions to enable the display device to perform including but not limited to the following: step S2110 and step S2120.
  • Step S2110 when the display device is started, a driver corresponding to the first wireless communication module is loaded, and a first network node is created through the first wireless communication module.
  • the identification information corresponding to the first network node complies with the first identification rule, and the network node identified by the first identification rule can be identified by the framework layer of the display device.
  • the identification information corresponding to the first network node is ap0.
  • the driver corresponding to the first wireless communication module can be the above-mentioned first WiFi driver.
  • At least one processor may be further configured to execute computer instructions to enable the display device to execute: creating a third network node and a fourth network node through the first wireless communication module, wherein the third network node may be a wireless local area network node, and the fourth network node may be a node in a point-to-point network.
  • the identification information corresponding to the third network node and the identification information corresponding to the fourth network node both comply with the second identification rule, and the second identification rule is different from the first identification rule.
  • the identification information corresponding to the third network node is wlanb0.
  • the identification information corresponding to the fourth network node is p2pb0.
  • the display device in response to the user's power-on operation on the display device, the display device starts.
  • the display device loads the driver corresponding to the first wireless communication module, and generates a first network node (i.e., ap0), a third network node (i.e., wlanb0), and a fourth network node (i.e., p2pb0).
  • ap0 a first network node
  • wlanb0 i.e., wlanb0
  • p2pb0 fourth network node
  • the framework layer of the display device can identify the first network node, and therefore, the first network node (i.e., ap0) generated by the first wireless communication module is available.
  • the identification information wlan0 corresponding to the third network node and the identification information p2pb0 corresponding to the fourth network node do not conform to the first identification rule, and the framework layer of the display device cannot identify the third network node and the fourth network node, and therefore, the third network node (i.e., wlanb0) and the fourth network node (i.e., p2pb0) generated by the first wireless communication module are unavailable.
  • Step S2120 load a driver corresponding to the second wireless communication module, and create a second network node through the second wireless communication module.
  • the identification information corresponding to the second network node complies with the first identification rule, and the network node identified by the first identification rule can be identified by the framework layer of the display device.
  • the identification information corresponding to the second network node is p2p0.
  • the driver corresponding to the second wireless communication module can be the above-mentioned second WiFi driver.
  • At least one processor may also be configured to execute computer instructions to cause the display device to perform the following: create a fifth network node and a sixth network node through the first wireless communication module; wherein the fifth network node is a wireless local area network node, and the identification information corresponding to the fifth network node complies with the first identification rule; the sixth network node is a wireless access point, and the priority of the sixth network node is lower than that of the second network node.
  • the display device in response to the user's power-on operation on the display device, the display device starts.
  • the display device loads the driver corresponding to the second wireless communication module, and generates a second network node (i.e., p2p0), a fifth network node (i.e., wlan0), and a sixth network node (i.e., ap1).
  • a second network node i.e., p2p0
  • a fifth network node i.e., wlan0
  • a sixth network node i.e., ap1
  • the framework layer of the display device can identify the second network node and the fifth network node, and therefore, the second network node (i.e., p2p0) and the fifth network node (i.e., wlan0) are available.
  • the identification information ap1 corresponding to the sixth network node conforms to the first identification rule, and the priority of the sixth network node (i.e., ap1) is lower than that of the first network node (i.e., ap0), and therefore, when the display device turns on the hotspot function, the display device preferentially runs the first network node (i.e., ap0). That is, when the display device turns on the hotspot function, the display device implements the hotspot function through the first wireless communication module (i.e., the first WiFi chip). When the display device turns on the WiFi function and the point-to-point network function (such as point-to-point screen transmission), the display device implements the WiFi function and the point-to-point network function through the second wireless communication module (ie, the second WiFi chip).
  • the first wireless communication module i.e., the first WiFi chip
  • step S2120 may also be executed before step S2110, and step S2120 may also be executed simultaneously with step S2110.
  • the embodiment of the present application does not limit the execution order of step S2120 and step S2110.
  • the display device when the display device is started, can load the first wireless communication module corresponding to The display device loads the driver of the first wireless communication module and the driver corresponding to the second wireless communication module.
  • the first wireless communication module can create an available first network node
  • the second wireless communication module when the display device loads the driver of the second wireless communication module, can create an available second network node.
  • the display device when the user turns on the hotspot function of the display device, the display device can enable the first network node to implement the hotspot function.
  • the display device when the user turns on the point-to-point network function of the display device, the display device can enable the second network node to implement the point-to-point network function.
  • step S1840 is executed, and when the first projection data is received through the first network node and the second projection data is received through the second network node, the first projection data and the second projection data are displayed in a split-screen manner.
  • the first electronic device (such as a computer, tablet computer, mobile phone) can be used as a site to connect to the first network node of the display device (i.e., wireless access point ap0), and then the first electronic device can send the first projection data to the display device based on the WiFi connection established between the first electronic device and the display device.
  • the second electronic device (such as a computer, tablet computer, mobile phone) can establish a point-to-point network connection with the display device, and then the second electronic device can send the second projection data to the display device based on the point-to-point network connection established between the second electronic device and the display device.
  • the display device can display the first projection data and the second projection data in a split-screen manner.
  • the display device 901 displays the first projection data in the first display area (such as the left area of the display) 904, and displays the second projection data in the second display area (such as the right area of the display) 905, that is, the first projection data and the second projection data are displayed in a split-screen manner.
  • the at least one processor may also be configured to execute computer instructions to enable the display device to perform including but not limited to the following: steps S2310 to S2330.
  • Step S2310 receiving a first screen projection connection request sent by a first electronic device.
  • the first screen projection connection request can be used to request hotspot screen transmission to the display device, that is, the first screen projection request can be used to request the first network node (ie, wireless access point ap0) created by the first wireless communication module of the display device to be connected.
  • the first network node ie, wireless access point ap0
  • the first screen projection connection request may be in response to a user's screen projection connection operation on the first electronic device, and the first electronic device may send the first screen projection connection request to the display device.
  • Step S2320 in response to the first screen projection connection request, establish a communication connection with the first electronic device through the first network node.
  • the display device In response to the first screen projection connection request, the display device establishes a WiFi connection with the first electronic device through the first network node (ie, wireless access point ap0).
  • the first network node ie, wireless access point ap0
  • Step S2330 establish a communication connection with the first electronic device based on the first network node, and receive the first screen projection data sent by the first electronic device.
  • the first electronic device can send the first screen projection data to the display device based on the WiFi connection established between the first electronic device and the display device. After receiving the first screen projection data, the display device controls the display to display the first screen projection data.
  • the first electronic device can send a first projection connection request to the display device.
  • the first electronic device can connect to the first network node of the display device as a site, and then based on the WiFi connection established between the first electronic device and the display device, the first electronic device can send first projection data to the display device, and the display device can receive and display the first projection data.
  • the at least one processor may also be configured to execute computer instructions to enable the display device to perform including but not limited to the following: steps S2410 to S2430.
  • Step S2410 receiving a second screen projection connection request sent by a second electronic device.
  • the second screen projection connection request can be used to request point-to-point screen transmission to the display device, that is, the second screen projection connection request can be used to request a second network node (ie, p2p0) created by a second wireless communication module connecting to the display device.
  • a second network node ie, p2p0
  • Step S2420 in response to the second screen projection connection request, establish a communication connection with the second electronic device through the second network node.
  • the display device In response to the second screen projection connection request, the display device establishes a peer-to-peer network connection with the second electronic device through the second network node (ie, p2p0).
  • Step S2430 establish a communication connection with the second electronic device based on the second network node, and receive the second screen projection data sent by the second electronic device.
  • the second electronic device can send the second projection data to the display device based on the point-to-point network connection established between the second electronic device and the display device.
  • the display device controls the display to display the second projection data. That is, the display device displays the first projection data and the second projection data in a split-screen manner.
  • the second electronic device can send a second screen projection connection request to the display device.
  • the second electronic device connects to the second network node of the display device, and then based on the point-to-point network connection established between the second electronic device and the display device, the second electronic device can send second screen projection data to the display device, and the display device can receive and display the second screen projection data.
  • the at least one process may also be configured to execute computer instructions to cause the display device to perform including but not limited to the following: when the first network node is in an enabled state and the first information indicates that the display device cannot simultaneously support the first communication mode and the second communication mode, issuing a prompt message, wherein the prompt message is used to prompt the user to turn off the first network node.
  • the user when the user turns on the point-to-point network function of the display device, the user can input the second operation.
  • the display device obtains the first information.
  • the first information indicates that the display device cannot support the first communication mode and the second communication mode at the same time (that is, the display device is equipped with a single WiFi chip)
  • the display device obtains the currently enabled network node.
  • the currently enabled network node includes the first network node (the first network node is enabled)
  • the second network node fails to be enabled, and the display device issues a prompt message to prompt the user to turn off the first network node, that is, prompting the user to turn off the hotspot function of the display device.
  • the display device obtains the first information.
  • the first information indicates that the display device cannot support the first communication mode and the second communication mode at the same time (that is, the display device is equipped with a single WiFi chip)
  • the display device obtains the currently enabled network node, and when the currently enabled network node does not include the first network node (the first network node is enabled), the second network node is enabled, that is, the point-to-point network function of the display device is turned on.
  • the display device when the display device obtains the currently enabled network node, the display device can view the network interface information of the display device through the "ifconfig" command, that is, obtain the currently enabled network node.
  • the currently enabled network nodes may include ap0 (ie, the first network node) and wlan0.
  • the display device when the display device receives the user's second operation, the display device can pre-determine whether to support the first communication mode and the second communication mode at the same time. If the display device cannot support the first communication mode and the second communication mode at the same time, a prompt message is issued to prompt the user that the hotspot needs to be turned off before the point-to-point network function of the display device can be enabled.
  • the display device is equipped with a first wireless communication module and a second wireless communication module, wherein the first wireless communication module can be used for hotspot connection, and the second wireless communication module can be used for point-to-point screen transmission.
  • the display device can enable the first network node corresponding to the first communication mode, which enables the first
  • the electronic device can initiate hotspot screen projection to the display device through the first network node.
  • the display device can obtain the first information, and determine whether the display device supports the first communication mode and the second communication mode at the same time based on the first information.
  • the display device can enable the second network node corresponding to the second communication mode, so that when the first electronic device initiates hotspot screen projection to the display device through the first network node, the second electronic device can initiate point-to-point screen projection to the display device through the second network node.
  • hotspot screen projection and point-to-point screen projection can be used simultaneously, so that the user can watch the projection data from two different electronic devices on the display device at the same time, thereby providing the user with a richer viewing experience.
  • the framework layer and the driver layer of the display device determine whether the display device supports the first communication mode and the second communication mode at the same time, and then, if the display device supports the first communication mode and the second communication mode at the same time, the second network node can be started, so that the electronic device can perform point-to-point screen transmission to the display device through the second network node.
  • the embodiment of the present application does not need to modify the native system of the display device, and can enable the display device to turn on the hotspot function and the point-to-point screen transmission function at the same time, which will not affect the normal operation of the display device.
  • the at least one processor can be specifically configured to execute computer instructions to enable the display device to perform including but not limited to the following: Step S2501 to Step S2517.
  • Step S2501 in response to a power-on operation, the display device loads a driver corresponding to the first wireless communication module, and creates a first network node ap0, a third network node wlanb0, and a fourth network node p2pb0 through the first wireless communication module.
  • Step S2502 The display device loads a driver corresponding to the second wireless communication module, and creates a second network node p2p0, a fifth network node wlan0, and a sixth network node ap1 through the second wireless communication module.
  • Step S2503 in response to the first operation, the display device turns on the hotspot function and the WiFi function.
  • Step S2504 The driver layer of the display device sets the first network node ap0 to an enabled state.
  • Step S2505 In response to the second operation, the display device turns on the peer-to-peer network function.
  • Step S2506 when the display device turns on the point-to-point network function, the framework layer of the display device determines whether the display device supports both the first communication mode and the second communication mode based on the first information, if so, execute step S2507, otherwise, execute step S2510.
  • Step S2507 The framework layer of the display device sends a first notification to the driver layer of the display device, where the first notification is used to indicate that the display device supports both the first communication mode and the second communication mode.
  • Step S2508 The driver layer of the display device determines whether the display device supports the concurrency of the first communication mode and the second communication mode. If yes, execute step S2509; otherwise, execute step S2510.
  • Step S2509 The driver layer of the display device sets the second network node p2p0 to an enabled state.
  • Step S2510 issuing a prompt message, where the prompt message is used to prompt the user to shut down the first network node.
  • Step S2511 receiving a second screen projection connection request sent by a second electronic device, where the second screen projection connection request is used to request point-to-point screen transmission to a display device.
  • Step S2512 in response to the second screen projection connection request, establish a point-to-point network connection with the second electronic device through the second network node.
  • Step S2513 Based on the point-to-point network connection between the second electronic device and the display device, receive the second screen projection data sent by the second electronic device.
  • Step S2514 receiving a first screen projection connection request sent by a first electronic device, where the first screen projection connection request is used to request hotspot screen transmission to a display device.
  • Step S2515 in response to the first screen projection connection request, establish a hotspot connection with the first electronic device through the first network node.
  • Step S2516 Based on the hotspot connection between the first electronic device and the display device, receive the first screen projection data sent by the first electronic device.
  • Step S2517 display the first projection data and the second projection data in a split-screen manner.
  • the display device is equipped with a first wireless communication module and a second wireless communication module, wherein the first A wireless communication module can be used for hotspot connection, and a second wireless communication module can be used for point-to-point screen transmission.
  • the display device can enable the first network node corresponding to the first communication mode, so that the first electronic device can initiate hotspot screen projection to the display device through the first network node.
  • the display device can obtain the first information, and determine whether the display device supports the first communication mode and the second communication mode at the same time based on the first information.
  • the display device can enable the second network node corresponding to the second communication mode, so that when the first electronic device initiates hotspot screen projection to the display device through the first network node, the second electronic device can initiate point-to-point screen projection to the display device through the second network node.
  • the simultaneous use of hotspot screen projection and point-to-point screen projection can be realized, so that the user can simultaneously view the projection data from two different electronic devices on the display device, thereby providing the user with a richer viewing experience.
  • the storage medium stores at least one executable instruction, and when the executable instruction is executed on a display device/apparatus, the display device executes the method in any of the above method embodiments.
  • the executable instruction can be specifically used to enable the display device/apparatus to perform the following operations: in the case where the next control operation is not received within a preset time after receiving the control operation, in response to the control operation, obtain the content to be displayed and the content to be released corresponding to the control operation; control the display to display the content to be displayed, and release the memory corresponding to the content to be released.
  • the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable non-volatile storage media may include, but are not limited to: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请涉及一种显示设备及用于显示设备的数据处理方法,显示设备可包括至少一个可联网网卡、有线网络节点和热点网络节点。如果检测到通信模块向可联网网卡提供第一网络,通过热点网络节点向第二设备提供第一网络。创建可联网网卡与有线网络节点之间的第一路由,并且通过第一路由向第一设备提供第一网络。创建有线网络节点和热点网络节点之间的第二路由,第一设备和第二设备之间则可以基于第一网络和第二路由传输数据包。本申请一些实施例中利用Android原生封装好的节点,设置节点与节点之间的路由,这样设置的路由链路更加稳定,提升路由设置成功率,进而提升不同设备之间数据共享的成功率。

Description

显示设备及用于显示设备的数据处理方法
相关申请的交叉引用
本申请要求在2023年08月14日提交、申请号为202311021383.6;在2023年08月30日提交、申请号为202311107340.X的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及显示设备技术领域,尤其涉及一种显示设备及用于显示设备的数据处理方法。
背景技术
显示设备配置的网卡通常可包括有线网络网卡、无线网络网卡,当显示设备接入网络时,基于网络协议仅为显示设备的网卡分配获取用于网络定位的网卡地址,即互联网协议地址(Internet Protocol Address,IP)地址,以实现显示设备与所在网络内其他设备之间的网络通信。
显示设备接入网络后,还可以向外部设备共享网络。不同的外部设备均获得显示设备共享的网络后,还可以设置这些外部设备获取共享网络的网口之间的路由,使得网络数据包能够在不同外部设备之间相互传输,从而实现不同外部设备之间的数据共享。目前通常是使用脚本的形式,设置不同外部设备获取共享网络的网口之间的路由。通过脚本设置路由的原理是利用Android(安卓)平台现有的调试程序,逐行的进行命令行设置,因此实际上是利用固定的代码逻辑设置路由。
但是,利用上述方式设置不同外部设备获取共享网络的网口之间的路由,链路不稳定,并且如果显示设备的Android系统开启selinux(文件访问安全策略)权限的Enforcing模式,有可能会出现脚本执行受限的情况,导致无法设置不同外部设备获取共享网络的网口之间的路由,进而导致数据共享失败。
发明内容
根据本申请一些实施例的一种显示设备,可包括:显示器;至少一个可联网网卡,所述可联网网卡连接有通信模块,所述通信模块可被配置为通过所述可联网网卡向所述显示设备提供网络;有线网络节点,可被配置为连接第一设备,所述第一设备可通过所述有线网络节点接入网络;热点网络节点,至少一台第二设备可通过所述热点网络节点接入网络;存储器,可被配置为保存计算机指令和/或与显示设备关联的数据;至少一个处理器,与所述存储器和所述通信模块连接,可被配置为执行所述计算机指令以使所述显示设备执行:如果检测到所述通信模块向所述可联网网卡提供第一网络,并且至少一台所述第二设备连接至所述热点网络节点,通过所述热点网络节点向所述第二设备提供所述第一网络,以使所述第二设备接入所述第一网络;创建所述可联网网卡与所述有线网络节点之间的第一路由,并且通过所述第一路由向所述第一设备提供所述第一网络,以使所述第一设备接入所述第一网络;创建所述有线网络节点和所述热点网络节点之间的第二路由,以使所述第一设备基于所述第二路由和所述第一网络向所述第二设备传输数据包,或者所述第二设备基于所述第二路由和所述第一网络向所述第一设备传输数据包。
根据本申请一些实施例的一种用于显示设备的数据处理方法,所述显示设备可包括至少一个可联网网卡,所述可联网网卡连接有通信模块,所述通信模块可被配置为通过所述可联网网卡向所述显示设备提供网络;有线网络节点,可被配置为连接第一设备,所述第一设备可通过所述有线网络节点接入网络;热点网络节点,至少一台第二设备可通过所述热点网络节点接入网络;所述方法可包括:如果检测到所述通信模块向所述可联网网卡提供第一网络,并且至少一台所述第二设备连接至所述热点网络节点,通过所述热点网络节 点向所述第二设备提供所述第一网络,以使所述第二设备接入所述第一网络;创建所述可联网网卡与所述有线网络节点之间的第一路由,并且通过所述第一路由向所述第一设备提供所述第一网络,以使所述第一设备接入所述第一网络;创建所述有线网络节点和所述热点网络节点之间的第二路由,以使所述第一设备基于所述第二路由和所述第一网络向所述第二设备传输数据包,或者所述第二设备基于所述第二路由和所述第一网络向所述第一设备传输数据包。
附图说明
图1为根据本申请一些实施例的显示设备与控制装置之间操作场景的示意图;
图2为根据本申请一些实施例的控制装置的硬件配置框图;
图3为根据本申请一些实施例的显示设备的硬件配置框图;
图4为根据本申请一些实施例的显示设备的软件配置图;
图5为根据本申请一些实施例的数据共享系统中设备连接示意图;
图6为根据本申请一些实施例的数据共享系统框架示意图;
图7为根据本申请一些实施例的一种用于显示设备的数据处理方法流程示意图;
图8为根据本申请一些实施例的第一路由和第二路由的路径示意图;
图9为根据本申请一些实施例的又一种数据共享系统框架示意图;
图10为根据本申请一些实施例的又一种数据共享系统框架示意图;
图11为根据本申请一些实施例的又一种数据共享系统框架示意图;
图12为根据本申请一些实施例的选择数据共享的第二设备方法流程示意图;
图13为根据本申请一些实施例的一种显示设备的用户界面示意图;
图14为根据本申请一些实施例的又一种显示设备的用户界面示意图;
图15为根据本申请一些实施例的又一种数据共享系统框架示意图;
图16为根据本申请一些实施例的又一种用于显示设备的数据处理方法流程示意图;
图17为根据本申请一些实施例的显示设备中与同时投屏相关的软件配置示意图;
图18为根据本申请一些实施例的另一种用于显示设备的数据处理方法流程示意图;
图19为根据本申请一些实施例的一种显示设备的显示界面示意图;
图20为根据本申请一些实施例的又一种显示设备的显示界面示意图;
图21为根据本申请一些实施例的再一种用于显示设备的数据处理方法流程示意图;
图22为根据本申请一些实施例的又一种显示设备的显示界面示意图;
图23为根据本申请一些实施例的再一种用于显示设备的数据处理方法流程示意图;
图24为根据本申请一些实施例的再一种用于显示设备的数据处理方法流程示意图;
图25为根据本申请一些实施例的再一种用于显示设备的数据处理方法流程示意图。
具体实施方式
为使本申请的目的、方案和优点更加清楚,下面将结合本申请示例性实施例及相应的附图对本申请示例性实施方式进行清楚、完整地描述。显然,描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。
需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请一些实施例的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。
本申请中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明。应所述理解这样使用的用语在适当情况下可以互换。
术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出的所有组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。
本申请实施方式提供的显示设备可以具有多种实施形式,例如,可以是电视、智能电视、激光投影设备、显示器(monitor)、电子白板(electronic bulletin board)、电子桌面(electronic table)等。图1和图2为本申请的显示设备的一种具体实施方式。
图1为根据本申请一些实施例的显示设备与控制装置之间操作场景的示意图。如图1所示,用户可通过智能终端300和控制设备100操作显示设备200。
在一些实施例中,控制设备100可以是遥控器,遥控器和显示设备的通信可包括红外协议通信或蓝牙协议通信,及其他短距离通信方式,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等输入用户指令,来控制显示设备200。例如,用户可以通过遥控器上的导航键(如上键、下键、左键、右键)控制显示设备200切换显示的页面。还例如,通过音量加减键调整显示设备200显示页面的缩放程度。还例如,用户可以通过遥控器上的导航键启动目标应用(如无线传屏应用)。
在一些实施例中,也可以使用智能设备300(如移动终端、平板电脑、计算机、笔记本电脑等)以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200,该应用程序通过配置可以在与智能设备300关联的屏幕上,在直观的用户界面中为用户提供各种控制。还例如,使用在智能设备300上运行的应用程序控制显示设备200。
在一些实施例中,智能设备300可与显示设备200安装的软件应用,通过网络通信协议实现连接通信,实现一对一控制操作和数据通信的目的。例如,可以实现用智能设备300与显示设备200建立控制指令协议,将遥控控制键盘同步到智能设备300上,通过控制智能设备300上的用户界面,实现控制显示设备200的功能,或者也可以将智能设备300上显示的内容传输到显示设备200上,实现同步显示的功能。
在一些实施例中,显示设备可以不使用上述的智能设备或控制设备接收指令,而是通过触摸或者手势等接收用户的控制。
在一些实施例中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制设备来接收用户的语音指令控制。
在一些实施例中,显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(Local Area Network,LAN)、无线局域网(Wireless Local Area Network,WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。例如,显示设备200通过发送和接收消息,以及电子节目指南(Electrical Program Guide,EPG)互动,接收软件程序更新,或访问远程储存的数字媒体库。服务器400可以是一个集群,也可以是多个集群,可包括一类或多类服务器。
显示设备200可以是液晶显示器、有机电激光显示(Organic Light-Emitting Diode,OLED)显示器、投影显示设备、智能终端,如手机、平板电脑等。具体显示设备类型,尺寸大小和分辨率等不作限定。
图2为根据本申请一些实施例的控制装置的硬件配置框图。如图2所示,控制装置100可包括至少一个处理器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。
图3为根据本申请一些实施例的显示设备的硬件配置框图。如图3所示,显示设备200可包括调谐解调器210、通信装置220、检测器230、外部装置接口240、至少一个处理器250、显示器260、音频输出接口270、存储器、供电电源、用户接口280中的至少一种。
在一些实施例中,显示器260可包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自至少一个处理器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面。显示器260可为液晶显示器、OLED显示器、以及投影显示器,还可以为一种投影装置和投影屏幕。
在一些实施例中,显示器260可以用于显示应用程序的显示界面。显示界面可以是应用程序中的任意一个页面。
在一些实施例中,显示器260可以用于接收音频处理器和视频处理器输出的音视频信号,显示视频内容和图像、播放视频内容的音频,以及显示菜单操控界面的组件。
在一些实施例中,显示器260可以用于呈现显示设备200中产生且用于控制显示设备200的用户操作UI界面。
在一些实施例中,通信装置220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信装置可包括无线通信(Wire Fidelity,Wifi或WiFi或Wi-Fi)模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信装置220与外部控制设备100或服务器400建立控制信号和数据信号的发送和接收。
在一些实施例中,用户接口280,可用于接收控制装置100(如:红外遥控器等)的控制信号。
在一些实施例中,检测器230用于采集外部环境或与外部交互的信号。例如,检测器可包括光接收器,用于采集环境光线强度的传感器,以及根据环境光线强度自适应调整显示参数等;或者,检测器可包括温度传感器,用于感测环境温度,使得显示设备200可以自适应调整图像的显示色温,如当环境温度偏高时,可以调整显示设备200显示图像的色温偏冷色调,或者当环境温度偏低时,可以调整显示设备200显示图像的色温偏暖色调;或者,检测器可包括图像采集器,如相机、摄像头等,可以用于采集外部环境场景、用户的属性或用户交互手势,以自适应变化显示参数,也可以识别用户手势,以实现与用户之间互动的功能;再或者,检测器可包括声音采集器,如麦克风等,用于接收外部声音。例如,可包括用户控制显示设备200的控制指令的语音信号,或采集环境声音,用于识别环境场景类型,使得显示设备200可以自适应适应环境噪声。
在一些实施例中,外部装置接口240可包括但不限于如下:高清晰度多媒体接口(High Definition Multimedia Interface,HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(Composite Video Broadcast Signal或Composite Video Blanking and Sync,CVBS)、通用串行总线(Universal Serial Bus,USB)输入接口、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。
在一些实施例中,调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。
在一些实施例中,调谐解调器210解调的频点受到至少一个处理器250的控制,至少一个处理器250可根据用户选择发出控制信号,以使得调制解调器响应用户选择的电视信号频率以及调制解调该频率所携带的电视信号。
广播电视信号可根据电视信号广播制式不同区分为地面广播信号、有线广播信号、卫星广播信号或互联网广播信号等。或者根据调制类型不同可以区分为数字调制信号,模拟调制信号等。再或者根据信号种类不同区分为数字信号、模拟信号等。
在一些实施例中,至少一个处理器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在至少一个处理器250所在的主体设备的外置设备中,如外置机顶盒等。
在一些实施例中,至少一个处理器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。至少一个处理器250控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器260上显示UI对象的用户命令,至少一个处理器250便可以执行与由用户命令选择的对象有关的操作。用户可在显示器260上显示的图形用户界面(Graphic User Interface,GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。“用户界 面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是GUI,是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、微件(Web widget,Widget)等可视的界面元素。
在一些实施例中,处理器可包括中央处理器(Central Processing Unit,CPU),视频处理器,音频处理器,图形处理器(Graphics Processing Unit,GPU),随机存取存储器(Random AccessMemory,RAM),只读存储器(Read-Only Memory,ROM),用于输入/输出的第一接口至第n接口,通信总线(Bus)等中的至少一种。
在一些实施例中,RAM可以用于存储操作系统或其他正在运行中的程序的临时数据;ROM可以用于存储各种系统启动的指令,例如,可以用于存储一个基本输入输出系统,称为基本输入输出系统(Basic Input Output System,BIOS)启动的指令。ROM可以用于完成对系统的加电自检、系统中各功能模块的初始化、系统的基本输入/输出的驱动程序及引导操作系统。
在一些实施例中,在收到开机信号时,显示设备200电源开始启动,中央处理器(CPU)运行ROM中系统启动指令,将存储在存储器的操作系统的临时数据拷贝至RAM中,以便于启动或运行操作系统。当操作系统启动完成后,中央处理器再将存储器中各种应用程序的临时数据拷贝至RAM中,然后,以便于启动或运行各种应用程序。
在一些实施例中,中央处理器可以用于执行存储在存储器中操作系统和应用程序指令,以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。
在一些实施例中,中央处理器(CPU)可包括多个处理器。多个处理器可包括一个主处理器以及一个或多个子处理器。主处理器,用于在预加电模式中执行显示设备200一些操作,和/或在正常模式下显示画面的操作。一个或多个子处理器,用于在待机模式等状态下一种操作。
在一些实施例中,视频处理器可被配置为将接收外部视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、透明度设置、图像合成等视频处理,可得到直接可显示设备200上显示或播放的信号。
在一些实施例中,视频处理器可包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等。
其中,解复用模块用于对输入音视频数据流进行解复用处理,如输入活动图像专家组标准2(Moving Picture Experts Group-2,MPEG-2),则解复用模块进行解复用成视频信号和音频信号等;视频解码模块则用于对解复用后的视频信号进行处理,可包括解码和缩放处理、透明度设置等。
图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。帧率转换模块,用于对转换输入视频帧率,如将60Hz帧率转换为120Hz帧率或240Hz帧率,通常的格式采用如插帧方式实现。显示格式化模块,则用于将接收帧率转换后视频输出信号,改变信号以符合显示格式的信号,如输出RGB数据信号。
在一些实施例中,音频处理器可以用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等处理,得到可以在扬声器中播放的声音信号。
在一些实施例中,视频处理器可包括一颗或多颗芯片组成。音频处理器,也可包括一颗或多颗芯片组成。视频处理器和音频处理器可以是单独的一颗芯片,也可以与至少一个处理器一起集成在一颗或多颗芯片中。
在一些实施例中,用于输入/输出的接口可以用于进行音频输出,即在至少一个处理器 250的控制下接收音频处理器输出的声音信号,并输出至扬声器等外放装置,以及除了显示设备200自身携带的扬声器之外,可以输出至外接设备的发生装置的外接音响输出端子,如:外接音响接口或耳机接口等。音频输出还可包括通信接口中的近距离通信装置,例如:用于进行蓝牙连接的扬声器声音输出的蓝牙模块。
在一些实施例中,图形处理器可以用于产生各种图形对象,如:图标、操作菜单、以及用户输入指令显示图形等。图形处理器可包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象。以及可包括渲染器,对基于运算器得到的各种对象,进行渲染,上述渲染后的对象用于显示在显示器上。
在一些实施例中,图形处理器可以和视频处理器可以集成设置,也可以分开设置,集成设置的时候可以执行输出给显示器的图形信号的处理,分离设置的时候可以分别执行不同的功能,例如图形处理器(GPU)+帧频率转换技术(Frame Rate Conversion,FRC)架构。
在一些实施例中,存储器可包括存储用于驱动显示设备200的各种软件模块。如:第一存储器中存储的各种软件模块,可包括:基础模块、检测模块、通信模块、显示控制模块、浏览器模块、和各种服务模块等中的至少一种。基础模块可用于显示设备200中各个硬件之间信号通信、并向上层模块发送处理和控制信号的底层软件模块。检测模块可用于从各种传感器或用户输入接口中收集各种信息,并进行数模转换以及分析管理的管理模块。
供电电源可以在至少一个处理器250控制下,通过外部电源输入的电力为显示设备200提供电。
在一些实施例中,显示设备200可以通过增加接收器接收用户在显示界面上输入的控制操作。例如,当接收器为触控组件时,触控组件可以与显示器260共同构成触摸屏。在触摸屏上用户可以通过触摸操作输入不同的控制指令,如用户可以输入点击、滑动、长按、双击等触控指令,不同的触控指令可以代表不同的控制功能。为了实现上述不同的触摸动作,触控组件可以在用户输入不同触摸动作时,产生不同的电信号,并将产生的电信号发送给至少一个处理器250。至少一个处理器250可以对接收到的电信号进行特征提取,从而根据提取的特征确定用户要执行的控制功能。
在一些实施例中,接收器还可以是与显示器260连接的外接控制组件,以台式电脑为例,接收器可以是与显示器连接的鼠标。用户通过鼠标可以输入不同的控制指令,如点击、滑动、切换等操作指令。当用户在外接控制组件上执行不同的控制操作时,外接控制组件可以响应于用户的控制操作,产生不同的控制信号,并将产生的控制信号发送给至少一个处理器250。至少一个处理器250可以对接收到的控制信号进行特征提取,从而根据提取的特征确定用户要执行的控制功能。
在一些实施例中,接收器还可以是与显示器260连接的控制组件,以台式电脑为例,控制组件可以是与显示器连接的键盘。用户可以通过键盘输入不同的控制指令,如点击、滑动、切换等操作指令。用户可以通过相应的快捷键,输入点击指令、滑动指令、切换指令等。例如,用户可以通过选择“Tab”键和方向键触发滑动操作,即当用户在键盘上同时选择“Tab”键和方向键时,至少一个处理器250可以接收到该按键信号,确定用户触发了滑动操作。然后,用户可以通过方向键控制显示界面中的位置标识移动,与此同时,至少一个处理器250可以根据用户通过方向键触发的位置标识的位置变化情况,对滑动指令的滑动方向和滑动距离进行判断,控制在媒资展示页面中对显示界面进行翻页或滚动,以显示更多的媒资选项。
可以理解,通过上述控制组件可以输入不同的操作指令,即用户可以通过不同的操作方式,如输入不同的快捷键,来输入点击操作、缩放操作和切换操作等。
如图4所示,可将显示设备的系统分为三层,从上至下分别为应用层、中间件层和硬件层。应用层主要可包含电视上的常用应用,以及应用框架(Application Framework),其中,常用应用主要是基于浏览器Browser开发的应用,例如:HTML5 APPs;以及原生应 用(Native APPs)。应用框架(Application Framework)是一个完整的程序模型,具备标准应用软件所需的一切基本功能,例如:文件存取、资料交换...,以及这些功能的使用接口(工具栏、状态列、菜单、对话框)。原生应用(Native APPs)可以支持在线或离线,消息推送或本地资源访问。中间件层可包括各种电视协议、多媒体协议以及系统组件等中间件。中间件可以使用系统软件所提供的基础服务(功能),衔接网络上应用系统的各个部分或不同的应用,能够达到资源共享、功能共享的目的。硬件层主要可包括HAL接口、硬件以及驱动,其中,HAL接口为所有电视芯片对接的统一接口,具体逻辑由各个芯片来实现。驱动主要可包含:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。
为了清楚的阐述本申请的方案,首先对本申请涉及的名词进行解释说明:
网卡,又称网络适配器或网络接口卡(Network Interface Card,NIC),是计算机或显示设备与局域网连接的设备。网卡插在计算机、显示设备或服务器的扩展槽中,通过网络线缆与网络交换数据、共享资源。另外安装网卡之后,往往还需要进行协议的配置。网卡可以将电脑的数据封装为帧,并通过网线(对无线网络来说就是电磁波)将数据发送到网路上;网卡还可以接受网络上其它设备传过来的帧,并将帧重新组合成数据,发送到该网卡所在的设备上。网卡又分为有线网卡和无线网卡,即LAN网卡和WLAN网卡。LAN网卡可以由有线通信模块提供有线网络,使得设备通过有线的方式接入局域网。WLAN网卡可以由无线通信模块提供无线网络,使得设备通过无线的方式接入局域网。
网络节点,网络节点和路由器是互联网实现的关键组成部分,它们可以实现数据在互联网中的传输和路由。网络节点可以是互联网中的一个网络设备,它可以是计算机、服务器、路由器、交换机等网络设备,也可以是网络设备上用于传输或接受数据包的端口。网络节点可以通过互联网协议互相识别和通信,每个网络节点都具有一个唯一的IP地址,用于标识它在互联网中的位置。本申请一些实施例中涉及的有线网络节点为需要有线连接的网络端口,设备有线连接该网络端口后,即可从网络端口获取网络信号,从而实现接入网络的目的。
USB网卡,即接口为USB的网卡。
热点网络节点,即无线接入点(Access Point,AP),设备可以通过无线AP实现网络共享功能。网络共享功能是指,具有通信能力的设备将自己接收的通用分组无线服务技术(General Packet Radio Service,GPRS)、第三代移动通信(Third Generation,3G)或第四代移动通信(fourth-generation,4G)信号转化为Wi-Fi信号发出去,让其他带有WiFi模块的设备也能够用显示设备的网络上网,此时共享网络的设备相当于一台无线AP。设备需要开启WLAN热点功能,才能够实现网络共享。
路由,路由是指导IP报文发送的路径信息,即指导节点之间如何进行数据报文(数据包)发送的路径信息。确定路径信息需要知晓端口的地址,因此节点(端口)之间产生路由的两个条件为:端口处于打开状态和端口配上IP地址。路由分为动态路由和静态路由,动态路由是指路由器能够自动地检录自己的路由表,并且能够根据实际情况的变化自主动态进行调整;静态路由是固定的,不会随着实际网络状态的变化而改变。
在一些实施例中,终端设备在接入网络后,还可以向外部设备共享网络。不同的外部设备接入同一局域网,还可以设置这些外部设备获取共享网络的网口之间的路由,使得网络数据包能够在这些外部设备之间相互传输,从而实现不同外部设备之间的数据共享。
例如,如图5所示,显示设备200可以将自己连接的网络通过有线网口共享至第一设备500,即第一设备500使用有线和显示设备200进行连接后,从显示设备200获取网络信号后接入同一局域网。显示设备200本身还可以发出热点,第二设备500连接热点后获取网络信号,也可以接入同一局域网。第一设备500和第二设备600接入同一局域网后,可以设置第一设备500连接的网口和第二设备600连接的网络之间的路由,这样,网络数 据包即可在第一设备500和第二设备600之间传输,实现第一设备500和第二设备600之间的数据共享。
第一设备500连接的网口和第二设备连接的网口之间的路由可以使用脚本的形式进行设置。使用脚本设置路由的原理为利用Android平台(以显示设备的系统为Android系统为例)现有的调试程序,逐行的进行命令行设置。在进行命令行设置时,需要充分了解链路的信息,基于充分了解的链路的信息,还需要针对需求进行逐步的设置,因而实际上使用脚本设置路由,需要依靠大量的固定的代码逻辑,如果设置路由需要的链路有一条通路没有考虑全面,则会导致路由设置失败,进而导致数据共享失败。
另外,脚本的本质是命令的组合,启动脚本的实际需要依赖Framework框架层的逻辑,框架层接收到网络连接的广播后,需要启动系统注册的service服务,通过该服务再执行shell脚本(程序化脚本),可见执行脚本的流程较复杂。如果用户频繁操作网络断开连接时,则需要频繁注册service服务,过于频繁的注册行为可能会导致service注册失败,导致无法执行shell脚本,进而导致路由设置失败,最终导致数据共享失败。
有鉴于此,根据本申请一些实施例的一种显示设备,可包括:显示器;至少一个可联网网卡,所述可联网网卡连接有通信模块,所述通信模块可被配置为通过所述可联网网卡向所述显示设备提供网络;有线网络节点,可被配置为连接第一设备,所述第一设备可通过所述有线网络节点接入网络;热点网络节点,至少一台第二设备可通过所述热点网络节点接入网络;存储器,可被配置为保存计算机指令和/或与显示设备关联的数据;至少一个处理器,与所述存储器和所述通信模块连接,可被配置为执行所述计算机指令以使所述显示设备执行:如果检测到所述通信模块向所述可联网网卡提供第一网络,并且至少一台所述第二设备连接至所述热点网络节点,通过所述热点网络节点向所述第二设备提供所述第一网络,以使所述第二设备接入所述第一网络;创建所述可联网网卡与所述有线网络节点之间的第一路由,并且通过所述第一路由向所述第一设备提供所述第一网络,以使所述第一设备接入所述第一网络;创建所述有线网络节点和所述热点网络节点之间的第二路由,以使所述第一设备基于所述第二路由和所述第一网络向所述第二设备传输数据包,或者所述第二设备基于所述第二路由和所述第一网络向所述第一设备传输数据包。
为了便于对本申请一些实施例中方案的理解,下面结合一些具体实施例和附图对各个步骤进行详细说明。图6为根据本申请一些实施例的数据共享系统框架示意图。图7为根据本申请一些实施例的一种用于显示设备的数据处理方法流程示意图,用于实现数据共享。
如图6所示,该数据共享系统主要可包括:显示设备200、第一设备500和第二设备600。其中,显示设备200可包括至少一个可联网网卡、有线网络节点eth1和热点网络节点AP0。可联网网卡连接有通信模块,通信模块可通过可联网网卡向显示设备200提供网络。第一设备500连接至有线网络节点eth1,第一设备500可通过有线网络节点eth1接入网络。如果显示设备200接入网络,还可以通过热点网络节点AP0向至少一台第二设备600提供网络,即至少一台第二设备600可通过热点网络节点AP0接入网络。对于第二设备600而言,此时的显示设备200即为一台无线AP,热点网络节点AP0即为AP节点。有线网络节点eth1、热点网络节点AP0和可联网网卡均设置在系统级芯片(System-on-a-Chip,SOC)芯片上。
基于图6所示的数据共享系统框架示意图,如图7所示,至少一个处理器可被配置为执行存储器保存的计算机指令以使显示设备执行包括但不限于以下步骤,以实现数据共享:
步骤S100,如果检测到通信模块向可联网网卡提供第一网络,并且至少一台第二设备连接至热点网络节点AP0,通过热点网络节点AP0向第二设备提供第一网络,以使第二设备接入所述第一网络。
本申请一些实施例中的可联网网卡可以是有线网卡或无线网卡。在执行步骤S100之前,执行步骤S100’:持续判断通信模块是否向可联网网卡提供第一网络。如果可联网网卡为有线网卡,则由有线通信模块通过有线网卡向显示设备提供网络,也就是说显示设备 的系统可通过有线网卡接入有线通信模块提供的有线网络。如果可联网网卡为无线网卡,则有无线通信模块通过无线网卡向显示设备提供网络,也就是说显示设备的系统可通过无线网卡接入无线通信模块提供的无线网络。
采用的通信模块可以是Zigbee无线通信设备(Zigbee是基于IEEE802.15.4标准的低功耗局域网协议,ZigBee技术是一种短距离、低功耗的无线通信技术)、4G或5G通信模组、无线WiFi模块等,这些通信模组可以与基站建立通信,然后为显示设备提供网络。如果可联网网卡为无线网卡,则为无线网卡提供网络的通信模块为无线通信模块,例如可以是无线WiFi模块;如果可联网网卡为有线网卡,则为有线网网卡提供网络的通信模块为有线通信模块,例如可以是利用物理介质(如网线等)连接具有通信联网功能的路由设备,该路由设备即可视为有线通信模块。
显示设备的Android系统可以创建至少一个用于监听可联网网卡的监听服务,该监听服务用于判断通信模块是否向可联网网卡提供第一网络。如果通信模块向可联网网卡提供第一网络,可联网网卡可从通信模块接收到数据包,因此监听服务可以监听可联网网卡是否接收到从通信模块传输的数据包来判断,通信模块是否向可联网网卡提供第一网络。如果监听到可联网网卡从通信模块获取到数据包,则可以生成监听事件,显示设备根据该监听事件判断通信模块向可联网网卡提供第一网络。如果显示设备包括多个可联网网卡,可以对生成的监听事件标记上可联网网卡的网卡标识,根据该网卡标识,显示设备可以判断是哪一个可联网网卡被提供第一网络。
例如,显示设备的SOC芯片上配置有可联网网卡A、可联网网卡B和可联网网卡C,如果通信模块向可联网网卡A提供第一网络,则监听服务在生成监听事件时,可以在监听事件上标记可联网网卡A的网卡标识A。显示设备在接收到监听事件后,可以根据监听事件携带的网卡标识A,判断通信模块向可联网网卡A提供第一网络。这样可以准确的设置已经联网的网卡与第一网络节点之间的路由。如果通信模块向可联网网卡A和可联网网卡B提供第一网络,则监听服务可以生成两个监听事件:第一监听事件和第二监听事件,其中,第一监听事件携带有可联网网卡A的网卡标识A,第二监听事件携带有可联网网卡B的网卡标识B。显示设备可以根据第一监听事件和第二监听事件判断通信模块向可联网网卡A和可联网网卡B提供第一网络。
通信模块在向可联网网卡提供第一网络时,系统还可以给可联网网卡配置一个获取IP的服务,首先获取IP的服务会查询该可联网网卡的第一网络节点是否存在,即可联网网卡的第一网络节点为up状态(正常工作状态)。如果可联网网卡的第一网络节点存在,说明可联网网卡对应的第一网络节点已经准备好,然后启动可联网网卡,再通过动态主机配置协议客户端获取IP,动态主机配置协议服务端接收到请求会发送IP给可联网网卡。可联网网卡获取IP后将IP等信息写入可联网网卡,此时即完成通信模块向可联网网卡提供第一网络的过程。
在检测到通信模块向可联网网卡提供第一网络,还需要继续判断是否有至少一台第二设备连接至热点网络节点AP0。如果通信模块向可联网网卡提供第一网络,此时显示设备即接入第一网络,如果显示设备开启了热点功能(并且设置为AP模式而不是STA(站点)模式),还可以通过热点功能将第一网络共享至至少一台第二设备。第二设备指的是连接至热点网络节点AP0的设备,也即连接显示设备此时开启的热点的设备。
第二设备连接显示设备的热点的方式可包括但不限于如下:显示设备开启热点功能后,显示设备可以将连接的第一网络的网络信号转化为Wi-Fi信号再发出去。第二设备搜索到显示设备通过热点分享的Wi-Fi信号后,可以通过在第二设备的用户界面上输入该热点Wi-Fi的热点名称和热点密码,接入该热点Wi-Fi,从而实现第二设备通过热点网络节点AP0接入第一网络的目的。
第二设备接入第一网络时还需要为第二设备配置IP地址,为第二设备配置IP地址的过程可包括但不限于如下:在热点网络节点AP0开启时,为热点网络节点AP0配置第三 网关地址;在第二设备连接至热点网络节点AP0时,根据第三网关地址为第二设备配置第四网关地址,以使第二设备利用第四网关地址接入第一网络。
显示设备开启热点功能后,可以为热点网络节点AP0配置IP地址(第三网关地址),此时实际上还需要根据热点网络节点AP0的IP地址和可联网网卡的IP地址,创建热点网络节点AP0与可联网网卡之间的路由,这样,可联网网卡可以将第一网络的网络信号传输至热点网络节点AP0,然后热点网络节点AP0将第一网络的网络信号转化为Wi-Fi信号再发出去。这样第二设备才能够在搜索到该Wi-Fi信号是,利用热点名称和热点密码连接至热点网络节点AP0。
热点网络节点AP0分配到IP地址后,并且第二设备利用热点名称和热点密码连接至热点网络节点AP0,系统再根据热点网络节点AP0的IP地址,为第二设备(第二设备的无线网卡)配置IP地址(第四网关地址),第四网关地址与第三网关地址位于同一网段,这样第二设备才能够根据第四网关地址接入第一网络(获取第一网络的网络信号)。
步骤S200,创建可联网网卡与有线网络节点eth1之间的第一路由,并且通过第一路由向第一设备提供所述第一网络,以使第一设备接入所述第一网络。
步骤S100为将第一设备接入第一网络的实现步骤,步骤S200则为将第二设备接入第一网络的实现步骤。由于第一设备连接至有线网络节点eth1,因此需要创建可联网网卡与有线网络节点eth1之间的第一路由,通过第一路由实现可联网网卡与有线网络节点eth1之间的网络数据包传输,然后实现将第一设备接入第一网络。
创建可联网网卡与有线网络节点eth1之间的第一路由的过程可以包括但不限于如下:首先创建一个路由文件;向路由文件中导入用于创建路由的路由模块;向路由模块中引入要链接的节点的名称和IP地址,即引入要建立路由的可联网网卡与有线网络节点eth1的名称和IP地址;根据可联网网卡和有线网络节点eth1的名称和IP地址创建路由路径;根据创建的路由路径创建路由对象;把创建的路由对象导出给外部使用。在创建完成可联网网卡与有线网络节点eth1之间的第一路由之后,如图8所示的路由示意图中,可联网网卡可以将第一网络的网络信号通过第一路由提供给有线网络节点eth1,使得有线网络节点eth1接入第一网络。
因此,在创建第一路由之前,需要获取可联网网卡与有线网络节点eth1的IP地址,然后根据可联网网卡与有线网络节点eth1的IP地址,创建可联网网卡与有线网络节点eth1之间的第一路由。系统还可以给可联网网卡配置一个获取IP的服务,通信模块在向可联网网卡提供第一网络时,启动可联网网卡,再通过动态主机配置协议客户端获取IP,动态主机配置协议服务端接收到请求会发送IP给可联网网卡。可联网网卡获取IP后将IP等信息写入可联网网卡,此时可联网网卡即记录有可使用的IP地址,可利用该IP地址创建可联网网卡与其他节点之间的路由。
有线网络节点eth1的IP地址获取过程可包括但不限于如下:为有线网络节点配置第一网关地址;如果检测到有线网络节点和第一设备之间建立通路,根据第一网关地址为第一设备配置第二网关地址,以使根据第一网关地址和第二网关地址,利用通路在第一设备和有线网络节点之间传输数据包。
在一些实施例中,如图15所示的又一种数据共享系统框架图,其中,有线网络节点eth1可以为USB网卡,通路可包括USB网卡、USB转LAN网卡(ethernet controller,以太网控制器)和LAN转USB网卡(ethernet controller,以太网控制器),USB网卡连接至USB转LAN网卡,USB转LAN网卡连接至LAN转USB网卡,LAN转USB网卡连接至第一设备,其中,USB网卡可以将网络信号转化为USB信号,USB转LAN网卡可以将USB信号转化为网络信号,LAN转USB网卡可以将网络信号转化为USB信号。信号传输的具体实现过程可包括但不限于如下,有线网络节点eth1接收到第一网络信号,将该第一网络信号转化为第一USB信号,然后将该第一USB信号传输至USB转LAN网卡。USB转LAN网卡将第一USB信号转化为第二网络信号之后,将第二网络信号传输给LAN转 USB网卡。LAN转USB网卡将第二网络信号转化为第二USB信号之后,再将第二USB信号传输给第一设备。这样可以实现有线网络节点eth1与第一设备上有线网卡之间的有线连接。
本申请一些实施例为基于Android的原生逻辑,将有线网络节点eth1的网线识别功能过滤掉,即如果有网线插入有线网络节点eth1对应端口时,不去识别网线的插入,而是将有线网络节点eth1作为一个可共享网络的节点使用。显示设备的Android系统启动后,会打开网络共享,然后启动IPserver,此时Android系统进入IPserver状态,开始配置和启动动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)server。DHCP是一个应用层协议,将显示设备的系统IP地址设置为动态获取方式时,DHCP服务器就会根据DHCP协议给客户端分配IP,使得显示设备能够利用分配的IP接入网路。
服务器基于DHCP给显示设备的有线网络节点eth1分配IP地址,即分配第一网关地址之后,如果检测到的第一设备与有线网络节点eth1之间建立通路(第一设备通过网线连接有线网络节点eth1时,第一设备与有线网络节点eth1之间建立通路),则可以按照正常插入网线的流程开启请求IP地址的流程。由于是显示设备通过有线网络节点eth1向第一设备共享网络,因此第一设备(第一设备的有线网卡)可以获取的IP地址(第二网关地址)与eth1的IP地址为在一个网络的IP地址。这样第一设备的有线网卡与有线网络节点eth1可以进行数据包的传输。
可联网网卡获取到IP地址,并且有线网络节点eth1获取到分配的IP地址之后,即可以创建可联网网卡与有线网络节点eth1之间的第一路由。然后可联网网卡即可通过第一路由向与有线网络节点eth1建立了通路的第一设备发送网络信号,即使得第一设备接入第一网络。
步骤S300,创建有线网络节点eth1和热点网络节点AP0之间的第二路由,以使在第一设备和第二设备之间传输数据包。
这样,采用上述方法便可以使第一设备基于第二路由和第一网络向第二设备传输数据包,或者第二设备基于第二路由和第一网络向第一设备传输。
基于步骤S100和步骤S200,完成第一设备和第二设备接入第一网络之后,还需要创建有线网络节点eth1和热点网络节点AP0之间的第二路由,这样第一设备和第二设备接入同一局域网之后,再基于创建的第二路由,可以进行第一设备和第二设备之间的数据传输,实现数据共享。如图8所示的路由示意图中,第一设备500和第二设备600接入同一局域网之后,第一设备500可以经由有线网络节点eth1-热点网络节点AP0的-第二设备600的路由路径将网络数据包传输至第二设备600,第二设备600可以经由热点网络节点AP0-有线网络节点eth1-第一设备500的路由路径将网络数据包传输至第一设备500,从而实现第一设备500和第二设备600之间的数据共享。
创建有线网络节点eth1和热点网络节点AP0之间的第二路由的过程可包括但不限于如下:首先创建一个路由文件;向路由文件中导入用于创建路由的路由模块;向路由模块中引入要链接的节点的名称和IP地址,即引入要建立路由的有线网络节点eth1和热点网络节点AP0的名称和IP地址;根据热点网络节点AP0和有线网络节点eth1的名称和IP地址创建路由路径;根据创建的路由路径创建路由对象;把创建的路由对象导出给外部使用。因此,在创建第二路由之前,还需要获取热点网络节点AP0与有线网络节点eth1的IP地址,然后根据热点网络节点AP0与有线网络节点eth1的IP地址,创建热点网络节点AP0与有线网络节点eth1之间的第一路由。
由以上方案可知,根据本申请一些实施例的一种用于显示设备的数据处理方法,显示设备可包括至少一个可联网网卡,通信模块可被配置为通过可联网网卡向显示设备提供网络;有线网络节点eth1,第一设备可通过有线网络节eth1点连接网络。热点网络节点AP0,显示设备可通过热点网络节点AP0向至少一台第二设备提供网络。如果检测到通信模块向可联网网卡提供第一网络,并且至少一台第二设备连接至热点网络节点AP0,通过热点网 络节点AP0向第二设备提供第一网络,第二设备则可以接入第一网络。此时创建可联网网卡与有线网络节点eth1之间的第一路由,并且通过第一路由向第一设备提供第一网络,第一设备则可以接入第一网络。创建有线网络节点eth1和热点网络节点AP0之间的第二路由,第一设备和第二设备之间则可以基于第一网络和第二路由传输数据包。本申请一些实施例利用Android原生封装好的节点,设置节点与节点之间的路由,这样设置的路由链路更加稳定,也可以避免脚本执行受限导致路由设置失败的情况发生,提升路由设置成功率,进而提升不同设备之间数据共享的成功率。
在一些实施例中,如图9所示,显示设备200可包括两个可联网网卡,且两个可联网网卡分别为有线网卡和无线网卡,有线网卡连接有有线通信模块,无线网卡连接有无线通信模块。因此整个数据共享系统的连网情况可包含但不限于以下几种:
如图10所示的数据共享系统框架图,如果只有无线通信模块向无线网卡WLAN0提供无线网络,则系统只会检测到无线通信模块向无线网卡WLAN0提供网络,此时只有无线网卡WLAN0 up(正常工作状态),则将无线通信模块向无线网卡WLAN0提供的无线网络确定为第一网络,可以通过热点网络节点AP0向第二设备600提供该无线网络,第二设备600接入该无线网络。然后创建无线网卡WLAN0与有线网络节点eth1之间的第一路由,因此无线网卡WLAN0可以通过第一路由向第一设备500提供该无线网络,实现第一设备500和第二设备600接入同一局域网。也即当前无线网卡WLAN0通过有线网络节点eth1向第一设备500提供网络,通过热点网络节点AP0向第二设备600提供网络。
如图11所示的数据共享系统框架图,如果无线通信模块向无线网卡WLAN0提供无线网络的同时,有线通信模块向有线网卡eth0提供有线网络,则系统会同时检测到无线网卡WLAN0和有线网卡eth0接入网络,此时无线网卡WLAN0和有线网卡eth0同时up。由于通常有线网络相较于无线网络更稳定,因此只将有线通信模块向有线网卡eth0提供的有线网络确定为第一网络,可以通过热点网络节点AP0向第二设备600提供该有线网络,第二设备600接入该有线网络。然后创建有线网卡eth0与有线网络节点eth1之间的第一路由,因此有线网卡eth0可以通过有线网络节点eth1向第一设备500提供该有线网络。实现第一设备500和第二设备600接入同一局域网。也即当前有线网卡eth0通过有线网络节点eth1向第一设备500提供网络,通过热点网络节点AP0向第二设备600提供网络。
如果只有无线通信模块向有线网卡eth0提供有线网络,则系统只会检测到有线通信模块向有线网卡eth0提供网络,此时只有有线网卡eth0 up,则将有线通信模块向有线网卡eth0提供的有线网络确定为第一网络,可以通过热点网络节点AP0向第二设备600提供该有线网络,第二设备600接入该有线网络。然后创建有线网卡eth0与有线网络节点eth1之间的第一路由,因此有线网卡eth0可以通过第一路由向第一设备500提供该有线网络,实现第一设备500和第二设备600接入同一局域网。也即当前有线网卡eth0通过有线网络节点eth1向第一设备500提供网络,通过热点网络节点AP0向第二设备600提供网络。
如图9所示的数据共享系统框架图,如果有线通信模块和无线通信模块均不向显示设备200提供网络,则有线网卡和无线网卡均为down(均不是正常工作状态),此时不可按照上述实施例中的方式实现第一设备500和第二设备600之间的数据共享。如果当前为无线通信模块向显示设备200提供网络,即第一设备500和第二设备600同时接入无线网卡WLAN0提供的网络。并且检测到有线通信模块向有线网卡eth0提供网络,此时可以取消将无线通信模块向无线网卡WLAN0提供的网络确定为第一网络,而重新将有线通信模块向有线网卡eth0提供的有线网络确定为第一网络,同时删除无线网卡WLAN0与有线网络节点eth1之间的第一路由,而创建有线网卡eth0与有线网络节点eth1之间的第一路由。此时第一设备500接入的网络切换为有线网卡eth0提供的网络,同时第二设备600接入的网络也切换为有线网卡eth0提供的网络。这样,由原来的第一设备500和第二设备600同时接入无线网卡提供的网络,转变为第一设备500和第二设备600同时接入有线网卡提供的网络。
另外,如果当前有线通信模块与无线通信模块同时分别向有线网卡eth0和无线网卡WLAN0提供网络,按照上述实施例为有线由有线网卡eth0向第一设备500和第二设备600提供网络使得第一设备500和第二设备600接入同一局域网。在数据包传输过程中,有线通信模块突然故障,或者有线网卡eth0故障,导致有线网卡eth0无法向第一设备500和第二设备600提供网络。此时系统检测到该故障后,可以启动无线网卡,使得无线网卡up后通过热点网络节点AP0提供无线网络,并且删除有线网卡eth0和有线网络节点eth1之间的第一路由之后,创建无线网卡WLAN0和有线网络节点eth1之间的第一路由,使得无线网卡WLAN0可以通过有线网络节点eth1向第一设备500提供无线网络。可见本申请的路由的创建方法不仅能够避免脚本限制对成功率的影响,还能够应对网络切换时或者网络不稳定对路由创建成功率的影响,因而能够较好的提升路由创建成功率,从而实现提升数据共享的成功率。
在一些实施例中,如果存在至少两台第二设备600通过热点网络节点AP0连接至当前显示设备200接入的局域网,该至少两台第二设备600则均可以与第一设备500实现数据包的互相传输。如图12所示,此时显示设备200的至少一个处理器还可被配置为执行计算机指令以使显示设备200执行包括但不限于以下步骤:
步骤S201,监听是否接收到第二设备的接入信号,若是,则执行步骤S202,若否,则继续监听。
步骤S202,将接入的第二设备的标识添加至设备列表,并在显示器上显示设备列表,其中,设备列表包括至少两台第二设备。
一些实施例中,至少两台第二设备可以均通过热点名称和热点密码接入当前的热点网络,显示设备检测到至少两台第二设备的接入信号,可以将接入热点网络的第二设备的名称添加至设备列表中,如图13所示的用户界面示意图,可以在显示设备200的用户界面中弹出提示对话框,该提示对话框可包括提示信息和设备列表。提示信息可包括但不限于:当前存在多台设备想要数据共享,请选择数据共享的设备。这样,通过该设备列表,用户可以判断当前有哪些第二设备接入了热点网络。
步骤S203,接收用户输入的选择指令,其中,选择指令表征设备列表中被选择的第二设备。
在图13所示的用户界面中,如果选择器焦点落在设备A上时,用户点击确认按钮控件,然后根据用户输入的操作生成对应的选择指令,此时的选择指令表征设备A为被选择的第二设备600。
步骤S204,根据选择指令,控制被选择的第二设备与第一设备之间进行数据共享。
一些实施例中,可以根据选择指令控制第一设备基于第二路由和第一网络向被选择的第二设备传输数据包,或者,控制被选择的第二设备基于第二路由和第一网络向第一设备传输数据包,本申请不做具体限定。
基于步骤S202的举例,当前被选择的第二设备600为设备A,因此控制设备A基于第二路由和第一网络向第一设备500传输数据包,或者控制第一设备500基于第二路由和第一网络向设备A传输数据包。因而可以实现在显示设备200上进行操作,控制共享有显示设备200的网络的不同设备之间的数据共享。需要说明的是,如果显示设备200通过热点网络节点AP0向一台第二设备600共享网络,则不需要在显示设备200上弹出图13所示的提示对话框。可以直接进行第一设备500和第二设备600之间的数据共享过程。
另外,第一设备500还可以与多台第二设备600同时进行数据共享。如图14所示的用户界面中,在设备列表的设备名称之后还可设置有复选框,如果用户点击设备名称对应的复选框,表示需要选择该设备作为第二设备600与第一设备500进行数据共享。用户可以同时点击多个设备名称对应的复选框,表示需要选择多台设备作为第二设备600与第一设备500进行数据共享。
例如,用户点击设备A对应的复选框和设备B对应的复选框,也即需要同时选择设备 A与设备B作为第二设备600与第一设备500进行数据共享。用户同时将设备A对应的复选框和设备B对应的复选框勾选为被选择状态后,然后点击确认按钮控制控件,此时生成的选择指令,表征设备A和设备B同时被选择为需要与第一设备500进行数据共享的设备。显示设备200可以将该选择指令发送至热点网络节点AP0,使得热点网络节点AP0可以同时向第一设备500传输设备A和设备B发送的数据包,实现第一设备500同时与设备A与设备B进行数据共享。
在一些实施例中,如果存在多个可联网网卡向显示设备200提供网络,可以事先获取第一设备500或者第二设备600需要共享的数据的类型,然后根据不同的数据类型选择不同的可联网网卡。例如,当前显示设备200上配置有有线网卡和无线网卡,有线网卡提供的有线网络相较于无线网卡提供的无线网络更稳定。如果显示设备200事先获取到第一设备500或者第二设备600需要共享的数据为视频类型,因此需要利用较稳定的有线网络进行数据共享。因此可以控制有线网卡按照上述实施例的方式同时为第一设备500和第二设备600提供有线网络。如果显示设备200实现获取到第一设备500或者第二设备600需要共享的数据为文字类型,因此用无线网络进行数据共享即可。因此可以控制无线网卡按照上述实施例的方式同时为第一设备500和第二设备600提供无线网络。
作为一个具体实施例,假设第一设备500为ops电脑,第二设备600为手机终端,事先为显示设备200的有线网络节点eth1配置有IP地址(例如192.168.44.1,子网掩码Mask为255.255.255.0)。如图15所示和图16所示,具体流程可包括但不限于以下步骤:
步骤S3010,显示设备和ops电脑同步上电。
一些实施例中,显示设备和ops电脑同步上电后,通过USB转LAN的有线通路有效,此时对于显示设备的Android系统来说可以检测到有线网络节点eth1 up。
步骤S3011,开启对eth1节点的网络共享流程。
一些实施例中,检测到ops电脑与有线网络节点eth1之间的通路通了之后,可以按照正常插入网线的流程开启请求IP的流程,最终ops电脑的有线网卡可以获取一个192.168.44网段的IP地址,此时完成了实现显示设备200共享网络给ops电脑的过程。其中,ops电脑侧执行的流程可包括但不限于如下:步骤S3011’,监测到网卡UP;步骤S3011”,网卡自动获取IP地址(DHCP过程);步骤S3011”’,OPS电脑被分配到IP地址:192.168.44.XX。
步骤S3012,注册对其他网络节点的监听。
一些实施例中,配置有线网络节点eth1(USB1)的数据转发,配置路由,并且添加对其他网络节点的监听(用于监听相对于有线网络节点eth1的上行网络的变化可包括对有线网卡eth0、无线网卡WLAN0(USB2)和AP0的监听)。
步骤S3013,如果监听上行网络有变化,则添加上行网络到有线网络节点eth1的策略路由,即配置其他节点与eth1之间的路由,使得数据包可以从有线网络节点eth1与其他节点之间的传输。
一些实施例中,如果监听到有线网卡eth0 up,则获取有线网卡的IP地址,并且配置有线网卡eth0与有线网络节点eth1之间的路由,使得数据包可以从有线网卡eth0至有线网络节点eth1之间传输(S3014’)。如果监听到无线网卡WLAN0 up,获取无线网卡的IP地址,并且配置无线网卡WLAN0与有线网络节点eth1之间的路由,使得数据包可以从无线网卡WLAN0至有线网络节点eth1之间传输(S3014”)。如果监听到显示设备200的Android系统开启热点,则获取热点网络节点AP0的IP地址,并且配置热点网络节点AP0与有线网络节点eth1之间的路由,使得数据包可以从热点网络节点AP0至有线网络节点eth1之间传输(S3014”’)。
如果手机终端通过该热点连接至显示设备200当前接入的网络,ops电脑也连接至显示设备200当前接入的网络,因而实现手机终端与ops电脑接入同一局域网,再基于热点网络节点AP0和有线网络节点eth1之间配置的路由,最终可以实现手机终端与ops电脑之间的数据共享。其中该数据共享过程可以是手机终端将显示屏正在展示的内容投屏至ops 电脑,或者ops电脑将显示屏正在展示的内容投屏至手机终端。
需要说明的是,在ops电脑和手机终端接入同一局域网,并且热点网络节点AP0与有限网络节点eth1之间的路由配置完成后,可以不需要用户操作即进行投屏的过程。还可以对ops电脑和手机终端之间的路由进行设置,例如设置为只允许ops电脑向手机终端投屏,或者设置为只允许手机终端向ops电脑投屏。也可以设置先由显示设备200接收ops电脑和手机终端当前显示屏显示的内容,如果ops电脑当前显示的为视频内容而手机终端当前黑屏或者显示的不为视频内容,则优先将ops电脑当前显示的视频内容投屏至手机终端。如果手机终端当前显示的为视频内容而ops电脑当前黑屏或者显示的不为视频内容,则优先将手机终端当前显示的视频内容投屏至ops电脑。
通过上述方法,使得用户可以将其它电子设备(如手机、平板电脑或电脑等)上的多媒体内容(如视频、音乐、照片或文档等)轻松地共享到电视的屏幕上,实现了更好的观看体验。通常电视所支持的无线传屏方式主要有两种。其中,一种无线传屏方式为热点传屏。具体地,电视通过其搭载的WiFi芯片创建热点,使得其它电子设备可以连接到该热点,这样用户可以将其它电子设备上的多媒体内容共享到电视上进行显示。另一种无线传屏方式为点对点(P2P)传屏(如Miracast传屏)。具体地,电视通过其搭载的WiFi芯片可以与其它电子设备建立点对点网络,基于点对点网络,用户可以将其它电子设备上的多媒体内容共享至电视上进行显示。
目前电视大多搭载单个WiFi芯片,这就导致电视仅能支持选择开启热点功能和点对点网络(即P2P)功能中的一个。在实际实现中,在电视的热点功能开启的情况下,用户无法开启电视的P2P功能。如果用户需要开启电视的P2P功能,需要先关闭电视的热点功能,才能开启电视的P2P功能。而在电视的P2P功能开启的情况下,如果用户开启电视的热点功能,则电视会先关闭P2P功能,再开启电视的热点功能。另外,随着电视技术的不断发展,电视可以搭载双WiFi芯片。但是,由于现有的电视大多搭载安卓系统,而安卓系统的架构是基于单个WiFi芯片设计的,即安卓系统不支持热点功能和点对点网络(即P2P)功能同时开启,这就导致搭载双WiFi芯片的智能电视也仅能支持选择开启热点功能和点对点网络(即P2P)功能中的一个,导致现有的电视仍无法支持热点传屏和P2P传屏的同时使用。相关技术中,通过对安卓系统的dnsmasq配置文件进行修改,可以使得安卓系统支持热点功能和点对点网络(即P2P)功能同时开启,即使得电视存在支持热点传屏和P2P传屏的同时使用。但是,这种方式容易导致电视在整机运行时出现错误。
根据本申请一些实施例的一种显示设备,该显示设备还可包括:显示器,可被配置为显示投屏数据;第一无线通信模块,可被配置为通过第一通信模式与电子设备建立通信连接;第二无线通信模块,可被配置为通过第二通信模式与电子设备建立通信连接;至少一个处理器,与显示器、第一无线通信模块和第二无线通信模块连接,还可被配置为执行存储器保存的计算机指令以使显示设备执行:响应于第一操作,启用第一通信模式对应的第一网络节点,第一通信模式为接入点模式,所述第一网络节点为无线接入点;响应于第二操作,获取第一信息;在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,启用第二通信模式对应的第二网络节点,第二通信模式为点对点网络模式,第二网络节点为点对点网络中的节点;在通过第一网络节点接收到第一投屏数据,且通过第二网络节点接收到第二投屏数据的情况下,控制显示器以分屏方式,显示第一投屏数据和第二投屏数据,以实现热点投屏和点对点投屏的同时使用,使得用户可以在显示设备上同时观看来自两个不同的电子设备的投屏数据,进而为用户提供更丰富的观看体验。
一些实施例中,仍参阅图3所示,通信装置220可包括两个WiFi芯片(模块),分别为第一WiFi芯片(即第一无线通信模块)和第二WiFi芯片(即第二无线通信模块)。其中,一方面,显示设备200通过第一WiFi芯片(即第一无线通信模块)可以创建接入点,并与作为站点的其它电子设备建立无线通信连接,进而实现热点传屏功能。另一方面,显示设备200通过第二WiFi芯片(即第二无线通信模块)可以与其它电子设备建立点对 点网络连接,进而实现点对点传屏功能。
图17为根据本申请一些实施例的显示设备中与同时投屏相关的软件配置示意图,如图17所示,将系统可分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”)、应用程序框架(Application Framework)层(简称“框架层”)、内核层和硬件层。
在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序或时钟程序等;也可以是第三方开发者所开发的应用程序。在具体实施时,应用程序层中的应用程序包不限于以上举例。例如,应用程序层可包括无线传屏应用程序(如Miracast传屏应用程序)。显示设备200可以响应于用户启动无线传屏应用程序的操作,开启无线传屏应用程序,并通过无线传屏应用程序可以与其它电子设备建立点对点网络(即P2P)连接,进而基于显示设备与其它电子设备之间的点对点网络(即P2P)连接,接收其它电子设备发送的投屏数据并显示,即实现P2P传屏。
框架层为应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务。一些实施例中,应用程序框架层可包括系统服务,系统服务可以用于在显示设备开启点对点网络功能时,判断显示设备是否同时支持第一通信模式(即接入点模式)和第二通信模式(即点对点网络模式),并在显示设备同时支持第一通信模式(即接入点模式)和第二通信模式(即点对点网络模式)的情况下,向显示设备的内核层发送第一通知,第一通知用于指示显示设备同时支持第一通信模式(即接入点模式)和第二通信模式(即点对点网络模式)。
在一些实施例中,如图17所示,硬件层可包括图3所示的至少一个处理器250和显示器260等。硬件层还可包括通信装置,通信装置可包括第一WiFi芯片(即第一无线通信模块)和第二WiFi芯片(即第二无线通信模块)
内核层是硬件和软件之间的层。内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WiFi驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、MIC驱动以及电源驱动等。
其中,显示器对应的显示驱动可以调用显示器的接口,以获取投屏数据,或者调用显示器的接口对显示器进行设置。扬声器对应的音频驱动可以调用扬声器的接口,以获取所要播放投屏数据对应的音频数据,或者调用扬声器的接口对扬声器进行设置。
其中,WiFi驱动可包括第一WiFi芯片(即第一无线通信模块)对应的第一WiFi驱动和第二WiFi芯片(即第二无线通信模块)对应的第二WiFi驱动。
在一些实施例中,在显示设备启动时,显示设备加载第一WiFi驱动,使得第一WiFi芯片创建第一网络节点,显示加载第二WiFi驱动,使得第二WiFi芯片创建第二网络节点。在显示设备接收到第一操作(即用户开启显示设备的热点功能)的情况下,显示设备的内核层的第一WiFi驱动启用第一网络节点。在显示设备接收到第二操作(即用户开启显示设备的点对点功能)的情况下,显示设备的框架层判断显示设备是否同时支持第一通信模式(即接入点模式)和第二通信模式(即点对点网络模式)。在显示设备同时支持第一通信模式和第二通信模式的情况下,显示设备的框架层向显示设备的内核层发送第一通知。显示设备的内核层接收到第一通知后,显示设备的内核层判断显示设备搭载的WiFi芯片是否可以支持第一通信模式(即接入点模式)和第二通信模式(即点对点网络模式)并发。在显示设备搭载的WiFi芯片支持第一通信模式和第二通信模式并发的情况下,显示设备的内核层的第二WiFi驱动启用第二网络节点。
之后,在显示设备接收第一电子设备发送的第一投屏连接请求的情况下,显示设备通过第一网络节点与第一电子设备建立热点连接,基于第一电子设备与显示设备之间的热点连接,显示设备可以接收第一电子设备发送的第一投屏数据。在显示设备接收第二电子设 备发送的第二投屏连接请求的情况下,显示设备通过第二网络节点与第二电子设备建立点对点网络连接,基于第二电子设备与显示设备之间的立点对点网络连接,显示设备可以接收第二电子设备发送的第二投屏数据。显示设备可以通过显示驱动调用显示器,以控制显示器采用分屏方式显示第一投屏数据和第二投屏数据。
一些实施例中,第一无线通信模块(即上述第一WiFi芯片)可以通过第一通信模式与电子设备建立通信连接。第一通信模式可以是接入点模式。显示设备通过第一无线通信模块可以创建接入点,并与作为站点的其它电子设备建立无线通信连接,进而实现热点传屏功能。第二无线通信模块(即上述第二WiFi芯片)可以通过第二通信模式与电子设备建立通信连接。第二通信模式可以是点对点网络(即P2P)模式。显示设备通过第二无线通信模块可以与其它电子设备建立点对点网络连接,进而实现点对点传屏功能。也就是说,该显示设备搭载了双WiFi芯片,可以同时支持接入点和点对点网络两种无线通信模式,也即该显示设备可以同时支持热点传屏功能和点对点传屏功能。
对本申请一些实施例的另一种用于显示设备的数据处理方法(投屏方法)进行说明。如图18所示,该显示设备的至少一个处理器还可被配置为执行计算机指令以使显示设备执行可包括但不限于以下步骤S1810~步骤S1840。
步骤S1810,响应于第一操作,启用第一通信模式对应的第一网络节点,第一通信模式为接入点模式,第一网络节点为无线接入点。
其中,第一网络节点可以是第一无线通信模块创建的网络节点。一些实施例中,第一网络节点为第一无线通信模块创建的无线接入点(即access point,AP)。
第一操作可以用于触发开启显示设备的第一通信模式,即用于触发启用第一通信模式对应的第一网络节点。第一操作可以是用户对显示设备的热点启动控件的触发操作;也可以是用户对显示设备的开机操作。
例如,以第一操作为用户对显示设备的热点启动控件的触发操作为例。响应于用户对显示设备的开机操作,显示设备启动,并连接网络。之后,用户可以打开显示设备的网络设置界面。如图19所示,显示设备601的网络设置界面显示有热点启动控件602,响应于用户对热点启动控件602的触发操作(如点击操作),显示设备601开启热点功能,即显示设备601启用第一通信模式对应的第一网络节点,也即显示设备601启用无线接入点。
又如,以第一操作为用户对显示设备的开机操作为例。响应于用户对显示设备的开机操作,显示设备启动,并自动连接网络。在显示设备连接到网络的情况下,显示设备自动开启热点功能,即显示设备启用第一通信模式对应的第一网络节点,也即显示设备启用无线接入点。
在一些实施例中,启用第一通信模式对应的第一网络节点,至少一个处理器具体可被配置为执行计算机指令以使显示设备执行:显示设备的驱动层中第一无线通信模块对应的驱动程序将第一网络节点设置为启用状态(或称为激活状态),即第一无线通信模块对应的驱动程序up第一网络节点。
步骤S1820,响应于第二操作,获取第一信息。
第一信息可以用于表示显示设备是否同时支持第一通信模式和第二通信模式,即第一信息可以用于表示第一无线通信模块对应的驱动程序和第二无线通信模块对应的驱动程序是否加载成功。
一些实施例中,第一信息可以是显示设备存储的目标字段(如WiFi double support)对应的字段值。例如,目标字段(如WiFi double support)对应的字段值为第一值(如true),则说明显示设备的第一无线通信模块对应的驱动程序和第二无线通信模块对应的驱动程序均加载成功,即显示设备同时支持第一通信模式和第二通信模式,也即显示设备同时支持热点传屏和点对点(即P2P)传屏。目标字段(如WiFi double support)对应的字段值为第二值(如false),则说明显示设备不支持第一通信模式和第二通信模式,也即显示设备不能同时支持热点传屏和点对点(即P2P)传屏。第二操作可以用于触发获取第一信息。 第二操作可以是用户对显示设备的点对点网络(即P2P)启动控件的触发操作。
例如,以第二操作为用户对显示设备的点对点网络(即P2P)启动控件的触发操作为例。如图20中的(a)所示,显示设备701上安装有无线传屏应用程序(如Miracast传屏应用程序)702。响应于用户对无线传屏应用程序702的触发操作(如点击操作),如图20中的(b)所示,显示设备701可以显示无线传屏应用程序702对应的界面。无线传屏应用程序702对应的界面可包括点对点网络(即P2P)启动控件703。响应于用户对点对点网络(即P2P)启动控件703的触发操作(如点击操作),显示设备701获取第一信息,在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,显示设备701开启点对点网络(即P2P)功能,即显示设备701启用第二通信模式对应的第二网络节点,也即显示设备701发起一个P2P寻找,使得用户可以使用其它电子设备与显示设备建立点对点网络(即P2P)连接,进而实现P2P传屏。
需要说明的是,由于在显示设备连接网络(即显示设备开启WiFi功能)的情况下,显示设备可以开启点对点网络功能,因此,在响应于第二操作,获取第一信息之前,该至少一个处理器还可被配置为执行计算机指令以使显示设备执行:开启显示设备的WiFi功能。在一些实施例中,响应于用户对显示设备的开机操作,显示设备启动,并自动开启WiFi功能,即显示设备开机后自动连接网络。
还需要说明的是,步骤S1820也可以在步骤S1810之前执行,也就是说,用户可以先开启显示设备的热点功能,再开启显示设备的点对点网络功能。用户也可以先开启显示设备的点对点网络功能,在开启显示设备的热点功能。本申请实施例对步骤S1810和步骤S1820的执行顺序不作限定。
步骤S1830,在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,启用第二通信模式对应的第二网络节点,第二通信模式为点对点网络模式,第二网络节点为点对点网络中的节点。
其中,第二网络节点可以是第二无线通信模块创建的网络节点。一些实施例中,第二网络节点为第二无线通信模块创建的点对点网络(即P2P)中的节点。
在显示设备获取到第一信息之后,显示设备的框架层可以根据第一信息,判断显示设备是否同时支持第一通信模式和第二通信模式。在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,显示设备的驱动层中第二无线通信模块对应的驱动程序将第二网络节点设置为启用状态(或称为激活状态),即第二无线通信模块对应的驱动程序up第二网络节点,也即显示设备启用第二无线通信模块创建的第二网络节点。
在一些实施例中,显示设备的驱动层的第二无线通信模块对应的驱动程序将第二网络节点设置为启用状态,至少一个处理器可被配置为执行计算机指令以使显示设备执行包括但不限于如下内容:在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,显示设备的框架层向显示设备的驱动层发送第一通知,第一通知可以用于通知显示设备的驱动层显示设备同时支持第一通信模式和第二通信模式。显示设备的驱动层在接收到第一通知的情况下,显示设备的驱动层根据第一无线通信模块(即第一WiFi芯片)和第二无线通信模块(即第二WiFi芯片)的能力,判断第一无线通信模块(即第一WiFi芯片)和第二无线通信模块(即第二WiFi芯片)是否能够支持第一通信模式和第二通信模式的并发。在第一无线通信模块(即第一WiFi芯片)和第二无线通信模块(即第二WiFi芯片)能够支持第一通信模式和第二通信模式的并发的情况下,显示设备的驱动层中第二无线通信模块对应的驱动程序将第二网络节点设置为启用状态(或称为激活状态),即第二无线通信模块对应的驱动程序up第二网络节点,也即显示设备启用第二无线通信模块创建的第二网络节点。
在本申请一些实施例中,在显示设备开启热点功能和点对点网络功能之前,显示设备可以加载第一无线通信模块对应的驱动程序和第二无线通信模块对应的驱动程序。下面结合图21,对显示设备加载第一无线通信模块对应的驱动程序和第二无线通信模块对应的驱 动程序的过程进行示意说明。
在一些实施例中,在响应于第一操作,启用第一通信模式对应的第一网络节点之前,如图21所示,该至少一个处理器还可被配置为执行计算机指令以使显示设备执行包括但不限于如下:步骤S2110和步骤S2120。
步骤S2110,在显示设备启动时,加载第一无线通信模块对应的驱动程序,并通过第一无线通信模块创建第一网络节点。
其中,第一网络节点对应的标识信息符合第一标识规则,第一标识规则标识的网络节点可以被显示设备的框架层识别。例如,第一网络节点对应的标识信息为ap0。例如,第一无线通信模块对应的驱动程序可以是上述第一WiFi驱动。
在一些实施例中,至少一个处理器还可被配置为执行计算机指令以使显示设备执行:通过第一无线通信模块创建第三网络节点和第四网络节点。其中,第三网络节点可以是无线局域网节点。第四网络节点为点对点网络中的节点。
与第一网络节点相比,第三网络节点对应的标识信息和第四网络节点对应的标识信息均符合第二标识规则,第二标识规则与第一标识规则不同。例如,第三网络节点对应的标识信息为wlanb0。例如,第四网络节点对应的标识信息为p2pb0。
作为一种具体实施方式,响应于用户对显示设备的开机操作,显示设备启动。在显示设备启动时,显示设备加载第一无线通信模块对应的驱动程序,并产生第一网络节点(即ap0)、第三网络节点(即wlanb0)和第四网络节点(即p2pb0)。对此,由于第一网络节点对应的标识信息ap0符合第一标识规则,显示设备的框架层可识别第一网络节点,因此,第一无线通信模块产生的第一网络节点(即ap0)可用。然而,第三网络节点对应的标识信息wlan0和第四网络节点对应的标识信息p2pb0不符合第一标识规则,显示设备的框架层无法识别到第三网络节点和第四网络节点,因此,第一无线通信模块产生的第三网络节点(即wlanb0)和第四网络节点(即p2pb0)是不可用的。
步骤S2120,加载第二无线通信模块对应的驱动程序,并通过第二无线通信模块创建第二网络节点。
其中,第二网络节点对应的标识信息符合第一标识规则,第一标识规则标识的网络节点可以被显示设备的框架层识别。例如,第二网络节点对应的标识信息为p2p0。一些实施例中,第二无线通信模块对应的驱动程序可以是上述第二WiFi驱动。
在一些实施例中,至少一个处理器还可被配置为执行计算机指令以使显示设备执行如下:通过第一无线通信模块创建第五网络节点和第六网络节点;其中,第五网络节点为无线局域网节点,第五网络节点对应的标识信息均符合第一标识规则;第六网络节点为无线接入点,第六网络节点的优先级低于第二网络节点。
作为一种具体实施方式,响应于用户对显示设备的开机操作,显示设备启动。在显示设备启动时,显示设备加载第二无线通信模块对应的驱动程序,并产生第二网络节点(即p2p0)、第五网络节点(即wlan0)和第六网络节点(即ap1)。由于第二网络节点对应的标识信息p2p0和第五网络节点对应的标识信息wlan0符合第一标识规则,显示设备的框架层可识别第二网络节点和第五网络节点,因此,第二网络节点(即p2p0)和第五网络节点(即wlan0)可用。另外,第六网络节点对应的标识信息ap1符合第一标识规则,且第六网络节点(即ap1)的优先级低于第一网络节点(即ap0),因此,在显示设备开启热点功能时,显示设备优先运行第一网络节点(即ap0)。也就是说,在显示设备开启热点功能时,显示设备通过第一无线通信模块(即第一WiFi芯片)实现热点功能。在显示设备开启WiFi功能和点对点网络功能(如点对点传屏)时,显示设备通过第二无线通信模块(即第二WiFi芯片)实现WiFi功能和点对点网络功能。
需要说明的是,步骤S2120也可以在步骤S2110之前执行,步骤S2120也可以和步骤S2110同时执行,本申请实施例对步骤S2120和步骤S2110的执行顺序不作限定。
本申请一些实施例中,在显示设备启动时,显示设备可以加载第一无线通信模块对应 的驱动程序和第二无线通信模块对应的驱动程序。其中,在显示设备加载第一无线通信模块的驱动程序时,第一无线通信模块可以创建可用的第一网络节点,而在显示设备加载第二无线通信模块的驱动程序时,第二无线通信模块可以创建可用的第二网络节点。这样以来,在用户开启显示设备的热点功能时,显示设备可以启用第一网络节点,以实现热点功能。在用户开启显示设备的点对点网络功能时,显示设备可以启用第二网络节点,以实现点对点网络功能。
在步骤S1830之后,执行步骤S1840,在通过第一网络节点接收到第一投屏数据,且通过第二网络节点接收到第二投屏数据的情况下,以分屏方式显示第一投屏数据和第二投屏数据。
在显示设备启用第一网络节点后,第一电子设备(如电脑、平板电脑、手机)可以作为站点连接显示设备的第一网络节点(即无线接入点ap0),进而第一电子设备可以基于第一电子设备与显示设备之间建立的WiFi连接,可以向显示设备发送第一投屏数据。在显示设备启用第二网络节点后,第二电子设备(如电脑、平板电脑、手机)可以与显示设备建立点对点网络连接,进而第二电子设备可以基于第二电子设备与显示设备之间建立的点对点网络连接,可以向显示设备发送第二投屏数据。之后,在显示设备通过第一网络节点接收到第一投屏数据,且通过第二网络节点接收到第二投屏数据的情况下,显示设备可以采用分屏方式显示第一投屏数据和第二投屏数据。
例如,以第一电子设备为电脑,第二电子设备为电脑为例,如图22所示,在第一电子设备902通过热点传屏向显示设备901发送第一投屏数据,且第二电子设备903通过点对点传屏向显示设备901发送第二投屏数据时,显示设备901在第一显示区域(如显示器的左侧区域)904显示第一投屏数据,并在第二显示区域(如显示器的右侧区域)905显示第二投屏数据,即以分屏方式显示第一投屏数据和第二投屏数据。
在一些实施例中,在以分屏方式显示第一投屏数据和第二投屏数据之前,如图23所示,该至少一个处理器还可被配置为执行计算机指令以使显示设备执行包括但不限于如下:步骤S2310~步骤S2330。
步骤S2310,接收第一电子设备发送的第一投屏连接请求。
第一投屏连接请求可以是用于请求向显示设备进行热点传屏,即第一投屏请求可以用于请求连接显示设备的第一无线通信模块创建的第一网络节点(即无线接入点ap0)。
一些实施例中,第一投屏连接请求可以是响应于用户对第一电子设备的投屏连接操作,第一电子设备可以向显示设备发送第一投屏连接请求。
步骤S2320,响应于第一投屏连接请求,通过第一网络节点与第一电子设备建立通信连接。
响应于第一投屏连接请求,显示设备通过第一网络节点(即无线接入点ap0)与第一电子设备建立WiFi连接。
步骤S2330,基于第一网络节点与第一电子设备建立通信连接,接收第一电子设备发送的第一投屏数据。
第一电子设备基于第一电子设备与显示设备之间建立的WiFi连接,可以向显示设备发送第一投屏数据。显示设备接收第一投屏数据后,控制显示器显示第一投屏数据。
在本申请一些实施例中,在显示设备启用第一通信模式对应的第一网络节点之后,在第一电子设备需要向显示设备投屏时,第一电子设备可以向显示设备发送第一投屏连接请求,响应于第一投屏连接请求,第一电子设备可以作为站点连接显示设备的第一网络节点,进而基于第一电子设备与显示设备之间建立的WiFi连接,第一电子设备可以向显示设备发送第一投屏数据,显示设备可以接收并显示第一投屏数据。
在一些实施例中,在以分屏方式显示第一投屏数据和第二投屏数据之前,如图24所示,该至少一个处理器还可被配置为执行计算机指令以使显示设备执行包括但不限于如下:步骤S2410~步骤S2430。
步骤S2410,接收第二电子设备发送的第二投屏连接请求。
第二投屏连接请求可以是用于请求向显示设备进行点对点传屏,即第二投屏连接请求可以用于请求连接显示设备的第二无线通信模块创建的第二网络节点(即p2p0)。
步骤S2420,响应于第二投屏连接请求,通过第二网络节点与第二电子设备建立通信连接。
响应于第二投屏连接请求,显示设备通过第二网络节点(即p2p0)与第二电子设备建立点对点网络连接。
步骤S2430,基于第二网络节点与第二电子设备建立通信连接,接收第二电子设备发送的第二投屏数据。
第二电子设备基于第二电子设备与显示设备之间建立的点对点网络连接,可以向显示设备发送第二投屏数据。显示设备接收第二投屏数据后,控制显示器显示第二投屏数据。即显示设备以分屏方式显示第一投屏数据和第二投屏数据。
在本申请一些实施例中,在显示设备启用第二通信模式对应的第二网络节点之后,在第二电子设备需要向显示设备进行点对点投屏时,第二电子设备可以向显示设备发送第二投屏连接请求,响应于第二投屏连接请求,第二电子设备连接显示设备的第二网络节点,进而基于第二电子设备与显示设备之间建立的点对点网络连接,第二电子设备可以向显示设备发送第二投屏数据,显示设备可以接收并显示第二投屏数据。
在一些实施例中,在响应于第二操作,获取第一信息之后,该至少一个处理还可被配置为执行计算机指令以使显示设备执行包括但不限于如下:在第一网络节点为已启用状态,且第一信息指示显示设备不能同时支持第一通信模式和第二通信模式的情况下,发出提示信息,其中,提示信息用于提示用户关闭第一网络节点。
作为一种具体实施方式,在用户开启显示设备的点对点网络功能时,用户可以输入第二操作。响应于第二操作,显示设备获取第一信息。在第一信息指示显示设备不能同时支持第一通信模式和第二通信模式(即显示设备搭载单个WiFi芯片)的情况下,显示设备获取当前已启用的网络节点。在当前已启用的网络节点包括第一网络节点(第一网络节点已启用)的情况下,启用第二网络节点失败,显示设备发出提示信息,以提示用户关闭第一网络节点,即提示用户需要关闭显示设备的热点功能。之后,在用户关闭显示设备的热点功能(即关闭第一网络节点)后,用户可以输入第二操作。响应于第二操作,显示设备获取第一信息。在第一信息指示显示设备不能同时支持第一通信模式和第二通信模式(即显示设备搭载单个WiFi芯片)的情况下,显示设备获取当前已启用的网络节点,在当前已启用的网络节点不包括第一网络节点(第一网络节点已启用)的情况下,启用第二网络节点,即显示设备的点对点网络功能开启。
一些实施例中,在显示设备获取当前已启用的网络节点时,显示设备可以通过“ifconfig”命令查看显示设备的网络接口信息,即获取当前已启用的网络节点。例如,
console:/#ifconfig
ap0 Link encap:Ethernet Hwaddr 3e:64:07:ec:c6:ee
inet addr:172.16.52.1 Bcast:172.16.52.255 Mask:255.255 255.0
wlan0 Link encap:Ethernet Hwaddr 84:3e:1d:ac:02:b5 Driver usb
inet addr:192.168.124.8 Bcast:192.168.124.255 Mask:255.255.255.0
由此可知,当前已启用的网络节点可包括ap0(即第一网络节点)和wlan0。
在本申请一些实施例中,在显示设备接收到用户的第二操作时,显示设备可以预先判断是否同时支持第一通信模式和第二通信模式,在显示设备不能同时支持第一通信模式和第二通信模式的情况下,发出提示信息,以提示用户需要关闭热点,才能开启显示设备的点对点网络功能。
在本申请一些实施例中,显示设备搭载有第一无线通信模块和第二无线通信模块,其中,第一无线通信模块可以用于热点连接,第二无线通信模块可以用于点对点传屏。基于此,响应于第一操作,显示设备可以启用第一通信模式对应的第一网络节点,这使得第一 电子设备可以通过第一网络节点向显示设备发起热点投屏。响应于第二操作,显示设备可以获取第一信息,并根据第一信息判断显示设备是否同时支持第一通信模式和第二通信模式,在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,显示设备可以启用第二通信模式对应的第二网络节点,这使得在第一电子设备通过第一网络节点向显示设备发起热点投屏的同时,第二电子设备可以通过第二网络节点向显示设备发起点对点投屏,这样可以实现热点投屏和点对点投屏的同时使用,使得用户可以在显示设备上同时观看来自两个不同的电子设备的投屏数据,进而为用户提供更丰富的观看体验。
再者,在用户开启显示设备的点对点网络功能时,显示设备的框架层和驱动层判断显示设备是否同时支持第一通信模式和第二通信模式,进而可以在显示设备同时支持第一通信模式和第二通信模式的情况下,启动第二网络节点,使得电子设备可以通过第二网络节点向显示设备进行点对点传屏。也就是说,本申请实施例不需要对显示设备的原生系统进行修改,可以使得显示设备同时开启热点功能和点对点传屏功能,不会对影响显示设备的正常运行。
下面结合图25,以一个具体实施例对本申请一些实施例的另一种用于显示设备的数据处理方法进行说明。如图25所示,该至少一个处理器具体可被配置为执行计算机指令以使显示设备执行包括但不限于如下:步骤S2501~步骤S2517。
步骤S2501,响应于开机操作,显示设备加载第一无线通信模块对应的驱动程序,并通过第一无线通信模块创建第一网络节点ap0、第三网络节点wlanb0和第四网络节点p2pb0。
步骤S2502,显示设备加载第二无线通信模块对应的驱动程序,并通过第二无线通信模块创建第二网络节点p2p0、第五网络节点wlan0和第六网络节点ap1。
步骤S2503,响应于第一操作,显示设备开启热点功能和WiFi功能。
步骤S2504,显示设备的驱动层将第一网络节点ap0设置为启用状态。
步骤S2505,响应于第二操作,显示设备开启点对点网络功能。
步骤S2506,在显示设备开启点对点网络功能的情况下,显示设备的框架层根据第一信息判断显示设备是否同时支持第一通信模式和第二通信模式,如果是,执行步骤S2507,否则,执行步骤S2510。
步骤S2507,显示设备的框架层向显示设备的驱动层发送第一通知,第一通知用于指示显示设备同时支持第一通信模式和第二通信模式。
步骤S2508,显示设备的驱动层判断显示设备是否支持第一通信模式和第二通信模式的并发,如果是,执行步骤S2509,否则,执行步骤S2510。
步骤S2509,显示设备的驱动层将第二网络节点p2p0设置为启用状态。
步骤S2510,发出提示信息,提示信息用于提示用户关闭第一网络节点。
步骤S2511,接收第二电子设备发送的第二投屏连接请求,第二投屏连接请求用于请求向显示设备进行点对点传屏。
步骤S2512,响应于第二投屏连接请求,通过第二网络节点与第二电子设备建立点对点网络连接。
步骤S2513,基于第二电子设备与显示设备之间的点对点网络连接,接收第二电子设备发送的第二投屏数据。
步骤S2514,接收第一电子设备发送的第一投屏连接请求,第一投屏连接请求用于请求向显示设备进行热点传屏。
步骤S2515,响应于第一投屏连接请求,通过第一网络节点与第一电子设备建立热点连接。
步骤S2516,基于第一电子设备与显示设备之间的热点连接,接收第一电子设备发送的第一投屏数据。
步骤S2517,以分屏方式显示第一投屏数据和第二投屏数据。
在一些实施例中,显示设备搭载有第一无线通信模块和第二无线通信模块,其中,第 一无线通信模块可以用于热点连接,第二无线通信模块可以用于点对点传屏。基于此,响应于第一操作,显示设备可以启用第一通信模式对应的第一网络节点,这使得第一电子设备可以通过第一网络节点向显示设备发起热点投屏。响应于第二操作,显示设备可以获取第一信息,并根据第一信息判断显示设备是否同时支持第一通信模式和第二通信模式,在第一信息指示显示设备同时支持第一通信模式和第二通信模式的情况下,显示设备可以启用第二通信模式对应的第二网络节点,这使得在第一电子设备通过第一网络节点向显示设备发起热点投屏的同时,第二电子设备可以通过第二网络节点向显示设备发起点对点投屏,这样可以实现热点投屏和点对点投屏的同时使用,使得用户可以在显示设备上同时观看来自两个不同的电子设备的投屏数据,进而为用户提供更丰富的观看体验。
根据本申请一些实施例的一种计算机可读的非易失性存储介质,所述存储介质存储有至少一可执行指令,该可执行指令在显示设备/装置上运行时,使得所述显示设备执行上述任意方法实施例中的方法。可执行指令具体可以用于使得显示设备/装置执行以下操作:在接收控制操作之后的预设时长内未接收到下一控制操作的情况下,响应于控制操作,获取控制操作对应的待显示内容和待释放内容;控制显示器显示待显示内容,并释放待释放内容对应的内存。在一些实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。计算机可读的非易失性存储介质的更具体的例子(非穷举的列表)可包括但不限于:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。此外,本申请实施例也不针对任何特定编程语言。
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述在一些实施例中讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释本公开的内容,从而使得本领域技术人员更好的使用实施方式。

Claims (18)

  1. 一种显示设备,包括:
    至少一个可联网网卡,所述可联网网卡连接有通信模块,所述通信模块被配置为通过所述可联网网卡向所述显示设备提供网络;
    有线网络节点,被配置为连接第一设备,所述第一设备通过所述有线网络节点接入网络;
    热点网络节点,至少一台第二设备通过所述热点网络节点接入网络;
    存储器,被配置为保存计算机指令和/或与所述显示设备关联的数据;
    至少一个处理器,与所述至少一个可联网网卡、所述有线网络节点、所述热点网络节点和所述存储器连接,被配置为执行计算机指令以使所述显示设备执行:
    如果检测到所述通信模块向所述可联网网卡提供第一网络,并且至少一台所述第二设备连接至所述热点网络节点,通过所述热点网络节点向所述第二设备提供所述第一网络,以使所述第二设备接入所述第一网络;
    创建所述可联网网卡与所述有线网络节点之间的第一路由,并且通过所述第一路由向所述第一设备提供所述第一网络,以使所述第一设备接入所述第一网络;
    创建所述有线网络节点和所述热点网络节点之间的第二路由,以使所述第一设备基于所述第二路由和所述第一网络向所述第二设备传输数据包,或者所述第二设备基于所述第二路由和所述第一网络向所述第一设备传输数据包。
  2. 根据权利要求1所述的显示设备,所述至少一个处理器,进一步被配置为执行计算机指令以使所述显示设备执行:
    为所述有线网络节点配置第一网关地址;
    如果检测到所述有线网络节点和所述第一设备之间建立通路,根据所述第一网关地址为所述第一设备配置第二网关地址,以使根据所述第一网关地址和所述第二网关地址,利用所述通路在所述第一设备和所述有线网络节点之间传输数据包。
  3. 根据权利要求2所述的显示设备,所述有线网络节点为USB网卡,所述通路包括所述USB网卡、USB转LAN网卡和LAN转USB网卡,所述USB网卡连接至所述USB转LAN网卡,所述USB转LAN网卡连接至所述LAN转USB网卡,所述LAN转USB网卡连接至所述第一设备,其中,所述USB网卡向所述USB转LAN网卡传输第一USB信号,所述USB转LAN将所述第一USB信号转化为网络信号之后传输给所述LAN转USB网卡,所述LAN转USB网卡将所述网络信号转化为第二USB信号之后传输给所述第一设备。
  4. 根据权利要求2所述的显示设备,所述至少一个处理器,还被配置为执行计算机指令以使所述显示设备执行:
    注册针对至少一个所述可联网网卡的监听事件,其中,所述监听事件用于检测所述通信模块是否向所述可联网网卡提供网络。
  5. 根据权利要求1所述的显示设备,所述显示设备包括两个所述可联网网卡,且两个所述可联网网卡分别为有线网卡和无线网卡,所述有线网卡连接有有线通信模块,所述无线网卡连接有无线通信模块;
    所述至少一个处理器,进一步被配置为执行计算机指令以使所述显示设备执行:
    如果检测到所述有线通信模块向所述有线网卡提供网络的同时,检测到所述无线通信模块向所述无线网卡提供网络,将所述有线通信模块向所述有线网卡提供的网络确定为所述第一网络,并且创建所述有线网卡与所述有线网络节点之间的所述第一路由。
  6. 根据权利要求5所述的显示设备,所述至少一个处理器,还被配置为执行计算机指令以使所述显示设备执行:
    如果检测到所述无线通信模块向所述无线网卡提供网络,未检测到所述有线通信模块 向所述有线网卡提供网络,将所述无线通信模块向所述无线网卡提供的网络确定为所述第一网络,并且创建所述无线网卡与所述有线网络节点之间的所述第一路由。
  7. 根据权利要求6所述的显示设备,所述至少一个处理器,还被配置为执行计算机指令以使所述显示设备执行:
    在所述无线通信模块通过所述无线网卡向所述显示设备提供网络时,如果检测到所述有线通信模块向所述有线网卡提供网络,取消将所述无线通信模块向所述无线网卡提供的网络确定为所述第一网络,重新将所述有线通信模块向所述有线网卡提供的网络确定为所述第一网络,并且删除所述无线网卡与所述有线网络节点之间的所述第一路由,创建所述有线网卡与所述有线网络节点之间的所述第一路由。
  8. 根据权利要求1所述的显示设备,所述至少一个处理器,进一步被配置为执行计算机指令以使所述显示设备执行:
    在所述热点网络节点开启时,为所述热点网络节点配置第三网关地址;
    在所述第二设备连接至所述热点网络节点时,根据所述第三网关地址为所述第二设备配置第四网关地址,以使所述第二设备利用所述第四网关地址接入所述第一网络。
  9. 根据权利要求1所述的显示设备,所述显示设备还包括显示器,如果通过所述热点网络节点向至少两台所述第二设备提供所述第一网络,所述至少一个处理器,还被配置为执行计算机指令以使所述显示设备执行:
    在所述显示器上显示设备列表,其中,所述设备列表包括至少两台所述第二设备;
    接收用户输入的选择指令,其中,所述选择指令表征所述设备列表中被选择的所述第二设备;
    根据所述选择指令,控制所述第一设备基于所述第二路由和所述第一网络向被选择的所述第二设备传输数据包,或者控制被选择的所述第二设备基于所述第二路由和所述第一网络向所述第一设备传输数据包。
  10. 根据权利要求1所述的显示设备,还包括:
    显示器,被配置为显示投屏数据;
    第一无线通信模块,被配置为通过第一通信模式与电子设备建立通信连接;
    第二无线通信模块,被配置为通过第二通信模式与电子设备建立通信连接;
    所述至少一个处理器,被配置为执行所述计算机指令以使所述显示设备执行:
    响应于第一操作,启用所述第一通信模式对应的第一网络节点,所述第一通信模式为接入点模式,所述第一网络节点为无线接入点;
    响应于第二操作,获取第一信息;
    在所述第一信息指示所述显示设备同时支持所述第一通信模式和所述第二通信模式的情况下,启用所述第二通信模式对应的第二网络节点,所述第二通信模式为点对点网络模式,所述第二网络节点为点对点网络中的节点;
    在通过所述第一网络节点接收到第一投屏数据,且通过所述第二网络节点接收到第二投屏数据的情况下,控制所述显示器以分屏方式,显示所述第一投屏数据和所述第二投屏数据。
  11. 根据权利要求10所述的显示设备,所述至少一个处理器,还被配置为执行所述计算机指令以使所述显示设备执行:
    在所述显示设备启动时,加载所述第一无线通信模块对应的驱动程序,并通过所述第一无线通信模块创建所述第一网络节点;
    加载所述第二无线通信模块对应的驱动程序,并通过所述第二无线通信模块创建所述第二网络节点;
    其中,所述第一网络节点对应的标识信息和所述第二网络节点对应的标识信息均符合第一标识规则。
  12. 根据权利要求11所述的显示设备,所述至少一个处理器,还被配置为执行所述 计算机指令以使所述显示设备执行:
    通过所述第一无线通信模块创建第三网络节点和第四网络节点;其中,所述第三网络节点为无线局域网节点,所述第四网络节点为点对点网络中的节点,所述第三网络节点对应的标识信息和第四网络节点对应的标识信息均符合第二标识规则,所述第二标识规则与所述第一标识规则不同。
  13. 根据权利要求11所述的显示设备,所述至少一个处理器,还被配置为执行所述计算机指令以使所述显示设备执行:
    通过所述第一无线通信模块创建第五网络节点和第六网络节点;其中,所述第五网络节点为无线局域网节点,所述第五网络节点对应的标识信息均符合所述第一标识规则;所述第六网络节点为无线接入点,所述第六网络节点的优先级低于所述第二网络节点。
  14. 根据权利要求10-13中任一项所述的显示设备,所述至少一个处理器,还被配置为执行所述计算机指令以使所述显示设备执行:
    接收第一电子设备发送的第一投屏连接请求;
    响应于所述第一投屏连接请求,通过所述第一网络节点与所述第一电子设备建立通信连接;
    基于所述第一网络节点与所述第一电子设备建立通信连接,接收所述第一电子设备发送的所述第一投屏数据。
  15. 根据权利要求10-13中任一项所述的显示设备,所述至少一个处理器,还被配置为执行所述计算机指令以使所述显示设备执行:
    接收第二电子设备发送的第二投屏连接请求;
    响应于所述第二投屏连接请求,通过所述第二网络节点与所述第二电子设备建立通信连接;
    基于所述第二网络节点与所述第二电子设备建立通信连接,接收所述第二电子设备发送的所述第二投屏数据。
  16. 根据权利要求10-13中任一项所述的显示设备,所述至少一个处理器,还被配置为执行所述计算机指令以使所述显示设备执行:
    在所述第一网络节点为已启用状态,且所述第一信息指示所述显示设备不能同时支持所述第一通信模式和所述第二通信模式的情况下,发出提示信息,其中,所述提示信息用于提示用户关闭所述第一网络节点。
  17. 根据权利要求10-13中任一项所述的显示设备,所述第一无线通信模块为WiFi芯片,所述第二无线通信模块为WiFi芯片。
  18. 一种用于显示设备的数据处理方法,所述显示设备包括至少一个可联网网卡,所述可联网网卡连接有通信模块,所述通信模块被配置为通过所述可联网网卡向所述显示设备提供网络;有线网络节点,被配置为连接第一设备,所述第一设备通过所述有线网络节点接入网络;热点网络节点,至少一台第二设备通过所述热点网络节点接入网络;
    所述方法包括:
    如果检测到所述通信模块向所述可联网网卡提供第一网络,并且至少一台所述第二设备连接至所述热点网络节点,通过所述热点网络节点向所述第二设备提供所述第一网络,以使所述第二设备接入所述第一网络;
    创建所述可联网网卡与所述有线网络节点之间的第一路由,并且通过所述第一路由向所述第一设备提供所述第一网络,以使所述第一设备接入所述第一网络;
    创建所述有线网络节点和所述热点网络节点之间的第二路由,以使所述第一设备基于所述第二路由和所述第一网络向所述第二设备传输数据包,或者所述第二设备基于所述第二路由和所述第一网络向所述第一设备传输数据包。
PCT/CN2024/095566 2023-08-14 2024-05-27 显示设备及用于显示设备的数据处理方法 Pending WO2025035889A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202480030703.0A CN121176024A (zh) 2023-08-14 2024-05-27 显示设备及用于显示设备的数据处理方法

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202311021383.6 2023-08-14
CN202311021383.6A CN117061811A (zh) 2023-08-14 2023-08-14 显示设备及其投屏方法
CN202311107340.X 2023-08-30
CN202311107340.XA CN117615214A (zh) 2023-08-30 2023-08-30 一种数据共享方法及显示设备

Publications (1)

Publication Number Publication Date
WO2025035889A1 true WO2025035889A1 (zh) 2025-02-20

Family

ID=94632119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/095566 Pending WO2025035889A1 (zh) 2023-08-14 2024-05-27 显示设备及用于显示设备的数据处理方法

Country Status (2)

Country Link
CN (1) CN121176024A (zh)
WO (1) WO2025035889A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110211548A1 (en) * 2008-11-03 2011-09-01 Levi Russel Method and system for operating a wireless access point for providing access to a network
CN109039849A (zh) * 2018-08-16 2018-12-18 杭州楷知科技有限公司 多设备间共同连网方法、储存介质及多设备一体机
CN111182614A (zh) * 2020-01-08 2020-05-19 华为技术有限公司 建立网络连接的方法和装置以及电子设备
CN111465083A (zh) * 2020-04-15 2020-07-28 浙江大华技术股份有限公司 热点连接结果的反馈方法及装置、存储介质、电子装置
CN115297528A (zh) * 2022-08-02 2022-11-04 湖北星纪时代科技有限公司 一种通信方法、装置、电子设备及存储介质
CN117061811A (zh) * 2023-08-14 2023-11-14 海信视像科技股份有限公司 显示设备及其投屏方法
CN117615214A (zh) * 2023-08-30 2024-02-27 海信视像科技股份有限公司 一种数据共享方法及显示设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110211548A1 (en) * 2008-11-03 2011-09-01 Levi Russel Method and system for operating a wireless access point for providing access to a network
CN109039849A (zh) * 2018-08-16 2018-12-18 杭州楷知科技有限公司 多设备间共同连网方法、储存介质及多设备一体机
CN111182614A (zh) * 2020-01-08 2020-05-19 华为技术有限公司 建立网络连接的方法和装置以及电子设备
CN111465083A (zh) * 2020-04-15 2020-07-28 浙江大华技术股份有限公司 热点连接结果的反馈方法及装置、存储介质、电子装置
CN115297528A (zh) * 2022-08-02 2022-11-04 湖北星纪时代科技有限公司 一种通信方法、装置、电子设备及存储介质
CN117061811A (zh) * 2023-08-14 2023-11-14 海信视像科技股份有限公司 显示设备及其投屏方法
CN117615214A (zh) * 2023-08-30 2024-02-27 海信视像科技股份有限公司 一种数据共享方法及显示设备

Also Published As

Publication number Publication date
CN121176024A (zh) 2025-12-19

Similar Documents

Publication Publication Date Title
CN111752518A (zh) 一种显示设备投屏方法及显示设备
CN114286165A (zh) 一种显示设备、移动终端及投屏数据传输方法
CN112911380B (zh) 一种显示设备及与蓝牙设备的连接方法
CN111818669A (zh) 移动终端及其数据传输方法
CN113784200B (zh) 通信终端、显示设备及投屏连接方法
CN110022495A (zh) 一种移动终端向显示设备推送媒体文件的方法及显示设备
CN113590059A (zh) 一种投屏方法及移动终端
WO2023070993A1 (zh) 显示控制方法、显示系统、电子设备和可读存储介质
CN111343495A (zh) 一种显示设备及播放终端中音乐的方法
CN115904290A (zh) 显示设备、通信终端及投屏控制方法
CN117061811A (zh) 显示设备及其投屏方法
CN114286320B (zh) 一种显示设备、移动终端及蓝牙连接方法
CN114489532B (zh) 终端设备以及终端设备与显示设备联动的方法
CN108141697B (zh) 电子设备、配套设备和操作电子设备的方法
CN117615214A (zh) 一种数据共享方法及显示设备
CN111885665A (zh) 一种无线网络连接控制方法及显示设备
CN111405367A (zh) 基于多网络切换场景系统部件网络共享的方法及显示设备
CN121176024A (zh) 显示设备及用于显示设备的数据处理方法
CN117614758A (zh) 一种电子设备、终端设备及设备配网方法
CN116320564A (zh) 显示设备、终端设备和设备控制方法
CN116248915A (zh) 一种截屏方法及终端设备
CN115914732B (zh) 一种显示设备及基于usb通路的智能路由方法
CN114554259B (zh) 控制设备、显示设备和设备信息获取方法
CN115914771B (zh) 一种显示设备、及基于安卓系统获取不同网卡地址的控制方法
CN119520887B (zh) 显示设备和WiFi扫描控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24853304

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE