Method for switching scanning mode and related product

By automatically displaying the scan mode switching page by detecting the screen push-open operation in the dictionary pen, the problem of cumbersome scanning mode switching operation in the existing technology is solved, and more convenient and efficient scanning mode switching is achieved, improving user experience and ease of use of the device.

CN120179124APending Publication Date: 2025-06-20NETEASE YOUDAO (HANGZHOU) SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510157928.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The existing dictionary pens are cumbersome in switching scanning modes, which affects user experience and scanning efficiency.

Method used

By detecting the user's push-on operation on the screen, the scan mode switching page is automatically displayed, and the user can quickly select and switch scan mode to simplify the operation process.

Benefits of technology

It significantly improves the convenience and efficiency of scanning mode switching, reduces operation steps, and improves the ease of use and user experience of the dictionary pen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179124A_ABST
    Figure CN120179124A_ABST
Patent Text Reader

Abstract

The invention discloses a method for switching scanning modes and related products, the method is applied to a dictionary pen, the dictionary pen comprises a screen and a rear shell which can slide relative to each other, the rear shell is provided with a scanning window, and the method comprises the following steps: responding to a detected pushing operation on the screen; a scanning mode switching page is displayed through the screen, the scanning window is exposed through pushing operation on the screen, and the scanning mode switching page is used for displaying at least one scanning mode supported by the dictionary pen; in response to a detected scanning starting signal, obtaining a switching result in the scanning mode switching page, and determining the switching result as a target scanning mode used this time; and executing subsequent scanning operation on an object to be scanned according to the target scanning mode. By means of the scheme, the convenience and efficiency of scanning mode switching are remarkably improved, and the usability and practicability of the dictionary pen are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure generally relates to the field of artificial intelligence technology. More specifically, this disclosure relates to a method, a dictionary pen, and a computer-readable storage medium for switching scanning modes. Background Art

[0002] As a portable electronic device, the dictionary pen is widely used in fields such as language learning, translation, and text recognition. Existing dictionary pens usually adopt a slender screen design and are equipped with a mechanical scanning pen tip. Users can obtain relevant information by scanning text content. However, there are certain operational inconveniences in the switching of scanning modes for existing dictionary pens, which affect the user experience and scanning efficiency.

[0003] Specifically, when switching the scanning modes (such as multi-line scanning, single-line scanning, etc.) of the mechanical scanning pen tip for existing dictionary pens, users need to enter the application menu, find the specific scanning function application, and then search for the mode switching entry inside the application for operation. For example, users may need to first enter the "Scanning Settings" or "Mode Selection" sub-menu to find the switching options for multi-line scanning or single-line scanning. In addition, users can also switch the scanning mode by pulling down the drop-down menu from the upper part of the screen and clicking on the scanning mode option therein. Although this operation method is complete in function, users need to search layer by layer in the menu, and the steps are cumbersome. Especially in scenarios where the scanning mode needs to be switched frequently, the operation efficiency is low, which reduces the usability of the device and results in a poor user experience.

[0004] In view of this, there is an urgent need to provide a solution for switching scanning modes, so as to achieve convenient and intuitive switching of scanning modes, simplify the operation process, improve the operation efficiency, and thus improve the usability and user experience of the dictionary pen. Summary of the Invention

[0005] In order to solve at least one or more of the above-mentioned technical problems, this disclosure proposes a solution for switching scanning modes in the following aspects.

[0006] In a first aspect, the present disclosure provides a method for switching scanning modes, which is applied to a dictionary pen. The dictionary pen includes a screen and a rear case that can slide relative to each other. A scanning window is provided on the rear case. The method includes: in response to detecting a pushing operation on the screen, displaying a scanning mode switching page through the screen, wherein the pushing operation on the screen exposes the scanning window, and the scanning mode switching page is used to display at least one scanning mode supported by the dictionary pen; in response to detecting a start scanning signal, obtaining a switching result in the scanning mode switching page, and determining the switching result as the target scanning mode to be used this time; and performing subsequent scanning operations on the object to be scanned according to the target scanning mode.

