Display interface amplification method and device

By displaying the selection box and the magnification box on the display screen of the electronic device, it is possible to view the overall content while viewing details, solving the problem of complex operations in the existing technology and improving the user experience.

CN118625975APending Publication Date: 2024-09-10HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310287567.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, the size limit of the display screen of the electronic device prevents the user from clearly viewing the details and the overall information content at the same time, and the operation is complicated and the user experience is poor.

Method used

By displaying the selection box and the magnification box on the display screen, the content in the selection box is magnified and displayed at the preset magnification factor in the magnification box. The user can view the overall content while viewing details without frequent operations. The selection box and magnification box The content is automatically adjusted according to interface changes.

Benefits of technology

The user experience is improved. Users can easily view the details and overall content of the display interface, reducing the complexity of operations and improving the reading experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625975A
    Figure CN118625975A
Patent Text Reader

Abstract

The embodiment of the invention provides a display interface amplification method and device, relates to the field of terminals, and aims to enable a user to view the whole content while viewing details of a display interface without frequent operation (for example, switching the interface back and forth), so that the use experience of the user can be improved. The method comprises the steps that the electronic equipment displays a first interface of a first application program on a display screen; receiving a first operation of a user; in response to the first operation, a selection box is displayed in a first area of the display screen, an amplification box is displayed in a second area of the display screen, the selection box comprises first content of the first interface, and part or all of the first content is amplified and displayed in the amplification box according to a first amplification factor; in response to the second operation, a second interface is displayed, the position of the selection box on the display screen is kept unchanged, the selection box comprises second content of the second interface, and part or all of the second content is amplified and displayed in the amplification box according to the first amplification factor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a method and device for magnifying a display interface. Background Art

[0002] When a user browses information content such as web pages, documents or pictures through an electronic device (for example, a mobile phone), due to the limitation of the size of the display screen of the electronic device, the displayed information content may be small, so that the user cannot clearly view the information content.

[0003] In order to clearly view the display content of the display screen of the electronic device, the entire display content of the display screen can be enlarged for viewing. However, when the display content of the display screen is enlarged as a whole (global enlargement), since the size of the display screen is fixed, the information content that can be accommodated in the display screen becomes less, and the user cannot view the overall information while viewing the details. If the user wants to view the overall information, the content of the entire display page of the display screen needs to be reduced again, which is complicated to operate and has a poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a method and device for magnifying a display interface, which enables a user to view the overall content while viewing details, without the need for frequent user operations (for example, switching interfaces back and forth), thereby improving the user experience.

[0005] In a first aspect, an embodiment of the present application provides a method for magnifying a display interface, comprising: an electronic device displays a first interface of a first application on a display screen; the electronic device receives a first operation of a user; in response to the first operation, the electronic device displays a selection box in a first area of ​​the display screen, and displays an enlargement box in a second area of ​​the display screen; when the display screen displays the first interface, the selection box includes first content corresponding to the first interface in the first area, and part or all of the first content is enlarged and displayed in the enlargement box with a first magnification factor; the electronic device receives a second operation of the user; in response to the second operation, the electronic device displays the second interface of the first application on the display screen; after receiving the second operation, the position of the selection box on the display screen remains unchanged, and when the display screen displays the second interface, the selection box includes second content corresponding to the second interface in the first area, and part or all of the second content is enlarged and displayed in the enlargement box with the first magnification factor.

[0006] Based on the method provided in the embodiment of the present application, when the electronic device displays the display interface of the application (e.g., note interface, web page interface, picture editing interface) on the display screen, if the user's first operation (operation to trigger the magnifying glass function) is received, a selection box and a magnifying box can be displayed on the display screen respectively, and the selection box includes the first content of the first interface, and part or all of the first content is magnified and displayed in the magnifying box at a first magnification. In this way, while the user views the details of the display interface (e.g., the first interface) through the magnifying box, the user can also view the overall content (the original content of the first interface), without the user's frequent operations (e.g., switching interfaces back and forth), which can improve the user's experience. In addition, in response to the second operation, the content in the selection box (e.g., selection box 505) can change according to the interface change of the application, and the content in the magnifying box (e.g., magnifying box 506) can change according to the change of the content in the selection box, without the user moving the position of the selection box back and forth, which can improve the user's reading experience.

[0007] In a possible implementation, the method further includes: the electronic device receives a third operation of the user; in response to the third operation, the electronic device displays the target toolbar in the third area of ​​the display screen; if the third area overlaps with the second area, the electronic device moves the magnifying frame to the fourth area, and the fourth area does not overlap with the third area. In this way, when the user triggers the target toolbar (for example, the handwriting toolbar), the magnifying frame can automatically move to avoid the handwriting toolbar. In this way, the magnifying frame is prevented from blocking the handwriting toolbar, and the user's operation will not be inconvenienced, which can improve the user experience.

[0008] In a possible implementation, when the display screen displays the first interface, the method further includes: the electronic device obtains the track information generated by the user sliding in the magnification frame; the electronic device converts the track information into a graffiti graphic, and synchronously displays the graffiti graphic in the magnification frame and the selection frame. In this way, the user can conveniently doodle or write in the magnification frame, and can synchronously view the doodle or written content in the original interface, which is convenient for user operation and can improve user experience.

[0009] In a possible implementation manner, the first content or the second content includes at least one of text, a picture, and a table.

[0010] In a possible implementation, the first area of ​​the display screen is the middle area of ​​the display screen, and the second area of ​​the display screen is the bottom area of ​​the display screen. In this way, it is convenient for the user to select the content to be enlarged through the selection box and view the enlarged content in the enlargement box, and the user's viewing of the overall content (original interface content) of the interface (for example, the first interface) is basically not affected.

[0011] In a possible implementation, the first operation is a click operation on the first control displayed on the first interface, or a preset gesture operation, wherein the preset gesture operation may be, for example, a long press operation, a double click operation, a triple click operation, etc., which is not limited in this application.

[0012] In a possible implementation, the second operation is an upward or downward sliding operation on the area outside the magnification box on the first interface, the first interface and the second interface are the same-level interfaces of the first application, and the first content and the second content included in the selection box are the content at different positions on the same-level interface. In this way, after the user switches / refreshes the interface, the details of the second interface (the same-level interface of the first interface) can be viewed through the magnification box, and the overall content of the second interface (the original content of the second interface) can be viewed. The content in the selection box can change according to the interface changes of the application, and the content in the magnification box can change according to the content changes in the selection box. The user does not need to move the selection box back and forth, which can improve the user's reading experience.

