Accelerated writing method, apparatus, electronic device, and computer readable storage medium

By setting up an acceleration layer on the interactive screen, the Android system directly draws the handwriting and displays the first color, solving the latency problem caused by the complex interaction between Windows and Android systems, ensuring the consistency of the writing trajectory color, and improving the user experience.

CN115933956BActive Publication Date: 2025-12-19BEIJING HITEVISION AIXUE EDUCATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211541549.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-02
Publication Date
2025-12-19
Estimated Expiration
2042-12-02

AI Technical Summary

Technical Problem

When existing electronic devices perform writing input on interactive large screens, the complex interaction between Windows and Android systems causes delays in trajectory drawing, affecting the user experience.

Method used

By setting an acceleration layer on the interactive screen, the Android system directly draws the handwriting and displays the first color at the first preset position. The second system draws the trajectory based on the first color to ensure that the color of the second writing trajectory is consistent with the color of the first writing trajectory.

Benefits of technology

This reduces latency, improves the user experience, ensures that the colors of the first and second writing paths are completely consistent, and enhances the smoothness of writing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115933956B_ABST
    Figure CN115933956B_ABST
Patent Text Reader

Abstract

The application relates to a writing method, a writing device, an electronic device and a computer readable storage medium, comprising: when a first system starts a first writing operation in a first color according to received writing input information, sending the first color to a second system, and displaying a first writing track formed by the first writing operation following the writing input information; the second system sends a display request to the first system; the first system renders a first preset handwriting in the first color at a first preset position, and sends a completion instruction to the second system; the second system obtains a rendering color of the first preset handwriting at the first preset position, and takes the rendering color as a second color; the second system starts a second writing operation in the second color, and displays a second writing track formed by the second writing operation following the writing input information; and the first writing track is accelerated. The color of the first writing track and the second writing track can be completely consistent, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic equipment, in particular to an accelerated writing method and device, electronic equipment and computer readable storage medium. BACKGROUND

[0002] The existing electronic equipment, such as an interactive large screen, usually has a Windows and Android dual system, and the user uses the Windows system, and the Windows system screen is displayed through the Android system. However, the interactive large screen interacts with the outside through the Android system and displays through the Android system. When the user writes and inputs on the interactive large screen, the Android system first sends the interaction information to the Windows system, which is processed by the Windows system, and then the Windows system sends the display information to the Android system, which is finally displayed on the large screen. Due to the complexity of the whole process, especially when the trajectory is drawn through the interactive large screen, a delay phenomenon occurs.

[0003] To solve the technical problem of delay, an acceleration layer is set, that is, a display buffer for directly drawing the same writing trace by the Android system is set on the interactive large screen. Since the trace drawn by the Android system overlaps the Windows trace, and the speed of drawing the trace by the Android system is faster than that of Windows, the user will feel that the whole trace is the trace in Windows, thereby solving the problem of delayed display.

[0004] In the above-mentioned accelerated display process, since the trajectory drawn by the user usually has a color, and the Windows system has different display modes for the same color, which may cause a certain difference between the color of the trajectory displayed on the acceleration layer and the color of the trajectory displayed by the Windows system, thereby affecting the user experience. SUMMARY

[0005] Based on the above status, the main purpose of the present application is to provide an accelerated writing method, device, electronic equipment and computer readable storage medium. The first system displays a first color at a first predetermined position in advance, so that the second system can draw a trajectory according to the first color, so that the color of the second writing trajectory is completely consistent with the color of the first writing trajectory, thereby improving the user experience.

[0006] To achieve the above-mentioned purpose, the technical scheme adopted by the present application is as follows:

[0007] An accelerated writing method, comprising:

[0008] The first writing step: when the first system starts a first writing operation in a first color according to received writing input information, the first color is sent to the second system while the first writing operation is displayed following the writing input information to form a first writing track;

[0009] The sending request step: after the second system receives the first color, a display request is sent to the first system, which includes displaying the first color at a first preset position on the display screen;

[0010] The rendering step: after the first system receives the display request, the first preset handwriting is rendered in the first color at the first preset position for a first preset time, and a completion instruction is sent to the second system;

[0011] The acquisition step: when the second system receives the completion instruction, the rendering color of the first preset handwriting at the first preset position is acquired after waiting for a second preset time, and it is used as a second color;

[0012] The second writing step: the second system starts a second writing operation in the second color, and displays a second writing track formed by the second writing operation following the received writing input information;

[0013] Wherein, the second writing track can be displayed on the display screen faster than the first writing track.

[0014] Optionally, the sending request step further comprises:

[0015] After the second system receives the first color, it is determined whether the second color corresponding to the first color and the current display mode of the display screen is stored;

[0016] If yes, the second color corresponding to the first color and the current display mode is directly obtained, and the second writing step is directly executed;