[0007] In some embodiments, after displaying the scanning mode switching page through the screen, after determining the switching result as the target scanning mode to be used this time, or after performing subsequent scanning operations on the object to be scanned, the method further includes: in response to detecting a pulling-back operation on the screen, closing the scanning mode switching page, wherein the pulling-back operation on the screen hides the scanning window.

[0008] In some embodiments, after closing the scanning mode switching page, the method further includes: displaying a preset page through the screen; or obtaining the previous page of the screen and displaying the previous page through the screen, wherein the previous page is the page displayed on the screen before the pushing operation.

[0009] In some embodiments, the switching result in the scanning mode switching page is determined by the following operations: in response to not detecting a switching operation in the scanning mode switching page, determining the default display item of the scanning mode switching page as the switching result; or in response to detecting a switching operation in the scanning mode switching page, determining the display item corresponding to the switching operation as the switching result.

[0010] In some embodiments, the default display item of the scanning mode switching page is determined by the following operations: obtaining the scanning record of the dictionary pen; determining the habitual scanning mode of the user of the dictionary pen according to the scanning record; and determining the habitual scanning mode as the default display item of the scanning mode switching page.

[0011] In some embodiments, determining the habitual scanning mode of the user of the dictionary pen includes: determining the scanning mode last used by the dictionary pen based on the scanning record, and determining the scanning mode used last time as the habitual scanning mode; or determining the scanning mode that is used most frequently among the scanning modes previously used by the dictionary pen based on the scanning record, and determining the scanning mode that is used most frequently as the habitual scanning mode.

[0012] In some embodiments, after setting the habitual scanning mode as the default display item of the scanning mode switching page, the method further includes: setting other scanning modes supported by the dictionary pen as other display items in the scanning mode switching page, wherein the other scanning modes are scanning modes other than the habitual scanning mode in the at least one scanning mode.

[0013] In the second aspect, the present disclosure provides a dictionary pen, comprising: a processor, a memory, and a screen and a back shell that can slide relative to each other, wherein the back shell is provided with a scanning window; the memory stores program instructions for switching the scanning mode, and when the program instructions are executed by the processor, the dictionary pen executes the method described in one or more embodiments of the first aspect above.

[0014] In a third aspect, the present disclosure provides a computer-readable storage medium having stored thereon program instructions for switching a scanning mode, wherein when the program instructions are executed by one or more processors, the method described in one or more embodiments of the first aspect is implemented.

[0015] The solution for switching the scanning mode provided above can be applied to a dictionary pen including a relatively slidable screen and a back shell, and a scanning window is provided on the back shell. This solution significantly improves the convenience and efficiency of scanning mode switching by optimizing the user interface design and operation logic, and solves the problems of cumbersome operation and poor user experience of existing dictionary pens during scanning mode switching. Specifically, by detecting the user's push operation on the screen, the display of the scanning mode switching page is automatically triggered. The user does not need to enter a multi-layer menu or go through a complicated drop-down menu operation, but only needs to push the screen to quickly access the scanning mode switching interface. This operation method is more intuitive and convenient, reduces the operation steps, and enables users to quickly switch scanning modes. It is especially suitable for scenarios where frequent switching of scanning modes is required, and can greatly improve scanning efficiency. In addition, by simplifying the operation process and optimizing the interactive design, the ease of use and practicality of the dictionary pen are significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features, and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the drawings, several embodiments of the present disclosure are shown in an exemplary rather than restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts, where:

[0017] Figure 1 is an exemplary structural diagram of a dictionary pen according to an embodiment of the present disclosure;

[0018] Figure 2 is an exemplary structural block diagram of a dictionary pen according to an embodiment of the present disclosure;

[0019] Figure 3 is an exemplary flowchart of a method for switching a scanning mode according to an embodiment of the present disclosure;

[0020] Figure 4 is an exemplary effect diagram of switching a scanning mode in a scanning mode switching page according to an embodiment of the present disclosure;

[0021] Figure 5 is an exemplary state change of the dictionary pen after detecting a pull-back operation on the screen according to an embodiment of the present disclosure. Detailed Embodiments

