Network connection control method and display device

文档序号:1191181 发布日期:2020-08-28 浏览:24次 中文

阅读说明:本技术 一种网络连接控制方法及显示设备 (Network connection control method and display device ) 是由 何志峰 王仁斌 崔刚 于 2020-05-21 设计创作,主要内容包括:本申请公开了一种网络连接控制方法及显示设备,用以在信标帧丢失的情况下主动探测无线热点是否仍存在,并根据探测结果确定是否断开显示设备与该无线热点的连接。该方法包括:在检测到显示设备对应的信标帧丢失时,若当前到达已配置的探测帧发送时间,则检查已记录的探测帧发送次数是否达到预设次数阈值,若否,则向所述显示设备已连接的无线热点发送探测帧,并更新已记录的探测帧发送次数;在接收到所述无线热点的信标帧和/或响应于探测帧的确认帧时,维持所述显示设备与所述无线热点当前的连接;在已记录的探测帧发送次数达到预设次数阈值时,断开所述显示设备与所述无线热点当前的连接。(The application discloses a network connection control method and a display device, which are used for actively detecting whether a wireless hotspot still exists under the condition that a beacon frame is lost, and determining whether to disconnect the display device from the wireless hotspot according to a detection result. The method comprises the following steps: when detecting that a beacon frame corresponding to the display device is lost, if the configured sending time of the detection frame is reached currently, checking whether the recorded sending times of the detection frame reach a preset time threshold value, if not, sending the detection frame to a wireless hotspot connected with the display device, and updating the recorded sending times of the detection frame; maintaining a current connection of the display device with the wireless hotspot upon receiving a beacon frame of the wireless hotspot and/or an acknowledgement frame in response to a probe frame; and when the recorded sending times of the detection frames reach a preset time threshold, disconnecting the current connection between the display equipment and the wireless hotspot.)

1. A display device, comprising:

a display;

a controller coupled to the display, comprising at least: the device comprises a beacon frame detection module, a detection frame transceiving module and a detection control module; wherein the content of the first and second substances,

the beacon frame detection module is used for detecting a beacon frame corresponding to the display equipment;

a detection frame transceiver module, configured to check whether the number of times of sending the detection frame recorded by the detection control module reaches a preset number threshold if the configured detection frame sending time is reached after the beacon frame detection module detects that the beacon frame corresponding to the display device is lost, and if not, send the detection frame to the wireless hotspot connected to the display device; and, for receiving a beacon frame from the wireless hotspot and an acknowledgement frame in response to a probe frame;

the detection control module is used for updating the recorded detection frame sending times when detecting that the detection frame receiving and sending module sends the detection frame; when detecting that the detection frame transceiver module receives the beacon frame of the wireless hotspot and/or the confirmation frame responding to the detection frame, maintaining the current connection between the display device and the wireless hotspot; and when the recorded sending times of the detection frames reach a preset time threshold, disconnecting the current connection between the display equipment and the wireless hotspot.

2. The display device according to claim 1, wherein the probe frame transceiving module stops sending probe frames when receiving a beacon frame of the wireless hotspot and/or an acknowledgement frame in response to a probe frame.

3. The display device according to claim 1, wherein the probe control module determines a first time interval between a current beacon frame and a previous beacon frame of the wireless hotspot when detecting that the probe frame transceiving module receives the current beacon frame;

and if the first time interval is different from the configured sending time interval of the detection frame, adjusting the preset time threshold according to the first time interval and the configured sending time interval of the detection frame.

4. The display device according to claim 3, wherein the detection control module compares the first time interval with a configured second time interval, and the second time interval is determined according to the preset time threshold and the configured detection frame transmission time interval; when the first time interval is larger than the second time interval, adjusting the time threshold value from a current first value to a second value, wherein the second value is larger than the first value, and the second value is determined according to the difference value of the first time interval and the second time interval.

5. The display device according to claim 1, wherein the probe control module is further configured to start a timer when the beacon frame detection module detects that a beacon frame is lost, the timer having a timing time equal to the configured probe frame transmission time interval; resetting the timer when the detection frame transceiver module sends a detection frame each time;

the probe frame transceiver module is configured to determine a current arrival configured probe frame sending time when the timing time of the timer arrives.

6. The display device according to claim 1, wherein if the beacon frame detection module detects that no beacon frame sent from the wireless hotspot to which the display device is connected is received within a preset time, it determines that the beacon frame corresponding to the display device is lost.

7. A network connection control method, comprising:

when detecting that a beacon frame corresponding to the display device is lost, if the configured sending time of the detection frame is reached currently, checking whether the recorded sending times of the detection frame reach a preset time threshold value, if not, sending the detection frame to a wireless hotspot connected with the display device, and updating the recorded sending times of the detection frame;

maintaining a current connection of the display device with the wireless hotspot upon receiving a beacon frame of the wireless hotspot and/or an acknowledgement frame in response to a probe frame; and when the recorded sending times of the detection frames reach a preset time threshold, disconnecting the current connection between the display equipment and the wireless hotspot.

8. The method of claim 7, further comprising:

and stopping sending the detection frame when receiving the beacon frame of the wireless hotspot and/or the confirmation frame responding to the detection frame.

9. The method of claim 7, further comprising:

when a current beacon frame of the wireless hotspot is received, determining a first time interval between the current beacon frame and a previous beacon frame;

and if the first time interval is different from the configured sending time interval of the detection frame, adjusting the preset time threshold according to the first time interval and the configured sending time interval of the detection frame.

10. The method according to claim 9, wherein the adjusting the preset number threshold according to the first time interval and the configured sounding frame transmission time interval comprises:

comparing the first time interval with a configured second time interval, wherein the second time interval is determined according to the preset time threshold and the configured sending time interval of the detection frame;

