Dot matrix pen power consumption management method and system, storage medium and product
By analyzing writing behavior and hand-holding pressure information, setting buffering and sleeping periods, intelligently managing the power consumption of dot-matrix pens, solving the problems of high power consumption and writing delay of dot-matrix pens, extending the standby time and reducing the risk of losing strokes.
Patent Information
- Application Number
- CN202411619453.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-11-13
AI Technical Summary
The dot matrix pen consumes a higher power during writing, resulting in a short standby time after a single charge, and the wake-up component may result in writing delays and stroke loss.
By analyzing the user's writing behavior information, setting the buffer period, and determining the dormant level of the dormant period based on the hand-holding pressure information, a management strategy is formulated to intelligently manage the power consumption of the dot-matrix pen.
It effectively reduces the energy loss of dot matrix pen during use, extends the standby time after a single charge, and reduces the writing delay and the probability of stroke loss.
Smart Images

Figure CN119668397A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power consumption management, and in particular to a dot matrix pen power consumption management method, management system, storage medium and product. Background Art
[0002] The dot matrix pen can automatically read and identify the written content on the paper form and convert it into electronic data, which greatly simplifies the process of data entry and processing, thereby improving office or teaching efficiency. Since the working principle of the dot matrix pen is to capture the movement trajectory of the pen tip through the high-speed camera at the front end of the pen, and use the pressure sensor to determine the writing status, and start the built-in infrared imaging or optical module to identify and decode the dot matrix code, the various components contained in the dot matrix pen are in full load operation during the writing process, and the power consumption is high, which may result in a short standby time after a single charge.
[0003] In the related art, the user's writing status is generally detected in real time to determine the operating status 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 shut down to reduce power consumption. However, when the user needs to continue writing, writing delays may occur due to waking up the components, which may result in lost strokes. Summary of the invention
[0004] In order to effectively reduce the energy loss of a dot matrix pen during use, thereby extending the standby time after a single charge, the present application provides a dot matrix pen power consumption management method, management system, storage medium and product.
[0005] In a first aspect, the present application provides a dot pen power consumption management method, which adopts the following technical solution: A dot pen power consumption management method, comprising: Acquire writing behavior information corresponding to a first time period, and determine a buffer period based on the writing behavior information, wherein the writing behavior information includes a continuous writing duration and a writing speed of a user in the first time period; Acquire grip pressure information corresponding to the second time period, and determine the sleep level corresponding to the sleep period based on the grip pressure information and the buffer period, wherein the grip pressure information includes grip pressure values when the user grips the dot matrix pen at each moment in the second time period; A management strategy is determined based on the sleep levels corresponding to the buffer period and the sleep period, and power consumption management of the dot matrix pen is performed based on the management strategy.
[0006] By adopting the above technical solution, the corresponding buffer period is set by analyzing the writing behavior information of the user. It does not mean that all the built-in components of the dot matrix pen are immediately closed after detecting that the user stops writing. If the relevant components are immediately closed after detecting that the dot matrix pen stops writing, it may be mistakenly judged as the end of writing due to the user's brief pause or posture adjustment, which may cause lost strokes and the like. If the buffer period ends and there is no new operation, the dot matrix pen will turn off its built-in components and enter a sleep state. By analyzing the hand holding pressure value of the user when using the dot matrix pen, it is convenient to predict the time when the user continues to write. The sleep level is set based on the hand holding pressure information to ensure that the dot matrix pen can respond quickly when needed. Finally, the dot matrix pen is intelligently managed for power consumption through the sleep level corresponding to the buffer period and the sleep period, so as to reduce the energy loss of the dot matrix pen during use, thereby extending the standby time after a single charge.
[0007] In a possible implementation, determining the sleep level corresponding to the sleep period based on the hand grip pressure information and the buffer period includes: 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; Determine a hand gripping posture change data axis based on the hand gripping pressure information, and determine a hand gripping pressure point stability value corresponding to the hand gripping pressure information based on a preset stable posture and the hand gripping posture change data axis; The target change value is determined based on the pressure stability value and the hand-gripping pressure point stability value, and the final sleep level of the target change value is determined based on the mapping relationship between the target change value and the preset sleep level. The preset sleep level mapping relationship is the correspondence between the target change value and the sleep level.
[0008] By adopting the above technical solution, by analyzing the changes in the user's grip pressure and grip posture over a period of time, it is convenient to predict whether the user will be in a pause state or prepare 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 pause state, the relevant components built into the dot matrix pen are controlled to enter a sleep state at a higher sleep level, thereby reducing power consumption and extending the service life. At the same time, when it is predicted that the user may be ready to perform subsequent writing operations, the relevant components built into the dot matrix pen are controlled to enter a sleep state at a lower sleep level, so as to improve the reaction rate of the user when writing again.
[0009] In one possible implementation, the method further includes: Acquire the dormant hand grip pressure information corresponding to the dormant period in real time; When the dormant hand gripping pressure information includes a preset hand gripping pressure and a preset hand gripping posture, determining a duration value based on a pressure duration of the preset hand gripping pressure and a posture duration of the preset hand gripping posture; When the duration value is higher than a preset duration threshold, an early wake-up instruction is generated, and the early wake-up instruction is used to wake up the dot matrix pen.
[0010] By adopting the above technical solution, by real-time monitoring of the user's grip pressure and grip posture of the dot matrix pen during the sleep period, it is convenient to predict the subtle changes of the user during the dot matrix pen sleep period, that is, whether the user is in a state ready to write. When it is determined that the user may be in a state ready to write, the dot matrix pen is awakened in advance, which can reduce the degree of delay in the actual writing process, thereby reducing the probability of missing strokes in the actual writing process.
[0011] In one possible implementation, the method further includes: Acquire 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 longer 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; If yes, adjusting the original operation level of the dot matrix pen in the actual writing stage to obtain an initial operation level; Acquire the real-time writing content corresponding to the actual writing stage, and when the real-time writing content includes preset characters, adjust the initial operation level based on the number and occurrence frequency of the preset characters to obtain a target operation level; Power consumption of the dot matrix pen is managed based on the target operating level.
[0012] By adopting the above technical solution, 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 state. 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 use time of the dot matrix pen after a single charge. In addition, by analyzing the number and frequency of occurrence of preset characters contained in the real-time writing content, the operating level of the dot matrix pen is adjusted again, so as to reduce energy consumption while ensuring the integrity of the writing content.
[0013] In one possible implementation, the method further includes: Obtain the user's corresponding historical writing content within a preset integration time period; Determining repeated writing content from the historical writing content, and determining repeated writing tracks based on the repeated writing content; Binding the repeated writing content and the corresponding repeated writing track to obtain bound repeat information, and importing the bound repeat information into a preset buffer pool; When it is detected that the real-time writing information contains the repeated writing track, the target repeated writing content corresponding to the repeated writing track is determined from the preset buffer pool, and the target repeated writing content is uploaded.
[0014] By adopting the above technical solution, by integrating and analyzing the user's historical writing content, it is convenient to analyze the user's repeated words and bind the repeated words to the corresponding repeated writing tracks. When repeated writing tracks appear in subsequent real-time writing content, there is no need to start the relevant components in the dot matrix pen to calculate the coordinates of the writing track to determine the corresponding writing content. Instead, the corresponding target repeated writing content is directly selected from the preset buffer pool for uploading, which is convenient for reducing the power consumption of each component inside the dot matrix pen when the user uses the dot matrix pen to process repeated writing content.
[0015] In one possible implementation, the method further includes: When it is detected that the real-time writing content contains a vacant position, determining an associated writing position corresponding to the vacant position from the real-time writing content; Identifying the writing type containing associated writing content at the associated writing position, wherein the writing type includes graphics and text; Performing semantic recognition on the real-time writing content based on the writing type and the vacant position to obtain the writing content to be supplemented corresponding to the vacant position; The written content to be supplemented is fed back to the user, and after obtaining the user's confirmation instruction, the written content to be supplemented is superimposed on the vacant position.
[0016] By adopting the above technical solution, by automatically identifying and supplementing the content of the vacant positions, it is convenient to timely discover the missing strokes in the actual written content. When it is determined that there is a vacant position, the corresponding written content to be supplemented is determined by the writing type and the vacant position, which is convenient to improve the effectiveness and accuracy of the written content to be supplemented, thereby facilitating the improvement of the completeness and readability of the written content.
[0017] In a second aspect, the present application provides a management system, which adopts the following technical solution: A management system, the management system comprising: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the above-mentioned dot pen power consumption management method.
[0018] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium includes: a computer program that can be loaded by a processor and execute the above-mentioned dot matrix pen power consumption management method.
[0019] In a fourth aspect, the present application provides a computer program product, which adopts the following technical solution: A computer program product includes a computer program, and when the computer program is executed by a processor, the dot matrix pen power consumption management method is implemented.
[0020] In summary, the present application includes at least one of the following beneficial technical effects: The corresponding buffer period is set by analyzing the user's writing behavior information. It does not mean that all the built-in components of the dot matrix pen will be closed immediately after detecting that the user stops writing. If the relevant components are closed immediately after detecting that the dot matrix pen stops writing, it may be mistakenly judged as the end of writing due to the user's brief pause or posture adjustment, which may cause lost strokes, etc. 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 user's hand holding pressure value when using the dot matrix pen, it is convenient to predict the time when the user continues to write. The sleep level is set based on the hand holding pressure information to ensure that the dot matrix pen can respond quickly when needed. Finally, the dot matrix pen is managed intelligently through the sleep level corresponding to the buffer period and the sleep period, so as to reduce the energy loss of the dot matrix pen during use, thereby extending the standby time after a single charge.
[0021] 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 use 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 reduce energy consumption while ensuring the integrity of the writing content. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flowchart of a dot pen power consumption management method in an embodiment of the present application; Figure 2 is a schematic diagram of a process for determining a target operating level in an embodiment of the present application; Figure 3 It is a structural diagram of a management system in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following is combined with Figures 1 to 3 This application is described in further detail.
[0024] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] It should be noted that in the optional embodiments of the present application, the object information and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in 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. The embodiments also need to be implemented with the authorization and consent of the object.
[0027] Specifically, the embodiment of the present application provides a method for managing power consumption of a dot matrix pen, which is executed by a management system, and the management system can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or 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 via wired or wireless communication, and the embodiment of the present application does not limit this.
[0028] refer to Figure 1 , Figure 1 : is a flow chart of a dot pen power consumption management method in an embodiment of the present application, the method comprises steps S110 to S130, wherein: Step S110: Acquire writing behavior information corresponding to the first time period, and determine a buffer period based on the writing behavior information, wherein the writing behavior information includes the continuous writing duration and writing speed of the user in the first time period.
[0029] Specifically, if the user is detected to have stopped writing at the current moment, the first time period is a period of time before the current moment, and the duration corresponding to the first time period may be 20 seconds or 30 seconds, etc. The specific duration is not specifically limited in the embodiments of the present application, and pressure sensing, motion detection, time interval, and pen lift detection may be used to determine whether the user has stopped writing. When pressure sensing is used to determine whether the user has stopped writing, pressure data collected by a pressure sensor built into the dot pen may be analyzed to determine whether the user has stopped writing. When it is detected that the movement of the dot pen stops or slows down to a preset speed, it can be determined that the user has stopped writing. The specific method for determining whether the user has stopped 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.
[0030] The writing behavior information includes but is not limited to the continuous writing time 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 over a period of time, it is convenient to understand the user's usage habits when using the dot matrix pen. The buffer period is a period of time after the user stops writing. The buffer period corresponds to the writing behavior information. The internal components of the dot matrix pen will not immediately enter the dormant or closed state during the buffer period, that is, the internal components of the dot matrix pen are still in operation during the buffer period, so that the user can continue writing after a short pause or adjustment of the posture. The buffer period corresponding to the buffer period can be determined according to the preset buffer period mapping relationship. The preset buffer period mapping relationship is the corresponding relationship between the parameter combination of the continuous writing time and the writing speed and the buffer period. Based on the preset buffer period mapping relationship, the buffer period corresponding to any writing behavior information can be determined. The specific content of the mapping relationship is not specifically limited in the embodiment of the present application, and can be determined by the relevant staff according to the historical experimental data and uploaded to the management system. The longer the continuous writing time, the faster the writing speed, and the longer the corresponding buffer period.
[0031] Step S120: Obtain grip pressure information corresponding to the second time period, and determine the sleep level corresponding to the sleep period based on the grip pressure information and the buffer period, wherein the grip pressure information includes grip pressure values when the user grips the dot matrix pen at each moment in the second time period.
[0032] Specifically, the second time period is a period of time before and after the user stops writing. For example, when the time when the user stops writing is detected to be 10:00, the second time period may be between 09:59 and 10:01, wherein the buffer period has begun from 10:00. The duration corresponding to the second time period may be 60 seconds or 120 seconds. The specific duration is not specifically limited in the embodiments of the present application and may be set by relevant technical personnel.
[0033] The grip pressure information includes but is not limited to the grip pressure values of the dot matrix pen at each moment in the second time period, which can be collected by the built-in pressure sensor of the dot matrix pen, and the collection results are uploaded to the management system. Since the second time period includes two attitudes of the user, writing and stopping writing, and the grip pressure of the dot matrix pen by the user in the two states of writing and stopping writing may be different, therefore, by analyzing the pressure changes when the user holds the dot matrix pen in the second time period, it is possible to predict whether the user continues to write after a short stop or stops writing for a long time. The sleep period is a period of time after the buffer period, and 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 stop, the sleep level corresponding to the sleep period is low, so that the components inside the dot matrix pen can quickly return to the running state when the user writes again; if the prediction result is to stop writing for a long time, the sleep level corresponding to the sleep period is high, so as to save the power consumption of the dot matrix pen, wherein the higher the sleep level, the less power the dot matrix pen consumes during the sleep period.
[0034] Furthermore, based on the grip pressure information and the buffer period, a specific method of determining the sleep level corresponding to the sleep period may include: 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 mapping relationship between the target change value and the preset sleep level, and the preset sleep level mapping relationship is the corresponding relationship between the target change value and the sleep level.
[0035] Specifically, the hand holding pressure information includes not only the hand holding pressure value when the user holds the dot matrix pen at each moment in the second time period, but also the hand holding posture coordinate points when the user holds the dot matrix pen at each moment in the second time period. By converting the hand holding pressure information into a pressure change data axis and a hand holding posture change data axis, it is convenient to intuitively view the changes in the user's holding of the dot matrix pen.
[0036] The specific preset stable range value is not specifically limited in the embodiment of the present application, and can be uploaded to the management system by relevant staff based on historical experimental data. When determining the pressure stability value corresponding to the hand-gripping pressure information based on the preset stable range value and the pressure change data axis, the stable time period can be first determined from the pressure change data axis based on the preset stable range value, and the hand-gripping pressure values corresponding to each moment in the stable time period are all within the preset stable range value. Then, based on the first duration ratio between the stable duration corresponding to the stable time period and the duration corresponding to the second time period, and the preset pressure stability value mapping relationship, the pressure stability value corresponding to the first duration ratio is determined, wherein the preset pressure stability value mapping relationship is the corresponding relationship between the first duration ratio and the pressure stability value.
[0037] Similarly, the specific preset stable posture is not specifically limited in the embodiment of the present application, and can be uploaded to the management system by relevant staff according to historical experimental data. When determining the stable value of the hand holding pressure point corresponding to the hand holding pressure information based on the preset stable posture and the hand holding posture change data axis, the pressure point stable time period can be first determined from the hand holding posture change data based on the preset stable posture. The hand holding area formed by the hand holding posture coordinate points corresponding to each moment in the pressure point stable time period is located in 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 time corresponding to the pressure point stable time period and the second time period corresponding to the time, and the preset hand holding pressure point stable value mapping relationship, the hand holding pressure point stable value corresponding to the second duration ratio is determined, wherein the preset hand holding pressure point stable value mapping relationship is the corresponding relationship between the second duration ratio and the hand holding pressure point stable value.
[0038] After determining the pressure stability value and the hand-gripping pressure point stability value, the two are summed 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, wherein the preset sleep level mapping relationship is the correspondence between the target change value and the sleep level.
[0039] Step S130: determining a management strategy based on the sleep levels corresponding to the buffer period and the sleep period, and performing power consumption management on the dot matrix pen based on the management strategy.
[0040] Specifically, the power consumption of the dot matrix pen is managed based on the management strategy, so that the dot matrix pen can reduce the power consumption while avoiding missing strokes.
[0041] For the embodiment of the present application, the corresponding buffer period is set by analyzing the writing behavior information of the user. It does not mean that all the built-in components of the dot matrix pen are immediately closed after detecting that the user stops writing. If the relevant components are closed immediately after detecting that the dot matrix pen stops writing, it may be mistakenly judged as the end of writing due to the user's brief pause or posture adjustment, which may cause lost strokes, etc. If the buffer period ends and there is no new operation, the dot matrix pen will turn off its built-in components and enter a sleep state. By analyzing the hand holding pressure value of the user when using the dot matrix pen, it is convenient to predict the time when the user continues to write. The sleep level is set based on the hand holding pressure information to ensure that the dot matrix pen can respond quickly when needed. Finally, the dot matrix pen is intelligently managed for power consumption through the sleep level corresponding to the buffer period and the sleep period, so as to reduce the energy loss of the dot matrix pen during use, thereby extending the standby time after a single charge.
[0042] In order to further reduce the degree of delay in the actual writing process, the method provided in the embodiment of the present application further includes: Acquire the sleep hand holding pressure information corresponding to the sleep period in real time; when the sleep hand holding pressure information contains the preset hand holding pressure and the 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.
[0043] Specifically, when the dot matrix pen enters the dot matrix pen sleep period, the components inside the dot matrix pen may operate at a lower power or load, so the pressure sensor inside the dot matrix pen can continue to collect the dot matrix pen sleep hand pressure information. By analyzing whether the dot matrix pen sleep hand pressure information contains the preset hand pressure and the preset hand posture to determine whether the user is in the state of preparing to write, when it is determined that the user may be in the state of preparing to write, the dot matrix pen is awakened in advance, so as to reduce the delay in the actual writing process, thereby reducing the probability of missing strokes in the actual writing process.
[0044] The preset hand holding pressure is the user's habitual hand holding pressure during the writing stage, and the preset hand holding posture is the user's habitual hand holding posture during the writing stage. When the dormant hand holding pressure information contains both the preset hand holding pressure and the preset hand holding posture, and the duration corresponding to the duration of the preset hand holding pressure and the duration of the preset hand holding posture is higher than the preset duration threshold, it can be determined that the user is currently in a state of preparing to write, and the dot matrix pen can be awakened in advance before the user actually writes. The preset hand holding pressure and the preset hand holding posture can be determined by relevant staff based on historical experimental data and uploaded to the management system. When determining the duration value based on the pressure duration of the preset hand holding pressure and the posture duration of the preset hand holding 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 the corresponding relationship and the specific preset duration threshold are not specifically limited in the embodiments of the present application.
[0045] Furthermore, in order to reduce energy consumption while ensuring the integrity of the written content, the method provided in the embodiment of the present application further includes steps S210 to S240, such as Figure 2 As shown, where: 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.
[0046] Step S220: If yes, then adjust the original operation level corresponding to the dot matrix pen in the actual writing stage to obtain the initial operation level.
[0047] The actual writing stage is the stage in which the user uses the dot matrix pen to write. The real-time writing behavior information is the writing behavior information collected in real time while the user is holding the dot matrix pen to write. 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 indicates that the user is continuously writing at a relatively stable writing speed. Since the dot matrix pen uses digital optical dot matrix technology, when the user writes, the high-speed camera at the front end of the dot matrix pen needs to capture the movement trajectory of the pen tip, and the pressure sensor needs to transmit the pressure data back to the management system. In the stable writing state, the writing action and pressure are relatively stable. The pressure sensor can maintain a low power consumption state and ensure the accurate capture of the writing data. In addition, the continuity and stability of the writing trajectory also facilitate the reduction of the complexity of 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. The original operating level can be set by relevant staff, and different operating levels correspond to different operating loads.
[0048] 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, wherein 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.
[0049] Step S230: obtaining the real-time writing content corresponding to the actual writing stage, and when the real-time writing content contains preset characters, adjusting the initial operation level based on the number and occurrence frequency of the preset characters to obtain the target operation level.
[0050] Step S240: performing power consumption management on the dot matrix pen based on the target operating level.
[0051] 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 various components inside the dot matrix pen do not need to consistently maintain a full-load operating state. 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 to write. When it is detected that the real-time writing content contains preset characters, it is necessary to adjust the initial operating level again to ensure the integrity of the preset characters. The preset characters can be more complex text, graphics or symbols, and may face higher processing complexity during the writing of the preset characters, so a higher operating level is required. The specific preset characters are not specifically limited in the embodiments of this application and can be set by relevant technical personnel.
[0052] 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 have different corresponding 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.
[0053] 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 state. 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 extending the use time of the dot matrix pen after a single charge. In addition, by analyzing the number and frequency of occurrence of preset characters contained in the real-time writing content, the operating level of the dot matrix pen is adjusted again, so as to reduce energy consumption while ensuring the integrity of the writing content.
[0054] Furthermore, in order to reduce the power consumption of the user when using the dot matrix pen to process repeatedly written content, the method provided in the embodiment of the present application also includes: 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 the 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 a 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.
[0055] Specifically, the preset integration time period is a period of time before the current moment, and the duration corresponding to the preset integration time period may be 24 hours, 48 hours, etc. 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, wherein the repeated writing content corresponds to different writing moments within the preset integration time period. The written content from different writing moments in the historical writing content can be compared based on the preset comparison algorithm to determine the repeated writing content. The specific preset comparison algorithm may be a cosine similarity algorithm, an algorithm based on local sensitive hashing, etc., which is not specifically limited in the embodiments of the present application. There may be multiple repeated writing contents contained in the historical writing content, and different repeated writing contents may be different. For example, the historical writing content contains two types of repeated writing contents, namely repeated writing content a and repeated writing content b, wherein the repeated writing content a appears at moments 1 and 3 within the preset integration time period, and the repeated writing content b appears at moments 2, 4, and 5 within the preset integration time period.
[0056] Different repeated writing contents correspond to different repeated writing trajectories. The repeated writing trajectory is the habitual writing trajectory of the user within a preset integrated time period. For example, when writing the number 0, some people are accustomed to writing clockwise, while some people are accustomed to writing counterclockwise. After the repeated writing content is determined, 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 trajectory 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 uploaded.
[0057] Bind each repeated writing content with the corresponding repeated writing track, so as to facilitate the subsequent calling of the corresponding repeated writing content based on the repeated writing track, or, to facilitate the calling of the corresponding repeated writing track based on the repeated writing content. The preset buffer pool only contains the bound repeated information in the historical writing content corresponding to the preset integration time period. Since the user's writing habits may change, the validity and accuracy of calling information from the preset buffer pool is improved by limiting the period of time for which information exists in the preset buffer pool. When repeated writing tracks appear in the subsequent real-time writing content, there is no need to start the relevant components in the dot matrix pen to calculate the coordinates of the writing track to determine the corresponding writing content. Instead, the corresponding target repeated writing content is directly selected from the preset buffer pool for uploading, so as to reduce the power consumption of the components inside the dot matrix pen when the user uses the dot matrix pen to process repeated writing content.
[0058] Furthermore, in order to improve the integrity and readability of the written content, the method provided in the embodiment of the present application also includes: When it is detected that the real-time writing content contains a missing position, determine the associated writing position corresponding to the missing position from the real-time writing content; identify the writing type that contains the associated writing content 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 missing position to obtain the writing content to be supplemented corresponding to the missing position; feed back the writing content to be supplemented to the user, and after obtaining the user's confirmation instruction, superimpose the writing content to be supplemented on the missing position.
[0059] Specifically, when the real-time writing content contains a vacant position, it indicates that a stroke may be lost during the real-time writing process. At this time, the associated writing position associated with the vacant position can be determined from the real-time writing content first. The associated writing position of the vacant position can be a circle with the vacant position as the center and a preset distance as the radius. The specific preset distance is not limited in the embodiment of the present application. The writing content to be supplemented is then determined based on the type of the associated writing content contained in the associated writing position. For example, if the associated writing content is a paragraph of text, the writing content to be supplemented obtained after semantic recognition of the associated writing content may be the words or phrases before and after the vacant position; if the associated writing content is a 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.
[0060] When the writing type is a graphic, the graphic to which the vacant position belongs or is adjacent can be determined from the real-time writing content, and then the preset image recognition technology can be used to identify the type, shape, color and other features of the corresponding or adjacent graphics, and based on this, the writing content to be supplemented is determined. The specific preset image recognition technology is not specifically limited in the embodiments of the present application; when the writing type is text, the text paragraph where the vacant position is located can be determined from the real-time writing content, and then the preset natural language processing technology can be used to perform part-of-speech tagging, syntactic analysis, etc., and based on this, the writing content to be supplemented is determined. The specific preset natural language processing technology is not specifically limited in the embodiments of the present application.
[0061] After determining the written content to be supplemented corresponding to the vacant position, the written content to be supplemented is not directly superimposed on the vacant position, but the written content to be supplemented is first fed back to the user in a visual manner, such as displayed on the screen of the smart device, and then waits for the user's confirmation instruction. The confirmation operation can be achieved through the interaction of the user interface, such as clicking a confirmation button, voice confirmation, etc. After obtaining the user's confirmation instruction, the written content to be supplemented is superimposed on the vacant position, thereby facilitating the improvement of the effectiveness and accuracy of the written content to be supplemented.
[0062] The present application embodiment provides a management system, such as Figure 3 As shown, Figure 3The management system 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the management system 300 may also include a transceiver 304. It should be noted that in actual 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.
[0063] 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 may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0064] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The fact that only one line is used in the diagram does not mean that there is only one bus or only one type of bus.
[0065] 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, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, 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.
[0066] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0067] 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 terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The management system shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0068] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.
[0069] The embodiment of the present application provides a computer program product, which includes a computer program, and the computer program implements the method in any of the above embodiments when executed by a processor. Compared with the related art, the embodiment of the present application sets the corresponding buffer period by analyzing the writing behavior information of the user, and does not immediately shut down all the components built into the dot matrix pen after detecting that the user stops writing. If the relevant components are shut down immediately after detecting that the dot matrix pen stops writing, it may be misjudged as the end of writing due to the user's short pause or posture adjustment, which may cause the loss of strokes, etc. If the buffer period ends and there is no new operation, the dot matrix pen will shut down its built-in components and enter a dormant state. By analyzing the hand grip pressure value of the user when using the dot matrix pen, it is convenient to predict the time when the user continues to write. The dormancy level is set based on the hand grip pressure information to ensure that the dot matrix pen can respond quickly when needed. Finally, the dot matrix pen is intelligently managed for power consumption through the buffer period and the dormancy level corresponding to the dot matrix pen, so as to reduce the energy loss of the dot matrix pen during use, thereby extending the standby time after a single charge.
[0070] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on 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, and 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 in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0071] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A dot pen power consumption management method, characterized in that: include: Acquire writing behavior information corresponding to a first time period, and determine a buffer period based on the writing behavior information, wherein the writing behavior information includes a continuous writing duration and a writing speed of a user in the first time period; Acquire grip pressure information corresponding to the second time period, and determine the sleep level corresponding to the sleep period based on the grip pressure information and the buffer period, wherein the grip pressure information includes grip pressure values when the user grips the dot matrix pen at each moment in the second time period; A management strategy is determined based on the buffer period and the sleep level corresponding to the sleep period, and power consumption management of the dot matrix pen is performed based on the management strategy.
2. A dot pen power consumption management method according to claim 1, characterized in that: The determining, based on the hand grip pressure information and the buffer period, a sleep level corresponding to the sleep period includes: 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; Determine a hand gripping posture change data axis based on the hand gripping pressure information, and determine a hand gripping pressure point stability value corresponding to the hand gripping pressure information based on a preset stable posture and the hand gripping posture change data axis; The target change value is determined based on the pressure stability value and the hand-gripping pressure point stability value, and the final sleep level of the target change value is determined based on the mapping relationship between the target change value and the preset sleep level. The preset sleep level mapping relationship is the correspondence between the target change value and the sleep level.
3. A dot pen power consumption management method according to claim 2, characterized in that: Also includes: Acquire the dormant hand grip pressure information corresponding to the dormant period in real time; When the dormant hand gripping pressure information includes a preset hand gripping pressure and a preset hand gripping posture, determining a duration value based on a pressure duration of the preset hand gripping pressure and a posture duration of the preset hand gripping posture; When the duration value is higher than a preset duration threshold, an early wake-up instruction is generated, and the early wake-up instruction is used to wake up the dot matrix pen.
4. A dot pen power consumption management method according to claim 1, characterized in that: Also includes: Acquire 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 longer 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; If yes, adjusting the original operation level of the dot matrix pen in the actual writing stage to obtain an initial operation level; Acquire the real-time writing content corresponding to the actual writing stage, and when the real-time writing content includes preset characters, adjust the initial operation level based on the number and occurrence frequency of the preset characters to obtain a target operation level; Power consumption of the dot matrix pen is managed based on the target operating level.
5. A dot pen power consumption management method according to claim 4, characterized in that: Also includes: Obtain the historical writing content corresponding to the user within the preset integration time period; Determining repeated writing content from the historical writing content, and determining repeated writing tracks based on the repeated writing content; Binding the repeated writing content and the corresponding repeated writing track to obtain bound repeat information, and importing the bound repeat information into a preset buffer pool; When it is detected that the real-time writing information contains the repeated writing track, the target repeated writing content corresponding to the repeated writing track is determined from the preset buffer pool, and the target repeated writing content is uploaded.
6. A dot pen power consumption management method according to claim 4, characterized in that: Also includes: When it is detected that the real-time writing content contains a vacant position, determining an associated writing position corresponding to the vacant position from the real-time writing content; Identifying the writing type containing the associated writing content at the associated writing position, wherein the writing type includes graphics and text; Performing semantic recognition on the real-time writing content based on the writing type and the vacant position to obtain the writing content to be supplemented corresponding to the vacant position; The written content to be supplemented is fed back to the user, and after obtaining a confirmation instruction from the user, the written content to be supplemented is superimposed on the vacant position.
7. A management system, characterized in that: The management system includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute a dot pen power consumption management method according to any one of claims 1-6.
8. A computer-readable storage medium, characterized in that: include: A computer program is stored which can be loaded by a processor and execute a dot matrix pen power consumption management method as claimed in any one of claims 1 to 6.
9. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the steps of a dot matrix pen power consumption management method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Active capacitance pen and power-saving control method thereof
CN110531874A
Intelligent pen energy-saving method
CN111813248A
Power saving method and device, electronic equipment and medium
CN115437488A
Electronic writing tool
JP2014134855A
Electronic pen, electronic pen holder and coordinate input device
JP2017027415A