[0022] Next, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

[0023] It should be understood that when terms such as "first", "second", "third", and "fourth" are used in the claims, the specification, and the drawings of the present disclosure, they are only used to distinguish different objects and not to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0024] It should also be understood that the terms used in this disclosure specification are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure specification and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms. It should be further understood that the term "and / or" used in this disclosure specification and the claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.

[0025] As used in this specification and the claims, the term "if" can be interpreted as "when" or "once" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined" or "in response to determining" or "once [the described condition or event] is detected" or "in response to [the described condition or event] being detected" depending on the context.

[0026] The specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0027] Figure 1 An exemplary structural diagram of the dictionary pen 100 according to an embodiment of the present disclosure is shown. As Figure 1 shown in a and b therein, the dictionary pen may include, but is not limited to, a relatively slidable rear case 101 and a screen 102. A scanning head 103 and a scanning window 104 are provided on the rear case 101. The scanning head 103 is the part at the front end of the dictionary pen for scanning text. It includes a camera for capturing characters and a possible triggering mechanism, such as a pressing triggering mechanism, which is responsible for triggering the start scanning signal, as well as capturing the character image and implementing optical character recognition. The scanning window 104 is a transparent window on the dictionary pen that can be opened and closed by pushing and pulling back the screen. The user of the dictionary pen can align the object to be scanned, that is, the text to be scanned, such as a book, a document, or other written materials, through this window.

[0028] Given that limited screen space may lead to information congestion and difficulty in recognition, in some implementation scenarios, the screen 102 can be a full-screen on the dictionary pen that occupies a relatively large visible area and can provide a broader display area. The full-screen almost covers the entire front of the dictionary pen, with extremely narrow or no borders, which can provide a broader information display space, thus facilitating users to make quick selections and enhancing the visual interaction effect. In actual operation, when the screen 102 is pushed up, the scanning window 104 can be exposed for scanning operations. Meanwhile, a scanning mode switching page 1021 will be displayed on the screen 102 for users to select the required scanning mode from multiple scanning modes. When the scanning window 104 is exposed, pulling back the screen 102 downward can hide the scanning window 104. As Figure 1 shown in a of Figure 1 , the screen 102 almost covers the entire front of the rear shell 101 of the dictionary pen. Therefore, when looking at the front of the dictionary pen, only the scanning head 103 can be seen, and the scanning window 104 cannot be seen. After the screen 102 is pushed up, the scanning window 104 can be exposed (as shown in b of Figure 1 ). Thereafter, if the screen 102 is pulled back downward, the scanning window 104 can be hidden, and the dictionary pen can return to the device state shown in a of

[0029] In the embodiments of this disclosure, the relative sliding between the rear shell 101 and the screen 102 can be achieved through a sliding cover structure. The sliding cover structure can include a first sliding rail assembly and a first sliding support assembly provided on the rear shell 101, and a second sliding rail assembly and a second sliding support assembly provided on the screen 102. The first sliding support assembly and the second sliding support assembly can be magnets. Specifically, the first sliding rail assembly and the second sliding rail assembly correspond to each other to realize the sliding of the rear shell 101 and the screen 102 from the closed state to the slid-open state, or from the slid-open state to the closed state under the action of the first sliding support assembly and the second sliding support assembly.

[0030] In some implementation scenarios, the pushing and pulling actions of the screen 102 can be detected by sensors or mechanical switches. Sensors are a non-contact detection method that can detect the movement of the screen by sensing changes in physical quantities. In the embodiments of this disclosure, the sensors can be Hall sensors, photoelectric sensors, acceleration sensors, etc. Here, the Hall sensor judges the movement of the screen by detecting changes in the magnetic field, the photoelectric sensor detects the movement of the screen by emitting and receiving optical signals, and the acceleration sensor judges the movement of the screen by detecting the physical movement of the screen (such as acceleration and direction). Mechanical switches are a contact detection method that judges the position of the screen through physical contact. The above mechanical switches can be microswitches or spring contacts, etc. The microswitch can detect the movement of the screen through physical contact, and the spring contact can detect the position of the screen through mechanical contact.