when the first time interval is larger than the second time interval, adjusting the time threshold value from a current first value to a second value, wherein the second value is larger than the first value, and the second value is determined according to the difference value of the first time interval and the second time interval.

Technical Field

The present application relates to the field of communications technologies, and in particular, to a network connection control method and a display device.

Background

After the wireless hotspot establishes a connection with the wireless terminal, the wireless hotspot usually sends a beacon frame to the wireless terminal at a fixed time interval to inform the presence of the wireless terminal. Correspondingly, the wireless terminal detects whether the beacon frame from the connected wireless hotspot is received or not according to a preset detection period, and if the beacon frame from the wireless hotspot is not received in the preset detection period, the beacon frame of the wireless hotspot is determined to be lost, and then the wireless hotspot is considered to have exited the current network and disconnected from the wireless hotspot.

In practical application, the detection period of the wireless terminal is often set according to a fixed time interval of sending the beacon frame by the wireless hotspot, and due to the reasons of large interference in a network environment, nonstandard wireless hotspot specification and the like, the time interval of actually sending the beacon frame by the wireless hotspot may suddenly exceed the fixed time interval, even exceed the detection period of the wireless terminal; moreover, the presence of large interference in the network environment also results in beacon frame loss. In the above situation, although the wireless hotspot still exists in the network, the wireless terminal may determine that the beacon frame of the wireless hotspot is lost and disconnect the wireless hotspot.

Disclosure of Invention

The embodiment of the application provides a network connection control method and display equipment, which are used for keeping the connection between the display equipment and a wireless hotspot under the condition that a beacon frame is lost but the wireless hotspot still exists.

In a first aspect, there is provided a display device comprising:

a display;

a controller coupled to the display, comprising at least: the device comprises a beacon frame detection module, a detection frame transceiving module and a detection control module; wherein the content of the first and second substances,

a beacon frame detection module, configured to detect a beacon frame corresponding to the display device;

a detection frame transceiver module, configured to check whether the number of times of sending the detection frame recorded by the detection control module reaches a preset number threshold if the configured detection frame sending time is reached after the beacon frame detection module detects that the beacon frame corresponding to the display device is lost, and if not, send the detection frame to the wireless hotspot connected to the display device; and, for receiving beacon frames from the wireless hotspots and acknowledgement frames in response to probe frames;

the detection control module is used for updating the recorded detection frame sending times when detecting that the detection frame receiving and sending module sends the detection frame; when detecting that the detection frame transceiver module receives the beacon frame of the wireless hotspot and/or the confirmation frame responding to the detection frame, maintaining the current connection between the display device and the wireless hotspot; and when the recorded sending times of the detection frames reach a preset time threshold, disconnecting the current connection between the display equipment and the wireless hotspot.

In a second aspect, a network connection control method is provided, including:

when detecting that a beacon frame corresponding to the display device is lost, if the configured sending time of the detection frame is reached currently, checking whether the recorded sending times of the detection frame reach a preset time threshold value, if not, sending the detection frame to a wireless hotspot connected with the display device, and updating the recorded sending times of the detection frame;

when receiving a beacon frame of the wireless hotspot and/or a confirmation frame responding to a detection frame, maintaining the current connection between the display device and the wireless hotspot; and when the recorded sending times of the detection frames reach a preset time threshold, disconnecting the current connection between the display equipment and the wireless hotspot.

In the above embodiment, when detecting that a beacon frame from a wireless hotspot is lost, according to configured probe frame sending time, before the recorded probe frame sending frequency reaches a preset frequency threshold, the display device sends a probe frame to the connected wireless hotspot, and maintains connection with the wireless hotspot when receiving the beacon frame of the wireless hotspot and/or an acknowledgement frame in response to the probe frame. Therefore, the connection between the display device and the wireless hotspot can be maintained as far as possible under the condition that the wireless hotspot still exists, but the time interval for sending the beacon frame by the wireless hotspot is increased suddenly, or the beacon frame is lost due to the existence of large interference in a network environment.

Drawings

Fig. 1A schematically illustrates an operation scenario between the display device 200 and the control 100;

fig. 1B is a block diagram schematically illustrating a configuration of the control apparatus 100 in fig. 1A;

fig. 1C is a block diagram schematically illustrating a configuration of the display device 200 in fig. 1A;

FIG. 1D is a block diagram illustrating an architectural configuration of an operating system in memory of display device 200;

fig. 2A to 2F are schematic diagrams illustrating a flow of a network connection control method;

fig. 3A to 3F are schematic diagrams illustrating a flow chart of adjusting the threshold of the number of times according to the time interval of receiving the beacon frame.

Detailed Description

To make the objects, technical solutions and advantages of the exemplary embodiments of the present application clearer, the technical solutions in the exemplary embodiments of the present application will be clearly and completely described below with reference to the drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, but not all the embodiments.

All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments shown in the present application without inventive effort, shall fall within the scope of protection of the present application. Moreover, while the disclosure herein has been presented in terms of exemplary one or more examples, it is to be understood that each aspect of the disclosure can be utilized independently and separately from other aspects of the disclosure to provide a complete disclosure.

The terms "comprises" and "comprising," and any variations thereof, as used herein, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.

The term "module," as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.

The term "gesture" as used in this application refers to a user's behavior through a change in hand shape or an action such as hand motion to convey a desired idea, action, purpose, or result.

The main purpose of the present application is to enable a wireless terminal to maintain a connection with a connected wireless hotspot even if the wireless hotspot still exists, but the time interval for the wireless hotspot to send a beacon frame becomes large suddenly or the beacon frame is lost due to large interference in a network environment. In one example, the wireless terminal may be a display device. In order to facilitate understanding of the embodiments provided in the present application, the following first describes the structure of the display device and the interaction process between the display device and the control device:

fig. 1A is a schematic diagram illustrating an operation scenario between the display device 200 and the control apparatus 100. As shown in fig. 1A, the control apparatus 100 and the display device 200 may communicate with each other in a wired or wireless manner.

Among them, the control apparatus 100 is configured to control the display device 200, which may receive an operation instruction input by a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an intermediary for interaction between the user and the display device 200. Such as: the user operates the channel up/down key on the control device 100, and the display device 200 responds to the channel up/down operation.

The control device 100 may be a remote controller 100A, which includes infrared protocol communication or bluetooth protocol communication, and other short-distance communication methods, etc. to control the display apparatus 200 in a wireless or other wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.

The control device 100 may also be an intelligent device, such as a mobile terminal 100B, a tablet computer, a notebook computer, and the like. For example, the display device 200 is controlled using an application program running on the smart device. The application program may provide various controls to a user through an intuitive User Interface (UI) on a screen associated with the smart device through configuration.

For example, the mobile terminal 100B may install a software application with the display device 200 to implement connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 100B may be caused to establish a control instruction protocol with the display device 200 to implement the functions of the physical keys as arranged in the remote control 100A by operating various function keys or virtual buttons of the user interface provided on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.

The display apparatus 200 may be implemented as a television, and may provide an intelligent network television function of a broadcast receiving television function as well as a computer support function. Examples of the display device include a digital television, a web television, a smart television, an Internet Protocol Television (IPTV), and the like.

The display device 200 may be a liquid crystal display, an organic light emitting display, a projection display device. The specific display device type, size, resolution, etc. are not limited.

The display apparatus 200 also performs data communication with the server 300 through various communication means. Here, the display apparatus 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 300 may provide various contents and interactions to the display apparatus 200. By way of example, the display device 200 may send and receive information such as: receiving Electronic Program Guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library. The servers 300 may be a group or groups of servers, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.

Fig. 1B is a block diagram illustrating the configuration of the control device 100. As shown in fig. 1B, the control device 100 includes a controller 110, a memory 120, a communicator 130, a user input interface 140, an output interface 150, and a power supply 160.

The controller 110 includes a Random Access Memory (RAM)111, a Read Only Memory (ROM)112, a processor 113, a communication interface, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the internal components of the communication cooperation, external and internal data processing functions.

Illustratively, when an interaction of a user pressing a key disposed on the remote controller 100A or an interaction of touching a touch panel disposed on the remote controller 100A is detected, the controller 110 may control to generate a signal corresponding to the detected interaction and transmit the signal to the display device 200.

And a memory 120 for storing various operation programs, data and applications for driving and controlling the control apparatus 100 under the control of the controller 110. The memory 120 may store various control signal commands input by a user.

The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the control apparatus 100 transmits a control signal (e.g., a touch signal or a button signal) to the display device 200 via the communicator 130, and the control apparatus 100 may receive the signal transmitted by the display device 200 via the communicator 130. The communicator 130 may include an infrared signal interface 131 and a radio frequency signal interface 132. For example: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.

The user input interface 140 may include at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like, so that a user can input a user instruction regarding controlling the display apparatus 200 to the control apparatus 100 through voice, touch, gesture, press, and the like.

The output interface 150 outputs a user instruction received by the user input interface 140 to the display apparatus 200, or outputs an image or voice signal received by the display apparatus 200. Here, the output interface 150 may include an LED interface 151, a vibration interface 152 generating vibration, a sound output interface 153 outputting sound, a display 154 outputting an image, and the like. For example, the remote controller 100A may receive an output signal such as audio, video, or data from the output interface 150, and display the output signal in the form of an image on the display 154, in the form of audio on the sound output interface 153, or in the form of vibration on the vibration interface 152.

And a power supply 160 for providing operation power support for each element of the control device 100 under the control of the controller 110. In the form of a battery and associated control circuitry.

A hardware configuration block diagram of the display device 200 is exemplarily illustrated in fig. 1C. As shown in fig. 1C, the display apparatus 200 may further include a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, an audio processor 280, an audio input interface 285, and a power supply 290.

The tuner demodulator 210 receives the broadcast television signal in a wired or wireless manner, may perform modulation and demodulation processing such as amplification, mixing, and resonance, and is configured to demodulate, from a plurality of wireless or wired broadcast television signals, an audio/video signal carried in a frequency of a television channel selected by a user, and additional information (e.g., EPG data).

The tuner demodulator 210 is responsive to the user selected frequency of the television channel and the television signal carried by the frequency, as selected by the user and controlled by the controller 250.

The tuner demodulator 210 can receive a television signal in various ways according to the broadcasting system of the television signal, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; and according to different modulation types, a digital modulation mode or an analog modulation mode can be adopted; and can demodulate the analog signal and the digital signal according to the different kinds of the received television signals.

In other exemplary embodiments, the tuning demodulator 210 may also be in an external device, such as an external set-top box. In this way, the set-top box outputs a television signal after modulation and demodulation, and inputs the television signal into the display apparatus 200 through the external device interface 240.

The communicator 220 is a component for communicating with an external device or an external server according to various communication protocol types. For example, the display apparatus 200 may transmit content data to an external apparatus connected via the communicator 220, or browse and download content data from an external apparatus connected via the communicator 220. The communicator 220 may include a network communication protocol module or a near field communication protocol module, such as a WIFI module 221, a bluetooth communication protocol module 222, and a wired ethernet communication protocol module 223, so that the communicator 220 may receive a control signal of the control device 100 according to the control of the controller 250 and implement the control signal as a WIFI signal, a bluetooth signal, a radio frequency signal, and the like.