[0017] If not, the display request is sent to the first system, and when the second color is acquired by the second system, the correspondence between the first color, the current display mode and the second color is stored.

[0018] Optionally, the accelerated writing method further comprises:

[0019] When a writing end instruction is detected, the correspondence between the first color, the current display mode and the second color in the system is cleared;

[0020] Alternatively, the correspondence between the first color, the current display mode and the second color in the system is periodically cleared.

[0021] Optionally, the first preset position is located in a non-user operation area of the display screen.

[0022] The non-user operation area has four corner positions, and the first preset position is provided with two of the four corner positions.

[0023] The obtaining step comprises:

[0024] When the second system receives the completion instruction, the rendering color of the first preset handwriting of each first preset position is obtained after waiting for a second preset time, and whether the two rendering colors are consistent is compared.

[0025] Optionally, the sending request information further comprises: displaying a third color in a second preset position of the display screen, wherein the second preset position is provided with two of the two corner positions of another diagonal line of the non-user operation area; and the third color is a color different from the first color.

[0026] In the rendering step, before the sending completion instruction, the first preset handwriting in each second preset position is rendered with the third color for the first preset time.

[0027] The obtaining step comprises:

[0028] When the second system receives the completion instruction, the rendering color of the first preset handwriting of each first preset position is obtained after waiting for a second preset time, and the color of the second preset handwriting of each second preset position is obtained as a first check color and a second check color.

[0029] The two rendering colors, the first check color, and the second check color are compared, and if the following conditions are met at the same time, the rendering color is taken as the second color.

[0030] Condition one: the two rendering colors are consistent.

[0031] Condition two: the first check color and the second check color are consistent in color.

[0032] Condition three: the first check color and the second check color are inconsistent with the respective adjacent rendering color.

[0033] Optionally, when the first color is a bright color, the third color is a dark gray color; and when the first color is a dark color, the third color is a light gray color; wherein the bright color refers to a color whose RGB value is greater than a preset value.

[0034] Or, when the first color and its inverse color are out of a preset similarity range, the third color is the inverse color of the first color.

[0035] When the first color and its inverse color are in a preset similarity range, if the first color is bright, the third color is dark gray; if the first color is dark, the third color is light gray.

[0036] Optionally, when receiving a current writing input information ending instruction, the second system erases the second writing track.

[0037] The application also relates to an accelerated writing device for the accelerated writing method mentioned above, comprising a first system and a second system,

[0038] The first system comprises:

[0039] A first writing unit, configured to send a first color to the second system when the first system starts a first writing operation in the first color according to received writing input information, and display a first writing track formed by the first writing operation following the writing input information;

[0040] A rendering unit, configured to render a first preset handwriting in the first color at the first preset position for a first preset time after the first system receives the display request, and send a completion instruction to the second system;

[0041] The second system comprises:

[0042] A sending request unit, configured to send a display request to the first system after the second system receives the first color, the display request comprising displaying the first color at a first preset position on the display screen;

[0043] An obtaining unit, configured to obtain a rendering color of the first preset handwriting at the first preset position after the second system receives the completion instruction and waits for a second preset time, and take the rendering color as a second color;

[0044] A second writing unit, configured to start a second writing operation in the second color by the second system, and display a second writing track formed by the second writing operation following the writing input information, so as to accelerate the first writing track;

[0045] Wherein, the second writing track can be displayed on the display screen faster than the first writing track at the same time.

[0046] The application also relates to an electronic device comprising the accelerated writing device mentioned above.

[0047] The electronic device comprises an interactive large screen or an electronic whiteboard.

[0048] The application also relates to a computer readable storage medium storing a computer program, wherein the computer readable storage medium controls a device on which the computer readable storage medium is located to execute the aforementioned accelerated writing method when the computer program is run.

[0049]

Advantages

[0050] When the first system displays the first writing track in the first color according to the writing input information, the first system also displays the first preset handwriting in the first preset position in the first color, the second system acquires the rendering color of the first preset handwriting in the first preset position and starts the second writing track in the color, the first preset handwriting is rendered in the first color and delayed for the first preset time, and the second system acquires the rendering color of the first preset position only after waiting for the second preset time, so that the color acquired by the second system is the color after the first preset handwriting is rendered, and the color is completely consistent with the color actually displayed on the display screen by the first system, so that the color of the first writing track is completely consistent with the color of the second writing track, thereby improving the user experience.

[0051] Other advantages of the application will be described in the specific embodiments by introducing specific technical features and technical solutions, and those skilled in the art should understand the advantages brought by the technical features and technical solutions through the introduction. BRIEF DESCRIPTION OF DRAWINGS

[0052] The preferred embodiment of the accelerated writing method of the application will be described below with reference to the accompanying drawings.

[0053] In the drawings:

[0054] Figure 1 The flow chart of the preferred embodiment of the accelerated writing method according to the application. DETAILED DESCRIPTION