[0013] In a possible implementation, the second operation is a click operation on the second control in the magnification box, and the first interface and the second interface are interfaces of different levels of the first application. In this way, after the user switches / refreshes the interface, the user can continue to view the details of the second interface (the interface of different levels of the first interface) through the magnification box, and view the overall content of the second interface (the original content of the second interface). Among them, the content in the selection box can change according to the interface changes of the application, and the content in the magnification box can change according to the changes of the content in the selection box. The user does not need to move the position of the selection box back and forth, which can improve the user's reading experience.

[0014] In a possible implementation, when the magnifying box cannot display the entire contents of the selection box at the first magnification, the magnifying box displays the contents of the middle of the selection box by default. It is understandable that the contents of the middle of the selection box are usually of great concern to users, so displaying the contents of the middle of the selection box by default can meet user needs and improve user experience. Alternatively, when the magnifying box cannot display the entire contents of the selection box at the first magnification, the magnifying box displays the contents of the upper left position of the selection box by default. This conforms to the visual habits of users when reading (i.e., viewing from top to bottom, from left to right).

[0015] In one possible implementation, the selection box is in the shape of a rectangle, and the middle position of the selection box refers to an area of ​​a preset rectangle with the midpoint of the selection box as the midpoint; wherein the length of the preset rectangle is smaller than the length of the selection box, and / or the width of the preset rectangle is smaller than the width of the selection box.

[0016] In a possible implementation, the method further includes: the electronic device receives a fourth operation of the user; in response to the fourth operation, the electronic device adjusts the size or position of the selection box. That is, the user can adjust the size or position of the selection box, which can better meet the user's needs.

[0017] In a possible implementation, the electronic device receives the fifth operation of the user; in response to the fifth operation, the electronic device adjusts the size or position of the magnification frame, that is, the user can adjust the size or position of the magnification frame, which can better meet the user's needs.

[0018] In a possible implementation, the electronic device receives a sixth operation of the user; in response to the sixth operation, the electronic device displays the content in the selection box in the magnification box at a second magnification factor, where the second magnification factor is greater than or less than the first magnification factor. That is, the user can adjust the magnification factor of the magnification box, which can better meet the user's needs.

[0019] In one possible implementation, the first application is a note-taking application, and the first interface is a note-taking interface; or the first application is a document processing application, and the first interface is a document processing interface; or the first application is a browser application, and the first interface is a web page interface; or the first application is a picture management application, and the first interface is a picture editing / viewing interface.

[0020] In a second aspect, the present application provides a chip system, which includes one or more interface circuits and one or more processors. The interface circuits and processors are interconnected via lines.

[0021] The chip system can be applied to an electronic device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the electronic device and send the received signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device can execute the method described in the first aspect and any possible design thereof.

[0022] In a third aspect, the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device (such as a mobile phone), the electronic device executes the method described in the first aspect and any possible design thereof.

[0023] In a fourth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the first aspect and any possible design thereof.

[0024] In a fifth aspect, an embodiment of the present application provides an enlarged display device, including a processor, the processor and a memory are coupled, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the device implements the method described in the first aspect and any possible design thereof. The device can be an electronic device or a component of an electronic device, such as a chip.

[0025] In a sixth aspect, an embodiment of the present application provides an enlarged display device, which can be divided into different logical units or modules according to functions, and each unit or module performs a different function, so that the device executes the method described in the first aspect and any possible design method thereof.

[0026] It can be understood that the beneficial effects that can be achieved by the chip system described in the second aspect, the computer-readable storage medium described in the third aspect, the computer program product described in the fourth aspect, and the devices described in the fifth aspect and the sixth aspect provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here.

[0027] Based on the method provided in the embodiment of the present application, when the electronic device displays the display interface of the application (e.g., note interface, web page interface, picture editing interface) on the display screen, if the user's first operation (operation to trigger the magnifying glass function) is received, a selection box and a magnifying box can be displayed on the display screen respectively, and the selection box includes the first content of the first interface, and part or all of the first content is magnified and displayed in the magnifying box at a first magnification. In this way, while the user views the details of the display interface (e.g., the first interface) through the magnifying box, the user can also view the overall content (the original content of the first interface), without the user's frequent operations (e.g., switching interfaces back and forth), which can improve the user's experience. In addition, in response to the second operation, the content in the selection box (e.g., selection box 505) can change according to the interface change of the application, and the content in the magnifying box (e.g., magnifying box 506) can change according to the change of the content in the selection box, without the user moving the position of the selection box back and forth, which can improve the user's reading experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram showing the related technology;

[0029] Figure 2 It is another schematic diagram showing the related art;

[0030] Figure 3 It is another schematic diagram showing the related art;

[0031] Figure 4A A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0032] Figure 4B A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0033] Figure 5 A display schematic diagram provided for an embodiment of the present application;

[0034] Figure 6 Another display schematic diagram provided for an embodiment of the present application;

[0035] Figure 7 Another display schematic diagram provided for an embodiment of the present application;

[0036] Figure 8 Another display schematic diagram provided for an embodiment of the present application;

[0037] Fig. 9 Another display schematic diagram provided for an embodiment of the present application;

[0038] Fig.10 Another display schematic diagram provided for an embodiment of the present application;

[0039] Fig.11 Another display schematic diagram provided for an embodiment of the present application;

[0040] Fig. 12A Another display schematic diagram provided for an embodiment of the present application;

[0041] Fig. 12B Another display schematic diagram provided for an embodiment of the present application;

[0042] Fig.13A Another display schematic diagram provided for an embodiment of the present application;

[0043] Fig. 13B Another display schematic diagram provided for an embodiment of the present application;

[0044] Fig.14 A schematic diagram of a flow chart of an interface amplification method provided in an embodiment of the present application;

[0045] Fig.15 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given:

[0047] When a user browses information content such as web pages, documents or pictures through an electronic device (for example, a mobile phone), due to the limitation of the size of the display screen of the electronic device, the displayed information content may be small, so that the user cannot clearly view the information content.

[0048] Currently, some applications do not support zooming pages, and you cannot zoom in to view details such as fonts and images. For example, some news applications or shopping applications do not support zooming pages.

[0049] Of course, some applications also support global zooming, that is, the display interface of the application can be zoomed in as a whole to view the display content of the application. However, when the content of the display page of the application is zoomed in as a whole (global zooming), since the display screen size is fixed, the information content that can be accommodated in the display screen becomes less, and the user cannot view the overall information while viewing the details. If the user wants to view the overall information, the content of the display page of the application needs to be zoomed out again, which is complicated and has a poor user experience.

