Display device and WiFi signal prompting method

CN117812366BActive Publication Date: 2026-10-30HISENSE VISUAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311567464.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2026-10-30
Estimated Expiration
2043-11-22

AI Technical Summary

Technical Problem

[0004]本申请示例性的实施方式提供一种显示设备和WiFi信号提示方法,用于解决显示设备在WiFi连接时无法有效判断连接WiFi的信号质量,从而导致WiFi连接时信号质量比较差且无法提示给用户,使得对显示设备使用体验比较差,无法满足用户使用显示设备需求的技术问题

Benefits of technology

[0048]由以上技术方案可知,本申请实施例提供的显示设备和WiFi信号提示方法,获取广播的网络连接信息,根据网络连接信息确定为WiFi连接时,从目标节点读取WiFi对应的错误数据封包个数和/或信号占比时间,根据数据封包个数和/或信号占比时间判断WiFi的信号质量不满足预设的信号质量条件,生成信号质量提示信息,在显示器上显示信号质量提示信息。本申请实施例用于解决显示设备在WiFi连接时无法有效判断连接WiFi的信号质量,从而导致WiFi连接时信号质量比较差无法且提示给用户,使得对显示设备使用体验比较差,无法满足用户使用显示设备需求的技术问题,通过数据封包个数和/或信号占比时间能够有效判断WiFi信号质量,并且能够在WiFi连接时信号质量比较差通过显示器实时显示以提示用户,以使用户根据提示信息进行路由器或者WiFi连接方式等调整,满足用户使用需求,提升用户使用体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117812366B_ABST
    Figure CN117812366B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a display device and a WiFi signal prompting method, and relate to the technical field of communication. The display device comprises a display and a controller connected with the display, wherein the controller is configured to: acquire broadcast network connection information, determine, when WiFi is connected, to read a number of error data packets and / or a signal proportion time corresponding to WiFi from a target node according to the network connection information, judge that a signal quality of the WiFi does not satisfy a preset signal quality condition according to the number of data packets and / or the signal proportion time, generate signal quality prompting information, and display the signal quality prompting information on the display. Embodiments of the present application are used to solve the technical problem that a display device cannot effectively judge the signal quality of connected WiFi when the display device is connected with WiFi, thereby leading to poor signal quality when the display device is connected with WiFi and failing to prompt the user, resulting in poor user experience of the display device and failing to meet the user's demand for using the display device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology. More specifically, it relates to a display device and a WiFi signal indication method. Background Technology

[0002] Network functionality is a fundamental core feature of display devices such as televisions, and it's also one of the most frequently used scenarios. Typically, a user's evaluation of WiFi functionality depends on their subjective experience while using it. However, in actual use, users are unaware of the current WiFi signal quality and may mistakenly believe that the issue stems from a problem with the display device itself.

[0003] In related technologies, WiFi quality is directly determined based on WiFi signal strength. However, sometimes the WiFi signal strength is very high, even at full strength, but the device still experiences lag when watching videos or playing games; other times, the WiFi signal strength is not full, but the device is still smooth to use. Summary of the Invention

[0004] This application provides an exemplary embodiment of a display device and a WiFi signal prompting method to solve the technical problem that the display device cannot effectively determine the signal quality of the WiFi connection when connecting to WiFi, resulting in poor signal quality and failure to prompt the user, thus leading to a poor user experience and failing to meet the user's needs for using the display device.

[0005] The technical solutions provided in this application are as follows:

[0006] In a first aspect, embodiments of this application provide a display device, including:

[0007] monitor;

[0008] A controller connected to the display is configured to:

[0009] Obtain network connection information for broadcast;

[0010] When the network connection information is determined to be a WiFi connection, the number of erroneous data packets and / or the signal percentage time corresponding to the WiFi are read from the target node.

[0011] Based on the number of data packets and / or the signal percentage time, it is determined that the WiFi signal quality does not meet the preset signal quality conditions, and a signal quality prompt message is generated.

[0012] The signal quality warning information is displayed on the monitor.

[0013] In some embodiments, the controller is further configured to:

[0014] Write target parameters to the target node so that the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time are read at time intervals to obtain the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time within a preset time period.

[0015] The number of erroneous data packets, the average percentage of received signal time, the average percentage of waiting time, the average percentage of sent data time, and the average percentage of sent data time are calculated based on the total number of erroneous data packets, the average percentage of received signal time, the average percentage of waiting time, and the average percentage of sent data time.

[0016] The signal percentage time is calculated based on the average received signal time percentage, the average waiting time percentage, and the average transmitted data time percentage.

[0017] The number of error data packets and the signal percentage time are written to the target node.

[0018] In some embodiments, the controller is further configured to:

[0019] Receive data packets sent by the router;

[0020] The data packets are analyzed, and the total number of erroneous data packets is adjusted based on the analysis results.

[0021] In some embodiments, the controller is further configured to:

[0022] Obtain the operating frequency corresponding to the WiFi, and obtain the working time of the device matching the operating frequency to determine the proportion of the WiFi signal reception time;

[0023] Obtain the router corresponding to the WiFi, and determine the percentage of waiting time for the WiFi based on the working time of the devices on the router;