The detector 230 is a component of the display apparatus 200 for collecting signals of an external environment or interaction with the outside. The detector 230 may include an image collector 231, such as a camera, a video camera, etc., which may be used to collect external environment scenes to adaptively change the display parameters of the display device 200; and the function of acquiring the attribute of the user or interacting gestures with the user so as to realize the interaction between the display equipment and the user. A light receiver 232 may also be included to collect ambient light intensity to adapt to changes in display parameters of the display device 200, etc.

In some other exemplary embodiments, the detector 230 may further include a temperature sensor, such as by sensing an ambient temperature, and the display device 200 may adaptively adjust a display color temperature of the image. For example, when the temperature is higher, the display apparatus 200 may be adjusted to display a color temperature of an image that is cooler; when the temperature is lower, the display device 200 may be adjusted to display a warmer color temperature of the image.

In some other exemplary embodiments, the detector 230, which may further include a sound collector, such as a microphone, may be configured to receive a sound of a user, such as a voice signal of a control instruction of the user to control the display device 200; alternatively, ambient sounds may be collected that identify the type of ambient scene, enabling the display device 200 to adapt to ambient noise.

The external device interface 240 is a component for providing the controller 210 to control data transmission between the display apparatus 200 and an external apparatus. The external device interface 240 may be connected to an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.

The external device interface 240 may include: a High Definition Multimedia Interface (HDMI) terminal 241, a Composite Video Blanking Sync (CVBS) terminal 242, an analog or digital Component terminal 243, a Universal Serial Bus (USB) terminal 244, a Component terminal (not shown), a red, green, blue (RGB) terminal (not shown), and the like.

The controller 250 controls the operation of the display device 200 and responds to the operation of the user by running various software control programs (such as an operating system and various application programs) stored on the memory 260.

As shown in fig. 1C, the controller 250 includes a Random Access Memory (RAM)251, a Read Only Memory (ROM)252, a graphics processor 253, a CPU processor 254, a communication interface 255, and a communication bus 256. The RAM251, the ROM252, the graphic processor 253, and the CPU processor 254 are connected to each other through a communication bus 256 through a communication interface 255.

The ROM252 stores various system boot instructions. When the display apparatus 200 starts power-on upon receiving the power-on signal, the CPU processor 254 executes a system boot instruction in the ROM252, copies the operating system stored in the memory 260 to the RAM251, and starts running the boot operating system. After the start of the operating system is completed, the CPU processor 254 copies the various application programs in the memory 260 to the RAM251 and then starts running and starting the various application programs.

A graphic processor 253 for generating screen images of various graphic objects such as icons, images, and operation menus. The graphic processor 253 may include an operator for performing an operation by receiving various interactive instructions input by a user, and further displaying various objects according to display attributes; and a renderer for generating various objects based on the operator and displaying the rendered result on the display 275.

A CPU processor 254 for executing operating system and application program instructions stored in memory 260. And according to the received user input instruction, processing of various application programs, data and contents is executed so as to finally display and play various audio-video contents.

In some example embodiments, the CPU processor 254 may comprise a plurality of processors. The plurality of processors may include one main processor and a plurality of or one sub-processor. A main processor for performing some initialization operations of the display apparatus 200 in the display apparatus preload mode and/or operations of displaying a screen in the normal mode. A plurality of or one sub-processor for performing an operation in a state of a standby mode or the like of the display apparatus.

The communication interface 255 may include a first interface to an nth interface. These interfaces may be network interfaces that are connected to external devices via a network.

The controller 250 may control the overall operation of the display apparatus 200. For example: in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user input command.

Where the object may be any one of the selectable objects, such as a hyperlink or an icon. The operation related to the selected object is, for example, an operation of displaying a link to a hyperlink page, document, image, or the like, or an operation of executing a program corresponding to an icon. The user input command for selecting the GUI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch panel, etc.) connected to the display apparatus 200 or a voice command corresponding to a user uttering voice.

A memory 260 for storing various types of data, software programs, or applications for driving and controlling the operation of the display device 200. The memory 260 may include volatile and/or nonvolatile memory. And the term "memory" includes the memory 260, the RAM251 and the ROM252 of the controller 250, or a memory card in the display device 200.

In some embodiments, the memory 260 is specifically used for storing an operating program for driving the controller 250 of the display device 200; storing various application programs built in the display apparatus 200 and downloaded by a user from an external apparatus; data such as visual effect images for configuring various GUIs provided by the display 275, various objects related to the GUIs, and selectors for selecting GUI objects are stored.

In some embodiments, the memory 260 is specifically configured to store drivers and related data for the tuner demodulator 210, the communicator 220, the detector 230, the external device interface 240, the video processor 270, the display 275, the audio processor 280, and the like, external data (e.g., audio-visual data) received from the external device interface, or user data (e.g., key information, voice information, touch information, and the like) received from the user interface.

In some embodiments, memory 260 specifically stores software and/or programs representing an Operating System (OS), which may include, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. Illustratively, the kernel may control or manage system resources, as well as functions implemented by other programs (e.g., the middleware, APIs, or applications); at the same time, the kernel may provide an interface to allow middleware, APIs, or applications to access the controller to enable control or management of system resources.

A block diagram of the architectural configuration of the operating system in the memory of the display device 200 is illustrated in fig. 1D. The operating system architecture comprises an application layer, a middleware layer and a kernel layer from top to bottom.

The application layer, the application programs built in the system and the non-system-level application programs belong to the application layer and are responsible for direct interaction with users. The application layer may include a plurality of applications such as NETFLIX applications, setup applications, media center applications, and the like. These applications may be implemented as Web applications that execute based on a WebKit engine, and in particular may be developed and executed based on HTML, Cascading Style Sheets (CSS), and JavaScript.