[0050] For example, Figure 1 As shown in (a) of FIG. 1 , an electronic device (e.g., a mobile phone) displays an interface 101 of a note application, and the interface 101 includes a picture 102. If a user wants to view the picture 102 more clearly, the user can perform an operation of enlarging the picture 102 (e.g., clicking on the picture 102). In response to the user's click operation on the picture 102, as shown in FIG. Figure 1 As shown in (b) in the figure, the mobile phone can display the enlarged picture 103 of the picture 102. However, although the picture 102 can be clearly viewed in this way, the text content cannot be viewed, that is, the description text for the picture 102 cannot be viewed. When the user needs to view the text content, he needs to return to the original interface, and the enlarged picture cannot be viewed in this way, resulting in a poor user experience.

[0051] For example, Figure 2 As shown in (a) of FIG. 1 , an electronic device (eg, a mobile phone) displays a picture editing interface 201, which includes a picture 202. When a user needs to doodle or write on the picture 202, the picture 202 can be enlarged as a whole to facilitate doodle or writing. Figure 2 As shown in (b) in the figure, the user can doodle or write on a part of the enlarged picture in the interface 203. However, due to the limited size of the display screen of the mobile phone, only part of the details of the picture can be viewed after the whole picture is enlarged. If the content of other areas of the picture needs to be viewed, the picture needs to be dragged repeatedly, which is cumbersome and has a poor user experience.

[0052] Moreover, in some scenarios, when a user wants to interact with an electronic device, it is difficult for the user to operate because the operation buttons displayed on the electronic device are small.

[0053] For example, Figure 3 As shown in (a) of FIG. 3 , an electronic device (eg, a mobile phone) displays a browser interface 301. Since the operation buttons in the interface 301 are small, the user can perform a global zoom operation on the interface 301. Figure 3 As shown in (b) of FIG. 3 , the mobile phone may display the enlarged interface 302. The user may click a corresponding operation button (e.g., button 303 corresponding to a column) on the interface 302. In response to the user clicking the button 303 corresponding to the column, as shown in FIG. Figure 3 As shown in (c) in the figure, the mobile phone can display interface 304. Interface 304 is the interface after interface 301 is switched. However, since the user has previously zoomed in on interface 301 as a whole, interface 304 after switching is still in a zoomed-in state. When the user needs to view other contents of interface 304 after switching, the user needs to zoom out again, which is cumbersome and has a poor user experience.

[0054] An embodiment of the present application provides a method for magnifying a display interface, which can display other contents of the interface while magnifying local contents of the interface, so that users can view the overall content while viewing details, without the need for frequent operations by users (for example, switching interfaces back and forth), thereby improving the user experience.

[0055] The method provided in the embodiment of the present application can be applied to electronic devices. The electronic device can be, for example, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and / or a smart city device, and the embodiment of the present application does not impose any special restrictions on the specific type of the electronic device.

[0056] The following description will be made by taking the hardware structure of the electronic device 100 as an example. Figure 4A A schematic diagram of the hardware structure of the electronic device 100 is shown.

[0057] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc.

[0058] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0059] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated in one or more processors.

[0060] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0061] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0062] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0063] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image and video playback function, etc.). The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc.

[0064] In some embodiments, the processor 110 may include one or more interfaces. The USB interface 130 is an interface that complies with the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 100, or may be used to transfer data between the electronic device 100 and a peripheral device. It may also be used to connect headphones to play audio through the headphones. The interface may also be used to connect other electronic devices 100, such as AR devices, etc.

[0065] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0066] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0067] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0068] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.

[0069] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.

[0070] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared technology (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0071] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.

[0072] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0073] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.

[0074] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0075] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0076] The microphone 170C, also called a "microphone" or "speaker", is used to convert a sound signal into an electrical signal. The electronic device 100 may be provided with at least one microphone 170C.

[0077] The earphone jack 170D is used to connect a wired earphone.

[0078] The sensor module 180 may include one or more sensors, which may be of the same type or of different types. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, an ambient light sensor, and the like.

[0079] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0080] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini LED, Micro LED, Micro-OLED, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0081] In the embodiment of the present application, the display screen may be a touch screen, and the touch screen may receive user operations (eg, a first operation, a second operation, etc.) to achieve human-computer interaction.

[0082] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0083] The electronic device 100 can realize the function of acquiring images through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0084] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image or video visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0085] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image or video signal. The ISP outputs the digital image or video signal to the DSP for processing. The DSP converts the digital image or video signal into an image or video signal in a standard RGB, YUV or other format.

[0086] In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1. For example, in some embodiments, the electronic device 100 may use N cameras 193 to obtain images with multiple exposure coefficients, and then, in video post-processing, the electronic device 100 may synthesize an HDR image based on the images with multiple exposure coefficients using a High Dynamic Range (HDR) technology.

[0087] The video codec is used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0088] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0089] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or separated from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0090] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0091] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, the hardware abstraction layer (HAL), and the kernel layer.

[0092] The application layer can include a series of application packages. Figure 4B As shown, the application package may include settings, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications. Of course, the application layer may also include other application packages, such as chat applications (e.g., ), payment applications, shopping applications, banking applications or financial management applications, etc., this application does not limit them.

[0093] In the embodiment of the present application, the application package may include a first application (which may be referred to as the first application for short). The first application may be a note application, for example, Honor Note, Or the first application can be a document processing application, such as WPS Alternatively, the first application may be a browser application, such as a native browser of an electronic device, a UC browser, or a web browser. Or the first application can be a picture management application, such as a gallery, wait.

[0094] The application framework layer provides an application programming interface (API) and a programming framework for the application programs in the application layer. The application framework layer includes some predefined functions. For example, it may include an activity manager, a window manager, a content provider, a view system, a resource manager, a notification manager, a super notification module, and an application continuation framework, etc., and the embodiments of the present application do not impose any restrictions on this.

[0095] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0096] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0097] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0098] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0099] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0100] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the display in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0101] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0102] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0103] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0104] OpenGL ES is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0105] SGL is a graphics engine for 2D graphics.

[0106] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0107] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface to the upper layer and shielding the implementation details of the low-level hardware.

[0108] The HAL layer may include Wi-Fi HAL, audio HAL, camera HAL, etc.

[0109] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, etc.

[0110] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the differences. At the same time, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0111] For ease of understanding, the method for magnifying the display interface provided in the embodiment of the present application is specifically introduced below with reference to the accompanying drawings.

[0112] Combine the following Figure 5-Figure 11 , taking the electronic device as a mobile phone, and the mobile phone running a note-taking application as an example, the method for enlarging the display interface provided in the embodiment of the present application is explained.