[0055] The application will be described below based on the embodiments, but the application is not limited to the embodiments only. In the following detailed description of the application, some specific details are described in detail, and the well-known methods, processes, flows, elements are not described in detail in order to avoid confusion of the essence of the application.

[0056] In addition, those skilled in the art should understand that the drawings provided herein are for illustrative purposes only, and the drawings are not necessarily drawn to scale.

[0057] Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in the sense of "including, but not limited to".

[0058] In the description of the present application, it should be understood that the terms "first", "second" and the like are used only for descriptive purposes, and cannot be construed as indicating or implying relative importance. In addition, in the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified.

[0059] Referring to Figure 1 , the present application relates to an accelerated writing method applied to an electronic device having display function and writing input function, which can be provided by the electronic device itself or by the system formed by the electronic device through external equipment, and the writing input function can be realized by touch control. In addition, the electronic device can be a dual system, including a first system and a second system capable of data interaction, and the first system and the second system can be any one of Windows system, Android system and Linux system, and the first system and the second system can be different or the same, for example, the first system is Windows system and the second system is Android system, or the first system is Linux system and the second system is Android system, and the first system and the second system can interact with each other. Specifically, the electronic device can be an interactive large screen or an electronic whiteboard, which can be equipped with a first system and a second system, or only a second system, and an external component such as an OPS computer, which has a first system.

[0060] For convenience of understanding, in the present application, the final display of the first writing track, the second writing track and the first preset handwriting and the second preset handwriting is displayed through the display screen of the electronic device, and only the first writing track, the first preset handwriting and the second preset handwriting are displayed on the display screen by the first system through the second system (for convenience of description, referred to as "first system display"), and the second writing track is directly displayed on the display screen by the second system (for convenience of description, referred to as "second system display").

[0061] The accelerated writing method disclosed in the present application comprises:

[0062] The first writing step S100: when the first system starts the first writing operation according to the received writing input information in the first color, it sends the first color to the second system, and displays the first writing track formed by the first writing operation following the writing input information.

[0063] The second system sends a display request to the first system after receiving the first color, and the display request comprises displaying the first color at the first preset position of the display screen.

[0064] The first system renders the first preset handwriting in the first color at the first preset position for the first preset time after receiving the display request, and sends a completion instruction to the second system.

[0065] The second system acquires the rendering color of the first preset handwriting at the first preset position as the second color after receiving the completion instruction and waiting for the second preset time.

[0066] The second system starts the second writing operation in the second color, and displays the second writing track formed by the second writing operation following the writing input information.

[0067] The second writing track can be displayed on the display screen faster than the first writing track at the same time.

[0068] In step S100, the writing input information comprises handwriting and writing color (first color), so that the first system can start the first writing operation according to the writing input information, thereby displaying the first writing track, and the color of the first writing track is the first color. The writing input information can be touch information.

[0069] The first system can have multiple display modes, such as standard mode, bright mode, vivid mode, and eye protection mode. The RGB values of the same color are different in different display modes. For example, the RGB value of red in the standard mode is (255, 1, 0), the RGB value of red in the vivid mode is (255, 0, 0), and the RGB value of red in the eye protection mode is (252, 1, 0).

[0070] In step S100, the first system sends the first color to the second system while following the writing input information to perform the writing operation (i.e., display the first writing track).

[0071] In step S200, after receiving the first color, the second system can send a display request to the first system to obtain the actual color of the first color displayed on the display screen (i.e., the rendering color described below). The display request comprises the first preset position of the display screen, so that the first system can display the first preset handwriting in the first color at the specified position (first preset position) of the second system, and the second system can obtain the rendering color from the position.

[0072] The first preset position is a position designated by the second system, that is, the first preset position is not constant, but is determined by the second system according to the actual display of the display screen.

[0073] In some cases, the first system is not full-screen display, and the position of the first system can be adjusted by the user as needed. In this case, the second system determines the first preset position within the display range of the first system according to the actual display of the first system.

[0074] The second system determines the first preset position according to the display of the first system, and sends the position to the first system, so as to ensure that the position of the second system for obtaining the rendering color is consistent with the position of the first system for displaying the first preset handwriting.

[0075] In step S300, the first system displays the first preset handwriting in the first preset position of the display screen in the first color, so that the display screen can display the first color in the current display mode of the first system. Specifically, the first system writes the first preset handwriting in the first color, and then displays the first preset handwriting on the display screen through the second system. Therefore, the color of the first preset handwriting displayed on the display screen is completely consistent with the color of the first writing track displayed on the display screen, thereby facilitating the second system to obtain the actual first color (i.e., the color of the first color displayed on the display screen) from the first preset handwriting, so that the color of the second writing track displayed by the second system is completely consistent with the color of the first writing track displayed on the display screen.

