Display control method and device of ink screen, terminal and readable storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-14
- Publication Date
- 2026-08-11
AI Technical Summary
[0002]随着墨水屏终端应用功能的增多,越来越多人具有在墨水屏终端设备上安装第三方应用进行使用的需求,但是,市面上支持手写的第三方应用一般都只适配了LCD屏幕或者LED屏幕,第三方应用需要被修改底层代码才能适配地在墨水屏终端上运行,这样每一种第三方应用都需要进行相应的代码修改的适配过程,导致第三方应用适配墨水屏的操作极其复杂
Smart Images

Figure CN122547433A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of e-ink display technology, and in particular to a display control method, device, terminal, and readable storage medium for e-ink displays. Background Technology
[0002] As the functions of e-ink display terminals increase, more and more people have the need to install third-party applications on e-ink display terminals. However, most third-party applications that support handwriting on the market are only adapted to LCD or LED screens. Third-party applications need to have their underlying code modified to run on e-ink display terminals. This means that each third-party application needs to undergo a corresponding code modification adaptation process, making the operation of adapting third-party applications to e-ink displays extremely complicated. Summary of the Invention
[0003] In view of this, the purpose of this application is to overcome the shortcomings of the prior art and provide a display control method for an e-ink screen, the method being applied to an e-ink screen terminal, the method comprising: When the e-ink terminal starts up, a preset auxiliary monitoring service is started, and the auxiliary monitoring service is registered as an auxiliary service of the operating system of the e-ink terminal. In response to a click or touch event occurring in the user interface of a third-party application, the operating system sends the control attribute information corresponding to the click or touch event to the auxiliary monitoring service. The auxiliary monitoring service determines the handwriting function corresponding to the click or touch event based on the attribute information and the preset application configuration file database. In response to a handwriting event occurring in the user interface of a third-party application, the handwriting is displayed on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event.
[0004] In one embodiment, the step of sending the control attribute information corresponding to the click or touch event to the auxiliary monitoring service via the operating system in response to a click or touch event occurring in the user interface of a third-party application includes: In response to a click or touch event occurring in the user interface of a third-party application, the control attribute information corresponding to the click or touch event is obtained through the click or touch event monitoring function of the operating system; The operating system sends the control attribute information to the auxiliary monitoring service.
[0005] In one embodiment, the control attribute information includes: third-party application package name, control class name, and control number. The step of determining the handwriting function corresponding to the click or touch event based on the attribute information and a preset application configuration file database through the auxiliary monitoring service includes: The auxiliary monitoring service instantiates the target application-specific processor in the preset application-specific processor library according to the third-party application package name. The target configuration file is determined from a preset application configuration file database based on the third-party application package name using the target application-specific processor. The handwriting function corresponding to the click or touch event is determined in the target configuration file by using the target application-specific processor, based on the control class name and the control number.
[0006] In one embodiment, the target configuration file defines the mapping relationship between the control class name and control number of each control and the handwriting function. The step of determining the handwriting function corresponding to the click or touch event in the target configuration file based on the control class name and the control number using the target application-specific processor includes: The target application-specific processor compares the control class name and the control number with the control class name and control number of each control in the target configuration file. Based on the comparison results, the handwriting function corresponding to the click or touch event is determined. The handwriting function includes: writing, writing pen type, writing pen width, and erasing.
[0007] In one embodiment, the step of displaying handwritten strokes on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event includes: Based on the handwriting function and the handwriting event, handwriting data is generated; The handwriting rendering interface of the e-ink screen is invoked. Before the e-ink screen completes a full-frame refresh, the handwriting event and the handwriting data are used to control the e-ink screen to perform a local area refresh operation to display the handwriting.
[0008] In one embodiment, the step of controlling the e-ink screen to perform a partial area refresh operation based on the handwriting event and the handwriting data to display the handwriting includes: Based on the handwriting event, the target display area of the handwriting on the ink screen is determined; The driver interface of the e-ink screen is invoked to generate a driving waveform for the target display area based on the handwriting data; Based on the driving waveform, the e-ink screen is controlled to perform a local area refresh operation on the target display area to display the handwritten handwriting.
[0009] In one embodiment, the method further includes: Obtain the application configuration file and application package name of each third-party application that can be applied to the e-ink terminal; The application package name and application configuration file of each third-party application are bound and stored in the e-ink terminal to obtain a preset application configuration file database.
[0010] This application also provides a display control device for an e-ink screen, the display control device for the e-ink screen comprising: The startup module is used to start a preset auxiliary monitoring service when the e-ink terminal starts up, and to register the auxiliary monitoring service as an auxiliary service of the operating system of the e-ink terminal. The acquisition module is used to respond to click or touch events occurring in the user interface of a third-party application and send the control attribute information corresponding to the click or touch event to the auxiliary monitoring service through the operating system. The determination module is used to determine the handwriting function corresponding to the click or touch event based on the attribute information and a preset application configuration file database through the auxiliary monitoring service. The display module is used to respond to handwriting events occurring in the user interface of a third-party application and to display handwritten strokes on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting events.
[0011] This application also provides an e-ink screen terminal, which includes a processor and a memory. The memory stores a computer program, and the processor executes the computer program to implement the above-described e-ink screen display control method.
[0012] This application also provides a computer-readable storage medium storing a computer program that, when run on a processor, executes the above-described e-ink screen display control method.
[0013] The embodiments of this application have the following beneficial effects: In this embodiment, when the e-ink terminal starts, a preset auxiliary monitoring service is initiated and registered as an auxiliary service of the e-ink terminal's operating system. In response to click or touch events occurring in the user interface of a third-party application, the operating system sends the control attribute information corresponding to the click or touch event to the auxiliary monitoring service. The auxiliary monitoring service determines the handwriting function corresponding to the click or touch event based on the attribute information and a preset application configuration file database. In response to handwriting events occurring in the user interface of a third-party application, handwriting is displayed on the e-ink screen of the e-ink terminal based on the handwriting function and handwriting event. By setting up an auxiliary monitoring service in the e-ink terminal, during the use of a third-party application, the auxiliary monitoring service monitors the third-party application and, in conjunction with the preset application configuration file, determines the corresponding handwriting function and handwriting event. Simultaneously, handwriting is displayed on the e-ink screen of the e-ink terminal based on the handwriting function and handwriting event, avoiding the need for third-party applications to modify their code to adapt to the e-ink screen and reducing the complexity of third-party application adaptation to e-ink screens. Attached Figure Description
[0014] To more clearly illustrate the technical solutions of this application, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and therefore should not be considered as a limitation on the scope of protection of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 A flowchart illustrating the first embodiment of the display control method for an e-ink screen provided in this application; Figure 2 A flowchart illustrating a second embodiment of the display control method for an e-ink screen provided in this application; Figure 3 A flowchart illustrating a third embodiment of the display control method for an e-ink screen provided in this application; Figure 4 A timing diagram provided in this application showing the process from a user triggering a click or touch event to determining the handwriting function; Figure 5 A flowchart illustrating the fourth embodiment of the display control method for an e-ink screen provided in this application; Figure 6 A flowchart illustrating the fifth embodiment of the display control method for an e-ink screen provided in this application; Figure 7 A schematic diagram of the display control device for the e-ink screen provided in this application. Detailed Implementation
[0016] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0017] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0018] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of this application, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.
[0019] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0020] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art as described in the various embodiments of this application. The terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be construed as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.
[0021] It is understood that the method of this application is applied to e-ink display terminals, which can be smart terminals, PC devices, etc. For ease of description, the following embodiments use e-ink display terminals as the execution subject for illustration.
[0022] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0023] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a first embodiment of the display control method for an e-ink screen provided in this application. The method is applied to an e-ink screen terminal and includes: Step S101: When the e-ink terminal starts up, a preset auxiliary monitoring service is started, and the auxiliary monitoring service is registered as an auxiliary service of the operating system of the e-ink terminal.
[0024] In this embodiment, upon startup, the e-ink terminal immediately initiates a preset auxiliary monitoring service and registers this service as an auxiliary service of the e-ink terminal's operating system. The auxiliary monitoring service is a monitoring service program designed to enable the e-ink terminal to adapt to all third-party applications. This monitoring service program registers with the e-ink terminal's operating system's auxiliary services, allowing it to interact with the operating system and obtain relevant information. The e-ink terminal's operating system can be Android, iOS, Windows, etc.
[0025] Step S102: In response to a click or touch event occurring in the user interface of a third-party application, the operating system sends the control attribute information corresponding to the click or touch event to the auxiliary monitoring service.
[0026] In this embodiment, when a user uses a third-party application on an e-ink terminal, the user interface of the third-party application will be displayed on the e-ink screen of the e-ink terminal. In response to the click or touch event of the user interface of the third-party application, the e-ink terminal sends the control attribute information corresponding to the click or touch event to the auxiliary monitoring service through the operating system.
[0027] It's important to note that click or touch events are events triggered by the user on the user interface of a third-party application, activating corresponding controls. These events are ultimately captured by specific functions of the operating system, generating control property information. The operating system then sends this control property information to the auxiliary monitoring service. Third-party applications are those with handwriting recognition capabilities, such as drawing applications and notebook applications.
[0028] Step S103: Through the auxiliary monitoring service, determine the handwriting function corresponding to the click or touch event based on the attribute information and the preset application configuration file database.
[0029] In this embodiment, the e-ink terminal uses an auxiliary monitoring service to query a preset application configuration file database based on attribute information to determine the handwriting function corresponding to a click or touch event. The handwriting function includes writing and erasing. It should be noted that the preset application configuration file database is created and set in advance within the e-ink terminal, and it contains handwriting functions corresponding to various controls from different third-party applications.
[0030] Step S104: In response to a handwriting event occurring in the user interface of a third-party application, the handwriting is displayed on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event.
[0031] In this embodiment, when a user performs a handwriting operation on the user interface of a third-party application displayed on the e-ink screen of the e-ink terminal, the e-ink terminal responds to the handwriting event occurring on the user interface of the third-party application and displays the handwritten handwriting on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event. It can be understood that a handwriting event is the event corresponding to the user sliding their finger or using a stylus on the user interface. The handwriting event includes the position information of the finger or stylus sliding. The handwritten handwriting is the writing trace left by the user when performing a handwriting operation on the user interface; the handwritten handwriting can be a written trace or an erased trace.
[0032] In this embodiment, the e-ink terminal starts a preset auxiliary monitoring service upon startup and registers this service as an auxiliary service of the operating system. In response to click or touch events occurring in the user interface of a third-party application, the operating system sends the control attribute information corresponding to the click or touch event to the auxiliary monitoring service. The auxiliary monitoring service determines the handwriting function corresponding to the click or touch event based on the attribute information and a preset application configuration file database. In response to handwriting events occurring in the user interface of a third-party application, handwriting is displayed on the e-ink screen of the terminal based on the handwriting function and the handwriting event. By setting up an auxiliary monitoring service in the e-ink terminal, during the use of a third-party application, the auxiliary monitoring service monitors the application and, in conjunction with the preset application configuration file, determines the corresponding handwriting function and handwriting event. Simultaneously, handwriting is displayed on the e-ink screen based on the handwriting function and handwriting event, avoiding the need for third-party applications to modify their code to adapt to the e-ink screen and reducing the complexity of third-party application adaptation to e-ink screens.
[0033] Please refer to Figure 2 , Figure 2 The flowchart illustrates a second embodiment of the e-ink screen display control method provided in this application. The difference between the second and first embodiments lies in the step of sending the control attribute information corresponding to the click or touch event to the auxiliary monitoring service via the operating system in response to a click or touch event occurring in the user interface of a third-party application. This step includes: Step S201: In response to a click or touch event occurring in the user interface of a third-party application, the control attribute information corresponding to the click or touch event is obtained through the click or touch event monitoring function of the operating system.
[0034] In this embodiment, the e-ink terminal responds to click or touch events occurring in the user interface of a third-party application by obtaining the control attribute information corresponding to the click or touch event through the operating system's click or touch event monitoring function. It should be noted that the click or touch event monitoring function differs across operating systems; the function's purpose is simply to capture the control attribute information corresponding to the click or touch event.
[0035] In one embodiment, the operating system of the e-ink terminal is the Android system, and the click or touch event monitoring function of the Android system is the dispatchTouchEvent function in the View. That is, all click or touch events of the user interface of all applications in the Android system will eventually reach the dispatchTouchEvent function in the View. The control attribute information of the control that caused the click or touch event can be obtained in this function.
[0036] Step S202: The control attribute information is sent to the auxiliary monitoring service through the operating system.
[0037] In this embodiment, after capturing the control attribute information corresponding to a click or touch event, the operating system of the e-ink terminal sends the control attribute information to the auxiliary monitoring service. The auxiliary monitoring service is registered as an auxiliary service of the e-ink terminal's operating system, and can then interact with the operating system to obtain the corresponding control attribute information.
[0038] In this embodiment, the e-ink terminal captures control attribute information of controls triggered by click or touch events in the user interface of a third-party application through its own operating system. This control attribute information is then sent to the auxiliary monitoring service, which is pre-registered as an auxiliary service of the e-ink terminal's operating system. By directly using the native functions of the native system to capture and transmit control attribute information to the auxiliary monitoring service, and avoiding other methods of obtaining control attribute information for the auxiliary monitoring service, the ease of obtaining control attribute information for the auxiliary monitoring service is improved, thus increasing the efficiency of acquisition.
[0039] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating a third embodiment of the e-ink screen display control method provided in this application. The difference between this third embodiment and the first to second embodiments is that the control attribute information includes: a third-party application package name, a control class name, and a control number. The step of determining the handwriting function corresponding to the click or touch event based on the attribute information and a preset application configuration file database through the auxiliary monitoring service includes: Step S301: Through the auxiliary monitoring service, instantiate the target application-specific processor in the preset application-specific processor library according to the third-party application package name.
[0040] In this embodiment, the e-ink terminal instantiates a target application-specific processor in a preset application-specific processor library based on the third-party application package name through an auxiliary monitoring service. It is understood that the preset application-specific processor library contains application-specific processors for various third-party applications, each bound to and stored with the corresponding third-party application package name. The auxiliary monitoring service can then query the application-specific processor library based on the obtained third-party application package name to determine the target application-specific processor and subsequently instantiate it.
[0041] It should be noted that the application-specific processor is a Processor class. The application-specific processor can query the target configuration file corresponding to the third-party application package name, and directly call the e-ink screen terminal's underlying operating system's dedicated e-ink screen rendering interface to display the corresponding handwriting.
[0042] Step S302: The target application-specific processor determines the target configuration file in the preset application configuration file database based on the third-party application package name.
[0043] In this embodiment, the e-ink terminal uses a dedicated processor for the target application to determine the target configuration file based on the third-party application package name in a preset application configuration file database. It is understood that the preset application configuration file database contains application configuration files for various third-party applications. Each application configuration file is bound to and stored with the corresponding third-party application package name. The application configuration file defines the handwriting functionality that each control in the third-party application (represented by a combination of control class name and control number) needs to respond to. The dedicated processor for the target application determines the target configuration file by querying the preset application configuration file database for the corresponding third-party application package name.
[0044] Step S303: Using the target application-specific processor, determine the handwriting function corresponding to the click or touch event in the target configuration file based on the control class name and the control number.
[0045] In this embodiment, the e-ink terminal uses a dedicated processor for the target application to determine the handwriting function corresponding to a click or touch event in the target configuration file based on the control class name and control number.
[0046] In one embodiment, the target configuration file defines the mapping relationship between the control class name and control number of each control and the handwriting function. The step of determining the handwriting function corresponding to the click or touch event in the target configuration file based on the control class name and the control number using the target application-specific processor includes: Step S3031: Using the target application-specific processor, the control class name and the control number are compared with the control class name and control number of each control in the target configuration file.
[0047] Step S3032: Based on the comparison results, determine the handwriting function corresponding to the click or touch event. The handwriting function includes: writing, writing pen type, writing pen width, erasing, erasing pen type, and erasing pen width.
[0048] In this embodiment, the e-ink terminal uses a dedicated processor for the target application to compare the control class name and control number with the control class name and control number of each control in the target configuration file. Based on the comparison results, the handwriting function corresponding to the click or touch event is determined. The handwriting function includes: writing, writing pen type, writing pen width, and erasing. It can be understood that the target application configuration file defines the handwriting function that each control in the third-party application needs to respond to through a combination of control class name and control number. By comparing the control class name and control number in the control configuration information with the control class name and control number of each control in the target configuration file, the handwriting function corresponding to the control class name and control number in the control configuration information can be located, that is, the handwriting function corresponding to the click or touch event.
[0049] In this embodiment, the e-ink terminal uses an auxiliary monitoring service to instantiate a target application-specific processor in a preset application-specific processor library based on the third-party application package name. The target application-specific processor then determines the target configuration file in a preset application configuration file database based on the third-party application package name. Based on the control class name and control number, it determines the handwriting function corresponding to the click or touch event in the target configuration file. This allows for rapid determination of the handwriting function corresponding to the click or touch event based on control attribute information including the third-party application package name, control class name, and control number, thus improving efficiency.
[0050] In one embodiment, such as Figure 4 As shown, Figure 4This application provides a timing diagram for the process from a user triggering a click or touch event to determining the handwriting function. When the e-ink terminal starts, an auxiliary monitoring service is initiated and registered as an auxiliary service of the e-ink terminal's operating system. In response to a click or touch event occurring in the user interface of a third-party application, the operating system sends the corresponding control attribute information (third-party application package name, control class name, and control number) to the auxiliary monitoring service. The auxiliary monitoring service instantiates an application-specific processor in a preset application-specific processor library based on the third-party application package name. The application-specific processor determines the configuration file in a preset application configuration file database based on the third-party application package name. The auxiliary monitoring service sends the control class name and control number to the application-specific processor, which then determines the handwriting function corresponding to the click or touch event in the configuration file based on the control class name and control number.
[0051] Please refer to Figure 5 , Figure 5 This is a flowchart illustrating a fourth embodiment of the display control method for an e-ink screen provided in this application. The difference between the fourth embodiment and the first to third embodiments is that the step of displaying handwritten strokes on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event includes: Step S401: Generate handwritten data based on the handwriting function and the handwriting event.
[0052] In this embodiment, the e-ink terminal generates handwriting data based on handwriting functions and handwriting events. The handwriting data includes the writing pen type, writing pen width, erasing pen type, erasing pen width, and writing or erasing position. It can be understood that a handwriting event contains position information of the user's finger or stylus swiping on the user interface; this position information is the writing or erasing position in the handwriting data. The handwriting function includes: writing, writing pen type, writing pen width, and erasing. When the handwriting event is the user writing content on the user interface, the handwriting function selected by the user includes writing, writing pen type, and writing pen width; that is, the writing data corresponding to the written content includes writing pen type and writing pen width. When the handwriting event is the user erasing content on the user interface, the handwriting function selected by the user includes erasing, erasing pen type, and erasing pen width; that is, the writing data corresponding to the written content includes erasing pen type and erasing pen width.
[0053] Step S402: Call the ink screen's handwriting rendering interface. Before the ink screen completes a full-frame refresh, control the ink screen to perform a local area refresh operation based on the handwriting event and the handwriting data to display the handwriting.
[0054] In this embodiment, the e-ink terminal calls the e-ink's handwriting rendering interface through the target application's dedicated processor. Before the e-ink completes a full-frame refresh, it controls the e-ink to perform a partial area refresh operation based on handwriting events and handwriting data to display the handwriting. It is understood that due to the unique display principle of e-ink screens (relying on the movement of positive and negative electrons), handwriting on an e-ink screen typically requires at least one frame refresh (100-300ms) before it can be displayed, resulting in a poor user experience. This application, however, controls the e-ink to perform a partial area refresh operation based on handwriting events and handwriting data before the e-ink completes a full-frame refresh, thus achieving real-time display of handwriting and improving the user experience.
[0055] In one embodiment, the step of controlling the e-ink screen to perform a partial area refresh operation based on the handwriting event and the handwriting data to display the handwriting includes: Step S4021: Based on the handwriting event, determine the target display area of the handwriting in the ink screen.
[0056] Step S4022: Call the driving interface of the e-ink screen to generate a driving waveform for the target display area based on the handwriting data.
[0057] Step S4023: Based on the driving waveform, control the e-ink screen to perform a local area refresh operation on the target display area to display the handwritten handwriting.
[0058] In this embodiment, the e-ink terminal, through a dedicated processor for the target application, determines the target display area of the handwritten data on the e-ink screen based on the handwriting event. The target display area is the region on the e-ink screen where the handwriting event was triggered, and it is also the area where the handwriting needs to be displayed. The e-ink terminal, through the dedicated processor for the target application, calls the e-ink screen's driver interface to generate a drive waveform for the target display area based on the handwriting data. This drive waveform is a driving signal used to drive grayscale changes on the e-ink screen; different grayscale changes correspond to different drive waveforms. Based on the drive waveform, the e-ink terminal, through the dedicated processor for the target application, controls the e-ink screen to perform a partial area refresh operation on the target display area to display the handwriting. It can be understood that the drive waveform only controls the grayscale change of the target display area on the e-ink screen where the handwriting needs to be displayed, thus avoiding the need to refresh the entire e-ink screen, improving efficiency, and ultimately achieving real-time display of the handwriting, thereby improving the user experience.
[0059] In this embodiment, the e-ink terminal controls the e-ink screen to perform a partial area refresh operation based on handwriting events and handwriting data before the e-ink screen completes a full frame refresh, so as to display the handwriting and realize the real-time display of the handwriting, thereby improving the user experience.
[0060] Please refer to Figure 6 , Figure 6 This is a flowchart illustrating a fifth embodiment of the display control method for an e-ink screen provided in this application. The difference between the fifth embodiment and the first to fourth embodiments is that the method further includes: Step S601: Obtain the application configuration file and application package name of each third-party application that can be applied to the e-ink terminal.
[0061] Step S602: Bind the application package name and application configuration file of each third-party application and store them in the e-ink terminal to obtain a preset application configuration file database.
[0062] In this embodiment, before the e-ink terminal is put into use, the application configuration file and application package name of each third-party application applicable to the e-ink terminal are obtained. The application package name and application configuration file of each third-party application are then bound and stored in the e-ink terminal, resulting in a preset application configuration file database. This allows the e-ink terminal to quickly obtain the corresponding application configuration file based on the obtained control attribute information when responding to click or touch events.
[0063] Before the e-ink terminal in this embodiment is put into use, the application package name and application configuration file of each third-party application are bound and stored in the e-ink terminal to obtain a preset application configuration file database. This lays the foundation for the specific implementation process of the subsequent display control of the e-ink screen, so that when the e-ink terminal responds to a click or touch event, it can quickly obtain the corresponding application configuration file based on the obtained control attribute information, which helps to reduce the complexity of third-party applications adapting to the e-ink screen.
[0064] refer to Figure 7 , Figure 7 This is a schematic diagram of the display control device for the e-ink screen provided in this application. The display control device for the e-ink screen includes: The startup module 10 is used to start a preset auxiliary monitoring service when the e-ink terminal starts up, and to register the auxiliary monitoring service as an auxiliary service of the operating system of the e-ink terminal.
[0065] The acquisition module 20 is used to respond to click or touch events occurring in the user interface of a third-party application and send the control attribute information corresponding to the click or touch event to the auxiliary monitoring service through the operating system.
[0066] The determination module 30 is used to determine the handwriting function corresponding to the click or touch event based on the attribute information and the preset application configuration file database through the auxiliary monitoring service.
[0067] Display module 40 is used to respond to handwriting events occurring in the user interface of a third-party application and display handwritten strokes on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting events.
[0068] It is understood that the display control device of the e-ink screen in this embodiment corresponds to the display control method of the e-ink screen in the above embodiment. The options in the above embodiment are also applicable to this embodiment, so they will not be described again here.
[0069] This application also provides an e-ink display terminal, which, exemplary, includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to enable the e-ink display terminal to perform the above-described e-ink display control method.
[0070] The processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including at least one of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Network Processor (NP), Digital Signal Processor (DSP), Application-Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application.
[0071] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory is used to store computer programs, and the processor can execute the computer programs accordingly after receiving execution instructions.
[0072] This application also provides a computer storage medium for storing the computer program used in the aforementioned e-ink terminal. The computer storage medium can be a readable storage medium, a non-volatile storage medium, or a volatile storage medium. For example, the computer storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0073] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, in alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0074] In addition, the functional modules or units in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0075] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an e-ink terminal (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0076] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A display control method of an ink screen, characterized by, The method is applied to an e-ink display terminal, and the method includes: When the e-ink terminal starts up, a preset auxiliary monitoring service is started, and the auxiliary monitoring service is registered as an auxiliary service of the operating system of the e-ink terminal. In response to a click or touch event occurring in the user interface of a third-party application, the operating system sends the control attribute information corresponding to the click or touch event to the auxiliary monitoring service. The auxiliary monitoring service determines the handwriting function corresponding to the click or touch event based on the attribute information and the preset application configuration file database. In response to a handwriting event occurring in the user interface of a third-party application, the handwriting is displayed on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event.
2. The display control method for an e-ink screen according to claim 1, characterized in that, The step of sending the control attribute information corresponding to the click or touch event to the auxiliary monitoring service via the operating system in response to a click or touch event occurring in the user interface of a third-party application includes: In response to a click or touch event occurring in the user interface of a third-party application, the control attribute information corresponding to the click or touch event is obtained through the click or touch event monitoring function of the operating system; The operating system sends the control attribute information to the auxiliary monitoring service.
3. The display control method for an e-ink screen according to claim 1, characterized in that, The control attribute information includes: third-party application package name, control class name, and control number. The step of determining the handwriting function corresponding to the click or touch event through the auxiliary monitoring service, based on the attribute information and a preset application configuration file database, includes: The auxiliary monitoring service instantiates the target application-specific processor in the preset application-specific processor library according to the third-party application package name. The target configuration file is determined from a preset application configuration file database based on the third-party application package name using the target application-specific processor. The handwriting function corresponding to the click or touch event is determined in the target configuration file by using the target application-specific processor, based on the control class name and the control number.
4. The display control method for an e-ink screen according to claim 3, characterized in that, The target configuration file defines the mapping relationship between the control class name and control number of each control and the handwriting function. The step of determining the handwriting function corresponding to the click or touch event in the target configuration file based on the control class name and control number using the target application-specific processor includes: The target application-specific processor compares the control class name and the control number with the control class name and control number of each control in the target configuration file. Based on the comparison results, the handwriting function corresponding to the click or touch event is determined.
5. The display control method for an e-ink screen according to claim 1, characterized in that, The step of displaying handwritten strokes on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting event includes: Based on the handwriting function and the handwriting event, handwriting data is generated; The handwriting rendering interface of the e-ink screen is invoked. Before the e-ink screen completes a full-frame refresh, the handwriting event and the handwriting data are used to control the e-ink screen to perform a local area refresh operation to display the handwriting.
6. The display control method for an e-ink screen according to claim 5, characterized in that, The step of controlling the e-ink screen to perform a partial area refresh operation based on the handwriting event and the handwriting data to display the handwriting includes: Based on the handwriting event, the target display area of the handwriting on the ink screen is determined; The driver interface of the e-ink screen is invoked to generate a driving waveform for the target display area based on the handwriting data; Based on the driving waveform, the e-ink screen is controlled to perform a local area refresh operation on the target display area to display the handwritten handwriting.
7. The display control method for an e-ink screen according to any one of claims 1-6, characterized in that, The method further includes: Obtain the application configuration file and application package name of each third-party application that can be applied to the e-ink terminal; The application package name and application configuration file of each third-party application are bound and stored in the e-ink terminal to obtain a preset application configuration file database.
8. A display control device for an e-ink screen, characterized in that, The display control device for the e-ink screen includes: The startup module is used to start a preset auxiliary monitoring service when the e-ink terminal starts up, and to register the auxiliary monitoring service as an auxiliary service of the operating system of the e-ink terminal. The acquisition module is used to respond to click or touch events occurring in the user interface of a third-party application and send the control attribute information corresponding to the click or touch event to the auxiliary monitoring service through the operating system. The determination module is used to determine the handwriting function corresponding to the click or touch event based on the attribute information and a preset application configuration file database through the auxiliary monitoring service. The display module is used to respond to handwriting events occurring in the user interface of a third-party application and to display handwritten strokes on the e-ink screen of the e-ink terminal based on the handwriting function and the handwriting events.
9. An e-ink display terminal, characterized in that, The e-ink terminal includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the display control method of the e-ink screen according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the display control method of the e-ink screen according to any one of claims 1-7.