[0024] Obtain the data packet information sent by the display device, and determine the proportion of the WiFi data transmission time based on the data packet information.

[0025] In some embodiments, the controller, when determining a WiFi connection based on the network connection information, is specifically configured as follows:

[0026] The current network is determined to be in a connected state based on the network status information in the network connection information;

[0027] If the network type information in the network connection information is determined to be WiFi, then it is confirmed as a WiFi connection.

[0028] In some embodiments, the controller, when determining that the WiFi signal quality does not meet preset signal quality conditions based on the number of data packets and the signal percentage time, and generating a signal quality prompt message, is specifically configured as follows:

[0029] If the number of erroneous data packets is greater than a preset number threshold and the signal percentage time is greater than a preset time percentage threshold, it is determined that the WiFi signal quality does not meet the signal quality conditions.

[0030] In some embodiments, the controller is specifically configured to display the signal quality warning information on the display:

[0031] The signal quality information is displayed on the display as a pop-up window via the user interface thread to prompt the user to adjust the router location or change the WiFi connection.

[0032] Secondly, embodiments of this application provide a WiFi signal indication method, applied to a display device, the method comprising:

[0033] Obtain network connection information for broadcast;

[0034] When the network connection information is determined to be a WiFi connection, the number of erroneous data packets and / or the signal percentage time corresponding to the WiFi are read from the target node.

[0035] Based on the number of data packets and / or the signal percentage time, it is determined that the WiFi signal quality does not meet the preset signal quality conditions, and a signal quality prompt message is generated.

[0036] The signal quality warning information is displayed on the monitor.

[0037] In some embodiments, the method further includes:

[0038] Write target parameters to the target node so that the total number of erroneous data packets, the total signal reception time, the total waiting time, and the total data transmission time are read from the hardware register at time intervals within a preset time period.

[0039] The number of erroneous data packets, the average time of receiving signals, the average time of waiting, the average time of sending data, and the preset time period are calculated to obtain the number of erroneous data packets, the average time of receiving signals, the average time of waiting, and the average time of sending data.

[0040] The signal percentage time is determined based on the average time of receiving the signal, the average waiting time, and the average time of sending data.

[0041] The number of error data packets and the signal percentage time are written to the target node.

[0042] In some embodiments, the method further includes:

[0043] Receive data packets sent by the router;

[0044] The data packets are analyzed, and the total number of erroneous data packets is adjusted based on the analysis results.

[0045] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to, when executing the computer program, cause the electronic device to implement the WiFi signal prompting method described in the second aspect or any embodiment of the second aspect.

[0046] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a computing device, causes the computing device to implement the WiFi signal indication method described in the second aspect or any embodiment of the second aspect.

[0047] Fifthly, embodiments of this application provide a computer program product that, when run on a computer, enables the computer to implement the WiFi signal prompting method described in the second aspect or any embodiment of the second aspect.

[0048] As can be seen from the above technical solutions, the display device and WiFi signal prompting method provided in this application embodiment obtain broadcast network connection information, determine that it is a WiFi connection based on the network connection information, read the number of error data packets and / or signal percentage time corresponding to the WiFi from the target node, determine that the WiFi signal quality does not meet the preset signal quality conditions based on the number of data packets and / or signal percentage time, generate signal quality prompt information, and display the signal quality prompt information on the display. This application embodiment is used to solve the technical problem that the display device cannot effectively determine the signal quality of the connected WiFi, resulting in poor signal quality during WiFi connection without prompting the user, leading to a poor user experience and failing to meet the user's needs for using the display device. By using the number of data packets and / or signal percentage time, the WiFi signal quality can be effectively determined, and the poor signal quality during WiFi connection can be displayed on the display in real time to prompt the user, so that the user can adjust the router or WiFi connection method according to the prompt information, thereby meeting the user's needs and improving the user experience. Attached Figure Description

[0049] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0050] Figure 1 A scenario architecture diagram of a WiFi signal indication method in some embodiments is shown;

[0051] Figure 2 Hardware configuration block diagrams of the control device are shown in some embodiments;

[0052] Figure 3 A hardware configuration block diagram of a display device is shown in some embodiments;

[0053] Figure 4 A software configuration diagram of a display device in some embodiments is shown;

[0054] Figure 5 An example diagram of a display device system framework according to some embodiments is shown;

[0055] Figure 6 A flowchart of a WiFi signal indication method according to some embodiments is shown;

[0056] Figure 7 A flowchart of another WiFi signal indication method according to some embodiments is shown;

[0057] Figure 8 An example diagram of a WiFi signal quality parameter according to some embodiments is shown;

[0058] Figure 9 An example diagram of another WiFi signal quality parameter according to some embodiments is shown;

[0059] Figure 10 A flowchart of yet another WiFi signal indication method according to some embodiments is shown;

[0060] Figure 11 A schematic diagram of the information flow of a WiFi signal indication method in some embodiments is shown;

[0061] Figure 12 A scenario example diagram of a WiFi signal indication method according to some embodiments is shown;

[0062] Figure 13A scenario example diagram is shown, illustrating another WiFi signal indication method according to some embodiments;