[0031] In an embodiment of the present disclosure, the dictionary pen may further include a processor 105, a memory 106, and a communication bus 107. Figure 2 An exemplary structural block diagram of the dictionary pen 100 according to an embodiment of the present disclosure is shown. As Figure 2 shown, the communication bus 107 is used to implement the connection and communication between the processor 105, the memory 106, the screen 102, and the scanning head 103; the memory 106 stores program instructions for switching the scanning mode; when the processor 105 executes the program instructions stored in the memory 106, the method for switching the scanning mode described in the present disclosure is implemented in combination with Figure 3 what is described.

[0032] The foregoing sensor or mechanical switch, and the screen 102 are all electrically connected to the processor 105 of the dictionary pen. This connection method forms a complete detection and feedback system, which can sense the movement state of the screen 102 in real time and adjust the display content and state of the screen 102 according to the detection result. Specifically, when the sensor or mechanical switch detects the movement of the screen 102, they will transmit the detection signal to the processor 105. The processor 105 determines whether the operation on the screen 102 is a push operation or a pull-back operation according to the detection signal, and changes the display state and content of the screen 102 accordingly.

[0033] During the process of a specific embodiment, the above-mentioned processor 105 may be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing image processing device (DSPD), a programmable logic image processing device (PLD), a field programmable gate array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic devices for implementing the above-mentioned processor functions may also be others, and the present embodiment does not make specific limitations. The above-mentioned memory 106 may include but is not limited to a resistive random access memory (RRAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), and an enhanced dynamic random access memory (EDRAM).

[0034] In combination with the above Figure 1 and Figure 2 a dictionary pen that can be used to execute the program instructions for switching the scanning mode according to the present disclosure is described. It should be understood that the device structure or architecture here is only exemplary, and the implementation manner and implementation entity of the present disclosure are not limited by it, but can be changed without departing from the spirit of the present disclosure. It can be understood that the present disclosure emphasizes the differences between the various embodiments, and the same or corresponding parts can be referred to each other. For the sake of brevity, the present disclosure will not repeat them one by one.

[0035] Next, in combination with Figure 3 a detailed introduction to the method 300 for switching the scanning mode according to the embodiments of the present disclosure will be given. This method can be applied to the dictionary pen 100 described in combination with Figure 1 and 2 above.

[0036] As Figure 3As shown, at step S301, when the method 300 detects a pushing operation on the screen 102, it can display the scanning mode switching page 1021 through the screen 102. It can be understood that the pushing operation on the screen 102 exposes the scanning window 104. Then, at step S302, when the method 300 detects a start scanning signal, it can obtain the switching result in the scanning mode switching page 1021 and determine the switching result as the scanning mode used this time (for distinction, it can be called the target scanning mode). Thereafter, at step S303, subsequent scanning operations can be performed on the object to be scanned according to the target scanning mode.

[0037] In actual operation, the scanning mode switching page 1021 can be a pop-up window. As a user interaction method, a pop-up window is used to display temporary information, prompt user operations, or provide additional options. In the embodiments of the present disclosure, the scanning mode switching page is used to display at least one scanning mode supported by the dictionary pen, such as multi-line scanning (which can also be called scanning ten lines at a glance) and single-line scanning, etc.

[0038] Multi-line scanning means that the scanning window can capture multiple lines of text at one time, which is very useful for users when reading books, documents, or other long text materials, because it can quickly obtain a large amount of text content and improve the efficiency of learning and translation. For example, when a user is reading an English article, using the multi-line scanning mode can scan multiple lines of text at one time, and then quickly obtain the translation result through the translation function of the dictionary pen to help the user better understand the content of the article. Single-line scanning means that the scanning window can capture a single line of text at one time. It is suitable for situations where users need to accurately translate or analyze a single line of text. For example, when reading complex academic papers or technical documents, users may only need to translate or understand the key information of a certain line. The single-line scanning mode can provide more accurate scanning results and avoid inaccurate translation or confusion caused by scanning too much irrelevant content.

