Page acquisition method, mobile terminal and storage medium
Patent Information
- Application Number
- CN202180097780.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2041-06-25
AI Technical Summary
[0003]在构思及实现本申请过程中,发明人发现至少存在如下问题:当前终端设备对于支持特定截屏的页面,启动特定截屏功能的操作不够便捷,且依赖于普通截屏操作,如果普通截屏操作不当没有被启动,就有可能无法触发特定截屏功能,这样会影响特定截屏功能的使用效果
[0113] By responding to page retrieval commands and judging the page parameters of the browsed page, such as comparing the browsed page parameters with first preset page parameters, the screenshot mode can be directly and intelligently determined. This includes normal screenshot mode and specific screenshot mode. In particular, for pages that support specific screenshots, the screenshot mode can be quickly determined and the specific screenshot function can be activated. The solution provided in this embodiment makes the activation of the specific screenshot function more independent, thereby effectively avoiding reliance on normal screenshots for specific screenshots. Moreover, the specific screenshot operation can be completed in one step throughout the entire process, which is faster and more convenient. This improves the intelligence and convenience of the screenshot function activation, as well as the efficiency of the screenshot function.
Smart Images

Figure CN117280311B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a page acquisition method, a mobile terminal, and a storage medium. Background Technology
[0002] With the continuous development of electronic technology, applications in terminal devices are flourishing, with a plethora of new functions designed to provide users with more convenient operations and meet their diverse needs in life and work. Specific screenshots (such as long screenshots, wide screenshots, etc.) serve as a shortcut function, undoubtedly solving the problem of users wanting to see all the content of a specific page beyond the screen's view on their terminal device. For example, when browsing web pages or viewing shopping lists, specific screenshots allow users to save valuable pages as images, containing more information for quick access and sharing.
[0003] In the process of conceiving and implementing this application, the inventors discovered at least the following problems: For current terminal devices, the operation of activating the specific screenshot function for pages that support specific screenshots is not convenient enough and relies on ordinary screenshot operations. If the ordinary screenshot operation is not activated properly, the specific screenshot function may not be triggered, which will affect the use effect of the specific screenshot function.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] To address the aforementioned technical issues, this application provides a page acquisition method, a mobile terminal, and a storage medium that can intelligently activate the screenshot function, thereby improving the ease of operation of the screenshot function.
[0006] To address the aforementioned technical problems, this application provides a page acquisition method applied to a mobile terminal, comprising:
[0007] In response to the page retrieval command, the screenshot mode is determined based on the page parameters of the browsed page;
[0008] Use screenshot mode to capture a screenshot of the browsed page to obtain the target page.
[0009] Optionally, the page parameters can be page length, page width, etc.
[0010] Optionally, the screenshot mode is determined based on the page parameters of the browsed page, including: obtaining the page parameters of the browsed page; if the page parameters of the browsed page are less than or equal to a first preset page parameter, then the screenshot mode is determined to be a normal screenshot mode; and / or, if the page parameters of the browsed page are greater than the first preset page parameter, then the screenshot mode is determined to be a specific screenshot mode.
[0011] Optionally, the specific screenshot mode can be a long screenshot mode or a wide screenshot mode, etc.
[0012] Optionally, the browser page is captured according to the screenshot mode to obtain the target page, including: when the determined screenshot mode is normal screenshot mode, the currently displayed page of the browser page is captured according to the normal screenshot mode to obtain the target page.
[0013] Optionally, the browsing page is captured according to a screenshot mode to obtain the target page, including: when the determined screenshot mode is a specific screenshot mode, the browsing page is captured according to the specific screenshot mode; when a page capture stop command is detected, the page currently captured for the browsing page is determined as the target page.
[0014] Optionally, the page acquisition method further includes: splitting the target page according to the second preset page parameters to obtain at least two split pages.
[0015] Optionally, the page acquisition method further includes: in response to a split page selection instruction, selecting a target split page from at least two split pages; and / or, in response to a split page processing instruction, performing appropriate processing on the target split page.
[0016] This application provides a page acquisition method, applied to a mobile terminal, including:
[0017] In response to a page retrieval command, retrieve the page parameters of the browsed page;
[0018] If the page parameters of the page being viewed are greater than the preset page parameters, then the screenshot mode is determined to be a specific screenshot mode;
[0019] In certain screenshot modes, the target page is obtained based on the browsing page.
[0020] Optionally, the page parameters can be page length, page width, etc.
[0021] Optionally, the specific screenshot mode can be a long screenshot mode or a wide screenshot mode, etc.
[0022] Optionally, in certain screenshot modes, the target page can be obtained based on the browsed page, including:
[0023] Before capturing the page according to a specific screenshot mode, a normal screenshot prompt message is output; if an operation triggering the normal screenshot prompt message is detected, the currently displayed page of the browsing page is captured to obtain the target page.
[0024] Optionally, in certain screenshot modes, the target page can be obtained based on the browsed page, including:
[0025] The page is captured according to a specific screenshot mode; if a normal screenshot command is detected during the page capture process according to the specific screenshot mode, a screenshot of one of the displayed pages in the page capture process is performed to obtain the target page.
[0026] Optionally, the page acquisition method may further include any of the following: during the process of capturing a page in a specific screenshot mode, outputting a normal screenshot prompt message; if a trigger operation for the normal screenshot prompt message is detected, then it is determined that a normal screenshot command has been detected; or, during the process of capturing a page in a specific screenshot mode, if a normal screenshot gesture operation or a normal screenshot voice command is detected, then it is determined that a normal screenshot command has been detected.
[0027] Optionally, in a specific screenshot mode, the target page is obtained based on the browsing page, including: capturing the browsing page according to the specific screenshot mode; when a page capture stop command is detected, determining the currently captured page for the browsing page as the specific page; and processing the specific page to obtain the target page.
[0028] Optionally, the specific page can be a long page or a wide page, etc.
[0029] Optionally, processing a specific page to obtain a target page includes: outputting a normal screenshot prompt message in the processing interface corresponding to the specific page; if a triggering operation for the normal screenshot prompt message is detected, then capturing a page from the specific page to obtain the target page.
[0030] Optionally, processing a specific page to obtain a target page includes: outputting a page selection box; moving the specific page in response to a page movement instruction; and obtaining the page currently included in the page selection box in response to a page confirmation instruction, and using the obtained page as the target page.
[0031] This application provides a page acquisition device, including:
[0032] The determination module is used to respond to the page retrieval command and determine the screenshot mode based on the page parameters of the browsed page;
[0033] The page capture module is used to capture the target page by taking a screenshot of the browsed page.
[0034] This application provides another page acquisition device, including:
[0035] The retrieval module is used to retrieve page parameters of the browsed page in response to page retrieval commands;
[0036] The determination module is used to determine the screenshot mode as a specific screenshot mode if the page parameters of the browsed page are greater than the preset page parameters.
[0037] This acquisition module is also used to acquire the target page based on the browsing page in a specific screenshot mode.
[0038] This application also provides a mobile terminal, including: a memory and a processor, wherein the memory stores a page fetching program, and when the page fetching program is executed by the processor, it implements the steps of the method described above.
[0039] This application also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the steps of the method described above.
[0040] As described above, the page acquisition method of this application is applied to a mobile terminal. By responding to a page acquisition command, it can determine the screenshot mode in one step based on the page parameters of the browsed page, and then capture the page according to the screenshot mode to obtain the target page. This solution can make the process of determining the screenshot mode more automated and intelligent, and make it more convenient to start the screenshot function, thereby further improving the efficiency of users using the screenshot function. The page obtained under a specific screenshot mode can also be split to obtain a split page, enriching the processing function and effect of the specific screenshot page. In addition, under a specific screenshot mode, that is, whether before, during, or after a specific screenshot, a normal screenshot page can be obtained, thereby realizing the multi-scenario application of the screenshot function. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0042] Figure 1 A schematic diagram of the hardware structure of a mobile terminal to implement the various embodiments of this application;
[0043] Figure 2 A communication network system architecture diagram provided for an embodiment of this application;
[0044] Figure 3 This is a flowchart illustrating the page acquisition method according to the first embodiment;
[0045] Figure 4aThis is a schematic diagram of a portion of the browsing page of the page acquisition method shown in the first embodiment;
[0046] Figure 4b This is a schematic diagram of a portion of the page displayed when scrolling down on the browsing page according to the page acquisition method shown in the first embodiment;
[0047] Figure 5 This is a flowchart illustrating the page acquisition method according to the second embodiment;
[0048] Figure 6 This is a gesture diagram illustrating the page acquisition method according to the second embodiment, which triggers the page acquisition command.
[0049] Figure 7 This is a schematic diagram of the interface for capturing and browsing a page according to the page acquisition method shown in the second embodiment;
[0050] Figure 8 This is a schematic diagram of a specific screenshot browsing page according to the page acquisition method shown in the second embodiment;
[0051] Figure 9 This is a schematic diagram of the interface where the browsing page scrolls to the bottom of the page according to the page acquisition method shown in the second embodiment;
[0052] Figure 10 This is a schematic diagram of the processing interface of a specific screenshot page according to the page acquisition method shown in the second embodiment;
[0053] Figure 11a This is a schematic diagram of the page splitting processing interface of the page acquisition method shown in the second embodiment;
[0054] Figure 11b This is a schematic diagram of the interface where all pages are selected in the split page acquisition method shown in the second embodiment;
[0055] Figure 12 This is a flowchart illustrating the page acquisition method according to the third embodiment;
[0056] Figure 13 This is a flowchart illustrating the page acquisition method according to the fourth embodiment.
[0057] Figure 14 This is a schematic diagram of a normal screenshot prompt message according to the page acquisition method shown in the fourth embodiment;
[0058] Figure 15 This is a flowchart illustrating the page acquisition method according to the fifth embodiment;
[0059] Figure 16This is a schematic diagram of the interface for a normal screenshot using gestures during a specific screenshot process according to the page acquisition method shown in the fifth embodiment;
[0060] Figure 17 This is a schematic diagram of the interface for a normal screenshot by button operation during a specific screenshot process according to the page acquisition method shown in the fifth embodiment;
[0061] Figure 18 This is a flowchart illustrating a page acquisition method according to the sixth embodiment;
[0062] Figure 19 This is a schematic diagram of a specific page processing operation of a page acquisition method according to the sixth embodiment;
[0063] Figure 20 A schematic diagram of the interface for processing a specific page according to the sixth embodiment of a page acquisition method;
[0064] Figure 21 A schematic diagram of a page acquisition module according to the seventh embodiment;
[0065] Figure 22 A schematic diagram of the structure of a page acquisition module is shown in the eighth embodiment.
[0066] The realization of the objectives, functional features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and textual descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0067] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0068] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, components, features, and elements with the same names in different embodiments of this application may have the same meaning or different meanings, the specific meaning of which must be determined by its interpretation in that specific embodiment or further in conjunction with the context of that specific embodiment.
[0069] It should be understood that although the terms first, second, third, etc., may be used herein to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if," as used herein, can be interpreted as "when," "when," or "in response to determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to also include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising," "including," indicate the presence of the stated feature, step, operation, element, component, item, kind, and / or group, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or," "and / or," "including at least one of the following," etc., as used in this application, can be interpreted as inclusive, or mean any one or any combination thereof. For example, "including at least one of the following: A, B, C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C." Similarly, "A, B, or C" or "A, B, and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A and B and C." Exceptions to this definition only occur when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.
[0070] It should be understood that although the steps in the flowcharts of this application's embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0071] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”
[0072] It should be noted that step designations such as S301 and S302 are used in this document for the purpose of more clearly and concisely describing the corresponding content, and do not constitute a substantial limitation on the order. In specific implementation, those skilled in the art may execute S302 first and then S301, etc., but these should all be within the protection scope of this application.
[0073] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0074] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0075] Mobile terminals can be implemented in various forms. For example, the mobile terminals described in this application may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0076] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to the embodiments of this application can also be applied to fixed-type terminals.
[0077] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of this application. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (Audio / Video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0078] The following is combined with Figure 1 A detailed introduction to each component of the mobile terminal:
[0079] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution).
[0080] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.
[0081] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0082] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.
[0083] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.
[0084] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0085] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Optionally, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands sent by processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being specifically limited here.
[0086] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal. The specific implementation is not limited here.
[0087] Interface unit 108 serves as an interface through which at least one external device can connect to mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.
[0088] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. Optionally, the program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0089] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.
[0090] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0091] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.
[0092] To facilitate understanding of the embodiments of this application, the communication network system on which the mobile terminal of this application is based is described below.
[0093] Please see Figure 2 , Figure 2 This application provides a communication network system architecture diagram. The communication network system is an LTE system based on the universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP services 204, which are connected in sequence.
[0094] Optionally, UE201 can be the aforementioned terminal 100, which will not be described in detail here.
[0095] E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. Optionally, eNodeB2021 can connect to other eNodeB2022 via backhaul (e.g., X2 interface), and eNodeB2021 connects to EPC203, providing access from UE201 to EPC203.
[0096] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (Packet Data Network Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME2031 is the control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as the Home Location Register (not shown in the figure) and stores user-specific information such as service characteristics and data rates. All user data can be sent through SGW2034. PGW2035 can provide UE 201 IP address allocation and other functions. PCRF2036 is the policy and charging control decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging enforcement function unit (not shown in the figure).
[0097] IP services 204 may include the Internet, intranet, IMS (IP Multimedia Subsystem), or other IP services.
[0098] Although the above description uses the LTE system as an example, those skilled in the art should understand that this application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.
[0099] Based on the above-described mobile terminal hardware structure and communication network system, various embodiments of this application are proposed.
[0100] First Embodiment
[0101] Please see Figure 3 , Figure 3 This is a flowchart illustrating a page acquisition method according to the first embodiment. In this embodiment, the executing entity can be a computer device or a cluster of multiple computer devices. The computer device can be a terminal device (such as the aforementioned mobile terminal 100) or a server. Here, the executing entity in this embodiment is a terminal device as an example for explanation. The method includes at least the following steps S301 to S302:
[0102] S301, in response to the page capture command, determines the screenshot mode based on the page parameters of the browsed page.
[0103] In one embodiment, the page retrieval command can be a command triggered by the user on the terminal device according to a specified triggering method. Exemplarily, it can include triggering via touchscreen interaction, voice interaction, motion-sensing interaction (body sensing technology), visual interaction, etc. Optionally, touchscreen interaction can be triggered by specific gestures, including but not limited to single-click, double-click, long-press, drawing preset graphics, multi-finger swipe, etc. In addition, the user can also trigger the page retrieval command through physical buttons, etc. The specific triggering method of the page retrieval command on the terminal device is not limited here.
[0104] After receiving a page capture command triggered by the user, the terminal device responds to the command and then determines the specific screenshot mode based on the length of the page being viewed. This page can be of any length currently displayed on the terminal device's screen (hereinafter, "screen" has the same meaning). Its corresponding page parameters (in this embodiment, page length is taken as an example) can be greater than the page parameters of the page containing the content that the screen can display to the user. In other words, the page cannot display all its content on a single screen; it may require scrolling up and down to reveal hidden content relative to the currently displayed content. For example, when opening a shopping webpage on a desktop computer, the content displayed on the screen is usually only a portion of the webpage; the remaining content can be viewed by scrolling down. Please refer to [link to relevant documentation]. Figure 4a This is a schematic diagram of a portion of the interface for browsing a webpage provided in this embodiment, such as... Figure 4a As shown, the settings interface on a smartphone displays content including a search bar and other function options, but... Figure 4a The content shown is only a part of the settings interface; the rest can be considered hidden at the bottom of the screen. Swiping down on the settings interface reveals this hidden content, whereas the content initially displayed... Figure 4a The page shown at the top of the screen will be hidden, such as... Figure 4b The image shows a portion of the browsing page that appears after swiping down, including app management, battery, and privacy permissions—sections that were not previously displayed on the screen. Figure 4a The search bar and other information displayed on the screen are not currently shown on the screen.
[0105] Of course, the page parameters of a browsing page can also be less than or equal to the page parameters of the content that the display screen can show to the user. This means that all the content of the browsing page can be displayed on the screen at once. For example, a smartphone's desktop or a photograph can serve as a browsing page. There are no limitations on the content and page parameters of the browsing page. Additionally, screenshot mode is a screenshot method for terminal devices, providing users with corresponding screenshot functionality. This includes regular screenshots (capturing the content currently displayed on the screen to obtain an image) and specific screenshots (capturing the currently displayed page content as well as content that can be displayed on the screen by swiping up or down or left or right to obtain an image). There are no limitations on the specific types of screenshot modes included here.
[0106] In one embodiment, an optional implementation of determining the screenshot mode based on the page parameters of the browsed page includes: obtaining the page parameters of the browsed page; if the page parameters of the browsed page are less than or equal to a first preset page parameter, then determining the screenshot mode as a normal screenshot mode; and / or, if the page parameters of the browsed page are greater than the first preset page parameter, then determining the screenshot mode as a specific screenshot mode (in this embodiment, a long screenshot mode is taken as an example). Optionally, the length of the first preset page can be the length of the page that the terminal device's display screen can display, or it can be a page parameter set by the user, or it can be other default page parameters of the terminal device, which are not limited here. In this embodiment, the first preset page parameter is the page parameter that the terminal display screen can display as an example for explanation. When the terminal device receives and responds to the page acquisition instruction, it first obtains the page parameters of the browsed page, and then judges the page parameters of the browsed page, that is, compares the page parameters of the browsed page with the first preset page parameter, and then determines the screenshot mode. Optionally, the judgment rules are as follows: If the page parameters of the browsing page are less than or equal to the first preset page parameters, that is, the terminal's display screen can display all the content of the browsing page to the user at once, then the normal screenshot mode can be selected, which is the regular screenshot; if the page parameters of the browsing page are greater than the first preset page parameters, that is, the content of the browsing page cannot be displayed to the user at once on the terminal's display screen, but the user needs to perform corresponding operations, such as pulling down or swiping up, to view all the content included in the browsing page. If the user wants to share the content of the browsing page with others at once, then a specific screenshot mode can be used, because in this case, the specific screenshot mode is a more convenient and faster preferred screenshot method than the normal screenshot mode.
[0107] S302, capture the browsing page in screenshot mode to obtain the target page.
[0108] In one embodiment, the screenshot mode here can be the screenshot mode determined in the previous step based on the browsing page parameters. Different screenshot modes correspond to different screenshot methods and specific processes. Capturing the browsing page according to the corresponding screenshot mode results in different page parameters and page content for the target page. For example, if the browsing page is a product purchase page on a shopping website, including content from four modules: product, reviews, details, and recommendations, and the page currently displayed on the terminal device is the product module, including product images, product names, and some brief product information (such as color, texture, origin, and warranty measures), but the browsing page also includes content from modules such as reviews, details, and recommendations that are not currently displayed on the terminal device screen. Capturing the page using the normal screenshot mode results in a target page that includes the content currently displayed on the terminal device screen, i.e., the content of the product module. Capturing all content of the browsing page using a specific screenshot mode results in a target page that includes not only the content currently displayed on the terminal device screen but also the content of the browsing page that is not currently displayed on the terminal device screen; that is, the target page content includes the product, review, details, and recommendation modules.
[0109] In one embodiment, an optional implementation of this step includes: when the determined screenshot mode is normal screenshot mode, capturing the currently displayed page of the browsed page according to the normal screenshot mode to obtain the target page.
[0110] Normal screenshot mode is a standard screenshot mode. It captures the page currently displayed on the device's screen, such as... Figure 4a The portion of the browsing page shown can also be considered the currently displayed page of the browsing page. Optionally, the rules for determining the screenshot mode can refer to the content mentioned in the preceding steps, such as determining it by judging the page parameters of the browsing page and the first preset page parameters. Under this rule, the normal screenshot mode corresponds to the page parameters of the browsing page being less than the first preset page parameters. Optionally, the first preset page parameters are the length of the display page that the terminal device's screen can accommodate. The currently displayed page of the browsing page is the content of the browsing page itself. The page is captured using screenshot processing. The final target page is the browsing page. The result of the page capture in the screenshot mode is displayed in the form of an image. All the content displayed on the terminal device's screen will be captured in the same page. In some cases, the image may include not only the browsing page but also other content displayed on the terminal device's screen. For example, for smartphones, the image may also include graphic indicators such as battery level and signal strength.
[0111] It can be seen that compared to the user first triggering a screenshot through specific gestures, physical buttons, or other operations, and then activating a specific screenshot function by clicking a specific screenshot button on the screenshot preview image, the screenshot method provided in this embodiment is more convenient and can effectively avoid the drawback of not being able to trigger a specific screenshot function when the user performs an improper operation of a normal screenshot.
[0112] In summary, the embodiments of this application have at least the following advantages:
[0113] By responding to page retrieval commands and judging the page parameters of the browsed page, such as comparing the browsed page parameters with first preset page parameters, the screenshot mode can be directly and intelligently determined. This includes normal screenshot mode and specific screenshot mode. In particular, for pages that support specific screenshots, the screenshot mode can be quickly determined and the specific screenshot function can be activated. The solution provided in this embodiment makes the activation of the specific screenshot function more independent, thereby effectively avoiding reliance on normal screenshots for specific screenshots. Moreover, the specific screenshot operation can be completed in one step throughout the entire process, which is faster and more convenient. This improves the intelligence and convenience of the screenshot function activation, as well as the efficiency of the screenshot function.
[0114] Second Embodiment
[0115] Please see Figure 5 , Figure 5 This is a flowchart illustrating a page acquisition method according to the second embodiment. In this embodiment, the executing entity can be a computer device or a cluster of multiple computer devices. The computer device can be a terminal device (such as the aforementioned mobile terminal 100) or a server. Here, the executing entity in this embodiment is a terminal device as an example for explanation. The method includes at least the following steps S501 to S503:
[0116] S501 responds to the page capture command and determines the screenshot mode based on the page parameters of the browsed page.
[0117] In one embodiment, the page retrieval command can be triggered based on a specific gesture or physical button; see [link to relevant documentation]. Figure 6 This is a schematic diagram of a gesture that triggers a page retrieval command, as provided in this embodiment. Figure 6 As shown, a page capture command is triggered by swiping down with multiple fingers, obtaining relevant parameters such as page parameters (page length is used as an example in this embodiment), and then executing the subsequent screenshot function. For other details, such as the optional steps for determining the screenshot mode, please refer to [link to relevant documentation]. Figure 3 Step S301 in the corresponding embodiment will not be described in detail here.
[0118] S502, when the determined screenshot mode is a specific screenshot mode, the browsing page is captured according to the specific screenshot mode.
[0119] In one embodiment, the screenshot mode can be determined by comparing the page parameters of the browsed page with the first preset page parameters, as mentioned in the first embodiment. Of course, other methods can also be used, and no limitation is made here. After the specific screenshot mode (in this embodiment, the long screenshot mode is taken as an example) is determined, the terminal device will automatically start the specific screenshot function and capture the page of the browsed page in the corresponding manner. Optionally, when the determined screenshot mode is the specific screenshot mode, the browsed page is subjected to scrolling screenshot processing according to the specific screenshot mode. That is, the page capture can be automatically performed by the terminal device by scrolling the browsed page, and the "Screenshot in progress" message is displayed at the top of the screen to indicate that the page capture is in progress. Optionally, when the determined screenshot mode is the specific screenshot mode, the browsed page is manually captured according to the specific screenshot mode. Here, manual screenshot processing means that the user needs to manually operate, swipe the browsed page, pull down the page to hide part of the browsed page content at the top of the screen, or swipe up the page to display the page content hidden at the bottom of the screen, thereby performing screenshot processing on the page that is scrolled on the screen. There are no restrictions on the specific method of page capture.
[0120] In one embodiment, during a specific screenshot execution process, capturing a webpage can involve capturing the target content of the webpage, which is information useful to the user. For example, if a personal computer screen displays the content of a webpage, along with the webpage's address bar and other information, but the user often only needs the specific content described on the webpage that provides valuable information, then a specific screenshot can capture only the webpage content, omitting the address bar or other information. The specific content and / or options to be captured can be set by the user, or automatically determined or generated based on usage habits or big data analysis. Figure 7 The diagram shown is a schematic of an interface for capturing a webpage provided in this embodiment. In this interface, the user can obtain page content that is different from the screenshot by clicking the capture option. The page capture result only includes the information of the webpage, which makes the obtained screenshot content purer when obtaining information that is valuable to the user.
[0121] S503, when a page capture stop command is detected, determines the currently captured page of the browsing page as the target page.
[0122] In one embodiment, the page capture stop command can be triggered by the user through gestures, voice, or by clicking a stop button on the terminal device, such as the "End Specific Screenshot" button, or by a physical button. It can also be triggered actively by the terminal when the browsing page reaches the bottom. The specific triggering method for the page capture stop command is not limited here. After detecting the page capture stop command, the terminal device, in response to the command, stops the capture process of the browsing page, i.e., stops the specific screenshot, and uses the page captured before the current moment as the target page. This target page, also called the specific page, has page parameters greater than the length of the terminal device's display screen, but may be less than or equal to the page parameters of the browsing page. This is because during the specific screenshot process, the user can terminate the capture process of the browsing page by clicking a button such as "End Specific Screenshot." In this case, the page parameters of the target page are less than the page parameters of the browsing page, and the content of the target page is a portion of the browsing page's content. For example, as shown... Figure 8 The image shown is a schematic diagram of a specific screenshot browsing page provided in this embodiment. The page includes a "End Specific Screenshot" button. The browsing page is scrolling to take a specific screenshot. When the browsing page scrolls to half of the remaining page, the user clicks the "End Specific Screenshot" button. The terminal device detects the page capture stop instruction, stops scrolling the browsing page, and then determines the page captured before the current moment as the target page.
[0123] Of course, if you capture the entire page from the bottom using a specific screenshot mode, the page parameters of the target page will be consistent with those of the viewed page. Please see [link / reference]. Figure 9 This is a schematic diagram of an interface where a browsing page scrolls to the bottom of the page, as provided in this embodiment. Figure 9 As shown, the browsing page is the settings page of the terminal device. Taking a specific screenshot of this page and scrolling it to the bottom will display a "You have reached the bottom of the page" message. This message can trigger a page capture stop command. After the terminal responds to the page capture stop command, it can identify the browsing page as the content of the target page.
[0124] In an embodiment, after the target page is obtained, the method may further include: splitting the target page according to a second preset page parameter to obtain at least two split pages. Optionally, the second preset page parameter may be the same as the first preset page parameter, for example, both are page parameters of a page displayable on a display screen of a terminal device or both are page parameters independently set by a user. Certainly, the second preset page parameter may also be different from the first preset page parameter. For example, the first preset page parameter is a page parameter of a page displayable on a display screen of a terminal device, while the second preset page parameter may be user-defined, and a user can split the target page according to the user-defined second preset page parameter. The second preset page parameter is not limited herein. Optionally, a page parameter of the target page is greater than a page parameter of a page displayable on the display screen, and a page parameter of a page displayable on the display screen is used as the second preset page parameter to split the target page. In the obtained at least two split pages, a page parameter of each split page is less than or equal to the second preset page parameter. For example, assume that a page parameter of a target page obtained in a specific screenshot mode is b, and the second preset page parameter is a. If the page parameter of the target page is exactly an integer multiple of the page parameter of the second preset page, that is, b=ka, the target page can be split into k pages with a length of a, that is, k split pages, where k is a positive integer greater than 1, that is, the value of k is 2, 3, ... . If a relationship between the page parameter of the target page and the second preset page parameter is b=ka+c, the target page can be split into k pages with a length of a and one page with a length of c, that is, k+1 split pages, where 0<c<a, and k is a positive integer, that is, the value of k is 1, 2, ... .
[0125] In addition, the step of splitting the target page may be performed according to a splitting instruction triggered by a user selecting a page splitting option, or may be automatically started after the terminal device obtains the target page, which is not limited herein. For the processing interface where the splitting processing option for the target page is located, reference may be made to Figure 10 , which is a schematic diagram of a processing interface for a specific screenshot page provided by an embodiment of the present application, and includes three processing options: share, edit, and split specific page. A user can trigger a splitting instruction by clicking "split specific page", and the terminal device can respond to the splitting instruction to split the specific screenshot page to obtain a page after splitting, that is, a split page. As shown in Figure 11a , which is a schematic diagram of a processing interface for split pages provided by this embodiment. It can be found that three split pages are shown in this figure, wherein page parameters of two split pages are the same, and a page parameter of the remaining one split page is less than that of the two split pages. This case corresponds to the splitting processing in the case where the foregoing page parameter relationship is b=ka+c.
[0126] In one embodiment, the split pages obtained after splitting the target page can be further processed. This processing may include: selecting a target split page from at least two split pages in response to a split page selection instruction; and performing corresponding processing on the target split page in response to a split page processing instruction. Optionally, the split page selection instruction and the split page processing instruction may be triggered by the user selecting corresponding options in the corresponding split processing interface. Continuing with the above... Figure 11a As an example, it can be found that, Figure 11a In the interface shown, each split page can be processed by the user. Selecting a radio button (e.g., 1102) selects the corresponding split page individually, or the user can select all split pages. For example, selecting the "Select All" checkbox (e.g., 1101) selects all split pages at once. Figure 11b The image shown is a schematic diagram of the interface after selecting all the split pages, which allows for batch processing of these selected split pages (i.e., target split pages).
[0127] In short, when a user selects all or individual split pages through a specific method, a split page selection instruction is triggered. The terminal device responds to this instruction by using the selected split page as the target split page to be processed. The number of target split pages selected can be one or more of at least two split pages. Then, the target split page is processed according to the split page processing instruction. Optionally, the split page processing instruction can include edit, share, and delete instructions. The corresponding processing content is as follows: Editing the target split page in response to the edit instruction, such as adjusting its size or adding annotations, is not limited to the specific content edited; sharing the target split page with friends or other devices in response to the share instruction is also not limited to the specific sharing recipients; deleting the target split page in response to the delete instruction is also not limited to the above. Of course, split page processing instructions are not limited to the above; they can also save the target split page in response to the save instruction, etc., without limitation. Optionally, before responding to the split processing instruction, the method may further include: responding to the stitching instruction to stitch at least two target split pages together, that is, stitching at least two selected split pages into a long image, the stitching order of which can be customized by the user; after stitching, responding to the split processing instruction, such as edit, share, delete, or other corresponding instructions, to perform the above-mentioned corresponding processing on the long image.
[0128] In summary, the embodiments of this application have at least the following advantages:
[0129] By splitting the page obtained under a specific screenshot mode to obtain at least two split pages, and further identifying the target split page among the at least two split pages and processing it accordingly, the processing functions under the specific screenshot mode can be enriched. That is, it is not limited to saving, sharing, and deleting a single screenshot, but can also split the screenshot into at least one short page for batch saving, sharing, and deletion under specific page conditions, thereby optimizing and expanding the screenshot function.
[0130] Third Embodiment
[0131] Based on the content described in the first and second embodiments above, please refer to Figure 12 This is a flowchart illustrating a page acquisition method provided in this embodiment. The process includes the following:
[0132] First, a screenshot command can be triggered via gestures, physical buttons, or keypads, which is the aforementioned page retrieval command. In addition, it can be triggered in other ways, such as voice. The content shown in the flowchart is only an example.
[0133] Then, when the terminal device receives the screenshot command, it judges the current page parameters. If the current page parameter (b, i.e. the page parameters of the aforementioned browsing page) is equal to the value of the preset page parameter (a, i.e. the aforementioned first preset page parameter), it enters the normal screenshot process. If the current page parameter (b) is greater than the value of the preset page parameter (a), it enters the specific screenshot process.
[0134] Next, if you enter the normal screenshot process, you can capture the current page, which means capturing the currently displayed page of the browsed page in the normal screenshot mode. You can then choose to save, delete, share, or edit this screenshot.
[0135] After entering the specific screenshot process, if the browsing page is captured according to the specific screenshot mode, all or part of the content of the browsing page can be screenshotted by scrolling up the browsing page. In this process, the user can choose to interrupt the specific screenshot or wait for the page to automatically complete the specific screenshot to end the specific screenshot. After the specific screenshot is ended, the user can choose to save, delete, share, edit the specific screenshot, or split the specific screenshot into several pages of length a for saving. Before splitting the specific screenshot into several pages of length a for saving, it is necessary to determine whether there is an instruction to split and save as individual images. If there is such an instruction, it will then determine whether the parameter of the specific screenshot page is an integer k multiple of the preset page parameter a, that is, if the specific screenshot page parameter (b) is exactly an integer multiple of the preset page parameter a, that is, b=ka (k is a positive integer greater than 1, 2, 3 ...), the specific screenshot can be split into k pages; if the specific screenshot page parameter (b) is b=ka+c (0<c<a, k is a positive integer 1, 2, 3 ...), the specific screenshot can be split into k pages, and the remaining part is split separately with the length c; operations such as saving, deleting, editing and sharing can be performed on the selected pages to be saved among the split pages.
[0136] As mentioned above, the page acquisition solution provided in this embodiment can intelligently determine which screenshot mode to trigger based on page parameters, and the specific screenshot can be activated in one step, which is more convenient. In addition, under the condition of a specific page, it can be split into at least one short page for batch saving, sharing and deleting, which can achieve more efficient processing compared with the situation where only saving, sharing and deleting a single screenshot is allowed.
[0137] Fourth Embodiment
[0138] Please refer to Figure 13 , Figure 13 , it is a schematic flow chart of a page acquisition method shown according to the fourth embodiment. The execution subject in this embodiment may be one computer device or a cluster composed of multiple computer devices. The computer device may be a terminal device (such as the aforementioned mobile terminal 100), or a server. Here, the execution subject in this embodiment is a terminal device for illustration. The method includes steps S1301 to S1303:
[0139] S1301, in response to a page acquisition instruction, acquire page parameters of a browsed page.
[0140] In one embodiment, the page acquisition command can be a screenshot command triggered by a user on a page via gestures, physical buttons, or other means, or it can be a screenshot command triggered by voice or motion sensing. The browsing page can be any content currently displayed on the terminal device's screen, such as an image or a novel reading page. There are no restrictions on the triggering method of the page acquisition command or the content of the browsing page. The user can trigger the screenshot command in the above manner. After receiving the screenshot command, the terminal device first obtains the page parameters of the browsing page, judges the page parameters, and then performs corresponding functional processing. It should be noted that the page acquisition command and browsing page mentioned in this embodiment can have the same meaning as in the previous embodiments; further details are not elaborated here.
[0141] S1302, If the page parameters of the browsed page are greater than the preset page parameters, then the screenshot mode is determined to be a specific screenshot mode.
[0142] In one embodiment, the preset page parameters can be the page parameters of the pages that can be displayed on the terminal device's screen. The page parameters of the browsed page are judged, and if the result is that the page parameters of the browsed page are greater than the preset page parameters, then it can be determined that the screenshot mode is a specific screenshot mode. It should be noted that the preset page parameters here can be the same as the first preset page parameters involved in the first embodiment; that is, the judgment rule and the specific screenshot mode judgment content involved in the first embodiment can be the same.
[0143] S1303, in a specific screenshot mode, obtains the target page based on the browsed page.
[0144] In one embodiment, after determining a specific screenshot mode, a specific screenshot process is entered to perform a specific screenshot operation on the browsed page. Before entering the specific screenshot process, during the specific screenshot process, or after the specific screenshot process is completed, the target page can be obtained based on the browsed page. For example, the currently displayed page can be directly used as the target page, or a specific page can be obtained from the browsed page, and then processed to obtain the target page. Here, the target page can be a page with page parameters equal to preset page parameters, corresponding to the page obtained in normal screenshot mode. That is, in the specific screenshot mode, whether normal screenshot mode is enabled or disabled, a page in normal screenshot mode can be obtained. Since the page parameters of the browsed page are greater than the page parameters that the display screen can accommodate, the page content displayed on the terminal device's screen will change with user operations, such as pulling down or swiping up, but it all belongs to the same browsed page. Therefore, obtaining a page in normal screenshot mode based on the browsed page may also differ depending on the page content currently displayed on the screen. For example, before entering a specific screenshot process, the first page displayed on the browsing screen (i.e., the page that first appears on the screen) can be used as the target page. After entering the specific screenshot process, the content of the second, third, and subsequent pages will differ from the first page as the browsing screen scrolls. It should also be noted that the above explanation is based on the premise that the preset page parameters are those that the terminal device's display screen can show and the existing screenshot mode. Of course, the premise can be changed; that is, the preset page parameters can be any other value, the target page's page parameters can be unrelated to the preset page parameters, and the target page can be a page in any screenshot mode other than the specific screenshot mode and the normal screenshot mode. There are no limitations on this.
[0145] In one embodiment, under a specific screenshot mode, the optional method for obtaining the target page based on the browsing page includes: outputting a normal screenshot prompt message before capturing the browsing page according to the specific screenshot mode; if a trigger operation for the normal screenshot prompt message is detected, then the currently displayed page of the browsing page is captured to obtain the target page. Optionally, before entering the specific screenshot process, that is, before capturing the scrolling page of the browsing page according to the specific screenshot mode, a normal screenshot prompt message can be output on the browsing page. This normal screenshot prompt message can be used to prompt the user to use the normal screenshot function. The optional expression of this instruction can be a normal screenshot option or a pop-up window asking the user whether to perform a normal screenshot. Please refer to [link to relevant documentation]. Figure 14 This is a schematic diagram of a typical screenshot notification interface provided in this embodiment. Figure 14As shown, before performing a specific screenshot, a pop-up window appears on the browsing page asking "Do you need a normal screenshot?" and displaying "Yes" or "No". Users can select "Yes" or "No" to determine whether to perform a normal screenshot. At this time, the specific screenshot function can be in an inactive or active but not executed state. When the terminal device detects a trigger operation for the above-mentioned normal screenshot prompt, such as clicking... Figure 14 The "Yes" option shown indicates that the terminal device will respond to the normal screenshot prompt and enable the normal screenshot mode. In normal screenshot mode, the currently displayed page of the browsing page will be captured, which is the page currently displayed on the terminal device's screen. The final screenshot is the target page.
[0146] It should be noted that the target page mentioned here, as well as in the following embodiments, has the same meaning; it can be a page obtained under a normal screenshot command. However, it has a different meaning from the target page in the first and second embodiments described above. The target page in the first and second embodiments refers to a page obtained by taking a specific screenshot of the browsed page, and can have the same meaning as the specific page in the following embodiments. The steps for obtaining the target page during or after a specific screenshot process can be found in the following embodiments and will not be described here.
[0147] In summary, the embodiments of this application have at least the following advantages:
[0148] Under the condition that the screenshot mode is determined to be a specific screenshot mode, the user is provided with the option of taking a normal screenshot. Even under the specific screenshot mode, the page content of other modes can be obtained, so that the specific screenshot function can be maximized and the use effect of the normal screenshot function in different processing scenarios can be improved. The operation is more convenient and the diversity of screenshot function processing is also increased.
[0149] Fifth embodiment
[0150] Please see Figure 15 , Figure 15 This is a flowchart illustrating a page acquisition method according to the fifth embodiment. In this embodiment, the executing entity can be a computer device or a cluster of multiple computer devices. The computer device can be a terminal device (such as the aforementioned mobile terminal 100) or a server. Here, the executing entity in this embodiment is a terminal device as an example for explanation. The method includes steps S1501 to S1504:
[0151] S1501, in response to the page retrieval command, retrieves the page parameters of the browsed page.
[0152] S1502, If the page parameters of the browsed page are greater than the preset page parameters, then the screenshot mode is determined to be a specific screenshot mode.
[0153] The implementation methods of the above steps S1501 to S1502 can be referred to Figure 13 The contents described in S1301 to S1202 of the corresponding embodiments will not be repeated here.
[0154] S1503 captures a screenshot of the browsed page according to a specific screenshot mode.
[0155] In one embodiment, this step can be implemented as follows: Figure 5 As mentioned in step S502 of the corresponding embodiment, if a specific screenshot mode is determined, a specific screenshot process is entered. The terminal device can automatically scroll the browsing page and capture the scrolling page, that is, take a screenshot of the scrolling page. Of course, there are no restrictions on the page capture method here.
[0156] S1504: During the process of capturing a page in a specific screenshot mode, if a normal screenshot command is detected, a screenshot of one of the displayed pages in the page capture process is performed to obtain the target page.
[0157] In one embodiment, a standard screenshot command can be triggered during a specific screenshot process by clicking a fixed function button, using a gesture, or pressing a physical button. The terminal device can detect this standard screenshot command and perform corresponding screenshot processing in response. Please refer to [link to relevant documentation]. Figure 16 This is a schematic diagram of the interface for taking a regular screenshot using gestures during a specific screenshot process, as provided in this embodiment. Figure 16 As shown, when a user taps the browsing page that is being scrolled for a screenshot, the terminal device can output a normal screenshot image, which is the page displayed on the terminal device screen at the moment of the gesture, and then automatically save it to the terminal device. Alternatively, the user can choose whether to save it; if the user does not take any action, it is saved by default. For the process of activating the normal screenshot mode by clicking the normal screenshot button and capturing the currently displayed page of the browsing page in normal screenshot mode to obtain the target page, please refer to [link to documentation]. Figure 17 This is a schematic diagram of the interface for a normal screenshot using button operations during another specific screenshot process provided in this embodiment, such as... Figure 17 As shown, in the interface for performing a specific screenshot, the text "Screenshot in progress" at position 1701 indicates to the user that a specific screenshot is currently being taken. Position 1702 is a regular screenshot button. When the user clicks this button, the terminal device outputs the target page, i.e., the page displayed on the screen when the button is clicked. Its corresponding saving rules can be the same as... Figure 16 same.
[0158] In addition to being the current page displayed on the terminal device screen in response to a regular screenshot command, the target page can also be the default first page, i.e., the browsing page first displayed on the terminal device screen before a specific screenshot is executed. See also: Figure 13 The relevant description of the first page in S1303 of the corresponding embodiment. For example, taking the top of the screen as the reference starting point, the page parameter of the browsing page is b (position range is 0-x1), and the page parameter that the terminal device's screen can accommodate is a (position range is 0-x2), and b = 2a. Before performing a specific screenshot, the browsing page is displayed as 0-x1, which is the first page. When performing a specific screenshot, the browsing page is scrolled or swiped. The currently displayed page on the screen is a page with constantly changing content. In this process, the target page captured can be the currently displayed page (position range between 0-x1 and the position range difference is fixed at a, such as x1-x2), or it can be the first page, that is, a page within the range of 0-x1.
[0159] In one embodiment, the method for determining the aforementioned ordinary screenshot command may include: during the process of capturing a page according to a specific screenshot mode, outputting ordinary screenshot prompt information; if a trigger operation for the ordinary screenshot prompt information is detected, then it is determined that an ordinary screenshot command has been detected; or, during the process of capturing a page according to a specific screenshot mode, if an ordinary screenshot gesture operation or an ordinary screenshot voice command is detected, then it is determined that an ordinary screenshot command has been detected. Optionally, the output ordinary screenshot prompt information is output in response to a related option or button, and the terminal device can detect a trigger operation for the ordinary screenshot prompt information, i.e., determine that an ordinary screenshot is to be performed, and the terminal device determines that an ordinary screenshot command has been detected. Optionally, during a specific screenshot process, if the terminal device detects an ordinary screenshot gesture operation, such as double-tapping the screen, or detects an ordinary screenshot voice command input by the user to the terminal device, such as the user directly saying "ordinary screenshot," the terminal device will detect the ordinary screenshot voice command and thus determine that an ordinary screenshot command has been detected. Here, the specific content of the ordinary screenshot voice command and ordinary screenshot gesture operation is not limited.
[0160] In summary, the embodiments of this application have at least the following advantages:
[0161] During a specific screenshot process, users can trigger a normal screenshot command through appropriate methods such as gesture operations, voice commands, or button presses. The terminal device responds to the normal screenshot command to obtain the normal screenshot page, providing users with the normal screenshot function during a specific screenshot process, effectively capturing pages with different content using the normal screenshot function in a specific screenshot mode.
[0162] Sixth Embodiment
[0163] Please see Figure 18 , Figure 18 This is a flowchart illustrating a page acquisition method according to the sixth embodiment. In this embodiment, the executing entity can be a computer device or a cluster of multiple computer devices. The computer device can be a terminal device (such as the aforementioned mobile terminal 100) or a server. Here, the executing entity in this embodiment is a terminal device as an example for explanation. The method includes steps S1801 to S1805:
[0164] S1801, in response to the page retrieval command, retrieves the page parameters of the browsed page.
[0165] S1802, If the page parameters of the browsed page are greater than the preset page parameters, then the screenshot mode is determined to be a specific screenshot mode.
[0166] S1803 captures a screenshot of the browsed page according to a specific screenshot mode.
[0167] The implementation methods of the above steps S1801 to S1802 can be referred to Figure 15 The contents described in S1501 to S1502 of the corresponding embodiments will not be repeated here.
[0168] S1804, when a page capture stop command is detected, the page currently captured for browsing will be identified as a specific page.
[0169] In one embodiment, during a specific screenshot process, the user can choose to interrupt the specific screenshot or wait for the page to automatically or manually complete the specific screenshot. Regardless of the method, the terminal device will detect a page capture stop command. This command can be triggered by the user through gestures, voice commands, clicking a stop button on the terminal device (e.g., the "End Specific Screenshot" button), or a physical button, or it can be triggered actively by the terminal when the browsing page reaches the bottom. The specific triggering method for the page capture stop command is not limited here. After detecting the page capture stop command, the terminal device stops performing the specific screenshot operation on the browsing page. The page captured from the start to the end of the specific screenshot is considered the specific page, and its page parameters are greater than preset page parameters. It should be noted that the specific page here has the same meaning as the target page in the first or second embodiment described above, that is, the page obtained by capturing the browsing page according to the specific screenshot mode.
[0170] S1805, process a specific page to obtain the target page.
[0171] In one embodiment, processing a specific page to obtain the target page can be achieved by: outputting a standard screenshot prompt in the processing interface corresponding to the specific page; if a trigger operation targeting the standard screenshot prompt is detected, then a page within the specific page is captured to obtain the target page. Optionally, after obtaining the specific page, the terminal device outputs a preview image of the specific page and some processing options, constituting the processing interface. (As described above...) Figure 10 As a schematic diagram of a specific page-corresponding processing interface provided in this embodiment, in such Figure 10 The processing interface shown can output normal screenshot prompts, such as a pop-up window asking the user whether to execute a normal screenshot command, a normal screenshot button, or options, etc.
[0172] Optionally, the processing interface here can also be divided into a primary processing interface and a secondary processing interface, such as... Figure 10 The page shown can be considered the primary processing interface. Clicking the "Edit" option will take you to the secondary processing interface. Please refer to [link / reference]. Figure 19 This is a schematic diagram of an interface for a specific page processing operation provided in this embodiment, such as... Figure 19 As shown, the left image corresponds to Figure 10 The processing interface shown is the primary processing interface. The right image corresponds to the secondary processing interface, which includes function buttons such as "Crop," "Doodle," and "Normal Screenshot." Clicking the "Edit" option in the primary processing interface allows switching to the secondary processing interface. This secondary processing interface, as the functional interface corresponding to the "Edit" entry, can output a normal screenshot prompt message, i.e., a normal screenshot button. Clicking this button allows the user to take a normal screenshot and capture the target page. It should be noted that this normal screenshot prompt message can be the same as or different from the one described above. In this case, the primary processing interface may not output the normal screenshot prompt message to avoid repeated prompts to the user. After detecting an operation that triggers a normal screenshot command, a page can be captured based on a specific page. This page can be the system's default first page, i.e., the page first displayed on the terminal device's screen before the specific screenshot, or a page of fixed length specified by the user.
[0173] In one embodiment, this step can also be implemented as follows: outputting a page selection box; responding to a page movement command, moving the specific page; responding to a page confirmation command, acquiring the pages currently included in the page selection box, and using the acquired pages as the target page. Optionally, after capturing a specific page, the terminal device should not only output the specific page (i.e., display the specific page on the terminal device), but also output a page selection box. This selection box can be of a fixed size, for example, the same as the page parameters in normal screenshot mode, i.e., the size of the display screen on the terminal device. Please refer to [link to relevant documentation]. Figure 20 This is a schematic diagram of an interface for processing a specific page provided in this embodiment, such as... Figure 20 As shown, users can input page movement commands by dragging a specific page up or down on the terminal device to move that page, while the page selection box remains stationary. When the user drags the specific page to a certain position and confirms it is the desired page, they can input a page confirmation command by clicking "save." The terminal device responds to this command by retrieving the page included in the page selection box and using it as the target page. Optionally, users can also zoom in on the page; the zoomed-in page included in the page selection box can also be used as the target page. Optionally, the size and shape of the page selection box can also be customized by the user to obtain the target page corresponding to the normal screenshot mode.
[0174] Optionally, in addition to the processing methods for specific pages shown above, it may also include splitting the specific page as shown in the second embodiment, that is, triggering a page splitting instruction in the processing interface corresponding to the specific page to obtain the split page. The split pages obtained according to preset page parameters include pages in normal screenshot mode, which can be used as target pages.
[0175] It should be noted that the target page in this embodiment refers to the page corresponding to the normal screenshot mode obtained under a specific screenshot mode, while the target page in the first embodiment and the second embodiment is a specific page obtained according to a specific screenshot mode.
[0176] In summary, the embodiments of this application have at least the following advantages:
[0177] After taking a specific screenshot of the browsing page and obtaining the specific page, you can further process that specific page. By triggering a normal screenshot command in the processing interface corresponding to the specific page, you can obtain the corresponding page in normal screenshot mode, which further enriches the processing functions for specific pages.
[0178] Seventh Embodiment
[0179] Please see Figure 21 , Figure 21 This is a schematic diagram of a page acquisition device according to the seventh embodiment. The page acquisition device can be a computer program (including program code) running on a server, such as an application software. The device can be used to execute the corresponding steps in the method provided in the embodiments of this application. The page acquisition device includes: a determination module 2101, a page capture module 2102, a splitting module 2103, and a response module 2104.
[0180] The determination module 2101 is used to respond to the page acquisition command and determine the screenshot mode according to the page parameters of the browsed page;
[0181] The page capture module 2102 is used to capture the browsing page in screenshot mode to obtain the target page.
[0182] In one embodiment, the determining module 2101 is specifically used to: obtain page parameters of the browsed page; if the page parameters of the browsed page are less than or equal to a first preset page parameter, then determine the screenshot mode as a normal screenshot mode; and / or, if the page parameters of the browsed page are greater than the first preset page parameter, then determine the screenshot mode as a specific screenshot mode.
[0183] In one embodiment, the page capture module 2102 is specifically used to: when the determined screenshot mode is normal screenshot mode, capture the currently displayed page of the browsed page according to the normal screenshot mode to obtain the target page.
[0184] In one embodiment, the page capture module 2102 is further configured to: when the determined screenshot mode is a specific screenshot mode, capture the browsing page according to the specific screenshot mode; and when a page capture stop instruction is detected, determine the currently captured page for the browsing page as the target page.
[0185] In one embodiment, the page acquisition device further includes a splitting module 2103, used to split the target page according to a second preset page parameter to obtain at least two split pages.
[0186] In one embodiment, the page acquisition device further includes: a response module 2104, configured to select a target split page from at least two split pages in response to a split page selection instruction; and to perform corresponding processing on the target split page in response to a split page processing instruction.
[0187] It is understood that the functions of each functional module of the page acquisition device described in the embodiments of this application can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here. In addition, the beneficial effects of using the same method will not be repeated here either.
[0188] Eighth embodiment
[0189] Please see Figure 22 , Figure 22This is a schematic diagram of a page acquisition device according to the eighth embodiment. The page acquisition device can be a computer program (including program code) running on a server, such as an application software. The device can be used to execute the corresponding steps in the method provided in the embodiments of this application. The page acquisition device includes: an acquisition module 2201 and a determination module 2202.
[0190] The acquisition module 2201 is used to acquire page parameters of the browsed page in response to the page acquisition command;
[0191] The determination module 2202 is used to determine the screenshot mode as a specific screenshot mode if the page parameters of the browsed page are greater than the preset page parameters.
[0192] The acquisition module 2201 is also used to acquire the target page based on the browsing page in a specific screenshot mode.
[0193] In one embodiment, the acquisition module 2201 is specifically used to: output a normal screenshot prompt message before performing a scrolling page capture on the browsing page according to a specific screenshot mode; if a trigger operation for the normal screenshot prompt message is detected, then perform screenshot processing on the currently displayed page of the browsing page to obtain the target page.
[0194] In one embodiment, the acquisition module 2201 is further configured to: capture a page of the browsing page according to a specific screenshot mode; and if a normal screenshot command is detected during the process of capturing a page of the browsing page according to the specific screenshot mode, then a screenshot of a display page in the page capture process is performed to obtain the target page.
[0195] In one embodiment, the acquisition module 2201 is further configured to: output ordinary screenshot prompt information during the process of capturing a page according to a specific screenshot mode; if a trigger operation for the ordinary screenshot prompt information is detected, then it is determined that an ordinary screenshot command has been detected; or, during the process of capturing a page according to a specific screenshot mode, if an ordinary screenshot gesture operation or an ordinary screenshot voice command is detected, then it is determined that an ordinary screenshot command has been detected.
[0196] In one embodiment, the acquisition module 2201 is further configured to: capture a page of the browsing page according to a specific screenshot mode; when a page capture stop instruction is detected, determine the currently captured page of the browsing page as a specific page; process the specific page to obtain the target page.
[0197] In one embodiment, the acquisition module 2201 is further configured to: output ordinary screenshot prompt information in the processing interface corresponding to a specific page; if a trigger operation for the ordinary screenshot prompt information is detected, then perform screenshot processing on one page of the specific page to obtain the target page.
[0198] In one embodiment, the acquisition module 2201 is specifically used for: outputting a page selection box; moving a specific page in response to a page movement instruction; and acquiring the page currently included in the page selection box in response to a page confirmation instruction, and using the acquired page as the target page.
[0199] It is understood that the functions of each functional module of the page acquisition device described in the embodiments of this application can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here. In addition, the beneficial effects of using the same method will not be repeated here either.
[0200] This application also provides a mobile terminal device, which includes a memory and a processor. The memory stores a page fetching program, which, when executed by the processor, implements the steps of the page fetching method in any of the above embodiments. The mobile terminal device can be as follows: Figure 1 The mobile terminal 100 shown.
[0201] Optionally, such as Figure 1 The processor 110 of the mobile terminal 100 shown can be used to call the page fetching program stored in the memory 109 to perform the following operations:
[0202] In response to the page retrieval command, the screenshot mode is determined based on the page parameters of the browsed page;
[0203] Use screenshot mode to capture a screenshot of the browsed page to obtain the target page.
[0204] In one embodiment, the processor 110 is specifically configured to: obtain page parameters of the browsed page; if the page parameters of the browsed page are less than or equal to a first preset page parameter, determine that the screenshot mode is a normal screenshot mode; and / or, if the page parameters of the browsed page are greater than the first preset page parameter, determine that the screenshot mode is a specific screenshot mode.
[0205] In one embodiment, the processor 110 is specifically configured to: when the determined screenshot mode is normal screenshot mode, capture the currently displayed page of the browsing page according to the normal screenshot mode to obtain the target page.
[0206] In one embodiment, the processor 110 is specifically configured to: when the determined screenshot mode is a specific screenshot mode, capture the browsing page according to the specific screenshot mode; and when a page capture stop instruction is detected, determine the currently captured page for the browsing page as the target page.
[0207] In one embodiment, the processor 110 is further configured to: split the target page according to the second preset page parameters to obtain at least two split pages.
[0208] In one embodiment, the processor 110 is further configured to: select a target split page from at least two split pages in response to a split page selection instruction; and perform corresponding processing on the target split page in response to a split page processing instruction.
[0209] Optionally, such as Figure 1 The processor 110 of the mobile terminal 100 shown can also be used to call the page fetching program stored in the memory 109 to perform the following operations:
[0210] In response to a page retrieval command, retrieve the page parameters of the browsed page;
[0211] If the page parameters of the page being viewed are greater than the preset page parameters, then the screenshot mode is determined to be a specific screenshot mode;
[0212] In certain screenshot modes, the target page is obtained based on the browsing page.
[0213] In one embodiment, the processor 110 is specifically configured to: output a normal screenshot prompt message before performing a scrolling page capture on the browsing page according to a specific screenshot mode; if a trigger operation for the normal screenshot prompt message is detected, perform a screenshot process on the currently displayed page of the browsing page to obtain the target page.
[0214] In one embodiment, the processor 110 is specifically configured to: capture a page of the browsing page according to a specific screenshot mode; and if a normal screenshot command is detected during the process of capturing a page of the browsing page according to the specific screenshot mode, then perform screenshot processing on a display page in the page capture process to obtain the target page.
[0215] In one embodiment, the processor 110 is further configured to: output a normal screenshot prompt message during the process of capturing a page according to a specific screenshot mode; if a trigger operation for the normal screenshot prompt message is detected, then determine that a normal screenshot command has been detected; or, during the process of capturing a page according to a specific screenshot mode, if a normal screenshot gesture operation or a normal screenshot voice command is detected, then determine that a normal screenshot command has been detected.
[0216] In one embodiment, the processor 110 is specifically configured to: capture a page of the browsing page according to a specific screenshot mode; when a page capture stop instruction is detected, determine the currently captured page of the browsing page as a specific page; process the specific page to obtain the target page.
[0217] In one embodiment, the processor 110 is specifically configured to: output a normal screenshot prompt message in the processing interface corresponding to a specific page; if a trigger operation for the normal screenshot prompt message is detected, perform a screenshot process on one of the pages in the specific page to obtain the target page.
[0218] In one embodiment, the processor 110 is specifically configured to: output a page selection box; perform movement processing on a specific page in response to a page movement instruction; and, in response to a page determination instruction, obtain the page currently included in the page selection box and use the obtained page as the target page.
[0219] It should be understood that the mobile terminal described in the embodiments of this application can execute the method described in any of the preceding embodiments, or can execute the methods described in the preceding embodiments. Figure 21 or Figure 22 The description of the page device in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.
[0220] This application also provides a computer-readable storage medium storing a page fetching program, which, when executed by a processor, implements the steps of the page fetching method in any of the above embodiments.
[0221] The embodiments of the mobile terminal and computer-readable storage medium provided in this application include all the technical features of the various embodiments of the above-described page acquisition method. The extended and explanatory content of the specification is basically the same as that of the various embodiments of the above-described method, and will not be repeated here.
[0222] This application also provides a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to perform the methods described in the various possible implementations above.
[0223] This application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device with the chip installed performs the methods described in the various possible implementations above.
[0224] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0225] The steps in the method of this application embodiment can be adjusted, combined, or deleted according to actual needs.
[0226] The units in the device of this application embodiment can be merged, divided, and deleted according to actual needs.
[0227] In this application, the same or similar terms, concepts, technical solutions and / or application scenario descriptions are generally described in detail only when they appear for the first time. When they appear again, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of this application, the same or similar terms, concepts, technical solutions and / or application scenario descriptions that are not described in detail later can be referred to their previous relevant detailed descriptions.
[0228] In this application, the descriptions of the various embodiments have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0229] The technical features of the present application can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.
[0230] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of this application.
[0231] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, storage disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0232] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for obtaining a page, characterized in that, The method includes: In response to the page retrieval command, the screenshot mode is determined based on the page parameters of the browsed page; The target page is obtained by capturing a screenshot of the browsed page according to the screenshot mode, including at least one of the following: When the determined screenshot mode is normal screenshot mode, the currently displayed page of the browsing page is captured according to the normal screenshot mode to obtain the target page; When the determined screenshot mode is a specific screenshot mode, the browsing page is captured according to the specific screenshot mode. When a page capture stop command is detected, the page currently captured on the browsing page is determined as the target page. Wherein, when the determined screenshot mode is a specific screenshot mode, the page is captured according to the specific screenshot mode, including: The target content within the browsing page is captured, and the address bar and redundant surrounding information on the browsing page are filtered out. The capture range of the target content is set by the user or determined based on usage habits and big data analysis. When the determined screenshot mode is a specific screenshot mode, after capturing the browsing page according to the specific screenshot mode, the process includes: The target page is split according to the second preset page parameters to obtain at least two split pages, including: When the page parameter of the target page is equal to an integer multiple of the second preset page parameter, the target page is split into multiple split pages with page parameters equal to the second preset page parameter; When the page parameters of the target page are not equal to an integer multiple of the second preset page parameters, the target page is split into multiple split pages with page parameters equal to the second preset page parameters and one split page with a size equal to the remaining page parameters.
2. The method as described in claim 1, characterized in that, The step of determining the screenshot mode based on the page parameters of the browsed page includes: Get the page parameters of the browsed page; If the page parameters of the browsed page are less than or equal to the first preset page parameters, then the screenshot mode is determined to be the normal screenshot mode; and / or, If the page parameters of the browsing page are greater than the first preset page parameters, then the screenshot mode is determined to be a specific screenshot mode.
3. The method as described in claim 1, characterized in that, The method further includes: In response to a split page selection instruction, a target split page is selected from the at least two split pages; and / or, in response to a split page processing instruction, the target split page is processed accordingly.
4. A method for obtaining a page, characterized in that, The method includes: In response to a page retrieval command, retrieve the page parameters of the browsed page; If the page parameters of the browsed page are greater than the preset page parameters, then the screenshot mode is determined to be a specific screenshot mode; In the specific screenshot mode, obtaining the target page based on the browsing page includes at least one of the following: Before capturing the scrolling page of the browsing page according to the specific screenshot mode, a normal screenshot prompt message is output. If a trigger operation for the normal screenshot prompt message is detected, the current display page of the browsing page is captured to obtain the target page. The browsing page is captured according to the specific screenshot mode. If a normal screenshot command is detected during the process of capturing the browsing page according to the specific screenshot mode, a screenshot of one of the displayed pages in the page capture process is performed to obtain the target page. The target page includes at least one of a first page and a real-time display page. The first page is a browsing page that is first displayed on the screen of the terminal device before a specific screenshot is taken. The real-time display page is a browsing page that is displayed on the screen of the terminal device in real time during the specific screenshot scrolling process. With the top of the screen as the reference starting point, the page parameters of the browsing page are greater than the page parameters of the terminal device screen. The real-time display page is a local page with a fixed size, and the display area of the real-time display page is located within the display area of the first page.
5. The method as described in claim 4, characterized in that, The method further includes any of the following: During the process of capturing the browsing page according to the specific screenshot mode, a normal screenshot prompt message is output. If a trigger operation for the normal screenshot prompt message is detected, it is determined that a normal screenshot command has been detected. or, During the process of capturing the browsing page according to the specific screenshot mode, if a normal screenshot gesture operation or a normal screenshot voice command is detected, it is determined that a normal screenshot command has been detected.
6. The method according to any one of claims 4 to 5, characterized in that, The step of obtaining the target page based on the browsing page in the specific screenshot mode includes: The browsing page is captured according to the specific screenshot mode; When a page capture stop command is detected, the page currently captured for the browsing page will be identified as a specific page; The specific page is processed to obtain the target page.
7. The method as described in claim 6, characterized in that, The process of processing the specific page to obtain the target page includes at least one of the following: A normal screenshot prompt message is output in the processing interface corresponding to the specific page. If a trigger operation for the normal screenshot prompt message is detected, a page in the specific page is captured to obtain the target page. The output page selection box responds to a page movement command, moves the specific page, and responds to a page confirmation command, retrieves the pages currently included in the page selection box, and uses the retrieved page as the target page.
8. A mobile terminal, characterized in that, The mobile terminal includes a memory and a processor, wherein the memory stores a page fetching program, and when the page fetching program is executed by the processor, it implements the steps of the page fetching method as described in any one of claims 1 to 7.
9. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the page acquisition method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for terminal screen capturing
CN105718161A
Long scree capturing method and device, mobile terminal and computer-readable storage medium
CN107678640A
Screenshot method and electronic equipment
CN111143013A