[0063] Figure 14 Example diagrams showing signal quality prompts according to some embodiments are shown. Detailed Implementation

[0064] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0065] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0066] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0067] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is one specific embodiment of the display device of this application.

[0068] Figure 1 This is a schematic diagram illustrating the operational scenario between the display device and the control unit according to the embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control device 100.

[0069] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via wired means. Users can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, etc.

[0070] In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) may also be used to control the display device 200. For example, an application running on the smart device may be used to control the display device 200.

[0071] In some embodiments, the display device may receive instructions not through the aforementioned smart devices or control devices, but through touch or gestures.

[0072] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, it can be controlled by directly receiving the user's voice commands through a module configured inside the display device 200 for acquiring voice commands, or it can be controlled by receiving the user's voice commands through a voice control device set outside the display device 200.

[0073] In some embodiments, the display device 200 also communicates with the server 400. The display device 200 may communicate via a local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactive features to the display device 200. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers.

[0074] Figure 2 An exemplary block diagram of the configuration of the control device 100 according to an exemplary embodiment is shown. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input operation commands and convert the operation commands into commands that the display device 200 can recognize and respond to, thus acting as an intermediary for interaction between the user and the display device 200.

[0075] In some embodiments, the display device 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0076] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to an nth interface for input / output.

[0077] In some embodiments, the display 260 includes a display screen component for presenting an image, a driving component for driving image display, a component for receiving image signals from the controller output, and a user control UI interface for displaying video content, image content, menu control interface, and user control UI interface.

[0078] In some embodiments, the display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.

[0079] In some embodiments, the communicator 220 is a component used to communicate with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver. The display device 200 can establish the transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.

[0080] In some embodiments, the user interface can be used to receive control signals from the control device 100 (e.g., an infrared remote control).

[0081] In some embodiments, detector 230 is used to acquire signals from the external environment or to interact with the outside world. For example, detector 230 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.

[0082] In some embodiments, the external device interface 240 may include, but is not limited to, one or more interfaces such as: High Definition Multimedia Interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. It may also be a composite input / output interface formed by multiple interfaces mentioned above.

[0083] In some embodiments, the tuner 210 acquires broadcast television signals via wired or wireless reception and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals.

[0084] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0085] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations via various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command to select a UI object to display on the display 260, the controller 250 can perform operations related to the object selected by the user command.

[0086] In some embodiments, the object can be any of the optional objects, such as a hyperlink, an icon, or other operable controls. Operations related to the selected object include: displaying links to hyperlinked pages, documents, images, etc., or performing operations corresponding to the program associated with the icon.

[0087] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (random access memory), ROM (read-only memory), a first to an nth interface for input / output, a communication bus, etc.

[0088] Users can input commands through a graphical user interface (GUI) displayed on the monitor 260, and the user input interface receives the user input commands through the GUI. Alternatively, users can input commands by entering specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.

[0089] In some embodiments, a "user interface" is the medium through which an application or operating system interacts and exchanges information with a user, converting information between its internal form and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.

[0090] See Figure 4In some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Layer"), and the kernel layer.

[0091] In some embodiments, at least one application runs in the application layer. These applications may be Windows programs, system settings programs, or clock programs that come with the operating system; they may also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the examples above.

[0092] The framework layer provides application programming interfaces (APIs) and a programming framework for applications. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer. Through the API, applications can access system resources and obtain system services during execution.

[0093] like Figure 4 As shown, the application framework layer in this embodiment includes managers, content providers, etc., wherein the managers include at least one of the following modules: ActivityManager, which interacts with all activities running in the system; LocationManager, which provides access to system location services for system services or applications; PackageManager, which retrieves various information related to application packages currently installed on the device; NotificationManager, which controls the display and clearing of notification messages; and WindowManager, which manages icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0094] In some embodiments, the Activity Manager manages the lifecycle of individual applications and common navigation and back functions, such as controlling application exit, opening, and back actions. The Window Manager manages all window programs, such as obtaining the screen size, determining if a status bar is present, locking the screen, capturing the screen, and controlling display window changes (e.g., shrinking the display window, shaking the display, distorting the display, etc.).

[0095] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.

[0096] In some embodiments, the kernel layer is a layer between hardware and software. For example... Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver.

[0097] In some embodiments, see Figure 5 The system framework diagram for WiFi signal prompting in this application embodiment includes an application layer, a system layer, a kernel layer, a driver layer, and a kernel layer. Specifically, the user enters the WiFi list through the application layer's settings, selects the desired WiFi network, and then enters the password. The process involves the application layer calling the WiFi server (WiFiService) on the server side through the WiFi Manager on the system layer's client. After a series of function calls, the application layer calls supplicant (an application that manages WiFi) through HDIL (an interface description language used to specify the interface between the HAL (Hardware Abstraction Layer) and other users). This allows the kernel layer to be notified to call the driver layer through Netlink (an interface for low-level communication that can be used to implement WiFi network communication functions), ultimately connecting to WiFi through the WiFi firmware.

