Method for supporting FSTN black and white screen display based on Android system
By introducing the FSTN monochrome screen display method into the Android system, the problem of small-sized terminals being unable to use large color screens has been solved, enabling intelligent management of displaying simple information on different hardware platforms and reducing costs.
Patent Information
- Application Number
- CN202410548975.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2025-11-07
AI Technical Summary
Due to cost and structural limitations, existing small-sized Android terminals cannot use color screens larger than 3.5 inches, resulting in inconvenience in displaying simple information.
Design a method for displaying FSTN monochrome screens based on the Android system. By generating a subsystem that supports FSTN monochrome screen display, the driver layer and HAL layer are used to handle hardware platform communication, perform display screen initialization and data transmission, and support the display of information such as numbers, characters and images.
It enables the display of simple information on different hardware platforms, improves the intelligent management level of FSTN monochrome screen display, reduces costs, and is suitable for small-sized Android terminals.
Smart Images

Figure CN120909540A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of Android system display technology, in particular to a method for supporting FSTN black and white screen display based on Android system. BACKGROUND
[0002] The existing Android system display is a color screen, and the display screen resolution is generally high, and the data formats are mainly RGB888, RGB666 or RGB565. Due to the large amount of data transmission, in order to better user experience, a high-speed MIPI interface is used to transmit data.
[0003] In the prior art, the existing traditional wireless fixed telephone and new Internet of Things terminal only need to support dot matrix black and white screen and do not need special effect display on the display interface, considering the cost and actual use demand. The traditional supported color screen has high cost and the MIPI is mainly a display screen larger than 3.5 inches. Due to the differentiation of small size Android terminal structure and cost limitation, the large display screen cannot be used, but simple information needs to be displayed, which affects the actual use requirement and brings many inconveniences.
[0004] Therefore, the present application needs to design a method for supporting FSTN black and white screen display based on Android system to solve the above problems. SUMMARY
[0005] The purpose of the present application is to provide a method for supporting FSTN black and white screen display based on Android system to solve the above problems. The method solves the problem of the traditional supported color screen in the background art, which has high cost and the MIPI is mainly a display screen larger than 3.5 inches. Due to the differentiation of small size Android terminal structure and cost limitation, the large display screen cannot be used, but simple information needs to be displayed, which affects the actual use requirement and brings many inconveniences.
[0006] In order to solve the above problems, the present application provides a technical scheme:
[0007] A method for supporting FSTN black and white screen display based on Android system, comprising the following specific steps:
[0008] S1, generating a FSTN black and white screen display subsystem, selecting corresponding hardware and interface for display screen initialization code and FSTN black and white screen display data transmission according to the resource situation of the hardware platform and the display screen support interface;
[0009] S2, establishing a driving layer and a hal layer, processing the communication part of the hardware platform and the FSTN black and white screen through the driving layer, being responsible for the display screen reset after the Android system starts, the initialization parameter transmission, the format conversion of the hal layer data and the data transmission processing.
[0010] S3, data processing through the hal layer, the application layer data is processed in the hal layer, according to the Android multi-buffer refresh mechanism, the current display content is captured, the JNI driver layer interface is called, and the data is transmitted to the display screen.
[0011] As a preferred, the hardware and interface in S1 include hardware SPI, hardware I2C, normal GPIO analog SPI, and normal GPIO analog I2C interface.
[0012] As a preferred, the S2 further includes the following specific steps:
[0013] S201, the Android system is normally started, and the boot LOGO information needs to be displayed when entering the uboot stage, at this time, the reset and display screen initialization code transmission processing are needed, the display screen is lit, and the customized LOGO picture data is transmitted to the display screen for display.
[0014] S202, after completing the Uboot stage, the system kernel starts the stage, reinitializes the display screen, receives the hal layer data and converts, at this time, the hal layer data is all display data.
[0015] As a preferred, the application layer data in S3 includes pictures, numbers, and characters.
[0016] As a preferred, in S201, the reset power-on timing and initialization code of different specifications of the display screen exist differences when the display screen initialization code transmission.
[0017] As a preferred, the support FSTN black and white screen display subsystem includes a driver layer management module, an application layer management module, a hal layer processing module, and a hardware management platform, the output end of the application layer management module is in communication connection with the input end of the hal layer processing module, the output end of the hal layer processing module is in communication connection with the input end of the driver layer management module, and the output end of the driver layer management module is in communication connection with the input end of the hardware management platform.
[0018] As a preferred, the driver layer management module is used for receiving the processing data sent by the hal layer, communicating with the FSTN black and white screen through the processing hardware platform, and is responsible for the display screen reset after the Android system starts, the initialization parameter transmission, the format conversion of the hal layer data, and the data transmission processing.
[0019] The application layer management module is used for receiving manual publishing operation instructions, selecting corresponding hardware and interfaces for display screen initialization code and FSTN black and white screen display data transmission according to the resource situation of the hardware platform and the display screen support interface.
[0020] As preferred, the hardware management platform is used for comprehensively managing the hardware platform running the Android system, the data sent by the auxiliary display device and the driving layer, the data sent by the application layer and the data processed by the hal layer, and performing real-time monitoring on each link, and automatically marking and early warning processing the problem points.
[0021] As preferred, the hal layer processing module is used for data processing, and the application layer data is processed in the Android native processing mode, the current displayed content is grabbed, the JNI driving layer interface is called, and the data is transmitted to the display screen.
[0022] The hal layer processing module is also used for sending the above process data to the hardware management platform internally for unified management.
[0023] As preferred, the S202 does not need to reset when reinitializing the display screen, and the hal layer needs to convert color data into monochrome data for use when performing data conversion.
[0024] The present application has the following advantages: the present application sets up a support FSTN black and white screen display subsystem, and in actual use, according to the resource conditions of the hardware platform and the display screen support interface, the corresponding hardware and interface display screen initialization code and FSTN black and white screen display data transmission are selected, the driving layer processes the hardware platform and the FSTN black and white screen communication part, is responsible for the display screen reset after the Android system starts, the initialization parameter transmission, the hal layer data format conversion and the data transmission processing, the hal layer processes the data, according to the Android multi-cache refresh mechanism, the current displayed content is grabbed, the JNI driving layer interface is called, and the data is transmitted to the display screen, the required information can be displayed on different hardware platforms supporting the Android system, the display content includes numbers, English letters, Chinese characters and picture information, which is convenient for display, use and reading processing, the data and the corresponding analysis results when supporting the FSTN black and white screen display are managed, visualized and stored, which helps to realize the FSTN black and white screen display management through the Internet cloud management and control, and improves the intelligent level of the FSTN black and white screen display management. BRIEF DESCRIPTION OF DRAWINGS
[0025] In order to facilitate the description, the present application is described in detail by the following specific embodiments and drawings.
[0026] Figure 1 is a whole flow block diagram of a method for supporting FSTN black and white screen display based on an Android system;
[0027] Figure 2It is a support FSTN black and white screen display subsystem topology of the method for supporting FSTN black and white screen display based on an Android system of the present application;
[0028] Figure 3 It is a SPI interface HW connection diagram of the method for supporting FSTN black and white screen display based on an Android system of the present application;
[0029] Figure 4 It is an I2C interface HW connection diagram of the method for supporting FSTN black and white screen display based on an Android system of the present application. DETAILED DESCRIPTION
[0030] As shown in Figure 1 , Figure 2 , Figure 3 and Figure 4 , the present embodiment adopts the following technical solutions:
[0031] A method for supporting FSTN black and white screen display based on an Android system, comprising the following specific steps:
[0032] S1, generating a support FSTN black and white screen display subsystem, according to the resource situation of the hardware platform and the display screen support interface, the hardware and the interface including hardware SPI, hardware I2C, ordinary GPIO simulation SPI, ordinary GPIO simulation I2C interface, selecting the corresponding hardware and interface for display screen initialization code and FSTN black and white screen display data transmission;
[0033] S2, establishing a driver layer and a hal layer, processing the hardware platform and the FSTN black and white screen communication part through the driver layer, being responsible for the display screen reset after the Android system starts, the initialization parameter transmission, the format conversion of the hal layer data and the data transmission processing, normally starting the Android system, entering the uboot stage when the startup LOGO information needs to be displayed, at this time, the reset and the display screen initialization code transmission processing are needed, the reset power-on timing and the initialization code of different specifications of the display screen exist difference conditions when the display screen initialization code is transmitted, the display screen is lit and the customized LOGO picture data is transmitted to the display screen for display; after completing the Uboot stage, the system kernel starts the stage, reinitializes the display screen, and no reset operation is needed when reinitializing the display screen, the hal layer needs to convert color data into monochrome data for use when converting data, receiving the hal layer data and converting, at this time, the hal layer data are all display data;
[0034] S3, data processing through the hal layer, the application layer data including pictures, numbers, characters are processed in the hal layer, according to the Android multi-buffer refresh mechanism, the current display content is captured, the JNI driver layer interface is called, and the data is transmitted to the display screen.
[0035] Further, the support FSTN black and white screen display subsystem includes a driving layer management module, an application layer management module, a hal layer processing module and a hardware management platform, the output end of the application layer management module is in communication connection with the input end of the hal layer processing module, the output end of the hal layer processing module is in communication connection with the input end of the driving layer management module, the output end of the driving layer management module is in communication connection with the input end of the hardware management platform, the driving layer management module is used for receiving the processing data sent by the hal layer, communicating with the FSTN black and white screen through the processing hardware platform, being responsible for the display screen reset after the Android system is started, the initialization parameter transmission, the format conversion of the hal layer data and the data transmission processing; the application layer management module is used for receiving the manual publishing operation instruction, selecting the corresponding hardware and interface for the display screen initialization code and the FSTN black and white screen display data transmission according to the resource situation of the hardware platform and the display screen support interface; the hardware management platform is used for comprehensively managing the hardware platform, the auxiliary display device, the data sent by the driving layer, the data sent by the application layer and the data processed by the hal layer, monitoring each link in real time, and automatically marking and warning the problem points; the hal layer processing module is used for data processing, the application layer data are processed by using the Android native processing mode, the current display content is captured, the JNI driver layer interface is called, and the data is transmitted to the display screen; the hal layer processing module is also used for sending the above process data to the hardware management platform, and performing unified management.
[0036] Embodiment 1
[0037] When the support FSTN black and white screen display subsystem is connected to the Android system for screen display management:
[0038] S1, the Android system staff checks the equipment and instruments one by one, checks that there is no error, starts the support FSTN black and white screen display subsystem, the application layer management module selects the corresponding hardware and interface for the display screen initialization code and the FSTN black and white screen display data transmission according to the resource situation of the hardware platform and the display screen support interface, the hardware and the interface including hardware SPI, hardware I2C, ordinary GPIO analog SPI, ordinary GPIO analog I2C interface;
[0039] S2, the drive layer management module communicates with the FSTN black and white screen through the drive layer processing hardware platform, resets the display screen after the Android system is started, transmits initialization parameters, converts the format of hal layer data and processes data transmission, the Android system normally starts, enters the uboot stage, and needs to display the startup LOGO information, at this time, the reset and display screen initialization code transmission processing are needed, the reset power-on timing and initialization code of different specifications of the display screen are different when the display screen initialization code is transmitted, the display screen is turned on, and the customized LOGO picture data is transmitted to the display screen for display; after the Uboot stage is completed, the system kernel starts the stage, reinitializes the display screen, and no reset operation is needed when the display screen is reinitialized;
[0040] S3, the hal layer processing module processes the application layer data in the hal layer, and the hal layer needs to convert color data into monochrome data for use when processing and converting data, receives the hal layer data and converts it, at this time, the hal layer data is all display data, the application layer data includes pictures, numbers, and characters, according to the Android multi-buffer refresh mechanism, the current displayed content is captured, the JNI drive layer interface is called, and the data is transmitted to the display screen.
[0041] Embodiment 2
[0042] When the FSTN black and white screen display subsystem is connected to the Window system for screen display management:
[0043] S1, the Window system staff checks the computer equipment and appliances one by one, checks that there is no error, starts the FSTN black and white screen display subsystem, and the application layer management module transmits the display screen initialization code and the FSTN black and white screen display data according to the resource situation of the computer equipment and the display screen support interface, the hardware and the interface are hardware SPI, normal GPIO analog SPI, and normal GPIO analog I2C interface;
[0044] S2, the drive layer management module communicates with the FSTN black and white screen through the drive layer processing hardware platform, resets the display screen after the Window system is started, transmits the initialization parameters, converts the format of the hal layer data and processes the data transmission, the Window system is normally started, enters the uboot stage, and needs to display the startup LOGO information, at this time, the reset and display screen initialization code transmission processing are needed, the reset power-on timing and initialization code of different specifications of the display screen are different, the display screen is lit, and the customized LOGO picture data is transmitted to the display screen for display; after the Uboot stage is completed, the system kernel starts the stage, and the display screen is reinitialized, and the reset operation is not needed when the display screen is reinitialized;
[0045] S3, the hal layer processing module processes the hal layer data, processes the application layer data in the hal layer, needs to convert the color data into monochrome data for use when the hal layer converts the data, receives the hal layer data and converts, at this time, the hal layer data is all display data, the application layer data is pictures, numbers and audio, the current displayed content is grabbed, the JNI drive layer interface is called, and the data is transmitted to the display screen.
[0046] Specifically: in actual application, a plurality of application layer management modules are used in cooperation with the drive layer management module, the hal layer processing module and the hardware management platform, the plurality of application layer management modules are located at different positions, the Android system staff checks the devices and instruments to be used one by one, checks and confirms that there is no error, starts the FSTN black and white screen display subsystem, and the application layer management module selects corresponding hardware and interfaces for the transmission of the display screen initialization code and the FSTN black and white screen display data according to the resource condition of the hardware platform and the display screen support interface, the hardware and the interface include hardware SPI, hardware I2C, ordinary GPIO analog SPI, ordinary GPIO analog I2C interface; the drive layer management module communicates with the FSTN black and white screen through the drive layer processing hardware platform, and processes the display screen reset after the Android system is started, the initialization parameter transmission, the format conversion and the data transmission of the hal layer data, the Android system normally starts, and when entering the uboot stage, the start LOGO information needs to be displayed, at this time, the reset and the display screen initialization code transmission processing are needed, the reset power-on timing and the initialization code of different specifications of the display screen exist difference conditions when the display screen is lit, and the customized LOGO picture data is transmitted to the display screen for display; after the Uboot stage is completed, the system kernel starts the stage, the display screen is reinitialized, and the reset operation is not needed when the display screen is reinitialized.The hal layer processing module processes the application layer data at the hal layer through hal layer data processing, and the hal layer needs to convert color data into monochrome data for use when performing data conversion, receives hal layer data and conversion, at this time, the hal layer data is all display data, the application layer data includes pictures, numbers, characters, according to the Android multi-cache refresh mechanism, the current displayed content is captured, the JNI driver layer interface is called, and the data is transmitted to the display screen, the application supports the FSTN black and white screen display subsystem, in actual use, according to the resource situation of the hardware platform and the display screen support interface, the corresponding hardware and interface display screen initialization code and FSTN black and white screen display data transmission are selected, the hardware platform is processed through the driver layer, and the FSTN black and white screen communication part is responsible for the display screen reset after the Android system is started, the initialization parameter transmission, the format conversion and data transmission processing of the hal layer data, the data is processed through the hal layer, according to the Android multi-cache refresh mechanism, the current displayed content is captured, the JNI driver layer interface is called, and the data is transmitted to the display screen, the required information can be displayed on different hardware platforms supporting the Android system, the display content includes numbers, English letters, Chinese characters and picture information, which is convenient for display, use and reading processing, the data and the corresponding analysis results supporting the FSTN black and white screen display are managed, visualized and stored, which is helpful for realizing the FSTN black and white screen display management through the Internet cloud management and control, and improving the intelligent level of the FSTN black and white screen display management.
[0047] Those skilled in the art can clearly understand that the modules and method steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0048] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-described device, equipment and module can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0049] The modules as the driving layer management, application layer management, hal layer processing and hardware management platform can or can not be physically separated, the components displayed as modules can or can not be physical units, and can be located in one place or distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0050] In addition, each function module in each embodiment of the present application can be integrated in one processing module, or each module can exist physically independently, or two or more modules can be integrated in one module.
[0051] In addition, it should be further noted that the combination of each technical feature in the present case is not limited to the combination described in the claims of the present case or the combination described in the specific embodiments, and all technical features described in the present case can be freely combined or combined in any manner, unless contradictory to each other.
[0052] It should be noted that the above only lists specific embodiments of the present application, and obviously the present application is not limited to the above embodiments, and there are many similar changes. Any modification, equivalent replacement, improvement, etc. directly derived or thought of by those skilled in the art from the content disclosed by the present application shall fall within the protection scope of the present application.
[0053] The above is only a preferred embodiment of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for supporting FSTN black and white screen display based on an Android system, characterized in that, The method comprises the following specific steps: S1, generating a support FSTN black and white screen display subsystem, according to the resource condition of the hardware platform and the support interface of the display screen, selecting corresponding hardware and interface for the transmission of the display screen initialization code and the FSTN black and white screen display data; S2, establishing a driving layer and a hal layer, processing the communication part of the hardware platform and the FSTN black and white screen through the driving layer, being responsible for the display screen reset after the Android system boot, the transmission of the initialization parameter, the format conversion of the hal layer data and the data transmission processing; S3, processing the application layer data in the hal layer, according to the Android multi-buffer refreshing mechanism, grabbing the current display content, calling the JNI driving layer interface, and transmitting the data to the display screen.
2. The method for supporting FSTN black and white screen display based on Android system according to claim 1, characterized in that: The hardware and interface in S1 include hardware SPI, hardware I2C, normal GPIO analog SPI and normal GPIO analog I2C interface.
3. The method for supporting FSTN black and white screen display based on Android system according to claim 1, characterized in that: The S2 further comprises the following specific steps: S201, normally booting the Android system, entering the uboot stage, and displaying the boot LOGO information, at this time, the reset and the display screen initialization code transmission processing are needed, the display screen is lit, and the customized LOGO picture data is transmitted to the display screen for display; S202, after completing the Uboot stage, the system kernel starts the stage, reinitializes the display screen, receives the hal layer data and converts, at this time, the hal layer data are all display data.
4. The method for supporting FSTN black and white screen display based on Android system according to claim 1, characterized in that: The application layer data in S3 includes pictures, numbers and characters.
5. The method of claim 1, wherein the method is based on an Android system supporting FSTN black and white screen display. The reset power-on timing and initialization code of the display screen in S201 are different for different specifications of the display screen.
6. The method for supporting FSTN black and white screen display based on Android system according to claim 1, characterized in that: The support FSTN black and white screen display subsystem comprises a driving layer management module, an application layer management module, a hal layer processing module and a hardware management platform, the output end of the application layer management module is in communication connection with the input end of the hal layer processing module, the output end of the hal layer processing module is in communication connection with the input end of the driving layer management module, and the output end of the driving layer management module is in communication connection with the input end of the hardware management platform.
7. The method according to claim 6, characterized in that: the driving layer management module is used for receiving the processing data sent by the hal layer, processing the communication part of the hardware platform and the FSTN black and white screen, being responsible for the display screen reset after the Android system boot, the transmission of the initialization parameter, the format conversion of the hal layer data and the data transmission processing; the application layer management module is used for receiving the manual release operation instruction, according to the resource condition of the hardware platform and the support interface of the display screen, selecting corresponding hardware and interface for the transmission of the display screen initialization code and the FSTN black and white screen display data.
8. The method of claim 6, wherein the method is based on an Android system supporting FSTN black and white screen display. The hardware management platform is used for comprehensively managing a hardware platform running the Android system, an auxiliary display device, data sent by a driver layer, data sent by an application layer and data processed by a hal layer, and performing real-time monitoring on each link, automatic marking and early warning processing on problem points.
9. The method of claim 6, wherein the method is based on an Android system and supports FSTN black and white screen display. The hal layer processing module is used for data processing, processes application layer data in an Android native mode, captures current displayed content, calls a JNI driver layer interface, and transmits data to a display screen. The hal layer processing module is also used for sending the above flow data to the hardware management platform inside for unified management.
10. The method of claim 1, wherein the method is based on an Android system supporting FSTN black and white screen display. The S202 does not need a reset operation when reinitializing the display screen, and the hal layer needs to convert color data into monochrome data for use when processing and converting data.