Here, HTML, which is called HyperText Markup Language (HyperText Markup Language), is a standard Markup Language for creating web pages, and describes the web pages by Markup tags, where the HTML tags are used to describe characters, graphics, animation, sound, tables, links, etc., and a browser reads an HTML document, interprets the content of the tags in the document, and displays the content in the form of web pages.

CSS, known as Cascading Style Sheets (Cascading Style Sheets), is a computer language used to represent the Style of HTML documents, and may be used to define Style structures, such as fonts, colors, locations, etc. The CSS style can be directly stored in the HTML webpage or a separate style file, so that the style in the webpage can be controlled.

JavaScript, a language applied to Web page programming, can be inserted into an HTML page and interpreted and executed by a browser. The interaction logic of the Web application is realized by JavaScript. The JavaScript can package a JavaScript extension interface through a browser, realize the communication with the kernel layer,

the middleware layer may provide some standardized interfaces to support the operation of various environments and systems. For example, the middleware layer may be implemented as multimedia and hypermedia information coding experts group (MHEG) middleware related to data broadcasting, DLNA middleware which is middleware related to communication with an external device, middleware which provides a browser environment in which each application program in the display device operates, and the like.

The kernel layer provides core system services, such as: file management, memory management, process management, network management, system security authority management and the like. The kernel layer may be implemented as a kernel based on various operating systems, for example, a kernel based on the Linux operating system.

The kernel layer also provides communication between system software and hardware, and provides device driver services for various hardware, such as: provide display driver for the display, provide camera driver for the camera, provide button driver for the remote controller, provide wiFi driver for the WIFI module, provide audio driver for audio output interface, provide power management drive for Power Management (PM) module etc..

A user interface 265 receives various user interactions. Specifically, it is used to transmit an input signal of a user to the controller 250 or transmit an output signal from the controller 250 to the user. For example, the remote controller 100A may transmit an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by the user to the user interface 265, and then the input signal is transferred to the controller 250 through the user interface 265; alternatively, the remote controller 100A may receive an output signal such as audio, video, or data output from the user interface 265 via the controller 250, and display the received output signal or output the received output signal in audio or vibration form.

In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on the display 275, and the user interface 265 receives the user input commands through the GUI. Specifically, the user interface 265 may receive user input commands for controlling the position of a selector in the GUI to select different objects or items.

Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user interface 265 receives the user input command by recognizing the sound or gesture through the sensor.

The video processor 270 is configured to receive an external video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 275.

Illustratively, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like.

The demultiplexing module is configured to demultiplex an input audio/video data stream, where, for example, an input MPEG-2 stream (based on a compression standard of a digital storage media moving image and voice), the demultiplexing module demultiplexes the input audio/video data stream into a video signal and an audio signal.

And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like.

And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.

The frame rate conversion module is configured to convert a frame rate of an input video, for example, convert a frame rate of an input 60Hz video into a frame rate of 120Hz or 240Hz, where a common format is implemented by using, for example, an interpolation frame method.

And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.

And a display 275 for receiving the image signal from the output of the video processor 270 and displaying video, images and menu manipulation interfaces. For example, the display may display video from a broadcast signal received by the tuner demodulator 210, may display video input from the communicator 220 or the external device interface 240, and may display an image stored in the memory 260. The display 275, while displaying a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.

And, the display 275 may include a display screen assembly for presenting a picture and a driving assembly for driving the display of an image. Alternatively, a projection device and projection screen may be included, provided display 275 is a projection display.

The audio processor 280 is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform audio data processing such as noise reduction, digital-to-analog conversion, and amplification processing to obtain an audio signal that can be played by the speaker 286.

Illustratively, audio processor 280 may support various audio formats. Such as MPEG-2, MPEG-4, Advanced Audio Coding (AAC), high efficiency AAC (HE-AAC), and the like.

Audio output interface 285 receives audio signals from the output of audio processor 280. For example, the audio output interface may output audio in a broadcast signal received via the tuner demodulator 210, may output audio input via the communicator 220 or the external device interface 240, and may output audio stored in the memory 260. The audio output interface 285 may include a speaker 286, or an external audio output terminal 287, such as an earphone output terminal, that outputs to a generating device of an external device.

In other exemplary embodiments, video processor 270 may comprise one or more chips. Audio processor 280 may also comprise one or more chips.

And, in other exemplary embodiments, the video processor 270 and the audio processor 280 may be separate chips or may be integrated with the controller 250 in one or more chips.

And a power supply 290 for supplying power supply support to the display apparatus 200 from the power input from the external power source under the control of the controller 250. The power supply 290 may be a built-in power supply circuit installed inside the display apparatus 200 or may be a power supply installed outside the display apparatus 200.

In one example, the wireless hotspot may send beacon frames to the connected display device at regular intervals to inform the display device that it is still present in the network. The display equipment detects whether a beacon frame sent by the wireless hotspot is received within a preset time, if so, the wireless hotspot is determined to still operate normally, and the established connection with the wireless hotspot is maintained; and if the beacon frame sent by the wireless hotspot is not received within the preset time, determining that the beacon frame is lost, and considering that the wireless hotspot exits from the current network and is disconnected from the wireless hotspot. Generally, the reasons for the wireless hotspot exiting the network include a power down, a reboot, etc. of the wireless hotspot.

In one embodiment, the preset time for detecting the beacon frame may be set according to a beacon frame time interval commonly used by the wireless hotspot on the market. Specifically, the preset time may be set to be an integer multiple of the common beacon frame time interval. Taking the time interval of beacon frame transmission commonly used by the wireless hotspots in the market as 100 milliseconds (ms) as an example, the preset time may be set to 10 times of the time interval, i.e. to 1 second(s).