[0098] After successfully connecting to WiFi, through Figure 5 The ConnectivityService (network management service) at the system layer determines the WiFi signal quality. Specifically, it can communicate directly with the kernel layer through the node at the kernel layer, which in turn notifies the driver layer. Finally, the driver layer retrieves the parameters for evaluating the WiFi signal quality from the registers of the WiFi module and writes them to the node. Thus, the ConnectivityService at the system layer can obtain the parameters for evaluating the WiFi signal quality from the node and determine the WiFi signal quality. When the WiFi signal quality is low, a prompt message will pop up to notify the user.

[0099] In related technologies, the native WiFi scoring mechanism of the Android system includes: adding points for WiFi signal strength if it is a 5G frequency band; adding points for WiFi signal strength if it is a previously connected WiFi network; adding points for WiFi signal strength if it is a currently connected WiFi network; adding points for WiFi signal strength if roaming is supported; and adding points for WiFi signal strength if the WiFi network is not an open network, etc., thereby determining the final WiFi signal strength.

[0100] In practical applications, user evaluation of WiFi functionality depends on their subjective experience while using WiFi. For example, a user might consider a full WiFi signal strength as a good sign, and if video playback or gaming is choppy even with a full signal, they would usually attribute it to the display device. However, some WiFi signals may be full but still experience choppy playback, while others with weaker signals may be smoother. Therefore, directly determining WiFi quality based on signal strength is not an accurate method.

[0101] It's understandable that the network environment of a display device is constantly changing. For example, a change in the router's location can affect WiFi signal reception. Similarly, an increase in the number of devices connected to the same router can also affect the quality of the WiFi signal received by the display device. Furthermore, other devices operating on the same frequency as the router can interfere with the display device's WiFi signal; for instance, microwave ovens operate at 2.4GHz, and remote control switches for lights can also affect WiFi signal quality. Therefore, WiFi signal quality can be accurately assessed based on the number of error data packets and / or the signal percentage over time. If the WiFi signal quality is low when the display device is connected, a prompt message can be displayed to alert the user, allowing them to adjust the router's location or switch to another WiFi connection. By providing more WiFi signal quality feedback, the user's network experience can be improved.

[0102] The WiFi signal prompting process in this embodiment will be described in detail below.

[0103] Figure 6 A flowchart of a WiFi signal indication method according to some embodiments is shown. An embodiment of this application provides a display device in which a controller is configured to perform... Figure 6 The WiFi signal indication method includes:

[0104] Step 601: Obtain the network connection information broadcast.

[0105] Step 602: When the network connection information indicates a WiFi connection, read the number of error data packets and / or signal percentage time corresponding to the WiFi from the target node.

[0106] In this embodiment, the network management service at the system layer broadcasts network connection information to the application layer. The network connection information includes network connection status, network connection type, and other information.

[0107] In this embodiment of the application, broadcast network connection information can be obtained, and the current network status information in the network connection information can be used to determine whether the current network is connected or disconnected. If the current network is determined to be connected, the type of network connection can be further determined based on the network type information in the network connection information, such as WiFi connection, wired network connection, etc.

[0108] In this embodiment of the application, when the network connection information determines that it is a WiFi connection, the number of erroneous data packets and / or the signal percentage time corresponding to the WiFi are read from the target node.

[0109] In this embodiment, the network management service at the system layer can start a sub-thread to read the number of error data packets and / or signal percentage time corresponding to the WiFi from the target node at the kernel layer, for example, by reading the number of error data packets and signal percentage time corresponding to the WiFi identifier.

[0110] In this embodiment, the router signal received by the WiFi module of the display device is a complete data packet, such as an 80211 packet. However, when the network environment is complex, the data packet may be interfered with, resulting in data corruption. The number of erroneous data packets refers to the number of erroneous data packets received by the WiFi module from the router. This number of erroneous data packets can be the total number of erroneous data packets within a certain period of time or the average number of erroneous data packets within a certain period of time, depending on the application scenario. In this embodiment, the average number of data packets within a certain period of time can be obtained for subsequent judgment, thereby improving the judgment accuracy.

[0111] In this embodiment of the application, the signal percentage time refers to the proportion of time that the WiFi signal is occupied within a certain period of time. For example, if the WiFi signal reception time is 500 milliseconds within one second, the WiFi signal reception time percentage is 50%; if the WiFi waiting time is 100 milliseconds, the WiFi signal reception time percentage is 10%; and if the WiFi data transmission time is 100 milliseconds, the WiFi signal reception time percentage is 10%. Thus, the WiFi signal occupied time percentage is determined to be 70%, that is, the WiFi signal percentage time is 70%.

[0112] It should be noted that the signal percentage time can be determined by one or more of the following: the percentage of received signal time, the percentage of waiting time, and the percentage of transmitted data time. In one possible implementation, multiple percentages of received signal time, multiple percentages of waiting time, and multiple percentages of transmitted data time over a certain period are averaged and then summed to determine the signal percentage time. In another possible implementation, different weighting coefficients can be assigned to the percentages of received signal time, waiting time, and transmitted data time based on the degree of impact on the actual application. After obtaining these percentages, they are weighted and summed according to their respective weighting coefficients to determine the signal percentage time. The above are just examples; specific settings should be selected according to the needs.