[0113] For example, Figure 5 As shown in (a) of FIG. 1 , when the mobile phone runs a note application, a note interface 501 (an example of a first interface) may be displayed. The note interface 501 may include a floating button 502. In response to a user's operation on the floating button 502 (e.g., a click operation), as shown in FIG. Figure 5As shown in (b) of FIG. 5 , the mobile phone may display a function bar 503. The function bar 503 may include multiple function options, such as options such as opening a note, creating a new note, screenshot, partial screenshot, global annotation, video excerpt, magnifying glass, translation, and settings. In response to a user operation (e.g., a click operation) on the magnifying glass option 504 (an example of a first control), as shown in FIG. Figure 5 As shown in (c) in FIG. 5 , the mobile phone can display a selection box 505 and a magnification box 506 in the note interface 501. The content (text, picture, table, etc.) selected by the selection box 505 can be magnified and displayed in the magnification box at a preset magnification factor (first magnification factor) (for example, it can be magnified to 150%). The content selected by the selection box 505 refers to the content selected by the selection box 505.

[0114] For example, Figure 5 As shown in (c) of FIG. 5 , the magnification box 506 may further include a magnification display control 5061, a magnification increase control 5063, a magnification reduction control 5062, and a close control 5064. The close control 5064 is used to close the magnification box 506 and the selection box 505 at the same time.

[0115] Among them, the selection box can also be called a selection area, a selection panel, etc., and the magnification box can also be called a magnification area, a magnification panel, etc., which is not limited in this application.

[0116] Optionally, the shape of the selection box or magnification box can be a rectangle, a circle or other custom shapes, which is not limited in this application. This embodiment of the application takes the shape of the selection box (e.g., selection box 505) or the magnification box (e.g., magnification box 506) as a rectangle as an example for description.

[0117] It should be noted that the content selected by the selection box (e.g., selection box 505) may include text, pictures, tables, etc.; correspondingly, the magnification box (e.g., magnification box 506) may magnify text, pictures, tables, etc. Compared with the prior art in which the text content cannot be viewed after the picture is magnified, the method provided in the embodiment of the present application can ensure that the user can view both the magnified picture and the text content, thereby improving the user's reading (browsing) experience.

[0118] It should be noted that the above triggering method of the magnifying glass function (the above triggering method of the magnifying glass function by clicking the magnifying glass option 504 in the note application) is illustrative. The magnifying glass function may also have other triggering methods, for example, the user may trigger the magnifying glass function through other function entrances, or the user may trigger the "magnifying glass" function through a preset gesture operation, and the preset gesture operation may be, for example, a long press operation, a double-click operation, a triple-click operation, etc., which is not limited in this application.

[0119] In a possible design, the selection box (e.g., selection box 505) can be displayed by default in the middle area of ​​the display interface (e.g., note interface 501) of the current application (first application), and the magnification box (e.g., magnification box 506) can be displayed by default in the bottom area (below the interface) of the display interface (e.g., note interface 501) of the current application (first application). In this way, it is convenient for the user to select the content to be magnified through the selection box and view the magnified content in the magnification box, and it basically does not affect the user's viewing of the overall content (original interface content) of the interface (e.g., note interface 501).

[0120] Optionally, the selection box or magnification box may also be displayed on the upper side, lower side, left side or right side of the display interface of the current application (eg, note interface 501), which is not limited in this application.

[0121] Optionally, the display position of the selection box can be determined based on the content of the current application display interface (e.g., note interface 501). For example, the selection box can be displayed by default at the location of the picture of the current display interface, or by default at the display location of the control or button of the current display interface, which is not limited in this application.

[0122] In one possible design, the user can adjust the size and position of the selection box (e.g., selection box 505). For example, the user can drag the top corner or border of the selection box to change the size and position of the selection box. Figure 5 As shown in (c) in FIG. 5 , in response to the user's operation of dragging the selection box 505 (for example, the operation of dragging the lower right corner of the selection box 505 to slide to the right), as shown in FIG. Figure 6 As shown in (a) in the figure, the selection box 505 becomes larger, and more content is selected in the selection box 505. Accordingly, the content in the magnification box (for example, the magnification box 506) can change according to the change of the content selected in the selection box. The magnification box can display the content selected by the selection box at a preset magnification factor. If the content selected by the selection box cannot be fully displayed in the magnification box (the entire content in the selection box cannot be displayed on one screen), the content in the middle position of the selection box (the content in the middle of the selection box 505, that is, the content in the dotted box 5051) can be displayed by default. Exemplarily, if the shape of the selection box is a rectangle, the middle position of the selection box may refer to the area of ​​a preset rectangle with the midpoint of the selection box as the midpoint. The length of the preset rectangle is less than the length of the selection box, and / or the width of the preset rectangle is less than the width of the selection box. Optionally, the electronic device can receive interactive operations of the user on the magnification box (for example, the magnification box 506). For example, as Figure 6As shown in (b), in response to the user's operation in the magnifying box 506 (for example, a sliding operation to the right), the displayed content in the magnifying box 506 can change to display more content selected in the selection box 505 (the content on the left side of the selection box 505, i.e., the content in the dotted box 5052).

[0123] For example, Figure 7 As shown in (a) of FIG. 5 , in response to the user's operation on the magnification frame 506 (for example, the operation of separating two fingers), as shown in FIG. Figure 7 As shown in (b) in the figure, the magnification box 506 can display the content selected by the selection box 505 at a higher magnification (for example, 200%). Among them, the operation of separating two fingers is a dual-touch operation, and the dual-touch operation refers to the operation in which the user presses two contact points on the user interface (the magnification box 506) and touches and slides, and separating two fingers is to slowly separate the two contact points between the user and the interface. It can be understood that since the magnification factor increases, while the size of the magnification box (for example, the magnification box 506) remains unchanged, the displayed content in the magnification box is reduced accordingly. Of course, the magnification factor of the displayed content in the magnification box can also be reduced. For example, the magnification factor in the magnification box can be reduced by performing a two-finger pinching (closing) operation in the magnification box. The specific operation is not limited in this application. Among them, the operation of pinching two fingers is a dual-touch operation, and pinching two fingers is to slowly close the two contact points between the user and the interface.

[0124] It should be noted that the position / area (display position / area on the display screen) where the selection box (e.g., selection box 505) is located can be relatively fixed, and the position of the selection box will only change due to the user's operation on the selection box (e.g., dragging operation), and will not change with the change of the interface on the display screen. That is, the position of the selection box (the position coordinates of the selection box on the display screen) relative to the entire display area can be kept unchanged. In this way, when the interface content changes (for example, in response to the user's operation of sliding up, down, left or right on the display screen, the interface content displayed on the display screen will change), the content selected by the selection box can change with the change of the interface content. That is, the selection box can select new display content, and the magnification box can magnify the newly selected content of the selection box.

