CN111601401A - Network connection control method and display device - Google Patents

Network connection control method and display device Download PDF

Info

Publication number
CN111601401A
CN111601401A CN202010435183.5A CN202010435183A CN111601401A CN 111601401 A CN111601401 A CN 111601401A CN 202010435183 A CN202010435183 A CN 202010435183A CN 111601401 A CN111601401 A CN 111601401A
Authority
CN
China
Prior art keywords
frame
time interval
detection
wireless hotspot
display device
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.)
Granted
Application number
CN202010435183.5A
Other languages
Chinese (zh)
Other versions
CN111601401B (en
Inventor
何志峰
王仁斌
崔刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202010435183.5A priority Critical patent/CN111601401B/en
Publication of CN111601401A publication Critical patent/CN111601401A/en
Application granted granted Critical
Publication of CN111601401B publication Critical patent/CN111601401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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.

Description

Network connection control method and display device
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,
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:
example 1:
as shown in fig. 3A, the process of adjusting the threshold according to the time interval of receiving the beacon frame may include the following steps:
in step S61, when detecting that the probe frame transceiver module receives the current beacon frame from the wireless hotspot, the probe control module determines a first time interval between the current beacon frame and a previous beacon frame.
Specifically, the first time interval between the current beacon frame and the previous beacon frame is: an interval between a time when the current beacon frame is received and a time when a last beacon frame is received, wherein the last beacon frame is a beacon frame received before the current beacon frame and received most recently from the current beacon frame.
In one embodiment, the display device may start a timer (denoted as timer 2) upon receiving each beacon frame from the wireless hotspot, stop the timer 2 upon receiving the next beacon frame from the wireless hotspot, and determine the time recorded when the timer 2 is stopped as the time interval between the two beacon frames. According to the present embodiment, in step S61, when the current beacon frame from the wireless hotspot is received, the counting of the timer 2 is stopped, and the time counted when the timer 2 is stopped is taken as the first time interval between the current beacon frame and the previous beacon frame.
To facilitate understanding of this step S61, the following description is given by way of example in conjunction with fig. 3B:
as shown in time point B in fig. 3B, the probe frame transceiver module receives the current beacon frame from the wireless hotspot. As can be seen from fig. 3B, the last beacon frame of the current beacon frame is the beacon frame received at the time point O in fig. 3B. Thus, a first time interval between the current beacon frame and the previous beacon frame, i.e., the time interval between time point B and time point O in fig. 3B, may be determined, as shown at T3.
In step S62, if the first time interval is different from the configured probe frame transmission time interval, the threshold of the number of times is adjusted according to the first time interval and the configured probe frame transmission time interval.
In one example, adjusting the threshold number of times according to the first time interval and the configured sounding frame transmission time interval may include: the detection control module compares the first time interval with a configured second time interval, wherein the second time interval is determined according to a time threshold and a detection frame sending time interval; when the first time interval is greater than the second time interval, the time threshold is adjusted from a current first value to a second value, and the second value is determined according to the difference value between the first time interval and the second time interval and is greater than the first value.
As an embodiment, the second time interval may be a product of a sounding frame transmission time interval and a number threshold. Taking the example that the sounding frame transmission time interval is 1s and the number threshold is 18s, the second time interval is the product of the sounding frame transmission time interval and the number threshold, i.e. 18 s.
As an example, in case the first time interval is larger than the second time interval, the second value of the number threshold may be determined by: calculating the difference value between the first time interval and the second time interval, calculating the ratio of the difference value to the sending time interval of the detection frame, and taking the integer closest to the ratio as the increment of the time threshold; the sum of the current first value of the number threshold and the increment is calculated as a second value of the number threshold. It should be noted that the second value should be greater than the first value, and if the second value is equal to or less than the first value, the number threshold does not need to be adjusted.
For the understanding of the present embodiment, the following description will be made by taking the first time interval as 20s, the sounding frame transmission time interval as 1s, and the number threshold as 18 as an example: firstly, calculating the product of a sending interval of a detection frame and a time threshold value as a second time interval, and obtaining that the second time interval is 18s, thereby calculating the difference value between the first time interval and the second time interval, and obtaining that the difference value is 2 s; then, calculating the ratio of the difference value to the sending time interval of the detection frame to obtain the ratio of 2, wherein 2 is an integer, so that 2 is directly used as the increment of the time threshold; finally, the sum of the current first value 18 of the number threshold and the increment is calculated as a second value of the number threshold, resulting in a second value 20.
As another example, in the case where the first time interval is greater than the second time interval, the second value of the number threshold may be determined by: and calculating the ratio of the first time interval to the sending time interval of the detection frame, and taking the integer closest to the ratio as a second value of the time threshold.
For the convenience of understanding the present embodiment, the following description will be made by taking the first time interval as 19.6s, the sounding frame transmission time interval as 1s, and the number threshold as 18 as an example: firstly, calculating the ratio of a first time interval to a detection frame sending time interval to obtain the ratio of 19.6; then, the integer closest to the ratio may be determined to be 20, and thus 20 is used as the second value of the degree threshold.
In the above two embodiments, when two integers closest to the ratio exist at the same time, the larger integer may be selected as one embodiment.
In other embodiments, it may be directly determined whether the first time interval is greater than the second time interval without determining whether the first time interval is the same as the sounding frame transmission time interval, and the number threshold may be adjusted according to the first time interval and the sounding frame transmission time interval when the first time interval is greater than the second time interval.
The description of embodiment 1 is completed so far.
Example 2:
in this embodiment 2, as shown in fig. 3C, when the beacon frame is lost, the probe frame transceiver module receives an acknowledgement frame from the wireless hotspot in response to the probe frame, and does not receive the beacon frame from the wireless hotspot. For convenience of description, the ack frame received by the probe frame transceiver module is referred to as a first ack frame, as shown in fig. 3C at time point B.
As shown in fig. 3D, the process of adjusting the threshold according to the time interval for receiving the beacon frame in embodiment 2 may include:
in step S71, when detecting that the probe frame transceiver module receives the current beacon frame from the wireless hotspot, the probe control module determines a third time interval between the current beacon frame and the first acknowledgement frame.
In one example, the beacon frame detection module continues to detect the beacon frame corresponding to the display device after the probe frame transceiving module receives the first acknowledgement frame, and the following two cases may exist when executing the step S71:
case 1:
as shown in fig. 3E, the probe frame transceiver module receives the current beacon frame from the wireless hotspot within a preset time after receiving the first acknowledgement frame, as shown by a time point D in fig. 3E. The preset time is a preset time for the beacon frame detection module to detect whether the beacon frame is lost, i.e. T1 in each drawing.
As shown in fig. 3E, the third time interval between the current beacon frame and the first acknowledgement frame determined in step S71 is the time interval between time point D and time point B in fig. 3E, as shown by T4 in fig. 3E.
Case 2:
as shown in fig. 3F, the probe frame transceiver module does not receive the beacon frame from the wireless hotspot within the preset time after receiving the first acknowledgement frame, as shown in time point E in fig. 3F, the beacon frame detection module determines that the beacon frame corresponding to the display device is lost, and the display device performs the above steps S42-S43. If the probe frame transceiver module receives the current beacon frame from the wireless hotspot as shown in time point D in fig. 3F, a third time interval between the current beacon frame and the first acknowledgement frame is a time interval between time point D and time point B shown in fig. 3F, as shown by T4 in fig. 3F.
In other embodiments, if the beacon frame from the wireless hotspot is not received within a preset time after the first acknowledgement frame is received, the above steps S42-S43 are performed; if the second acknowledgement frame from the wireless hotspot is received but the beacon frame from the wireless hotspot is not received while step S42 is executed, the step S71 is continued with the second acknowledgement frame as the first acknowledgement frame.
In step S72, if the third time interval is different from the configured probe frame transmission time interval, the threshold of times is adjusted according to the third time interval and the configured probe frame transmission time interval.
The description of embodiment 2 is completed so far.
Through the two embodiments, the time threshold can be adjusted to a value larger than the current value to a certain extent, so that the connection with the wireless hotspot can still be maintained under the conditions that the interference is more and the transmission of the beacon frame and the confirmation frame is influenced in the network environment.
However, as described above, the number threshold should not be too large, and in one embodiment, to avoid adjusting the number threshold too large, an adjustment threshold may be set. After determining the second value of the time threshold, the detection control module may determine whether the second value is greater than the adjustment threshold, and if so, the time threshold is not adjusted, that is, the time threshold is maintained as the current first value; if not, the time threshold is adjusted to be a second value.
It should be noted that the above-mentioned processes of adjusting the threshold according to the time interval of receiving the beacon frame shown in fig. 3A and 3D may also be executed by other modules besides the probe control module, for example, the beacon frame detection module.
In other embodiments, the beacon frame transmission time interval may also be adjusted according to the time interval for receiving the beacon frame, and the specific process may refer to the above process for adjusting the time threshold.
As described in the above embodiments, the display device may maintain connection with the wireless hotspot when the time interval of sending the beacon frame by the wireless hotspot suddenly exceeds the original time interval, or the beacon frame sent by the wireless hotspot cannot arrive on time or even is lost due to large interference in the network environment.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

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 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.
CN202010435183.5A 2020-05-21 2020-05-21 Network connection control method and display device Active CN111601401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010435183.5A CN111601401B (en) 2020-05-21 2020-05-21 Network connection control method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010435183.5A CN111601401B (en) 2020-05-21 2020-05-21 Network connection control method and display device

Publications (2)

Publication Number Publication Date
CN111601401A true CN111601401A (en) 2020-08-28
CN111601401B CN111601401B (en) 2022-06-03

Family

ID=72192187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010435183.5A Active CN111601401B (en) 2020-05-21 2020-05-21 Network connection control method and display device

Country Status (1)

Country Link
CN (1) CN111601401B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160029215A1 (en) * 2014-07-23 2016-01-28 Samsung Electronics Co., Ltd. Electronic device and method for discovering network in electronic device
CN110618889A (en) * 2019-08-14 2019-12-27 网联清算有限公司 Service availability detection method and device, computer equipment and storage medium
CN110740491A (en) * 2019-10-29 2020-01-31 广东美的制冷设备有限公司 Communication processing method and device of wireless network and household appliance
CN111010719A (en) * 2019-12-23 2020-04-14 厦门安胜网络科技有限公司 WiFi soft switching method and device used between wireless access points

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160029215A1 (en) * 2014-07-23 2016-01-28 Samsung Electronics Co., Ltd. Electronic device and method for discovering network in electronic device
CN110618889A (en) * 2019-08-14 2019-12-27 网联清算有限公司 Service availability detection method and device, computer equipment and storage medium
CN110740491A (en) * 2019-10-29 2020-01-31 广东美的制冷设备有限公司 Communication processing method and device of wireless network and household appliance
CN111010719A (en) * 2019-12-23 2020-04-14 厦门安胜网络科技有限公司 WiFi soft switching method and device used between wireless access points

Also Published As

Publication number Publication date
CN111601401B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN111200746B (en) Method for awakening display equipment in standby state and display equipment
CN111045557A (en) Moving method of focus object and display device
CN111601142B (en) Subtitle display method and display equipment
CN111385621B (en) Display device and Bluetooth audio transmission method
CN111654729B (en) Account login state updating method and display device
CN111757181B (en) Method for reducing network media definition jitter and display device
CN113473194B (en) Intelligent device and response method
CN111526401B (en) Video playing control method and display equipment
CN112004125A (en) Media resource playing method and display equipment
CN111857363A (en) Input method interaction method and display equipment
CN112004127B (en) Signal state display method and display equipment
CN111526414B (en) Subtitle display method and display equipment
CN111901677B (en) Method for uniformly controlling process starting and display equipment
CN112040285B (en) Interface display method and display equipment
CN111343498B (en) Mute control method and device and smart television
CN113115093B (en) Display device and detail page display method
CN111601401B (en) Network connection control method and display device
CN113010074A (en) Webpage Video control bar display method and display equipment
CN111601147A (en) Content display method and display equipment
CN111726681A (en) Audio output device selection method and display device
CN112040317B (en) Event response method and display device
CN111901686B (en) Method for keeping normal display of user interface stack and display equipment
CN111246282B (en) Program information acquisition method in display equipment and display equipment
CN111756413B (en) Method for adjusting Bluetooth mode on display device and display device
CN111629241A (en) Method for providing time information in physical layer signaling and display equipment

Legal Events

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