[0113] Step 603: Based on the number of data packets and / or the signal percentage time, determine that the WiFi signal quality does not meet the preset signal quality conditions, and generate a signal quality prompt message.

[0114] Step 604: Display signal quality information on the monitor.

[0115] In this embodiment, the signal quality of WiFi can be determined to be unsatisfactory based on the number of data packets and / or the signal percentage time. For example, if the number of erroneous data packets exceeds a preset threshold and the signal percentage time exceeds a preset time percentage threshold, the WiFi signal quality is determined to be unsatisfactory. Similarly, if the number of erroneous data packets exceeds a preset threshold, or if the signal percentage time exceeds a preset time percentage threshold, the WiFi signal quality is determined to be unsatisfactory.

[0116] In this embodiment, the WiFi signal quality is determined to be unsatisfactory based on both the number of data packets and the signal percentage time. Specifically, if the number of erroneous data packets exceeds a preset threshold and the signal percentage time exceeds a preset time percentage threshold, the WiFi signal quality is determined to be unsatisfactory. This further ensures the accuracy of the WiFi signal quality judgment, thereby providing accurate prompts and meeting user needs.

[0117] In this embodiment, when the WiFi signal quality does not meet the preset signal quality conditions, a prompt message needs to be generated to alert the user. Specifically, the signal quality prompt message is generated based on the number of data packet errors and / or the proportions of each time segment within the signal percentage time, and a preset proportion threshold. For example, if the number of data packet errors is relatively large, a prompt message is generated to prompt the user to move the router. Alternatively, if the analysis of the specific time segments within the signal percentage time determines that the current WiFi connection cannot guarantee the user's needs, i.e., the specific time segments within the signal percentage time do not meet the preset time segments, a prompt message is generated to prompt the user to change the WiFi connection, thereby further meeting the user's needs.

[0118] In the embodiments of this application, after generating signal quality prompt information, the signal quality prompt information is displayed on the display. In one specific embodiment, the signal quality prompt information is displayed on the display in the form of a pop-up window through the user interface thread to prompt the user to adjust the router position or change the WiFi connection. Alternatively, the specific content of the signal quality prompt information can be read aloud by voice while displaying the signal quality prompt information according to the user's needs.

[0119] In the above example, the WiFi signal quality can be effectively judged by the number of data packets and / or the signal percentage over time. Furthermore, if the signal quality is poor during WiFi connection, it can be displayed on the screen in real time to alert the user. This allows the user to adjust the router or WiFi connection method based on the information provided, thereby meeting the user's needs and improving the user experience.

[0120] Figure 7 A flowchart of another WiFi signal indication method according to some embodiments is shown. This embodiment further optimizes the above-described WiFi signal indication method based on the embodiments described above. Figure 7 As shown, the method also includes:

[0121] In some embodiments of this application, target parameters are written to the target node to read the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time at time intervals, so as to obtain the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time within a preset time period.

[0122] In some embodiments of this application, the number of erroneous data packets, the average percentage of signal reception time, the average percentage of waiting time, the average percentage of data transmission time, and the average percentage of data transmission time are calculated based on the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, the percentage of total data transmission time, and the number of reads.

[0123] In some embodiments of this application, the signal percentage time is calculated based on the average time percentage of received signal, the average time percentage of waiting, and the average time percentage of transmitted data. The number of erroneous data packets and the signal percentage time are then written to the target node.

[0124] In the embodiments of this application, the network management service at the system layer can write target parameters to the target node at the kernel layer. Different target parameters result in different operations executed by the kernel layer.

[0125] In the embodiments of this application, after writing target parameters such as "radio_measure=1" to the target node, the kernel layer notifies the driver layer to start a timer to read one or more of the WiFi quality parameters in the hardware register at preset time intervals, such as 100ms. These parameters include the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time. This allows the acquisition of the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time within a preset time period.

[0126] The total number of erroneous data packets can be understood as the total number of all data packets counted within a preset time period. In some embodiments of this application, the data packets sent by the receiving router are analyzed, and the total number of erroneous data packets is adjusted based on the analysis results.

[0127] Specifically, under normal circumstances, the WiFi module of the display device receives complete data packets from the router, specifically 80211 packets. However, in complex network environments, these 80211 packets can be interfered with, leading to data corruption. For example, ... Figure 8 As shown, if an 80211 packet is interfered with, it will become a bad 80211 packet. If a bad 80211 packet is detected, the total number of erroneous data packets is incremented by one to obtain the total number of erroneous data packets.

[0128] The signal reception time can be understood as the time it takes for WiFi to receive a signal. In some embodiments of this application, the operating frequency corresponding to the WiFi is obtained, and the operating time of the device matching the operating frequency is obtained to determine the proportion of WiFi signal reception time.

[0129] Specifically, the percentage of time a signal is received indicates the percentage of time a signal (energy) is detected per unit of time. This includes signals emitted by all devices at the same frequency. Because after connecting to WiFi, the display device's WiFi operates on a specific channel. If other nearby devices operate at frequencies close to the WiFi frequency, they will be affected. For example, microwave ovens operate at 2.4GHz, and remote control switches for lights operate at frequencies similar to WiFi. Therefore, by determining the operating time of other devices matching the operating frequency, we can determine the time the signal is occupied, thus obtaining the percentage of time a signal is detected per unit of time. For example, if other devices matching the operating frequency operate for 500 milliseconds per second, the percentage of time a signal is received is 50%.