[0125] For example, Figure 8 As shown in (a) of FIG. 5 , in response to the user sliding down the note interface 501, as shown in FIG. Figure 8 As shown in (b), the mobile phone can display interface 510 (an example of the second interface), and at the same time the content in the selection box 505 changes, and the content in the magnification box 506 also changes based on the content in the selection box.

[0126] Based on the method provided in the embodiment of the present application, the content in the selection box (for example, selection box 505) can change according to the interface change of the application, and the content in the magnification box (for example, magnification box 506) can change according to the change of the content in the selection box. The user does not need to move the position of the selection box back and forth, which can improve the user's reading experience.

[0127] In a possible design, the user can adjust the position and size of the magnification frame. For example, Fig. 9 As shown in (a) of FIG. 5 , in response to the user's operation of dragging the magnifying frame 506 (for example, pressing the top of the magnifying frame 506 and dragging the magnifying frame 506 upward), as shown in FIG. Fig. 9 As shown in (b) in FIG. 5 , the magnifying frame 506 can be moved above the display screen of the mobile phone.

[0128] For example, Fig. 9 As shown in (b) in FIG. 5 , in response to the user dragging the edge of the magnifying frame 506 (for example, pressing the bottom of the magnifying frame 506 and dragging the magnifying frame 506 downward), as shown in FIG. Fig. 9 As shown in (c) in FIG. 5 , the magnifying frame 506 can be enlarged (expanded).

[0129] Optionally, if the magnification box becomes larger and blocks part of the content of the selection box, the selection box can automatically move (for example, automatically move down or up) to avoid the magnification box blocking the selection box, which will not affect the user's viewing of the content in the selection box and can improve the user experience.

[0130] In some cases, when the magnifying box cannot fully display the contents of the selection box at a preset magnification (i.e., cannot display all the contents of the selection box on one screen), the enlarged magnifying box can display more contents in the selection box, so that the user can view the contents of the selection box more quickly and completely. In other cases, when the magnifying box can fully display the contents of the selection box at a preset magnification (e.g., a first magnification) (i.e., can display all the contents of the selection box on one screen), the enlarged magnifying box can display the contents of the selection box at a larger magnification (e.g., a second magnification) (in this case, adjusting the size of the magnifying box is equivalent to adjusting the magnification), so that the user can view the contents of the selection box more clearly.

[0131] It should be noted that in the handwriting scenario (i.e., the electronic device detects the stylus), when the user triggers the handwriting toolbar, the magnifying box can automatically move to avoid the handwriting toolbar. In this way, the magnifying box is prevented from blocking the handwriting toolbar, which will not cause inconvenience to the user's operation and can improve the user experience.

[0132] For example, Fig.10As shown in (a) of FIG. 1 , the enlarged frame 506 is displayed in the lower area of ​​the display screen. In response to the user clicking the selection frame 505 (an example of the third operation), as shown in FIG. Fig.10 As shown in (b) of FIG. 5 , the mobile phone can pop up a handwriting toolbar 507. The handwriting toolbar 507 can be displayed in the lower area (third area) of the display screen, and the magnification frame 506 can avoid the handwriting toolbar 507 and automatically move to the upper area (fourth area) of the display screen.

[0133] In an embodiment of the present application, the magnification frame can support writing or graffiti operations, and the handwriting or graffiti (i.e., the trajectory information generated by the user sliding (finger sliding or stylus sliding) in the magnification frame) can be synchronously displayed in the original interface.

[0134] For example, Fig.11 As shown, the user can doodle in the magnifying box 506, for example, circle part of the content and annotate "2010". In response to the user's doodle operation in the magnifying box 506, the mobile phone obtains the track information generated by the user sliding in the magnifying box, converts the track information into a doodle graphic, displays the doodle graphic in the magnifying box 506, and can synchronously display the doodle graphic in the original note interface 501 (selection box 505).

[0135] In this way, the user can conveniently doodle or write, and can simultaneously view the doodle or written content on the original interface, which is convenient for user operation and can improve user experience.

[0136] In addition, users can also doodle in the selection box, and the annotated handwriting can be synchronously displayed in the magnification box.

[0137] Combine the following Fig. 12A and Fig. 12B , taking the electronic device as a mobile phone, and the mobile phone running a browser application to display a web page (for example, a news web page) as an example, the method for enlarging the display interface provided in an embodiment of the present application is explained.

[0138] like Fig. 12A As shown in (a) of FIG. 1 , the mobile phone displays a news web page interface 1201, and a menu bar 1202 is included below the interface 1201, and the menu bar includes more options 1203. Of course, the menu bar can also include other menu items, such as returning to the previous level option, etc., which are not limited in this application. In response to the user's operation on the more options 1203 (for example, a click operation), as shown in FIG. Fig. 12AAs shown in (b) of FIG. 1 , the mobile phone may pop up a pop-up box 1204, which may include multiple function options, such as a magnifying glass option 1205. Of course, the pop-up box 1204 may also include function options such as adding bookmarks, bookmarks / history, download management, refresh, share, settings, and exit, which are not limited in this application. In response to the user's operation on the magnifying glass option 1205 (for example, a click operation), as shown in FIG. Fig. 12B As shown in (a) or (b) in FIG. 1 , the mobile phone can display a selection box 1206 and an enlargement box 1207 on the news web page interface 1201. The enlargement box 1207 can enlarge the content selected by the selection box 1206.

[0139] In one possible design, the mobile phone can determine the display position of the selection box based on the content of the display interface of the current application (for example, the news web page interface 1201). Fig. 12B As shown in (b) of FIG. 1 , the selection box 1206 may be displayed by default at the display position where the control or button of the interface 1201 is located. In another possible design, as shown in FIG. Fig. 12B As shown in (a) of FIG. 1 , the selection box 1206 may be displayed in the middle of the display screen by default. Fig. 12B As shown in (b) of FIG. 1 , in response to the user's operation of moving the selection box 1206, the selection box 1206 may be moved from the middle position of the display screen to the upper right corner. Fig. 12B As shown in (b) in the figure, the magnifying box 1207 may display options such as “various locations, columns, live broadcasts, pictures”, etc.

[0140] The user can click a corresponding option in the magnifying box 1207. For example, the user can click a "column" option (an example of a second control) in the magnifying box 1207. In response to the user clicking the "column" option, Fig. 12B As shown in (c) in FIG. 1 , the mobile phone can switch to the interface 1210 (an example of the second interface) corresponding to the "column" option. Since the position of the selection box 1206 is fixed, and the interface changes (from the interface 1201 to the interface 1210), the content in the selection box 1206 will also change, and thus the content in the magnifying box 1207 will also change. For example, the magnifying box 1207 can display options such as "microblog travel game sports car".