[0076] In addition, the position of the first preset handwriting displayed on the display screen is the first preset position determined by the second system, thereby facilitating the second system to obtain the rendering color from the designated position.

[0077] The size of the first preset handwriting can be relatively small, so that the user basically does not perceive the existence of the first preset handwriting, thereby avoiding the influence of the first preset handwriting on the user and ensuring the user experience. The shape of the first preset handwriting can be a square block, a circular block, a triangular block, or any other shape, as long as the second system can obtain the corresponding rendering color from the first preset handwriting in step S400.

[0078] The display time of the first preset handwriting is the first preset time, and after the first preset time elapses, the first preset handwriting is cleared, thereby preventing the first preset handwriting from being displayed on the display screen for too long, and avoiding the possibility that the first preset handwriting affects the user's operation for a long time, thereby better improving the user experience.

[0079] The first preset time can be set as needed, such as 500-1500 ms, for example, 500 ms, 600 ms, 800 ms, 1000 ms, 1200 ms, or 1500 ms, etc.

[0080] In step S300, at the first time when the first preset handwriting is displayed on the display screen, a completion instruction can be sent to the second system.

[0081] In step S400, after the second system receives the completion instruction, the rendering color of the first preset handwriting can be obtained at the first preset position of the display screen, and the obtained rendering color is recorded as the second color.

[0082] After the second system receives the completion instruction, the rendering color is not obtained at the first preset position at the first time, but is obtained after waiting for a second preset time. Although the first system displays the first preset handwriting through the display screen, the display screen cannot display the first preset handwriting at the first time, and the first preset handwriting has a certain delay for the same reason as the background technology. The second preset time can completely cover the delay time, so that after the second preset time, the first preset position of the display screen has actually displayed the first preset handwriting, thereby ensuring that the second system can accurately obtain the rendering color and avoiding that the second system obtains the wrong color due to the delay display.

[0083] The aforementioned delay time of displaying the first preset handwriting is usually 0-100 ms, for example, 0 ms, 20 ms, 40 ms, 60 ms, 80 ms, or 100 ms, etc., and the actual situation is accurate, which is only an example here. The second preset time is greater than the delay time, and the second preset time is also less than the first preset time. The second preset time can be set as needed, which can be 100-300 ms, for example, 100 ms, 150 ms, 200 ms, 250 ms, or 300 ms, etc.

[0084] In step S500, the second system starts the second writing operation according to the writing input information to display the second writing track on the display screen, and takes the second color as the color of the second writing track. Since the second color is the same as the rendering color of the first preset handwriting, and the rendering color is the same as the color of the first writing track displayed on the display screen, the colors of the first and second writing tracks displayed on the display screen are completely the same.

[0085] And the second writing track and the first writing track are both formed by the same writing input information, that is, the shapes of the first and second writing tracks are completely consistent and overlap on the display screen, and the second writing track is displayed by the second system, which can be displayed on the display screen faster than the first writing track, so that the second writing track can accelerate the first writing track. Of course, after the first writing track is completed (when the writing input information ends, specifically when the end of writing instruction is detected), the second writing track can be cleared, at which time only the first writing track is displayed on the display screen. Since the second writing track is completely the same as the first writing track, the user will not feel that the second writing track is cleared, thereby ensuring the user experience.

[0086] In some embodiments, the first color, the display mode, and the second color corresponding relationship are pre-stored in the electronic device, and the second system can directly obtain the second color according to the corresponding relationship, so that it is not necessary to go through the steps S300 and S400.

[0087] In this embodiment, step S200 includes:

[0088] S210, after the second system receives the first color, it is judged whether the second color corresponding to the current display mode of the display screen (that is, the display mode of the first system) corresponding to the first color is stored. Wherein, the second system can obtain the display mode in various ways of prior art.

[0089] S220, if yes, the second color is directly obtained according to the first color and the current display mode, and the second writing step is directly executed.

[0090] S230, if no, a display request is sent to the first system.

[0091] In step S200, it is first judged whether the second color corresponding to the first color and the current display mode of the first system exists in the corresponding relationship. If the corresponding relationship exists, the second color can be directly obtained according to the corresponding relationship, so that the step S500 can be directly executed subsequently.

[0092] If the corresponding relationship does not exist, steps S300 and S400 are still needed to obtain the second color. In step S200, if no, an instruction (display request) is sent to the first system to let the first system execute step S300.

[0093] Of course, after step S400 is completed, the correspondence between the first color, the current display mode and the second color is obtained, at this time, the correspondence can be stored in the electronic device to increase the range of the entire correspondence, thereby facilitating subsequent writing, and directly obtaining the second color under the same first color and display mode without going through steps S300 and S400 again. Thus, the time for obtaining the second color is shortened, further accelerating the formation of the second writing track, and improving the efficiency of the second system for accelerating writing.