[0039] To enhance the user experience, the scan mode switching page can support a variety of flexible switching operation methods, including swiping left and right and swiping up and down, so that users can quickly and conveniently switch between different scan modes according to their operating habits and actual needs. When the scan mode switching page supports swiping left and right to switch, users can switch between different options on the scan mode switching page by swiping their fingers left and right. For example, swiping from left to right can switch to the previous scan mode, and swiping from right to left can switch to the next scan mode. This method is intuitive and conforms to the operating habits of users on mobile devices, similar to switching content in a photo browser or news application. When the scan mode switching page supports swiping up and down to switch, users can also switch the scan mode by swiping up and down. For some users, swiping up and down may be more natural. For example, when a user holds a dictionary pen, swiping up and down may be more convenient than swiping left and right.

[0040] Accordingly, method 300 can specifically perform the following operations to determine the switching result in the scan mode switching page: in the case where no switching operation in the scan mode switching page is detected, determine the default display item of the scan mode switching page as the switching result; or in the case where a switching operation in the scan mode switching page is detected, determine the display item corresponding to the switching operation as the switching result.

[0041] In the case where no switching operation is detected, the default display item of the scan mode switching page will be determined as the switching result. The default display item is usually the scan mode that the user uses most frequently or is most likely to need. For example, if a user often uses the multi-line scan mode, the multi-line scan mode can be set as the default display item. In this way, when the scan mode switching page is displayed on the screen, the most frequently used scan mode can be directly used without any additional operations, thereby improving the operation efficiency.

[0042] When a user performs a switching operation on the scan mode switching page, these operations can be detected in real time, and the switching result can be determined according to the specific content of the operation. The switching operation can be swiping left and right or swiping up and down. For example, a user can switch between the multi-line scan mode and the single-line scan mode by swiping left and right. Method 300 can accurately identify the user's intention according to the direction and distance of the swipe, and determine the display item corresponding to the swipe operation as the switching result. In some implementation scenarios, when the screen is pushed open and the scan mode switching page is triggered to be displayed, the default display item can be preferentially displayed to ensure that the user can immediately see the most frequently used or relevant scan mode when opening the scan mode switching page, thereby reducing the user's waiting time and operation steps.

[0043] To further enhance the user experience, when a switching operation is detected, the display content of the scanning mode switching page is updated in real time, and the switching result is fed back to the user. For example, when the user switches from the multi-line scanning mode to the single-line scanning mode, the display content in the scanning mode switching page is immediately updated to the single-line scanning mode, and the user can be informed of the successful switching through an auditory prompt (such as a beep). This real-time feedback mechanism not only enhances the user's operation experience but also reduces the possibility of misoperation.

[0044] Reference can be made here Figure 4 to understand the process of the user switching the scanning mode on the scanning mode switching page. For the sake of convenience of description, it is assumed that the scanning mode switching page supports switching its display content by swiping left and right. As Figure 4 shown in a of, when the screen is pushed open and the scanning mode switching page 1021 is triggered to be displayed, the preferentially displayed scanning mode is the multi-line scanning. Then, if the scanning mode the user wants to use is the multi-line scanning, there is no need to swipe left or right, and the user can directly click the close icon in the upper right corner to close this scanning mode switching page. On the contrary, if the scanning mode the user wants to use is the single-line scanning, the user can swipe their hand to the left in the scanning mode switching page 1021, and the scanning mode displayed in the scanning mode switching page 1021 will be switched to the single-line scanning (as Figure 4 shown in b of), realizing the switching of the scanning mode. It can be understood that after the switching of the scanning mode is completed, the user can click the close icon in the upper right corner to close this scanning mode switching page so as to perform subsequent operations.

[0045] As can be seen from Figure 4 , the large display area of the screen provides a clear and concise display space for the scanning mode switching page. The scanning mode switching page is presented in an intuitive and clear layout, enabling the user to clearly see the selectable scanning modes at a glance, avoiding the problems of information congestion and difficulty in recognition caused by limited screen space, facilitating the user to make a quick choice, and enhancing the visual interaction effect. In addition, the fast and convenient scanning form switching method reduces the possible distraction of attention caused by cumbersome operations, enabling the user to focus more on the scanning content itself, improving the accuracy and efficiency of scanning, and helping the user to better utilize the dictionary pen for learning and work.