As another embodiment, the preset time for detecting the beacon frame may be further set according to a specified field included in the received beacon frame, where the specified field indicates a time interval for transmitting the beacon frame. Specifically, the preset time may be set to be an integer multiple of the time interval indicated by the designated field. Taking the example that the time interval indicated by the specified field in the first received beacon frame is 100ms after the display device establishes connection with the wireless hotspot, the preset time may be set to 10 times the time interval, that is, to 1 s. In one embodiment, the specified field is an Interval field indicating a time Interval in which the beacon frame is currently transmitted.

However, when actually detecting the beacon frame, there may be two cases:

case 1: due to the problem of the wireless hotspot itself or the influence of the network environment, the time interval at which the wireless hotspot actually transmits the beacon frame may suddenly exceed the fixed time interval, for example, in the process of transmitting the beacon frame by the wireless hotspot for multiple times within two hours, the time interval at which the beacon frame is transmitted only once exceeds the fixed time interval.

The above-mentioned problems of the wireless hotspot itself may include: the wireless hotspot is not a standard wireless hotspot or is abnormal in operation, and the like, and the problems may cause the wireless hotspot to send beacon frames at different time intervals in a burst manner; the influence of the network environment may include large interference in the network environment, which may cause the wireless hotspot to fail to transmit the beacon frame at the original time interval, or even cause the wireless hotspot to fail to transmit the beacon frame.

Case 2: due to the influence of the network environment, for example, there is large interference in the network environment, the beacon frame sent by the wireless hotspot may take longer time to transmit than normal, and may even be lost during the transmission process.

Because the preset time for the display device to detect the beacon frame is often set according to the fixed time interval for the wireless hotspot to send the beacon frame, under the two conditions, the display device is likely to detect and determine that the beacon frame from the wireless hotspot is lost, and further disconnect the beacon frame from the wireless hotspot.

In view of the above situation, the present application provides a network connection control method and a display device, so that when a time interval during which a wireless hotspot sends a beacon frame suddenly exceeds a fixed time interval, the display device can still maintain connection with the wireless hotspot.

Fig. 2A to 2F are schematic diagrams illustrating a flow of a network connection control method. In one example, in connection with the display device of fig. 1C, to implement this method, the controller of the display device includes at least: a beacon frame detection module, a probe frame transceiving module and a probe control module, as shown in fig. 2A. With reference to the controller structure shown in fig. 2A and the flow shown in fig. 2B, the network connection control method may include the following steps:

in step S41, the beacon frame detection module detects a beacon frame corresponding to the display device.

For convenience of description, the wireless hotspot appearing in the following embodiments is a wireless hotspot to which the display device is connected.

In an example, the beacon frame corresponding to the display device is a beacon frame from a wireless hotspot, and whether the wireless hotspot still exists in the network can be determined by detecting whether the beacon frame from the wireless hotspot is lost. Specifically, a beacon frame detection module in the display device detects whether a detection frame transceiver module receives a beacon frame sent by a wireless hotspot within a preset time, and if the detection frame transceiver module does not receive the beacon frame, it is determined that the beacon frame corresponding to the display device is lost; and if the beacon frame sent by the wireless hotspot is received, continuously detecting whether the beacon frame sent by the wireless hotspot is received by the detection frame transceiver module within the preset time after the beacon frame is received.

As an embodiment, the detecting whether the beacon frame sent by the wireless hotspot is received at a preset time may be implemented by a timer 1, and specifically may include: when the detection frame transceiver module receives any beacon frame sent by the wireless hotspot connected with the display device, the beacon frame detection module starts a timer 1, wherein the timing time of the timer 1 is equal to the preset time; if the detection frame transceiver module still does not receive the beacon frame sent by the wireless hotspot when the timer 1 reaches the timing time, determining that the beacon frame sent by the wireless hotspot is not received within the preset time; if the probe frame transceiver module receives the beacon frame sent by the wireless hotspot before the timer 1 reaches the timing time, it is determined that the beacon frame sent by the wireless hotspot is received within the preset time, the timer 1 is reset, and the timer 1 is started again. Here, the timer 1 is reset, that is, the remaining time of the timer is reset to the timer time.

In another embodiment, detecting whether a beacon frame transmitted by the wireless hotspot is received at a preset time may include: when the detection frame transceiver module receives any beacon frame sent by the wireless hotspot, the beacon frame detection module starts a timer 1 arranged in the display device to enable the timer 1 to start timing from 0; if the detection frame transceiver module still does not receive the beacon frame sent by the wireless hotspot when the timing time of the timer 1 reaches the preset time, determining that the beacon frame sent by the wireless hotspot is not received within the preset time; if the probe frame transceiver module receives the beacon frame sent by the wireless hotspot before the timing time of the timer 1 reaches the preset time, it is determined that the beacon frame sent by the wireless hotspot is received within the preset time, the timer 1 is reset, and the timer 1 is started. Here, the timer 1 is reset, that is, the counted time of the timer is set to 0.

Step S42, the detection frame transceiver module sends detection frame to the wireless hotspot connected with the display device when the detection module detects that the beacon frame corresponding to the display device is lost and the configured detection frame sending time is reached, if the detection control module detects that the sending times of the detection frame recorded by the detection control module does not reach the threshold value of the times; and when detecting that the detection frame transceiving module sends the detection frame, the detection control module updates the recorded sending times of the detection frame.

In one example, the arrival of the configured probe frame transmission time in step S42 can be determined by the following steps:

step a1, the detection control module starts a timer when the beacon frame detection module detects that the beacon frame is lost, the timer has a timing time equal to the configured detection frame transmission time interval;

step a2, the probe frame transceiver module determines the arrival of the configured probe frame transmission time when the timer reaches the timing time.