[0141] In the embodiment of the present application, interactive operations (e.g., responding to a user's click operation) can be performed in the magnification frame (e.g., magnification frame 1207), and the original interface (e.g., news web page interface 1201) can synchronously respond to the user's interactive operations in the magnification frame. That is, the original interface (e.g., web page) and the content in the magnification frame can change at the same time.

[0142] In this way, users can conveniently perform interactive operations (for example, click corresponding buttons) and can see the overall interface of the web page without zooming in and out of the interface. The operation is simple and the interface is friendly, which can improve the user experience.

[0143] It should be noted that the triggering method of the above-mentioned magnifying glass function (the above-mentioned method of triggering the magnifying glass function by clicking the magnifying glass option 1205 in the browser application) is schematic, and the magnifying glass function can also have other triggering methods. For example, the user can trigger the magnifying glass function through other function entrances, or the user can trigger the "magnifying glass" function through preset gesture operations. The preset gesture operations can be, for example, a long press operation, a double-click operation, a triple-click operation, etc., which are not limited in this application.

[0144] Combine the following Fig.13A and Fig. 13B , taking the electronic device as a mobile phone, and the mobile phone running a gallery application as an example, the method for enlarging the display interface provided in the embodiment of the present application is explained.

[0145] like Fig.13A As shown in (a) of FIG. 1 , the mobile phone displays a picture viewing interface 1301, and a menu bar is included below the interface 1301, and the menu bar includes more options 1303. Of course, the menu bar can also include other menu items, such as share, favorite, edit, delete, etc., which are not limited in this application. In response to the user's operation on more options 1303 (for example, a click operation), as shown in FIG. Fig.13A As shown in (b) of FIG. 1 , the mobile phone may pop up a pop-up box 1304, which may include multiple function options, such as a magnifying glass option 1305. Of course, the pop-up box 1304 may also include function options such as adding notes, printing or generating PDF, renaming, setting as, rotating, etc., which are not limited in this application. In response to the user's operation on the magnifying glass option 1305 (for example, a click operation), as shown in FIG. Fig.13A As shown in (c) in FIG. 1 , the mobile phone can display a selection box 1306 and a magnification box 1307 on the picture browsing interface 1301 , and the magnification box 1307 can magnify and display the part of the picture selected by the selection box 1306 .

[0146] like Fig. 13B As shown, the user can perform graffiti operations in the magnification box 1307, for example, draw an arrow and annotate "raise", and the handwriting after graffiti can be synchronously displayed on the original page 1301 (in the selection box 1306).

[0147] In this way, when users are editing a part of an image, they can still view the whole image. This can avoid the problem in related technologies that the partial magnification of the area interferes with the user's observation of the original image, thereby preventing the user from missing important details in the image. Users do not need to drag the image back and forth, allowing users to edit the image more accurately and conveniently, which can improve the user experience.

[0148] It should be noted that the triggering method of the above-mentioned magnifying glass function (the above-mentioned method of triggering the magnifying glass function by clicking the magnifying glass option 1305 in the gallery application) is schematic, and the magnifying glass function may also have other triggering methods. For example, the user may trigger the magnifying glass function through other function entrances, or the user may trigger the "magnifying glass" function through a preset gesture operation. The preset gesture operation may be, for example, a long press operation, a double-click operation, a triple-click operation, etc., which is not limited in this application.

[0149] Based on the method provided in the embodiment of the present application, when the electronic device displays the display interface (first interface, such as a note interface, a web page interface, a picture editing interface) of an application (a first application, such as a note application, a browser application, or a gallery application) on the display screen, if the electronic device receives the first operation (an operation that triggers the magnifying glass function) of the user, a selection box and a magnification box can be displayed on the display screen respectively, and the selection box includes the first content of the first interface, and part or all of the first content is magnified and displayed in the magnification box at a first magnification factor. In this way, while the user views the details of the display interface (such as the first interface) through the magnification box, he can also view the overall content (the original content of the first interface), without the need for the user to frequently operate (such as switching interfaces back and forth), which can improve the user's experience.

[0150] In some embodiments, in response to a second operation of the user (e.g., a swipe up or swipe down operation on an area outside the magnification box on the first interface), the electronic device may switch to the second interface; after receiving the second operation, the position of the selection box on the display screen remains unchanged, at which time, the selection box includes the second content corresponding to the second interface in the first area, and part or all of the second content is magnified and displayed in the magnification box at the first magnification factor. The first interface and the second interface may be the same level interface of the first application, and the first content and the second content included in the selection box are content at different positions on the same level interface.

[0151] In other embodiments, in response to a second operation of the user (e.g., a click operation on a second control in the magnification frame), the electronic device may switch to the second interface; after receiving the second operation, the position of the selection frame on the display screen remains unchanged, at which time, the selection frame includes the second content corresponding to the first area of ​​the second interface, and part or all of the second content is magnified and displayed in the magnification frame at the first magnification factor. The first interface and the second interface are interfaces of different levels of the first application.

[0152] In this way, after the user switches / refreshes the interface, he can continue to view the details of the display interface (e.g., the second interface) through the magnifying box, and view the overall content of the interface (the original content of the second interface). The content in the selection box can change according to the interface change of the application, and the content in the magnifying box can change according to the change of the content in the selection box, without the user having to move the position of the selection box back and forth, which can improve the user's reading experience.

[0153] For example, Fig.14 As shown, an embodiment of the present application provides a flow chart of a method for zooming in a display interface, the method comprising:

[0154] 1401. When a first interface of a first application is displayed on a display screen, an electronic device receives a first operation from a user.

[0155] Exemplarily, the first application may be a note-taking application, and the first interface may be a note-taking interface; or the first application may be a document processing application, and the first interface may be a document processing interface; or the first application may be a browser application, and the first interface may be a web page interface; or the first application may be a picture management application, and the first interface may be a picture editing / viewing interface.

[0156] The first operation may be an operation to trigger the magnifying glass function. The first operation may be a click operation on the first control displayed on the first interface. For example, the first operation may be a user clicking a function button corresponding to the magnifying glass (for example, Figure 5 Alternatively, the first operation may be a preset gesture operation, and the preset gesture operation may be, for example, a long press operation, a double-click operation, a triple-click operation, etc., which is not limited in this application.

[0157] 1402. In response to the first operation, the electronic device displays a selection box and an enlargement box on the display screen.

[0158] The electronic device may display a selection frame in a first area of ​​the display screen and a magnification frame in a second area of ​​the display screen.

[0159] In a possible design, the first area of ​​the display screen is a middle area of ​​the display screen, and the second area of ​​the display screen is a bottom area of ​​the display screen.

[0160] For example, Figure 5 As shown in (b) of FIG. 5 , in response to the user's operation on the magnifying glass option 504 (eg, a click operation), as shown in FIG. Figure 5 As shown in (c) in FIG. 5 , the mobile phone may display a selection box 505 and a magnification box 506 .

[0161] When the display screen displays the first interface (eg, note interface 501), the selection box includes the first content corresponding to the first interface in the first area, and part or all of the first content is magnified and displayed in the magnification box at a first magnification factor.

[0162] The first content may include at least one of text, pictures, and tables.

[0163] In a possible design, when the magnifying frame cannot display all the contents of the selection frame at the first magnification, the magnifying frame may display the contents in the middle of the selection frame by default.

[0164] Exemplarily, the shape of the selection box can be a rectangle, and the middle position of the selection box refers to the area of ​​a preset rectangle with the midpoint of the selection box as the midpoint; wherein the length of the preset rectangle is smaller than the length of the selection box, and / or the width of the preset rectangle is smaller than the width of the selection box.

[0165] 1403: Whether the second operation of the user is received.

[0166] The second operation may be an operation of sliding the interface (eg, an upward sliding operation, a downward sliding operation), or a click operation on a control (a second control) in the magnification frame.

[0167] If the second operation of the user is received, step 1404 may be executed; otherwise, step 1405 may be executed.

[0168] 1404. In response to the second operation, display a second interface.

[0169] In response to the second operation, the electronic device can switch the interface (refresh the interface), that is, it can switch from the first interface to the second interface (that is, refresh the first interface to the second interface). After switching the interface, the position of the selection box on the display screen remains unchanged, the content selected by the selection box changes, and the display content in the magnification box is also readjusted according to the display content of the selection box. That is, when the display screen displays the second interface, the selection box includes the second content corresponding to the second interface in the first area, and part or all of the second content is magnified and displayed in the magnification box at a first magnification factor. Among them, the second content includes at least one of text, pictures, and tables.

[0170] For example, Figure 8 As shown in (a) of FIG. 5 , in response to the user sliding down the note interface 501 (sliding down operation), as shown in FIG. Figure 8 As shown in (b) in FIG. 5 , the content in the selection box 505 changes, and at the same time, the content in the magnification box 506 also changes based on the content in the selection box.

[0171] For example, Fig. 12BAs shown in (b) of FIG. 1 , the user can click the “column” option in the magnifying box 1207 (a click operation on the control (second control) in the magnifying box). In response to the user clicking the “column” option, as shown in FIG. Fig. 12B As shown in (c), the mobile phone can switch to the interface corresponding to the "column" option.

[0172] 1405: Whether the third operation of the user is received.

[0173] The third operation may be an operation of triggering a preset toolbar (eg, a handwriting toolbar).

[0174] 1406. In response to the third operation, the electronic device displays a target toolbar in a third area of ​​the display screen. If the third area overlaps with the second area, the electronic device moves the magnification frame to a fourth area, and the fourth area does not overlap with the third area.

[0175] For example, Fig.10 As shown in (a) of FIG. 1 , the enlarged frame 506 is displayed in the lower area of ​​the display screen. In response to the user clicking the selection frame 505 (an example of the third operation), as shown in FIG. Fig.10 As shown in (b) of FIG. 5 , the mobile phone can pop up a handwriting toolbar 507. The handwriting toolbar 507 can be displayed in the lower area (third area) of the display screen, and the magnification frame 506 can avoid the handwriting toolbar 507 and automatically move to the upper area (fourth area) of the display screen.

[0176] 1407: Whether the user's interactive operation on the magnification frame is received.

[0177] The user's interactive operations on the magnified frame may include graffiti / writing operations, zooming operations, sliding operations, etc.

[0178] If an interactive operation of the user in the magnification frame is received, step 1408 may be executed; otherwise, step 1409 may be executed.

[0179] 1408. Refresh the interface in response to the user's interactive operation.

[0180] For example, the user's interactive operation in the magnification frame may be a graffiti / writing operation. Fig.11 As shown, in response to the user's graffiti operation in the magnifying box, the handwriting after the graffiti can be displayed in the magnifying box 506, and the handwriting after the graffiti can be synchronously displayed in the original note interface 501 (selection box 505).

[0181] For example, the user's interactive operation in the magnification frame may be a sliding operation. Figure 6As shown in (a), in response to the user's operation in the magnifying box 506 (for example, a sliding operation to the right), the display content in the magnifying box 506 can change to display more content selected in the selection box 505 (content on the left side of the selection box 505).

[0182] Exemplarily, the interactive operation of the user in the magnified frame may be a zoom operation (sixth operation). In response to the sixth operation, the electronic device displays the content in the selection frame in the magnified frame at a second magnification, where the second magnification is greater than or less than the first magnification. Figure 7 As shown in (a) in FIG. 5 , in response to the user's operation in the magnification box 506 (eg, an operation of pinching and spreading two fingers), the magnification box 506 may display the content selected in the selection box 505 at a higher magnification (eg, 200%).

[0183] 1409: Whether the fourth operation or the fifth operation is received.

[0184] The fourth operation may be an operation of the user adjusting the size or position of the selection box. If the fourth operation of the user is received, the electronic device adjusts the size or position of the selection box in response to the fourth operation.

[0185] The fifth operation may be an operation of the user adjusting the size or position of the magnification frame. If the fifth operation of the user is received, the electronic device adjusts the size or position of the magnification frame in response to the fifth operation.

[0186] If the fourth operation or the fifth operation is received, step 1410 may be executed; otherwise, the process may return to execute step 1403 .

[0187] It should be noted that there is no necessary execution order among steps 1403, 1405, 1407 and 1409. Step 1403 may be executed first, then step 1405, then step 1407, then step 1409; or step 1405 may be executed first, then step 1403, then step 1409, then step 1407, etc. This embodiment does not specifically limit the execution order between the steps.

[0188] 1410. Adjust the position / size of the selection box and magnification box.

[0189] For example, Figure 5 As shown in (c) in FIG. 5 , in response to the user's operation of dragging the selection box 505 (for example, the operation of dragging the lower right corner of the selection box 505 to slide to the right), as shown in FIG. Figure 6 As shown in (a) in the figure, the selection box 505 becomes larger and more content is selected in the selection box 505.

[0190] For example, Fig. 9As shown in (a) of FIG. 5 , in response to the user's operation of dragging the magnifying frame 506 (for example, pressing the top of the magnifying frame 506 and dragging the magnifying frame 506 upward), as shown in FIG. Fig. 9 As shown in (b) in FIG. 5 , the magnifying frame 506 can be moved above the display screen of the mobile phone.

[0191] Based on the method provided in the embodiment of the present application, when the electronic device displays the first interface of the first application on the display screen, if the electronic device receives the first operation of the user (an operation that triggers the magnifying glass function), a selection box can be displayed in the first area of ​​the display screen, and a magnification box can be displayed in the second area of ​​the display screen, wherein the selection box includes the first content of the first interface, and part or all of the first content is magnified and displayed in the magnification box at a first magnification factor. In this way, while the user views the details of the display interface (for example, the first interface) through the magnification box, he can also view the overall content (the original content of the first interface), without the need for the user to frequently operate (for example, switching interfaces back and forth), thereby improving the user's experience.

[0192] Furthermore, in response to the user's second operation, the electronic device can switch to the second interface; at this time, the selection box selects the second content corresponding to the first area of ​​the second interface, and part or all of the second content is magnified and displayed in the magnification box at the first magnification factor. In this way, after the user switches / refreshes the interface, the user can continue to view the details of the display interface (for example, the second interface) through the magnification box, and view the overall content of the interface (the original content of the second interface). Among them, the content in the selection box can change according to the interface changes of the application, and the content in the magnification box can change according to the changes of the content in the selection box, without the user moving the position of the selection box back and forth, which can improve the user's reading experience.

[0193] The present application also provides a chip system, such as Fig.15 As shown, the chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 and the interface circuit 1502 can be interconnected through a line. For example, the interface circuit 1502 can be used to receive signals from other devices (e.g., a memory of an electronic device). For another example, the interface circuit 1502 can be used to send signals to other devices (e.g., the processor 1501).

[0194] For example, the interface circuit 1502 can read the instructions stored in the memory of the electronic device and send the instructions to the processor 1501. When the instructions are executed by the processor 1501, the electronic device (such as Figure 4A The electronic device 100 shown in the figure executes each step executed by the watch in the above-mentioned embodiment.

[0195] Of course, the chip system may also include other discrete devices, which is not specifically limited in the embodiments of the present application.

[0196] The present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are in an electronic device (such as Figure 4A When the method is executed on the electronic device 100 shown in the figure, the electronic device 100 executes each function or step executed by the mobile phone in the above method embodiment.

[0197] The present application also provides a computer program product. When the computer program product is run on a computer, the computer executes the electronic device (such as Figure 4A Each function or step performed by the electronic device 100 shown in the figure.

[0198] The present application also provides a processing device, which can be divided into different logical units or modules according to functions, and each unit or module performs different functions, so that the processing device executes the electronic device (such as Figure 4A Each function or step performed by the electronic device 100 shown in the figure.

[0199] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0200] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0201] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0202] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0203] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0204] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for magnifying a display interface, characterized in that: include: The electronic device displays a first interface of a first application on a display screen; The electronic device receives a first operation from a user; In response to the first operation, the electronic device displays a selection box in a first area of ​​the display screen and displays a magnification box in a second area of ​​the display screen; When the display screen displays the first interface, the selection box includes first content corresponding to the first interface in the first area, and part or all of the first content is magnified and displayed in the magnification box at a first magnification factor; The electronic device receives a second operation by the user; In response to the second operation, the electronic device displays a second interface of the first application on the display screen; After receiving the second operation, the position of the selection box on the display screen remains unchanged. When the second interface is displayed on the display screen, the selection box includes the second content corresponding to the second interface in the first area, and part or all of the second content is magnified and displayed in the enlargement box at the first magnification factor.

2. The method according to claim 1, characterized in that The method further comprises: The electronic device receives a third operation by the user; In response to the third operation, the electronic device displays a target toolbar in a third area of ​​the display screen; If the third area overlaps with the second area, the electronic device moves the enlargement frame to a fourth area, and the fourth area does not overlap with the third area.

3. The method according to claim 1 or 2, characterized in that: When the display screen displays the first interface, the method further includes: The electronic device obtains the track information generated by the user sliding on the magnification frame; The electronic device converts the track information into a doodle graphic, and synchronously displays the doodle graphic in the magnification frame and the selection frame.

4. The method according to any one of claims 1 to 3, characterized in that: The first content or the second content includes at least one of text, pictures, and tables.

5. The method according to any one of claims 1 to 4, characterized in that: The first area of ​​the display screen is a middle area of ​​the display screen, and the second area of ​​the display screen is a bottom area of ​​the display screen.

6. The method according to any one of claims 1 to 5, characterized in that: The first operation is a click operation on a first control displayed on the first interface, or is a preset gesture operation.

7. The method according to any one of claims 1 to 5, characterized in that: The second operation is an upward or downward sliding operation on the area outside the magnification box on the first interface, the first interface and the second interface are the same-level interfaces of the first application, and the first content and the second content included in the selection box are contents at different positions on the same-level interface.

8. The method according to any one of claims 1 to 5, characterized in that: The second operation is a click operation on a second control in the magnification frame, and the first interface and the second interface are interfaces of different levels of the first application.

9. The method according to any one of claims 1 to 8, characterized in that: In the case that the magnifying frame cannot display all the contents of the selection frame at the first magnification, the magnifying frame displays the contents in the middle of the selection frame by default.

10. The method according to claim 9, characterized in that The shape of the selection box is a rectangle, and the middle position of the selection box refers to a preset rectangular area with the midpoint of the selection box as the midpoint; The length of the preset rectangle is smaller than the length of the selection box, and / or the width of the preset rectangle is smaller than the width of the selection box.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: The electronic device receives a fourth operation by the user; In response to the fourth operation, the electronic device adjusts the size or position of the selection box.

12. The method according to any one of claims 1 to 11, characterized in that: The electronic device receives a fifth operation by the user; In response to the fifth operation, the electronic device adjusts the size or position of the enlargement frame.

13. The method according to any one of claims 1 to 12, characterized in that: The electronic device receives a sixth operation by the user; In response to the sixth operation, the electronic device displays the content in the selection box in the enlarged box at a second magnification, where the second magnification is greater than or less than the first magnification.

14. The method according to any one of claims 1 to 13, characterized in that: The first application is a note application, and the first interface is a note interface; or The first application is a document processing application, and the first interface is a document processing interface; or The first application is a browser application, and the first interface is a web page interface; or The first application is a picture management application, and the first interface is a picture editing / viewing interface.

15. An electronic device, characterized in that: The electronic device includes a display screen, a processor and a memory; the memory stores program instructions; the processor is used to run the program instructions stored in the memory, so that the electronic device executes the method according to any one of claims 1-14.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes program instructions, and when the program instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 14.