A display control method, a display control device, a scanning pen, and a storage medium
By combining scene modes and angle sensors in the scanning pen, the displayed content can be dynamically adjusted, solving the problem of the lack of flexibility in the display control method of the scanning pen and improving the intelligence and ease of operation of the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG XIAOTIANCAI TECH CO LTD
- Filing Date
- 2022-09-23
- Publication Date
- 2026-06-19
AI Technical Summary
The existing display control methods of scanning pens are relatively rigid, lack flexibility, and cannot bring users an intelligent experience.
By determining the scene mode and angle of the scanning pen to the horizontal plane, the displayed content is dynamically adjusted, including function operation mode, scanning guidance mode, content operation mode, and content reading mode.
It enables flexible display control of the scanning pen in different application scenarios and postures, improving the intelligence and ease of operation of the user experience.
Smart Images

Figure CN115512355B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of scanning pen technology, and particularly relates to a display control method, a display control device, a scanning pen, and a computer-readable storage medium. Background Technology
[0002] A scanning pen is a new type of handheld device used for text scanning, input, reading aloud, and translation, and it generally integrates a screen. This screen not only allows users to perform various interactive operations but also displays the scan results. However, the current control methods for the screen display of scanning pens are relatively fixed, generally only displaying corresponding fixed content in response to the user's active touch or scanning operation. In other words, the current display control method of scanning pens lacks flexibility and fails to provide users with a smart experience. Summary of the Invention
[0003] This application provides a display control method, a display control device, a scanning pen, and a computer-readable storage medium, which enable the scanning pen to control the displayed content more flexibly and bring users an intelligent experience.
[0004] In a first aspect, this application provides a display control method applied to a scanning pen, the display control method comprising:
[0005] Determine the scene mode of the scanning pen;
[0006] Obtain the angle between the scanning pen and the horizontal plane;
[0007] The content to be displayed by the scanning pen is determined based on the angle and scene mode.
[0008] Secondly, this application provides a display control device applied to a scanning pen, the display control device comprising:
[0009] The first determining module is used to determine the scene mode of the scanning pen;
[0010] The acquisition module is used to acquire the angle between the scanning pen and the horizontal plane;
[0011] The second determining module is used to determine the content to be displayed by the scanning pen based on the angle and scene mode.
[0012] Thirdly, this application provides a scanning pen, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method described in the first aspect.
[0013] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.
[0014] Fifthly, this application provides a computer program product comprising a computer program that, when executed by one or more processors, implements the steps of the method described in the first aspect.
[0015] The beneficial effects of this application compared to existing technologies are as follows: the scanning pen no longer simply responds to the user's active touch or scanning operation to display fixed content. Instead, during the scanning pen's operation, it considers the scanning pen's scene mode and the angle between the scanning pen and the horizontal plane, and determines the content to be displayed based on these factors. It can be understood that the scanning pen's scene mode reflects the user's application scenario for the scanning pen, expressing to some extent the user's possible purpose for using the scanning pen; the angle between the scanning pen and the horizontal plane reflects the scanning pen's posture, expressing to some extent its readability and operability. Therefore, by combining the angle between the scanning pen and the horizontal plane with the scene mode, the scanning pen can more flexibly control the displayed content, providing users with an intelligent experience.
[0016] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram illustrating the implementation flow of the display control method provided in the embodiments of this application;
[0019] Figure 2 This is an example diagram of the first result display interface provided in the embodiments of this application;
[0020] Figure 3 This is an example diagram of the second result display interface provided in the embodiments of this application;
[0021] Figure 4 This is a structural block diagram of the display control device provided in the embodiments of this application;
[0022] Figure 5This is a schematic diagram of the structure of the scanning pen provided in the embodiments of this application. Detailed Implementation
[0023] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0024] To illustrate the technical solution proposed in this application, specific embodiments are described below.
[0025] The display control method proposed in this application is applied to a scanning pen. The following is a description of this display control method. Please refer to... Figure 1 The implementation process of this display control method is detailed below:
[0026] Step 101: Determine the scene mode of the scanning pen.
[0027] When the scanner is in working mode (i.e., not in standby mode), it can trigger an active scene detection function to determine its current scene mode. To conserve power, in one application scenario, the scanner can periodically determine its current scene mode; or, in another application scenario, the scanner can determine its current scene mode only when it detects that it is moving. Of course, if the scanner does not consider the impact of the active scene detection function on its power consumption, it can also continuously determine its current scene mode in real time. Therefore, in this embodiment, the timing of scene mode determination is not limited.
[0028] In some embodiments, for a scanning pen, there are two most pressing display needs during its working state. One is that when the user is not using the scanning pen to scan, the scanning pen typically needs to demonstrate its functions to the user. The other is that when the user has used the scanning pen to scan, the scanning pen typically needs to display the scan results. Analyzing these two display needs reveals that the biggest difference lies in the scan results. Based on this, the scanning pen can determine its current scene mode through the following operations: acquiring the scanning results of the scanning pen, and determining the current scene mode based on those results.
[0029] Specifically, if the scan result is empty, it indicates that the scanner has not yet performed a valid text scanning operation, and the scanner can be determined to be in the first scene mode. It can be understood that, based on the first display requirement described above, in this first scene mode, the scanner tends to provide users with guidance on functional applications, enabling users to understand the various functions the scanner can provide. If the scan result is not empty, it indicates that the scanner has performed a valid text scanning operation, and the scanner can be determined to be in the second scene mode. It can be understood that, based on the second display requirement described above, in this second scene mode, the scanner tends to provide users with a display of the scan results, enabling users to learn based on the scan results.
[0030] Step 102: Obtain the angle between the scanning pen and the horizontal plane.
[0031] The scanning pen can obtain its angle with the horizontal plane through a built-in angle sensor. As an example only, this angle sensor can be a gravity sensor, gyroscope, or accelerometer, etc., and is not limited here. In this embodiment, the range of the angle is defined as [0°, 90°]. It can be understood that when the angle between the scanning pen and the horizontal plane is 0 degrees, the scanning pen is in a horizontal position; when the angle is 90 degrees, the scanning pen is in a vertical position.
[0032] In some embodiments, to avoid excessive lag in angle acquisition or scene mode determination, the scanning pen can execute steps 101 and 102 simultaneously. That is, the scanning pen's operation of acquiring the angle with the horizontal plane can be synchronized with the operation of determining the scene mode. Of course, in practical applications, steps 101 and 102 can also be executed sequentially, but it should be noted that the timing of their execution should not differ too much.
[0033] Step 103: Determine the content to be displayed on the scanning pen based on the angle and scene mode.
[0034] As described earlier, the display requirements of a scanning pen differ across various scenarios. Analysis of user experience reveals that the closer the angle between the scanning pen and the horizontal plane is to 0 degrees, the easier it is for users to read and interact with the screen; in other words, the screen is more readable and operable. Conversely, the closer the angle is to 90 degrees, the easier it is for users to read the screen by tilting their heads, but interacting with it becomes much more difficult. While the screen still retains some readable quality, operability is significantly reduced. Therefore, based on the defined scenario and angle, the scanning pen can determine its display mode, with different modes corresponding to different content. Once the display content is determined, it can be immediately rendered and output to the screen for user viewing.
[0035] In some embodiments, the scanning pen can pre-set associated angle ranges for different scene modes to refine the impact of different angles between the scanning pen and the horizontal plane on the display mode (i.e., the displayed content). It is understood that the number of angle ranges corresponding to different scene modes can be the same or different, and this application embodiment does not limit this; also, the upper / lower limits of the angle ranges corresponding to different scene modes can be the same or different, and this application embodiment does not limit this. As an example only, the specific implementation process of step 103 is explained below using the example of setting two associated angle ranges for different scene modes:
[0036] Step 1031: Determine the first angle range and the second angle range associated with the scene mode.
[0037] In practical applications, when dividing the angle intervals associated with each scene mode, to avoid omissions, the resulting angle intervals should cover [0°, 90°]. After determining the current scene mode, to facilitate the distinction between two different angle intervals associated with this scene mode, these two different angle intervals can be denoted as the first angle interval and the second angle interval, respectively. The maximum angle value in the first angle interval is less than the minimum angle value in the second angle interval.
[0038] As an example only, the two angle intervals associated with the first scene mode can be [0°, 45°) and [45°, 90°], respectively. Then, when the current scene mode is determined to be the first scene mode, the first angle interval can be determined to be [0°, 45°) and the second angle interval to be [45°, 90°].
[0039] As an example only, the two angle intervals associated with the second scene mode can be [0°, 20°) and [20°, 90°], respectively. Then, when the current scene mode is determined to be the second scene mode, the first angle interval can be determined to be [0°, 20°) and the second angle interval to be [20°, 90°].
[0040] Step 1032: Match the angles with the first angle interval and the second angle interval respectively.
[0041] The scanning pen can match its current angle relative to the horizontal plane with a predefined first angle range and a second angle range to determine which range the angle currently falls into. In other words, when the angle falls into the first angle range, it means the scanning pen is relatively close to a horizontal orientation; when the angle falls into the second angle range, it means the scanning pen is relatively close to a vertical orientation.
[0042] Step 1033: Determine the content to be displayed on the scanning pen based on the scene mode and the matching results.
[0043] Different display modes for the scanner can be preset for different scene modes and different postures of the scanner. Specifically, these modes can be:
[0044] When the scanning pen is in the first scene mode and its posture is relatively close to parallel, the display mode of the scanning pen is set to: function operation mode. The display content corresponding to this function operation mode is: a preset user interface. As an example only, this user interface can be: a function entry interface, through which the user can select various functions of the scanning pen, such as: vocabulary notebook function and recording function, etc. Alternatively, the user interface can also be: a settings interface, through which the user can set parameters such as the sensitivity or display brightness of the scanning pen. Alternatively, the user interface can also be: the scanning pen desktop. In this embodiment, the user interface is not limited.
[0045] The reason for this setting is that the current scanning result of the scanner is empty, and the scanner's posture is close to horizontal, indicating that the user is likely to use the scanner for touch operation. Therefore, the above setting is made so that the screen of the scanner can automatically display the user operation interface without the user having to make manual adjustments, making it easier for the user to perform touch operation faster.
[0046] When the scanning pen is in the first scene mode and relatively close to a vertical position, the display mode of the scanning pen is set to: Scanning Guide Mode. The corresponding display content for this scanning guide mode is: a preset scanning guide interface. For example only, this scanning guide interface may include the following elements: text guidance for the scanning operation, and an example of the scanning operation action. The text guidance may be "Please scan or tap at the beginning of the content," and key information in the text guidance, such as "beginning of content," may be bolded and / or highlighted. The action example may use a real image or line drawing demonstrating the scanning operation, or a real video or line animation demonstrating the scanning operation; there are no limitations here.
[0047] The reason for this setting is that although the current scan result of the scanner is empty, the scanner's posture is close to vertical, indicating that the user is likely to use the scanner to prepare for scanning. Therefore, the above setting is made so that even users who are using the scanner for the first time can know how to use it correctly.
[0048] When the scanning pen is in the second scene mode and relatively close to a parallel posture, the display mode of the scanning pen is set to: content operation mode. The display content corresponding to this content operation mode is: the first result display interface. This first result display interface includes the following elements: the scan result and preset interactive icons; that is, the first result display interface is generated based on the scan result, and it includes interactive icons that allow users to interact with the device. For example, these interactive icons may include pronunciation icons and stroke order example icons, etc., and are not limited here.
[0049] The reason for this design is that the scanning pen is positioned relatively horizontally, allowing users to view the screen without tilting their heads. Furthermore, in this posture, touch and other interactive operations via the screen are neither awkward nor uncomfortable. Therefore, the initial result display interface can be used for user reading and interaction.
[0050] When the scanning pen is in the second scene mode and relatively close to a vertical position, the display mode is set to: Content Reading Mode. The corresponding display content is the second result display interface. This second result display interface includes the following elements: the scan result; that is, the second result display interface is generated based on the scan result. However, it is important to note that this second result display interface does not include any interactive icons; that is, it does not support interactive operations.
[0051] The reason for this design is that the scanning pen is positioned relatively vertically, requiring users to tilt their heads to view the screen. This posture makes it inconvenient for users to perform interactive operations such as touch control on the screen. Therefore, the second result display interface shown at this time is only for user reading.
[0052] Please see Figure 2 and Figure 3 , Figure 2 An example of a first result display interface is given. Figure 3 An example of a second result display interface is given. Comparison shows that... Figure 2 The first result display interface is compared to Figure 3 The second result display interface now includes pronunciation icons and stroke order example icons.
[0053] As can be seen from the above, through the embodiments of this application, the scanning pen no longer simply responds to the user's active touch or scanning operation to display corresponding fixed content. Instead, during the operation of the scanning pen, it considers the scene mode of the scanning pen and the angle between the scanning pen and the horizontal plane, and determines the content to be displayed based on these factors. It can be understood that the scene mode of the scanning pen reflects the user's application scenario for the scanning pen, and to a certain extent expresses the user's possible purpose for using the scanning pen; the angle between the scanning pen and the horizontal plane reflects the posture of the scanning pen, and to a certain extent expresses the readability and operability of the scanning pen; therefore, by combining the angle between the scanning pen and the horizontal plane and the scene mode of the scanning pen, the scanning pen can more flexibly control the displayed content, bringing users an intelligent experience.
[0054] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0055] Corresponding to the display control method provided above, this application also provides a display control device. The above-mentioned display control device is applied to a scanning pen. For example... Figure 4 As shown, the display control device 4 includes:
[0056] The first determining module 401 is used to determine the scene mode of the scanning pen;
[0057] The acquisition module 402 is used to acquire the angle between the scanning pen and the horizontal plane;
[0058] The second determining module 403 is used to determine the display content of the scanning pen based on the angle and scene mode.
[0059] In some embodiments, the second determining module 403 includes:
[0060] The interval determination unit is used to determine the first angle interval and the second angle interval associated with the scene mode, wherein the maximum angle value of the first angle interval is less than the minimum angle value of the second angle interval.
[0061] An angle matching unit is used to match the angle with the first angle interval and the second angle interval respectively;
[0062] The content determination unit is used to determine the display content of the scanning pen based on the scene mode and the matching result. In some embodiments, the content determination unit is specifically used to determine the display content of the scanning pen as a preset user operation interface if the angle matches a first angle range when the scanning pen is in a first scene mode, and as a preset scanning guidance interface if the angle matches a second angle range when the angle matches a second angle range. In the first scene mode, the scanning pen provides guidance for the user to use the functions.
[0063] In some embodiments, the content determination unit is specifically used to determine the display content of the scanning pen as follows when the scanning pen is in a second scene mode: if the angle matches a first angle range, the display content of the scanning pen is a first result display interface, which is generated based on the scanning result and includes preset interactive icons; if the angle matches a second angle range, the display content of the scanning pen is determined as a second result display interface, which is generated based on the scanning result and does not include interactive icons. In the second scene mode, the scanning pen provides the user with a display of the scanning result.
[0064] In some embodiments, the first determining module 401 includes:
[0065] The result acquisition unit is used to acquire the scanning results of the scanning pen;
[0066] The mode determination unit is used to determine the scene mode of the scanning pen based on the scanning results.
[0067] In some embodiments, the mode determination unit is specifically used to determine that the scanning pen is in a first scene mode when the scan result is empty, wherein the scanning pen provides guidance for the user to use the function in the first scene mode; and to determine that the scanning pen is in a second scene mode when the scan result is not empty, wherein the scanning pen provides the user with a display of the scan result in the second scene mode.
[0068] In some embodiments, the acquisition module 402 is specifically used to acquire the angle between the scanning pen and the horizontal plane through the angle sensor built into the scanning pen.
[0069] As can be seen from the above, through the embodiments of this application, the scanning pen no longer simply responds to the user's active touch or scanning operation to display corresponding fixed content. Instead, during the operation of the scanning pen, it considers the scene mode of the scanning pen and the angle between the scanning pen and the horizontal plane, and determines the content to be displayed based on these factors. It can be understood that the scene mode of the scanning pen reflects the user's application scenario for the scanning pen, and to a certain extent expresses the user's possible purpose for using the scanning pen; the angle between the scanning pen and the horizontal plane reflects the posture of the scanning pen, and to a certain extent expresses the readability and operability of the scanning pen; therefore, by combining the angle between the scanning pen and the horizontal plane and the scene mode of the scanning pen, the scanning pen can more flexibly control the displayed content, bringing users an intelligent experience.
[0070] Corresponding to the display control method provided above, this application also provides a scanning pen. Please refer to... Figure 5 The scanning pen 5 in this embodiment includes: a memory 501, and one or more processors 502. Figure 5 (Only one is shown in the image), and a computer program stored in memory 501 and executable on the processor. Memory 501 stores software programs and units. Processor 502 executes various functional applications and data processing by running the software programs and units stored in memory 501 to obtain resources corresponding to the aforementioned preset events. Specifically, processor 502 performs the following steps when running the aforementioned computer program stored in memory 501:
[0071] Determine the scene mode of the scanning pen 5;
[0072] Obtain the angle between the scanning pen 5 and the horizontal plane;
[0073] The display content of the scanning pen 5 is determined based on the angle and scene mode.
[0074] Assuming the above is the first possible implementation, in the second possible implementation based on the first possible implementation, the display content of the scanning pen 5 is determined according to the angle and scene mode, including:
[0075] Determine a first angle range and a second angle range associated with the scene mode, wherein the maximum angle value of the first angle range is less than the minimum angle value of the second angle range;
[0076] The angles are matched with the first angle range and the second angle range respectively;
[0077] Based on the scene mode and the matching results, determine the content to be displayed on the scanning pen 5.
[0078] In a third possible implementation based on the second possible implementation described above, the display content of the scanning pen 5 is determined according to the scene mode and the matching result, including:
[0079] When the scanning pen 5 is in the first scene mode:
[0080] If the angle matches the first angle range, then the display content of the scanning pen 5 is determined to be: the preset user operation interface;
[0081] If the angle matches the second angle range, then the content displayed by the scanning pen 5 is determined to be: the preset scanning guide interface.
[0082] In the fourth possible implementation based on the second possible implementation described above, the display content of the scanning pen 5 is determined according to the scene mode and the matching result, including:
[0083] When the scanning pen 5 is in the second scene mode:
[0084] If the angle matches the first angle range, the content displayed by the scanning pen 5 is determined to be: a first result display interface, which is generated based on the scanning result and includes preset interactive icons;
[0085] If the angle matches the second angle range, the content displayed by the scanning pen 5 is determined to be: the second result display interface, which is generated based on the scanning result and does not contain interactive icons.
[0086] Based on the first possible implementation described above, or based on the second possible implementation described above, in a fifth possible implementation, determining the scene mode of the scanning pen 5 includes:
[0087] Obtain the scanning results from scanning pen 5;
[0088] Based on the scanning results, determine the scene mode of the scanning pen 5.
[0089] In the sixth possible implementation provided based on the fifth possible implementation described above, the scene mode of the scanning pen 5 is determined according to the scanning results, including:
[0090] If the scan result is empty, the scanning pen 5 is determined to be in the first scene mode, in which the scanning pen 5 provides guidance for the user to use the functions in the first scene mode;
[0091] If the scan result is not empty, the scanning pen 5 is determined to be in the second scene mode, in which the scanning pen 5 provides the user with a display of the scan result.
[0092] In the seventh possible implementation provided based on the first possible implementation described above, obtaining the angle between the scanning pen 5 and the horizontal plane includes:
[0093] The angle between the scanning pen 5 and the horizontal plane is obtained by the angle sensor built into the scanning pen 5.
[0094] It should be understood that, in the embodiments of this application, the processor 502 may be a central processing unit (CPU), but it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0095] Memory 501 may include read-only memory and random access memory, and provides instructions and data to processor 502. Some or all of memory 501 may also include non-volatile random access memory. For example, memory 501 may also store device category information.
[0096] As can be seen from the above, through the embodiments of this application, the scanning pen no longer simply responds to the user's active touch or scanning operation to display corresponding fixed content. Instead, during the operation of the scanning pen, it considers the scene mode of the scanning pen and the angle between the scanning pen and the horizontal plane, and determines the content to be displayed based on these factors. It can be understood that the scene mode of the scanning pen reflects the user's application scenario for the scanning pen, and to a certain extent expresses the user's possible purpose for using the scanning pen; the angle between the scanning pen and the horizontal plane reflects the posture of the scanning pen, and to a certain extent expresses the readability and operability of the scanning pen; therefore, by combining the angle between the scanning pen and the horizontal plane and the scene mode of the scanning pen, the scanning pen can more flexibly control the displayed content, bringing users an intelligent experience.
[0097] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the above device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0098] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0099] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of external device software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0100] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of modules or units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.
[0101] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0102] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing associated hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer-readable storage device, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the contents of the aforementioned computer-readable storage media may be appropriately added to or subtracted from the contents according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media may not include electrical carrier signals and telecommunication signals.
[0103] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A display control method, characterized in that, The display control method is applied to the scanning pen, and the display control method includes: Determine the scene mode in which the scanning pen is located; Obtain the angle between the scanning pen and the horizontal plane; The display content of the scanning pen is determined based on the angle and the scene mode. Determining the scene mode of the scanning pen includes: Obtain the scanning result from the scanning pen; If the scan result is empty, the scanning pen is determined to be in a first scene mode, wherein the scanning pen provides guidance for the user to use the function application in the first scene mode; If the scan result is not empty, the scanning pen is determined to be in a second scene mode, wherein the scanning pen provides the user with a display of the scan result in the second scene mode.
2. The display control method as described in claim 1, characterized in that, Determining the display content of the scanning pen based on the angle and the scene mode includes: Determine a first angle range and a second angle range associated with the scene mode, wherein the maximum angle value of the first angle range is less than the minimum angle value of the second angle range; The angles are matched with the first angle range and the second angle range, respectively. Based on the scene mode and the matching results, the display content of the scanning pen is determined.
3. The display control method as described in claim 2, characterized in that, Determining the display content of the scanning pen based on the scene mode and the matching result includes: When the scanning pen is in the first scene mode: If the angle matches the first angle range, then the display content of the scanning pen is determined to be: a preset user interface; If the angle matches the second angle range, then the display content of the scanning pen is determined to be: a preset scanning guidance interface.
4. The display control method as described in claim 2, characterized in that, Determining the display content of the scanning pen based on the scene mode and the matching result includes: When the scanning pen is in the second scene mode: If the angle matches the first angle range, the display content of the scanning pen is determined to be: a first result display interface, which is generated based on the scanning result and includes preset interactive icons; If the angle matches the second angle range, the display content of the scanning pen is determined to be: a second result display interface, which is generated based on the scanning result and does not include the interactive icon.
5. The display control method as described in claim 1, characterized in that, The step of obtaining the angle between the scanning pen and the horizontal plane includes: The angle between the scanning pen and the horizontal plane is obtained by the angle sensor built into the scanning pen.
6. A display control device, characterized in that, The display control device is applied to the scanning pen, and the display control device includes: The first determining module is used to determine the scene mode in which the scanning pen is located; The acquisition module is used to acquire the angle between the scanning pen and the horizontal plane; The second determining module is used to determine the display content of the scanning pen based on the angle and the scene mode; The first determining module includes: The result acquisition unit is used to acquire the scanning result of the scanning pen; The mode determination unit is configured to determine that the scanning pen is in a first scene mode when the scan result is empty, wherein the scanning pen provides guidance for the user's functional applications in the first scene mode; and to determine that the scanning pen is in a second scene mode when the scan result is not empty, wherein the scanning pen provides the user with a display of the scan result in the second scene mode.
7. A scanning pen, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 5.