[0130] The waiting time percentage can be understood as the percentage of time spent waiting for a WiFi signal per unit of time. In some embodiments of this application, the router corresponding to the WiFi is obtained, and the WiFi waiting time percentage is determined based on the working time of the devices on the router.

[0131] Specifically, the waiting time reflects the number of devices currently connected to the router. Since devices connected to the same router occupy the same channel, i.e., the same resource, negotiation is required to determine which device uses the router at what time. For example, if a mobile phone and a TV connect to the same router within one second, and the mobile phone needs to occupy the 100µs channel, then the TV can only wait for 100µs, i.e., the waiting time is 100µs, thus the waiting time percentage is calculated as 10%.

[0132] The data transmission time can be understood as the percentage of WiFi data transmission time per unit time. In some embodiments of this application, the data transmission data information of the display device is obtained, and the WiFi data transmission time is determined based on the data transmission data information.

[0133] Specifically, the data packets sent out by the display device will also affect the time it takes to receive WiFi signals. This is because the hardware can only receive or send at any given time. Therefore, the proportion of WiFi data transmission time can be determined based on the data packet transmission time and other data packet transmission information of the display device.

[0134] For example, such as Figure 9As shown, the 2.4G microwave oven and other 2.4G devices will send signals, that is, send data packets on the same channel as WiFi. The mobile phone occupies the router channel, and WiFi enters a waiting time. The waiting time percentage can be obtained. In addition, combined with the data packet time of the display device, the data transmission time percentage can be obtained. Thus, the average of multiple signal reception time percentages, multiple waiting time percentages, and multiple data transmission time percentages within a certain period of time can be obtained to obtain the average signal reception time percentage, average waiting time percentage, and average data transmission time percentage. Based on the sum of the average signal reception time percentage, average waiting time percentage, and average data transmission time percentage, the signal percentage time can be determined and stored in the target node.

[0135] In the embodiments of this application, it can be understood that within a preset time period, such as 1 second, WiFi quality parameters, such as the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time, are read from the register of the hardware layer at preset time intervals, such as 100us. For example, after 10 reads, the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time are averaged and calculated to obtain the sum of the number of erroneous data packets, the average percentage of signal reception time, the average percentage of waiting time, and the average percentage of data transmission time, which is then stored in the target node.

[0136] In the example above, by repeatedly reading the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time at certain time intervals, and then averaging these data, the number of erroneous data packets and the percentage of signal transmission time are obtained and written to the target node. This ensures the accuracy of subsequent signal quality judgment based on the number of erroneous data packets and / or the percentage of signal transmission time read from the target node, effectively judging WiFi signal quality and improving the user experience of display devices.

[0137] Figure 10 A flowchart of yet another WiFi signal indication method according to some embodiments is shown. This embodiment further optimizes the above-described WiFi signal indication method based on the previous embodiments. Figure 10 As shown, the method includes:

[0138] Step 1001: Obtain the broadcast network connection information, determine that the current network is connected based on the network status information in the network connection information, and determine that it is WiFi based on the network type information in the network connection information, then confirm that it is a WiFi connection.

[0139] Step 1002: Write target parameters to the target node, obtain the number of error data packets and the signal percentage time, and store them in the target node.

[0140] Step 1003: Read the number of error data packets and the signal percentage time corresponding to the WiFi from the target node.

[0141] Step 1004: If the number of erroneous data packets is greater than a preset number threshold and the signal percentage time is greater than a preset time percentage threshold, determine that the WiFi signal quality does not meet the signal quality conditions.

[0142] Step 1005: Generate signal quality prompt information and display the signal quality prompt information on the display in the form of a pop-up window through the user interface thread to prompt the user to adjust the router position or change the WiFi connection.

[0143] Specifically, during WiFi connection, the system-level network management service writes target parameters to the target node, so that the kernel layer notifies the driver layer to start a timer, such as reading the hardware register every 100ms. The driver layer calculates the average value within a preset time period, such as 1 second, and writes the number of error data packets and the signal percentage time to the target node.

[0144] Specifically, the network management service starts a sub-thread to read the target node. If the number of erroneous data packets exceeds the number threshold and the signal percentage time exceeds the preset time percentage threshold, it indicates that the quality of the currently connected WiFi signal is not high. At this time, the network management service pops up a signal quality prompt in the user interface thread so that the user can perceive the WiFi signal quality. The number threshold and the time percentage threshold are selected and set according to the application and application scenario.

[0145] This allows for effective assessment of the quality of the currently connected WiFi signal, promptly prompting users to adjust their router settings or switch to another WiFi connection, thus enhancing the user's network experience and contributing to improved WiFi stability.