[0094] There are certain differences between the display screens of different electronic devices, so that different electronic devices will also have color difference problems when displaying the same color. In addition, considering that the electronic device may also age after long-term use, therefore, the aforementioned correspondence needs to be adaptively adjusted with the difference of the electronic device and the use time.

[0095] Thus, in a preferred embodiment of the present application, the second system does not pre-store the correspondence between the first color, the current display mode and the second color, but temporarily stores a correspondence table each time the writing software is started, and the correspondence table is cleared when the writing software is closed. Specifically, after step S400, the correspondence between the obtained first color, the current display mode and the second color is obtained each time the writing software is started, thereby ensuring that the obtained correspondence is completely matched with the electronic device, so that when the first color and the current display mode existing in the correspondence appear subsequently, the second color matched therewith can be directly obtained according to the correspondence in step S200. Thus, the time for obtaining the second color is shortened, further accelerating the formation of the second writing track, and improving the efficiency of the second system for accelerating writing.

[0096] Further, the accelerated writing method further includes step S600 of clearing the correspondence between the first color, the current display mode and the second color in the system when a writing end instruction is detected.

[0097] The correspondence between the first color, the current display mode and the second color in the present application only plays a role when the accelerated writing method is executed, and when a writing end instruction is detected, it means that subsequent writing input information is no longer executed, and therefore the aforementioned correspondence can be deleted to reduce the burden of the system. Specifically, the writing end instruction can be an instruction to close the writing software, that is, the correspondence between the first color, the current display mode and the second color is stored again each time the writing software is restarted.

[0098] Of course, there can be no step S600, that is, the aforementioned correspondence can still be stored in the system after writing is ended to facilitate the calling of the next writing input information.

[0099] In the embodiment where the correspondence is stored in the system after the writing is finished, the correspondence should be cleared periodically, for example, once every 3 months (or other time, for example, once every 6 months or once every year, the time for periodic clearing is set by man), to prevent the aging of the electronic device from causing the correspondence to deviate.

[0100] For the first preset position, the first preset position is preferably located in the non-user operation area of the display screen.

[0101] The screen displayed by the first system includes a user operation area and a non-user operation area, and the user performs writing input in the user operation area, so that the second system sets the first preset position in the non-user operation area, which can avoid the interference of the first preset handwriting displayed by the first system on the user operation area in step S300, and can also avoid the displayed first preset handwriting from being interfered by other information input by the user or even being erased by the user before being acquired by the second system, so as to cause the acquired second color to be inaccurate.

[0102] Taking drawing as an example, the first system displays a whiteboard for drawing and an outer frame outside the whiteboard, the whiteboard is the user operation area, and the outer frame is the non-user operation area. When drawing, the user performs writing operation in the area of the whiteboard, so that the first preset position is located on the outer frame, which can avoid interference with the writing input information.

[0103] Of course, in another embodiment, the first preset position can also be located in the user operation area of the display screen, and can be located at the edge of the user operation area to reduce the interference with the writing operation; or the position where the starting end of the first writing track is located can be directly taken as the first preset position, and the track of the starting end can be taken as the first preset handwriting.

[0104] In the embodiment where the first preset position is located in the non-user operation area, the non-user operation area has four corner positions, and in one embodiment, the first preset position is provided with one, which can be one of the corner positions. In another embodiment, the first preset position is provided with two, which are two corner positions of one diagonal line of the non-user operation area. In this embodiment, step S400 includes:

[0105] When the second system receives the completion instruction, the rendering color of the first preset handwriting of each first preset position is acquired after waiting for a second preset time, and whether the two rendering colors are consistent is compared. If yes, the rendering color is taken as the second color.

[0106] In some cases, the first system displays the first preset handwriting at the first preset position, but due to some known or unknown reasons, the first preset handwriting is not displayed at the first preset position, so that the position of the first preset handwriting deviates from the first preset position, and in step S400, the second system also obtains the rendering color at the first preset position, which results in that the rendering color obtained by the second system is not the same as the color of the first preset handwriting.

[0107] To solve this problem, in an embodiment of the present application, two first preset positions are set, and the two preset positions are located at two corners of one diagonal of the non-user operation area. In step S300, the first system displays the first preset handwriting at the two first preset positions. In actual application, one side of the display screen of the electronic device has a low probability of deviation, for example, the upper side deviates downward by a certain size, so that one of the first preset positions cannot display the first preset handwriting, thereby resulting in the situation of obtaining an incorrect rendering color. In addition, the two first preset positions are located at two corners of one diagonal, and in a normal case, only one side of the display panel deviates, so that only one rendering color is incorrect when one side deviates. Therefore, whether the rendering colors obtained by the two first preset positions are consistent can be determined. If the rendering colors are consistent, the rendering color is the second color. If the rendering colors are inconsistent, it is indicated that at least one of the first preset positions does not display the first preset handwriting, so that the second color cannot be determined.

