A power consumption management method, management system, storage medium and product for a dot matrix pen
By analyzing the writing behavior and hand-holding pressure information of the dot-matrix pen and setting buffering and sleeping strategies, the problems of high power consumption and stroke loss of dot-matrix pen are solved, achieving longer standby time and higher writing efficiency.
Patent Information
- Application Number
- CN202411619453.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2044-11-13
AI Technical Summary
The power consumption of dot-matrix pens during use is high, resulting in a short standby time after a single charge, and the prior art may cause stroke loss due to misjudgment of the user to stop writing.
By analyzing the user's writing behavior information and hand-holding pressure information, setting the buffer period and sleep level, formulating management strategies to control the power consumption of the dot pen, including not closing the components immediately during the buffer period, predicting the continued writing state based on the pressure information during the sleep period and adjusting the component state.
Effectively reduce the energy loss of dot matrix pen, extend the standby time after a single charge, reduce the probability of losing strokes, and ensure the integrity and response speed of writing content.
Smart Images

Figure CN119668397B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of power consumption management, and particularly to a power consumption management method, management system, storage medium, and product for a dot matrix pen. Background Art
[0002] A dot matrix pen can automatically read and recognize the writing content on a paper form and convert it into electronic data, which greatly simplifies the process of data entry and processing, thus facilitating the improvement of office or teaching efficiency. Since the working principle of the dot matrix pen is to capture the movement trajectory of the pen tip through a high-speed camera at the front end of the pen, and at the same time use a pressure sensor to judge the writing state, and start the built-in infrared imaging or optical module to identify and decode the dot matrix code, all components included in the dot matrix pen are in a full-load operating state during writing, with high power consumption, so the standby time after a single charge may be short.
[0003] In related technologies, the writing state of the user is generally detected in real time to determine the operating state of the internal components of the dot matrix pen. For example, when it is detected that the user stops writing, the internal components are immediately turned off to reduce power consumption. However, when the user needs to continue writing, there may be a writing delay due to waking up the components, and thus the situation of missing strokes may occur. Summary of the Invention
[0004] In order to effectively reduce the energy consumption of the dot matrix pen during use and thus extend the standby time after a single charge, this application provides a power consumption management method, management system, storage medium, and product for a dot matrix pen.
[0005] In a first aspect, this application provides a power consumption management method for a dot matrix pen, adopting the following technical solution:
[0006] A power consumption management method for a dot matrix pen includes:
[0007] Obtain the writing behavior information corresponding to a first time period, and determine a buffer period based on the writing behavior information. The writing behavior information includes the continuous writing duration and writing speed of the user within the first time period;
[0008] Obtain the hand pressure information corresponding to a second time period, and determine the sleep level corresponding to the sleep period based on the hand pressure information and the buffer period. The hand pressure information includes the hand pressure values when the user holds the dot matrix pen at each moment within the second time period;
[0009] Determine a management strategy based on the buffer period and the sleep level corresponding to the sleep period, and perform power consumption management on the dot matrix pen based on the management strategy.
[0010] By adopting the above technical solution, a corresponding buffer period is set by analyzing the writing behavior information of the user, rather than immediately turning off all components built into the dot matrix pen after detecting that the user has stopped writing. If the relevant components are immediately turned off after detecting that the dot matrix pen has stopped writing, it may be misjudged as the end of writing due to the user's short pause or posture adjustment, and thus situations such as missing strokes may occur. If no new operation is performed after the buffer period ends, the dot matrix pen will turn off its built-in components and enter the sleep state. By analyzing the hand grip pressure value of the user when using the dot matrix pen, it is convenient to predict the moment when the user will continue writing. Setting the sleep level based on the hand grip pressure information helps to ensure that the dot matrix pen can respond quickly when needed. Finally, intelligent power consumption management of the dot matrix pen is carried out through the sleep levels corresponding to the buffer period and the sleep period, which helps to reduce the energy consumption of the dot matrix pen during use, and thus helps to extend the standby time after a single charge.
[0011] In a possible implementation manner, determining the sleep level corresponding to the sleep period based on the hand grip pressure information and the buffer period includes:
[0012] Determining a pressure change data axis based on the hand grip pressure information, and determining a pressure stability value corresponding to the hand grip pressure information based on a preset stable range value and the pressure change data axis;
[0013] Determining a hand grip posture change data axis based on the hand grip pressure information, and determining a hand grip pressure point stability value corresponding to the hand grip pressure information based on a preset stable posture and the hand grip posture change data axis;
[0014] Determining a target change value based on the pressure stability value and the hand grip pressure point stability value, and determining the final sleep level of the target change value based on the target change value and a preset sleep level mapping relationship, where the preset sleep level mapping relationship is the corresponding relationship between the target change value and the sleep level.
[0015] By adopting the above technical solution, by analyzing the changes in the user's hand grip pressure and hand grip posture over a period of time, it is convenient to predict whether the user will be in a paused state or preparing for subsequent writing operations in the future, and determine the sleep level of the sleep period based on the prediction result. So that when the user is in a paused state, control the relevant components built into the dot matrix pen to enter the sleep state with a higher sleep level, which helps to reduce power consumption and extend the service life. At the same time, when it is predicted that the user may be preparing for subsequent writing operations, control the relevant components built into the dot matrix pen to enter the sleep state with a lower sleep level, so as to improve the reaction rate when the user writes again.
[0016] In a possible implementation manner, the method further includes:
[0017] Obtain the sleep hand - holding pressure information corresponding to the sleep period in real - time;
[0018] When the sleep hand - holding pressure information includes a preset hand - holding pressure and a preset hand - holding posture, determine a duration value based on the pressure duration of the preset hand - holding pressure and the posture duration of the preset hand - holding posture;
[0019] When the duration value is higher than a preset duration threshold, generate an early wake - up instruction for waking up the dot pen.
[0020] By adopting the above - mentioned technical solution, by real - time monitoring of the user's hand - holding pressure and hand - holding posture on the dot pen during the sleep period, it is convenient to detect the subtle changes of the user during the sleep period of the dot pen, that is, it is convenient to predict whether the user is in a state of preparing to write. When it is determined that the user may be in a state of preparing to write, by waking up the dot pen in advance, it is convenient to reduce the delay degree during the actual writing process, thereby reducing the probability of missing strokes during the actual writing process.
[0021] In a possible implementation manner, the method further includes:
[0022] Obtain the real - time writing behavior information corresponding to the actual writing stage, and judge whether the user is in a stable writing state based on the real - time writing behavior information. When the real - time continuous writing duration in the real - time writing behavior information is higher than a preset stable continuous duration, and the real - time writing speed in the real - time writing behavior information is within a preset stable speed range, determine that the user is in a stable writing state;
[0023] If so, adjust the original operation level corresponding to the dot pen in the actual writing stage to obtain an initial operation level;
[0024] Obtain the real - time writing content corresponding to the actual writing stage. When the real - time writing content includes a preset character, adjust the initial operation level based on the number and occurrence frequency of the preset character to obtain a target operation level;
[0025] Perform power consumption management on the dot pen based on the target operation level.
[0026] By adopting the above technical solution, by analyzing the real-time writing behavior information corresponding to the user during the actual writing stage, it is convenient to analyze the writing state of the user. When the user is in a stable writing state, by reducing the operating level of the dot matrix pen, the power consumption of the dot matrix pen in the stable writing state can be reduced, and then it is convenient to extend the usage duration of the dot matrix pen after a single charge. In addition, by analyzing the number and occurrence frequency of preset characters included in the real-time writing content, the operating level of the dot matrix pen is adjusted again, which is convenient to ensure the integrity of the writing content while reducing energy consumption.
[0027] In a possible implementation manner, the method further includes:
[0028] Obtain the historical writing content corresponding to the user within a preset integration time period;
[0029] Determine the repeated writing content from the historical writing content, and determine the repeated writing trajectory based on the repeated writing content;
[0030] Bind the repeated writing content and the corresponding repeated writing trajectory to obtain bound repeated information, and import the bound repeated information into a preset buffer pool;
[0031] When it is detected that the real-time writing information includes the repeated writing trajectory, determine the target repeated writing content corresponding to the repeated writing trajectory from the preset buffer pool, and upload the target repeated writing content.
[0032] By adopting the above technical solution, by integrating and analyzing the historical writing content of the user, it is convenient to analyze the repeated words of the user, and bind the repeated words with the corresponding repeated writing trajectory. When the repeated writing trajectory appears in the subsequent real-time writing content, it is not necessary to start the relevant components in the dot matrix pen to calculate the coordinates of the writing trajectory to determine the corresponding writing content, but directly select the corresponding target repeated writing content from the preset buffer pool for uploading, which is convenient to reduce the power consumption of each component inside the dot matrix pen when the user uses the dot matrix pen to process the repeated writing content.
[0033] In a possible implementation manner, the method further includes:
[0034] When it is detected that the real-time writing content includes a blank position, determine the associated writing position corresponding to the blank position from the real-time writing content;
[0035] Identify the writing type of the associated writing content included in the associated writing position, where the writing type includes graphics and text;
[0036] Based on the writing type and the blank position, perform semantic recognition on the real-time writing content to obtain the writing content to be supplemented corresponding to the blank position;
[0037] Feed back the content to be supplemented for writing to the user, and after obtaining the confirmation instruction of the user, superimpose the content to be supplemented for writing on the vacant position.
[0038] By adopting the above technical solution, by automatically identifying and supplementing the content at the vacant position, it is convenient to timely discover the situation of missing strokes in the actual written content. When it is determined that there is a vacant position, the corresponding content to be supplemented for writing is determined according to the writing type and the vacant position, which is convenient to improve the effectiveness and accuracy of the content to be supplemented for writing, and thus convenient to improve the integrity and readability of the written content.
[0039] In a second aspect, the present application provides a management system, adopting the following technical solution:
[0040] A management system, the management system includes:
[0041] At least one processor;
[0042] A memory;
[0043] At least one application program, wherein the at least one application program is stored in the memory and is configured to be executed by at least one processor, and the at least one application program is configured to: execute the above-mentioned dot matrix pen power consumption management method.
[0044] In a third aspect, the present application provides a computer-readable storage medium, adopting the following technical solution:
[0045] A computer-readable storage medium, including: a computer program stored that can be loaded and executed by a processor to execute the above-mentioned dot matrix pen power consumption management method.
[0046] In a fourth aspect, the present application provides a computer program product, adopting the following technical solution:
[0047] A computer program product, including a computer program, which when executed by a processor implements the above-mentioned dot matrix pen power consumption management method.
[0048] In summary, the present application includes at least one of the following beneficial technical effects:
[0049] By analyzing the writing behavior information of the user to set the corresponding buffer period, all components built into the dot matrix pen are not immediately turned off after detecting that the user has stopped writing. If the relevant components are immediately turned off after detecting that the dot matrix pen has stopped writing, it may be misjudged as the end of writing due to the user's short pause or posture adjustment, and situations such as missing strokes may occur. If there is no new operation after the buffer period ends, the dot matrix pen will turn off its built-in components and enter the sleep state. By analyzing the hand grip pressure value of the user when using the dot matrix pen, it is convenient to predict the moment when the user continues to write. Setting the sleep level based on the hand grip pressure information helps to ensure that the dot matrix pen can respond quickly when needed. Finally, intelligent power consumption management of the dot matrix pen is carried out through the sleep levels corresponding to the buffer period and the sleep period, which helps to reduce the energy consumption during the use of the dot matrix pen, thereby facilitating the extension of the standby time after a single charge.
[0050] By analyzing the real-time writing behavior information corresponding to the actual writing stage of the user, it is convenient to analyze the writing state of the user. When the user is in a stable writing state, the running level of the dot matrix pen is reduced, thereby reducing the power consumption of the dot matrix pen in the stable writing state, and then facilitating the extension of the usage time of the dot matrix pen after a single charge. In addition, by analyzing the number and occurrence frequency of preset characters included in the real-time writing content, the running level of the dot matrix pen is adjusted again, which helps to ensure the integrity of the writing content while reducing energy consumption. Description of the Drawings
[0051] Figure 1 is a schematic flowchart of a method for managing the power consumption of a dot matrix pen in an embodiment of the present application;
[0052] Figure 2 is a schematic flowchart of a method for determining the target running level in an embodiment of the present application;
[0053] Figure 3 is a schematic structural diagram of a management system in an embodiment of the present application. Detailed Embodiments
[0054] The following is a further detailed description of the present application in conjunction with the attached Figures 1 to 3 This application will be further described in detail below.
[0055] After reading this specification, those skilled in the art can make modifications to this embodiment without creative contributions as needed, but as long as they are within the scope of the claims of the present application, they are protected by the patent law.
[0056] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the protection scope of this application.
[0057] It should be noted that in the alternative embodiments of this application, for relevant data such as object information, when the embodiments in this application are applied to specific products or technologies, object permission or consent needs to be obtained, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions. That is to say, if the embodiments in this application involve data related to an object, it needs to be obtained under the authorization and consent of the object, the authorization and consent of the relevant department, and compliance with the relevant laws, regulations, and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained, and the embodiments also need to be implemented under the authorization and consent of the object.
[0058] Specifically, the embodiments of this application provide a method for managing the power consumption of a dot matrix pen, which is executed by a management system. The management system can be a server or a terminal device. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected through wired or wireless communication methods, and this application does not limit this here.
[0059] Referring to Figure 1 , Figure 1 is a flowchart of a method for managing the power consumption of a dot matrix pen in the embodiments of this application. The method includes steps S110 to S130, where:
[0060] Step S110: Obtain the writing behavior information corresponding to the first time period, and determine the buffer period based on the writing behavior information. The writing behavior information includes the continuous writing duration and writing speed of the user within the first time period.
[0061] Specifically, if it is detected that the user stops writing at the current moment, the first time period is a period of time before the current moment. The duration corresponding to the first time period can be 20 seconds, 30 seconds, etc. The specific duration is not specifically limited in the embodiments of the present application. Whether the user stops writing can be determined by means such as pressure sensing, motion detection, time interval, and pen-lifting detection. Among them, when using pressure sensing to determine whether the user stops writing, the pressure data collected by the pressure sensor built into the dot matrix pen can be analyzed to determine whether the user stops writing. When it is detected that the motion of the dot matrix pen stops or slows down to a preset speed, it can be determined that the user stops writing. The specific method of determining whether the user stops writing and the preset speed are not specifically limited in the embodiments of the present application, as long as the moment when the user stops writing can be determined in time.
[0062] The writing behavior information includes, but is not limited to, the continuous writing duration and writing speed. The writing information can be recorded by the dot matrix processor built into the dot matrix pen. By analyzing the writing behavior information of the user within a period of time, it is convenient to understand the usage habits of the user when using the dot matrix pen. The buffer period is a period of time after it is detected that the user stops writing. The buffer duration corresponding to the buffer period is related to the writing behavior information. Within the buffer period, the internal components of the dot matrix pen will not immediately enter the sleep or off state, that is, within the buffer period, each internal component of the dot matrix pen is still in the running state, so that the user can continue writing after a short pause or posture adjustment. The buffer duration corresponding to the buffer period can be determined according to the preset buffer duration mapping relationship. The preset buffer duration mapping relationship is the corresponding relationship between the parameter combination of the continuous writing duration and writing speed and the buffer duration. Based on this preset buffer duration mapping relationship, the buffer duration corresponding to any writing behavior information can be determined. The specific content of this mapping relationship is not specifically limited in the embodiments of the present application and can be determined by relevant staff according to historical experimental data and then uploaded to the management system. The longer the continuous writing duration and the faster the writing speed, the longer the corresponding buffer duration.
[0063] Step S120: Obtain the hand-held pressure information corresponding to the second time period, and determine the sleep level corresponding to the sleep period based on the hand-held pressure information and the buffer period. The hand-held pressure information includes the hand-held pressure values when the user holds the dot matrix pen at each moment within the second time period.
[0064] Specifically, the second time period is a period of time before and after the moment when it is detected that the user stops writing. For example, when the moment when it is detected that the user stops writing is 10:00, the second time period can be between 09:59 and 10:01. Among them, the buffer period has started since 10:00. The duration corresponding to the second time period can be 60 seconds or 120 seconds. The specific duration is not specifically limited in the embodiments of the present application and can be set by relevant technical personnel.
[0065] The hand-held pressure information includes, but is not limited to, the hand-held pressure values of the user on the dot matrix pen at each moment during the second time period. It can be collected through the pressure sensor built in the dot matrix pen and the collected results are uploaded to the management system. Since the second time period includes two attitudes of the user, writing and stopping writing, and the hand-held pressure of the user on the dot matrix pen may be different in the two states of writing and stopping writing, therefore, by analyzing the pressure change when the user holds the dot matrix pen during the second time period, it can be predicted whether the user will continue writing after a short stop or stop writing for a long time. The sleep period is a period of time after the buffer period. The type of stop writing corresponding to the prediction result is related to the sleep level corresponding to the sleep period. That is, if the prediction result is to continue writing after a short stay, the sleep level corresponding to the sleep period is relatively low, so that each component inside the dot matrix pen can quickly return to the operating state when the user resumes writing; if the prediction result is to stop writing for a long time, the sleep level corresponding to the sleep period is relatively high, so as to save the power consumption of the dot matrix pen. Among them, the higher the sleep level, the less power the dot matrix pen consumes during the sleep period.
[0066] Furthermore, the specific method for determining the sleep level corresponding to the sleep period based on the hand-held pressure information and the buffer period may include:
[0067] Based on the hand-held pressure information, determine the pressure change data axis. Based on the preset stable range value and the pressure change data axis, determine the pressure stable value corresponding to the hand-held pressure information; based on the hand-held pressure information, determine the hand-held posture change data axis. Based on the preset stable posture and the hand-held posture change data axis, determine the hand-held pressure point stable value corresponding to the hand-held pressure information; based on the pressure stable value and the hand-held pressure point stable value, determine the target change value. Based on the target change value and the preset sleep level mapping relationship, determine the final sleep level of the target change value. The preset sleep level mapping relationship is the corresponding relationship between the target change value and the sleep level.
[0068] Specifically, in addition to including the hand-held pressure values of the user on the dot matrix pen at each moment during the second time period, the hand-held pressure information also includes the hand-held posture coordinate points of the user on the dot matrix pen at each moment during the second time period. By converting the hand-held pressure information into a pressure change data axis and a hand-held posture change data axis, it is convenient to intuitively view the hand-held change situation of the user on the dot matrix pen.
[0069] The specific preset stable range value is not specifically limited in the embodiments of the present application. It can be uploaded to the management system by relevant staff according to historical experimental data. When determining the pressure stable value corresponding to the hand-held pressure information based on the preset stable range value and the pressure change data axis, the stable period can be first determined from the pressure change data axis based on the preset stable range value. The hand-held pressure values corresponding to each moment within the stable period are all within the preset stable range value. Then, according to the first duration ratio between the stable duration corresponding to the stable period and the duration corresponding to the second time period, and the preset pressure stable value mapping relationship, the pressure stable value corresponding to the first duration ratio is determined, where the preset pressure stable value mapping relationship is the corresponding relationship between the first duration ratio and the pressure stable value.
[0070] Similarly, the specific preset stable posture is not specifically limited in the embodiments of the present application. It can be uploaded to the management system by relevant staff according to historical experimental data. When determining the hand-held pressure point stable value corresponding to the hand-held pressure information based on the preset stable posture and the hand-held posture change data axis, the pressure point stable period can be first determined from the hand-held posture change data based on the preset stable posture. The hand-held area formed by the hand-held posture coordinate points corresponding to each moment within the pressure point stable period is all within the preset area formed by the coordinate points corresponding to the preset stable posture. Then, according to the second duration ratio between the pressure point stable duration corresponding to the pressure point stable period and the duration corresponding to the second time period, and the preset hand-held pressure point stable value mapping relationship, the hand-held pressure point stable value corresponding to the second duration ratio is determined, where the preset hand-held pressure point stable value mapping relationship is the corresponding relationship between the second duration ratio and the hand-held pressure point stable value.
[0071] After determining the pressure stable value and the hand-held pressure point stable value, the two are added to determine the target change value, and finally the sleep level corresponding to the target change value is determined based on the preset sleep level mapping relationship, where the preset sleep level mapping relationship is the corresponding relationship between the target change value and the sleep level.
[0072] Step S130: Determine the management strategy based on the sleep levels corresponding to the buffer period and the sleep period, and perform power consumption management on the dot matrix pen based on the management strategy.
[0073] Specifically, performing power consumption management on the dot matrix pen based on the management strategy facilitates the dot matrix pen to reduce power consumption while avoiding missing strokes.
[0074] For the embodiments of the present application, by analyzing the writing behavior information of the user to set the corresponding buffer period, it does not immediately turn off all the components built into the dot matrix pen after detecting that the user has stopped writing. If the relevant components are immediately turned off after detecting that the dot matrix pen has stopped writing, it may be misjudged as the end of writing due to the user's short pause or posture adjustment, and thus situations such as missing strokes may occur. If the buffer period ends and there is no new operation, the dot matrix pen will turn off its built-in components and enter the sleep state. By analyzing the hand grip pressure value of the user when using the dot matrix pen, it is convenient to predict the moment when the user continues to write. Setting the sleep level based on the hand grip pressure information helps to ensure that the dot matrix pen can respond quickly when needed. Finally, intelligent power consumption management of the dot matrix pen is carried out through the sleep levels corresponding to the buffer period and the sleep period, which helps to reduce the energy consumption of the dot matrix pen during use, and thus helps to extend the standby time after a single charge.
[0075] To further reduce the delay degree during the actual writing process, the method provided by the embodiments of the present application further includes:
[0076] Real-time obtain the sleep hand grip pressure information corresponding to the sleep period; when the sleep hand grip pressure information contains a preset hand grip pressure and a preset hand grip posture, determine a duration value based on the pressure duration of the preset hand grip pressure and the posture duration of the preset hand grip posture; when the duration value is higher than a preset duration threshold, generate a wake-up-in-advance instruction, and the wake-up-in-advance instruction is used to wake up the dot matrix pen.
[0077] Specifically, after the dot matrix pen enters the sleep period, each component inside the dot matrix pen may operate at a lower power or load. Therefore, the pressure sensor inside the dot matrix pen can still continue to collect the sleep hand grip pressure information of the user on the dot matrix pen. By analyzing whether the sleep hand grip pressure information contains a preset hand grip pressure and a preset hand grip posture to determine whether the user is in a state of preparing to write, when it is determined that the user may be in a state of preparing to write, by waking up the dot matrix pen in advance, it helps to reduce the delay degree during the actual writing process, and thus helps to reduce the probability of missing strokes during the actual writing process.
[0078] The preset hand grip pressure is the habitual hand grip pressure of the user during the writing stage, and the preset hand grip posture is the habitual hand grip posture of the user during the writing stage. When the dormant hand grip pressure information simultaneously includes the preset hand grip pressure and the preset hand grip posture, and the duration values corresponding to the pressure duration of maintaining the preset hand grip pressure and the posture duration of maintaining the preset hand grip posture are higher than the preset duration threshold, it can be determined that the user is currently in a state of preparing to write. At this time, the dot matrix pen can be awakened in advance before the user actually writes. The preset hand grip pressure and the preset hand grip posture can be determined by relevant staff based on historical experimental data and then uploaded to the management system. When determining the duration value based on the pressure duration of the preset hand grip pressure and the posture duration of the preset hand grip posture, the pressure duration and the posture duration can be summed to obtain the total duration, and then the duration value can be determined based on the corresponding relationship between the total duration and the duration value. The specific content of this corresponding relationship and the specific preset duration threshold are not specifically limited in the embodiments of the present application.
[0079] Further, in order to facilitate ensuring the integrity of the written content while reducing energy consumption, the method provided in the embodiments of the present application further includes steps S210-S240, as Figure 2 shown, where:
[0080] Step S210: Obtain the real-time writing behavior information corresponding to the actual writing stage, and determine whether the user is in a stable writing state based on the real-time writing behavior information. When the real-time continuous writing duration in the real-time writing behavior information is higher than the preset stable continuous duration, and the real-time writing speed in the real-time writing behavior information is within the preset stable speed range, it is determined that the user is in a stable writing state.
[0081] Step S220: If so, adjust the original operation level corresponding to the dot matrix pen during the actual writing stage to obtain the initial operation level.
[0082] The actual writing stage is the stage when the user uses the dot matrix pen for writing. The real-time writing behavior information is the writing behavior information collected in real time during the process of the user holding the dot matrix pen for writing. By analyzing the real-time writing behavior information, it is possible to judge whether the user is in a stable writing state. When the user is in a stable writing state, it means that the user is continuously writing based on a relatively stable writing speed. Since the dot matrix pen uses digital optical dot matrix technology, when the user is writing, the high-speed camera at the front end of the dot matrix pen needs to capture the movement trajectory of the pen tip, and at the same time, the pressure sensor needs to transmit the pressure data back to the management system. In the stable writing state, both the writing action and the pressure are relatively stable. The pressure sensor can work in a relatively low power consumption state, and at the same time, it can ensure the accurate capture of writing data. In addition, the continuity and stability of the writing trajectory are also convenient for reducing the complexity in the data processing process. Therefore, when it is determined that the user is in a stable writing state, the original operating level corresponding to the dot matrix pen in the actual writing stage can be adjusted, that is, the operating load of the dot matrix pen can be reduced. Among them, the original operating level can be set by relevant staff, and different operating levels correspond to different operating loads.
[0083] When the real-time continuous writing duration in the real-time writing behavior information is higher than the preset stable continuous duration, and at the same time, the real-time writing speed in the real-time writing behavior information is within the preset stable speed range, it can be determined that the user is in a stable writing state. Among them, the specific preset stable continuous duration and the preset stable speed range are not specifically limited in the embodiments of the present application and can be set by relevant technical personnel.
[0084] Step S230: Obtain the real-time writing content corresponding to the actual writing stage. When the real-time writing content contains a preset character, adjust the initial operating level based on the number and occurrence frequency of the preset character to obtain the target operating level.
[0085] Step S240: Perform power consumption management on the dot matrix pen based on the target operating level.
[0086] Specifically, when the user is in a stable writing state, the power consumption of the dot matrix pen during use can be reduced by reducing the original operating level, that is, during the stable writing process, the components inside the dot matrix pen do not need to maintain a full-load operating state all the time. However, when the user is in a stable writing state, it is also necessary to analyze and view the real-time writing content generated when the user uses the dot matrix pen for writing. When it is detected that the real-time writing content contains a preset character, the initial operating level needs to be adjusted again to ensure the integrity of the preset character. The preset character can be a relatively complex text, graphic or symbol. During the writing process of the preset character, relatively high processing complexity may be faced, so a relatively high operating level is required. The specific preset character is not specifically limited in the embodiments of the present application and can be set by relevant technical personnel.
[0087] When preset characters appear in the real-time writing content, the number and frequency of the preset characters in the real-time writing content are recorded, and then the adjustment level is determined based on the number and frequency. Finally, the initial operating level is adjusted upward based on the adjustment level to obtain the target operating level. Different parameter combinations of the number and frequency of preset characters correspond to different adjustment levels. The adjustment level corresponding to any number and frequency can be determined based on the preset adjustment level mapping relationship. The specific content of the preset adjustment level mapping relationship is not specifically limited in the embodiments of the present application.
[0088] For the embodiment of the present application, by analyzing the real-time writing behavior information corresponding to the user in the actual writing stage, it is convenient to analyze the user's writing status. When the user is in a stable writing state, the operating level of the dot matrix pen is reduced, thereby reducing the power consumption of the dot matrix pen in the stable writing state, thereby facilitating the extension of the usage time of the dot matrix pen after a single charge. In addition, by analyzing the number and frequency of preset characters contained in the real-time writing content, the operating level of the dot matrix pen is adjusted again, so as to ensure the integrity of the writing content while reducing energy consumption.
[0089] Furthermore, in order to reduce the power consumption of the user when using the dot matrix pen to process repetitive writing content, the method provided in the embodiment of the present application further includes:
[0090] Obtain the corresponding historical writing content of the user within a preset integration time period; determine the repeated writing content from the historical writing content, and determine the repeated writing trajectory based on the repeated writing content; bind the repeated writing content and the corresponding repeated writing trajectory to obtain bound repeated information, and import the bound repeated information into a preset buffer pool; when it is detected that the real-time writing information contains repeated writing trajectories, determine the target repeated writing content corresponding to the repeated writing trajectory from the preset buffer pool, and upload the target repeated writing content.
[0091] Specifically, the preset integration time period is a period of time before the current moment. The duration corresponding to the preset integration time period can be 24 hours, 48 hours, etc., and the specific duration is not specifically limited in the embodiments of the present application. The repeated writing content can be determined from the historical writing content based on a preset comparison algorithm. Among them, the writing moments corresponding to the repeated writing content in the preset integration time period are different. Based on the preset comparison algorithm, the writing content from different writing moments in the historical writing content can be compared to determine the repeated writing content. The specific preset comparison algorithm can be a cosine similarity algorithm, an algorithm based on locality-sensitive hashing, etc., which is not specifically limited in the embodiments of the present application. There may be multiple repeated writing contents included in the historical writing content, and different repeated writing contents may be different. For example, there are two repeated writing contents included in the historical writing content, namely repeated writing content a and repeated writing content b. Among them, the moments when repeated writing content a appears in the preset integration time period are moment 1 and moment 3, and the moments when repeated writing content b appears in the preset integration time period are moment 2, moment 4, and moment 5.
[0092] The repeated writing trajectories corresponding to different repeated writing contents are different. The repeated writing trajectory is the habitual writing trajectory of the user within the preset integration time period. For example, when writing the number 0, some people are used to writing clockwise, and some people are used to writing counterclockwise. After determining the repeated writing content, the repeated writing trajectory corresponding to the repeated writing content can be determined from the behavior trajectory database. The behavior trajectory database contains the writing trajectories of the user when writing all historical writing contents, which can be collected by the image acquisition device set inside the dot matrix pen and then uploaded.
[0093] Bind each repeated writing content to the corresponding repeated writing trajectory, so as to facilitate subsequent calling of the corresponding repeated writing content based on the repeated writing trajectory, or calling the corresponding repeated writing trajectory based on the repeated writing content. Only the bound repeated information in the historical writing content corresponding to the preset integration time period is included in the preset buffer pool. Since the writing habits of the user may change, by limiting the time limit of the information stored in the preset buffer pool, it is convenient to improve the effectiveness and accuracy when calling information from the preset buffer pool. When the repeated writing trajectory appears in the subsequent real-time writing content, it is not necessary to start the relevant components inside the dot matrix pen to calculate the coordinates of the writing trajectory to determine the corresponding writing content, but directly select the corresponding target repeated writing content from the preset buffer pool for uploading, which is convenient to reduce the power consumption of each component inside the dot matrix pen when the user uses the dot matrix pen to process the repeated writing content.
[0094] Furthermore, in order to facilitate improving the integrity and readability of the writing content, the method provided in the embodiments of the present application further includes:
[0095] When it is detected that the real-time writing content contains a blank position, determine the associated writing position corresponding to the blank position from the real-time writing content; identify the writing type of the associated writing content included in the associated writing position, where the writing type includes graphics and text; perform semantic recognition on the real-time writing content based on the writing type and the blank position to obtain the writing content to be supplemented corresponding to the blank position; feedback the writing content to be supplemented to the user, and after obtaining the confirmation instruction of the user, superimpose the writing content to be supplemented on the blank position.
[0096] Specifically, when the real-time writing content contains a blank position, it indicates that there may be a situation of missing strokes during the real-time writing process. At this time, the associated writing position related to it can be first determined from the real-time writing content according to the blank position. The associated writing position of the blank position can be a circle with the blank position as the center and a preset distance as the radius. The specific preset distance is not limited in the embodiments of the present application. Then, determine the writing content to be supplemented based on the type of the associated writing content included in the associated writing position. For example, if the associated writing content is a certain text, the writing content to be supplemented obtained after semantic recognition of the associated writing content may be words or phrases before and after the blank position; if the associated writing content is a certain graphic, the writing content to be supplemented obtained after semantic recognition of the associated writing content may be other parts of the graphic or adjacent graphic elements.
[0097] When the writing type is a graphic, first determine the graphic to which the blank position belongs or is adjacent from the real-time writing content, and then use the preset image recognition technology to identify the types, shapes, colors and other features of the corresponding or adjacent graphics, and determine the writing content to be supplemented based on this. The specific preset image recognition technology is not specifically limited in the embodiments of the present application; when the writing type is text, first determine the text paragraph where the blank position is located from the real-time writing content, and then use the preset natural language processing technology for part-of-speech tagging, syntactic analysis, etc., and determine the writing content to be supplemented based on this. The specific preset natural language processing technology is not specifically limited in the embodiments of the present application.
[0098] After determining the writing content to be supplemented corresponding to the blank position, the writing content to be supplemented is not directly superimposed on the blank position, but first feedback the writing content to be supplemented to the user in a visual way, such as displaying it on the screen of the intelligent device, and then wait for the confirmation instruction of the user. The confirmation operation can be realized through the interaction of the user interface, such as clicking the confirmation button, voice confirmation, etc. After obtaining the confirmation instruction of the user, then superimpose the writing content to be supplemented on the blank position, so as to improve the effectiveness and accuracy of the writing content to be supplemented.
[0099] In the embodiments of the present application, a management system is provided, such as Figure 3 shown Figure 3The management system 300 shown includes: a processor 301 and a memory 303. Among them, the processor 301 and the memory 303 are connected, such as connected through a bus 302. Optionally, the management system 300 may further include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one, and the structure of the management system 300 does not constitute a limitation on the embodiments of the present application.
[0100] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the present application. The processor 301 may also be a combination that implements computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0101] The bus 302 may include a path for transmitting information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 3 only one line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
[0102] The memory 303 may be a ROM (Read Only Memory), or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory), or other types of dynamic storage devices that can store information and instructions. It may also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0103] The memory 303 is used to store the application program code for executing the solution of this application, and is controlled by the processor 301 to execute. The processor 301 is used to execute the application program code stored in the memory 303 to implement the content shown in the foregoing method embodiments.
[0104] Among them, the management system includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The shown management system is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.
[0105] The embodiments of this application provide a computer-readable storage medium, on which a computer program is stored. When it runs on a computer, it enables the computer to execute the corresponding content in the foregoing method embodiments.
[0106] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the method in any of the above embodiments. Compared with the related art, in the embodiment of the present application, a corresponding buffer period is set by analyzing the writing behavior information of the user, rather than immediately turning off all components built into the dot pen after detecting that the user stops writing. If the relevant components are immediately turned off after detecting that the dot pen stops writing, it may be misjudged as the end of writing due to the user's short pause or posture adjustment, and thus situations such as missing strokes may occur. If there is no new operation after the buffer period ends, the dot pen will turn off its built-in components and enter the sleep state. By analyzing the hand grip pressure value when the user uses the dot pen, it is convenient to predict the moment when the user continues to write. Setting the sleep level based on the hand grip pressure information helps to ensure that the dot pen can respond quickly when needed. Finally, intelligent power consumption management is performed on the dot pen through the sleep levels corresponding to the buffer period and the sleep period, which helps to reduce the energy consumption during the use of the dot pen, and thus helps to extend the standby time after a single charge.
[0107] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, there is no strict order restriction for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
[0108] The above are only some embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A power consumption management method for a dot matrix pen, characterized in that, Including: Obtain the writing behavior information corresponding to the first time period, and determine the buffer period based on the writing behavior information. The writing behavior information includes the continuous writing duration and writing speed of the user within the first time period; Obtain the hand - holding pressure information corresponding to the second time period, and determine the sleep level corresponding to the sleep period based on the hand - holding pressure information and the buffer period. The hand - holding pressure information includes the hand - holding pressure values when the user holds the dot matrix pen at each moment within the second time period; Determine the management strategy based on the buffer period and the sleep level corresponding to the sleep period, and perform power consumption management on the dot matrix pen based on the management strategy; Among them, determining the sleep level corresponding to the sleep period based on the hand - holding pressure information and the buffer period includes: Determine the pressure change data axis based on the hand - holding pressure information, and determine the pressure stability value corresponding to the hand - holding pressure information based on the preset stable range value and the pressure change data axis; Determine the hand - holding posture change data axis based on the hand - holding pressure information, and determine the hand - holding pressure point stability value corresponding to the hand - holding pressure information based on the preset stable posture and the hand - holding posture change data axis; Determine the target change value based on the pressure stability value and the hand - holding pressure point stability value, and determine the final sleep level of the target change value based on the target change value and the preset sleep level mapping relationship. The preset sleep level mapping relationship is the corresponding relationship between the target change value and the sleep level.
2. The power consumption management method of a dot matrix pen according to claim 1, characterized in that Also including: Obtain the sleep hand - holding pressure information corresponding to the sleep period in real - time; When the sleep hand - holding pressure information includes a preset hand - holding pressure and a preset hand - holding posture, determine the duration value based on the pressure duration of the preset hand - holding pressure and the posture duration of the preset hand - holding posture; When the duration value is higher than the preset duration threshold, generate an early wake - up instruction, and the early wake - up instruction is used to wake up the dot matrix pen.
3. A method for power consumption management of a dot matrix pen according to claim 1, characterized in that, Also including: Obtain the real - time writing behavior information corresponding to the actual writing stage, and determine whether the user is in a stable writing state based on the real - time writing behavior information. When the real - time continuous writing duration in the real - time writing behavior information is higher than the preset stable continuous duration, and the real - time writing speed in the real - time writing behavior information is within the preset stable speed range, determine that the user is in a stable writing state; If so, adjust the original operation level corresponding to the dot matrix pen within the actual writing stage to obtain the initial operation level; Obtain the real - time writing content corresponding to the actual writing stage. When the real - time writing content includes a preset character, adjust the initial operation level based on the number and appearance frequency of the preset character to obtain the target operation level; Perform power consumption management on the dot matrix pen based on the target operation level.
4. The method for managing the power consumption of a dot matrix pen according to claim 3, characterized in that, Also including: Obtain the historical writing content corresponding to the user within the preset integration time period; Determine the repeated writing content from the historical writing content, and determine the repeated writing trajectory based on the repeated writing content; Bind the repeated writing content and the corresponding repeated writing trajectory to obtain bound repeated information, and import the bound repeated information into a preset buffer pool; When it is detected that the real-time writing content contains the repeated writing trajectory, determine the target repeated writing content corresponding to the repeated writing trajectory from the preset buffer pool, and upload the target repeated writing content.
5. A dot matrix pen power consumption management method according to claim 3, characterized in that, It further includes: When it is detected that the real-time writing content contains a vacant position, determine the associated writing position corresponding to the vacant position from the real-time writing content; Identify the writing type of the associated writing content included in the associated writing position, where the writing type includes graphics and text; Based on the writing type and the vacant position, perform semantic recognition on the real-time writing content to obtain the writing content to be supplemented corresponding to the vacant position; Feed back the writing content to be supplemented to the user, and after obtaining the confirmation instruction of the user, superimpose the writing content to be supplemented on the vacant position.
6. A management system, characterized in that, This management system includes: At least one processor; A memory; At least one application program, where the at least one application program is stored in the memory and is configured to be executed by at least one processor, and the at least one application program is configured to: execute a dot pen power consumption management method according to any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, It includes: A computer program stored that can be loaded and executed by a processor to execute a dot pen power consumption management method according to any one of claims 1-5.
8. A computer program product, characterized in that, It includes a computer program, and when the computer program is executed by a processor, it implements the steps of a dot pen power consumption management method according to any one of claims 1-5.
Citation Information
Patent Citations
Power saving method and device, electronic equipment and medium
CN115437488A