For the convenience of understanding the above steps a1-a2, the timer started in step a1 is referred to as timer 2, and the configured probe frame transmission time interval is 0.5s for example: the detection control module starts a timer 2 when the beacon frame detection module detects that the beacon frame is lost, and the timing time of the timer 2 is 0.5 s; when the timer 2 reaches 0.5s, the probe frame transceiver module determines that the configured probe frame transmission time is reached.

In one embodiment, the probe frame is a data frame. Specifically, the data carried by the data frame may be null. More specifically, the data frame mainly consists of a frame header and a data body, and the data in the data body can be empty.

The probe control module resets the timer after each probe frame transmission by the probe frame transceiver module, in one embodiment, to recalculate the probe frame transmission time.

In one example, the updating the recorded probe frame transmission times in step S42 may include: and the detection control module adds one to the recorded sending times of the detection frame when detecting that the detection frame sending and receiving module sends the detection frame. As an embodiment, the probe control module starts to record the number of times of sending the probe frame of the probe frame transceiver module from 0 after the beacon frame corresponding to the display device is lost.

In one example, the number threshold and the probe frame transmission time interval (or probe frame transmission time) in step S42 may be configured in advance in the display device. In one embodiment, the number threshold and the sounding frame transmission time interval may be configured by a configuration module in the controller. Specifically, the number threshold and the probe frame transmission time may be configured according to a preset time for detecting the loss of the beacon frame. For example, when the number threshold and the probe frame transmission time interval are configured, the product of the number threshold and the probe frame transmission time interval is an integer multiple of the preset time. Taking the preset time for detecting the loss of the beacon frame as 1s as an example, the product of the number threshold and the probe frame transmission time interval may be 15 times the preset time, that is, 15s, and if the probe frame transmission time interval is configured to be 0.5s, the number threshold should be set to be 30 times in order to make the product 15 s.

Through the step S42, the probe frame transceiver module may continuously send the probe frame to the wireless hotspot within a certain time to detect whether the wireless hotspot exists in the network, where the certain time is a product of the time threshold and the probe frame sending time. Taking the number threshold of 15 and the sending time of the probe frame as 1s as an example, the probe frame transceiver module may continuously send the probe frame to the wireless hotspot within 15 s.

To facilitate understanding of this step S42, the following description is given in conjunction with fig. 2C by way of example:

fig. 2C simply shows the interaction process of the display device and the wireless hotspot involved in the above steps S41 and S42 in the form of a time axis. For convenience of description, in fig. 2C and the subsequent figures, a downward arrow indicates that the display device receives information from the wireless hotspot, an upward arrow indicates that the display device transmits information to the wireless hotspot, T1 indicates a preset time for the beacon frame detection module to detect the loss of the beacon frame, T2 indicates a configured probe frame transmission time interval, and it is assumed that the time threshold is 15.

As shown in fig. 2C:

after the display device is connected to the wireless hotspot, the beacon frame detection module detects that a beacon frame sent by the wireless hotspot is not received within a preset time after the beacon frame sent by the wireless hotspot is received, and as shown in a time point a in fig. 2C, the beacon frame detection module determines that the beacon frame corresponding to the display device is lost. After the loss of the beacon frame is determined, when the configured sending time of the detection frame is reached, the detection frame receiving and sending module checks that the sending times of the detection frame which is recorded currently is 0 time and is less than the time threshold 15, and then the detection frame is sent to the wireless hotspot. And when the detection frame transceiving module sends the detection frame, the detection control module updates the recorded sending times of the detection frame to 1, and so on.

In other embodiments, in step S42, the probe frame transceiver module may send a probe frame to the wireless hotspot immediately after the beacon frame detection module detects that the beacon frame corresponding to the display device is lost, and then send the probe frame to the wireless hotspot when the configured probe frame sending time is reached and the number of times of sending the probe frame recorded by the probe control module does not reach the number threshold.

Step S43, when the probe frame transceiver module receives the beacon frame of the wireless hotspot and/or the confirmation frame in response to the probe frame, the probe control module maintains the current connection between the display device and the wireless hotspot; and when the recorded sending times of the detection frames reach a preset time threshold, disconnecting the current connection between the display equipment and the wireless hotspot.

As an embodiment, according to the 802.11 protocol, after receiving a probe frame from a display device, a wireless hotspot replies to the display device with a confirmation frame to notify the display device that the wireless hotspot has successfully received the probe frame sent by the display device. Specifically, the acknowledgement frame is a management frame and is mainly used to inform a sender of the data frame whether the data frame is successfully received.

In one example, if the probe frame transceiver module receives a beacon frame of the wireless hotspot and/or an acknowledgement frame in response to the probe frame, it is determined that the wireless hotspot still exists in the network, and thus the display device may maintain a current connection with the wireless hotspot. For convenience of description, in some embodiments below, an acknowledgment frame in response to a sounding frame is simply referred to as an acknowledgment frame. As an embodiment, since it is determined that the wireless hotspot still exists in the network, the probe frame transceiver module may stop sending the probe frame when receiving the beacon frame and/or the acknowledgement frame of the wireless hotspot. Further, after the sending of the probe frame is stopped, the probe control module may set the recorded sending times of the probe frame to 0, so as to perform the subsequent probing again.

As an embodiment, when receiving a beacon frame and/or an acknowledgement frame of a wireless hotspot, it may be further determined whether a time for receiving the beacon frame and/or the acknowledgement frame is less than a preset determination time from a time when the probe frame transceiver module transmits a first probe frame, and if so, the connection between the display device and the wireless hotspot is maintained; if not, the connection between the display equipment and the wireless hotspot is disconnected.

In another embodiment, if the number of times that the probe control module has recorded sending the probe frame has not reached the preset number threshold when receiving the beacon frame and/or the acknowledgement frame from the wireless hotspot, the connection between the display device and the wireless hotspot may be maintained.

