Display device and visible light communication method
By adopting variable refresh rate technology in display devices, dynamically adjusting the refresh rate and realizing visible light communication, the problem of single communication scenarios in traditional display panels is solved, broadening the communication scenarios and enhancing the application scenarios.
Patent Information
- Application Number
- CN202411186304.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-20
AI Technical Summary
Traditional display panels need to rely on the network for communication, and the communication scenarios are relatively single, and it is impossible to realize diversified communication methods that do not rely on the network.
By using variable refresh rate technology in the display device, the refresh rate of the display screen is dynamically adjusted and information is stored in the flickering frequency, and visible light communication is achieved without relying on the network.
The communication scenarios of display devices have been broadened, a new Internet of Things communication method is provided without relying on the network, and the application scenarios and functions of the display screen have been enhanced.
Smart Images

Figure CN119172596A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a display device and a visible light communication method. Background Art
[0002] Display panel, also known as flat panel display, is a component that uses optoelectronic technology to present images. According to current technology, display panels can be roughly divided into emissive display and non-emissive display. Emissive display includes organic light-emitting diode display (Organic Light-Emitting Diode, OLED), plasma display (Plasma Display Panel, PDP), etc. Among them, OLED can be divided into active matrix (Active-Matrix OLED, AMOLED) and passive matrix (Passive matrix OLED, PMOLED) according to different matrices. Non-emissive display is mainly liquid crystal display (Liquid Crystal Display, LCD), and the most important technology in LCD is thin film transistor liquid crystal display (Thin Film Transistor Liquid Crystal Display, TFT-LCD).
[0003] Although traditional display panels may differ in display mode, panel size, panel type, etc., display panels are mainly used for information display and need to rely on the network for communication, and the communication scenarios are relatively simple. Summary of the invention
[0004] The present invention provides a display device and a visible light communication method, which are used to provide a communication method that does not rely on a network and broaden the communication scenarios of the display device.
[0005] In a first aspect, an embodiment of the present invention provides a display device, including a display screen and a controller, wherein:
[0006] The display screen is configured to display content;
[0007] The controller includes a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read and execute the program in the memory, and is configured to perform the following steps:
[0008] Determine the current refresh rate of the display;
[0009] Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate;
[0010] The coded data is determined according to the adjusted refresh rate, and is displayed according to the adjusted refresh rate, so that the coded data is transmitted in a manner of being displayed at the adjusted refresh rate.
[0011] As an optional implementation, the processor is specifically configured to execute:
[0012] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0013] As an optional implementation, the processor is specifically configured to execute:
[0014] The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
[0015] As an optional implementation, the processor is specifically configured to execute:
[0016] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0017] As an optional implementation, the processor is further configured to execute:
[0018] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0019] As an optional implementation, the processor is specifically configured to execute:
[0020] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0021] As an optional implementation, the processor is further configured to execute:
[0022] During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed;
[0023] The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
[0024] As an optional implementation, the processor is specifically configured to execute:
[0025] During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once;
[0026] When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
[0027] In a second aspect, an embodiment of the present invention provides a visible light communication method, including:
[0028] Determine the current refresh rate of the display;
[0029] Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate;
[0030] The coded data is determined according to the adjusted refresh rate, and is displayed according to the adjusted refresh rate, so that the coded data is transmitted in a manner of being displayed at the adjusted refresh rate.
[0031] As an optional implementation manner, the adjusting the current refresh rate based on the current refresh rate as a reference refresh rate includes:
[0032] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0033] As an optional implementation manner, determining the coded data according to the adjusted refresh rate includes:
[0034] The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
[0035] As an optional implementation manner, adjusting the current refresh rate based on the current refresh rate as a reference refresh rate includes:
[0036] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0037] As an optional implementation, the method further includes:
[0038] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0039] As an optional implementation manner, determining the current refresh rate of the display screen includes:
[0040] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0041] As an optional implementation, the method further includes:
[0042] During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed;
[0043] The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
[0044] As an optional implementation, performing switching of image compensation data during a vertical blank period of a first frame of image displayed at a current refresh rate includes:
[0045] During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once;
[0046] When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
[0047] In a third aspect, an embodiment of the present invention further provides a visible light communication device, the device comprising:
[0048] A refresh rate determination module is used to determine the current refresh rate of the display screen;
[0049] A refresh rate adjustment module, used to adjust the current refresh rate with the current refresh rate as a reference refresh rate, so that the adjusted refresh rate floats above and below the reference refresh rate;
[0050] The coding transmission module is used to determine the coding data according to the adjusted refresh rate, and display it according to the adjusted refresh rate, so as to transmit the coding data in a manner of displaying it at the adjusted refresh rate.
[0051] As an optional implementation manner, the refresh rate adjustment module is specifically used to:
[0052] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0053] As an optional implementation manner, the encoding transmission module is specifically used for:
[0054] The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
[0055] As an optional implementation manner, the refresh rate adjustment module is specifically used to:
[0056] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0057] As an optional implementation manner, the refresh rate adjustment module is further configured to:
[0058] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0059] As an optional implementation manner, the refresh rate determination module is specifically used for:
[0060] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0061] As an optional implementation, the device further includes an image compensation module, specifically configured to:
[0062] During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed;
[0063] The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
[0064] As an optional implementation manner, the image compensation module is specifically used for:
[0065] During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once;
[0066] When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
[0067] In a fourth aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and perform the following steps:
[0068] Determine the current refresh rate of the display;
[0069] Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate;
[0070] The coded data is determined according to the adjusted refresh rate, and is displayed according to the adjusted refresh rate, so that the coded data is transmitted in a manner of being displayed at the adjusted refresh rate.
[0071] In a fifth aspect, an embodiment of the present invention further provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, it is used to implement the steps of any one of the methods described in the second aspect above.
[0072] In a sixth aspect, the present application provides a computer program product, comprising: a computer program code, when the computer program code is run on a computer, the computer executes any one of the methods described in the second aspect.
[0073] These and other aspects of the present application will be more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0075] Figure 1 A schematic diagram of a display device provided by an embodiment of the present invention;
[0076] Figure 2 A refresh rate switching process architecture diagram of a VRR technology provided by an embodiment of the present invention;
[0077] Figure 3 A schematic diagram of the offset change of the Gamma value when switching between different refresh rates provided by an embodiment of the present invention;
[0078] Figure 4 A schematic diagram of a PQ-Table at a refresh rate provided by an embodiment of the present invention;
[0079] Figure 5 A schematic diagram of an image compensation process provided by an embodiment of the present invention;
[0080] Figure 6 A timing diagram of current image compensation data switching provided by an embodiment of the present invention;
[0081] Figure 7 A timing diagram of image compensation data switching provided by an embodiment of the present invention;
[0082] Figure 8 A schematic diagram of a return-to-zero code provided by an embodiment of the present invention;
[0083] Fig. 9 A schematic diagram of data transmission based on VRR technology provided by an embodiment of the present invention;
[0084] Fig.10 A schematic diagram of a data packet format of encoded data provided by an embodiment of the present invention;
[0085] Fig.11 A schematic diagram of a scenario for performing visible light communication based on VRR technology provided by an embodiment of the present invention;
[0086] Fig.12 A schematic diagram of a visible light communication architecture provided by an embodiment of the present invention;
[0087] Fig.13 A flowchart of a method for implementing visible light communication based on VRR technology provided by an embodiment of the present invention;
[0088] Fig.14 A schematic diagram of an optical communication architecture provided by an embodiment of the present invention;
[0089] Fig.15 A flowchart of a visible light communication method implementation provided by an embodiment of the present invention;
[0090] Fig.16 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0091] Fig.17 A schematic diagram of the structure of a visible light communication device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0092] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0093] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0094] The application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0095] Before introducing the display device and visible light communication method provided in the embodiments of the present application, in order to facilitate understanding, the technical background of the embodiments of the present application is first introduced in detail below.
[0096] Display panel, also known as flat panel display, is a component that uses optoelectronic technology to present images. According to current technology, display panels can be roughly divided into emissive display and non-emissive display. Emissive display includes organic light-emitting diode display (OLED), plasma display (PDP), etc. Among them, OLED can be divided into active matrix (AMOLED) and passive matrix (PMOLED) according to different matrices. Non-emissive display is mainly liquid crystal display (LCD), and the most important technology in LCD is thin film transistor liquid crystal display (TFT-LCD). Although traditional display panels may differ in display mode, panel size, panel type, etc., display panels are mainly used for information display and need to rely on the network for communication, and the communication scenario is relatively single.
[0097] Visible Light Communication (VLC) is a wireless communication technology that uses light in the visible light band as an information carrier. It achieves information transmission by converting optical signals into electrical signals. It is a communication technology that uses light and dark flashing signals emitted by objects such as fluorescent lamps or light-emitting diodes (LEDs) to achieve information transmission. The working principle of VLC technology mainly involves modulating electrical signals onto optical signals, emitting them through light-emitting devices (such as LEDs), then receiving these optical signals through photosensitive elements and converting them back into electrical signals, and finally demodulating and processing them. When using ordinary fluorescent lamps, its transmission capacity is 10kbit / s; when using LED lamps, it can reach 500Mbit / s. Visible light communication technology can be applied to the fields of light-based Internet access, visible light on-demand TV services, new visible light wireless broadcasting, and visible light precise positioning.
[0098] Variable Refresh Rate (VRR) is a display technology that allows the refresh rate of the display to be adjusted dynamically to match the frame rate output by the graphics card. It is a technology that dynamically adjusts the refresh rate according to the display content. It has been widely used in TV (television), MNT (Monitor), mobile terminals and other devices, especially in the field of e-sports. VRR can significantly improve the viewing experience from games to movies to web browsing. For example, when using high refresh rates in high-refresh applications such as games to improve user experience, the refresh rate is reduced when switching back to static images such as web pages to achieve energy saving and reduce temperature rise.
[0099] This embodiment is based on the variable refresh rate technology of the display screen, actively changes the refresh rate, thereby changing the flickering frequency of the panel, and then stores the information in the flickering frequency and transmits it to the receiving device of the visible light communication. This embodiment applies visible light communication to the display screen, so that the display screen can not only provide screen information to the user, but also send information to surrounding smart devices (such as remote controls, smart phones, smart homes) through visible light communication. It expands the application scenarios of the display screen and provides a new IoT (Internet of Things) communication method for display devices that does not rely on the network.
[0100] like Figure 1 As shown, this embodiment provides a display device, including a display screen 100 and a controller 101, wherein:
[0101] The display screen 100 is configured to display content;
[0102] The controller 101 includes a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read and execute the program in the memory, and is configured to perform the following steps:
[0103] Step a) determining the current refresh rate of the display screen;
[0104] Optionally, if the refresh rate of the display screen is fixed, the refresh rate of the display screen at any time after stable display can be obtained, and the obtained refresh rate can be used as the current refresh rate of the display screen. Among them, whether the display screen is in a stable display state can be determined by the power-on time of the display screen. For example, when the display screen is powered on for 2 seconds, it is considered that the current display screen is in a stable display state, and the refresh rate at this time is used as the current refresh rate of the display screen.
[0105] In some embodiments, the processor is specifically configured to perform:
[0106] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0107] Optionally, if the display screen switches between different refresh rates based on variable refresh rate VRR technology, it is necessary to collect the refresh rate of the current display screen within a refresh cycle as the current refresh rate of the display screen within the refresh cycle. The refresh rates corresponding to different refresh cycles are different. When the display screen refreshes and displays based on VRR technology, the refresh rate of the display screen can be actively switched, and the refresh rate after each switch can be maintained for a period of time, which is regarded as the refresh cycle corresponding to the refresh rate. The display screen will refresh and display according to the corresponding refresh rate within the refresh cycle. After the refresh rate is switched, the display screen will refresh and display according to the switched refresh rate within the next refresh cycle.
[0108] In this embodiment, how to obtain the current refresh rate of the display screen can be determined according to the characteristic of whether the refresh rate of the display screen is automatically switched.
[0109] In implementation, such as Figure 2 As shown, this embodiment provides a refresh rate switching process architecture of VRR technology, wherein: image information is input into the TCON (Timer Control Register, timing control circuit / logic board) or SOC (System on Chips, system-level chip) of the display screen, and the refresh rate detection module 200 is used to detect the switching of the refresh rate, so that the image compensation module 201 is used to compensate the image of the switched refresh rate, and the compensated image is sent to the driver Driver for display, so that the compensated image is displayed according to the switched refresh rate. Among them, the specific functions of the refresh rate detection module and the image compensation module are as follows:
[0110] The refresh rate detection module 200 is used to realize displays with different refresh rates by detecting the length of the vertical blank period (V-Blank) in each frame image refresh cycle. The charging time is theoretically consistent under different refresh rates, and displays with different refresh rates can be realized through the blank time between frames; wherein, V-Blank refers to the time interval from the end of the last visible line of a frame to the beginning of the first visible line of the next frame in a raster scanning display; V-Blank is also used to refer to the interval time between frames, and the frame rate can be adjusted by adjusting this interval. For example, by increasing the interval time between frames, the number of frames that can be processed per second will naturally decrease, thereby reducing the frame rate.
[0111] The image compensation module 201 is used to perform grayscale compensation on images displayed at different refresh rates, and determine the image compensation data (including compensation parameters and other data) corresponding to the current refresh rate by looking up a table, so as to use the image compensation data to perform grayscale compensation on the currently displayed image. The image compensation data includes but is not limited to one or more PQ (picture quality) compensation lookup tables, and the PQ compensation lookup table can be stored in a TCON (Timer Control Register) or a SOC (System on Chips). Different PQ compensation lookup tables (PQ-Table) correspond to the strength of grayscale compensation at different refresh rates; when the refresh rate is switched, in order to ensure the image quality at different refresh rates, the PQ-Table needs to be switched.
[0112] Optionally, the PQ compensation lookup table provided in this embodiment includes but is not limited to:
[0113] (1) OD-table, used for grayscale overdrive when switching between frames, which is used to improve the response time of the LCD. The higher the refresh rate, the larger the OD (Over Drive) amplitude required; (2) ACC (Accurate Color Capture, color temperature adjustment)-table, used to compensate for white balance and adjust the gamma value of the picture; (3) Demura-table, used to compensate for the uneven picture caused by process fluctuations. Demura technology is mainly used to solve the brightness deviation (Mura) that may occur on the display panel. This deviation may cause uneven picture and affect the viewing experience.
[0114] like Figure 3As shown, this embodiment provides a schematic diagram of the offset change of the Gamma value when different refresh rates are switched, wherein the horizontal axis represents the grayscale and the vertical axis represents the Gamma. When the refresh rates are 50Hz, 85Hz, and 120Hz for the same grayscale value, the Gamma values corresponding to different refresh rates are different. Since the refresh rate switching will cause Gamma offset, brightness change, etc., it is necessary to compensate the displayed image data. The compensation method is to determine the image compensation data corresponding to the refresh rate by looking up a table for different refresh rates, thereby enhancing or weakening the grayscale of the image data to a certain extent.
[0115] like Figure 4 As shown, this embodiment also provides a PQ-Table under a refresh rate, wherein the first row and the first column in the PQ-Table represent grayscale values, and the values at other positions represent compensation parameters, and the compensation parameters enhance or weaken the grayscale values by weighting, thereby achieving image compensation.
[0116] like Figure 5 As shown, the present embodiment also provides a schematic diagram of an image compensation process, wherein the switching of the refresh rate is first detected, and when the switching of the refresh rate is detected, the PQ-Table (i.e., image compensation data) corresponding to the switched refresh rate is searched, and then the found PQ-Table is used to perform grayscale compensation on the displayed image after the switching of the refresh rate, and the compensated image is displayed, and then the switching of the refresh rate is continued to be detected, and the above process is executed in a loop.
[0117] like Figure 6 As shown, the present embodiment provides a timing diagram of the current image compensation data switching, that is, the current TCON / SOC generally needs more than 2 frames to adjust the PQ-Table. When refreshing and displaying at different refresh rates, with STV (StartVertical, frame start signal) as a reference, it can be determined whether the refresh rate is switched according to the duration of the STV cycle. When the refresh rate is switched from 60Hz to 120Hz, the duration of V-Blank (vertical blank period, VB) is detected in the first frame image refresh display cycle after the switch, and the corresponding PQ-Table is searched using the detected VB duration in the second frame image refresh display cycle, and the PQ-Table is switched, that is, the PQ-Table corresponding to the previous refresh rate of 60Hz is switched to the PQ-Table corresponding to the current refresh rate of 120Hz. In the third frame image refresh display cycle, the switched PQ-Table is used to perform image compensation on the third frame image. However, the current image compensation method requires at least two frames to switch the PQ-Table, which will cause at least two frames of instability during the PQ-Table switching, and the problem of screen flickering is likely to occur.
[0118] In order to further optimize the flickering problem of the display screen when the refresh rate is switched, this embodiment provides a switching method for image compensation data to ensure that TCON / SOC completes the switching of the relevant PQ-Table within the V-Blank time period of the first frame image after the refresh rate is switched. The specific implementation process is as follows:
[0119] Step a1) during a vertical blank period of a first frame of an image displayed at a current refresh rate, switching the image compensation data corresponding to a previous refresh rate to the image compensation data corresponding to a current refresh rate;
[0120] In implementation, after the refresh rate is switched, when displaying according to the switched current refresh rate, the image compensation data (ie, PQ-Table) is switched within the vertical blank period V-Blank within the refresh display cycle of the first frame image displayed.
[0121] Step a2) using the switched image compensation data to perform image compensation on a next frame of the first frame, and displaying the next frame of the image at the current refresh rate;
[0122] During implementation, after the refresh rate is switched, since the refresh rate switching will cause effects such as gamma offset and brightness change, the image data displayed after the refresh rate switching needs to be compensated for grayscale / brightness to ensure the quality of the image when the refresh rate is variable.
[0123] like Figure 7 As shown, this embodiment provides a timing diagram for switching image compensation data. When TCON / SOC performs PQ-Table adjustment, it only takes one frame of image refresh display time to complete the switching of PQ-Table. When the refresh rate is switched from 60Hz to 120Hz, the duration of V-Blank (vertical blank period, VB) is detected within the first frame image refresh display cycle after the switch. At the same time, the detected VB duration is used to find the corresponding PQ-Table, and the PQ-Table is switched, that is, the PQ-Table corresponding to the previous refresh rate of 60Hz is switched to the PQ-Table corresponding to the current refresh rate of 120Hz. In the second frame image refresh display cycle, the switched PQ-Table is used to perform image compensation on the second frame image.
[0124] In some embodiments, the switching of image compensation data may be performed by the following steps:
[0125] During the vertical blank period of the first frame image displayed at the current refresh rate, the vertical blank period is detected according to a preset step length, and the preset step length is accumulated according to the number of detections to obtain the duration of the vertical blank period; according to the duration of the vertical blank period, the image compensation data corresponding to the previous refresh rate is switched to the image compensation data corresponding to the current refresh rate.
[0126] In practice, when switching the PQ-Table, it is necessary to determine the duration of the VB (i.e., the duration) at the current refresh rate. This embodiment traverses and detects the VB according to a preset step length, for example, the duration of the VB is detected according to a preset step length of 1ms, and the traversal is stopped until the VB is not detected, thereby determining the duration of the VB according to the accumulated result. That is, when traversing the VB according to the preset step length, each time the VB is detected, the preset step length is accumulated according to the number of detections, thereby obtaining the final duration of the VB according to the accumulated result, and performing the corresponding PQ-Table switching.
[0127] In some embodiments, the present embodiment can also perform switching of image compensation data within a period of refreshing and displaying a frame of image by the following steps:
[0128] During the vertical blank period of the first frame image displayed at the current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, the image compensation data is switched once; wherein, when switching the image compensation data, the preset step length is accumulated according to the number of detections, and the image compensation data to be switched is determined according to the accumulated result.
[0129] During implementation, when switching the PQ-Table, it is necessary to determine the duration of the VB (i.e., the time length) at the current refresh rate. This embodiment traverses and detects the VB according to a preset step length, for example, the duration of the VB is detected according to a preset step length of 1ms. When a VB of 1ms is detected, the PQ-Table is switched to the PQ-Table corresponding to the 1ms. Then, when a VB of 1ms is detected again, the duration of the VB is accumulated, and the PQ-Table is switched to the PQ-Table corresponding to 2ms. The traversal is stopped until the VB is no longer detected, thereby completing the switching of the PQ-Table before the VB is no longer detected, reducing the time required for the refresh rate switching, and optimizing the problem of display screen flickering when the refresh rate is switched.
[0130] Step b) taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate;
[0131] During implementation, this embodiment adjusts the refresh rate to float above or below the benchmark refresh rate by increasing or decreasing the benchmark refresh rate on the basis of the current refresh rate, thereby transmitting data by floating the refresh rate up and down, increasing the use scenarios of the display screen, and transmitting data by changing the refresh rate of the display screen, providing a new IoT communication method that does not rely on the network.
[0132] In some embodiments, the present embodiment adjusts the refresh rate in the following manner for optical communication, as shown below:
[0133] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0134] In implementation, when the current refresh rate of the display is detected, the current refresh rate is fixed as the base refresh rate, and the base refresh rate is adjusted up or down according to the amplitude corresponding to the current refresh rate. In addition, in order to avoid flickering of the display screen when the refresh rate is too low, it can be defined that the amplitude should decrease as the refresh rate decreases.
[0135] Step c) determining the coded data according to the adjusted refresh rate, and displaying the coded data according to the adjusted refresh rate, so as to transmit the coded data in a manner of displaying the coded data at the adjusted refresh rate.
[0136] In implementation, when the current refresh rate of the display screen is detected, the current refresh rate is fixed as the reference refresh rate, and the reference refresh rate is adjusted up or down according to the amplitude corresponding to the current refresh rate. Then, the adjusted refresh rate is encoded to obtain encoded data.
[0137] Optionally, the encoding method includes but is not limited to return-to-zero code, non-return-to-zero code, etc. The adjusted refresh rate can be encoded by a custom encoding method to obtain encoded data. This embodiment does not impose too many restrictions on the specific encoding method.
[0138] Return-to-zero code is a digital signal encoding method in which the signal level must return to zero within one code element. This encoding method includes Manchester encoding and differential Manchester encoding, which represents binary information through pulses of different polarities, where "1" and "0" are represented by pulses of different polarities. The characteristic of return-to-zero code is that the zero level will be maintained for a period of time after the pulse ends, which makes it have better noise suppression characteristics because noise interferes with the level more strongly than the level transition. In addition, return-to-zero code can be self-synchronized, that is, the synchronization can be automatically adjusted during the transmission process, but the information density is relatively low.
[0139] Non-return-to-zero code is a binary information encoding method in which logic "1" and logic "0" are represented by two different levels, and the levels remain unchanged during the entire code element. The characteristics of this encoding method include: Signal level representation: In non-return-to-zero code, logic "1" is usually represented by a high level, while logic "0" is represented by a low level. Coding efficiency: Since the level remains unchanged during the entire code element, non-return-to-zero code can make relatively efficient use of the channel bandwidth. DC component: This encoding method has a DC component, which means that there will be a continuous current flow in the circuit in the absence of an AC signal. Synchronization requirements: Since non-return-to-zero code does not contain a built-in synchronization signal, an external synchronization mechanism must be used to ensure synchronization between the transmitter and the receiver.
[0140] During implementation, a suitable encoding method may be selected according to actual needs, and this embodiment does not impose too many restrictions on this.
[0141] In some embodiments, this embodiment may encode the adjusted refresh rate in a return-to-zero code manner to obtain encoded data.
[0142] In the implementation, under the condition that the original refresh rate of the picture is not affected, the current reference refresh rate is encoded as data "1" when the refresh rate is increased by N Hz (such as 5Hz to 10Hz) and encoded as data "0" when the refresh rate is decreased by N Hz in the form of return-to-zero code. Where N>0. N can be a value between 5Hz and 10Hz. At the same time, in order to avoid the possible flickering problem in the communication process when the refresh rate is too low, it is defined that N should decrease as the reference refresh rate decreases.
[0143] In some embodiments, the processor is further configured to execute:
[0144] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0145] Optionally, the present embodiment may also set a minimum refresh rate threshold for visible light communication, namely, threshold Nmin, and when it is detected that the reference refresh rate is lower than the threshold, the refresh rate should be increased before communication. In this case, the quality of the current display image should not be affected while increasing the refresh rate.
[0146] like Figure 8As shown, this embodiment also provides a schematic diagram of a return-to-zero code, in which the reference refresh rate is fixed. When the reference refresh rate is added to N Hz, it is encoded as 1 in one cycle and then returns to zero; then when the reference refresh rate is reduced by N Hz, it is encoded as -1 in one cycle and then returns to zero, thereby forming encoded data that fluctuates above and below the reference refresh rate, wherein there is no necessary connection between the cycle in the encoded data and the refresh rate. The cycle in the encoded data can correspond to one or more refresh rates, that is, after the display screen switches the refresh rate once, the transmission of the encoded data is completed once within the display cycle of the same refresh rate, or the transmission of the encoded data can be completed once within the display cycle of multiple refresh rates, for example, within the cycle in which the display screen displays at refresh rate a, plus the cycle in which the display screen displays at refresh rate b, the transmission of the encoded data is completed once. It is also possible to complete multiple transmissions of encoded data within the cycle in which the display screen displays at the same refresh rate. It can be specifically defined according to the actual data transmission requirements, and this embodiment does not impose too many restrictions on this.
[0147] like Fig. 9 As shown, this embodiment provides a schematic diagram of data transmission based on VRR technology. Taking sending binary data of "10110" as an example, data transmission based on VRR technology is performed through the following steps, as shown below:
[0148] If the current refresh rate of the display is F1, F1 is used as the base refresh rate, and the refresh rate is adjusted by amplitude N1 to float above and below the base refresh rate F1, and the coded data corresponding to the adjusted refresh rate is determined by the return-to-zero code. When the display switches from refresh rate F1 to F2, F2 is used as the base refresh rate, and the refresh rate is adjusted by amplitude N2 to float above and below the base refresh rate F2, and the coded data corresponding to the adjusted refresh rate is determined by the return-to-zero code. To avoid the flickering problem of the display caused by the communication process when the refresh rate is too low, set F1>F2 and N1>N2.
[0149] In some embodiments, the processor is specifically configured to perform:
[0150] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0151] In implementation, in order to ensure the stability of the screen display, the refresh rate can be adjusted after the display screen displays multiple frames of images at the current refresh rate, and the encoded data can be transmitted. It is ensured that the display screen is in a stable display state before optical communication is performed, that is, after the display screen displays more than M frames of images at a refresh rate F, it means that the display screen is in a stable display state at this time, and the optical communication process can be started, thereby improving the accuracy and effectiveness of optical communication.
[0152] like Fig.10 As shown, this embodiment provides a schematic diagram of a data packet format for coded data, wherein the data packet format for coded data is defined as follows:
[0153] Preamble: used to indicate the starting position of the data packet, such as 10101010;
[0154] Header, used to send the number of data bits (Byte);
[0155] Upper layer data Payload, used to send the content of the encoded data;
[0156] Check CRC, used to provide a check value for checking the encoded data.
[0157] End: used to indicate the end position of the data packet, such as setting it to 00110011.
[0158] like Fig.11 As shown, this embodiment provides a schematic diagram of a scene for visible light communication based on VRR technology, in which the display device can not only display the picture, but also realize visible light communication by actively adjusting the refresh rate, and send the encoded data to the optical communication receiving device, such as a mobile terminal, a remote control, a smart watch, etc., by jittering the refresh rate of the display screen. It should be noted that the optical communication receiving device in this embodiment includes a photosensitive element, which needs to use the photosensitive element to sense the refresh rate of the display screen, so as to decode the received encoded data.
[0159] like Fig.12 As shown, this embodiment also provides a visible light communication architecture, the display device includes a display panel (i.e., display screen), TCON and SOC, the current refresh rate is adjusted through TCON / SOC so that the adjusted refresh rate floats above and below the reference refresh rate, the encoded data is determined according to the adjusted refresh rate, and displayed according to the adjusted refresh rate, so that the encoded data is sent to the optical communication receiving device by means of the floating refresh rate in the display screen, and the display screen can also display the picture at the same time.
[0160] It should be noted that the embodiment transmits the encoded data by means of floating refresh rate, which does not affect the quality of the display screen itself and is imperceptible to the user viewing the display screen.
[0161] like Fig.13 As shown, this embodiment also provides a visible light communication method based on VRR technology, and the specific implementation process is as follows:
[0162] Step 1300: Control the display screen to display at different refresh rates according to the variable refresh rate technology, and determine the current refresh rate of the display screen;
[0163] Step 1301: During a vertical blank period of a first frame of image displayed at a current refresh rate, switching of image compensation data is performed, image compensation is performed on a next frame of image of the first frame of image using the switched image compensation data, and the next frame of image is displayed at the current refresh rate;
[0164] Step 1302: after the display screen displays multiple frames of images at the current refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate with the current refresh rate as the reference refresh rate, and the amplitude decreases as the reference refresh rate decreases;
[0165] Step 1303: Encode the adjusted refresh rate in a return-to-zero code manner to obtain encoded data;
[0166] Step 1304: Display according to the adjusted refresh rate, and transmit the encoded data in a manner of displaying at the adjusted refresh rate.
[0167] like Fig.14 As shown, this embodiment also provides a schematic diagram of an optical communication architecture, in which a front-end signal source (including image data in various formats such as images and videos) is input into the TCON / SOC, and the TCON / SOC includes an image signal receiving module, a VRR module, an internal image quality processing module, a communication control module, etc. The image signal receiving module is used to receive the input image data; the VRR module is used to control the display screen to display different refresh rates based on the VRR technology; the internal image quality processing module is used to perform image compensation for display images with different refresh rates; the communication control module is used to control the VRR module to adjust the current refresh rate according to the amplitude corresponding to the current refresh rate, so as to obtain coded data; the TCON / SOC sends the processed image to the display panel (i.e., the display screen) for display, and the display panel sends the coded data to the optical communication receiving device by refreshing the display, and at the same time, the user can see the image displayed on the display panel.
[0168] The embodiment of the present invention uses the display panel as a signal source for visible light communication, and sends data to optical communication receiving devices (smartphones, remote controls, smart homes, etc.) within a certain range, without relying on any network. VRR technology can also be used to define a refresh rate above a reference refresh rate as data "1" and below a reference refresh rate as data "0". Define an upper and lower floating hertz number N that changes with the reference refresh rate, and transmit encoded data by floating the refresh rate up and down. Applying visible light communication to panel displays allows the panel to not only provide picture information to the human eye, but also send information to surrounding smart devices (such as remote controls, smart phones, smart homes).
[0169] Under the premise of a certain reference refresh rate, this embodiment uses a similar return-to-zero code form to achieve the light transmission of data "1" and "0" by slightly floating the picture refresh rate up and down. The final display panel output conforms to the refresh rate variation law of the agreed protocol, and all receiving devices within the visible light acceptance range can perceive this flickering signal and then decode the information contained therein. In terms of software protocol definition, the present invention stipulates a brief data packet format. At the same time, by setting the adjustment amplitude to decrease as the reference refresh rate decreases, the flickering problem that may occur on the display screen is improved. In addition, by setting a threshold, the refresh rate is controlled to be kept above the threshold to avoid the problem of picture flickering caused by adjusting the refresh rate when the refresh rate is too low. In addition, the prerequisite for adjusting the refresh rate is defined, that is, after the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted with the current refresh rate as the reference refresh rate, so as to ensure that visible light communication, that is, the transmission of coded data, is carried out after the display screen is stably displayed, to ensure the stability of the picture, and avoid problems such as picture flickering that affect the picture quality.
[0170] Based on the same inventive concept, an embodiment of the present invention also provides a visible light communication method. Since this method is the method used by the display device in the embodiment of the present invention, and the principle of solving the problem by this method is similar to that of the display device, the implementation of this method can refer to the implementation of the display device, and the repeated parts will not be repeated.
[0171] like Fig.15 As shown, the specific implementation process of this method is as follows:
[0172] Step 1500: determine the current refresh rate of the display screen;
[0173] Step 1501: Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate;
[0174] Step 1502: Determine the coded data according to the adjusted refresh rate, and display it according to the adjusted refresh rate, so as to transmit the coded data in a manner of displaying it at the adjusted refresh rate.
[0175] As an optional implementation manner, the adjusting the current refresh rate based on the current refresh rate as a reference refresh rate includes:
[0176] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0177] As an optional implementation manner, determining the coded data according to the adjusted refresh rate includes:
[0178] The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
[0179] As an optional implementation manner, adjusting the current refresh rate based on the current refresh rate as a reference refresh rate includes:
[0180] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0181] As an optional implementation, the method further includes:
[0182] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0183] As an optional implementation manner, determining the current refresh rate of the display screen includes:
[0184] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0185] As an optional implementation, the method further includes:
[0186] During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed;
[0187] The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
[0188] As an optional implementation, performing switching of image compensation data during a vertical blank period of a first frame of image displayed at a current refresh rate includes:
[0189] During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once;
[0190] When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
[0191] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device. Since the electronic device is the electronic device in the method in the embodiment of the present invention, and the principle of solving the problem by the electronic device is similar to that of the method, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0192] like Fig.16 As shown, the electronic device includes a processor 1600 and a memory 1601, wherein the memory 1601 is used to store a program executable by the processor 1600, and the processor 1600 is used to read the program in the memory 1601 and perform the following steps:
[0193] Determine the current refresh rate of the display;
[0194] Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate;
[0195] The coded data is determined according to the adjusted refresh rate, and is displayed according to the adjusted refresh rate, so that the coded data is transmitted in a manner of being displayed at the adjusted refresh rate.
[0196] As an optional implementation manner, the processor 1600 is specifically configured to execute:
[0197] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0198] As an optional implementation manner, the processor 1600 is specifically configured to execute:
[0199] The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
[0200] As an optional implementation manner, the processor 1600 is specifically configured to execute:
[0201] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0202] As an optional implementation manner, the processor 1600 is further configured to execute:
[0203] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0204] As an optional implementation manner, the processor 1600 is specifically configured to execute:
[0205] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0206] As an optional implementation manner, the processor 1600 is further configured to execute:
[0207] During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed;
[0208] The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
[0209] As an optional implementation manner, the processor 1600 is specifically configured to execute:
[0210] During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once;
[0211] When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
[0212] Based on the same inventive concept, an embodiment of the present invention also provides a device for visible light communication. Since the device is the device in the method in the embodiment of the present invention, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0213] like Fig.17 As shown, the device comprises:
[0214] A refresh rate determination module 1700 is used to determine the current refresh rate of the display screen;
[0215] A refresh rate adjustment module 1701 is used to adjust the current refresh rate based on the current refresh rate as a reference refresh rate, so that the adjusted refresh rate floats above and below the reference refresh rate;
[0216] The encoding transmission module 1702 is used to determine the encoding data according to the adjusted refresh rate, and display it according to the adjusted refresh rate, so as to transmit the encoding data in a manner of displaying it at the adjusted refresh rate.
[0217] As an optional implementation manner, the refresh rate adjustment module 1701 is specifically used for:
[0218] Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
[0219] As an optional implementation manner, the encoding transmission module 1702 is specifically used for:
[0220] The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
[0221] As an optional implementation manner, the refresh rate adjustment module 1701 is specifically used for:
[0222] After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
[0223] As an optional implementation manner, the refresh rate adjustment module 1701 is further configured to:
[0224] If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
[0225] As an optional implementation manner, the refresh rate determination module 1700 is specifically used for:
[0226] The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
[0227] As an optional implementation, the device further includes an image compensation module, specifically configured to:
[0228] During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed;
[0229] The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
[0230] As an optional implementation manner, the image compensation module is specifically used for:
[0231] During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once;
[0232] When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
[0233] Based on the same inventive concept, an embodiment of the present disclosure provides a computer storage medium, the computer storage medium includes: a computer program code, when the computer program code is executed on a computer, the computer executes any of the visible light communication methods discussed above. Since the principle of solving the problem by the above-mentioned computer storage medium is similar to that of the visible light communication method, the implementation of the above-mentioned computer storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0234] In the specific implementation process, the computer storage medium may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.
[0235] Based on the same inventive concept, the embodiment of the present disclosure further provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any visible light communication method as discussed above. Since the principle of solving the problem by the above computer program product is similar to that of the visible light communication method, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0236] The computer program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0237] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0238] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that has the functions specified in one or more boxes.
[0239] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0240] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0241] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A display device, It is characterized in that It includes a display screen and a controller, wherein: The display screen is configured to display content; The controller includes a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read and execute the program in the memory, and is configured to perform the following steps: Determine the current refresh rate of the display; Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate; The coded data is determined according to the adjusted refresh rate, and is displayed according to the adjusted refresh rate, so that the coded data is transmitted in a manner of being displayed at the adjusted refresh rate.
2. The display device according to claim 1, It is characterized in that The processor is specifically configured to execute: Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
3. The display device according to claim 1, It is characterized in that The processor is specifically configured to execute: The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
4. The display device according to claim 1, It is characterized in that The processor is specifically configured to execute: After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
5. The display device according to claim 1, It is characterized in that The processor is further configured to execute: If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
6. The display device according to claim 1, It is characterized in that The processor is specifically configured to execute: The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
7. The display device according to claim 6, It is characterized in that The processor is further configured to execute: During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed; The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
8. The display device according to claim 7, It is characterized in that The processor is specifically configured to execute: During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once; When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
9. A visible light communication method, It is characterized in that The method includes: Determine the current refresh rate of the display; Taking the current refresh rate as a reference refresh rate, adjusting the current refresh rate so that the adjusted refresh rate floats above and below the reference refresh rate; The coded data is determined according to the adjusted refresh rate, and is displayed according to the adjusted refresh rate, so that the coded data is transmitted in a manner of being displayed at the adjusted refresh rate.
10. The method according to claim 9, It is characterized in that The adjusting the current refresh rate by taking the current refresh rate as the reference refresh rate comprises: Taking the current refresh rate as the reference refresh rate, the current refresh rate is adjusted according to the amplitude corresponding to the current refresh rate; wherein the amplitude decreases as the reference refresh rate decreases.
11. The method according to claim 9, It is characterized in that The step of determining the coded data according to the adjusted refresh rate comprises: The adjusted refresh rate is encoded in a return-to-zero code manner to obtain encoded data.
12. The method according to claim 9, It is characterized in that Taking the current refresh rate as the reference refresh rate, adjusting the current refresh rate includes: After the display screen displays multiple frames of images according to the current refresh rate, the current refresh rate is adjusted based on the current refresh rate as the reference refresh rate.
13. The method according to claim 9, It is characterized in that The method further comprises: If the current refresh rate is lower than the threshold, the current refresh rate is increased, and the increased refresh rate is used as the base refresh rate, and the increased refresh rate is adjusted so that the adjusted refresh rate floats above and below the base refresh rate.
14. The method according to claim 9, It is characterized in that The determining the current refresh rate of the display screen includes: The display screen is controlled to display at different refresh rates according to the variable refresh rate technology to determine the current refresh rate of the display screen.
15. The method according to claim 14, It is characterized in that The method further comprises: During a vertical blank period of a first frame of an image displayed at a current refresh rate, switching of the image compensation data is performed; The switched image compensation data is used to perform image compensation on a next frame of the first frame of the image, and the next frame of the image is displayed at the current refresh rate.
16. The method according to claim 15, It is characterized in that The switching of the image compensation data during the vertical blank period of the first frame of the image displayed at the current refresh rate comprises: During a vertical blank period of a first frame of an image displayed at a current refresh rate, the vertical blank period is traversed and detected according to a preset step length, and each time a vertical blank period is detected, switching of the image compensation data is performed once; When switching the image compensation data, the preset step length is accumulated according to the number of times of the current detection, and the switched image compensation data is determined according to the accumulation result.
17. An electronic device, It is characterized in that The device comprises a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and execute the steps of any one of the methods of claims 9 to 16.
18. A computer storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the method according to any one of claims 9 to 16 are implemented.