[0046] In some embodiments of the present disclosure, the default display item of the aforementioned scanning mode switching page is determined by the following operations: obtaining the scanning record of the dictionary pen; determining the habitual scanning mode of the user of the dictionary pen according to the scanning record; and determining the habitual scanning mode as the default display item of the scanning mode switching page. Here, the information recorded in the scanning record may include but is not limited to the scanning time and scanning mode, and the user's habitual scanning mode is used to identify the scanning mode that conforms to the user's usage habits. Determining the habitual scanning mode as the default display item of the scanning mode switching page can reduce the trouble of manual selection by the user, provide the user with a more personalized and convenient scanning experience, and further improve the efficiency and satisfaction of the user in using the dictionary pen.

[0047] By analyzing the user's scanning records to determine the user's habitual scanning mode, the user's personalized needs can be better met. In actual operation, when determining the habitual scanning mode of the dictionary pen user based on the scanning records, the following operations can be performed: based on the scanning records, determine the scanning mode last used by the dictionary pen, and determine the scanning mode last used as the habitual scanning mode; or based on the scanning records, determine the scanning mode that has been used the most times among the scanning modes that have been used by the dictionary pen, and determine the scanning mode that has been used the most times as the habitual scanning mode.

[0048] In addition, after setting the customary scanning mode as the default display item of the scanning mode switching page, method 300 can also set other scanning modes supported by the dictionary pen as other display items in the scanning mode switching page. Here, other scanning modes are scanning modes other than the customary scanning mode in at least one scanning mode supported by the dictionary pen. For example, if the customary scanning mode is a multi-line scanning mode, the scanning mode switching page will also display a single-line scanning mode to facilitate users to quickly switch according to current needs.

[0049] In some embodiments of the present disclosure, after the scanning mode switching page is displayed on the screen, after the switching result is determined as the target scanning mode used this time, or after a subsequent scanning operation is performed on the scanned object, the method 300 can also close the scanning mode switching page when a pull-back operation on the screen is detected. Here, the pull-back operation on the screen hides the scanning window.

[0050] In addition, after closing the scanning mode switching page, the method 300 can also display a preset page through the screen, which can be, for example, an application management page of the dictionary pen, to show the user all or part of the applications installed by the dictionary pen, so as to facilitate the user to quickly access these applications. Figure 5 To understand the state change of the dictionary pen after detecting the pull back operation on the screen. Figure 5The device status of the left dictionary pen and the device status of the right dictionary pen can be seen. After pulling back the screen, the scanning window will be hidden, and the scanning mode switching page displayed on the screen will close. Instead, the application management page of the dictionary pen is displayed on the screen.

[0051] In addition to displaying the preset page, in some implementation scenarios, method 300 can also, after closing the scanning mode switching page, obtain the previous page of the screen and display the previous page on the screen. The previous page is the page displayed on the screen before the pushing operation. Thus, when the user accidentally pushes the screen to expose the scanning window and the above-mentioned scanning mode switching page pops up, the user can directly pull back the screen to automatically close the scanning mode switching page and return to the preset page or the previous page, greatly simplifying the operation process and saving the user's time and energy.

[0052] As described above in conjunction with Figures 3 to 5 the method for switching the scanning mode can be applied to a dictionary pen including a screen and a rear shell that can slide relative to each other, and a scanning window is provided on the rear shell. By optimizing the user interface design and operation logic, this method significantly improves the convenience and efficiency of switching the scanning mode, and solves the problems of cumbersome operation and poor user experience during the scanning mode switching process of existing dictionary pens. Specifically, by detecting the user's pushing operation on the screen, the display of the scanning mode switching page is automatically triggered. The user does not need to enter multiple-level menus or operate through complex drop-down menus. Just pushing the screen can quickly access the scanning mode switching interface. This operation method is more intuitive and convenient, reduces the operation steps, enables the user to quickly switch the scanning mode, especially suitable for scenarios where the scanning mode needs to be switched frequently, and can greatly improve the scanning efficiency. In addition, by simplifying the operation process and optimizing the interaction design, the usability and practicality of the dictionary pen are significantly improved.