In the two embodiments, the preset determination time and the preset number threshold are not suitable to be set too large. For the determination time, in an embodiment, when a large interference continuously exists in the network, so that the wireless hotspot cannot send data frames at a normal rate for a long time, if the determination time is too long, the display device may still maintain the connection with the wireless hotspot, and the data frames from the wireless hotspot cannot be normally received, which affects the use experience of the user.

For the understanding of the present embodiment, the following description is given by way of example in connection with practical applications: taking the example that a user is playing a video online through a display device, if a wireless hotspot cannot send video data at a normal rate, the display device cannot receive and play the video data from the wireless hotspot in time, so that the video currently played by the display device is continuously blocked, and the use experience of the user is affected.

Therefore, the judgment time is not suitable to be set too much, and the influence of different judgment times on the user experience can be set. For similar reasons, the number threshold is also not set too large.

In an embodiment, the number of times that the probe frame has been recorded by the probe control module reaches the number threshold, which indicates that the probe frame transceiver module does not receive the beacon frame and/or the acknowledgement frame from the wireless hotspot during a period from when the probe frame transceiver module transmits the first probe frame after determining that the beacon frame is lost to when the number of times that the probe frame of the probe frame transceiver module has been transmitted reaches the preset number threshold, and thus it is determined that the wireless hotspot has exited from the network, and the connection between the display device and the wireless hotspot is disconnected. In another embodiment, the current connection between the display device and the wireless hotspot may be disconnected when the sending time of the probe frame is reached again after the number of times of sending the probe frame recorded by the probe control module reaches the preset number threshold.

For the convenience of understanding the present step S43, the following description is given by way of example in conjunction with fig. 2D-2E. As shown in fig. 2D: and after the beacon frame is determined to be lost at the time point A, the detection frame transceiver module of the display device sends the detection frame to the wireless hotspot, and if the beacon frame from the wireless hotspot is received at the later time point B, the connection between the display device and the wireless hotspot is maintained. Similarly, if an acknowledgement frame is received from the wireless hotspot at time B, the display device remains connected to the wireless hotspot.

As shown in fig. 2E, if the number of times of sending the probe frame recorded by the probe control module reaches the preset number threshold 15, the probe frame transceiver module still does not receive the beacon frame and/or the acknowledgement frame from the wireless hotspot, as shown by time point C in fig. 2E, the connection between the display device and the wireless hotspot is disconnected.

As an embodiment, if the probe frame transceiver module receives the beacon frame and/or the confirmation frame from the wireless hotspot, the step S41 is executed again, that is, the beacon frame detection module detects whether the beacon frame corresponding to the display device is lost. Specifically, the beacon frame detection module detects whether the beacon frame from the wireless hotspot is received or not within a preset time after the detection frame transceiver module receives the beacon frame and/or the confirmation frame from the wireless hotspot, and if not, determines that the beacon frame corresponding to the display device is lost.

This completes the description of the flow shown in fig. 2B.

Through the process shown in fig. 2B, the display device may actively detect whether the wireless hotspot still exists when the beacon frame from the wireless hotspot is lost, and if so, maintain the connection with the wireless hotspot.

In other embodiments, the display device may replace the time threshold in the flow shown in fig. 2B with a preset detection time to determine whether to continue to maintain a connection with the wireless hotspot. Specifically, the network connection control method provided in this embodiment may refer to a flow shown in fig. 2F, and as shown in fig. 2F, the flow includes:

step S51, after the beacon frame detection module detects that the beacon frame corresponding to the display device is lost, when the configured probe frame sending time is reached, the probe frame transceiver module sends the probe frame to the wireless hotspot connected to the display device.

Step S52, the detection control module starts timing after the beacon frame detection module detects that the beacon frame corresponding to the display device is lost, and stops timing and maintains the connection between the display device and the wireless hotspot if it is detected that the detection frame transceiver module receives the beacon frame of the wireless hotspot and/or a confirmation frame responding to the detection frame; and when the timing time reaches the preset detection time, disconnecting the display equipment from the wireless hotspot.

In one embodiment, the preset detection time in the step S52 may be configured in the display device in advance.

In one embodiment, the start timing and the stop timing in step S52 can be realized by a timer. Specifically, the detection control module starts a timer after detecting that a beacon frame corresponding to the display device is lost, and the timing time of the timer is equal to the preset detection time. If the detection frame transceiver module receives the beacon frame of the wireless hotspot and/or the confirmation frame responding to the detection frame before the timer reaches the timing time, the detection control module stops the timer and maintains the connection between the display device and the wireless hotspot; and when the timer reaches the timing time, disconnecting the display equipment from the wireless hotspot.

This completes the description of the flow shown in fig. 2F.

Some steps in the process shown in fig. 2F are similar to those in the process shown in fig. 2B, and reference may be made to the process shown in fig. 2B during specific implementation, which is not repeated herein.

Through the process shown in fig. 2F, a probe frame may be sent to the wireless hotspot connected to the display device within the preset detection time after the beacon frame corresponding to the display device is lost, so as to actively detect whether the wireless hotspot still exists, so that the connection between the display device and the wireless hotspot is maintained as much as possible when the wireless hotspot still exists in the network.

Through the above-mentioned flows shown in fig. 2B and fig. 2F, the display device may still maintain connection with the wireless hotspot when the time interval for the wireless hotspot to send the beacon frame is suddenly increased or the beacon frame is lost due to the influence of the network environment.

In one example, the threshold of the number of times in the process shown in fig. 2B may be adjusted according to the time interval of receiving the beacon frame by the probe frame transceiver module. Fig. 3A to 3F are schematic diagrams illustrating a flow chart of adjusting the threshold of the number of times according to the time interval of receiving the beacon frame. The following description is made by two embodiments with reference to fig. 3A to 3F:

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种散热效果好的节能型CPE设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!