[0146] Reference Figure 11 As shown, Figure 11 For implementation Figure 10 A schematic diagram of the display device for illustrating the WiFi signal indication method. Used to implement... Figure 10The display device for the WiFi signal indication method shown may include: an acquisition module 1101, a determination module 1102, a first reading module 1103, a writing module 1104, a judgment module 1105, a generation module 1106, and a display module 1107. Specifically, the acquisition module 1101 is used to acquire broadcast network connection information; the determination module 1102 is used to determine that the current network is connected based on the network status information in the network connection information, and if it is determined to be WiFi based on the network type information in the network connection information, then it is confirmed as a WiFi connection; the first reading module 1103 is used to write target parameters to the target node and acquire signal quality parameters such as the number of erroneous data packets and the signal percentage time; the writing module 1104 is used to store the number of erroneous data packets and the signal percentage time in the target node; the second reading module 1105 is used to read the number of erroneous data packets and the signal percentage time corresponding to WiFi from the target node. The time percentage is determined by the following modules: 1106, which determines whether the number of erroneous data packets exceeds a preset threshold; if the number of erroneous data packets exceeds the preset threshold, 1106 also determines whether the signal percentage time exceeds a preset time percentage threshold; if the signal percentage time exceeds the preset time percentage threshold, it is determined that the WiFi signal quality does not meet the signal quality conditions; 1107, which generates signal quality prompt information; and 1108, which displays the signal quality prompt information on the display in the form of a pop-up window through the user interface thread to prompt the user to adjust the router location or change the WiFi connection.

[0147] As an example of a scenario, such as Figure 12 As shown, at the system layer, after the network management service executes step 12.1 (user connects to WiFi) and then executes step 12.2 (connection success broadcast), it jumps to the quality detection module. Based on the successful WiFi connection broadcast, it executes step 12.3 (WiFi signal quality detection) and jumps to the driver layer to execute step 12.4 (acquiring register values), obtaining signal quality parameters such as the number of erroneous data packets, the percentage of received signal time, the percentage of waiting time, and the percentage of transmitted data time. Then, it executes step 12.5 (calculating and recording the results on the node), calculating the number of erroneous data packets and the percentage of signal time, and writing these values ​​to the node. It then jumps to the quality detection module, executes step 12.6 (reading signal quality parameters from the node), executes step 12.7 (judging the current signal quality), and jumps to the system layer to execute step 12.8 (displaying a pop-up window with signal quality information to the user).

[0148] Specifically, after a user connects to WiFi, the system service broadcasts a successful connection. At this broadcast point, a quality detection module enables WiFi signal quality detection. Upon receiving the notification, the driver layer collects register values, performs calculations, and records the results to the node. The quality detection module reads quality parameters from the node, such as the number of erroneous data packets "falseCCAcount" and the signal duration "Busytime," to determine the current signal quality. If the quality is low, the system service displays a toast notification to inform the user.

[0149] For example, such as Figure 13 As shown, after a successful WiFi connection, the ConnectivityService (network management service) broadcasts a message to the application layer to inform it that the network connection has been successfully established. Step 13.1 determines the connection status by checking the value corresponding to the "state" parameter. For example, a value of "connected" indicates a connected network, while "disconnected" indicates a disconnected network. Then, step 13.2 determines the connection type by checking the "type" parameter, which indicates whether it is a WiFi connection or a wired connection.

[0150] If it's a WiFi connection, the signal quality assessment begins. The network management service executes step 13.3, writing "radio_measure=1" to the node " / proc / net / wlan / driver" to notify the kernel layer. The kernel layer notifies the driver layer, executing step 13.4. The driver layer starts a timer, for example, reading the hardware register every 100ms. Step 13.5. The driver layer calculates the average value over a 1-second time period and writes the number of erroneous data packets "falseccacount" and the signal percentage time "Busytime" to the node " / proc / net / wlan / driver". Step 13.6. The ConnectivityService starts a sub-thread to read the node. Step 13.7 checks if the "falseccacount" noise level is greater than 1000. Step 13.8 checks if the "Busytime" busy percentage is greater than 50%, indicating that the current WiFi signal quality is low. In this case, step 13.9. The ConnectivityService displays a toast message on the UI (User Interface) thread, allowing the user to perceive the router's signal quality.

[0151] For example, such as Figure 14As shown, when low WiFi quality is detected, a message will appear saying "The current WiFi signal quality is low. Please adjust the router position or connect to another WiFi network!!!" If the user follows the prompts, the stability of WiFi usage will be improved.

[0152] Therefore, if the WiFi signal quality is poor during a WiFi connection, the system can prompt the user to adjust the router's location or switch to another WiFi connection, thus improving the user's network experience.

[0153] In some embodiments, this application also provides an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to cause the electronic device to implement the WiFi signal prompting method described in any of the above embodiments when executing the computer program.

[0154] In some embodiments, this application provides a computer-readable storage medium storing a computer program that, when executed by a computing device, causes the computing device to implement the WiFi signal indication method described in any of the above embodiments.