[0108] In addition, whether the two rendering colors are consistent means that the RGB values of the two rendering colors are close. Specifically, the differences between R, G, and B of the two rendering colors are calculated, respectively. When the three differences are less than a set value, which is usually 3-5, for example, 3, 4, or 5, it is considered that the two rendering colors are close. Otherwise, it is considered that the two rendering colors are inconsistent.

[0109] Further, in another embodiment of the present application, when the two rendering colors are inconsistent, the second color cannot be obtained, so that step S500 is not needed, that is, the second system no longer accelerates the display of the second writing track.

[0110] Of course, in some cases, both opposite sides of the display screen deviate, for example, the upper side deviates downward and the lower side deviates upward, so that black edges appear on the upper and lower sides, and the two first preset handwritings deviate. At this time, the two rendering colors obtained are both black (the color of the black edge), thereby resulting in the situation of obtaining an incorrect second color.

[0111] To prevent the color from being wrong, in one embodiment of the present application, the sending request information further comprises displaying a third color in a second preset position of the display screen in step S200, wherein the second preset position is provided with two positions, i.e., two corners of the other diagonal of the non-user operation area; and the third color is different from the first color.

[0112] In step S300, before the sending completion instruction is sent, the second system further comprises rendering the second preset trace in the third color in the second preset position for a first preset time. That is, the first system displays the first preset trace in the first color in the first preset position and displays the second preset trace in the third color in the second preset position, and the first preset trace and the second preset trace are displayed synchronously and disappear synchronously.

[0113] Step S400 comprises:

[0114] When the second system receives the completion instruction, the second system acquires the rendering color of the first preset trace in each first preset position and acquires the color of the second preset trace in each second preset position as the first check color and the second check color respectively after waiting for a second preset time.

[0115] When the two rendering colors, the first check color and the second check color satisfy the following conditions simultaneously, the rendering color is taken as the second color.

[0116] Condition one: the two rendering colors are consistent.

[0117] Condition two: the first check color and the second check color are consistent.

[0118] Condition three: the first check color and the second check color are inconsistent with the adjacent rendering color respectively.

[0119] For example, the two first preset positions are located at the upper left corner and the lower right corner of the non-user operation area respectively, and the two second preset positions are located at the lower left corner and the upper right corner of the non-user operation area respectively.

[0120] In step S400, the second system acquires the color of each preset position respectively, the color acquired from the two first preset positions is the rendering color, which is theoretically the actual color of the first color, the two check colors are acquired from the two second preset positions, for example, the second preset position at the lower left corner is the first check color, and the second preset position at the upper right corner is the second check color, which are theoretically the same and are the actual color of the third color displayed by the display screen.

[0121] In the case where the upper side and the lower side are black, the two check colors acquired are also black, at this time, the rendering color acquired is consistent with the two check colors, which does not satisfy condition three, so that it can be determined that the rendering color acquired is wrong, and the rendering color cannot be taken as the second color.

[0122] Further, when the first color is a bright color, the third color is a dark gray color; when the first color is a dark color, the third color is a bright gray color; wherein the bright color refers to the RGB value of the color being greater than a preset value.

[0123] When the first color is a bright color, the rendering color is also a bright color, and when the third color is a dark gray color, the first and second check colors should also be dark gray colors, so that the second system can more easily determine whether the third condition is satisfied. Similarly, when the first color is a dark color, the rendering color is also a dark color, and when the third color is a bright gray color, the first and second check colors are also bright gray colors, so that no matter whether the first color is a bright color or a dark color, the third color corresponding thereto can be used to make the second system more easily determine whether the third condition is satisfied.

[0124] In this embodiment, the third color is selected to be a bright color or a dark color of gray, and the third color can also be selected to be a bright color or a dark color of other colors.

[0125] The aforementioned bright color refers to the R value, the G value, and the B value of the color being greater than 180.

[0126] The dark color refers to at least one of the R value, the G value, and the B value of the color being less than or equal to 180.

[0127] As mentioned above, the second preset handwriting is located at two corner positions of another diagonal line of the non-user operation area, and the position of the second preset handwriting substantially overlaps the title bar and the task bar. The selection of gray color makes the color of the second preset handwriting close to the color of the title bar and the task bar, so as to avoid interfering with the user. In addition, the R value, the G value, and the B value of the gray color are equal, so that only one of the values needs to be obtained to compare the second condition and the third condition, which is convenient for processing. Of course, the third color can also be a bright color or a dark color of other colors, such as a bright red color or a dark red color, a bright yellow color or a dark yellow color, and the like.

[0128] In other embodiments, the third color can be the inverse color of the first color, but in some cases, the inverse color of a certain color is very close to the first color, and thus affects the judgment of the second system on the third condition.