[0053] According to the above description in conjunction with the drawings, those skilled in the art can also understand that the embodiments of the present disclosure can also be implemented by software programs. Thus, the present disclosure also provides a computer-readable storage medium. The computer-readable storage medium stores program instructions for switching the scanning mode, and the program instructions can be used to implement the method for switching the scanning mode described in conjunction with Figures 3 to 5 by the present disclosure.

[0054] It should be noted that although the operations of the method of the present disclosure are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart can be changed in the execution order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.

[0055] While numerous embodiments of the present disclosure have been shown and described herein, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Many variations, changes, and alternative approaches may be contemplated by those skilled in the art without departing from the spirit and scope of the present disclosure. It should be understood that various alternatives to the embodiments of the present disclosure described herein may be employed in practicing the present disclosure. The appended claims are intended to define the scope of the present disclosure and thus cover equivalents or alternatives within the scope of these claims.

Claims

1. A method for switching a scanning mode, applied to a dictionary pen, wherein the dictionary pen comprises a screen and a rear shell that can slide relative to each other, and a scanning window is provided on the rear shell, the method comprising: In response to detecting a push operation on the screen, displaying a scan mode switching page through the screen, wherein the push operation on the screen exposes the scan window, and the scan mode switching page is used to display at least one scan mode supported by the dictionary pen; In response to detecting a start scanning signal, obtaining a switching result in the scanning mode switching page, and determining the switching result as a target scanning mode used this time; as well as According to the target scanning mode, a subsequent scanning operation is performed on the object to be scanned.

2. The method according to claim 1, after displaying the scanning mode switching page through the screen, after determining the switching result as the target scanning mode used this time, or after performing a subsequent scanning operation on the scanning object, the method further comprises: In response to detecting a pull-back operation on the screen, closing the scanning mode switching page, wherein the pull-back operation on the screen causes the scanning window to be hidden.

3. The method according to claim 2, after closing the scanning mode switching page, the method further comprises: Displaying a preset page via the screen; or A previous page of the screen is acquired, and the previous page is displayed through the screen, wherein the previous page is a page displayed on the screen before the push operation.

4. The method according to claim 1, wherein: The switching result in the scanning mode switching page is determined by the following operations: In response to not detecting a switching operation in the scanning mode switching page, determining a default display item of the scanning mode switching page as the switching result; or In response to detecting a switching operation in the scanning mode switching page, a display item corresponding to the switching operation is determined as the switching result.

5. The method according to claim 4, wherein: The default display items of the scanning mode switching page are determined by the following operations: Obtaining a scan record of the dictionary pen; Determining a customary scanning mode of a user of the dictionary pen based on the scanning record; and The customary scanning mode is determined as a default display item of the scanning mode switching page.

6. The method according to claim 5, wherein: Determining the habitual scanning pattern of the user of the dictionary pen includes: Determine the scanning mode last used by the dictionary pen according to the scanning record, and determine the scanning mode last used as the habitual scanning mode; or According to the scanning record, the scanning mode that is used most frequently among the scanning modes that the dictionary pen has been used previously is determined, and the scanning mode that is used most frequently is determined as the habitual scanning mode.

7. The method according to claim 5, after setting the custom scanning mode as the default display item of the scanning mode switching page, the method further comprises: Other scanning modes supported by the dictionary pen are set as other display items in the scanning mode switching page, wherein the other scanning modes are scanning modes other than the customary scanning mode in the at least one scanning mode.

8. A dictionary pen, comprising: A processor, a memory, and a screen and a rear cover that can slide relative to each other, wherein the rear cover is provided with a scanning window; The memory stores program instructions for switching the scanning mode. When the program instructions are executed by the processor, the dictionary pen executes the method according to any one of claims 1-7.

9. A computer-readable storage medium storing computer-readable program instructions for switching a scanning mode, wherein when the program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.