[0155] In some embodiments, this application provides a computer program product that, when run on a computer, enables the computer to implement the WiFi signal prompting method described in the second aspect or any embodiment of the second aspect.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0157] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that, include: monitor; A controller connected to the display is configured to: Obtain network connection information for broadcast; When a WiFi connection is determined based on the network connection information, the number of error data packets and the signal percentage time corresponding to the WiFi are read from the target node. Based on the number of data packets and the signal percentage time, it is determined that the WiFi signal quality does not meet the preset signal quality conditions, and a signal quality prompt message is generated. The signal quality warning information is displayed on the display. The controller is also configured to: Write target parameters to the target node so that the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time are read at time intervals to obtain the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time within a preset time period. The number of erroneous data packets, the average percentage of received signal time, the average percentage of waiting time, the average percentage of sent data time, and the average percentage of sent data time are calculated based on the total number of erroneous data packets, the average percentage of received signal time, the average percentage of waiting time, and the average percentage of sent data time. The signal percentage time is calculated based on the average received signal time percentage, the average waiting time percentage, and the average transmitted data time percentage. Write the number of error data packets and the signal percentage time to the target node; The controller is also configured to: The operating frequency corresponding to the WiFi is obtained, and the operating time of devices matching the operating frequency is obtained to determine the percentage of time the WiFi receives signals; wherein, the percentage of time the signal receives signals is the percentage of time that all other devices with the same operating frequency are detected per unit time. Obtain the router corresponding to the WiFi, and determine the waiting time percentage of the WiFi based on the working time of the devices on the router; wherein, the waiting time percentage is the percentage of the working time of other devices on the router per unit time. Obtain the data packet transmission information of the display device, and determine the percentage of data transmission time of the WiFi based on the data packet transmission information; wherein, the percentage of data transmission time is the percentage of time the display device spends transmitting data packets outward per unit time.

2. The display device according to claim 1, characterized in that, The controller is also configured to: Receive data packets sent by the router; The data packets are analyzed, and the total number of erroneous data packets is adjusted based on the analysis results.

3. The display device according to claim 1, characterized in that, The controller, when determining a WiFi connection based on the network connection information, is specifically configured as follows: The current network is determined to be in a connected state based on the network status information in the network connection information; If the network type information in the network connection information is determined to be WiFi, then it is confirmed as a WiFi connection.

4. The display device according to claim 1, characterized in that, The controller, when determining that the WiFi signal quality does not meet preset signal quality conditions based on the number of data packets and the signal percentage time, generates a signal quality prompt message, which is specifically configured as follows: If the number of erroneous data packets is greater than a preset number threshold and the signal percentage time is greater than a preset time percentage threshold, it is determined that the WiFi signal quality does not meet the signal quality conditions.

5. The display device according to claim 4, characterized in that, The controller is specifically configured to display the signal quality warning information on the display: The signal quality information is displayed on the display as a pop-up window via the user interface thread to prompt the user to adjust the router location or change the WiFi connection.

6. A method for indicating WiFi signal strength, characterized in that, include: Obtain network connection information for broadcast; When a WiFi connection is determined based on the network connection information, the number of error data packets and the signal percentage time corresponding to the WiFi are read from the target node. Based on the number of data packets and the signal percentage time, it is determined that the WiFi signal quality does not meet the preset signal quality conditions, and a signal quality prompt message is generated. The signal quality warning information is displayed on the monitor. Wherein, when determining a WiFi connection based on the network connection information, reading the number of erroneous data packets and the signal percentage time corresponding to the WiFi from the target node includes: Write target parameters to the target node so that the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time are read at time intervals to obtain the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time within a preset time period. The number of erroneous data packets, the average percentage of received signal time, the average percentage of waiting time, the average percentage of sent data time, and the average percentage of sent data time are calculated based on the total number of erroneous data packets, the average percentage of received signal time, the average percentage of waiting time, and the average percentage of sent data time. The signal percentage time is calculated based on the average received signal time percentage, the average waiting time percentage, and the average transmitted data time percentage. Write the number of error data packets and the signal percentage time to the target node; The step of writing target parameters to the target node to read the number of erroneous data packets, the percentage of signal reception time, the percentage of waiting time, and the percentage of data transmission time at time intervals to obtain the total number of erroneous data packets, the percentage of total signal reception time, the percentage of total waiting time, and the percentage of total data transmission time within a preset time period includes: obtaining the operating frequency corresponding to the WiFi, obtaining the operating time of devices matching the operating frequency to determine the percentage of signal reception time of the WiFi; wherein, the percentage of signal reception time is the percentage of the operating time of all other devices with the same operating frequency detected per unit time; Obtain the router corresponding to the WiFi, and determine the waiting time percentage of the WiFi based on the working time of the devices on the router; wherein, the waiting time percentage is the percentage of the working time of other devices on the router per unit time. Obtain the data packet transmission information of the display device, and determine the percentage of data transmission time of the WiFi based on the data packet transmission information; wherein, the percentage of data transmission time is the percentage of time the display device spends transmitting data packets outward per unit time.

7. The WiFi signal indication method according to claim 6, characterized in that, The method further includes: Receive data packets sent by the router; The data packets are analyzed, and the total number of erroneous data packets is adjusted based on the analysis results.

Citation Information

Patent Citations

  • WiFi hotspot connection guiding method for terminal, equipment and medium

    CN108076464A

  • Method for realizing business processing of POS terminal, POS terminal and server

    CN114627599A