[0129] For example, the RGB value of gray color is (127, 127, 127), and the inverse color thereof is gray (128, 128, 128), so that the first color is very close to the third color at this time, which is not conducive to the judgment of the third condition.

[0130] Thus, in the embodiment where the third color is the inverse color of the first color, the inverse color of the first color is obtained first, and then the similarity between the first color and the inverse color of the first color is determined, if the similarity between the first color and the inverse color of the first color exceeds the similarity range, that is, the difference between the first color and the inverse color of the first color is large, the inverse color of the first color can be used as the third color, otherwise (within the similarity range), the inverse color of the first color cannot be used as the third color.

[0131] Whether the first color and the inverse color of the first color exceed the similarity range refers to comparing the RGB values of the first color with the RGB values of the inverse color of the first color, if the differences between the R values, the G values and the B values of the two colors are within the preset range, it is indicated that the two colors do not exceed the similarity range, the preset range is for example 1-50, and the specific value can be determined according to actual needs.

[0132] If the inverse color of the first color cannot be used as the third color after the foregoing determination, the third color is determined to be dark gray or light gray according to whether the first color is light or dark, which will not be described here.

[0133] When the current writing input information ending instruction is received, the second system erases the second writing track.

[0134] Taking drawing as an example, the user writes input information on the display screen of the electronic device by fingers or a stylus, when the writing input information ends (the stylus is lifted), the second system displays the second writing track, and waits for the first system to complete the first writing track, and then erases the second writing track.

[0135] The application also relates to an accelerated writing device for the foregoing accelerated writing method, comprising a first system and a second system,

[0136] The first system comprises:

[0137] The first writing unit is used for sending the first color to the second system when the first system starts the first writing operation in the first color according to the received writing input information, and displaying the first writing track formed by the first writing operation along with the writing input information;

[0138] The rendering unit is used for rendering the first preset handwriting in the first color at the first preset position for the first preset time after the first system receives the display request, and sending the completion instruction to the second system;

[0139] The second system comprises:

[0140] The sending request unit is used for sending the display request to the first system after the second system receives the first color, and the display request comprises displaying the first color at the first preset position of the display screen;

[0141] The acquisition unit is configured to, when the second system receives the completion instruction, acquire the rendering color of the first preset handwriting at the first preset position after waiting for a second preset time, and take the rendering color as a second color;

[0142] The second writing unit is configured to, when the second system starts the second writing operation in the second color, display a second writing track formed by the second writing operation following the writing input information, and accelerate the first writing track;

[0143] The second writing track at the same time can be displayed on the display screen faster than the first writing track.

[0144] When the first system displays the first writing track in the first color according to the writing input information, the first system also displays the first preset handwriting in the first color, the second system acquires the color of the first preset handwriting, and starts the second writing track in the color, so that the color of the first writing track is completely consistent with the color of the second writing track, thereby ensuring the user experience.

[0145] The application also relates to an electronic device comprising the acceleration writing device.

[0146] The application also relates to a computer readable storage medium storing a computer program, wherein the computer readable storage medium controls the device where the computer readable storage medium is located to execute the acceleration writing method when the computer program runs.

[0147] It should be noted that the computer readable storage medium described in the embodiments of the present disclosure is not limited to the above-mentioned embodiments, for example, it can also be an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or instrument, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electric connection with one or more conductive wires, 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 above. In the embodiments of the present disclosure, the computer readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or instrument.

[0148] Those skilled in the art can understand that the above-mentioned preferred embodiments can be freely combined and superimposed without conflict. Among them, the flowcharts and block diagrams in the drawings illustrate the possible implementation architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code containing one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than those noted in the drawings, for example, two blocks indicated in succession can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the function involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of special-purpose hardware and computer instructions. The numbering of the steps herein is only for the convenience of description and reference, and does not limit the front and rear sequences, and the specific execution sequence is determined by the technology itself, and those skilled in the art can determine various allowed and reasonable sequences according to the technology itself.

[0149] It should be noted that the step numbering (letter or number) is used in the present application to refer to certain specific method steps, only for the purpose of convenience and brevity, and absolutely not to limit the order of the method steps by letters or numbers. Those skilled in the art can understand that the order of the related method steps should be determined by the technology itself, and should not be improperly limited by the existence of step numbering, and those skilled in the art can determine various allowed and reasonable step sequences according to the technology itself.

[0150] Those skilled in the art can understand that the above-mentioned preferred embodiments can be freely combined and superimposed without conflict.

[0151] It should be understood that the above-described embodiments are only exemplary and not limiting, and those skilled in the art can make various obvious or equivalent modifications or replacements to the above-described details without departing from the essential principles of the present application, which will be included in the scope of the claims of the present application.

Claims

