Dictionary pen control method and device and dictionary pen
By setting a sensor at the nib of the dictionary pen to detect the contact status and automatically start the control, the problem of the dictionary pen being unable to be taken and used at any time is solved and the convenience and user experience are improved.
Patent Information
- Application Number
- CN202410779928.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-06
AI Technical Summary
The dictionary pen needs to be turned on manually and wait for the system to start before use, which makes it impossible to use it anytime and anywhere, which reduces convenience.
By setting a pressure sensor or distance sensor at the nib of the dictionary pen, the contact state between the nib and the medium to be scanned is detected, automatically triggering the startup control of the dictionary pen, and integrating into the process of the user preparing to scan and retrieve words.
It simplifies user operations and eliminates the waiting process for powering on. Users can directly pick up the dictionary pen and press the pen tip to scan and retrieve words, which significantly improves the convenience of using the dictionary pen.
Smart Images

Figure CN118609130A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic products, and in particular to a dictionary pen control method, device and dictionary pen. Background Art
[0002] The dictionary pen is a portable electronic learning tool that can replace the key input method of traditional electronic dictionaries with scanning, thereby achieving fast and accurate word retrieval / search.
[0003] At present, when using a dictionary pen, users need to first control the dictionary pen to start up through the power button on the pen body, wait for the dictionary pen system to fully start up, and then use the dictionary pen to scan and retrieve words. That is, before using the dictionary pen to scan and retrieve words, users need to press the power button and wait for the dictionary pen system to start up, which makes it impossible to use the dictionary pen whenever you want, greatly reducing the convenience of using the dictionary pen. Summary of the invention
[0004] The present invention provides a dictionary pen control method, device and dictionary pen, which are used to solve the defects of the dictionary pen in the related art that it cannot be used at any time and has poor convenience of use.
[0005] The present invention provides a dictionary pen control method, comprising: Acquire a first state change signal, wherein the first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; Based on the first state change signal, the dictionary pen is powered on.
[0006] According to a dictionary pen control method provided by the present invention, the first state change signal is generated by a pressure sensor and / or a distance sensor, and the pressure sensor and / or the distance sensor are arranged at the pen tip.
[0007] According to a dictionary pen control method provided by the present invention, the step of obtaining a first state change signal includes: In the non-contact state, when the pressure value detected by the pressure sensor is greater than the pressure threshold, and / or the distance detected by the distance sensor is less than the distance threshold, it is determined that the contact state has been entered, and the first state change signal is acquired.
[0008] A dictionary pen control method provided by the present invention further includes: Based on the first state change signal, the dictionary pen is controlled to start a scanning function.
[0009] A dictionary pen control method provided by the present invention further includes: In the power-on state, a second state change signal is obtained, wherein the second state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; Based on the second state change signal, the dictionary pen is controlled to start a scanning function.
[0010] According to a dictionary pen control method provided by the present invention, the power-on control of the dictionary pen based on the first state change signal includes: When the first state change signal is obtained, the dictionary pen is powered on based on the brightness of the environment in which the dictionary pen is located.
[0011] The present invention also provides a dictionary pen control device, comprising: A state change unit, used for acquiring a first state change signal, wherein the first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; A power-on control unit is used to control the power-on of the dictionary pen based on the first state change signal.
[0012] The present invention also provides a dictionary pen, including a dictionary pen body and a processor arranged inside the dictionary pen body; the processor is used to obtain a first state change signal and, based on the first state change signal, perform power-on control on the dictionary pen, wherein the first state change signal indicates that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the dictionary pen control methods described above is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the dictionary pen control method as described above is implemented.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the dictionary pen control methods described above.
[0016] The dictionary pen control method, device and dictionary pen provided by the present invention trigger the power-on control of the dictionary pen when detecting that the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state, thereby integrating the power-on process of the dictionary pen into the process of the user preparing to scan and retrieve words, without the user having to operate the power button separately. In this way, the user operation is simplified and the user will not be aware of the power-on waiting process of the dictionary pen. The user can scan and retrieve words by picking up the dictionary pen and pressing the tip of the pen, thereby realizing the use of the dictionary pen whenever needed and improving the convenience of using the dictionary pen. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a flow chart of the dictionary pen control method provided by the present invention.
[0019] Figure 2 This is one of the structural schematic diagrams of the dictionary pen provided by the present invention.
[0020] Figure 3 This is the second structural schematic diagram of the dictionary pen provided by the present invention.
[0021] Figure 4 It is a structural schematic diagram of the dictionary pen control device provided by the present invention.
[0022] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] To facilitate language learning, electronic word search tools such as dictionary pens and electronic dictionaries have emerged. Users can use electronic word search tools to search for words. For example, they can scan the words or phrases to be searched with a dictionary pen, and then view the search results of the scanned words or phrases on the dictionary pen, which greatly improves the convenience of word search.
[0025] At present, when using a dictionary pen, users need to first control the dictionary pen to start up through the power button on the pen body, wait for the dictionary pen system to fully start up, and then use the dictionary pen to scan and retrieve words. That is, before using the dictionary pen to scan and retrieve words, users need to press the power button and wait for the dictionary pen system to start up, which makes it impossible to use the dictionary pen whenever you want, greatly reducing the convenience of using the dictionary pen.
[0026] In view of the above problems, an embodiment of the present invention provides a dictionary pen control method to optimize the use process of the dictionary pen and improve the convenience of using the dictionary pen.
[0027] Figure 1 FIG. 1 is a flow chart of the dictionary pen control method provided by the present invention. Figure 1 As shown, the method can be applied to a dictionary pen, a scanning pen, or other handheld reading devices with scanning query functions. For ease of description, the following description is made by taking a dictionary pen as an example of the execution subject.
[0028] The method includes: Step 110 , obtaining a first state change signal, wherein the first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state.
[0029] Specifically, the body of the dictionary pen has two ends, one of which is the head, which is provided with a camera, a fill light, etc. for scanning words, and the head is also called the pen tip. The medium to be scanned can be a medium containing scannable text or images, such as paper, a display screen, etc.
[0030] Usually when the dictionary pen is not in use, the dictionary pen is in a static state, and the dictionary pen is usually placed flat on a desk, a book, or inside a pen box. In this state, the tip of the dictionary pen does not contact the medium to be scanned, that is, the tip of the dictionary pen is in a non-contact state with the medium to be scanned.
[0031] If the user needs to use the dictionary pen to scan and retrieve words, the user will take the dictionary pen and place the tip of the dictionary pen against the medium to be scanned. In this state, the tip of the dictionary pen contacts the medium to be scanned, that is, the tip of the dictionary pen is in contact with the medium to be scanned.
[0032] Therefore, it is possible to determine whether the user intends to use the dictionary pen by detecting whether the tip of the dictionary pen is in contact with the medium to be scanned.
[0033] It can be understood that when the dictionary pen is in the turned-off state, if it is detected that the state between the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state, it can be said that the dictionary pen itself has changed from a static, unused state to a picked-up state to be used. At this time, it can be determined that the user has the intention to use the dictionary pen.
[0034] Whether the tip of the dictionary pen is in contact with the medium to be scanned, or whether the tip of the dictionary pen and the medium to be scanned are converted from a non-contact state to a contact state, can be realized by a sensor pre-set at the dictionary pen.
[0035] For example, a pressure sensor may be provided at the tip of the dictionary pen to detect whether the tip is pressed, thereby determining whether the tip is in contact with the medium to be scanned. For another example, a distance sensor may be provided at the tip of the dictionary pen to detect the distance between the tip and the medium to be scanned, thereby determining whether the tip is in contact with the medium to be scanned.
[0036] When it is determined that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state, a first state change signal can be generated and transmitted to the dictionary pen, or to a processor in the dictionary pen.
[0037] For example, the pressure sensor set at the pen tip can generate a first state change signal when detecting that the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; or, the distance sensor set at the pen tip can generate a first state change signal when detecting that the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state.
[0038] Accordingly, the dictionary pen can obtain a first state change signal. It can be understood that the first state change signal here is used to reflect the change from a non-contact state to a contact state between the tip of the dictionary pen and the medium to be scanned, and obtaining the first state change signal means that the user's intention to use the dictionary pen is detected.
[0039] Step 120: Based on the first state change signal, the dictionary pen is powered on.
[0040] Specifically, after the first state change signal is obtained, it is determined that the user's intention to use the dictionary pen is detected, and the dictionary pen can be powered on. Here, the dictionary pen is powered on, that is, the dictionary pen is powered on. The specific operation may include controlling the power supply of the dictionary pen to turn on, and controlling the system of the dictionary pen to turn on, etc., which is not specifically limited in the embodiment of the present invention.
[0041] In this way, the dictionary pen changes from a non-contact state to a contact state when it detects that the tip of the dictionary pen is in contact with the medium to be scanned, that is, it can automatically turn on when it detects that the user has placed the tip of the dictionary pen against the medium to be scanned, without the user having to operate the power button separately, thus simplifying the user operation. In addition, the power-on time reuses the time that the user holds the dictionary pen and slides it on the medium to be scanned so as to align the tip of the pen with the position of the content to be scanned, so that the user does not perceive the waiting time of the power-on process. From the user's perspective, the dictionary pen only needs to be placed against the medium to be scanned to scan and retrieve words, thus realizing the use of the dictionary pen whenever you want, greatly improving the convenience of using the dictionary pen.
[0042] The method provided by the embodiment of the present invention triggers the power-on control of the dictionary pen when it is detected that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state, thereby integrating the power-on process of the dictionary pen into the process of the user preparing to scan and retrieve words, without the user having to operate the power button separately. In this way, the user operation is simplified and the user will not be aware of the power-on waiting process of the dictionary pen. The user can scan and retrieve words by picking up the dictionary pen and pressing the tip of the pen, thereby realizing the use of the dictionary pen whenever needed and improving the convenience of using the dictionary pen.
[0043] Based on the above embodiment, the first state change signal is generated by a pressure sensor and / or a distance sensor, and the pressure sensor and / or the distance sensor are arranged at the pen tip.
[0044] Specifically, the first state change signal may be generated based on a determination by the pressure sensor as to whether the pen tip is in contact with the medium to be scanned.
[0045] Here, the pressure sensor is a device that can sense pressure signals and convert them into electrical signals for output. The pressure sensor is arranged at the tip of the dictionary pen so that the pressure sensor can collect the pressure signals to determine whether the tip of the dictionary pen is in contact with the medium to be scanned.
[0046] In some embodiments, a mechanical feeler may be provided at the tip of the dictionary pen, and the mechanical feeler may extend a certain length outside the housing of the dictionary pen, and when subjected to force, it may move into the housing of the dictionary pen to generate a pressure signal. The mechanical feeler may be connected to a pressure sensor.
[0047] Therefore, when the user places the tip of the dictionary pen against the medium to be scanned, the mechanical tentacles are subjected to the reverse pressure of the medium to be scanned, and slide into the shell, squeezing the pressure sensor connected to the mechanical tentacles. As a result, the pressure sensor can collect the pressure signal generated by the tip of the pen contacting the medium to be scanned.
[0048] In other embodiments, when a pressure sensor is provided at the tip of the dictionary pen, the pressure sensing component of the pressure sensor can be provided at a position where the tip is easily deformed under the action of pressing force, for example, the pressure sensing component can be provided at the front end of the scanning window of the tip.
[0049] Therefore, when the user places the tip of the dictionary pen against the medium to be scanned, the position where the pressure sensing component is set is subjected to the reverse pressure of the medium to be scanned and deformed. When the pressure sensing component of the pressure sensor senses this deformation, the pressure sensor can collect the pressure signal generated by the pen tip contacting the medium to be scanned.
[0050] Therefore, by setting the pressure sensor at the pen tip, the pressure signal at the pen tip can be collected through the pressure sensor, and thereby determine whether there is contact between the pen tip and the medium to be scanned, and then capture the moment when the pen tip and the medium to be scanned change from a non-contact state to a contact state, and generate a first state change signal at this time to trigger the dictionary pen to automatically turn on.
[0051] In addition, the first state change signal may be generated based on the determination of the distance sensor as to whether the pen tip is in contact with the medium to be scanned.
[0052] Here, the distance sensor is a device for measuring the distance between an object and the sensor. The distance sensor is set at the tip of the dictionary pen, so that the distance between the distance sensor and other objects collected by the distance sensor is equivalent to the distance between the tip of the dictionary pen and other objects, thereby realizing the distance collection between the tip of the dictionary pen and the medium to be scanned, and based on this, it is possible to determine whether the tip of the dictionary pen is in contact with the medium to be scanned.
[0053] It can be understood that the distance sensor can determine whether the pen tip is in contact with the medium to be scanned, or whether the pen tip and the medium to be scanned have changed from a non-contact state to a contact state based on the collected distance between the pen tip and the medium to be scanned, or based on the collected change in the distance between the pen tip and the medium to be scanned, thereby capturing the moment when the pen tip and the medium to be scanned change from a non-contact state to a contact state, and generating a first state change signal at this time to trigger the dictionary pen to automatically turn on.
[0054] In addition, the first state change signal can also be generated by combining the pressure sensor and the distance sensor to determine whether the pen tip is in contact with the medium to be scanned. That is, when the pressure sensor collects the pressure signal generated by the pen tip contacting the medium to be scanned, and the distance sensor detects that the distance between the pen tip and the medium to be scanned becomes smaller and eventually approaches 0, it is determined that the state between the pen tip and the medium to be scanned changes from a non-contact state to a contact state, and the first state change signal is generated to trigger the dictionary pen to automatically start up.
[0055] The method provided by an embodiment of the present invention captures the moment when the pen tip and the medium to be scanned change from a non-contact state to a contact state by means of a pressure sensor and / or a distance sensor arranged at the pen tip, thereby ensuring the reliability of the generation of the first state change signal and further ensuring the reliability of the power-on control of the dictionary pen.
[0056] Based on any of the above embodiments, in step 110, obtaining the first state change signal includes: In the non-contact state, when the pressure value detected by the pressure sensor is greater than the pressure threshold, and / or the distance detected by the distance sensor is less than the distance threshold, it is determined that the contact state has been entered, and the first state change signal is acquired.
[0057] Specifically, the non-contact state is a state in which the pen tip is not in contact with the medium to be scanned. In this state, the pressure sensor and / or the distance sensor can continuously detect the pressure value and / or the distance, and can continuously determine whether to switch the state, that is, whether to enter the contact state, based on the pressure value and / or the distance detected.
[0058] When the pressure sensor is used to detect whether the pen tip is in contact with the medium to be scanned, the pressure value collected by the pressure sensor can be compared with a preset pressure threshold. Here, the pressure threshold is used to measure whether the pressure value collected by the pressure sensor is caused by the contact between the pen tip of the dictionary pen and the medium to be scanned.
[0059] Furthermore, when the pressure value is greater than the pressure threshold, it can be determined that the pressure value is caused by the tip of the dictionary pen abutting against the medium to be scanned. At this time, the tip of the dictionary pen is in contact with the medium to be scanned, that is, it enters the contact state, and the first state change signal can be triggered. When the pressure value is less than or equal to the pressure threshold, it can be determined that the contact between the tip of the dictionary pen and the medium to be scanned is not detected, and it remains in the non-contact state.
[0060] In the case of detecting whether the pen tip is in contact with the medium to be scanned based on the distance sensor, the distance between the pen tip and the medium to be scanned acquired by the distance sensor can be compared with a pre-set distance threshold. Here, the distance threshold is used to measure whether the distance between the pen tip and the medium to be scanned indicates that the pen tip is in contact with the medium to be scanned.
[0061] Furthermore, when the distance is less than the distance threshold, it can be determined that the tip of the dictionary pen is in contact with the medium to be scanned, that is, it enters the contact state, and the first state change signal can be triggered. When the distance is greater than or equal to the distance threshold, it can be determined that no contact is detected between the tip of the dictionary pen and the medium to be scanned, and it remains in the non-contact state.
[0062] In addition, when combining the pressure sensor and the distance sensor to detect whether the pen tip is in contact with the medium to be scanned, the pressure value collected by the pressure sensor can be compared with a preset pressure threshold, and the distance between the pen tip and the medium to be scanned collected by the distance sensor can be compared with a preset distance threshold.
[0063] Furthermore, when the pressure value is greater than the pressure threshold and the distance is less than the distance threshold, it can be determined that the tip of the dictionary pen is in contact with the medium to be scanned, that is, it enters the contact state, and the first state change signal can be triggered. Otherwise, it is determined that no contact is detected between the tip of the dictionary pen and the medium to be scanned, and the non-contact state is maintained.
[0064] Based on any of the above embodiments, the method further includes: Based on the first state change signal, the dictionary pen is controlled to start a scanning function.
[0065] Specifically, the first state change signal is triggered when the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state. That is to say, when the first state change signal is obtained, the user usually places the tip of the dictionary pen against the medium to be scanned. At this time, the user has the intention to use the scanning function of the dictionary pen to scan and retrieve words.
[0066] That is, obtaining the first state change signal not only means detecting the user's intention to use the scanning pen, but also means detecting the user's intention to use the scanning function of the scanning pen. In order to further optimize the user experience and improve the convenience of the user in using the dictionary pen, when the first state change signal is obtained, not only can the dictionary pen be powered on, that is, the dictionary pen can be powered on, but also the scanning function of the dictionary pen can be started, that is, the scanning function can be started.
[0067] Here, starting the scanning function may specifically control the scanning component of the dictionary pen to start, and the scanning component may specifically include a fill light and a camera at the tip of the dictionary pen. After the scanning function is started, the user can use the dictionary pen to scan and retrieve words.
[0068] Among them, the power-on control of the dictionary pen and the control of the dictionary pen to start the scanning function can be performed synchronously, that is, the pressure sensor or the distance sensor can send the first state change information to the processor inside the dictionary pen, and the processor transmits the first state change information to the power module of the dictionary pen to trigger the dictionary pen to start, and transmits the first state change signal to the scanning component of the dictionary pen to trigger the dictionary pen to start the scanning function; it can also be that after judging that the dictionary pen is turned on, the dictionary pen is controlled to start the scanning function. The embodiment of the present invention does not make specific limitations on this. It should be noted that in the embodiment of the present invention, between the two operations of powering on the dictionary pen and controlling the dictionary pen to start the scanning function, the user does not need to perform any operation. The dictionary pen can automatically turn on and start the scanning function after detecting that the user has placed the pen tip against the medium to be scanned.
[0069] The method provided by the embodiment of the present invention can control the dictionary pen to start up with a first state change signal, and control the dictionary pen to start the scanning function. Therefore, after the user picks up the scanning pen and places the pen tip against the medium to be scanned, the user can directly scan and retrieve words without performing any operations, which greatly improves the user's operational fluency of scanning and retrieval based on the dictionary pen and optimizes the user's experience.
[0070] Based on any of the above embodiments, the method further includes: In the power-on state, a second state change signal is obtained, wherein the second state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; Based on the second state change signal, the dictionary pen is controlled to start a scanning function.
[0071] Specifically, after the dictionary pen is turned on, the user can trigger the dictionary pen to start the scanning function by lifting the tip of the dictionary pen and pressing the tip again so that the tip of the pen contacts the medium to be scanned again.
[0072] That is, for the dictionary pen, after being turned on, it can continue to detect whether the tip of the dictionary pen is in contact with the medium to be scanned, thereby judging whether the user intends to use the dictionary pen to scan and retrieve words. After the dictionary pen is turned on, the user may lift the tip of the pen, thereby the tip of the dictionary pen and the medium to be scanned enter a non-contact state. After that, if it is detected that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state, a second state change signal can be generated.
[0073] It should be noted that the second state change signal here and the first state change signal mentioned above are both used to indicate that the tip of the dictionary pen and the medium to be scanned are converted from a non-contact state to a contact state. The difference between the two is that the first state change signal is triggered when the dictionary pen is in the off state, and the first state change signal is used to trigger the dictionary pen to start up, while the second state change signal is triggered when the dictionary pen is in the on state, and the second state change signal is used to trigger the dictionary pen to start the scanning function.
[0074] The first state change signal and the second state change signal represent that the tip of the dictionary pen and the medium to be scanned are converted from a non-contact state to a contact state twice in succession, which means that after the user places the tip of the pen against the medium to be scanned to trigger the dictionary pen to start, the user lifts the tip of the pen and places the tip of the pen against the medium to be scanned again to trigger the dictionary pen to start the scanning function.
[0075] It should be noted that the medium to be scanned in the contact state indicated by the first state change signal and the medium to be scanned in the contact state indicated by the second state change signal may be the same medium to be scanned or different medium to be scanned. For example, the user may place the tip of the dictionary pen against the desktop to trigger the dictionary pen to turn on, then move the dictionary pen in the air, and place the tip of the dictionary pen against the book to trigger the dictionary pen to start the scanning function. The embodiment of the present invention does not specifically limit this.
[0076] Furthermore, after the dictionary pen is turned on, the second state change signal can be repeatedly obtained multiple times, and each time the second state change signal is obtained, the dictionary pen is controlled to start the scanning function.
[0077] The method provided by the embodiment of the present invention realizes automatic power-on of the dictionary pen and automatic activation of the scanning function by successively acquiring the first state change signal and the second state change signal. The user can use the dictionary pen to scan and retrieve words without performing any other operations except operating the dictionary pen to contact the medium to be scanned, thereby improving the convenience of using the dictionary pen and optimizing the user experience.
[0078] Based on any of the above embodiments, in step 120, the power-on control of the dictionary pen based on the first state change signal includes: When the first state change signal is obtained, the dictionary pen is powered on based on the brightness of the environment in which the dictionary pen is located.
[0079] Specifically, in order to further improve the reliability of detecting the user's intention to use the dictionary pen, on the basis of determining that the tip of the dictionary pen and the medium to be scanned has changed from a non-contact state to a contact state, it is also possible to further determine whether to power on the dictionary pen based on the brightness value of the environment in which the dictionary pen is located.
[0080] The brightness value of the environment in which the dictionary pen is located can be collected by a light sensor arranged on the body of the dictionary pen. Further, the light sensor can be arranged on a side of the body where a display screen is arranged, and one or more light sensors can be arranged.
[0081] It is understandable that due to the need to scan and retrieve words, users are usually in a relatively bright light environment when using a dictionary pen. Therefore, the brightness value of the environment in which the dictionary pen is located can be used as a factor to determine whether the user has the intention to use the dictionary pen, and a corresponding brightness threshold can be set for the brightness value. If the brightness value is greater than the brightness threshold, it can be determined that the brightness value of the environment in which the dictionary pen is located is consistent with the normal usage environment of the dictionary pen, and the user may have the intention to use the dictionary pen; if the brightness value is less than or equal to the brightness threshold, it can be determined that the brightness value of the environment in which the dictionary pen is located is not consistent with the normal usage environment of the dictionary pen, and the user most likely has no intention to use the dictionary pen.
[0082] Therefore, when it is determined that the tip of the dictionary pen and the medium to be scanned have changed from a non-contact state to a contact state, if the brightness value is greater than the brightness threshold, it is determined that the user's intention to use the dictionary pen has been detected, and the dictionary pen can be turned on at this time.
[0083] If the brightness value is less than or equal to the brightness threshold, it is determined that the dictionary pen is not in a normal use environment, the user's intention to use the dictionary pen is not detected, and the dictionary pen is not powered on.
[0084] The method provided by the embodiment of the present invention, based on determining that the tip of the dictionary pen and the medium to be scanned have changed from a non-contact state to a contact state, further determines whether to power on the dictionary pen based on the brightness of the environment in which the dictionary pen is located. This can enhance the reliability of power-on control and avoid the problem of the dictionary pen automatically turning on due to the tip of the pen being touched without the intention to use it. On the basis of ensuring the function of the dictionary pen being able to be used at any time, the battery life of the dictionary pen is further guaranteed and energy waste is avoided.
[0085] Based on any of the above embodiments, a control method of a dictionary pen comprises the following steps: When the user needs to use the dictionary pen, the user will take the dictionary pen and place the tip of the dictionary pen against the medium to be scanned. When the tip of the pen is in contact with the medium to be scanned, the pressure sensor provided at the tip of the dictionary pen can detect that the non-contact state between the tip of the dictionary pen and the medium to be scanned changes to a contact state, and the pressure sensor is triggered to generate a first state change signal, and the processor in the dictionary pen transmits the first state change information to the power module of the dictionary pen to trigger the dictionary pen to start up, and transmits the first state change signal to the scanning component of the dictionary pen to trigger the dictionary pen to start the scanning function. As a result, the dictionary pen automatically turns on and starts the scanning function at the same time.
[0086] Therefore, the user only needs to pick up the dictionary pen and place the tip of the dictionary pen against the medium to be scanned, and the dictionary pen can be directly turned on and the scanning component can be turned on. Then the user operates the dictionary pen to slide on the medium to be scanned, and the scanning component can complete the scanning and word retrieval work for the content to be queried.
[0087] The method provided by the embodiment of the present invention triggers the power-on control of the dictionary pen when it is detected that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state, thereby integrating the power-on process of the dictionary pen into the process of the user preparing to scan and retrieve words, without the user having to operate the power button separately. In this way, the user operation is simplified and the user will not be aware of the power-on waiting process of the dictionary pen. The user can scan and retrieve words by picking up the dictionary pen and pressing the tip of the pen, thereby realizing the use of the dictionary pen whenever needed and improving the convenience of using the dictionary pen.
[0088] Based on any of the above embodiments, Figure 2 It is one of the structural schematic diagrams of the dictionary pen provided by the present invention, such as Figure 2 As shown, the dictionary pen includes a dictionary pen body 200 and a processor 210 disposed inside the dictionary pen body 200; The processor 210 is used to obtain a first state change signal and, based on the first state change signal, to control the dictionary pen to start up. The first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state.
[0089] Specifically, a processor 210 is provided inside the dictionary pen body 200. The processor 210 here may be a microprocessor unit or other types of processors. Furthermore, one processor 210 may be provided inside the dictionary pen body 200, or multiple processors 210 may be provided, for example, two processors may be provided, serving as a main processor and a coprocessor respectively.
[0090] The processor 210 can obtain a first state change signal indicating that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state, and when the first state change signal is obtained, it is determined that the user's intention to use the dictionary pen is detected, and the dictionary pen can be powered on.
[0091] In this way, the dictionary pen changes from a non-contact state to a contact state when it detects that the tip of the dictionary pen is in contact with the medium to be scanned, that is, it can automatically turn on when it detects that the user has placed the tip of the dictionary pen against the medium to be scanned, without the user having to operate the power button separately, thus simplifying the user operation. In addition, the power-on time reuses the time that the user holds the dictionary pen and slides it on the medium to be scanned so as to align the tip of the pen with the position of the content to be scanned, so that the user does not perceive the waiting time of the power-on process. From the user's perspective, the dictionary pen only needs to be placed against the medium to be scanned to scan and retrieve words, thus realizing the use of the dictionary pen whenever you want, greatly improving the convenience of using the dictionary pen.
[0092] The dictionary pen provided in an embodiment of the present invention triggers power-on control for the dictionary pen when it detects that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state, thereby integrating the power-on process of the dictionary pen into the process of the user preparing to scan and retrieve words, without the user having to operate the power button separately. In this way, the user operation is simplified and the user will not be aware of the power-on waiting process of the dictionary pen. The user can scan and retrieve words by picking up the dictionary pen and pressing the tip of the pen, thereby realizing the use of the dictionary pen whenever needed and improving the convenience of using the dictionary pen.
[0093] Based on any of the above embodiments, Figure 3 This is the second structural schematic diagram of the dictionary pen provided by the present invention, such as Figure 3 As shown, the dictionary pen includes not only a processor but also a pressure sensor, a distance sensor, a power module and a scanning component. Among them, only one of the pressure sensor and the distance sensor can be set in the dictionary pen, or both the pressure sensor and the distance sensor can be set in the dictionary pen.
[0094] The pressure sensor and / or distance sensor can be set at the tip of the dictionary pen, so that the pressure sensor and / or distance sensor can detect whether there is contact between the tip of the dictionary pen and the medium to be scanned, and then capture the moment when the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state, and generate a first state change signal at this time, and transmit the first state change signal to the processor.
[0095] After receiving the first state change signal, the processor can synchronously send the first state change signal to the power module and the scanning component. The power module is started when triggered by the first state change signal, thereby turning on the dictionary pen. The scanning component is started when triggered by the first state change signal, thereby starting the scanning function of the dictionary pen.
[0096] That is, in the dictionary pen provided in the embodiment of the present invention, the user only needs to pick up the dictionary pen and place the tip of the dictionary pen against the medium to be scanned, and the dictionary pen can be directly turned on and the scanning component can be turned on, so that the dictionary pen can be used at any time and the convenience of using the dictionary pen is improved.
[0097] The dictionary pen control device provided by the present invention is described below. The dictionary pen control device described below and the dictionary pen control method described above can be referenced to each other.
[0098] Figure 4 Schematic diagram of the structure of the dictionary pen control device provided by the present invention. Figure 4 As shown, the device comprises: The state change unit 410 is used to obtain a first state change signal, wherein the first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; The power-on control unit 420 is used to control the power-on of the dictionary pen based on the first state change signal.
[0099] The device provided by the embodiment of the present invention triggers the power-on control of the dictionary pen when it detects that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state, thereby integrating the power-on process of the dictionary pen into the process of the user preparing to scan and retrieve words, without the user having to operate the power button separately. In this way, the user operation is simplified and the user will not be aware of the power-on waiting process of the dictionary pen. The user can scan and retrieve words by picking up the dictionary pen and pressing the tip of the pen, thereby realizing the use of the dictionary pen whenever needed and improving the convenience of using the dictionary pen.
[0100] Based on any of the above embodiments, the first state change signal is generated by a pressure sensor and / or a distance sensor, and the pressure sensor and / or the distance sensor are arranged at the pen tip.
[0101] Based on any of the above embodiments, the state conversion unit is specifically used for: In the non-contact state, when the pressure value detected by the pressure sensor is greater than the pressure threshold, and / or the distance detected by the distance sensor is less than the distance threshold, it is determined that the contact state has been entered, and the first state change signal is acquired.
[0102] Based on any of the above embodiments, the device further includes a first scanning control unit, configured to: Based on the first state change signal, the dictionary pen is controlled to start a scanning function.
[0103] Based on any of the above embodiments, the device further includes a second scanning control unit, configured to: In the power-on state, a second state change signal is obtained, wherein the second state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; Based on the second state change signal, the dictionary pen is controlled to start a scanning function.
[0104] Based on any of the above embodiments, the startup control unit is specifically used for: When the first state change signal is obtained, the dictionary pen is powered on based on the brightness of the environment in which the dictionary pen is located.
[0105] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the dictionary pen control method, the method comprising: obtaining a first state change signal, the first state change signal indicating that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state; based on the first state change signal, the dictionary pen is powered on.
[0106] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0107] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the dictionary pen control method provided by the above methods, which method includes: obtaining a first state change signal, wherein the first state change signal indicates that the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; and based on the first state change signal, controlling the power on of the dictionary pen.
[0108] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the dictionary pen control method provided by the above-mentioned methods. The method includes: obtaining a first state change signal, wherein the first state change signal indicates that the tip of the dictionary pen and the medium to be scanned change from a non-contact state to a contact state; and based on the first state change signal, controlling the power on of the dictionary pen.
[0109] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution can be essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dictionary pen control method, characterized in that: include: Acquire a first state change signal, wherein the first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; Based on the first state change signal, the dictionary pen is powered on.
2. The dictionary pen control method according to claim 1, characterized in that: The first state change signal is generated by a pressure sensor and / or a distance sensor, and the pressure sensor and / or the distance sensor are arranged at the pen tip.
3. The dictionary pen control method according to claim 2, characterized in that: The obtaining of the first state change signal comprises: In the non-contact state, when the pressure value detected by the pressure sensor is greater than the pressure threshold, and / or the distance detected by the distance sensor is less than the distance threshold, it is determined that the contact state has been entered, and the first state change signal is acquired.
4. The dictionary pen control method according to any one of claims 1 to 3, characterized in that: Also includes: Based on the first state change signal, the dictionary pen is controlled to start a scanning function.
5. The dictionary pen control method according to any one of claims 1 to 3, characterized in that: Also includes: In the power-on state, a second state change signal is obtained, wherein the second state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; Based on the second state change signal, the dictionary pen is controlled to start a scanning function.
6. The dictionary pen control method according to any one of claims 1 to 3, characterized in that: The method of controlling the dictionary pen to start up based on the first state change signal includes: When the first state change signal is obtained, the dictionary pen is powered on based on the brightness of the environment in which the dictionary pen is located.
7. A dictionary pen control device, characterized in that: include: A state change unit, used for acquiring a first state change signal, wherein the first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state; A power-on control unit is used to control the power-on of the dictionary pen based on the first state change signal.
8. A dictionary pen, characterized in that: It includes a dictionary pen body and a processor arranged inside the dictionary pen body; The processor is used to obtain a first state change signal and, based on the first state change signal, to control the dictionary pen to start up. The first state change signal indicates that the state between the tip of the dictionary pen and the medium to be scanned changes from a non-contact state to a contact state.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the dictionary pen control method as described in any one of claims 1 to 6 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the dictionary pen control method as claimed in any one of claims 1 to 6 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the dictionary pen control method as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Multimedia player and playing method
CN101256795A
Scanning pen and scanning boundary determination method
CN113378827A
Scanning pen
CN212463303U
Dictionary pen with projection function
CN217640262U
