Display processing method and device, electronic equipment and storage medium
By detecting the position of the intercepted selection box in the display area of the electronic device and displaying the mapping window, the problem of not being able to operate a certain area of the screen alone is solved, and operation convenience and user experience are improved.
Patent Information
- Application Number
- CN202311607584.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-05-30
AI Technical Summary
Existing electronic devices cannot operate individually on a certain area of the screen when used, resulting in inconvenient function operation.
By detecting the position of the intercepted selection box in the display area of the electronic device, when the intercepted selection box is moved from the initial position to the target position, the mapping window corresponding to the intercepted selection box is displayed, and the processing results of the box selection content are displayed in the mapping window.
It realizes functional operation of a certain area in the display area of the electronic device, improves the convenience and flexibility of functional operation, and improves the user experience.
Smart Images

Figure CN120066630A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display and operation of electronic devices, and particularly to a display processing method and apparatus, an electronic device, and a storage medium. Background Art
[0002] With the continuous development of electronic devices, more and more functions have emerged in people's vision. Electronic devices such as mobile phones undertake more and more functions, and various tasks can be completed through mobile phones.
[0003] However, when using a mobile phone, there is often a need to operate on a certain area of the screen, such as functions like zooming in for viewing, translation, text copying, etc. Currently, generally, the entire screen is enlarged or other operations are performed, and usually, it is not possible to operate on a single area of the screen alone, which makes many function operations inconvenient when using a mobile phone. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides a display processing method and apparatus, an electronic device, and a storage medium, which can quickly help users perform function operations on a certain area in the display area of the electronic device, improve the convenience and flexibility of function operations on the electronic device, and enhance the user experience.
[0005] According to a first aspect of an embodiment of the present disclosure, a display processing method is provided. The display processing method includes:
[0006] Detect the position of a cropping selection box in the display area of the electronic device;
[0007] When it is detected that the cropping selection box moves from an initial position to a target position, display a mapping window corresponding to the cropping selection box; wherein, the cropping selection box and the mapping window are located at different positions in the display area;
[0008] In response to a first operation on the content selected within the cropping selection box that has moved to the target position, process the selected content and display the processing result in the mapping window.
[0009] In some embodiments, displaying the mapping window corresponding to the cropping selection box includes:
[0010] When the electronic device is in a split-screen display mode, display the cropping selection box and the mapping window on different split-screen interfaces respectively.
[0011] In some embodiments, the method further includes:
[0012] In response to a second operation on the cropping selection box, turn on the split-screen display mode.
[0013] In some embodiments, the second operation includes: a sliding operation starting from the target position and moving the intercepted selection box to the edge of the display area.
[0014] In some embodiments, the method further includes:
[0015] Responding to a third operation on the intercepted selection box to exit the split-screen display mode.
[0016] In some embodiments, the third operation includes: a sliding operation starting from the target position, sliding a preset distance, for a preset duration, or in a preset direction on the display area.
[0017] In some embodiments, the displaying the processing result in the mapping window includes:
[0018] When there are multiple processing results, displaying one of the processing results in one of the mapping windows.
[0019] In some embodiments, the method further includes:
[0020] When the intercepted selection box moves to the target position, displaying at least one operation icon for the boxed content;
[0021] The responding to the first operation on the boxed content in the intercepted selection box that has moved to the target position includes:
[0022] Responding to the first operation on the operation icon.
[0023] In some embodiments, the method further includes:
[0024] Responding to a fourth operation on the operation icon corresponding to the first operation to cancel the display of the processing result in the mapping window.
[0025] In some embodiments, the operation functions corresponding to the operation icons include: translation, regional text extraction, magnification, regional screenshot, or regional screen recording.
[0026] In some embodiments, the method further includes:
[0027] Responding to a fifth operation on the display area to pop up the intercepted selection box at the initial position.
[0028] In some embodiments, the fifth operation includes: an operation on the screenshot selection icon in the sidebar of the display area, or a two-finger double-tap operation on the display area.
[0029] According to a second aspect of the embodiments of the present disclosure, there is provided a display processing device, including at least:
[0030] A detection module, configured to detect the position of a cropping selection box in the display area of an electronic device;
[0031] A display module, configured to display a mapping window corresponding to the cropping selection box when it is detected that the cropping selection box moves from an initial position to a target position; wherein, the cropping selection box and the mapping window are located at different positions in the display area;
[0032] A processing module, configured to, in response to a first operation on the content selected within the cropping selection box that has moved to the target position, process the selected content and display the processing result in the mapping window.
[0033] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including at least:
[0034] A processor;
[0035] A memory for storing instructions executable by the processor;
[0036] Wherein, the processor is configured to execute the display processing method as described in the first aspect.
[0037] According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the display processing method as described in the first aspect.
[0038] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0039] The display processing method provided by the embodiments of the present disclosure may include: detecting the position of a cropping selection box in the display area of an electronic device; when it is detected that the cropping selection box moves from an initial position to a target position, displaying a mapping window corresponding to the cropping selection box; wherein, the cropping selection box and the mapping window are located at different positions in the display area; in response to a first operation on the content boxed in the cropping selection box that has moved to the target position, processing the boxed content and displaying the processing result in the mapping window. In this way, different from the related art where a certain area on the screen of an electronic device cannot be operated independently, the embodiments of the present disclosure can detect the position of the cropping selection box in the display area of the electronic device. When the cropping selection box moves from the initial position to the target position, a mapping window corresponding to the cropping selection box is displayed at a position different from the cropping selection box in the display area, and the processing result of the boxed content after the first operation on the boxed content in the cropping selection box is displayed in the mapping window, so as to quickly help the user implement functional operations on a certain area in the display area of the electronic device, improve the convenience and flexibility of the functional operations on the electronic device, and enhance the user experience.
[0040] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure.
[0042] Figure 1 is a flowchart showing a display processing method according to an exemplary embodiment Figure 1 .
[0043] Figure 2 is a schematic diagram of an interface of an electronic device in full-screen display mode according to an exemplary embodiment.
[0044] Figure 3 is a schematic diagram of an interface of an electronic device in split-screen display mode according to an exemplary embodiment.
[0045] Figure 4 is a flowchart showing a display processing method according to an exemplary embodiment Figure 2 .
[0046] Figure 5 is a flowchart showing a display processing method according to an exemplary embodiment Figure 3 .
[0047] Figure 6It is a block diagram of a display processing device shown according to an exemplary embodiment.
[0048] Figure 7 It is a schematic structural diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners
[0049] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0050] The following will describe in detail the technical solutions provided by the embodiments of the present disclosure in conjunction with the drawings.
[0051] In the related art, an electronic device such as a folding mobile phone can improve the office efficiency to a certain extent because the folding mobile phone can provide a large screen space, enabling users to more easily view and edit documents, emails, calendars, etc. In addition, the folding mobile phone can also display multiple application programs simultaneously through the split-screen function, thereby improving the multitasking ability.
[0052] However, when using an electronic device such as a folding mobile phone, there is often a need to operate on a certain area of the screen, such as functions like magnifying view, translation, text copying, etc. Currently, generally, the entire screen is used for magnification or other operations, and usually, it is not possible to operate on a specific area of the screen alone, which makes many functional operations of the electronic device inconvenient to use.
[0053] Based on this, the embodiments of the present disclosure provide a display processing method. Refer to Figure 1 , Figure 1 It is a flowchart of a display processing method shown according to an exemplary embodiment Figure 1 ; as Figure 1 shown, the display processing method proposed by the embodiments of the present disclosure at least includes the following steps:
[0054] Step 110, detecting the position of the intercepted selection box in the display area of the electronic device;
[0055] Step 120, when it is detected that the intercepted selection box moves from the initial position to the target position, displaying a mapping window corresponding to the intercepted selection box; wherein, the intercepted selection box and the mapping window are located at different positions in the display area;
[0056] Step 130: In response to a first operation on the content selected within the cropping selection box that has moved to the target position, process the selected content and display the processing result in the mapping window.
[0057] In step 110, the above-mentioned electronic device may include, but is not limited to, a mobile terminal, a fixed terminal, or a portable electronic device. The mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a personal computer device, etc.; the fixed terminal includes, but is not limited to, a television set, an in-vehicle terminal, etc.; the portable electronic device includes, but is not limited to, a smart watch, etc.
[0058] In the embodiments of the present disclosure, the above-mentioned display processing method can be applied to an electronic device with a display function; for example, the above-mentioned display processing method can be executed by the above-mentioned electronic device when the above-mentioned electronic device is in the full-screen display mode, or can also be executed by the above-mentioned electronic device when the above-mentioned electronic device is in the split-screen display mode, etc., and the embodiments of the present disclosure do not make any limitations.
[0059] The above-mentioned display area can be the area of the display screen of the above-mentioned electronic device where there is a display image; the above-mentioned cropping selection box can be a selection box displayed in the above-mentioned display area for cropping the display content at a certain position in the above-mentioned display area.
[0060] It should be noted that the specific shape of the above-mentioned cropping selection box can be set according to the actual application situation, and the embodiments of the present disclosure do not make any limitations. For example, the shape of the above-mentioned cropping selection box can be a rectangle, a circle, or other irregular shapes, etc.
[0061] Here, the initial position of the above-mentioned cropping selection box in the above-mentioned display area after being awakened can be pre-set by the developer before the above-mentioned electronic device leaves the factory, or can also be set by the user in the setting interface according to the usage habit; for example, the initial position of the above-mentioned cropping selection box in the display area after being awakened can be the center, the upper left corner, or the upper right corner of the above-mentioned display area, etc. Similarly, the size of the above-mentioned cropping selection box after being awakened can be pre-set by the developer before the above-mentioned electronic device leaves the factory, or can also be set by the user in the setting interface according to the usage habit, and the embodiments of the present disclosure do not make any limitations.
[0062] It can be understood that the embodiments of the present disclosure can wake up the above-mentioned cropping selection box in various ways such as touching the display area, touching the button of the electronic device, voice wake-up, or gesture control.
[0063] In an embodiment of the present disclosure, before step 110, the above-mentioned display processing method may further include:
[0064] In response to a fifth operation on the display area, pop up the cropping selection box at the initial position.
[0065] In this way, through the fifth operation on the display area, a cropping selection box can be popped up at the initial position to perform functional operations on the boxed content at the target position subsequently, thereby being able to quickly help the user to perform functional operations on a certain area in the display area and improving the convenience of functional operations on the electronic device.
[0066] In the embodiments of the present disclosure, the above-mentioned fifth operation may include: an operation on the cropping selection icon in the sidebar of the display area, or a two-finger double-tap operation on the display area.
[0067] Among them, the above-mentioned sidebar may be a navigation bar located on the side of the display area of the above-mentioned electronic device. By clicking on the icons representing various application programs or functions in this sidebar, the corresponding application program can be quickly switched or the corresponding function can be enabled.
[0068] The above-mentioned cropping selection icon may be an identifier corresponding to the above-mentioned cropping selection box. The above-mentioned cropping selection icon may be located in the above-mentioned sidebar; after the user wakes up the sidebar of the above-mentioned display area, the cropping selection box can be popped up at the initial position in the above-mentioned display area by clicking on the cropping selection icon in this sidebar.
[0069] In addition, the user can also pop up the above-mentioned cropping selection box at the initial position in the above-mentioned display area by performing a quick gesture such as a two-finger double-tap operation at any position in the above-mentioned display area.
[0070] It should be noted that the above-mentioned sidebar can be awakened by a sliding operation from the side of the above-mentioned display area into the display area.
[0071] It can be understood that after the above-mentioned cropping selection box is popped up at the initial position in the above-mentioned display area, the size ratio of the cropping selection box can be adjusted by dragging the corner of the cropping selection box; at the same time, the position of the cropping selection box in the display area can also be changed by dragging the cropping selection box.
[0072] In step 120, the above-mentioned initial position may be the position of the cropping selection box in the above-mentioned display area after it is awakened; the above-mentioned target position may be the position after the user moves the cropping selection box in the display area, that is, the position of the content that the user wants to crop in the display area.
[0073] It should be noted that the above-mentioned target position and the above-mentioned initial position may be the same or different. For example, the initial position of the above-mentioned cropping selection box is the center of the above-mentioned display area, and the content that the user wants to crop is also located at the center of the display area, then the target position of the above-mentioned cropping selection box is the same as the initial position at this time.
[0074] The above mapping window can be a window for performing functional operations on the selected content within the above-mentioned cropping selection box.
[0075] Understandably, the mapping window and the above-mentioned cropping selection box can be located on the same display interface, or they can also be located on different display interfaces. Exemplarily, as Figure 2 shown, when the above-mentioned electronic device is in the full-screen display mode, the above mapping window and the above cropping selection box can be displayed at intervals on the full-screen display interface; as Figure 3 shown, when the above-mentioned electronic device is in the split-screen display mode, the above mapping window and the above cropping selection box can be respectively displayed on different split-screen interfaces.
[0076] Here, when the above-mentioned electronic device is in the full-screen display mode, the size of the above mapping window and the size of the above cropping selection box can be proportional, and the size of the above mapping window is larger than the size of the above cropping selection box.
[0077] In the embodiments of the present disclosure, the above cropping selection box is transparent, that is, all the content in the above display area can still be displayed after the above cropping selection box pops up; while after the above mapping window pops up, it will cover the content displayed at the position of the above display area in the mapping window.
[0078] In step 130, the above selected content can be the content displayed by the above electronic device at the above target position.
[0079] The above first operation can include touch operations, voice operations, gesture operations, etc. on the electronic device, and the embodiments of the present disclosure do not make limitations.
[0080] Understandably, the response to the first operation on the above selected content can include but is not limited to: the first operation in response to the operation icon displayed on the edge of the above cropping selection box; or the first operation in response to the touch area corresponding to the above selected content.
[0081] It should be noted that the specific type of the above first operation can be pre-set by developers before the above electronic device leaves the factory, or it can also be set by the user in the setting interface according to usage habits, and the embodiments of the present disclosure do not make limitations. For example, the above first operation can be operations such as single click, double click, long press or swipe.
[0082] The above processing result can be the result obtained after performing functional operations on the above selected content; for example, the above processing result can be the translation result or the text extraction result of the above selected content, etc.
[0083] In the embodiments of the present disclosure, after the intercept selection box and the mapping window are displayed in the above display area, the user can perform a first operation on the boxed content at the target position, and the above electronic device will display the processing result corresponding to the first operation in the mapping window to complete the user's functional operation requirement for the boxed content, so as to achieve the purpose of performing a functional operation on a certain area in the display area of the electronic device.
[0084] The display processing method provided by the embodiments of the present disclosure may include: detecting the position of the intercept selection box in the display area of the electronic device; when it is detected that the intercept selection box moves from the initial position to the target position, displaying a mapping window corresponding to the intercept selection box; wherein, the intercept selection box and the mapping window are located at different positions in the display area; in response to a first operation on the boxed content in the intercept selection box that has moved to the target position, processing the boxed content and displaying the processing result in the mapping window. In this way, different from the related art in which a certain area on the screen of the electronic device cannot be operated separately, the embodiments of the present disclosure can detect the position of the intercept selection box in the display area of the electronic device. When the intercept selection box moves from the initial position to the target position, a mapping window corresponding to the intercept selection box is displayed at a position different from the intercept selection box in the display area, and the processing result of the boxed content after performing the first operation on the boxed content in the intercept selection box is displayed in the mapping window, so as to quickly help the user achieve the purpose of performing a functional operation on a certain area in the display area of the electronic device, improve the convenience and flexibility of the functional operation of the electronic device, and enhance the user experience.
[0085] In an embodiment of the present disclosure, step 120 can be implemented in various different ways.
[0086] The following gives a specific implementation example. It should be noted that the following list is only an example and is not intended to be limiting.
[0087] Figure 4 is a flowchart of a display processing method shown according to an exemplary embodiment Figure 2 . See Figure 4 , in step 120 of the display processing method provided by the embodiments of the present disclosure, displaying the mapping window corresponding to the intercept selection box may at least include:
[0088] Step 121, when the electronic device is in the split-screen display mode, display the intercept selection box and the mapping window on different split-screen interfaces respectively.
[0089] In this way, by respectively displaying the intercept selection box and the mapping window on different split-screen interfaces in the split-screen display mode, the processing result can be better displayed in the mapping window, and the user experience can be improved.
[0090] In step 121, the above electronic device being in a split-screen display mode can be understood as multiple split-screen interfaces being displayed in the display area of the above electronic device.
[0091] Exemplarily, when the above electronic device is in a split-screen display mode, the above display area may include a first split-screen interface and a second split-screen interface. At this time, if the above capture selection box is located in the first split-screen interface, then the above mapping window is located in the second split-screen interface; or, if the above capture selection box is located in the second split-screen interface, then the above mapping window is located in the first split-screen interface.
[0092] Here, what is displayed in the split-screen interface where the above capture selection box is located is all the content that was displayed in the full-screen display interface before the above electronic device entered the split-screen display mode.
[0093] It should be noted that what is displayed in the split-screen interface where the above mapping window is located is all mapping windows, and the specific number of mapping windows displayed in this split-screen interface can be set according to actual application scenarios, and the embodiments of the present disclosure do not make any restrictions.
[0094] It can be understood that displaying the mapping window corresponding to the above capture selection box in step 120 may further include: when the above electronic device is in a full-screen display mode, displaying the above capture selection box and the above mapping window at intervals on the full-screen display interface.
[0095] In some embodiments, the above display processing method may further include:
[0096] In response to a second operation acting on the above capture selection box, the split-screen display mode is enabled.
[0097] In this way, the split-screen display mode of the electronic device can be enabled through the second operation acting on the capture selection box, so as to display the capture selection box and the mapping window on different split-screen interfaces respectively, thereby being able to better display the processing result in the mapping window and improving the user experience.
[0098] Among them, the above second operation includes: a sliding operation starting from the target position and moving the above capture selection box to the edge of the above display area.
[0099] Here, when the above electronic device is in a full-screen display mode, the edge of the above display area is the edge position of the display screen of the above electronic device; and when the above electronic device is in a split-screen display mode, the edge of the above display area may be the edge of the split-screen interface where the above capture selection box is located.
[0100] Understandably, if the electronic device was in full-screen display mode before the mapping window was displayed, the user can move the capture selection box located at the target position to the edge of the display area, that is, the mapping window and the capture selection box can be displayed in different split-screen interfaces; if the electronic device was in split-screen display mode before the mapping window was displayed, the user can move the capture selection box located in a certain split-screen interface to the edge of that split-screen interface, that is, the mapping window can be replaced and displayed in another split-screen interface.
[0101] In some embodiments, the display processing method may further include:
[0102] In response to a third operation on the capture selection box, exit the split-screen display mode.
[0103] In this way, the split-screen display mode of the electronic device can be exited through the third operation on the capture selection box, so that it is more convenient to quickly exit the split-screen display mode after displaying the processing result, thereby improving the user experience.
[0104] In the embodiments of the present disclosure, the above-mentioned third operation includes: a sliding operation starting from the target position, sliding a preset distance, sliding for a preset duration, or sliding in a preset direction on the display area.
[0105] Among them, the above-mentioned preset distance, preset duration, or preset direction can all be set in advance by developers, or can also be set by users in the setting interface according to usage habits, which are not limited in the embodiments of the present disclosure. For example, the above-mentioned preset distance can be 1 centimeter (cm) or 2 cm, the above-mentioned preset duration can be 1 second (s) or 2 s, and the above-mentioned preset direction can be perpendicular to the bottom or side of the split-screen interface, and so on.
[0106] Here, when the electronic device exits the split-screen display mode, that is, the electronic device returns to the full-screen display mode; at this time, the capture selection box and the mapping window are alternately displayed in the same full-screen display interface, and the capture selection box returns to the target position.
[0107] In the embodiments of the present disclosure, by sliding a preset distance, sliding for a preset duration, or sliding in a preset direction on the capture selection box, the split-screen display mode can be exited and the full-screen display mode can be returned, with simple and convenient operations, improving the flexibility and practicality of the split-screen display mode.
[0108] In some embodiments, the displaying the processing result in the mapping window includes:
[0109] When there are multiple processing results, display one of the processing results in one mapping window.
[0110] In this way, multiple processing results can be obtained after performing multiple functional operations on the selected content, and one processing result can be displayed in a mapping window, thereby improving the efficiency of performing functional operations on the selected content and enhancing the user experience.
[0111] It can be understood that when the above electronic device is in the full-screen display mode, multiple above mapping windows can be separately and spaced from the above capture selection box in the same full-screen display interface; as Figure 3 shown, when the above electronic device is in the split-screen display mode, multiple above mapping windows can all be located in another split-screen interface different from the split-screen interface where the above capture selection box is located, and the corresponding processing results are sequentially displayed in different mapping windows according to the order of multiple first operations corresponding to multiple processing results.
[0112] It should be noted that the corresponding relationship between multiple above mapping windows and the functional operations on the selected content can be pre-set by developers, or alternatively, can also be set by users in the setting interface according to their usage habits, and the embodiments of the present disclosure do not make limitations.
[0113] In another embodiment, only one capture selection box and one mapping window are displayed in the full-screen display interface of the above electronic device, and multiple above processing results are sequentially updated and displayed in this mapping window according to the order of processing.
[0114] In some embodiments, the display processing method may further include:
[0115] When the capture selection box moves to the target position, at least one operation icon for the selected content is displayed;
[0116] The response to the first operation on the selected content in the capture selection box that has moved to the target position includes:
[0117] Responding to the first operation on the operation icon.
[0118] In this way, through the first operation on the operation icon for the selected content, the processing result of the selected content can be displayed in the mapping window, thereby being able to quickly help the user perform functional operations on a certain area in the display area of the electronic device, improving the convenience and flexibility of functional operations on the electronic device, and enhancing the user experience.
[0119] Among them, the above operation icon can be a touch area displayed on the edge of the above capture selection box; for example, the above operation icon can be a function button or a function key, etc.
[0120] It should be noted that the specific number of the above operation icons can be set according to actual application situations, and the embodiments of the present disclosure do not make limitations.
[0121] In the embodiments of the present disclosure, the operation functions corresponding to the above operation icons include: translation, regional text extraction, magnification, regional screenshot, or regional screen recording.
[0122] Here, after the user performs a first operation on the above operation icon, the above electronic device can perform function operations such as translation, regional text extraction, magnification, regional screenshot, or regional screen recording on the above selected content, and display the processing results of the corresponding function operations in the above mapping window.
[0123] In an embodiment of the present disclosure, the display processing method may further include:
[0124] In response to a fourth operation on the operation icon corresponding to the first operation, cancel the display of the processing result in the mapping window.
[0125] In this way, by performing a fourth operation on the operation icon, the display of the processing result in the mapping window can be cancelled, so that the processing result displayed in the mapping window can be cancelled more simply, improving the user experience.
[0126] Among them, the above fourth operation may include a touch operation, a voice operation, or a gesture operation on the above operation icon, etc., as long as the above fourth operation corresponds to the above first operation, and the embodiments of the present disclosure do not make any restrictions.
[0127] It should be noted that the specific type of the above fourth operation can be pre-set by developers before the above electronic device leaves the factory, or can also be set by the user in the setting interface according to usage habits, and the embodiments of the present disclosure do not make any restrictions. For example, the above fourth operation may be an operation such as a single click, a double click, a long press, or a swipe.
[0128] It can be understood that when the user clicks on the operation icon once, the processing result of the corresponding function operation is displayed in the mapping window; while when the user clicks on the operation icon twice, the function operation on the selected content can be cancelled, that is, the display of the processing result in the mapping window is cancelled.
[0129] In the embodiments of the present disclosure, when the above electronic device is in the split-screen display mode, the above operation icon can be in a check box state, that is, after clicking on one operation icon, the next operation icon can be clicked; correspondingly, the processing results of the function operations corresponding to the operation icons clicked by the user can also be sequentially displayed in the above mapping window.
[0130] Figure 5 is a schematic flowchart of a display processing method shown according to an exemplary embodiment Figure 3 As Figure 5As shown, the display processing method provided by the embodiments of the present disclosure is only an example and not a limitation, aiming to facilitate those skilled in the art to better understand the technical solutions of the present disclosure. Refer to Figure 5 , the display processing method provided by the embodiments of the present disclosure may specifically include the following steps:
[0131] Step 501, in response to a fifth operation acting on the display area of the electronic device, pop up the capture selection box at the initial position in the display area;
[0132] Step 502, detect the position of the capture selection box in the display area;
[0133] Step 503, when it is detected that the capture selection box moves from the initial position to the target position, display at least one operation icon for the content selected within the capture selection box;
[0134] Step 504, in response to a second operation acting on the capture selection box, turn on the split-screen display mode, and display the capture selection box and the mapping window corresponding to the capture selection box on different split-screen interfaces respectively;
[0135] Step 505, in response to a first operation acting on the operation icon, process the selected content and display the processing result in the mapping window;
[0136] Step 506, in response to a fourth operation acting on the operation icon corresponding to the first operation, cancel the display of the processing result in the mapping window;
[0137] Step 507, in response to a third operation acting on the capture selection box, exit the split-screen display mode.
[0138] It should be noted that the above steps 506 and 507 are both optional steps, that is, after step 505, step 506 can be performed, or step 506 can be skipped; similarly, after step 506, step 507 can be performed, or step 507 can be skipped; and so on.
[0139] The display processing method proposed in the embodiments of the present disclosure can pop up a cropping selection box at the initial position in the display area through a fifth operation on the display area of the electronic device, and then detect the position of the cropping selection box in the display area. When the cropping selection box moves from the initial position to the target position, at least one operation icon is displayed at the edge position of the cropping selection box, and a mapping window corresponding to the cropping selection box is displayed at a position different from the cropping selection box in the display area. The processing result of the selected content in the cropping selection box after the first operation on the selected content in the cropping selection box is displayed in the mapping window, so that it can quickly help the user to perform functional operations on a certain area in the display area of the electronic device, improve the convenience and flexibility of the functional operations on the electronic device, and enhance the user experience.
[0140] Figure 6 is a structural block diagram of a display processing device shown according to an exemplary embodiment. As Figure 6 shown, the display processing device 600 provided in the embodiments of the present disclosure includes: a detection module 610, a display module 620, and a processing module 630.
[0141] Among them, the detection module is configured to detect the position of the cropping selection box in the display area of the electronic device;
[0142] The display module is configured to display a mapping window corresponding to the cropping selection box when it is detected that the cropping selection box moves from the initial position to the target position; wherein, the cropping selection box and the mapping window are located at different positions in the display area;
[0143] The processing module is configured to process the selected content in response to a first operation on the selected content in the cropping selection box that has moved to the target position, and display the processing result in the mapping window.
[0144] The display processing device provided by the embodiments of the present disclosure detects the position of a cropping selection box in the display area of an electronic device; when it is detected that the cropping selection box moves from an initial position to a target position, a mapping window corresponding to the cropping selection box is displayed; wherein, the cropping selection box and the mapping window are located at different positions in the display area; in response to a first operation on the content selected within the cropping selection box that has moved to the target position, the selected content is processed, and the processing result is displayed in the mapping window. Thus, different from the related art where a certain area on the screen of an electronic device cannot be operated independently, the embodiments of the present disclosure can detect the position of the cropping selection box in the display area of the electronic device. When the cropping selection box moves from the initial position to the target position, a mapping window corresponding to the cropping selection box is displayed at a position different from the cropping selection box in the display area, and the processing result of the selected content after the first operation on the selected content within the cropping selection box is displayed in the mapping window, thereby being able to quickly help the user perform functional operations on a certain area in the display area of the electronic device, improving the convenience and flexibility of the functional operations on the electronic device, and enhancing the user experience.
[0145] For Figure 6 For the technical solution shown, in a possible implementation, the display module 620 may be specifically configured to: when the electronic device is in a split-screen display mode, display the cropping selection box and the mapping window on different split-screen interfaces respectively.
[0146] For Figure 6 For the technical solution shown, in a possible implementation, the processing module 630 may also be configured to: in response to a second operation on the cropping selection box, enable the split-screen display mode.
[0147] For Figure 6 For the technical solution shown, in a possible implementation, the second operation includes: a sliding operation starting from the target position and moving the cropping selection box to the edge of the display area.
[0148] For Figure 6 For the technical solution shown, in a possible implementation, the processing module 630 may also be configured to: in response to a third operation on the cropping selection box, exit the split-screen display mode.
[0149] For Figure 6 For the technical solution shown, in a possible implementation, the third operation includes: a sliding operation starting from the target position and sliding a preset distance, for a preset duration, or in a preset direction on the display area.
[0150] ForFigure 6 For the technical solution shown, in a possible implementation, the processing module 630 may be specifically configured to: when there are multiple processing results, display one of the processing results in one of the mapping windows.
[0151] For Figure 6 For the technical solution shown, in a possible implementation, the display module 620 may also be configured to: when the intercept selection box moves to the target position, display at least one operation icon for the boxed content; the processing module 630 may also be configured to: in response to the first operation acting on the operation icon.
[0152] For Figure 6 For the technical solution shown, in a possible implementation, the processing module 630 may also be configured to: in response to a fourth operation acting on the operation icon corresponding to the first operation, cancel the display of the processing result in the mapping window.
[0153] For Figure 6 For the technical solution shown, in a possible implementation, the operation functions corresponding to the operation icons include: translation, regional text extraction, magnification, regional screenshot, or regional screen recording.
[0154] For Figure 6 For the technical solution shown, in a possible implementation, the processing module 630 may also be configured to: in response to a fifth operation acting on the display area, pop up the intercept selection box at the initial position.
[0155] For Figure 6 For the technical solution shown, in a possible implementation, the fifth operation includes: an operation on the intercept selection icon in the sidebar of the display area, or a two-finger double-tap operation on the display area.
[0156] It should be noted that the display processing device provided in the embodiments of the present disclosure corresponds to the display processing method mentioned above. For related content, reference may be made to the description of the display processing method above, and details are not described here.
[0157] Figure 7 FIG. 800 is a schematic structural diagram of an electronic device 800 shown according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a mobile computer, or other devices including a screen.
[0158] Refer to Figure 7, the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0159] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described methods. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0160] The memory 804 is configured to store various types of data to support the operation of the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0161] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0162] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0163] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0164] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0165] The sensor component 814 includes one or more sensors for providing a status assessment of various aspects of the electronic device 800. For example, the sensor component 814 can detect the on / off state of the electronic device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800. The sensor component 814 can also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or a CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0166] The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices in a wired or wireless manner. The electronic device 800 can access a communication standard-based wireless network, such as Wi-Fi, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0167] In an exemplary embodiment, the electronic device 800 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0168] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by a processor 820 of the electronic device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0169] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute a display processing method, the method including: detecting a position of a capture selection box in a display area of the electronic device; displaying a mapping window corresponding to the capture selection box in a case where it is detected that the capture selection box moves from an initial position to a target position; wherein the capture selection box and the mapping window are located at different positions in the display area; and in response to a first operation on the content boxed in the capture selection box that has moved to the target position, processing the boxed content and displaying a processing result in the mapping window.
[0170] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims above.
[0171] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A display processing method, characterized in that, the method includes: detecting the position of a cropping selection box in the display area of the electronic device; when it is detected that the cropping selection box moves from the initial position to the target position, displaying a mapping window corresponding to the cropping selection box; wherein, the cropping selection box and the mapping window are located at different positions in the display area; in response to a first operation on the content selected within the cropping selection box that has moved to the target position, processing the selected content and displaying the processing result in the mapping window.
2. The method according to claim 1, characterized in that, displaying the mapping window corresponding to the cropping selection box includes: when the electronic device is in the split-screen display mode, displaying the cropping selection box and the mapping window on different split-screen interfaces respectively.
3. The method according to claim 2, characterized in that, the method further includes: in response to a second operation on the cropping selection box, turning on the split-screen display mode.
4. The method according to claim 3, characterized in that, the second operation includes: a sliding operation starting from the target position and moving the cropping selection box to the edge of the display area.
5. The method according to claim 2, characterized in that, the method further includes: in response to a third operation on the cropping selection box, exiting the split-screen display mode.
6. The method according to claim 5, characterized in that, the third operation includes: a sliding operation starting from the target position, sliding a preset distance, sliding for a preset duration, or sliding in a preset direction on the display area.
7. The method according to claims 1 to 6, characterized in that, displaying the processing result in the mapping window includes: when there are multiple processing results, displaying one of the processing results in one of the mapping windows.
8. The method according to any one of claims 1 to 6, characterized in that, the method further includes: when the cropping selection box moves to the target position, displaying at least one operation icon for the selected content; the responding to the first operation on the content selected within the cropping selection box that has moved to the target position includes: responding to the first operation on the operation icon.
9. The method according to claim 8, characterized in that, the method further includes: in response to a fourth operation on the operation icon corresponding to the first operation, canceling the display of the processing result in the mapping window.
10. The method according to claim 8, characterized in that, the operation functions corresponding to the operation icons include: translation, regional text extraction, magnification, regional screenshot, or regional screen recording.
11. The method according to any one of claims 1 to 6, characterized in that, the method further includes: in response to a fifth operation on the display area, popping up the cropping selection box at the initial position.
12. The method according to claim 11, characterized in that, The fifth operation includes: an operation of intercepting and selecting an icon in the sidebar of the display area, or a two-finger double-tap operation on the display area.
13. A display processing device, characterized in that, it includes: a detection module configured to detect the position of a selection box intercepted in the display area of the electronic device; a display module configured to display a mapping window corresponding to the selection box when it is detected that the selection box moves from an initial position to a target position; wherein, the selection box and the mapping window are located at different positions in the display area; a processing module configured to, in response to a first operation on the content selected in the selection box that has moved to the target position, process the selected content and display a processing result in the mapping window.
14. An electronic device, characterized in that, it includes: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the display processing method according to any one of claims 1 to 12.
15. A non-transitory computer-readable storage medium, characterized in that, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display processing method according to any one of claims 1 to 12.