1. A method of accelerating writing, characterized by, The application comprises: A first writing step: when the first system starts a first writing operation in a first color according to received writing input information, the first color is sent to the second system, and the first writing operation is displayed following the writing input information to show a first writing track; A sending request step: after the second system receives the first color, a display request is sent to the first system, which includes displaying the first color at a first preset position on the display screen; A rendering step: after the first system receives the display request, the first preset handwriting is rendered in the first color at the first preset position for a first preset time, and a completion instruction is sent to the second system; An acquisition step: after the second system receives the completion instruction, the rendering color of the first preset handwriting at the first preset position is acquired after waiting for a second preset time, and it is used as a second color; wherein the rendering color is the actual color of the first color displayed on the display screen; A second writing step: the second system starts a second writing operation in the second color, and the second writing operation is displayed following the received writing input information to show a second writing track; Wherein, the second writing track can be displayed on the display screen faster than the first writing track.

2. The accelerated writing method of claim 1, wherein, The sending request step further comprises: After the second system receives the first color, it is determined whether the second color corresponding to the first color and the current display mode of the display screen is stored; If yes, the second color corresponding to the first color and the current display mode is directly acquired according to the first color, and the second writing step is directly executed; If not, the display request is sent to the first system, and when the second system acquires the second color, the correspondence between the first color, the current display mode and the second color is stored.

3. The accelerated writing method of claim 2, wherein, Further comprising: When a writing end instruction is detected, the correspondence between the first color, the current display mode and the second color in the system is cleared; Or, the correspondence between the first color, the current display mode and the second color in the system is periodically cleared.

4. The accelerated writing method of claim 1, wherein, The first preset position is located in a non-user operation area of the display screen; The non-user operation area has four corner positions, and the first preset position is provided with two, which are the two corner positions of one diagonal line of the non-user operation area; The acquisition step comprises: After the second system receives the completion instruction, the rendering color of the first preset handwriting at each first preset position is acquired after waiting for a second preset time, and it is determined whether the two rendering colors are consistent, if so, the rendering color is used as the second color.

5. The accelerated writing method of claim 4, wherein, The sending request information further comprises: displaying a third color at a second preset position on the display screen, wherein the second preset position is provided with two, which are the two corner positions of another diagonal line of the non-user operation area; and the third color is a color different from the first color; In the rendering step, before the completion instruction is sent, it further comprises: rendering a second preset handwriting in the third color at each second preset position for the first preset time; The acquisition step comprises: The second system acquires the rendering color of the first preset trace at the first preset position after waiting for a second preset time when the completion instruction is received, and acquires the color of the second preset trace at the second preset position as the first check color and the second check color respectively; The two rendering colors, the first check color, and the second check color are compared, and if the following conditions are met simultaneously, the rendering color is taken as the second color; Condition one: the two rendering colors are consistent; Condition two: the first check color and the second check color are consistent in color; Condition three: the first check color and the second check color are inconsistent with the respective adjacent rendering colors.

6. The accelerated writing method of claim 5, wherein, When the first color is a bright color, the third color is a dark gray color; when the first color is a dark color, the third color is a light gray color; wherein the bright color refers to a color whose RGB value is greater than a preset value; Or, when the first color and its inverse color are out of a preset similarity range, the third color is the inverse color of the first color; When the first color and its inverse color are within a preset similarity range, if the first color is a bright color, the third color is a dark gray color; if the first color is a dark color, the third color is a light gray color.

7. The accelerated writing method according to any one of claims 1-6, characterized in that, When a current writing input information end instruction is received, the second system erases the second writing track.

8. An acceleration writing device for use in the acceleration writing method according to any one of claims 1 to 7, characterized by, The system comprises a first system and a second system, The first system comprises: A first writing unit, configured to send a first color to the second system when the first system starts a first writing operation in the first color according to received writing input information, and display a first writing track formed by the first writing operation following the writing input information; A rendering unit: configured to render a first preset trace in the first preset position in the first color for a first preset time after the first system receives the display request, and send a completion instruction to the second system; The second system comprises: A sending request unit: configured to send a display request to the first system after the second system receives the first color, the display request comprising displaying the first color at a first preset position on the display screen; An acquisition unit, configured to acquire the rendering color of the first preset trace at the first preset position after waiting for a second preset time when the completion instruction is received by the second system, and take it as a second color; A second writing unit, configured to start a second writing operation in the second color by the second system, and display a second writing track formed by the second writing operation following the received writing input information, so as to accelerate the first writing track; Wherein, the second writing track can be displayed on the display screen faster than the first writing track at the same time.

9. An electronic device, comprising: The accelerated writing device of claim 8 is included; The electronic device comprises an interactive large screen or an electronic whiteboard.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, wherein the computer program controls a device where the computer readable storage medium is located to perform the method for accelerating writing according to any one of claims 1 to 7 when the computer program is running.

Citation Information

Patent Citations

  • Handwriting display method and apparatus, electronic device, and storage medium

    WO2022134181A1