A method, device, equipment and storage medium for eliminating false brightness of text programs
By using the drawing programming interface of the native platform in Flutter, the anti-aliasing process is eliminated, and the flickering problem caused by the Flutter drawing API does not support the cancellation of anti-aliasing is solved, which enables the clear display of text on low-resolution screens, improving visual quality.
Patent Information
- Application Number
- CN202411878373.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-08
AI Technical Summary
Flutter's drawing API does not support unanaliasing, resulting in a bolt problem when displaying text on low resolution or single and double color screens, affecting the user experience.
Through the drawing programming interface in the native platform, the target text program is determined according to the cancel anti-aliasing strategy and sent to the display device to avoid the bolt problem.
Ensure that the text is clearly readable on low resolution or single and double-color screens, avoiding the problem of light and improving visual quality.
Smart Images

Figure CN119781652A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a method, device, equipment and storage medium for eliminating false brightness of a text program. Background Art
[0002] Faced with different operating systems, developers need to write multiple sets of programs to run on different platforms, which will consume multiple times of manpower and maintenance costs, and will also cause inconsistent user experience. As a cross-platform development technology, Flutter can achieve one-time writing and multi-platform operation. The platform-independent high-performance rendering engine can ensure UI consistency on various platforms.
[0003] However, when using Flutter to develop screen control software, we encountered a thorny problem. Flutter's drawing API does not support canceling anti-aliasing, and the official has stated that it will not support it in the future. When the content drawn by Flutter is sent to some low-resolution displays, the problem of virtual brightness will appear. Summary of the invention
[0004] The present invention provides a method, device, equipment and storage medium for eliminating virtual brightness of text programs. By canceling anti-aliasing specific drawing settings, it can ensure that the text is clearly readable on a low-resolution or single-color or double-color screen, avoid the virtual brightness problem, and improve the visual quality.
[0005] According to one aspect of the present invention, a method for eliminating false brightness of a text program is provided. The method comprises:
[0006] Obtain the initial text program generated by the preset screen control software;
[0007] Determine the preset display device to which the initial text program is to be delivered, and determine whether the preset display device needs to avoid false brightness;
[0008] In the case where the preset display device needs to avoid false brightness, a target text program is determined through a drawing programming interface in a native platform according to a cancellation anti-aliasing strategy and the initial text program;
[0009] The target text program is sent to the preset display device so that the preset display device displays the target text program.
[0010] According to another aspect of the present invention, a device for eliminating false brightness of a text program is provided, the device comprising:
[0011] An initial text program acquisition module is used to acquire an initial text program generated by a preset screen control software;
[0012] A virtual brightness avoidance decision determination module is used to determine the preset display device to which the initial text program is to be sent, and to determine whether the preset display device needs to avoid virtual brightness;
[0013] A target text program determination module is used to determine the target text program according to the anti-aliasing cancellation strategy and the initial text program through the drawing programming interface in the native platform when the preset display device needs to avoid virtual brightness;
[0014] The target text program display module is used to send the target text program to the preset display device so that the preset display device displays the target text program.
[0015] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for eliminating virtual brightness of text programs described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for eliminating text program virtual brightness according to any embodiment of the present invention when executed.
[0020] The technical solution of the embodiment of the present invention determines the preset display device to which the initial text program is to be sent, and determines whether the preset display device needs to avoid false brightness by obtaining the initial text program generated by the preset screen control software. In the case where the preset display device needs to avoid false brightness, the target text program is determined through the drawing programming interface in the native platform according to the anti-aliasing cancellation strategy and the initial text program. The target text program is sent to the preset display device so that the preset display device displays the target text program, which solves the problem that the drawing API of Flutter does not support the cancellation of anti-aliasing. By canceling the anti-aliasing specific drawing settings, it can ensure that the text is clear and readable on a low-resolution or single or dual-color screen, avoiding the problem of false brightness and improving the visual quality.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0023] Figure 1 is a flow chart of a method for eliminating false brightness of a text program provided according to an embodiment of the present invention;
[0024] Figure 2 is a flow chart of a method for eliminating false brightness of a text program provided according to an embodiment of the present invention;
[0025] Figure 3 is a structural diagram of a device for eliminating false brightness of a text program according to an embodiment of the present invention;
[0026] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing the method for eliminating false brightness of a text program according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Figure 1The flowchart of a method for eliminating virtual brightness of a text program provided by an embodiment of the present invention is applicable to solving the problem of virtual brightness on a low-resolution display screen. The method can be executed by a device for eliminating virtual brightness of a text program. The device for eliminating virtual brightness of a text program can be implemented in the form of hardware and / or software. The device for eliminating virtual brightness of a text program can be configured in an electronic device. Figure 1 As shown, the method includes:
[0030] S101, obtaining an initial text program generated by a preset screen control software.
[0031] The initial text program may refer to a series of text contents and related attributes generated by the preset screen control software. For example, the initial text program may include at least text contents and display attributes. The text content is the core part, which refers to the specific text information that needs to be displayed on the screen. It can be static text or dynamically updated content, such as real-time news, advertising slogans, announcements, etc. Display attributes may include fonts, colors, alignment, line spacing, and character spacing.
[0032] Specifically, the created initial text program is obtained from the preset screen control software through API calling, file reading or other methods. It should be noted that the preset screen control software can be the flutter screen control software.
[0033] Exemplarily, the process of generating an initial text program by the preset screen control software includes: creating a text program model through the preset screen control software, the text program model including a storage device type, size information and text information; receiving a triggered edit text instruction, and editing the text program model through the preset screen control software to obtain an initial text program.
[0034] The text program model may refer to a data model for storing text program information. The text program model may include storage device type, size information and text information.
[0035] Specifically, the text program model is determined by inputting and selecting by the user through the user interface. The user interface receives the text editing instruction input by the user, and the text program model is edited by the preset screen control software to obtain the initial text program.
[0036] S102: Determine a preset display device to which the initial text program is to be delivered, and determine whether the preset display device needs to avoid false brightness.
[0037] It should be noted that the preset display device may refer to a physical display device that is controlled and displays text program content through preset screen control software. For example, the preset display device may include an LED display screen, an electronic paper display, an LCD / OLED display screen, and other customized display devices.
[0038] For example, the preset screen control software can provide a UI interface for users to select preset display devices, or automatically match appropriate preset display devices according to business logic. Determine whether the preset display device needs to consider avoiding the virtual brightness problem by the device type corresponding to the preset display device (such as a single-color or dual-color LED screen).
[0039] S103: When the preset display device needs to avoid false brightness, determine a target text program through a drawing programming interface in a native platform according to a cancellation anti-aliasing strategy and the initial text program.
[0040] Among them, the native platform usually refers to the operating system environment where the application runs directly. The native platform includes at least mobile platforms, desktop platforms, embedded platforms and game development platforms. For mobile application development, the most common are the two major operating systems iOS and Android. Native platforms can also include desktop operating systems (such as Windows, macOS, Linux) and embedded systems. The anti-aliasing cancellation strategy refers to the strategy of canceling anti-aliasing of the initial text program. The anti-aliasing cancellation strategy can be set based on experience, or a historical strategy can be adopted, or it can be set according to the actual situation of the hardware device.
[0041] Specifically, when the preset display device needs to avoid false brightness, the initial text program is sent to the native platform by calling the native plug-in, and the initial text program is converted into a target file program through the drawing programming interface in the native platform according to the anti-aliasing cancellation strategy.
[0042] Exemplarily, determining the target text program according to the anti-aliasing cancellation strategy through the drawing programming interface in the native platform includes: sending the initial text program to the native platform through the platform interaction plug-in pre-created in the preset screen control software; canceling anti-aliasing processing on the initial text program through the drawing programming interface in the native platform to obtain a processed text program; and performing image drawing processing on the processed text program to obtain a target text program.
[0043] The platform interaction plug-in may refer to an interaction plug-in for native code interaction between the native platform and the preset screen control software. The platform interaction plug-in acts as a bridge between the native platform and the native code of the preset screen control software.
[0044] Specifically, the initial text program is sent to the native platform through the platform interaction plug-in. The native platform uses the drawing API provided by the platform to cancel the anti-aliasing processing of the initial text program to obtain the processed text program, and at the same time, according to the provided parameters (width, height, text content, etc.), the processed text program is actually drawn to generate the target text program. After the drawing is completed, the generated target text program is returned to the preset screen control software through the platform interaction plug-in, and then sent to the target device for display.
[0045] S104: Send the target text program to the preset display device, so that the preset display device displays the target text program.
[0046] Specifically, the target text program generated by the receiving native platform is sent to the preset display device for display using the corresponding protocol (such as HTTP, serial communication, etc.). Through the above steps, a complete process is achieved from obtaining the initial text program to optimizing the display effect according to the device characteristics, and finally sending the optimized text program to the designated device for display. This process not only ensures that the text program can be displayed correctly on different types of screens, but also improves the display quality on low-resolution screens through targeted optimization measures (such as canceling anti-aliasing), thereby providing users with a better visual experience.
[0047] The technical solution of the embodiment of the present invention determines the preset display device to which the initial text program is to be sent, and determines whether the preset display device needs to avoid false brightness by obtaining the initial text program generated by the preset screen control software. In the case where the preset display device needs to avoid false brightness, the target text program is determined through the drawing programming interface in the native platform according to the anti-aliasing cancellation strategy and the initial text program. The target text program is sent to the preset display device so that the preset display device displays the target text program, which solves the problem that the drawing API of Flutter does not support the cancellation of anti-aliasing. By canceling the anti-aliasing specific drawing settings, it can ensure that the text is clear and readable on a low-resolution or single or dual-color screen, avoiding the problem of false brightness and improving the visual quality.
[0048] Based on the above embodiment, the method further includes: when the preset display device does not need to avoid false brightness, the initial text program is drawn as a target text program through the preset screen control software.
[0049] Specifically, when the preset display device does not need to avoid false brightness, the initial text program can be directly drawn as the target text program through the preset screen control software. In other words, the target text program can be drawn directly using the drawing API of the preset screen control software. The preset screen control software provides a wealth of graphics and text rendering functions that can meet most display requirements.
[0050] Figure 2 Flow chart of another method for eliminating false brightness of text programs provided by an embodiment of the present invention. Figure 2 As shown, the method includes:
[0051] Create text programs through preset screen control software. The programs contain information such as storage device type, width and height, and text content.
[0052] Receive the triggered text editing instruction, edit the text program model through the preset screen control software, and obtain the initial text program.
[0053] Select the edited initial text program and send it to the preset display device to determine whether the preset display device needs to avoid the virtual brightness problem (generally, low-resolution single-color and dual-color displays will have virtual brightness problems).
[0054] If the virtual brightness problem does not need to be considered, flutter is used directly to draw the target text program picture. Otherwise, the native plug-in is called and the initial text program data is passed to the native platform. Each native platform calls the native API (cancel anti-aliasing) to draw the corresponding target text program picture according to the device width and height, text content and other information, and then returns the picture to the flutter layer.
[0055] The preset screen control software sends the drawn image to the device for display. Even if it is a low-resolution single or double-color device, there will be no virtual brightness problem.
[0056] Figure 3 The present invention provides a structural diagram of a device for eliminating false brightness of a text program. Figure 3 As shown, the device comprises:
[0057] An initial text program acquisition module 301 is used to acquire an initial text program generated by a preset screen control software;
[0058] Avoiding false brightness decision determination module 302, used to determine the preset display device to which the initial text program is to be sent, and determine whether the preset display device needs to avoid false brightness;
[0059] A target text program determination module 303 is used to determine the target text program according to the anti-aliasing cancellation strategy and the initial text program through the drawing programming interface in the native platform when the preset display device needs to avoid virtual brightness;
[0060] The target text program display module 304 is used to send the target text program to the preset display device so that the preset display device displays the target text program.
[0061] The technical solution of the embodiment of the present invention determines the preset display device to which the initial text program is to be sent, and determines whether the preset display device needs to avoid false brightness by obtaining the initial text program generated by the preset screen control software. In the case where the preset display device needs to avoid false brightness, the target text program is determined through the drawing programming interface in the native platform according to the anti-aliasing cancellation strategy and the initial text program. The target text program is sent to the preset display device so that the preset display device displays the target text program, which solves the problem that the drawing API of Flutter does not support the cancellation of anti-aliasing. By canceling the anti-aliasing specific drawing settings, it can ensure that the text is clear and readable on a low-resolution or single or dual-color screen, avoiding the problem of false brightness and improving the visual quality.
[0062] Optionally, the preset screen control software includes flutter screen control software.
[0063] Optionally, the target text program determination module 303 is further used to:
[0064] In the case where the preset display device does not need to avoid false brightness, the initial text program is drawn as a target text program through the preset screen control software.
[0065] Optionally, the device further comprises an initial text program generation module.
[0066] The initial text program generation module is used to:
[0067] Creating a text program model by using the preset screen control software, wherein the text program model includes storage device type, size information and text information;
[0068] A triggered text editing instruction is received, and the text program model is edited and processed by the preset screen control software to obtain an initial text program.
[0069] Optionally, the target text program determination module 303 is specifically configured to:
[0070] Sending the initial text program to the native platform via a platform interaction plug-in pre-created in the preset screen control software;
[0071] Through the drawing programming interface in the native platform, the initial text program is subjected to anti-aliasing processing to obtain a processed text program;
[0072] The processed text program is subjected to image drawing processing to obtain a target text program.
[0073] Optionally, the target text program determination module 303 is specifically configured to:
[0074] After obtaining the target text program, the target text program is returned to the preset screen control software through the platform interaction plug-in.
[0075] Optionally, the native platform includes at least a mobile platform, a desktop platform, an embedded platform and a game development platform.
[0076] The device for eliminating virtual brightness of text programs provided in the embodiment of the present invention can execute the method for eliminating virtual brightness of text programs provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0077] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0078] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0079] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0080] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for eliminating the virtual brightness of a text program.
[0081] In some embodiments, the text program virtual brightness elimination method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the text program virtual brightness elimination method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the text program virtual brightness elimination method in any other appropriate manner (for example, by means of firmware).
[0082] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0083] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0084] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0085] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0086] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0087] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0088] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0089] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for eliminating false brightness in text programs, characterized in that: include: Obtain the initial text program generated by the preset screen control software; Determine the preset display device to which the initial text program is to be delivered, and determine whether the preset display device needs to avoid false brightness; In the case where the preset display device needs to avoid false brightness, a target text program is determined through a drawing programming interface in a native platform according to a cancellation anti-aliasing strategy and the initial text program; The target text program is sent to the preset display device so that the preset display device displays the target text program.
2. The method according to claim 1, characterized in that: The preset screen control software includes flutter screen control software.
3. The method according to claim 1, characterized in that The method further comprises: In the case where the preset display device does not need to avoid false brightness, the initial text program is drawn as a target text program through the preset screen control software.
4. The method according to claim 1, characterized in that The process of generating the initial text program by the preset screen control software includes: Creating a text program model by using the preset screen control software, wherein the text program model includes storage device type, size information and text information; A triggered text editing instruction is received, and the text program model is edited and processed by the preset screen control software to obtain an initial text program.
5. The method according to claim 1, characterized in that The method of determining the target text program through the drawing programming interface in the native platform according to the anti-aliasing cancellation strategy includes: Sending the initial text program to the native platform via a platform interaction plug-in pre-created in the preset screen control software; Through the drawing programming interface in the native platform, the initial text program is subjected to anti-aliasing processing to obtain a processed text program; The processed text program is subjected to image drawing processing to obtain a target text program.
6. The method according to claim 5, characterized in that The method further comprises: After obtaining the target text program, the target text program is returned to the preset screen control software through the platform interaction plug-in.
7. The method according to claim 1, characterized in that The native platform includes at least a mobile platform, a desktop platform, an embedded platform and a game development platform.
8. A device for eliminating false brightness in text programs, characterized in that: include: An initial text program acquisition module is used to acquire an initial text program generated by a preset screen control software; A virtual brightness avoidance decision determination module is used to determine the preset display device to which the initial text program is to be sent, and to determine whether the preset display device needs to avoid virtual brightness; A target text program determination module is used to determine the target text program according to the anti-aliasing cancellation strategy and the initial text program through the drawing programming interface in the native platform when the preset display device needs to avoid virtual brightness; The target text program display module is used to send the target text program to the preset display device so that the preset display device displays the target text program.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for eliminating text program virtual brightness according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for eliminating text program virtual brightness according to any one of claims 1 to 7 when executed.